vant 3.2.3 → 3.2.7
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 +10 -9
- package/es/address-edit/index.less +2 -2
- package/es/address-edit/style/index.js +0 -3
- package/es/address-edit/style/less.js +0 -3
- package/es/address-list/AddressList.d.ts +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 -27
- 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 -28
- 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 +75 -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 +13 -25
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +7 -6
- 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 -5
- 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 +18 -11
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +3 -2
- 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 +16 -24
- package/es/count-down/CountDown.js +11 -16
- package/es/count-down/index.d.ts +12 -11
- package/es/count-down/types.d.ts +11 -0
- package/es/count-down/types.js +1 -0
- 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 +32 -61
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +44 -43
- package/es/coupon-list/index.less +10 -5
- 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 +3 -10
- package/es/datetime-picker/utils.d.ts +9 -9
- package/es/datetime-picker/utils.js +4 -6
- package/es/dialog/Dialog.d.ts +60 -9
- package/es/dialog/Dialog.js +34 -39
- package/es/dialog/function-call.d.ts +20 -45
- package/es/dialog/function-call.js +2 -2
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +3 -3
- package/es/dialog/index.less +1 -1
- package/es/dialog/types.d.ts +36 -0
- package/es/dialog/types.js +1 -0
- package/es/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 +7 -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 +12 -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 +83 -81
- package/es/field/Field.js +64 -63
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +40 -38
- 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 +9 -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.css +1 -1
- package/es/icon/index.d.ts +6 -5
- package/es/image/Image.d.ts +39 -10
- package/es/image/Image.js +41 -55
- 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.d.ts +2 -0
- 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-bar/index.d.ts +2 -0
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/list/List.d.ts +20 -20
- package/es/list/List.js +11 -16
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +12 -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 +14 -12
- package/es/notice-bar/index.less +1 -1
- package/es/notify/Notify.d.ts +52 -13
- package/es/notify/Notify.js +21 -16
- package/es/notify/function-call.d.ts +12 -23
- package/es/notify/function-call.js +18 -22
- package/es/notify/index.css +1 -1
- package/es/notify/index.d.ts +3 -3
- package/es/notify/index.less +4 -4
- package/es/notify/types.d.ts +20 -0
- package/es/notify/types.js +1 -0
- package/es/number-keyboard/NumberKeyboard.d.ts +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 +6 -6
- package/es/password-input/PasswordInput.js +10 -14
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +6 -6
- package/es/password-input/index.less +3 -3
- package/es/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 +24 -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 -29
- 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 +12 -8
- package/es/progress/index.css +1 -1
- package/es/progress/index.d.ts +2 -0
- 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 +72 -64
- package/es/search/Search.js +15 -21
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +43 -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 +40 -11
- package/es/submit-bar/SubmitBar.js +24 -30
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.d.ts +14 -14
- package/es/submit-bar/index.less +3 -3
- 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 +20 -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 +7 -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 +33 -39
- 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 +25 -23
- package/es/tabs/index.less +2 -2
- package/es/tabs/utils.js +2 -4
- 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 +44 -13
- package/es/toast/Toast.js +31 -46
- package/es/toast/function-call.d.ts +2 -25
- package/es/toast/function-call.js +10 -2
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +3 -3
- package/es/toast/index.less +1 -1
- package/es/toast/types.d.ts +32 -0
- package/es/toast/types.js +1 -0
- package/es/tree-select/TreeSelect.d.ts +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 +47 -45
- package/es/uploader/index.less +4 -5
- 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 +10 -9
- package/lib/address-edit/index.less +2 -2
- package/lib/address-edit/style/index.js +0 -6
- package/lib/address-edit/style/less.js +0 -6
- package/lib/address-list/AddressList.d.ts +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 -27
- 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 -28
- 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 +73 -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 +12 -24
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +7 -6
- 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 -5
- 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 +16 -9
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +3 -2
- 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 +16 -24
- package/lib/count-down/CountDown.js +10 -15
- package/lib/count-down/index.d.ts +12 -11
- package/lib/count-down/types.d.ts +11 -0
- package/lib/count-down/types.js +3 -0
- 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 +31 -61
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +44 -43
- package/lib/coupon-list/index.less +10 -5
- 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 +3 -10
- package/lib/datetime-picker/utils.d.ts +9 -9
- package/lib/datetime-picker/utils.js +9 -9
- package/lib/dialog/Dialog.d.ts +60 -9
- package/lib/dialog/Dialog.js +31 -37
- package/lib/dialog/function-call.d.ts +20 -45
- package/lib/dialog/function-call.js +2 -2
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +3 -3
- package/lib/dialog/index.less +1 -1
- package/lib/dialog/types.d.ts +36 -0
- package/lib/dialog/types.js +3 -0
- package/lib/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 +7 -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 +12 -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 +83 -81
- package/lib/field/Field.js +63 -62
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +40 -38
- 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 +9 -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.css +1 -1
- package/lib/icon/index.d.ts +6 -5
- package/lib/image/Image.d.ts +39 -10
- package/lib/image/Image.js +40 -54
- 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.d.ts +2 -0
- 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-bar/index.d.ts +2 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +3 -2
- package/lib/index.less +1 -1
- package/lib/list/List.d.ts +20 -20
- package/lib/list/List.js +10 -15
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +12 -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 +14 -12
- package/lib/notice-bar/index.less +1 -1
- package/lib/notify/Notify.d.ts +52 -13
- package/lib/notify/Notify.js +21 -16
- package/lib/notify/function-call.d.ts +12 -23
- package/lib/notify/function-call.js +18 -22
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.d.ts +3 -3
- package/lib/notify/index.less +4 -4
- package/lib/notify/types.d.ts +20 -0
- package/lib/notify/types.js +3 -0
- package/lib/number-keyboard/NumberKeyboard.d.ts +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 +6 -6
- package/lib/password-input/PasswordInput.js +9 -13
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +6 -6
- package/lib/password-input/index.less +3 -3
- package/lib/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 +24 -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 -29
- 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 +11 -7
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.d.ts +2 -0
- 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 +72 -64
- package/lib/search/Search.js +14 -20
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +43 -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 +40 -11
- package/lib/submit-bar/SubmitBar.js +23 -29
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.d.ts +14 -14
- package/lib/submit-bar/index.less +3 -3
- 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 +20 -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 +7 -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 +31 -37
- 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 +25 -23
- package/lib/tabs/index.less +2 -2
- package/lib/tabs/utils.js +1 -4
- 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 +44 -13
- package/lib/toast/Toast.js +28 -44
- package/lib/toast/function-call.d.ts +2 -25
- package/lib/toast/function-call.js +10 -2
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +3 -3
- package/lib/toast/index.less +1 -1
- package/lib/toast/types.d.ts +32 -0
- package/lib/toast/types.js +3 -0
- package/lib/tree-select/TreeSelect.d.ts +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 +47 -45
- package/lib/uploader/index.less +4 -5
- 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 +4123 -4691
- package/lib/vant.es.min.js +15302 -1
- package/lib/vant.js +4124 -4692
- package/lib/vant.min.js +1 -1
- package/package.json +7 -7
- package/vetur/attributes.json +469 -453
- package/vetur/tags.json +167 -163
- package/vetur/web-types.json +1589 -1537
- package/changelog.generated.md +0 -107
- 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
@@ -1,87 +1,4 @@
|
|
1
1
|
{
|
2
|
-
"van-action-sheet/v-model:show": {
|
3
|
-
"type": "boolean",
|
4
|
-
"description": "是否显示动作面板, 默认值: `false`"
|
5
|
-
},
|
6
|
-
"van-action-sheet/actions": {
|
7
|
-
"type": "ActionSheetAction[]",
|
8
|
-
"description": "面板选项列表, 默认值: `[]`"
|
9
|
-
},
|
10
|
-
"van-action-sheet/title": {
|
11
|
-
"type": "string",
|
12
|
-
"description": "顶部标题, 默认值: -"
|
13
|
-
},
|
14
|
-
"van-action-sheet/cancel-text": {
|
15
|
-
"type": "string",
|
16
|
-
"description": "取消按钮文字, 默认值: -"
|
17
|
-
},
|
18
|
-
"van-action-sheet/description": {
|
19
|
-
"type": "string",
|
20
|
-
"description": "选项上方的描述信息, 默认值: -"
|
21
|
-
},
|
22
|
-
"van-action-sheet/closeable": {
|
23
|
-
"type": "boolean",
|
24
|
-
"description": "是否显示关闭图标, 默认值: `true`"
|
25
|
-
},
|
26
|
-
"van-action-sheet/close-icon": {
|
27
|
-
"type": "string",
|
28
|
-
"description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
|
29
|
-
},
|
30
|
-
"van-action-sheet/duration": {
|
31
|
-
"type": "number | string",
|
32
|
-
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
|
33
|
-
},
|
34
|
-
"van-action-sheet/round": {
|
35
|
-
"type": "boolean",
|
36
|
-
"description": "是否显示圆角, 默认值: `true`"
|
37
|
-
},
|
38
|
-
"van-action-sheet/overlay": {
|
39
|
-
"type": "boolean",
|
40
|
-
"description": "是否显示遮罩层, 默认值: `true`"
|
41
|
-
},
|
42
|
-
"van-action-sheet/overlay-class": {
|
43
|
-
"type": "string | Array \\",
|
44
|
-
"description": "自定义遮罩层类名, 默认值: object_",
|
45
|
-
"options": [
|
46
|
-
"-"
|
47
|
-
]
|
48
|
-
},
|
49
|
-
"van-action-sheet/overlay-style": {
|
50
|
-
"type": "object",
|
51
|
-
"description": "自定义遮罩层样式, 默认值: -"
|
52
|
-
},
|
53
|
-
"van-action-sheet/lock-scroll": {
|
54
|
-
"type": "boolean",
|
55
|
-
"description": "是否锁定背景滚动, 默认值: `true`"
|
56
|
-
},
|
57
|
-
"van-action-sheet/lazy-render": {
|
58
|
-
"type": "boolean",
|
59
|
-
"description": "是否在显示弹层时才渲染节点, 默认值: `true`"
|
60
|
-
},
|
61
|
-
"van-action-sheet/close-on-popstate": {
|
62
|
-
"type": "boolean",
|
63
|
-
"description": "是否在页面回退时自动关闭, 默认值: `false`"
|
64
|
-
},
|
65
|
-
"van-action-sheet/close-on-click-action": {
|
66
|
-
"type": "boolean",
|
67
|
-
"description": "是否在点击选项后关闭, 默认值: `false`"
|
68
|
-
},
|
69
|
-
"van-action-sheet/close-on-click-overlay": {
|
70
|
-
"type": "boolean",
|
71
|
-
"description": "是否在点击遮罩层后关闭, 默认值: `true`"
|
72
|
-
},
|
73
|
-
"van-action-sheet/safe-area-inset-bottom": {
|
74
|
-
"type": "boolean",
|
75
|
-
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
76
|
-
},
|
77
|
-
"van-action-sheet/teleport": {
|
78
|
-
"type": "string | Element",
|
79
|
-
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
80
|
-
},
|
81
|
-
"van-action-sheet/before-close": {
|
82
|
-
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
83
|
-
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
84
|
-
},
|
85
2
|
"van-action-bar/safe-area-inset-bottom": {
|
86
3
|
"type": "boolean",
|
87
4
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
@@ -165,57 +82,116 @@
|
|
165
82
|
"type": "boolean",
|
166
83
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
167
84
|
},
|
168
|
-
"van-
|
85
|
+
"van-action-sheet/v-model:show": {
|
86
|
+
"type": "boolean",
|
87
|
+
"description": "是否显示动作面板, 默认值: `false`"
|
88
|
+
},
|
89
|
+
"van-action-sheet/actions": {
|
90
|
+
"type": "ActionSheetAction[]",
|
91
|
+
"description": "面板选项列表, 默认值: `[]`"
|
92
|
+
},
|
93
|
+
"van-action-sheet/title": {
|
169
94
|
"type": "string",
|
170
|
-
"description": "
|
95
|
+
"description": "顶部标题, 默认值: -"
|
171
96
|
},
|
172
|
-
"van-
|
97
|
+
"van-action-sheet/cancel-text": {
|
173
98
|
"type": "string",
|
174
|
-
"description": "
|
99
|
+
"description": "取消按钮文字, 默认值: -"
|
175
100
|
},
|
176
|
-
"van-
|
101
|
+
"van-action-sheet/description": {
|
177
102
|
"type": "string",
|
178
|
-
"description": "
|
103
|
+
"description": "选项上方的描述信息, 默认值: -"
|
179
104
|
},
|
180
|
-
"van-
|
105
|
+
"van-action-sheet/closeable": {
|
106
|
+
"type": "boolean",
|
107
|
+
"description": "是否显示关闭图标, 默认值: `true`"
|
108
|
+
},
|
109
|
+
"van-action-sheet/close-icon": {
|
181
110
|
"type": "string",
|
182
|
-
"description": "
|
111
|
+
"description": "关闭[图标名称](#/zh-CN/icon)或图片链接, 默认值: `cross`"
|
183
112
|
},
|
184
|
-
"van-
|
113
|
+
"van-action-sheet/duration": {
|
114
|
+
"type": "number | string",
|
115
|
+
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
|
116
|
+
},
|
117
|
+
"van-action-sheet/round": {
|
118
|
+
"type": "boolean",
|
119
|
+
"description": "是否显示圆角, 默认值: `true`"
|
120
|
+
},
|
121
|
+
"van-action-sheet/overlay": {
|
122
|
+
"type": "boolean",
|
123
|
+
"description": "是否显示遮罩层, 默认值: `true`"
|
124
|
+
},
|
125
|
+
"van-action-sheet/overlay-class": {
|
126
|
+
"type": "string | Array \\",
|
127
|
+
"description": "自定义遮罩层类名, 默认值: object_",
|
128
|
+
"options": [
|
129
|
+
"-"
|
130
|
+
]
|
131
|
+
},
|
132
|
+
"van-action-sheet/overlay-style": {
|
185
133
|
"type": "object",
|
186
|
-
"description": "
|
134
|
+
"description": "自定义遮罩层样式, 默认值: -"
|
187
135
|
},
|
188
|
-
"van-
|
189
|
-
"type": "
|
190
|
-
"description": "
|
136
|
+
"van-action-sheet/lock-scroll": {
|
137
|
+
"type": "boolean",
|
138
|
+
"description": "是否锁定背景滚动, 默认值: `true`"
|
191
139
|
},
|
192
|
-
"van-
|
140
|
+
"van-action-sheet/lazy-render": {
|
193
141
|
"type": "boolean",
|
194
|
-
"description": "
|
142
|
+
"description": "是否在显示弹层时才渲染节点, 默认值: `true`"
|
195
143
|
},
|
196
|
-
"van-
|
144
|
+
"van-action-sheet/close-on-popstate": {
|
197
145
|
"type": "boolean",
|
198
|
-
"description": "
|
146
|
+
"description": "是否在页面回退时自动关闭, 默认值: `true`"
|
199
147
|
},
|
200
|
-
"van-
|
201
|
-
"type": "
|
202
|
-
"description": "
|
148
|
+
"van-action-sheet/close-on-click-action": {
|
149
|
+
"type": "boolean",
|
150
|
+
"description": "是否在点击选项后关闭, 默认值: `false`"
|
203
151
|
},
|
204
|
-
"van-
|
205
|
-
"type": "
|
206
|
-
"description": "
|
152
|
+
"van-action-sheet/close-on-click-overlay": {
|
153
|
+
"type": "boolean",
|
154
|
+
"description": "是否在点击遮罩层后关闭, 默认值: `true`"
|
207
155
|
},
|
208
|
-
"van-
|
209
|
-
"type": "
|
210
|
-
"description": "
|
156
|
+
"van-action-sheet/safe-area-inset-bottom": {
|
157
|
+
"type": "boolean",
|
158
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
211
159
|
},
|
212
|
-
"van-
|
213
|
-
"type": "
|
214
|
-
"description": "
|
160
|
+
"van-action-sheet/teleport": {
|
161
|
+
"type": "string | Element",
|
162
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
215
163
|
},
|
216
|
-
"van-
|
217
|
-
"type": "() => boolean",
|
218
|
-
"description": "
|
164
|
+
"van-action-sheet/before-close": {
|
165
|
+
"type": "(action: string) => boolean | Promise\\<boolean\\>",
|
166
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
167
|
+
},
|
168
|
+
"van-address-list/v-model": {
|
169
|
+
"type": "string",
|
170
|
+
"description": "当前选中地址的 id, 默认值: -"
|
171
|
+
},
|
172
|
+
"van-address-list/list": {
|
173
|
+
"type": "AddressListAddress[]",
|
174
|
+
"description": "地址列表, 默认值: `[]`"
|
175
|
+
},
|
176
|
+
"van-address-list/disabled-list": {
|
177
|
+
"type": "AddressListAddress[]",
|
178
|
+
"description": "不可配送地址列表, 默认值: `[]`"
|
179
|
+
},
|
180
|
+
"van-address-list/disabled-text": {
|
181
|
+
"type": "string",
|
182
|
+
"description": "不可配送提示文案, 默认值: -"
|
183
|
+
},
|
184
|
+
"van-address-list/switchable": {
|
185
|
+
"type": "boolean",
|
186
|
+
"description": "是否允许切换地址, 默认值: `true`"
|
187
|
+
},
|
188
|
+
"van-address-list/add-button-text": {
|
189
|
+
"type": "string",
|
190
|
+
"description": "底部按钮文字, 默认值: `新增地址`"
|
191
|
+
},
|
192
|
+
"van-address-list/default-tag-text": {
|
193
|
+
"type": "string",
|
194
|
+
"description": "默认地址标签文字, 默认值: -"
|
219
195
|
},
|
220
196
|
"van-address-edit/area-list": {
|
221
197
|
"type": "object",
|
@@ -305,33 +281,84 @@
|
|
305
281
|
"type": "(key, val) => string",
|
306
282
|
"description": "自定义校验函数, 默认值: -"
|
307
283
|
},
|
308
|
-
"van-
|
284
|
+
"van-area/value": {
|
309
285
|
"type": "string",
|
310
|
-
"description": "
|
286
|
+
"description": "当前选中项对应的地区码, 默认值: -"
|
311
287
|
},
|
312
|
-
"van-
|
313
|
-
"type": "
|
314
|
-
"description": "
|
288
|
+
"van-area/title": {
|
289
|
+
"type": "string",
|
290
|
+
"description": "顶部栏标题, 默认值: -"
|
315
291
|
},
|
316
|
-
"van-
|
317
|
-
"type": "
|
318
|
-
"description": "
|
292
|
+
"van-area/confirm-button-text": {
|
293
|
+
"type": "string",
|
294
|
+
"description": "确认按钮文字, 默认值: `确认`"
|
319
295
|
},
|
320
|
-
"van-
|
296
|
+
"van-area/cancel-button-text": {
|
321
297
|
"type": "string",
|
322
|
-
"description": "
|
298
|
+
"description": "取消按钮文字, 默认值: `取消`"
|
323
299
|
},
|
324
|
-
"van-
|
300
|
+
"van-area/area-list": {
|
301
|
+
"type": "object",
|
302
|
+
"description": "省市区数据,格式见下方, 默认值: -"
|
303
|
+
},
|
304
|
+
"van-area/columns-placeholder": {
|
305
|
+
"type": "string[]",
|
306
|
+
"description": "列占位提示文字, 默认值: `[]`"
|
307
|
+
},
|
308
|
+
"van-area/loading": {
|
325
309
|
"type": "boolean",
|
326
|
-
"description": "
|
310
|
+
"description": "是否显示加载状态, 默认值: `false`"
|
327
311
|
},
|
328
|
-
"van-
|
329
|
-
"type": "
|
330
|
-
"description": "
|
312
|
+
"van-area/readonly": {
|
313
|
+
"type": "boolean",
|
314
|
+
"description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
|
331
315
|
},
|
332
|
-
"van-
|
316
|
+
"van-area/item-height": {
|
317
|
+
"type": "number | string",
|
318
|
+
"description": "选项高度,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `44`"
|
319
|
+
},
|
320
|
+
"van-area/columns-num": {
|
321
|
+
"type": "number | string",
|
322
|
+
"description": "显示列数,3-省市区,2-省市,1-省, 默认值: `3`"
|
323
|
+
},
|
324
|
+
"van-area/visible-item-count": {
|
325
|
+
"type": "number | string",
|
326
|
+
"description": "可见的选项个数, 默认值: `6`"
|
327
|
+
},
|
328
|
+
"van-area/swipe-duration": {
|
329
|
+
"type": "number | string",
|
330
|
+
"description": "快速滑动时惯性滚动的时长,单位 `ms`, 默认值: `1000`"
|
331
|
+
},
|
332
|
+
"van-area/is-oversea-code": {
|
333
|
+
"type": "() => boolean",
|
334
|
+
"description": "根据地区码校验海外地址,海外地址会划分至单独的分类, 默认值: -"
|
335
|
+
},
|
336
|
+
"van-badge/content": {
|
337
|
+
"type": "number | string",
|
338
|
+
"description": "徽标内容, 默认值: -"
|
339
|
+
},
|
340
|
+
"van-badge/color": {
|
333
341
|
"type": "string",
|
334
|
-
"description": "
|
342
|
+
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
343
|
+
},
|
344
|
+
"van-badge/dot": {
|
345
|
+
"type": "boolean",
|
346
|
+
"description": "是否展示为小红点, 默认值: `false`"
|
347
|
+
},
|
348
|
+
"van-badge/max": {
|
349
|
+
"type": "number | string",
|
350
|
+
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
351
|
+
},
|
352
|
+
"van-badge/offset": {
|
353
|
+
"type": "[number | string, number \\",
|
354
|
+
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`, 默认值: string]_",
|
355
|
+
"options": [
|
356
|
+
"-"
|
357
|
+
]
|
358
|
+
},
|
359
|
+
"van-badge/show-zero": {
|
360
|
+
"type": "boolean",
|
361
|
+
"description": "当 content 为数字 0 时,是否展示徽标, 默认值: `true`"
|
335
362
|
},
|
336
363
|
"van-button/type": {
|
337
364
|
"type": "string",
|
@@ -421,33 +448,6 @@
|
|
421
448
|
"type": "boolean",
|
422
449
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
423
450
|
},
|
424
|
-
"van-badge/content": {
|
425
|
-
"type": "number | string",
|
426
|
-
"description": "徽标内容, 默认值: -"
|
427
|
-
},
|
428
|
-
"van-badge/color": {
|
429
|
-
"type": "string",
|
430
|
-
"description": "徽标背景颜色, 默认值: `#ee0a24`"
|
431
|
-
},
|
432
|
-
"van-badge/dot": {
|
433
|
-
"type": "boolean",
|
434
|
-
"description": "是否展示为小红点, 默认值: `false`"
|
435
|
-
},
|
436
|
-
"van-badge/max": {
|
437
|
-
"type": "number | string",
|
438
|
-
"description": "最大值,超过最大值会显示 `{max}+`,仅当 content 为数字时有效, 默认值: -"
|
439
|
-
},
|
440
|
-
"van-badge/offset": {
|
441
|
-
"type": "[number | string, number \\",
|
442
|
-
"description": "设置徽标的偏移量,数组的两项分别对应水平和垂直方向的偏移量,默认单位为 `px`, 默认值: string]_",
|
443
|
-
"options": [
|
444
|
-
"-"
|
445
|
-
]
|
446
|
-
},
|
447
|
-
"van-badge/show-zero": {
|
448
|
-
"type": "boolean",
|
449
|
-
"description": "当 content 为数字 0 时,是否展示徽标, 默认值: `true`"
|
450
|
-
},
|
451
451
|
"van-calendar/type": {
|
452
452
|
"type": "string",
|
453
453
|
"description": "选择类型:<br>`single` 表示选择单个日期,<br>`multiple` 表示选择多个日期,<br>`range` 表示选择日期区间, 默认值: `single`"
|
@@ -1038,85 +1038,9 @@
|
|
1038
1038
|
"type": "boolean",
|
1039
1039
|
"description": "是否自动开始倒计时, 默认值: `true`"
|
1040
1040
|
},
|
1041
|
-
"van-count-down/millisecond": {
|
1042
|
-
"type": "boolean",
|
1043
|
-
"description": "是否开启毫秒级渲染, 默认值: `false`"
|
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`"
|
1041
|
+
"van-count-down/millisecond": {
|
1042
|
+
"type": "boolean",
|
1043
|
+
"description": "是否开启毫秒级渲染, 默认值: `false`"
|
1120
1044
|
},
|
1121
1045
|
"van-coupon-cell/title": {
|
1122
1046
|
"type": "string",
|
@@ -1214,6 +1138,82 @@
|
|
1214
1138
|
"type": "boolean",
|
1215
1139
|
"description": "是否展示可用 / 不可用数量, 默认值: `true`"
|
1216
1140
|
},
|
1141
|
+
"van-datetime-picker/type": {
|
1142
|
+
"type": "string",
|
1143
|
+
"description": "时间类型,可选值为 `date` `time` <br> `year-month` `month-day` `datehour`, 默认值: `datetime`"
|
1144
|
+
},
|
1145
|
+
"van-datetime-picker/title": {
|
1146
|
+
"type": "string",
|
1147
|
+
"description": "顶部栏标题, 默认值: `''`"
|
1148
|
+
},
|
1149
|
+
"van-datetime-picker/confirm-button-text": {
|
1150
|
+
"type": "string",
|
1151
|
+
"description": "确认按钮文字, 默认值: `确认`"
|
1152
|
+
},
|
1153
|
+
"van-datetime-picker/cancel-button-text": {
|
1154
|
+
"type": "string",
|
1155
|
+
"description": "取消按钮文字, 默认值: `取消`"
|
1156
|
+
},
|
1157
|
+
"van-datetime-picker/show-toolbar": {
|
1158
|
+
"type": "boolean",
|
1159
|
+
"description": "是否显示顶部栏, 默认值: `true`"
|
1160
|
+
},
|
1161
|
+
"van-datetime-picker/loading": {
|
1162
|
+
"type": "boolean",
|
1163
|
+
"description": "是否显示加载状态, 默认值: `false`"
|
1164
|
+
},
|
1165
|
+
"van-datetime-picker/readonly": {
|
1166
|
+
"type": "boolean",
|
1167
|
+
"description": "是否为只读状态,只读状态下无法切换选项, 默认值: `false`"
|
1168
|
+
},
|
1169
|
+
"van-datetime-picker/filter": {
|
1170
|
+
"type": "(type: string, values: string[]) => string[]",
|
1171
|
+
"description": "选项过滤函数, 默认值: -"
|
1172
|
+
},
|
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
1217
|
"van-dialog/v-model:show": {
|
1218
1218
|
"type": "boolean",
|
1219
1219
|
"description": "是否显示弹窗, 默认值: -"
|
@@ -1592,34 +1592,6 @@
|
|
1592
1592
|
"type": "boolean",
|
1593
1593
|
"description": "是否在按下回车键时提交表单, 默认值: `true`"
|
1594
1594
|
},
|
1595
|
-
"van-icon/name": {
|
1596
|
-
"type": "string",
|
1597
|
-
"description": "图标名称或图片链接, 默认值: -"
|
1598
|
-
},
|
1599
|
-
"van-icon/dot": {
|
1600
|
-
"type": "boolean",
|
1601
|
-
"description": "是否显示图标右上角小红点, 默认值: `false`"
|
1602
|
-
},
|
1603
|
-
"van-icon/badge": {
|
1604
|
-
"type": "number | string",
|
1605
|
-
"description": "图标右上角徽标的内容, 默认值: -"
|
1606
|
-
},
|
1607
|
-
"van-icon/color": {
|
1608
|
-
"type": "string",
|
1609
|
-
"description": "图标颜色, 默认值: `inherit`"
|
1610
|
-
},
|
1611
|
-
"van-icon/size": {
|
1612
|
-
"type": "number | string",
|
1613
|
-
"description": "图标大小,如 `20px` `2em`,默认单位为 `px`, 默认值: `inherit`"
|
1614
|
-
},
|
1615
|
-
"van-icon/class-prefix": {
|
1616
|
-
"type": "string",
|
1617
|
-
"description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
|
1618
|
-
},
|
1619
|
-
"van-icon/tag": {
|
1620
|
-
"type": "string",
|
1621
|
-
"description": "根节点对应的 HTML 标签名, 默认值: `i`"
|
1622
|
-
},
|
1623
1595
|
"van-grid/column-num": {
|
1624
1596
|
"type": "number | string",
|
1625
1597
|
"description": "列数, 默认值: `4`"
|
@@ -1692,6 +1664,34 @@
|
|
1692
1664
|
"type": "boolean",
|
1693
1665
|
"description": "是否在跳转时替换当前页面历史, 默认值: `false`"
|
1694
1666
|
},
|
1667
|
+
"van-icon/name": {
|
1668
|
+
"type": "string",
|
1669
|
+
"description": "图标名称或图片链接, 默认值: -"
|
1670
|
+
},
|
1671
|
+
"van-icon/dot": {
|
1672
|
+
"type": "boolean",
|
1673
|
+
"description": "是否显示图标右上角小红点, 默认值: `false`"
|
1674
|
+
},
|
1675
|
+
"van-icon/badge": {
|
1676
|
+
"type": "number | string",
|
1677
|
+
"description": "图标右上角徽标的内容, 默认值: -"
|
1678
|
+
},
|
1679
|
+
"van-icon/color": {
|
1680
|
+
"type": "string",
|
1681
|
+
"description": "图标颜色, 默认值: `inherit`"
|
1682
|
+
},
|
1683
|
+
"van-icon/size": {
|
1684
|
+
"type": "number | string",
|
1685
|
+
"description": "图标大小,如 `20px` `2em`,默认单位为 `px`, 默认值: `inherit`"
|
1686
|
+
},
|
1687
|
+
"van-icon/class-prefix": {
|
1688
|
+
"type": "string",
|
1689
|
+
"description": "类名前缀,用于使用自定义图标, 默认值: `van-icon`"
|
1690
|
+
},
|
1691
|
+
"van-icon/tag": {
|
1692
|
+
"type": "string",
|
1693
|
+
"description": "根节点对应的 HTML 标签名, 默认值: `i`"
|
1694
|
+
},
|
1695
1695
|
"van-image/src": {
|
1696
1696
|
"type": "string",
|
1697
1697
|
"description": "图片链接, 默认值: -"
|
@@ -1823,6 +1823,34 @@
|
|
1823
1823
|
"type": "string | Element",
|
1824
1824
|
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
1825
1825
|
},
|
1826
|
+
"van-index-bar/index-list": {
|
1827
|
+
"type": "string[] | number[]",
|
1828
|
+
"description": "索引字符列表, 默认值: `A-Z`"
|
1829
|
+
},
|
1830
|
+
"van-index-bar/z-index": {
|
1831
|
+
"type": "number | string",
|
1832
|
+
"description": "z-index 层级, 默认值: `1`"
|
1833
|
+
},
|
1834
|
+
"van-index-bar/sticky": {
|
1835
|
+
"type": "boolean",
|
1836
|
+
"description": "是否开启锚点自动吸顶, 默认值: `true`"
|
1837
|
+
},
|
1838
|
+
"van-index-bar/sticky-offset-top": {
|
1839
|
+
"type": "number",
|
1840
|
+
"description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
|
1841
|
+
},
|
1842
|
+
"van-index-bar/highlight-color": {
|
1843
|
+
"type": "string",
|
1844
|
+
"description": "索引字符高亮颜色, 默认值: `#ee0a24`"
|
1845
|
+
},
|
1846
|
+
"van-index-bar/teleport": {
|
1847
|
+
"type": "string | Element",
|
1848
|
+
"description": "指定索引栏挂载的节点, 默认值: -"
|
1849
|
+
},
|
1850
|
+
"van-index-anchor/index": {
|
1851
|
+
"type": "number | string",
|
1852
|
+
"description": "索引字符, 默认值: -"
|
1853
|
+
},
|
1826
1854
|
"van-list/v-model:loading": {
|
1827
1855
|
"type": "boolean",
|
1828
1856
|
"description": "是否处于加载状态,加载过程中不触发 `load` 事件, 默认值: `false`"
|
@@ -1859,34 +1887,6 @@
|
|
1859
1887
|
"type": "string",
|
1860
1888
|
"description": "滚动触发加载的方向,可选值为 `up`, 默认值: `down`"
|
1861
1889
|
},
|
1862
|
-
"van-index-bar/index-list": {
|
1863
|
-
"type": "string[] | number[]",
|
1864
|
-
"description": "索引字符列表, 默认值: `A-Z`"
|
1865
|
-
},
|
1866
|
-
"van-index-bar/z-index": {
|
1867
|
-
"type": "number | string",
|
1868
|
-
"description": "z-index 层级, 默认值: `1`"
|
1869
|
-
},
|
1870
|
-
"van-index-bar/sticky": {
|
1871
|
-
"type": "boolean",
|
1872
|
-
"description": "是否开启锚点自动吸顶, 默认值: `true`"
|
1873
|
-
},
|
1874
|
-
"van-index-bar/sticky-offset-top": {
|
1875
|
-
"type": "number",
|
1876
|
-
"description": "锚点自动吸顶时与顶部的距离, 默认值: `0`"
|
1877
|
-
},
|
1878
|
-
"van-index-bar/highlight-color": {
|
1879
|
-
"type": "string",
|
1880
|
-
"description": "索引字符高亮颜色, 默认值: `#ee0a24`"
|
1881
|
-
},
|
1882
|
-
"van-index-bar/teleport": {
|
1883
|
-
"type": "string | Element",
|
1884
|
-
"description": "指定索引栏挂载的节点, 默认值: -"
|
1885
|
-
},
|
1886
|
-
"van-index-anchor/index": {
|
1887
|
-
"type": "number | string",
|
1888
|
-
"description": "索引字符, 默认值: -"
|
1889
|
-
},
|
1890
1890
|
"van-loading/color": {
|
1891
1891
|
"type": "string",
|
1892
1892
|
"description": "颜色, 默认值: `#c9c9c9`"
|
@@ -1967,21 +1967,89 @@
|
|
1967
1967
|
"type": "string",
|
1968
1968
|
"description": "左侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
1969
1969
|
},
|
1970
|
-
"van-notice-bar/delay": {
|
1971
|
-
"type": "number | string",
|
1972
|
-
"description": "动画延迟时间 (s), 默认值: `1`"
|
1970
|
+
"van-notice-bar/delay": {
|
1971
|
+
"type": "number | string",
|
1972
|
+
"description": "动画延迟时间 (s), 默认值: `1`"
|
1973
|
+
},
|
1974
|
+
"van-notice-bar/speed": {
|
1975
|
+
"type": "number | string",
|
1976
|
+
"description": "滚动速率 (px/s), 默认值: `60`"
|
1977
|
+
},
|
1978
|
+
"van-notice-bar/scrollable": {
|
1979
|
+
"type": "boolean",
|
1980
|
+
"description": "是否开启滚动播放,内容长度溢出时默认开启, 默认值: -"
|
1981
|
+
},
|
1982
|
+
"van-notice-bar/wrapable": {
|
1983
|
+
"type": "boolean",
|
1984
|
+
"description": "是否开启文本换行,只在禁用滚动时生效, 默认值: `false`"
|
1985
|
+
},
|
1986
|
+
"van-number-keyboard/v-model": {
|
1987
|
+
"type": "string",
|
1988
|
+
"description": "当前输入值, 默认值: -"
|
1989
|
+
},
|
1990
|
+
"van-number-keyboard/show": {
|
1991
|
+
"type": "boolean",
|
1992
|
+
"description": "是否显示键盘, 默认值: -"
|
1993
|
+
},
|
1994
|
+
"van-number-keyboard/title": {
|
1995
|
+
"type": "string",
|
1996
|
+
"description": "键盘标题, 默认值: -"
|
1997
|
+
},
|
1998
|
+
"van-number-keyboard/theme": {
|
1999
|
+
"type": "string",
|
2000
|
+
"description": "样式风格,可选值为 `custom`, 默认值: `default`"
|
2001
|
+
},
|
2002
|
+
"van-number-keyboard/maxlength": {
|
2003
|
+
"type": "number | string",
|
2004
|
+
"description": "输入值最大长度, 默认值: `Infinity`"
|
2005
|
+
},
|
2006
|
+
"van-number-keyboard/transition": {
|
2007
|
+
"type": "boolean",
|
2008
|
+
"description": "是否开启过场动画, 默认值: `true`"
|
2009
|
+
},
|
2010
|
+
"van-number-keyboard/z-index": {
|
2011
|
+
"type": "number | string",
|
2012
|
+
"description": "键盘 z-index 层级, 默认值: `100`"
|
2013
|
+
},
|
2014
|
+
"van-number-keyboard/extra-key": {
|
2015
|
+
"type": "string | string[]",
|
2016
|
+
"description": "底部额外按键的内容, 默认值: `''`"
|
2017
|
+
},
|
2018
|
+
"van-number-keyboard/close-button-text": {
|
2019
|
+
"type": "string",
|
2020
|
+
"description": "关闭按钮文字,空则不展示, 默认值: -"
|
2021
|
+
},
|
2022
|
+
"van-number-keyboard/delete-button-text": {
|
2023
|
+
"type": "string",
|
2024
|
+
"description": "删除按钮文字,空则展示删除图标, 默认值: -"
|
2025
|
+
},
|
2026
|
+
"van-number-keyboard/close-button-loading": {
|
2027
|
+
"type": "boolean",
|
2028
|
+
"description": "是否将关闭按钮设置为加载中状态,仅在 `theme=\"custom\"` 时有效, 默认值: `false`"
|
2029
|
+
},
|
2030
|
+
"van-number-keyboard/show-delete-key": {
|
2031
|
+
"type": "boolean",
|
2032
|
+
"description": "是否展示删除图标, 默认值: `true`"
|
2033
|
+
},
|
2034
|
+
"van-number-keyboard/blur-on-close": {
|
2035
|
+
"type": "boolean",
|
2036
|
+
"description": "是否在点击关闭按钮时触发 blur 事件, 默认值: `true`"
|
1973
2037
|
},
|
1974
|
-
"van-
|
1975
|
-
"type": "
|
1976
|
-
"description": "
|
2038
|
+
"van-number-keyboard/hide-on-click-outside": {
|
2039
|
+
"type": "boolean",
|
2040
|
+
"description": "是否在点击外部时收起键盘, 默认值: `true`"
|
1977
2041
|
},
|
1978
|
-
"van-
|
2042
|
+
"van-number-keyboard/teleport": {
|
2043
|
+
"type": "string | Element",
|
2044
|
+
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
2045
|
+
},
|
2046
|
+
"van-number-keyboard/safe-area-inset-bottom": {
|
1979
2047
|
"type": "boolean",
|
1980
|
-
"description": "
|
2048
|
+
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
1981
2049
|
},
|
1982
|
-
"van-
|
2050
|
+
"van-number-keyboard/random-key-order": {
|
1983
2051
|
"type": "boolean",
|
1984
|
-
"description": "
|
2052
|
+
"description": "是否将通过随机顺序展示按键, 默认值: `false`"
|
1985
2053
|
},
|
1986
2054
|
"van-overlay/show": {
|
1987
2055
|
"type": "boolean",
|
@@ -2043,73 +2111,33 @@
|
|
2043
2111
|
"type": "boolean",
|
2044
2112
|
"description": "是否显示省略号, 默认值: `false`"
|
2045
2113
|
},
|
2046
|
-
"van-
|
2114
|
+
"van-password-input/value": {
|
2047
2115
|
"type": "string",
|
2048
|
-
"description": "
|
2049
|
-
},
|
2050
|
-
"van-number-keyboard/show": {
|
2051
|
-
"type": "boolean",
|
2052
|
-
"description": "是否显示键盘, 默认值: -"
|
2116
|
+
"description": "密码值, 默认值: `''`"
|
2053
2117
|
},
|
2054
|
-
"van-
|
2118
|
+
"van-password-input/info": {
|
2055
2119
|
"type": "string",
|
2056
|
-
"description": "
|
2120
|
+
"description": "输入框下方文字提示, 默认值: -"
|
2057
2121
|
},
|
2058
|
-
"van-
|
2122
|
+
"van-password-input/error-info": {
|
2059
2123
|
"type": "string",
|
2060
|
-
"description": "
|
2124
|
+
"description": "输入框下方错误提示, 默认值: -"
|
2061
2125
|
},
|
2062
|
-
"van-
|
2126
|
+
"van-password-input/length": {
|
2063
2127
|
"type": "number | string",
|
2064
|
-
"description": "
|
2065
|
-
},
|
2066
|
-
"van-number-keyboard/transition": {
|
2067
|
-
"type": "boolean",
|
2068
|
-
"description": "是否开启过场动画, 默认值: `true`"
|
2128
|
+
"description": "密码最大长度, 默认值: `6`"
|
2069
2129
|
},
|
2070
|
-
"van-
|
2130
|
+
"van-password-input/gutter": {
|
2071
2131
|
"type": "number | string",
|
2072
|
-
"description": "
|
2073
|
-
},
|
2074
|
-
"van-number-keyboard/extra-key": {
|
2075
|
-
"type": "string | string[]",
|
2076
|
-
"description": "底部额外按键的内容, 默认值: `''`"
|
2077
|
-
},
|
2078
|
-
"van-number-keyboard/close-button-text": {
|
2079
|
-
"type": "string",
|
2080
|
-
"description": "关闭按钮文字,空则不展示, 默认值: -"
|
2081
|
-
},
|
2082
|
-
"van-number-keyboard/delete-button-text": {
|
2083
|
-
"type": "string",
|
2084
|
-
"description": "删除按钮文字,空则展示删除图标, 默认值: -"
|
2085
|
-
},
|
2086
|
-
"van-number-keyboard/close-button-loading": {
|
2087
|
-
"type": "boolean",
|
2088
|
-
"description": "是否将关闭按钮设置为加载中状态,仅在 `theme=\"custom\"` 时有效, 默认值: `false`"
|
2089
|
-
},
|
2090
|
-
"van-number-keyboard/show-delete-key": {
|
2091
|
-
"type": "boolean",
|
2092
|
-
"description": "是否展示删除图标, 默认值: `true`"
|
2093
|
-
},
|
2094
|
-
"van-number-keyboard/blur-on-close": {
|
2095
|
-
"type": "boolean",
|
2096
|
-
"description": "是否在点击关闭按钮时触发 blur 事件, 默认值: `true`"
|
2097
|
-
},
|
2098
|
-
"van-number-keyboard/hide-on-click-outside": {
|
2099
|
-
"type": "boolean",
|
2100
|
-
"description": "是否在点击外部时收起键盘, 默认值: `true`"
|
2101
|
-
},
|
2102
|
-
"van-number-keyboard/teleport": {
|
2103
|
-
"type": "string | Element",
|
2104
|
-
"description": "指定挂载的节点,等同于 Teleport 组件的 [to 属性](https://v3.cn.vuejs.org/api/built-in-components.html#teleport), 默认值: -"
|
2132
|
+
"description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
|
2105
2133
|
},
|
2106
|
-
"van-
|
2134
|
+
"van-password-input/mask": {
|
2107
2135
|
"type": "boolean",
|
2108
|
-
"description": "
|
2136
|
+
"description": "是否隐藏密码内容, 默认值: `true`"
|
2109
2137
|
},
|
2110
|
-
"van-
|
2138
|
+
"van-password-input/focused": {
|
2111
2139
|
"type": "boolean",
|
2112
|
-
"description": "
|
2140
|
+
"description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
|
2113
2141
|
},
|
2114
2142
|
"van-picker/columns": {
|
2115
2143
|
"type": "Column[]",
|
@@ -2230,34 +2258,6 @@
|
|
2230
2258
|
"type": "string",
|
2231
2259
|
"description": "图标类名前缀,等同于 Icon 组件的 [class-prefix 属性](#/zh-CN/icon#props), 默认值: `van-icon`"
|
2232
2260
|
},
|
2233
|
-
"van-password-input/value": {
|
2234
|
-
"type": "string",
|
2235
|
-
"description": "密码值, 默认值: `''`"
|
2236
|
-
},
|
2237
|
-
"van-password-input/info": {
|
2238
|
-
"type": "string",
|
2239
|
-
"description": "输入框下方文字提示, 默认值: -"
|
2240
|
-
},
|
2241
|
-
"van-password-input/error-info": {
|
2242
|
-
"type": "string",
|
2243
|
-
"description": "输入框下方错误提示, 默认值: -"
|
2244
|
-
},
|
2245
|
-
"van-password-input/length": {
|
2246
|
-
"type": "number | string",
|
2247
|
-
"description": "密码最大长度, 默认值: `6`"
|
2248
|
-
},
|
2249
|
-
"van-password-input/gutter": {
|
2250
|
-
"type": "number | string",
|
2251
|
-
"description": "输入框格子之间的间距,如 `20px` `2em`,默认单位为`px`, 默认值: `0`"
|
2252
|
-
},
|
2253
|
-
"van-password-input/mask": {
|
2254
|
-
"type": "boolean",
|
2255
|
-
"description": "是否隐藏密码内容, 默认值: `true`"
|
2256
|
-
},
|
2257
|
-
"van-password-input/focused": {
|
2258
|
-
"type": "boolean",
|
2259
|
-
"description": "是否已聚焦,聚焦时会显示光标, 默认值: `false`"
|
2260
|
-
},
|
2261
2261
|
"van-popup/v-model:show": {
|
2262
2262
|
"type": "boolean",
|
2263
2263
|
"description": "是否显示弹出层, 默认值: `false`"
|
@@ -2341,6 +2341,42 @@
|
|
2341
2341
|
"type": "boolean",
|
2342
2342
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `false`"
|
2343
2343
|
},
|
2344
|
+
"van-progress/percentage": {
|
2345
|
+
"type": "number | string",
|
2346
|
+
"description": "进度百分比, 默认值: `0`"
|
2347
|
+
},
|
2348
|
+
"van-progress/stroke-width": {
|
2349
|
+
"type": "number | string",
|
2350
|
+
"description": "进度条粗细,默认单位为`px`, 默认值: `4px`"
|
2351
|
+
},
|
2352
|
+
"van-progress/color": {
|
2353
|
+
"type": "string",
|
2354
|
+
"description": "进度条颜色, 默认值: `#1989fa`"
|
2355
|
+
},
|
2356
|
+
"van-progress/track-color": {
|
2357
|
+
"type": "string",
|
2358
|
+
"description": "轨道颜色, 默认值: `#e5e5e5`"
|
2359
|
+
},
|
2360
|
+
"van-progress/pivot-text": {
|
2361
|
+
"type": "string",
|
2362
|
+
"description": "进度文字内容, 默认值: 百分比"
|
2363
|
+
},
|
2364
|
+
"van-progress/pivot-color": {
|
2365
|
+
"type": "string",
|
2366
|
+
"description": "进度文字背景色, 默认值: 同进度条颜色"
|
2367
|
+
},
|
2368
|
+
"van-progress/text-color": {
|
2369
|
+
"type": "string",
|
2370
|
+
"description": "进度文字颜色, 默认值: `white`"
|
2371
|
+
},
|
2372
|
+
"van-progress/inactive": {
|
2373
|
+
"type": "boolean",
|
2374
|
+
"description": "是否置灰, 默认值: `false`"
|
2375
|
+
},
|
2376
|
+
"van-progress/show-pivot": {
|
2377
|
+
"type": "boolean",
|
2378
|
+
"description": "是否显示进度文字, 默认值: `true`"
|
2379
|
+
},
|
2344
2380
|
"van-pull-refresh/v-model": {
|
2345
2381
|
"type": "boolean",
|
2346
2382
|
"description": "是否处于加载中状态, 默认值: -"
|
@@ -2381,42 +2417,6 @@
|
|
2381
2417
|
"type": "boolean",
|
2382
2418
|
"description": "是否禁用下拉刷新, 默认值: `false`"
|
2383
2419
|
},
|
2384
|
-
"van-progress/percentage": {
|
2385
|
-
"type": "number | string",
|
2386
|
-
"description": "进度百分比, 默认值: `0`"
|
2387
|
-
},
|
2388
|
-
"van-progress/stroke-width": {
|
2389
|
-
"type": "number | string",
|
2390
|
-
"description": "进度条粗细,默认单位为`px`, 默认值: `4px`"
|
2391
|
-
},
|
2392
|
-
"van-progress/color": {
|
2393
|
-
"type": "string",
|
2394
|
-
"description": "进度条颜色, 默认值: `#1989fa`"
|
2395
|
-
},
|
2396
|
-
"van-progress/track-color": {
|
2397
|
-
"type": "string",
|
2398
|
-
"description": "轨道颜色, 默认值: `#e5e5e5`"
|
2399
|
-
},
|
2400
|
-
"van-progress/pivot-text": {
|
2401
|
-
"type": "string",
|
2402
|
-
"description": "进度文字内容, 默认值: 百分比"
|
2403
|
-
},
|
2404
|
-
"van-progress/pivot-color": {
|
2405
|
-
"type": "string",
|
2406
|
-
"description": "进度文字背景色, 默认值: 同进度条颜色"
|
2407
|
-
},
|
2408
|
-
"van-progress/text-color": {
|
2409
|
-
"type": "string",
|
2410
|
-
"description": "进度文字颜色, 默认值: `white`"
|
2411
|
-
},
|
2412
|
-
"van-progress/inactive": {
|
2413
|
-
"type": "boolean",
|
2414
|
-
"description": "是否置灰, 默认值: `false`"
|
2415
|
-
},
|
2416
|
-
"van-progress/show-pivot": {
|
2417
|
-
"type": "boolean",
|
2418
|
-
"description": "是否显示进度文字, 默认值: `true`"
|
2419
|
-
},
|
2420
2420
|
"van-radio/name": {
|
2421
2421
|
"type": "any",
|
2422
2422
|
"description": "标识符, 默认值: -"
|
@@ -2439,7 +2439,7 @@
|
|
2439
2439
|
},
|
2440
2440
|
"van-radio/icon-size": {
|
2441
2441
|
"type": "number | string",
|
2442
|
-
"description": "
|
2442
|
+
"description": "图标大小,默认单位为 `px`, 默认值: `20px`"
|
2443
2443
|
},
|
2444
2444
|
"van-radio/checked-color": {
|
2445
2445
|
"type": "string",
|
@@ -2455,11 +2455,11 @@
|
|
2455
2455
|
},
|
2456
2456
|
"van-radio-group/direction": {
|
2457
2457
|
"type": "string",
|
2458
|
-
"description": "
|
2458
|
+
"description": "排列方向,可选值为 `horizontal`, 默认值: `vertical`"
|
2459
2459
|
},
|
2460
2460
|
"van-radio-group/icon-size": {
|
2461
2461
|
"type": "number | string",
|
2462
|
-
"description": "
|
2462
|
+
"description": "所有单选框的图标大小,默认单位为 `px`, 默认值: `20px`"
|
2463
2463
|
},
|
2464
2464
|
"van-radio-group/checked-color": {
|
2465
2465
|
"type": "string",
|
@@ -2521,10 +2521,18 @@
|
|
2521
2521
|
"type": "boolean",
|
2522
2522
|
"description": "是否可以通过滑动手势选择评分, 默认值: `true`"
|
2523
2523
|
},
|
2524
|
+
"van-search/v-model": {
|
2525
|
+
"type": "number | string",
|
2526
|
+
"description": "当前输入的值, 默认值: -"
|
2527
|
+
},
|
2524
2528
|
"van-search/label": {
|
2525
2529
|
"type": "string",
|
2526
2530
|
"description": "搜索框左侧文本, 默认值: -"
|
2527
2531
|
},
|
2532
|
+
"van-search/name": {
|
2533
|
+
"type": "string",
|
2534
|
+
"description": "名称,作为提交表单时的标识符, 默认值: -"
|
2535
|
+
},
|
2528
2536
|
"van-search/shape": {
|
2529
2537
|
"type": "string",
|
2530
2538
|
"description": "搜索框形状,可选值为 `round`, 默认值: `square`"
|
@@ -2605,6 +2613,10 @@
|
|
2605
2613
|
"type": "string",
|
2606
2614
|
"description": "输入框右侧[图标名称](#/zh-CN/icon)或图片链接, 默认值: -"
|
2607
2615
|
},
|
2616
|
+
"van-search/autocomplete": {
|
2617
|
+
"type": "string",
|
2618
|
+
"description": "input 标签原生的[自动完成属性](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete), 默认值: -"
|
2619
|
+
},
|
2608
2620
|
"van-share-sheet/v-model:show": {
|
2609
2621
|
"type": "boolean",
|
2610
2622
|
"description": "是否显示分享面板, 默认值: `false`"
|
@@ -2629,6 +2641,10 @@
|
|
2629
2641
|
"type": "number | string",
|
2630
2642
|
"description": "动画时长,单位秒,设置为 0 可以禁用动画, 默认值: `0.3`"
|
2631
2643
|
},
|
2644
|
+
"van-share-sheet/round": {
|
2645
|
+
"type": "boolean",
|
2646
|
+
"description": "是否显示圆角, 默认值: `true`"
|
2647
|
+
},
|
2632
2648
|
"van-share-sheet/overlay": {
|
2633
2649
|
"type": "boolean",
|
2634
2650
|
"description": "是否显示遮罩层, 默认值: `true`"
|
@@ -2998,30 +3014,6 @@
|
|
2998
3014
|
"type": "boolean",
|
2999
3015
|
"description": "是否开启[底部安全区适配](#/zh-CN/advanced-usage#di-bu-an-quan-qu-gua-pei), 默认值: `true`"
|
3000
3016
|
},
|
3001
|
-
"van-swipe-cell/name": {
|
3002
|
-
"type": "number | string",
|
3003
|
-
"description": "标识符,可以在事件参数中获取到, 默认值: `''`"
|
3004
|
-
},
|
3005
|
-
"van-swipe-cell/left-width": {
|
3006
|
-
"type": "number | string",
|
3007
|
-
"description": "指定左侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
|
3008
|
-
},
|
3009
|
-
"van-swipe-cell/right-width": {
|
3010
|
-
"type": "number | string",
|
3011
|
-
"description": "指定右侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
|
3012
|
-
},
|
3013
|
-
"van-swipe-cell/before-close": {
|
3014
|
-
"type": "(args) => boolean | Promise\\<boolean\\>",
|
3015
|
-
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
3016
|
-
},
|
3017
|
-
"van-swipe-cell/disabled": {
|
3018
|
-
"type": "boolean",
|
3019
|
-
"description": "是否禁用滑动, 默认值: `false`"
|
3020
|
-
},
|
3021
|
-
"van-swipe-cell/stop-propagation": {
|
3022
|
-
"type": "boolean",
|
3023
|
-
"description": "是否阻止滑动事件冒泡, 默认值: `false`"
|
3024
|
-
},
|
3025
3017
|
"van-swipe/autoplay": {
|
3026
3018
|
"type": "number | string",
|
3027
3019
|
"description": "自动轮播间隔,单位为 ms, 默认值: -"
|
@@ -3070,6 +3062,30 @@
|
|
3070
3062
|
"type": "string",
|
3071
3063
|
"description": "指示器颜色, 默认值: `#1989fa`"
|
3072
3064
|
},
|
3065
|
+
"van-swipe-cell/name": {
|
3066
|
+
"type": "number | string",
|
3067
|
+
"description": "标识符,可以在事件参数中获取到, 默认值: `''`"
|
3068
|
+
},
|
3069
|
+
"van-swipe-cell/left-width": {
|
3070
|
+
"type": "number | string",
|
3071
|
+
"description": "指定左侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
|
3072
|
+
},
|
3073
|
+
"van-swipe-cell/right-width": {
|
3074
|
+
"type": "number | string",
|
3075
|
+
"description": "指定右侧滑动区域宽度,单位为 `px`, 默认值: `auto`"
|
3076
|
+
},
|
3077
|
+
"van-swipe-cell/before-close": {
|
3078
|
+
"type": "(args) => boolean | Promise\\<boolean\\>",
|
3079
|
+
"description": "关闭前的回调函数,返回 `false` 可阻止关闭,支持返回 Promise, 默认值: -"
|
3080
|
+
},
|
3081
|
+
"van-swipe-cell/disabled": {
|
3082
|
+
"type": "boolean",
|
3083
|
+
"description": "是否禁用滑动, 默认值: `false`"
|
3084
|
+
},
|
3085
|
+
"van-swipe-cell/stop-propagation": {
|
3086
|
+
"type": "boolean",
|
3087
|
+
"description": "是否阻止滑动事件冒泡, 默认值: `false`"
|
3088
|
+
},
|
3073
3089
|
"van-switch/v-model": {
|
3074
3090
|
"type": "any",
|
3075
3091
|
"description": "开关选中状态, 默认值: `false`"
|
@@ -3144,7 +3160,7 @@
|
|
3144
3160
|
},
|
3145
3161
|
"van-tabs/sticky": {
|
3146
3162
|
"type": "boolean",
|
3147
|
-
"description": "
|
3163
|
+
"description": "是否使用粘性布局, 默认值: `false`"
|
3148
3164
|
},
|
3149
3165
|
"van-tabs/swipeable": {
|
3150
3166
|
"type": "boolean",
|
@@ -3160,7 +3176,7 @@
|
|
3160
3176
|
},
|
3161
3177
|
"van-tabs/offset-top": {
|
3162
3178
|
"type": "number | string",
|
3163
|
-
"description": "
|
3179
|
+
"description": "粘性布局下吸顶时与顶部的距离,支持 `px` `vw` `vh` `rem` 单位,默认 `px`, 默认值: `0`"
|
3164
3180
|
},
|
3165
3181
|
"van-tabs/swipe-threshold": {
|
3166
3182
|
"type": "number | string",
|
@@ -3441,12 +3457,12 @@
|
|
3441
3457
|
"type": "number | string \\",
|
3442
3458
|
"description": "文件大小限制,单位为 `byte`, 默认值: (file: File) => boolean_",
|
3443
3459
|
"options": [
|
3444
|
-
"
|
3460
|
+
"Infinity"
|
3445
3461
|
]
|
3446
3462
|
},
|
3447
3463
|
"van-uploader/max-count": {
|
3448
3464
|
"type": "number | string",
|
3449
|
-
"description": "文件上传数量限制, 默认值:
|
3465
|
+
"description": "文件上传数量限制, 默认值: `Infinity`"
|
3450
3466
|
},
|
3451
3467
|
"van-uploader/result-type": {
|
3452
3468
|
"type": "string",
|