vant 4.0.0-rc.0 → 4.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/changelog.generated.md +19 -267
- package/es/action-bar/ActionBar.d.ts +1 -1
- package/es/action-bar/ActionBar.mjs +1 -0
- package/es/action-bar/index.css +1 -1
- package/es/action-bar/index.d.ts +2 -0
- package/es/action-bar/index.mjs +2 -0
- package/es/action-bar/types.d.ts +4 -0
- package/es/action-bar/types.mjs +0 -0
- package/es/action-bar-button/ActionBarButton.d.ts +1 -1
- package/es/action-bar-button/ActionBarButton.mjs +1 -0
- package/es/action-bar-button/index.css +1 -1
- package/es/action-bar-button/index.d.ts +2 -0
- package/es/action-bar-button/index.mjs +2 -0
- package/es/action-bar-button/types.d.ts +5 -0
- package/es/action-bar-button/types.mjs +0 -0
- package/es/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/es/action-bar-icon/ActionBarIcon.mjs +1 -0
- package/es/action-bar-icon/index.css +1 -1
- package/es/action-bar-icon/index.d.ts +2 -0
- package/es/action-bar-icon/index.mjs +2 -0
- package/es/action-bar-icon/types.d.ts +10 -0
- package/es/action-bar-icon/types.mjs +0 -0
- package/es/action-sheet/ActionSheet.d.ts +1 -1
- package/es/action-sheet/ActionSheet.mjs +1 -0
- package/es/action-sheet/index.css +1 -1
- package/es/action-sheet/index.d.ts +2 -0
- package/es/action-sheet/index.mjs +2 -0
- package/es/action-sheet/types.d.ts +23 -0
- package/es/action-sheet/types.mjs +0 -0
- package/es/address-edit/AddressEdit.d.ts +1 -1
- package/es/address-edit/AddressEdit.mjs +1 -0
- package/es/address-edit/index.css +1 -1
- package/es/address-edit/index.d.ts +2 -1
- package/es/address-edit/index.mjs +2 -0
- package/es/address-edit/types.d.ts +6 -0
- package/es/address-list/AddressList.d.ts +1 -1
- package/es/address-list/AddressList.mjs +1 -0
- package/es/address-list/index.css +1 -1
- package/es/address-list/index.d.ts +2 -0
- package/es/address-list/index.mjs +2 -0
- package/es/address-list/types.d.ts +15 -0
- package/es/address-list/types.mjs +0 -0
- package/es/area/Area.d.ts +1 -1
- package/es/area/Area.mjs +1 -0
- package/es/area/index.d.ts +1 -0
- package/es/area/index.mjs +2 -0
- package/es/badge/Badge.d.ts +1 -1
- package/es/badge/Badge.mjs +1 -0
- package/es/badge/index.css +1 -1
- package/es/badge/index.d.ts +2 -0
- package/es/badge/index.mjs +2 -0
- package/es/badge/types.d.ts +12 -0
- package/es/badge/types.mjs +0 -0
- package/es/button/Button.d.ts +1 -1
- package/es/button/Button.mjs +1 -0
- package/es/button/index.css +1 -1
- package/es/button/index.d.ts +2 -1
- package/es/button/index.mjs +2 -0
- package/es/button/types.d.ts +36 -0
- package/es/calendar/Calendar.d.ts +1 -1
- package/es/calendar/Calendar.mjs +1 -0
- package/es/calendar/index.css +1 -1
- package/es/calendar/index.d.ts +2 -1
- package/es/calendar/index.mjs +2 -0
- package/es/calendar/types.d.ts +28 -0
- package/es/card/Card.d.ts +1 -1
- package/es/card/Card.mjs +1 -0
- package/es/card/index.css +1 -1
- package/es/card/index.d.ts +2 -0
- package/es/card/index.mjs +2 -0
- package/es/card/types.d.ts +18 -0
- package/es/card/types.mjs +0 -0
- package/es/cascader/Cascader.d.ts +1 -1
- package/es/cascader/Cascader.mjs +1 -0
- package/es/cascader/index.css +1 -1
- package/es/cascader/index.d.ts +2 -1
- package/es/cascader/index.mjs +2 -0
- package/es/cascader/types.d.ts +15 -0
- package/es/cell/Cell.d.ts +1 -1
- package/es/cell/Cell.mjs +1 -0
- package/es/cell/index.css +1 -1
- package/es/cell/index.d.ts +2 -0
- package/es/cell/index.mjs +2 -0
- package/es/cell/types.d.ts +21 -0
- package/es/cell/types.mjs +0 -0
- package/es/cell-group/CellGroup.d.ts +1 -1
- package/es/cell-group/CellGroup.mjs +1 -0
- package/es/cell-group/index.css +1 -1
- package/es/cell-group/index.d.ts +2 -0
- package/es/cell-group/index.mjs +2 -0
- package/es/cell-group/types.d.ts +10 -0
- package/es/cell-group/types.mjs +0 -0
- package/es/checkbox/Checkbox.d.ts +1 -1
- package/es/checkbox/Checkbox.mjs +1 -0
- package/es/checkbox/index.css +1 -1
- package/es/checkbox/index.d.ts +2 -1
- package/es/checkbox/index.mjs +2 -0
- package/es/checkbox/types.d.ts +11 -0
- package/es/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/es/checkbox-group/CheckboxGroup.mjs +1 -0
- package/es/checkbox-group/index.d.ts +1 -0
- package/es/checkbox-group/index.mjs +2 -0
- package/es/circle/Circle.d.ts +1 -1
- package/es/circle/Circle.mjs +1 -0
- package/es/circle/index.css +1 -1
- package/es/circle/index.d.ts +2 -0
- package/es/circle/index.mjs +2 -0
- package/es/circle/types.d.ts +9 -0
- package/es/circle/types.mjs +0 -0
- package/es/col/Col.d.ts +1 -1
- package/es/col/Col.mjs +1 -0
- package/es/col/index.d.ts +1 -0
- package/es/col/index.mjs +2 -0
- package/es/collapse/Collapse.d.ts +1 -1
- package/es/collapse/Collapse.mjs +1 -0
- package/es/collapse/index.d.ts +1 -0
- package/es/collapse/index.mjs +2 -0
- package/es/collapse-item/CollapseItem.d.ts +1 -1
- package/es/collapse-item/CollapseItem.mjs +1 -0
- package/es/collapse-item/index.css +1 -1
- package/es/collapse-item/index.d.ts +2 -1
- package/es/collapse-item/index.mjs +2 -0
- package/es/collapse-item/types.d.ts +9 -0
- package/es/config-provider/ConfigProvider.d.ts +1 -1
- package/es/config-provider/ConfigProvider.mjs +3 -2
- package/es/config-provider/index.d.ts +2 -0
- package/es/config-provider/index.mjs +2 -0
- package/es/config-provider/types.d.ts +1 -0
- package/es/config-provider/types.mjs +0 -0
- package/es/contact-card/ContactCard.d.ts +1 -1
- package/es/contact-card/ContactCard.mjs +1 -0
- package/es/contact-card/index.css +1 -1
- package/es/contact-card/index.d.ts +2 -0
- package/es/contact-card/index.mjs +2 -0
- package/es/contact-card/types.d.ts +6 -0
- package/es/contact-card/types.mjs +0 -0
- package/es/contact-edit/ContactEdit.d.ts +1 -1
- package/es/contact-edit/ContactEdit.mjs +1 -0
- package/es/contact-edit/index.css +1 -1
- package/es/contact-edit/index.d.ts +2 -0
- package/es/contact-edit/index.mjs +2 -0
- package/es/contact-edit/types.d.ts +8 -0
- package/es/contact-edit/types.mjs +0 -0
- package/es/contact-list/ContactList.d.ts +1 -1
- package/es/contact-list/ContactList.mjs +1 -0
- package/es/contact-list/index.css +1 -1
- package/es/contact-list/index.d.ts +2 -0
- package/es/contact-list/index.mjs +2 -0
- package/es/contact-list/types.d.ts +6 -0
- package/es/contact-list/types.mjs +0 -0
- package/es/count-down/CountDown.d.ts +1 -1
- package/es/count-down/CountDown.mjs +1 -0
- package/es/count-down/index.css +1 -1
- package/es/count-down/index.d.ts +2 -1
- package/es/count-down/index.mjs +2 -0
- package/es/count-down/types.d.ts +5 -0
- package/es/coupon/index.css +1 -1
- package/es/coupon/index.d.ts +1 -0
- package/es/coupon/types.d.ts +19 -0
- package/es/coupon/types.mjs +0 -0
- package/es/coupon-cell/CouponCell.d.ts +1 -1
- package/es/coupon-cell/CouponCell.mjs +1 -0
- package/es/coupon-cell/index.css +1 -1
- package/es/coupon-cell/index.d.ts +2 -0
- package/es/coupon-cell/index.mjs +2 -0
- package/es/coupon-cell/types.d.ts +3 -0
- package/es/coupon-cell/types.mjs +0 -0
- package/es/coupon-list/CouponList.d.ts +1 -1
- package/es/coupon-list/CouponList.mjs +1 -0
- package/es/coupon-list/index.css +1 -1
- package/es/coupon-list/index.d.ts +2 -0
- package/es/coupon-list/index.mjs +2 -0
- package/es/coupon-list/types.d.ts +9 -0
- package/es/coupon-list/types.mjs +0 -0
- package/es/date-picker/DatePicker.d.ts +1 -1
- package/es/date-picker/DatePicker.mjs +1 -0
- package/es/date-picker/index.d.ts +1 -0
- package/es/date-picker/index.mjs +2 -0
- package/es/dialog/Dialog.d.ts +1 -1
- package/es/dialog/Dialog.mjs +2 -1
- package/es/dialog/index.css +1 -1
- package/es/dialog/index.d.ts +2 -1
- package/es/dialog/index.mjs +2 -0
- package/es/dialog/types.d.ts +22 -1
- package/es/divider/Divider.d.ts +1 -1
- package/es/divider/Divider.mjs +2 -1
- package/es/divider/index.css +1 -1
- package/es/divider/index.d.ts +2 -0
- package/es/divider/index.mjs +3 -1
- package/es/divider/types.d.ts +10 -0
- package/es/divider/types.mjs +0 -0
- package/es/dropdown-item/DropdownItem.d.ts +1 -1
- package/es/dropdown-item/DropdownItem.mjs +2 -1
- package/es/dropdown-item/index.css +1 -1
- package/es/dropdown-item/index.d.ts +2 -1
- package/es/dropdown-item/index.mjs +3 -1
- package/es/dropdown-item/types.d.ts +3 -0
- package/es/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/es/dropdown-menu/DropdownMenu.mjs +2 -1
- package/es/dropdown-menu/index.css +1 -1
- package/es/dropdown-menu/index.d.ts +2 -1
- package/es/dropdown-menu/index.mjs +3 -1
- package/es/dropdown-menu/types.d.ts +13 -0
- package/es/empty/Empty.d.ts +1 -1
- package/es/empty/Empty.mjs +2 -1
- package/es/empty/index.css +1 -1
- package/es/empty/index.d.ts +2 -0
- package/es/empty/index.mjs +3 -1
- package/es/empty/types.d.ts +10 -0
- package/es/empty/types.mjs +0 -0
- package/es/field/Field.d.ts +1 -1
- package/es/field/Field.mjs +1 -0
- package/es/field/index.css +1 -1
- package/es/field/index.d.ts +2 -1
- package/es/field/index.mjs +3 -1
- package/es/field/types.d.ts +21 -0
- package/es/form/Form.d.ts +1 -1
- package/es/form/Form.mjs +2 -1
- package/es/form/index.d.ts +1 -0
- package/es/form/index.mjs +3 -1
- package/es/grid/Grid.d.ts +1 -1
- package/es/grid/Grid.mjs +2 -1
- package/es/grid/index.d.ts +1 -0
- package/es/grid/index.mjs +3 -1
- package/es/grid-item/GridItem.d.ts +1 -1
- package/es/grid-item/GridItem.mjs +2 -1
- package/es/grid-item/index.css +1 -1
- package/es/grid-item/index.d.ts +2 -0
- package/es/grid-item/index.mjs +3 -1
- package/es/grid-item/types.d.ts +8 -0
- package/es/grid-item/types.mjs +0 -0
- package/es/icon/Icon.d.ts +1 -1
- package/es/icon/Icon.mjs +2 -1
- package/es/icon/index.d.ts +1 -0
- package/es/icon/index.mjs +3 -1
- package/es/image/Image.d.ts +5 -1
- package/es/image/Image.mjs +5 -2
- package/es/image/index.css +1 -1
- package/es/image/index.d.ts +5 -0
- package/es/image/index.mjs +3 -1
- package/es/image/types.d.ts +9 -0
- package/es/image/types.mjs +0 -0
- package/es/image-preview/ImagePreview.d.ts +1 -1
- package/es/image-preview/ImagePreview.mjs +2 -1
- package/es/image-preview/index.css +1 -1
- package/es/image-preview/index.d.ts +3 -2
- package/es/image-preview/index.mjs +2 -0
- package/es/image-preview/types.d.ts +11 -0
- package/es/index-anchor/IndexAnchor.d.ts +1 -1
- package/es/index-anchor/IndexAnchor.mjs +2 -1
- package/es/index-anchor/index.css +1 -1
- package/es/index-anchor/index.d.ts +2 -0
- package/es/index-anchor/index.mjs +3 -1
- package/es/index-anchor/types.d.ts +11 -0
- package/es/index-anchor/types.mjs +0 -0
- package/es/index-bar/IndexBar.d.ts +1 -1
- package/es/index-bar/IndexBar.mjs +2 -1
- package/es/index-bar/index.css +1 -1
- package/es/index-bar/index.d.ts +2 -1
- package/es/index-bar/index.mjs +3 -1
- package/es/index-bar/types.d.ts +6 -0
- package/es/index.d.ts +1 -1
- package/es/index.mjs +1 -1
- package/es/list/List.d.ts +1 -1
- package/es/list/List.mjs +2 -1
- package/es/list/index.css +1 -1
- package/es/list/index.d.ts +2 -1
- package/es/list/index.mjs +3 -1
- package/es/list/types.d.ts +6 -0
- package/es/loading/Loading.d.ts +1 -1
- package/es/loading/Loading.mjs +2 -1
- package/es/loading/index.css +1 -1
- package/es/loading/index.d.ts +2 -0
- package/es/loading/index.mjs +3 -1
- package/es/loading/types.d.ts +7 -0
- package/es/loading/types.mjs +0 -0
- package/es/nav-bar/NavBar.d.ts +1 -1
- package/es/nav-bar/NavBar.mjs +2 -1
- package/es/nav-bar/index.css +1 -1
- package/es/nav-bar/index.d.ts +2 -0
- package/es/nav-bar/index.mjs +3 -1
- package/es/nav-bar/types.d.ts +10 -0
- package/es/nav-bar/types.mjs +0 -0
- package/es/notice-bar/NoticeBar.d.ts +1 -1
- package/es/notice-bar/NoticeBar.mjs +2 -1
- package/es/notice-bar/index.css +1 -1
- package/es/notice-bar/index.d.ts +2 -1
- package/es/notice-bar/index.mjs +3 -1
- package/es/notice-bar/types.d.ts +11 -0
- package/es/notify/Notify.d.ts +1 -1
- package/es/notify/Notify.mjs +3 -1
- package/es/notify/index.css +1 -1
- package/es/notify/index.d.ts +3 -2
- package/es/notify/index.mjs +2 -0
- package/es/notify/types.d.ts +10 -0
- package/es/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/es/number-keyboard/NumberKeyboard.mjs +2 -1
- package/es/number-keyboard/index.css +1 -1
- package/es/number-keyboard/index.d.ts +2 -0
- package/es/number-keyboard/index.mjs +3 -1
- package/es/number-keyboard/types.d.ts +17 -0
- package/es/number-keyboard/types.mjs +0 -0
- package/es/overlay/Overlay.d.ts +1 -1
- package/es/overlay/Overlay.mjs +2 -1
- package/es/overlay/index.css +1 -1
- package/es/overlay/index.d.ts +2 -0
- package/es/overlay/index.mjs +3 -1
- package/es/overlay/types.d.ts +4 -0
- package/es/overlay/types.mjs +0 -0
- package/es/pagination/Pagination.d.ts +1 -1
- package/es/pagination/Pagination.mjs +2 -1
- package/es/pagination/index.css +1 -1
- package/es/pagination/index.d.ts +2 -0
- package/es/pagination/index.mjs +3 -1
- package/es/pagination/types.d.ts +11 -0
- package/es/pagination/types.mjs +0 -0
- package/es/password-input/PasswordInput.d.ts +1 -1
- package/es/password-input/PasswordInput.mjs +2 -1
- package/es/password-input/index.css +1 -1
- package/es/password-input/index.d.ts +2 -0
- package/es/password-input/index.mjs +3 -1
- package/es/password-input/types.d.ts +17 -0
- package/es/password-input/types.mjs +0 -0
- package/es/picker/Picker.d.ts +1 -1
- package/es/picker/Picker.mjs +5 -2
- package/es/picker/index.css +1 -1
- package/es/picker/index.d.ts +2 -1
- package/es/picker/index.mjs +3 -1
- package/es/picker/types.d.ts +17 -0
- package/es/picker-group/index.css +1 -1
- package/es/picker-group/index.d.ts +2 -0
- package/es/picker-group/index.mjs +3 -1
- package/es/picker-group/types.d.ts +3 -0
- package/es/picker-group/types.mjs +0 -0
- package/es/popover/Popover.d.ts +1 -1
- package/es/popover/Popover.mjs +2 -1
- package/es/popover/index.css +1 -1
- package/es/popover/index.d.ts +2 -1
- package/es/popover/index.mjs +3 -1
- package/es/popover/types.d.ts +15 -0
- package/es/popup/Popup.d.ts +1 -1
- package/es/popup/Popup.mjs +2 -1
- package/es/popup/index.css +1 -1
- package/es/popup/index.d.ts +2 -1
- package/es/popup/index.mjs +3 -1
- package/es/popup/types.d.ts +9 -0
- package/es/progress/Progress.d.ts +1 -1
- package/es/progress/Progress.mjs +2 -1
- package/es/progress/index.css +1 -1
- package/es/progress/index.d.ts +2 -1
- package/es/progress/index.mjs +3 -1
- package/es/progress/types.d.ts +11 -0
- package/es/pull-refresh/PullRefresh.d.ts +1 -1
- package/es/pull-refresh/PullRefresh.mjs +2 -1
- package/es/pull-refresh/index.css +1 -1
- package/es/pull-refresh/index.d.ts +2 -0
- package/es/pull-refresh/index.mjs +3 -1
- package/es/pull-refresh/types.d.ts +6 -0
- package/es/pull-refresh/types.mjs +0 -0
- package/es/radio/Radio.d.ts +15 -2
- package/es/radio/Radio.mjs +3 -1
- package/es/radio/index.css +1 -1
- package/es/radio/index.d.ts +2 -0
- package/es/radio/index.mjs +3 -1
- package/es/radio/types.d.ts +11 -0
- package/es/radio/types.mjs +0 -0
- package/es/radio-group/RadioGroup.d.ts +1 -1
- package/es/radio-group/RadioGroup.mjs +2 -1
- package/es/radio-group/index.d.ts +1 -0
- package/es/radio-group/index.mjs +3 -1
- package/es/rate/Rate.d.ts +1 -1
- package/es/rate/Rate.mjs +2 -1
- package/es/rate/index.css +1 -1
- package/es/rate/index.d.ts +2 -0
- package/es/rate/index.mjs +3 -1
- package/es/rate/types.d.ts +7 -0
- package/es/rate/types.mjs +0 -0
- package/es/row/Row.d.ts +1 -1
- package/es/row/Row.mjs +2 -1
- package/es/row/index.d.ts +1 -0
- package/es/row/index.mjs +3 -1
- package/es/search/Search.d.ts +1 -1
- package/es/search/Search.mjs +2 -1
- package/es/search/index.css +1 -1
- package/es/search/index.d.ts +2 -1
- package/es/search/index.mjs +3 -1
- package/es/search/types.d.ts +13 -0
- package/es/share-sheet/ShareSheet.d.ts +1 -1
- package/es/share-sheet/ShareSheet.mjs +2 -1
- package/es/share-sheet/index.css +1 -1
- package/es/share-sheet/index.d.ts +2 -0
- package/es/share-sheet/index.mjs +3 -1
- package/es/share-sheet/types.d.ts +17 -0
- package/es/share-sheet/types.mjs +0 -0
- package/es/sidebar/Sidebar.d.ts +1 -1
- package/es/sidebar/Sidebar.mjs +2 -1
- package/es/sidebar/index.css +1 -1
- package/es/sidebar/index.d.ts +2 -0
- package/es/sidebar/index.mjs +3 -1
- package/es/sidebar/types.d.ts +3 -0
- package/es/sidebar/types.mjs +0 -0
- package/es/sidebar-item/SidebarItem.d.ts +1 -1
- package/es/sidebar-item/SidebarItem.mjs +2 -1
- package/es/sidebar-item/index.css +1 -1
- package/es/sidebar-item/index.d.ts +2 -0
- package/es/sidebar-item/index.mjs +3 -1
- package/es/sidebar-item/types.d.ts +15 -0
- package/es/sidebar-item/types.mjs +0 -0
- package/es/skeleton/Skeleton.d.ts +1 -1
- package/es/skeleton/Skeleton.mjs +2 -1
- package/es/skeleton/index.css +1 -1
- package/es/skeleton/index.d.ts +2 -0
- package/es/skeleton/index.mjs +3 -1
- package/es/skeleton/types.d.ts +9 -0
- package/es/skeleton/types.mjs +0 -0
- package/es/slider/Slider.d.ts +1 -1
- package/es/slider/Slider.mjs +2 -1
- package/es/slider/index.css +1 -1
- package/es/slider/index.d.ts +2 -0
- package/es/slider/index.mjs +3 -1
- package/es/slider/types.d.ts +11 -0
- package/es/slider/types.mjs +0 -0
- package/es/space/Space.d.ts +1 -1
- package/es/space/Space.mjs +2 -1
- package/es/space/index.d.ts +1 -0
- package/es/space/index.mjs +3 -1
- package/es/step/index.css +1 -1
- package/es/step/index.d.ts +1 -0
- package/es/step/types.d.ts +13 -0
- package/es/step/types.mjs +0 -0
- package/es/stepper/Stepper.d.ts +1 -1
- package/es/stepper/Stepper.mjs +2 -1
- package/es/stepper/index.css +1 -1
- package/es/stepper/index.d.ts +2 -0
- package/es/stepper/index.mjs +3 -1
- package/es/stepper/types.d.ts +15 -0
- package/es/stepper/types.mjs +0 -0
- package/es/steps/Steps.d.ts +1 -1
- package/es/steps/Steps.mjs +2 -1
- package/es/steps/index.css +1 -1
- package/es/steps/index.d.ts +2 -0
- package/es/steps/index.mjs +3 -1
- package/es/steps/types.d.ts +3 -0
- package/es/steps/types.mjs +0 -0
- package/es/sticky/Sticky.d.ts +1 -1
- package/es/sticky/Sticky.mjs +2 -1
- package/es/sticky/index.css +1 -1
- package/es/sticky/index.d.ts +2 -0
- package/es/sticky/index.mjs +3 -1
- package/es/sticky/types.d.ts +3 -0
- package/es/sticky/types.mjs +0 -0
- package/es/style/base.css +1 -1
- package/es/style/css-variables.css +1 -1
- package/es/style/normalize.css +1 -1
- package/es/submit-bar/SubmitBar.d.ts +1 -1
- package/es/submit-bar/SubmitBar.mjs +2 -1
- package/es/submit-bar/index.css +1 -1
- package/es/submit-bar/index.d.ts +2 -0
- package/es/submit-bar/index.mjs +3 -1
- package/es/submit-bar/types.d.ts +21 -0
- package/es/submit-bar/types.mjs +0 -0
- package/es/swipe/Swipe.d.ts +1 -1
- package/es/swipe/Swipe.mjs +2 -1
- package/es/swipe/index.css +1 -1
- package/es/swipe/index.d.ts +2 -1
- package/es/swipe/index.mjs +3 -1
- package/es/swipe/types.d.ts +8 -0
- package/es/swipe-cell/SwipeCell.d.ts +1 -1
- package/es/swipe-cell/SwipeCell.mjs +2 -1
- package/es/swipe-cell/index.d.ts +1 -0
- package/es/swipe-cell/index.mjs +3 -1
- package/es/switch/Switch.d.ts +1 -1
- package/es/switch/Switch.mjs +2 -1
- package/es/switch/index.css +1 -1
- package/es/switch/index.d.ts +2 -0
- package/es/switch/index.mjs +3 -1
- package/es/switch/types.d.ts +12 -0
- package/es/switch/types.mjs +0 -0
- package/es/tab/Tab.d.ts +1 -1
- package/es/tab/Tab.mjs +2 -1
- package/es/tab/index.d.ts +1 -0
- package/es/tab/index.mjs +3 -1
- package/es/tabbar/Tabbar.d.ts +1 -1
- package/es/tabbar/Tabbar.mjs +2 -1
- package/es/tabbar/index.css +1 -1
- package/es/tabbar/index.d.ts +2 -0
- package/es/tabbar/index.mjs +3 -1
- package/es/tabbar/types.d.ts +5 -0
- package/es/tabbar/types.mjs +0 -0
- package/es/tabbar-item/TabbarItem.d.ts +1 -1
- package/es/tabbar-item/TabbarItem.mjs +2 -1
- package/es/tabbar-item/index.css +1 -1
- package/es/tabbar-item/index.d.ts +2 -0
- package/es/tabbar-item/index.mjs +3 -1
- package/es/tabbar-item/types.d.ts +9 -0
- package/es/tabbar-item/types.mjs +0 -0
- package/es/tabs/Tabs.d.ts +1 -1
- package/es/tabs/Tabs.mjs +2 -1
- package/es/tabs/index.css +1 -1
- package/es/tabs/index.d.ts +2 -1
- package/es/tabs/index.mjs +3 -1
- package/es/tabs/types.d.ts +14 -0
- package/es/tag/Tag.d.ts +2 -3
- package/es/tag/Tag.mjs +2 -1
- package/es/tag/index.css +1 -1
- package/es/tag/index.d.ts +10 -8
- package/es/tag/index.mjs +3 -1
- package/es/tag/types.d.ts +20 -0
- package/es/tag/types.mjs +0 -0
- package/es/time-picker/TimePicker.d.ts +1 -1
- package/es/time-picker/TimePicker.mjs +2 -1
- package/es/time-picker/index.d.ts +1 -0
- package/es/time-picker/index.mjs +3 -1
- package/es/toast/Toast.d.ts +1 -1
- package/es/toast/Toast.mjs +9 -2
- package/es/toast/index.css +1 -1
- package/es/toast/index.d.ts +7 -1
- package/es/toast/index.mjs +3 -1
- package/es/toast/types.d.ts +17 -0
- package/es/tree-select/TreeSelect.d.ts +1 -1
- package/es/tree-select/TreeSelect.mjs +2 -1
- package/es/tree-select/index.css +1 -1
- package/es/tree-select/index.d.ts +2 -0
- package/es/tree-select/index.mjs +3 -1
- package/es/tree-select/types.d.ts +10 -0
- package/es/tree-select/types.mjs +0 -0
- package/es/uploader/Uploader.d.ts +1 -1
- package/es/uploader/Uploader.mjs +2 -1
- package/es/uploader/index.css +1 -1
- package/es/uploader/index.d.ts +2 -1
- package/es/uploader/index.mjs +3 -1
- package/es/uploader/types.d.ts +27 -0
- package/es/utils/basic.mjs +2 -1
- package/lib/action-bar/ActionBar.d.ts +1 -1
- package/lib/action-bar/ActionBar.js +1 -0
- package/lib/action-bar/index.css +1 -1
- package/lib/action-bar/index.d.ts +2 -0
- package/lib/action-bar/index.js +2 -0
- package/lib/action-bar/types.d.ts +4 -0
- package/lib/action-bar/types.js +15 -0
- package/lib/action-bar-button/ActionBarButton.d.ts +1 -1
- package/lib/action-bar-button/ActionBarButton.js +1 -0
- package/lib/action-bar-button/index.css +1 -1
- package/lib/action-bar-button/index.d.ts +2 -0
- package/lib/action-bar-button/index.js +2 -0
- package/lib/action-bar-button/types.d.ts +5 -0
- package/lib/action-bar-button/types.js +15 -0
- package/lib/action-bar-icon/ActionBarIcon.d.ts +1 -1
- package/lib/action-bar-icon/ActionBarIcon.js +1 -0
- package/lib/action-bar-icon/index.css +1 -1
- package/lib/action-bar-icon/index.d.ts +2 -0
- package/lib/action-bar-icon/index.js +2 -0
- package/lib/action-bar-icon/types.d.ts +10 -0
- package/lib/action-bar-icon/types.js +15 -0
- package/lib/action-sheet/ActionSheet.d.ts +1 -1
- package/lib/action-sheet/ActionSheet.js +1 -0
- package/lib/action-sheet/index.css +1 -1
- package/lib/action-sheet/index.d.ts +2 -0
- package/lib/action-sheet/index.js +2 -0
- package/lib/action-sheet/types.d.ts +23 -0
- package/lib/action-sheet/types.js +15 -0
- package/lib/address-edit/AddressEdit.d.ts +1 -1
- package/lib/address-edit/AddressEdit.js +1 -0
- package/lib/address-edit/index.css +1 -1
- package/lib/address-edit/index.d.ts +2 -1
- package/lib/address-edit/index.js +2 -0
- package/lib/address-edit/types.d.ts +6 -0
- package/lib/address-list/AddressList.d.ts +1 -1
- package/lib/address-list/AddressList.js +1 -0
- package/lib/address-list/index.css +1 -1
- package/lib/address-list/index.d.ts +2 -0
- package/lib/address-list/index.js +2 -0
- package/lib/address-list/types.d.ts +15 -0
- package/lib/address-list/types.js +15 -0
- package/lib/area/Area.d.ts +1 -1
- package/lib/area/Area.js +1 -0
- package/lib/area/index.d.ts +1 -0
- package/lib/area/index.js +2 -0
- package/lib/badge/Badge.d.ts +1 -1
- package/lib/badge/Badge.js +1 -0
- package/lib/badge/index.css +1 -1
- package/lib/badge/index.d.ts +2 -0
- package/lib/badge/index.js +2 -0
- package/lib/badge/types.d.ts +12 -0
- package/lib/badge/types.js +15 -0
- package/lib/button/Button.d.ts +1 -1
- package/lib/button/Button.js +1 -0
- package/lib/button/index.css +1 -1
- package/lib/button/index.d.ts +2 -1
- package/lib/button/index.js +2 -0
- package/lib/button/types.d.ts +36 -0
- package/lib/calendar/Calendar.d.ts +1 -1
- package/lib/calendar/Calendar.js +1 -0
- package/lib/calendar/index.css +1 -1
- package/lib/calendar/index.d.ts +2 -1
- package/lib/calendar/index.js +2 -0
- package/lib/calendar/types.d.ts +28 -0
- package/lib/card/Card.d.ts +1 -1
- package/lib/card/Card.js +1 -0
- package/lib/card/index.css +1 -1
- package/lib/card/index.d.ts +2 -0
- package/lib/card/index.js +2 -0
- package/lib/card/types.d.ts +18 -0
- package/lib/card/types.js +15 -0
- package/lib/cascader/Cascader.d.ts +1 -1
- package/lib/cascader/Cascader.js +1 -0
- package/lib/cascader/index.css +1 -1
- package/lib/cascader/index.d.ts +2 -1
- package/lib/cascader/index.js +2 -0
- package/lib/cascader/types.d.ts +15 -0
- package/lib/cell/Cell.d.ts +1 -1
- package/lib/cell/Cell.js +1 -0
- package/lib/cell/index.css +1 -1
- package/lib/cell/index.d.ts +2 -0
- package/lib/cell/index.js +2 -0
- package/lib/cell/types.d.ts +21 -0
- package/lib/cell/types.js +15 -0
- package/lib/cell-group/CellGroup.d.ts +1 -1
- package/lib/cell-group/CellGroup.js +1 -0
- package/lib/cell-group/index.css +1 -1
- package/lib/cell-group/index.d.ts +2 -0
- package/lib/cell-group/index.js +2 -0
- package/lib/cell-group/types.d.ts +10 -0
- package/lib/cell-group/types.js +15 -0
- package/lib/checkbox/Checkbox.d.ts +1 -1
- package/lib/checkbox/Checkbox.js +1 -0
- package/lib/checkbox/index.css +1 -1
- package/lib/checkbox/index.d.ts +2 -1
- package/lib/checkbox/index.js +2 -0
- package/lib/checkbox/types.d.ts +11 -0
- package/lib/checkbox-group/CheckboxGroup.d.ts +1 -1
- package/lib/checkbox-group/CheckboxGroup.js +1 -0
- package/lib/checkbox-group/index.d.ts +1 -0
- package/lib/checkbox-group/index.js +2 -0
- package/lib/circle/Circle.d.ts +1 -1
- package/lib/circle/Circle.js +1 -0
- package/lib/circle/index.css +1 -1
- package/lib/circle/index.d.ts +2 -0
- package/lib/circle/index.js +2 -0
- package/lib/circle/types.d.ts +9 -0
- package/lib/circle/types.js +15 -0
- package/lib/col/Col.d.ts +1 -1
- package/lib/col/Col.js +1 -0
- package/lib/col/index.d.ts +1 -0
- package/lib/col/index.js +2 -0
- package/lib/collapse/Collapse.d.ts +1 -1
- package/lib/collapse/Collapse.js +1 -0
- package/lib/collapse/index.d.ts +1 -0
- package/lib/collapse/index.js +2 -0
- package/lib/collapse-item/CollapseItem.d.ts +1 -1
- package/lib/collapse-item/CollapseItem.js +1 -0
- package/lib/collapse-item/index.css +1 -1
- package/lib/collapse-item/index.d.ts +2 -1
- package/lib/collapse-item/index.js +2 -0
- package/lib/collapse-item/types.d.ts +9 -0
- package/lib/config-provider/ConfigProvider.d.ts +1 -1
- package/lib/config-provider/ConfigProvider.js +3 -2
- package/lib/config-provider/index.d.ts +2 -0
- package/lib/config-provider/index.js +2 -0
- package/lib/config-provider/types.d.ts +1 -0
- package/lib/config-provider/types.js +15 -0
- package/lib/contact-card/ContactCard.d.ts +1 -1
- package/lib/contact-card/ContactCard.js +1 -0
- package/lib/contact-card/index.css +1 -1
- package/lib/contact-card/index.d.ts +2 -0
- package/lib/contact-card/index.js +2 -0
- package/lib/contact-card/types.d.ts +6 -0
- package/lib/contact-card/types.js +15 -0
- package/lib/contact-edit/ContactEdit.d.ts +1 -1
- package/lib/contact-edit/ContactEdit.js +1 -0
- package/lib/contact-edit/index.css +1 -1
- package/lib/contact-edit/index.d.ts +2 -0
- package/lib/contact-edit/index.js +2 -0
- package/lib/contact-edit/types.d.ts +8 -0
- package/lib/contact-edit/types.js +15 -0
- package/lib/contact-list/ContactList.d.ts +1 -1
- package/lib/contact-list/ContactList.js +1 -0
- package/lib/contact-list/index.css +1 -1
- package/lib/contact-list/index.d.ts +2 -0
- package/lib/contact-list/index.js +2 -0
- package/lib/contact-list/types.d.ts +6 -0
- package/lib/contact-list/types.js +15 -0
- package/lib/count-down/CountDown.d.ts +1 -1
- package/lib/count-down/CountDown.js +1 -0
- package/lib/count-down/index.css +1 -1
- package/lib/count-down/index.d.ts +2 -1
- package/lib/count-down/index.js +2 -0
- package/lib/count-down/types.d.ts +5 -0
- package/lib/coupon/index.css +1 -1
- package/lib/coupon/index.d.ts +1 -0
- package/lib/coupon/types.d.ts +19 -0
- package/lib/coupon/types.js +15 -0
- package/lib/coupon-cell/CouponCell.d.ts +1 -1
- package/lib/coupon-cell/CouponCell.js +1 -0
- package/lib/coupon-cell/index.css +1 -1
- package/lib/coupon-cell/index.d.ts +2 -0
- package/lib/coupon-cell/index.js +2 -0
- package/lib/coupon-cell/types.d.ts +3 -0
- package/lib/coupon-cell/types.js +15 -0
- package/lib/coupon-list/CouponList.d.ts +1 -1
- package/lib/coupon-list/CouponList.js +1 -0
- package/lib/coupon-list/index.css +1 -1
- package/lib/coupon-list/index.d.ts +2 -0
- package/lib/coupon-list/index.js +2 -0
- package/lib/coupon-list/types.d.ts +9 -0
- package/lib/coupon-list/types.js +15 -0
- package/lib/date-picker/DatePicker.d.ts +1 -1
- package/lib/date-picker/DatePicker.js +1 -0
- package/lib/date-picker/index.d.ts +1 -0
- package/lib/date-picker/index.js +2 -0
- package/lib/dialog/Dialog.d.ts +1 -1
- package/lib/dialog/Dialog.js +2 -1
- package/lib/dialog/index.css +1 -1
- package/lib/dialog/index.d.ts +2 -1
- package/lib/dialog/index.js +2 -0
- package/lib/dialog/types.d.ts +22 -1
- package/lib/divider/Divider.d.ts +1 -1
- package/lib/divider/Divider.js +2 -1
- package/lib/divider/index.css +1 -1
- package/lib/divider/index.d.ts +2 -0
- package/lib/divider/index.js +3 -1
- package/lib/divider/types.d.ts +10 -0
- package/lib/divider/types.js +15 -0
- package/lib/dropdown-item/DropdownItem.d.ts +1 -1
- package/lib/dropdown-item/DropdownItem.js +2 -1
- package/lib/dropdown-item/index.css +1 -1
- package/lib/dropdown-item/index.d.ts +2 -1
- package/lib/dropdown-item/index.js +3 -1
- package/lib/dropdown-item/types.d.ts +3 -0
- package/lib/dropdown-menu/DropdownMenu.d.ts +1 -1
- package/lib/dropdown-menu/DropdownMenu.js +2 -1
- package/lib/dropdown-menu/index.css +1 -1
- package/lib/dropdown-menu/index.d.ts +2 -1
- package/lib/dropdown-menu/index.js +3 -1
- package/lib/dropdown-menu/types.d.ts +13 -0
- package/lib/empty/Empty.d.ts +1 -1
- package/lib/empty/Empty.js +2 -1
- package/lib/empty/index.css +1 -1
- package/lib/empty/index.d.ts +2 -0
- package/lib/empty/index.js +3 -1
- package/lib/empty/types.d.ts +10 -0
- package/lib/empty/types.js +15 -0
- package/lib/field/Field.d.ts +1 -1
- package/lib/field/Field.js +1 -0
- package/lib/field/index.css +1 -1
- package/lib/field/index.d.ts +2 -1
- package/lib/field/index.js +3 -1
- package/lib/field/types.d.ts +21 -0
- package/lib/form/Form.d.ts +1 -1
- package/lib/form/Form.js +2 -1
- package/lib/form/index.d.ts +1 -0
- package/lib/form/index.js +3 -1
- package/lib/grid/Grid.d.ts +1 -1
- package/lib/grid/Grid.js +2 -1
- package/lib/grid/index.d.ts +1 -0
- package/lib/grid/index.js +3 -1
- package/lib/grid-item/GridItem.d.ts +1 -1
- package/lib/grid-item/GridItem.js +2 -1
- package/lib/grid-item/index.css +1 -1
- package/lib/grid-item/index.d.ts +2 -0
- package/lib/grid-item/index.js +3 -1
- package/lib/grid-item/types.d.ts +8 -0
- package/lib/grid-item/types.js +15 -0
- package/lib/icon/Icon.d.ts +1 -1
- package/lib/icon/Icon.js +2 -1
- package/lib/icon/index.d.ts +1 -0
- package/lib/icon/index.js +3 -1
- package/lib/image/Image.d.ts +5 -1
- package/lib/image/Image.js +5 -2
- package/lib/image/index.css +1 -1
- package/lib/image/index.d.ts +5 -0
- package/lib/image/index.js +3 -1
- package/lib/image/types.d.ts +9 -0
- package/lib/image/types.js +15 -0
- package/lib/image-preview/ImagePreview.d.ts +1 -1
- package/lib/image-preview/ImagePreview.js +2 -1
- package/lib/image-preview/index.css +1 -1
- package/lib/image-preview/index.d.ts +3 -2
- package/lib/image-preview/index.js +2 -0
- package/lib/image-preview/types.d.ts +11 -0
- package/lib/index-anchor/IndexAnchor.d.ts +1 -1
- package/lib/index-anchor/IndexAnchor.js +2 -1
- package/lib/index-anchor/index.css +1 -1
- package/lib/index-anchor/index.d.ts +2 -0
- package/lib/index-anchor/index.js +3 -1
- package/lib/index-anchor/types.d.ts +11 -0
- package/lib/index-anchor/types.js +15 -0
- package/lib/index-bar/IndexBar.d.ts +1 -1
- package/lib/index-bar/IndexBar.js +2 -1
- package/lib/index-bar/index.css +1 -1
- package/lib/index-bar/index.d.ts +2 -1
- package/lib/index-bar/index.js +3 -1
- package/lib/index-bar/types.d.ts +6 -0
- package/lib/index.css +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +1 -1
- package/lib/list/List.d.ts +1 -1
- package/lib/list/List.js +2 -1
- package/lib/list/index.css +1 -1
- package/lib/list/index.d.ts +2 -1
- package/lib/list/index.js +3 -1
- package/lib/list/types.d.ts +6 -0
- package/lib/loading/Loading.d.ts +1 -1
- package/lib/loading/Loading.js +2 -1
- package/lib/loading/index.css +1 -1
- package/lib/loading/index.d.ts +2 -0
- package/lib/loading/index.js +3 -1
- package/lib/loading/types.d.ts +7 -0
- package/lib/loading/types.js +15 -0
- package/lib/nav-bar/NavBar.d.ts +1 -1
- package/lib/nav-bar/NavBar.js +2 -1
- package/lib/nav-bar/index.css +1 -1
- package/lib/nav-bar/index.d.ts +2 -0
- package/lib/nav-bar/index.js +3 -1
- package/lib/nav-bar/types.d.ts +10 -0
- package/lib/nav-bar/types.js +15 -0
- package/lib/notice-bar/NoticeBar.d.ts +1 -1
- package/lib/notice-bar/NoticeBar.js +2 -1
- package/lib/notice-bar/index.css +1 -1
- package/lib/notice-bar/index.d.ts +2 -1
- package/lib/notice-bar/index.js +3 -1
- package/lib/notice-bar/types.d.ts +11 -0
- package/lib/notify/Notify.d.ts +1 -1
- package/lib/notify/Notify.js +3 -1
- package/lib/notify/index.css +1 -1
- package/lib/notify/index.d.ts +3 -2
- package/lib/notify/index.js +2 -0
- package/lib/notify/types.d.ts +10 -0
- package/lib/number-keyboard/NumberKeyboard.d.ts +1 -1
- package/lib/number-keyboard/NumberKeyboard.js +2 -1
- package/lib/number-keyboard/index.css +1 -1
- package/lib/number-keyboard/index.d.ts +2 -0
- package/lib/number-keyboard/index.js +3 -1
- package/lib/number-keyboard/types.d.ts +17 -0
- package/lib/number-keyboard/types.js +15 -0
- package/lib/overlay/Overlay.d.ts +1 -1
- package/lib/overlay/Overlay.js +2 -1
- package/lib/overlay/index.css +1 -1
- package/lib/overlay/index.d.ts +2 -0
- package/lib/overlay/index.js +3 -1
- package/lib/overlay/types.d.ts +4 -0
- package/lib/overlay/types.js +15 -0
- package/lib/pagination/Pagination.d.ts +1 -1
- package/lib/pagination/Pagination.js +2 -1
- package/lib/pagination/index.css +1 -1
- package/lib/pagination/index.d.ts +2 -0
- package/lib/pagination/index.js +3 -1
- package/lib/pagination/types.d.ts +11 -0
- package/lib/pagination/types.js +15 -0
- package/lib/password-input/PasswordInput.d.ts +1 -1
- package/lib/password-input/PasswordInput.js +2 -1
- package/lib/password-input/index.css +1 -1
- package/lib/password-input/index.d.ts +2 -0
- package/lib/password-input/index.js +3 -1
- package/lib/password-input/types.d.ts +17 -0
- package/lib/password-input/types.js +15 -0
- package/lib/picker/Picker.d.ts +1 -1
- package/lib/picker/Picker.js +5 -2
- package/lib/picker/index.css +1 -1
- package/lib/picker/index.d.ts +2 -1
- package/lib/picker/index.js +3 -1
- package/lib/picker/types.d.ts +17 -0
- package/lib/picker-group/index.css +1 -1
- package/lib/picker-group/index.d.ts +2 -0
- package/lib/picker-group/index.js +3 -1
- package/lib/picker-group/types.d.ts +3 -0
- package/lib/picker-group/types.js +15 -0
- package/lib/popover/Popover.d.ts +1 -1
- package/lib/popover/Popover.js +2 -1
- package/lib/popover/index.css +1 -1
- package/lib/popover/index.d.ts +2 -1
- package/lib/popover/index.js +3 -1
- package/lib/popover/types.d.ts +15 -0
- package/lib/popup/Popup.d.ts +1 -1
- package/lib/popup/Popup.js +2 -1
- package/lib/popup/index.css +1 -1
- package/lib/popup/index.d.ts +2 -1
- package/lib/popup/index.js +3 -1
- package/lib/popup/types.d.ts +9 -0
- package/lib/progress/Progress.d.ts +1 -1
- package/lib/progress/Progress.js +2 -1
- package/lib/progress/index.css +1 -1
- package/lib/progress/index.d.ts +2 -1
- package/lib/progress/index.js +3 -1
- package/lib/progress/types.d.ts +11 -0
- package/lib/pull-refresh/PullRefresh.d.ts +1 -1
- package/lib/pull-refresh/PullRefresh.js +2 -1
- package/lib/pull-refresh/index.css +1 -1
- package/lib/pull-refresh/index.d.ts +2 -0
- package/lib/pull-refresh/index.js +3 -1
- package/lib/pull-refresh/types.d.ts +6 -0
- package/lib/pull-refresh/types.js +15 -0
- package/lib/radio/Radio.d.ts +15 -2
- package/lib/radio/Radio.js +3 -1
- package/lib/radio/index.css +1 -1
- package/lib/radio/index.d.ts +2 -0
- package/lib/radio/index.js +3 -1
- package/lib/radio/types.d.ts +11 -0
- package/lib/radio/types.js +15 -0
- package/lib/radio-group/RadioGroup.d.ts +1 -1
- package/lib/radio-group/RadioGroup.js +2 -1
- package/lib/radio-group/index.d.ts +1 -0
- package/lib/radio-group/index.js +3 -1
- package/lib/rate/Rate.d.ts +1 -1
- package/lib/rate/Rate.js +2 -1
- package/lib/rate/index.css +1 -1
- package/lib/rate/index.d.ts +2 -0
- package/lib/rate/index.js +3 -1
- package/lib/rate/types.d.ts +7 -0
- package/lib/rate/types.js +15 -0
- package/lib/row/Row.d.ts +1 -1
- package/lib/row/Row.js +2 -1
- package/lib/row/index.d.ts +1 -0
- package/lib/row/index.js +3 -1
- package/lib/search/Search.d.ts +1 -1
- package/lib/search/Search.js +2 -1
- package/lib/search/index.css +1 -1
- package/lib/search/index.d.ts +2 -1
- package/lib/search/index.js +3 -1
- package/lib/search/types.d.ts +13 -0
- package/lib/share-sheet/ShareSheet.d.ts +1 -1
- package/lib/share-sheet/ShareSheet.js +2 -1
- package/lib/share-sheet/index.css +1 -1
- package/lib/share-sheet/index.d.ts +2 -0
- package/lib/share-sheet/index.js +3 -1
- package/lib/share-sheet/types.d.ts +17 -0
- package/lib/share-sheet/types.js +15 -0
- package/lib/sidebar/Sidebar.d.ts +1 -1
- package/lib/sidebar/Sidebar.js +2 -1
- package/lib/sidebar/index.css +1 -1
- package/lib/sidebar/index.d.ts +2 -0
- package/lib/sidebar/index.js +3 -1
- package/lib/sidebar/types.d.ts +3 -0
- package/lib/sidebar/types.js +15 -0
- package/lib/sidebar-item/SidebarItem.d.ts +1 -1
- package/lib/sidebar-item/SidebarItem.js +2 -1
- package/lib/sidebar-item/index.css +1 -1
- package/lib/sidebar-item/index.d.ts +2 -0
- package/lib/sidebar-item/index.js +3 -1
- package/lib/sidebar-item/types.d.ts +15 -0
- package/lib/sidebar-item/types.js +15 -0
- package/lib/skeleton/Skeleton.d.ts +1 -1
- package/lib/skeleton/Skeleton.js +2 -1
- package/lib/skeleton/index.css +1 -1
- package/lib/skeleton/index.d.ts +2 -0
- package/lib/skeleton/index.js +3 -1
- package/lib/skeleton/types.d.ts +9 -0
- package/lib/skeleton/types.js +15 -0
- package/lib/slider/Slider.d.ts +1 -1
- package/lib/slider/Slider.js +2 -1
- package/lib/slider/index.css +1 -1
- package/lib/slider/index.d.ts +2 -0
- package/lib/slider/index.js +3 -1
- package/lib/slider/types.d.ts +11 -0
- package/lib/slider/types.js +15 -0
- package/lib/space/Space.d.ts +1 -1
- package/lib/space/Space.js +2 -1
- package/lib/space/index.d.ts +1 -0
- package/lib/space/index.js +3 -1
- package/lib/step/index.css +1 -1
- package/lib/step/index.d.ts +1 -0
- package/lib/step/types.d.ts +13 -0
- package/lib/step/types.js +15 -0
- package/lib/stepper/Stepper.d.ts +1 -1
- package/lib/stepper/Stepper.js +2 -1
- package/lib/stepper/index.css +1 -1
- package/lib/stepper/index.d.ts +2 -0
- package/lib/stepper/index.js +3 -1
- package/lib/stepper/types.d.ts +15 -0
- package/lib/stepper/types.js +15 -0
- package/lib/steps/Steps.d.ts +1 -1
- package/lib/steps/Steps.js +2 -1
- package/lib/steps/index.css +1 -1
- package/lib/steps/index.d.ts +2 -0
- package/lib/steps/index.js +3 -1
- package/lib/steps/types.d.ts +3 -0
- package/lib/steps/types.js +15 -0
- package/lib/sticky/Sticky.d.ts +1 -1
- package/lib/sticky/Sticky.js +2 -1
- package/lib/sticky/index.css +1 -1
- package/lib/sticky/index.d.ts +2 -0
- package/lib/sticky/index.js +3 -1
- package/lib/sticky/types.d.ts +3 -0
- package/lib/sticky/types.js +15 -0
- package/lib/style/base.css +1 -1
- package/lib/style/css-variables.css +1 -1
- package/lib/style/normalize.css +1 -1
- package/lib/submit-bar/SubmitBar.d.ts +1 -1
- package/lib/submit-bar/SubmitBar.js +2 -1
- package/lib/submit-bar/index.css +1 -1
- package/lib/submit-bar/index.d.ts +2 -0
- package/lib/submit-bar/index.js +3 -1
- package/lib/submit-bar/types.d.ts +21 -0
- package/lib/submit-bar/types.js +15 -0
- package/lib/swipe/Swipe.d.ts +1 -1
- package/lib/swipe/Swipe.js +2 -1
- package/lib/swipe/index.css +1 -1
- package/lib/swipe/index.d.ts +2 -1
- package/lib/swipe/index.js +3 -1
- package/lib/swipe/types.d.ts +8 -0
- package/lib/swipe-cell/SwipeCell.d.ts +1 -1
- package/lib/swipe-cell/SwipeCell.js +2 -1
- package/lib/swipe-cell/index.d.ts +1 -0
- package/lib/swipe-cell/index.js +3 -1
- package/lib/switch/Switch.d.ts +1 -1
- package/lib/switch/Switch.js +2 -1
- package/lib/switch/index.css +1 -1
- package/lib/switch/index.d.ts +2 -0
- package/lib/switch/index.js +3 -1
- package/lib/switch/types.d.ts +12 -0
- package/lib/switch/types.js +15 -0
- package/lib/tab/Tab.d.ts +1 -1
- package/lib/tab/Tab.js +2 -1
- package/lib/tab/index.d.ts +1 -0
- package/lib/tab/index.js +3 -1
- package/lib/tabbar/Tabbar.d.ts +1 -1
- package/lib/tabbar/Tabbar.js +2 -1
- package/lib/tabbar/index.css +1 -1
- package/lib/tabbar/index.d.ts +2 -0
- package/lib/tabbar/index.js +3 -1
- package/lib/tabbar/types.d.ts +5 -0
- package/lib/tabbar/types.js +15 -0
- package/lib/tabbar-item/TabbarItem.d.ts +1 -1
- package/lib/tabbar-item/TabbarItem.js +2 -1
- package/lib/tabbar-item/index.css +1 -1
- package/lib/tabbar-item/index.d.ts +2 -0
- package/lib/tabbar-item/index.js +3 -1
- package/lib/tabbar-item/types.d.ts +9 -0
- package/lib/tabbar-item/types.js +15 -0
- package/lib/tabs/Tabs.d.ts +1 -1
- package/lib/tabs/Tabs.js +2 -1
- package/lib/tabs/index.css +1 -1
- package/lib/tabs/index.d.ts +2 -1
- package/lib/tabs/index.js +3 -1
- package/lib/tabs/types.d.ts +14 -0
- package/lib/tag/Tag.d.ts +2 -3
- package/lib/tag/Tag.js +2 -1
- package/lib/tag/index.css +1 -1
- package/lib/tag/index.d.ts +10 -8
- package/lib/tag/index.js +3 -1
- package/lib/tag/types.d.ts +20 -0
- package/lib/tag/types.js +15 -0
- package/lib/time-picker/TimePicker.d.ts +1 -1
- package/lib/time-picker/TimePicker.js +2 -1
- package/lib/time-picker/index.d.ts +1 -0
- package/lib/time-picker/index.js +3 -1
- package/lib/toast/Toast.d.ts +1 -1
- package/lib/toast/Toast.js +9 -2
- package/lib/toast/index.css +1 -1
- package/lib/toast/index.d.ts +7 -1
- package/lib/toast/index.js +3 -1
- package/lib/toast/types.d.ts +17 -0
- package/lib/tree-select/TreeSelect.d.ts +1 -1
- package/lib/tree-select/TreeSelect.js +2 -1
- package/lib/tree-select/index.css +1 -1
- package/lib/tree-select/index.d.ts +2 -0
- package/lib/tree-select/index.js +3 -1
- package/lib/tree-select/types.d.ts +10 -0
- package/lib/tree-select/types.js +15 -0
- package/lib/uploader/Uploader.d.ts +1 -1
- package/lib/uploader/Uploader.js +2 -1
- package/lib/uploader/index.css +1 -1
- package/lib/uploader/index.d.ts +2 -1
- package/lib/uploader/index.js +3 -1
- package/lib/uploader/types.d.ts +27 -0
- package/lib/utils/basic.js +2 -1
- package/lib/vant.cjs.js +115 -19
- package/lib/vant.es.js +115 -19
- package/lib/vant.js +115 -19
- package/lib/vant.min.js +1 -1
- package/lib/web-types.json +242 -181
- package/package.json +3 -3
package/es/tabs/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Tabs from "./Tabs.mjs";
|
3
3
|
const Tabs = withInstall(_Tabs);
|
4
4
|
var stdin_default = Tabs;
|
5
|
+
import { tabsProps } from "./Tabs.mjs";
|
5
6
|
export {
|
6
7
|
Tabs,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
tabsProps
|
8
10
|
};
|
package/es/tabs/types.d.ts
CHANGED
@@ -21,3 +21,17 @@ export declare type TabsExpose = {
|
|
21
21
|
scrollTo: (name: Numeric) => void;
|
22
22
|
};
|
23
23
|
export declare type TabsInstance = ComponentPublicInstance<TabsProps, TabsExpose>;
|
24
|
+
export declare type TabsThemeVars = {
|
25
|
+
tabTextColor?: string;
|
26
|
+
tabActiveTextColor?: string;
|
27
|
+
tabDisabledTextColor?: string;
|
28
|
+
tabFontSize?: string;
|
29
|
+
tabLineHeight?: number | string;
|
30
|
+
tabsDefaultColor?: string;
|
31
|
+
tabsLineHeight?: number | string;
|
32
|
+
tabsCardHeight?: string;
|
33
|
+
tabsNavBackground?: string;
|
34
|
+
tabsBottomBarWidth?: string;
|
35
|
+
tabsBottomBarHeight?: string;
|
36
|
+
tabsBottomBarColor?: string;
|
37
|
+
};
|
package/es/tag/Tag.d.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
|
-
|
3
|
-
export declare
|
4
|
-
declare const tagProps: {
|
2
|
+
import type { TagType, TagSize } from './types';
|
3
|
+
export declare const tagProps: {
|
5
4
|
size: PropType<TagSize>;
|
6
5
|
mark: BooleanConstructor;
|
7
6
|
show: {
|
package/es/tag/Tag.mjs
CHANGED
package/es/tag/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-tag-padding: 0 var(--van-padding-base);--van-tag-text-color: var(--van-white);--van-tag-font-size: var(--van-font-size-sm);--van-tag-radius: 2px;--van-tag-line-height: 16px;--van-tag-medium-padding: 2px 6px;--van-tag-large-padding: var(--van-padding-base) var(--van-padding-xs);--van-tag-large-radius: var(--van-radius-md);--van-tag-large-font-size: var(--van-font-size-md);--van-tag-round-radius: var(--van-radius-max);--van-tag-danger-color: var(--van-danger-color);--van-tag-primary-color: var(--van-primary-color);--van-tag-success-color: var(--van-success-color);--van-tag-warning-color: var(--van-warning-color);--van-tag-default-color: var(--van-gray-6);--van-tag-plain-background: var(--van-background-2)}.van-tag{position:relative;display:inline-flex;align-items:center;padding:var(--van-tag-padding);color:var(--van-tag-text-color);font-size:var(--van-tag-font-size);line-height:var(--van-tag-line-height);border-radius:var(--van-tag-radius)}.van-tag--default{background:var(--van-tag-default-color)}.van-tag--default.van-tag--plain{color:var(--van-tag-default-color)}.van-tag--danger{background:var(--van-tag-danger-color)}.van-tag--danger.van-tag--plain{color:var(--van-tag-danger-color)}.van-tag--primary{background:var(--van-tag-primary-color)}.van-tag--primary.van-tag--plain{color:var(--van-tag-primary-color)}.van-tag--success{background:var(--van-tag-success-color)}.van-tag--success.van-tag--plain{color:var(--van-tag-success-color)}.van-tag--warning{background:var(--van-tag-warning-color)}.van-tag--warning.van-tag--plain{color:var(--van-tag-warning-color)}.van-tag--plain{background:var(--van-tag-plain-background);border-color:currentColor}.van-tag--plain:before{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid;border-color:inherit;border-radius:inherit;content:"";pointer-events:none}.van-tag--medium{padding:var(--van-tag-medium-padding)}.van-tag--large{padding:var(--van-tag-large-padding);font-size:var(--van-tag-large-font-size);border-radius:var(--van-tag-large-radius)}.van-tag--mark{border-radius:0 var(--van-tag-round-radius) var(--van-tag-round-radius) 0}.van-tag--mark:after{display:block;width:2px;content:""}.van-tag--round{border-radius:var(--van-tag-round-radius)}.van-tag__close{margin-left:2px}
|
package/es/tag/index.d.ts
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
export declare const Tag: import("../utils").WithInstall<import("vue").DefineComponent<{
|
2
|
-
size: import("vue").PropType<import("./
|
2
|
+
size: import("vue").PropType<import("./types").TagSize>;
|
3
3
|
mark: BooleanConstructor;
|
4
4
|
show: {
|
5
5
|
type: BooleanConstructor;
|
6
6
|
default: true;
|
7
7
|
};
|
8
8
|
type: {
|
9
|
-
type: import("vue").PropType<import("./
|
10
|
-
default: import("./
|
9
|
+
type: import("vue").PropType<import("./types").TagType>;
|
10
|
+
default: import("./types").TagType;
|
11
11
|
};
|
12
12
|
color: StringConstructor;
|
13
13
|
plain: BooleanConstructor;
|
@@ -15,15 +15,15 @@ export declare const Tag: import("../utils").WithInstall<import("vue").DefineCom
|
|
15
15
|
textColor: StringConstructor;
|
16
16
|
closeable: BooleanConstructor;
|
17
17
|
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
18
|
-
size: import("vue").PropType<import("./
|
18
|
+
size: import("vue").PropType<import("./types").TagSize>;
|
19
19
|
mark: BooleanConstructor;
|
20
20
|
show: {
|
21
21
|
type: BooleanConstructor;
|
22
22
|
default: true;
|
23
23
|
};
|
24
24
|
type: {
|
25
|
-
type: import("vue").PropType<import("./
|
26
|
-
default: import("./
|
25
|
+
type: import("vue").PropType<import("./types").TagType>;
|
26
|
+
default: import("./types").TagType;
|
27
27
|
};
|
28
28
|
color: StringConstructor;
|
29
29
|
plain: BooleanConstructor;
|
@@ -33,7 +33,7 @@ export declare const Tag: import("../utils").WithInstall<import("vue").DefineCom
|
|
33
33
|
}>> & {
|
34
34
|
onClose?: ((...args: any[]) => any) | undefined;
|
35
35
|
}, {
|
36
|
-
type: import("./
|
36
|
+
type: import("./types").TagType;
|
37
37
|
mark: boolean;
|
38
38
|
round: boolean;
|
39
39
|
show: boolean;
|
@@ -41,7 +41,9 @@ export declare const Tag: import("../utils").WithInstall<import("vue").DefineCom
|
|
41
41
|
closeable: boolean;
|
42
42
|
}>>;
|
43
43
|
export default Tag;
|
44
|
-
export
|
44
|
+
export { tagProps } from './Tag';
|
45
|
+
export type { TagProps } from './Tag';
|
46
|
+
export type { TagSize, TagType, TagThemeVars } from './types';
|
45
47
|
declare module 'vue' {
|
46
48
|
interface GlobalComponents {
|
47
49
|
VanTag: typeof Tag;
|
package/es/tag/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Tag from "./Tag.mjs";
|
3
3
|
const Tag = withInstall(_Tag);
|
4
4
|
var stdin_default = Tag;
|
5
|
+
import { tagProps } from "./Tag.mjs";
|
5
6
|
export {
|
6
7
|
Tag,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
tagProps
|
8
10
|
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export declare type TagSize = 'large' | 'medium';
|
2
|
+
export declare type TagType = 'default' | 'primary' | 'success' | 'warning' | 'danger';
|
3
|
+
export declare type TagThemeVars = {
|
4
|
+
tagPadding?: string;
|
5
|
+
tagTextColor?: string;
|
6
|
+
tagFontSize?: string;
|
7
|
+
tagRadius?: string;
|
8
|
+
tagLineHeight?: number | string;
|
9
|
+
tagMediumPadding?: string;
|
10
|
+
tagLargePadding?: string;
|
11
|
+
tagLargeRadius?: string;
|
12
|
+
tagLargeFontSize?: string;
|
13
|
+
tagRoundRadius?: string;
|
14
|
+
tagDangerColor?: string;
|
15
|
+
tagPrimaryColor?: string;
|
16
|
+
tagSuccessColor?: string;
|
17
|
+
tagWarningColor?: string;
|
18
|
+
tagDefaultColor?: string;
|
19
|
+
tagPlainBackground?: string;
|
20
|
+
};
|
package/es/tag/types.mjs
ADDED
File without changes
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
export declare type TimePickerColumnType = 'hour' | 'minute' | 'second';
|
3
|
-
declare const timePickerProps: {
|
3
|
+
export declare const timePickerProps: {
|
4
4
|
loading: BooleanConstructor;
|
5
5
|
readonly: BooleanConstructor;
|
6
6
|
allowHtml: BooleanConstructor;
|
@@ -149,6 +149,7 @@ export declare const TimePicker: import("../utils").WithInstall<import("vue").De
|
|
149
149
|
maxSecond: string | number;
|
150
150
|
}>>;
|
151
151
|
export default TimePicker;
|
152
|
+
export { timePickerProps } from './TimePicker';
|
152
153
|
export type { TimePickerProps };
|
153
154
|
export type { TimePickerColumnType } from './TimePicker';
|
154
155
|
declare module 'vue' {
|
package/es/time-picker/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _TimePicker from "./TimePicker.mjs";
|
3
3
|
const TimePicker = withInstall(_TimePicker);
|
4
4
|
var stdin_default = TimePicker;
|
5
|
+
import { timePickerProps } from "./TimePicker.mjs";
|
5
6
|
export {
|
6
7
|
TimePicker,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
timePickerProps
|
8
10
|
};
|
package/es/toast/Toast.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { type PropType, type CSSProperties, type ExtractPropTypes } from 'vue';
|
2
2
|
import { LoadingType } from '../loading';
|
3
3
|
import type { ToastType, ToastPosition } from './types';
|
4
|
-
declare const toastProps: {
|
4
|
+
export declare const toastProps: {
|
5
5
|
icon: StringConstructor;
|
6
6
|
show: BooleanConstructor;
|
7
7
|
type: {
|
package/es/toast/Toast.mjs
CHANGED
@@ -32,7 +32,8 @@ var stdin_default = defineComponent({
|
|
32
32
|
props: toastProps,
|
33
33
|
emits: ["update:show"],
|
34
34
|
setup(props, {
|
35
|
-
emit
|
35
|
+
emit,
|
36
|
+
slots
|
36
37
|
}) {
|
37
38
|
let timer;
|
38
39
|
let clickable = false;
|
@@ -80,6 +81,11 @@ var stdin_default = defineComponent({
|
|
80
81
|
type,
|
81
82
|
message
|
82
83
|
} = props;
|
84
|
+
if (slots.message) {
|
85
|
+
return _createVNode("div", {
|
86
|
+
"class": bem("text")
|
87
|
+
}, [slots.message()]);
|
88
|
+
}
|
83
89
|
if (isDef(message) && message !== "") {
|
84
90
|
return type === "html" ? _createVNode("div", {
|
85
91
|
"key": 0,
|
@@ -115,5 +121,6 @@ var stdin_default = defineComponent({
|
|
115
121
|
}
|
116
122
|
});
|
117
123
|
export {
|
118
|
-
stdin_default as default
|
124
|
+
stdin_default as default,
|
125
|
+
toastProps
|
119
126
|
};
|
package/es/toast/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-toast-max-width: 70%;--van-toast-font-size: var(--van-font-size-md);--van-toast-text-color: var(--van-white);--van-toast-loading-icon-color: var(--van-white);--van-toast-line-height: var(--van-line-height-md);--van-toast-radius: var(--van-radius-lg);--van-toast-background: rgba(0, 0, 0, .7);--van-toast-icon-size: 36px;--van-toast-text-min-width: 96px;--van-toast-text-padding: var(--van-padding-xs) var(--van-padding-sm);--van-toast-default-padding: var(--van-padding-md);--van-toast-default-width: 88px;--van-toast-default-min-height: 88px;--van-toast-position-top-distance: 20%;--van-toast-position-bottom-distance: 20%}.van-toast{display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:content-box;transition:all var(--van-duration-fast);width:var(--van-toast-default-width);max-width:var(--van-toast-max-width);min-height:var(--van-toast-default-min-height);padding:var(--van-toast-default-padding);color:var(--van-toast-text-color);font-size:var(--van-toast-font-size);line-height:var(--van-toast-line-height);white-space:pre-wrap;text-align:center;word-break:break-all;background:var(--van-toast-background);border-radius:var(--van-toast-radius)}.van-toast--unclickable{overflow:hidden;cursor:not-allowed}.van-toast--unclickable *{pointer-events:none}.van-toast--text,.van-toast--html{width:-webkit-fit-content;width:fit-content;min-width:var(--van-toast-text-min-width);min-height:0;padding:var(--van-toast-text-padding)}.van-toast--text .van-toast__text,.van-toast--html .van-toast__text{margin-top:0}.van-toast--top{top:var(--van-toast-position-top-distance)}.van-toast--bottom{top:auto;bottom:var(--van-toast-position-bottom-distance)}.van-toast__icon{font-size:var(--van-toast-icon-size)}.van-toast__loading{padding:var(--van-padding-base);color:var(--van-toast-loading-icon-color)}.van-toast__text{margin-top:var(--van-padding-xs)}
|
package/es/toast/index.d.ts
CHANGED
@@ -74,6 +74,12 @@ export declare const Toast: import("../utils").WithInstall<import("vue").DefineC
|
|
74
74
|
closeOnClick: boolean;
|
75
75
|
}>>;
|
76
76
|
export default Toast;
|
77
|
+
export { toastProps } from './Toast';
|
77
78
|
export { showToast, closeToast, showFailToast, showLoadingToast, showSuccessToast, allowMultipleToast, setToastDefaultOptions, resetToastDefaultOptions, } from './function-call';
|
78
79
|
export type { ToastProps } from './Toast';
|
79
|
-
export type { ToastType, ToastOptions, ToastPosition } from './types';
|
80
|
+
export type { ToastType, ToastOptions, ToastPosition, ToastThemeVars, } from './types';
|
81
|
+
declare module 'vue' {
|
82
|
+
interface GlobalComponents {
|
83
|
+
VanToast: typeof Toast;
|
84
|
+
}
|
85
|
+
}
|
package/es/toast/index.mjs
CHANGED
@@ -2,6 +2,7 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Toast from "./Toast.mjs";
|
3
3
|
const Toast = withInstall(_Toast);
|
4
4
|
var stdin_default = Toast;
|
5
|
+
import { toastProps } from "./Toast.mjs";
|
5
6
|
import {
|
6
7
|
showToast,
|
7
8
|
closeToast,
|
@@ -22,5 +23,6 @@ export {
|
|
22
23
|
showFailToast,
|
23
24
|
showLoadingToast,
|
24
25
|
showSuccessToast,
|
25
|
-
showToast
|
26
|
+
showToast,
|
27
|
+
toastProps
|
26
28
|
};
|
package/es/toast/types.d.ts
CHANGED
@@ -34,3 +34,20 @@ export declare type ToastWrapperInstance = ComponentPublicInstance<{
|
|
34
34
|
*/
|
35
35
|
open: (props: Record<string, any>) => void;
|
36
36
|
}>;
|
37
|
+
export declare type ToastThemeVars = {
|
38
|
+
toastMaxWidth?: string;
|
39
|
+
toastFontSize?: string;
|
40
|
+
toastTextColor?: string;
|
41
|
+
toastLoadingIconColor?: string;
|
42
|
+
toastLineHeight?: number | string;
|
43
|
+
toastRadius?: string;
|
44
|
+
toastBackground?: string;
|
45
|
+
toastIconSize?: string;
|
46
|
+
toastTextMinWidth?: string;
|
47
|
+
toastTextPadding?: string;
|
48
|
+
toastDefaultPadding?: string;
|
49
|
+
toastDefaultWidth?: string;
|
50
|
+
toastDefaultMinHeight?: string;
|
51
|
+
toastPositionTopDistance?: string;
|
52
|
+
toastPositionBottomDistance?: string;
|
53
|
+
};
|
package/es/tree-select/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-tree-select-font-size: var(--van-font-size-md);--van-tree-select-nav-background: var(--van-background);--van-tree-select-content-background: var(--van-background-2);--van-tree-select-nav-item-padding: 14px var(--van-padding-sm);--van-tree-select-item-height: 48px;--van-tree-select-item-active-color: var(--van-primary-color);--van-tree-select-item-disabled-color: var(--van-gray-5);--van-tree-select-item-selected-size: 16px}.van-tree-select{position:relative;display:flex;font-size:var(--van-tree-select-font-size)}.van-tree-select__nav{flex:1;overflow-y:auto;background:var(--van-tree-select-nav-background);-webkit-overflow-scrolling:touch}.van-tree-select__nav-item{padding:var(--van-tree-select-nav-item-padding)}.van-tree-select__content{flex:2;overflow-y:auto;background:var(--van-tree-select-content-background);-webkit-overflow-scrolling:touch}.van-tree-select__item{position:relative;padding:0 32px 0 var(--van-padding-md);font-weight:var(--van-font-bold);line-height:var(--van-tree-select-item-height);-webkit-user-select:none;user-select:none;cursor:pointer}.van-tree-select__item--active{color:var(--van-tree-select-item-active-color)}.van-tree-select__item:active{background-color:var(--van-active-color)}.van-tree-select__item--disabled{color:var(--van-tree-select-item-disabled-color);cursor:not-allowed}.van-tree-select__item--disabled:active{background-color:transparent}.van-tree-select__selected{position:absolute;top:50%;right:var(--van-padding-md);margin-top:calc(var(--van-padding-xs) * -1);font-size:var(--van-tree-select-item-selected-size)}
|
@@ -62,7 +62,9 @@ export declare const TreeSelect: import("../utils").WithInstall<import("vue").De
|
|
62
62
|
activeId: import("../utils").Numeric | import("../utils").Numeric[];
|
63
63
|
}>>;
|
64
64
|
export default TreeSelect;
|
65
|
+
export { treeSelectProps } from './TreeSelect';
|
65
66
|
export type { TreeSelectItem, TreeSelectChild, TreeSelectProps, } from './TreeSelect';
|
67
|
+
export type { TreeSelectThemeVars } from './types';
|
66
68
|
declare module 'vue' {
|
67
69
|
interface GlobalComponents {
|
68
70
|
VanTreeSelect: typeof TreeSelect;
|
package/es/tree-select/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _TreeSelect from "./TreeSelect.mjs";
|
3
3
|
const TreeSelect = withInstall(_TreeSelect);
|
4
4
|
var stdin_default = TreeSelect;
|
5
|
+
import { treeSelectProps } from "./TreeSelect.mjs";
|
5
6
|
export {
|
6
7
|
TreeSelect,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
treeSelectProps
|
8
10
|
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
export declare type TreeSelectThemeVars = {
|
2
|
+
treeSelectFontSize?: string;
|
3
|
+
treeSelectNavBackground?: string;
|
4
|
+
treeSelectContentBackground?: string;
|
5
|
+
treeSelectNavItemPadding?: string;
|
6
|
+
treeSelectItemHeight?: string;
|
7
|
+
treeSelectItemActiveColor?: string;
|
8
|
+
treeSelectItemDisabledColor?: string;
|
9
|
+
treeSelectItemSelectedSize?: string;
|
10
|
+
};
|
File without changes
|
@@ -3,7 +3,7 @@ import { Interceptor, type Numeric } from '../utils';
|
|
3
3
|
import { type ImagePreviewOptions } from '../image-preview';
|
4
4
|
import type { ImageFit } from '../image';
|
5
5
|
import type { UploaderMaxSize, UploaderAfterRead, UploaderBeforeRead, UploaderResultType, UploaderFileListItem } from './types';
|
6
|
-
declare const uploaderProps: {
|
6
|
+
export declare const uploaderProps: {
|
7
7
|
name: {
|
8
8
|
type: (NumberConstructor | StringConstructor)[];
|
9
9
|
default: string;
|
package/es/uploader/Uploader.mjs
CHANGED
package/es/uploader/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-uploader-size: 80px;--van-uploader-icon-size: 24px;--van-uploader-icon-color: var(--van-gray-4);--van-uploader-text-color: var(--van-text-color-2);--van-uploader-text-font-size: var(--van-font-size-sm);--van-uploader-upload-background: var(--van-gray-1);--van-uploader-upload-active-color: var(--van-active-color);--van-uploader-delete-color: var(--van-white);--van-uploader-delete-icon-size: 14px;--van-uploader-delete-background: rgba(0, 0, 0, .7);--van-uploader-file-background: var(--van-background);--van-uploader-file-icon-size: 20px;--van-uploader-file-icon-color: var(--van-gray-7);--van-uploader-file-name-padding: 0 var(--van-padding-base);--van-uploader-file-name-margin-top: var(--van-padding-xs);--van-uploader-file-name-font-size: var(--van-font-size-sm);--van-uploader-file-name-text-color: var(--van-gray-7);--van-uploader-mask-text-color: var(--van-white);--van-uploader-mask-background: rgba(50, 50, 51, .88);--van-uploader-mask-icon-size: 22px;--van-uploader-mask-message-font-size: var(--van-font-size-sm);--van-uploader-mask-message-line-height: var(--van-line-height-xs);--van-uploader-loading-icon-size: 22px;--van-uploader-loading-icon-color: var(--van-white);--van-uploader-disabled-opacity: var(--van-disabled-opacity)}.van-uploader{position:relative;display:inline-block}.van-uploader__wrapper{display:flex;flex-wrap:wrap}.van-uploader__wrapper--disabled{opacity:var(--van-uploader-disabled-opacity)}.van-uploader__input{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;cursor:pointer;opacity:0}.van-uploader__input-wrapper{position:relative}.van-uploader__input:disabled{cursor:not-allowed}.van-uploader__upload{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;width:var(--van-uploader-size);height:var(--van-uploader-size);margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;background:var(--van-uploader-upload-background)}.van-uploader__upload:active{background-color:var(--van-uploader-upload-active-color)}.van-uploader__upload--readonly:active{background-color:var(--van-uploader-upload-background)}.van-uploader__upload-icon{color:var(--van-uploader-icon-color);font-size:var(--van-uploader-icon-size)}.van-uploader__upload-text{margin-top:var(--van-padding-xs);color:var(--van-uploader-text-color);font-size:var(--van-uploader-text-font-size)}.van-uploader__preview{position:relative;margin:0 var(--van-padding-xs) var(--van-padding-xs) 0;cursor:pointer}.van-uploader__preview-image{display:block;width:var(--van-uploader-size);height:var(--van-uploader-size);overflow:hidden}.van-uploader__preview-delete{position:absolute;top:0;right:0}.van-uploader__preview-delete--shadow{width:var(--van-uploader-delete-icon-size);height:var(--van-uploader-delete-icon-size);background:var(--van-uploader-delete-background);border-radius:0 0 0 12px}.van-uploader__preview-delete-icon{position:absolute;top:0;right:0;color:var(--van-uploader-delete-color);font-size:var(--van-uploader-delete-icon-size);transform:scale(.7) translate(10%,-10%)}.van-uploader__preview-cover{position:absolute;top:0;right:0;bottom:0;left:0}.van-uploader__mask{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--van-uploader-mask-text-color);background:var(--van-uploader-mask-background)}.van-uploader__mask-icon{font-size:var(--van-uploader-mask-icon-size)}.van-uploader__mask-message{margin-top:6px;padding:0 var(--van-padding-base);font-size:var(--van-uploader-mask-message-font-size);line-height:var(--van-uploader-mask-message-line-height)}.van-uploader__loading{width:var(--van-uploader-loading-icon-size);height:var(--van-uploader-loading-icon-size);color:var(--van-uploader-loading-icon-color)}.van-uploader__file{display:flex;flex-direction:column;align-items:center;justify-content:center;width:var(--van-uploader-size);height:var(--van-uploader-size);background:var(--van-uploader-file-background)}.van-uploader__file-icon{color:var(--van-uploader-file-icon-color);font-size:var(--van-uploader-file-icon-size)}.van-uploader__file-name{box-sizing:border-box;width:100%;margin-top:var(--van-uploader-file-name-margin-top);padding:var(--van-uploader-file-name-padding);color:var(--van-uploader-file-name-text-color);font-size:var(--van-uploader-file-name-font-size);text-align:center}
|
package/es/uploader/index.d.ts
CHANGED
@@ -145,8 +145,9 @@ export declare const Uploader: import("../utils").WithInstall<import("vue").Defi
|
|
145
145
|
maxSize: import("./types").UploaderMaxSize;
|
146
146
|
}>>;
|
147
147
|
export default Uploader;
|
148
|
+
export { uploaderProps } from './Uploader';
|
148
149
|
export type { UploaderProps };
|
149
|
-
export type { UploaderInstance, UploaderResultType, UploaderFileListItem, } from './types';
|
150
|
+
export type { UploaderInstance, UploaderThemeVars, UploaderResultType, UploaderFileListItem, } from './types';
|
150
151
|
declare module 'vue' {
|
151
152
|
interface GlobalComponents {
|
152
153
|
VanUploader: typeof Uploader;
|
package/es/uploader/index.mjs
CHANGED
@@ -2,7 +2,9 @@ import { withInstall } from "../utils/index.mjs";
|
|
2
2
|
import _Uploader from "./Uploader.mjs";
|
3
3
|
const Uploader = withInstall(_Uploader);
|
4
4
|
var stdin_default = Uploader;
|
5
|
+
import { uploaderProps } from "./Uploader.mjs";
|
5
6
|
export {
|
6
7
|
Uploader,
|
7
|
-
stdin_default as default
|
8
|
+
stdin_default as default,
|
9
|
+
uploaderProps
|
8
10
|
};
|
package/es/uploader/types.d.ts
CHANGED
@@ -29,3 +29,30 @@ export declare type UploaderExpose = {
|
|
29
29
|
closeImagePreview: () => void;
|
30
30
|
};
|
31
31
|
export declare type UploaderInstance = ComponentPublicInstance<UploaderProps, UploaderExpose>;
|
32
|
+
export declare type UploaderThemeVars = {
|
33
|
+
uploaderSize?: string;
|
34
|
+
uploaderIconSize?: string;
|
35
|
+
uploaderIconColor?: string;
|
36
|
+
uploaderTextColor?: string;
|
37
|
+
uploaderTextFontSize?: string;
|
38
|
+
uploaderUploadBackground?: string;
|
39
|
+
uploaderUploadActiveColor?: string;
|
40
|
+
uploaderDeleteColor?: string;
|
41
|
+
uploaderDeleteIconSize?: string;
|
42
|
+
uploaderDeleteBackground?: string;
|
43
|
+
uploaderFileBackground?: string;
|
44
|
+
uploaderFileIconSize?: string;
|
45
|
+
uploaderFileIconColor?: string;
|
46
|
+
uploaderFileNamePadding?: string;
|
47
|
+
uploaderFileNameMarginTop?: string;
|
48
|
+
uploaderFileNameFontSize?: string;
|
49
|
+
uploaderFileNameTextColor?: string;
|
50
|
+
uploaderMaskTextColor?: string;
|
51
|
+
uploaderMaskBackground?: string;
|
52
|
+
uploaderMaskIconSize?: string;
|
53
|
+
uploaderMaskMessageFontSize?: string;
|
54
|
+
uploaderMaskMessageLineHeight?: number | string;
|
55
|
+
uploaderLoadingIconSize?: string;
|
56
|
+
uploaderLoadingIconColor?: string;
|
57
|
+
uploaderDisabledOpacity?: number | string;
|
58
|
+
};
|
package/es/utils/basic.mjs
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
import { isObject } from "./validate.mjs";
|
1
2
|
function noop() {
|
2
3
|
}
|
3
4
|
const extend = Object.assign;
|
@@ -7,7 +8,7 @@ function get(object, path) {
|
|
7
8
|
let result = object;
|
8
9
|
keys.forEach((key) => {
|
9
10
|
var _a;
|
10
|
-
result = (_a = result[key]) != null ? _a : "";
|
11
|
+
result = isObject(result) ? (_a = result[key]) != null ? _a : "" : "";
|
11
12
|
});
|
12
13
|
return result;
|
13
14
|
}
|
@@ -18,6 +18,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
18
18
|
var stdin_exports = {};
|
19
19
|
__export(stdin_exports, {
|
20
20
|
ACTION_BAR_KEY: () => ACTION_BAR_KEY,
|
21
|
+
actionBarProps: () => actionBarProps,
|
21
22
|
default: () => stdin_default
|
22
23
|
});
|
23
24
|
module.exports = __toCommonJS(stdin_exports);
|
package/lib/action-bar/index.css
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-action-bar-background: var(--van-background-2);--van-action-bar-height: 50px}.van-action-bar{position:fixed;right:0;bottom:0;left:0;display:flex;align-items:center;box-sizing:content-box;height:var(--van-action-bar-height);background:var(--van-action-bar-background)}
|
@@ -15,7 +15,9 @@ export declare const ActionBar: import("../utils").WithInstall<import("vue").Def
|
|
15
15
|
safeAreaInsetBottom: boolean;
|
16
16
|
}>>;
|
17
17
|
export default ActionBar;
|
18
|
+
export { actionBarProps } from './ActionBar';
|
18
19
|
export type { ActionBarProps } from './ActionBar';
|
20
|
+
export type { ActionBarThemeVars } from './types';
|
19
21
|
declare module 'vue' {
|
20
22
|
interface GlobalComponents {
|
21
23
|
VanActionBar: typeof ActionBar;
|
package/lib/action-bar/index.js
CHANGED
@@ -24,10 +24,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
24
24
|
var stdin_exports = {};
|
25
25
|
__export(stdin_exports, {
|
26
26
|
ActionBar: () => ActionBar,
|
27
|
+
actionBarProps: () => import_ActionBar2.actionBarProps,
|
27
28
|
default: () => stdin_default
|
28
29
|
});
|
29
30
|
module.exports = __toCommonJS(stdin_exports);
|
30
31
|
var import_utils = require("../utils");
|
31
32
|
var import_ActionBar = __toESM(require("./ActionBar"));
|
33
|
+
var import_ActionBar2 = require("./ActionBar");
|
32
34
|
const ActionBar = (0, import_utils.withInstall)(import_ActionBar.default);
|
33
35
|
var stdin_default = ActionBar;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { type PropType, type ExtractPropTypes } from 'vue';
|
2
2
|
import { ButtonType } from '../button';
|
3
|
-
declare const actionBarButtonProps: {
|
3
|
+
export declare const actionBarButtonProps: {
|
4
4
|
to: PropType<import("vue-router").RouteLocationRaw>;
|
5
5
|
url: StringConstructor;
|
6
6
|
replace: BooleanConstructor;
|
@@ -17,6 +17,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
18
18
|
var stdin_exports = {};
|
19
19
|
__export(stdin_exports, {
|
20
|
+
actionBarButtonProps: () => actionBarButtonProps,
|
20
21
|
default: () => stdin_default
|
21
22
|
});
|
22
23
|
module.exports = __toCommonJS(stdin_exports);
|
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
:root{--van-action-bar-button-height: 40px;--van-action-bar-button-warning-color: var(--van-gradient-orange);--van-action-bar-button-danger-color: var(--van-gradient-red)}.van-action-bar-button{flex:1;height:var(--van-action-bar-button-height);font-weight:var(--van-font-bold);font-size:var(--van-font-size-md);border:none;border-radius:0}.van-action-bar-button--first{margin-left:5px;border-top-left-radius:var(--van-radius-max);border-bottom-left-radius:var(--van-radius-max)}.van-action-bar-button--last{margin-right:5px;border-top-right-radius:var(--van-radius-max);border-bottom-right-radius:var(--van-radius-max)}.van-action-bar-button--warning{background:var(--van-action-bar-button-warning-color)}.van-action-bar-button--danger{background:var(--van-action-bar-button-danger-color)}@media (max-width: 321px){.van-action-bar-button{font-size:13px}}
|
@@ -26,7 +26,9 @@ export declare const ActionBarButton: import("../utils").WithInstall<import("vue
|
|
26
26
|
loading: boolean;
|
27
27
|
}>>;
|
28
28
|
export default ActionBarButton;
|
29
|
+
export { actionBarButtonProps } from './ActionBarButton';
|
29
30
|
export type { ActionBarButtonProps } from './ActionBarButton';
|
31
|
+
export type { ActionBarButtonThemeVars } from './types';
|
30
32
|
declare module 'vue' {
|
31
33
|
interface GlobalComponents {
|
32
34
|
VanActionBarButton: typeof ActionBarButton;
|
@@ -24,10 +24,12 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
24
24
|
var stdin_exports = {};
|
25
25
|
__export(stdin_exports, {
|
26
26
|
ActionBarButton: () => ActionBarButton,
|
27
|
+
actionBarButtonProps: () => import_ActionBarButton2.actionBarButtonProps,
|
27
28
|
default: () => stdin_default
|
28
29
|
});
|
29
30
|
module.exports = __toCommonJS(stdin_exports);
|
30
31
|
var import_utils = require("../utils");
|
31
32
|
var import_ActionBarButton = __toESM(require("./ActionBarButton"));
|
33
|
+
var import_ActionBarButton2 = require("./ActionBarButton");
|
32
34
|
const ActionBarButton = (0, import_utils.withInstall)(import_ActionBarButton.default);
|
33
35
|
var stdin_default = ActionBarButton;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
var __defProp = Object.defineProperty;
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
6
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
7
|
+
for (let key of __getOwnPropNames(from))
|
8
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
9
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
10
|
+
}
|
11
|
+
return to;
|
12
|
+
};
|
13
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
14
|
+
var stdin_exports = {};
|
15
|
+
module.exports = __toCommonJS(stdin_exports);
|