diff --git a/packages/vant/src/address-edit/README.md b/packages/vant/src/address-edit/README.md index 8faaca6fc..a0cb81f85 100644 --- a/packages/vant/src/address-edit/README.md +++ b/packages/vant/src/address-edit/README.md @@ -133,6 +133,7 @@ The component exports the following type definitions: ```ts import type { AddressEditInfo, + AddressEditProps, AddressEditInstance, AddressEditSearchItem, } from 'vant'; diff --git a/packages/vant/src/address-edit/README.zh-CN.md b/packages/vant/src/address-edit/README.zh-CN.md index a7660aa6b..7b17b98de 100644 --- a/packages/vant/src/address-edit/README.zh-CN.md +++ b/packages/vant/src/address-edit/README.zh-CN.md @@ -133,6 +133,7 @@ export default { ```ts import type { AddressEditInfo, + AddressEditProps, AddressEditInstance, AddressEditSearchItem, } from 'vant'; diff --git a/packages/vant/src/area/README.md b/packages/vant/src/area/README.md index d0e752188..8248d8c37 100644 --- a/packages/vant/src/area/README.md +++ b/packages/vant/src/area/README.md @@ -169,7 +169,7 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Area i The component exports the following type definitions: ```ts -import type { AreaList, AreaInstance, AreaColumnOption } from 'vant'; +import type { AreaProps, AreaList, AreaInstance, AreaColumnOption } from 'vant'; ``` `AreaInstance` is the type of component instance: diff --git a/packages/vant/src/area/README.zh-CN.md b/packages/vant/src/area/README.zh-CN.md index 8b5872379..894333e94 100644 --- a/packages/vant/src/area/README.zh-CN.md +++ b/packages/vant/src/area/README.zh-CN.md @@ -171,7 +171,7 @@ confirm 事件返回的数据整体为一个数组,数组每一项对应一列 组件导出以下类型定义: ```ts -import type { AreaList, AreaInstance, AreaColumnOption } from 'vant'; +import type { AreaProps, AreaList, AreaInstance, AreaColumnOption } from 'vant'; ``` `AreaInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/calendar/README.md b/packages/vant/src/calendar/README.md index 512439aef..7271be5a8 100644 --- a/packages/vant/src/calendar/README.md +++ b/packages/vant/src/calendar/README.md @@ -354,6 +354,7 @@ The component exports the following type definitions: ```ts import type { CalendarType, + CalendarProps, CalendarDayItem, CalendarDayType, CalendarInstance, diff --git a/packages/vant/src/calendar/README.zh-CN.md b/packages/vant/src/calendar/README.zh-CN.md index c32c30af2..3e58e4e68 100644 --- a/packages/vant/src/calendar/README.zh-CN.md +++ b/packages/vant/src/calendar/README.zh-CN.md @@ -360,6 +360,7 @@ export default { ```ts import type { CalendarType, + CalendarProps, CalendarDayItem, CalendarDayType, CalendarInstance, diff --git a/packages/vant/src/checkbox/README.md b/packages/vant/src/checkbox/README.md index aef4d25b3..c75fb0c6b 100644 --- a/packages/vant/src/checkbox/README.md +++ b/packages/vant/src/checkbox/README.md @@ -333,7 +333,9 @@ The component exports the following type definitions: ```ts import type { + CheckboxProps, CheckboxInstance, + CheckboxGroupProps, CheckboxGroupInstance, CheckboxGroupToggleAllOptions, } from 'vant'; diff --git a/packages/vant/src/checkbox/README.zh-CN.md b/packages/vant/src/checkbox/README.zh-CN.md index 7dbcb16da..e89fca1d8 100644 --- a/packages/vant/src/checkbox/README.zh-CN.md +++ b/packages/vant/src/checkbox/README.zh-CN.md @@ -351,7 +351,9 @@ checkboxGroup.toggleAll({ ```ts import type { + CheckboxProps, CheckboxInstance, + CheckboxGroupProps, CheckboxGroupInstance, CheckboxGroupToggleAllOptions, } from 'vant'; diff --git a/packages/vant/src/collapse/README.md b/packages/vant/src/collapse/README.md index 06367bf8f..295ce412b 100644 --- a/packages/vant/src/collapse/README.md +++ b/packages/vant/src/collapse/README.md @@ -155,7 +155,7 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Collap The component exports the following type definitions: ```ts -import type { CollapseItemInstance } from 'vant'; +import type { CollapseItemProps, CollapseItemInstance } from 'vant'; ``` `CollapseItemInstance` is the type of component instance: diff --git a/packages/vant/src/collapse/README.zh-CN.md b/packages/vant/src/collapse/README.zh-CN.md index c9d108f81..538b01356 100644 --- a/packages/vant/src/collapse/README.zh-CN.md +++ b/packages/vant/src/collapse/README.zh-CN.md @@ -153,7 +153,7 @@ export default { 组件导出以下类型定义: ```ts -import type { CollapseItemInstance } from 'vant'; +import type { CollapseItemProps, CollapseItemInstance } from 'vant'; ``` `CollapseItemInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/count-down/README.md b/packages/vant/src/count-down/README.md index 8a658d98a..484f72ecd 100644 --- a/packages/vant/src/count-down/README.md +++ b/packages/vant/src/count-down/README.md @@ -186,7 +186,11 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get CountD The component exports the following type definitions: ```ts -import type { CountDownInstance, CountDownCurrentTime } from 'vant'; +import type { + CountDownProps, + CountDownInstance, + CountDownCurrentTime, +} from 'vant'; ``` `CountDownInstance` is the type of component instance: diff --git a/packages/vant/src/count-down/README.zh-CN.md b/packages/vant/src/count-down/README.zh-CN.md index 34c2f9219..b31d13505 100644 --- a/packages/vant/src/count-down/README.zh-CN.md +++ b/packages/vant/src/count-down/README.zh-CN.md @@ -196,7 +196,11 @@ export default { 组件导出以下类型定义: ```ts -import type { CountDownInstance, CountDownCurrentTime } from 'vant'; +import type { + CountDownProps, + CountDownInstance, + CountDownCurrentTime, +} from 'vant'; ``` `CountDownInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/datetime-picker/README.md b/packages/vant/src/datetime-picker/README.md index 451b2ec53..cf049b6d9 100644 --- a/packages/vant/src/datetime-picker/README.md +++ b/packages/vant/src/datetime-picker/README.md @@ -348,7 +348,11 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Dateti The component exports the following type definitions: ```ts -import type { DatetimePickerType, DatetimePickerInstance } from 'vant'; +import type { + DatetimePickerType, + DatetimePickerProps, + DatetimePickerInstance, +} from 'vant'; ``` `DatetimePickerInstance` is the type of component instance: diff --git a/packages/vant/src/datetime-picker/README.zh-CN.md b/packages/vant/src/datetime-picker/README.zh-CN.md index 2cadf7e81..fee998c13 100644 --- a/packages/vant/src/datetime-picker/README.zh-CN.md +++ b/packages/vant/src/datetime-picker/README.zh-CN.md @@ -357,7 +357,11 @@ export default { 组件导出以下类型定义: ```ts -import type { DatetimePickerType, DatetimePickerInstance } from 'vant'; +import type { + DatetimePickerType, + DatetimePickerProps, + DatetimePickerInstance, +} from 'vant'; ``` `DatetimePickerInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/dropdown-menu/README.md b/packages/vant/src/dropdown-menu/README.md index 628470965..09e2a7a8c 100644 --- a/packages/vant/src/dropdown-menu/README.md +++ b/packages/vant/src/dropdown-menu/README.md @@ -197,6 +197,8 @@ The component exports the following type definitions: ```ts import type { + DropdownMenuProps, + DropdownItemProps, DropdownItemOption, DropdownItemInstance, DropdownMenuDirection, diff --git a/packages/vant/src/dropdown-menu/README.zh-CN.md b/packages/vant/src/dropdown-menu/README.zh-CN.md index bd0aaf4d1..5e4325ff0 100644 --- a/packages/vant/src/dropdown-menu/README.zh-CN.md +++ b/packages/vant/src/dropdown-menu/README.zh-CN.md @@ -201,6 +201,8 @@ export default { ```ts import type { + DropdownMenuProps, + DropdownItemProps, DropdownItemOption, DropdownItemInstance, DropdownMenuDirection, diff --git a/packages/vant/src/field/README.md b/packages/vant/src/field/README.md index fb9b9c2e9..4e9de3a7a 100644 --- a/packages/vant/src/field/README.md +++ b/packages/vant/src/field/README.md @@ -315,6 +315,7 @@ The component exports the following type definitions: import type { FieldType, FieldRule, + FieldProps, FieldInstance, FieldTextAlign, FieldClearTrigger, diff --git a/packages/vant/src/field/README.zh-CN.md b/packages/vant/src/field/README.zh-CN.md index d75af53e2..b1d842813 100644 --- a/packages/vant/src/field/README.zh-CN.md +++ b/packages/vant/src/field/README.zh-CN.md @@ -334,6 +334,7 @@ export default { import type { FieldType, FieldRule, + FieldProps, FieldInstance, FieldTextAlign, FieldClearTrigger, diff --git a/packages/vant/src/form/README.md b/packages/vant/src/form/README.md index 8bc65f9c0..76d2f9fe0 100644 --- a/packages/vant/src/form/README.md +++ b/packages/vant/src/form/README.md @@ -547,7 +547,7 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Form i The component exports the following type definitions: ```ts -import type { FormInstance } from 'vant'; +import type { FormProps, FormInstance } from 'vant'; ``` `FormInstance` is the type of component instance: diff --git a/packages/vant/src/form/README.zh-CN.md b/packages/vant/src/form/README.zh-CN.md index 2eb9aba44..6f124bd99 100644 --- a/packages/vant/src/form/README.zh-CN.md +++ b/packages/vant/src/form/README.zh-CN.md @@ -585,7 +585,7 @@ export default { 组件导出以下类型定义: ```ts -import type { FormInstance } from 'vant'; +import type { FormProps, FormInstance } from 'vant'; ``` `FormInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/image-preview/README.md b/packages/vant/src/image-preview/README.md index 3d9c88306..12bdd27ba 100644 --- a/packages/vant/src/image-preview/README.md +++ b/packages/vant/src/image-preview/README.md @@ -191,6 +191,7 @@ The component exports the following type definitions: ```ts import type { + ImagePreviewProps, ImagePreviewOptions, ImagePreviewInstance, ImagePreviewScaleEventParams, diff --git a/packages/vant/src/image-preview/README.zh-CN.md b/packages/vant/src/image-preview/README.zh-CN.md index 9a6fb064a..696e63002 100644 --- a/packages/vant/src/image-preview/README.zh-CN.md +++ b/packages/vant/src/image-preview/README.zh-CN.md @@ -241,6 +241,7 @@ export default { ```ts import type { + ImagePreviewProps, ImagePreviewOptions, ImagePreviewInstance, ImagePreviewScaleEventParams, diff --git a/packages/vant/src/index-bar/README.md b/packages/vant/src/index-bar/README.md index 50f0f949b..801e71de0 100644 --- a/packages/vant/src/index-bar/README.md +++ b/packages/vant/src/index-bar/README.md @@ -104,7 +104,7 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get IndexB The component exports the following type definitions: ```ts -import type { IndexBarInstance } from 'vant'; +import type { IndexBarProps, IndexBarInstance } from 'vant'; ``` `IndexBarInstance` is the type of component instance: diff --git a/packages/vant/src/index-bar/README.zh-CN.md b/packages/vant/src/index-bar/README.zh-CN.md index 21dd16735..8dac6e61c 100644 --- a/packages/vant/src/index-bar/README.zh-CN.md +++ b/packages/vant/src/index-bar/README.zh-CN.md @@ -108,7 +108,7 @@ export default { 组件导出以下类型定义: ```ts -import type { IndexBarInstance } from 'vant'; +import type { IndexBarProps, IndexBarInstance } from 'vant'; ``` `IndexBarInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/list/README.md b/packages/vant/src/list/README.md index fb787d253..88063d9f3 100644 --- a/packages/vant/src/list/README.md +++ b/packages/vant/src/list/README.md @@ -196,7 +196,7 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get List i The component exports the following type definitions: ```ts -import type { ListInstance, ListDirection } from 'vant'; +import type { ListProps, ListInstance, ListDirection } from 'vant'; ``` `ListInstance` is the type of component instance: diff --git a/packages/vant/src/list/README.zh-CN.md b/packages/vant/src/list/README.zh-CN.md index bc38efc99..70b21b431 100644 --- a/packages/vant/src/list/README.zh-CN.md +++ b/packages/vant/src/list/README.zh-CN.md @@ -211,7 +211,7 @@ export default { 组件导出以下类型定义: ```ts -import type { ListInstance, ListDirection } from 'vant'; +import type { ListProps, ListInstance, ListDirection } from 'vant'; ``` `ListInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/notice-bar/README.md b/packages/vant/src/notice-bar/README.md index 6368d4cb7..26a50f493 100644 --- a/packages/vant/src/notice-bar/README.md +++ b/packages/vant/src/notice-bar/README.md @@ -120,7 +120,7 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Notice The component exports the following type definitions: ```ts -import type { NoticeBarMode, NoticeBarInstance } from 'vant'; +import type { NoticeBarMode, NoticeBarProps, NoticeBarInstance } from 'vant'; ``` `NoticeBarInstance` is the type of component instance: diff --git a/packages/vant/src/notice-bar/README.zh-CN.md b/packages/vant/src/notice-bar/README.zh-CN.md index fce81eb31..e30da1852 100644 --- a/packages/vant/src/notice-bar/README.zh-CN.md +++ b/packages/vant/src/notice-bar/README.zh-CN.md @@ -141,7 +141,7 @@ app.use(NoticeBar); 组件导出以下类型定义: ```ts -import type { NoticeBarMode, NoticeBarInstance } from 'vant'; +import type { NoticeBarMode, NoticeBarProps, NoticeBarInstance } from 'vant'; ``` `NoticeBarInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/picker/README.md b/packages/vant/src/picker/README.md index 3237b291c..18f537e66 100644 --- a/packages/vant/src/picker/README.md +++ b/packages/vant/src/picker/README.md @@ -385,6 +385,7 @@ The component exports the following type definitions: ```ts import type { + PickerProps, PickerColumn, PickerOption, PickerInstance, diff --git a/packages/vant/src/picker/README.zh-CN.md b/packages/vant/src/picker/README.zh-CN.md index 07652c62e..80262023f 100644 --- a/packages/vant/src/picker/README.zh-CN.md +++ b/packages/vant/src/picker/README.zh-CN.md @@ -410,6 +410,7 @@ export default { ```ts import type { + PickerProps, PickerColumn, PickerOption, PickerInstance, diff --git a/packages/vant/src/progress/README.md b/packages/vant/src/progress/README.md index 37c109b23..331d90a1c 100644 --- a/packages/vant/src/progress/README.md +++ b/packages/vant/src/progress/README.md @@ -74,7 +74,7 @@ Use `pivot-text` to custom text,use `color` to custom bar color. The component exports the following type definitions: ```ts -import type { ProgressInstance } from 'vant'; +import type { ProgressProps, ProgressInstance } from 'vant'; ``` `ProgressInstance` is the type of component instance: diff --git a/packages/vant/src/progress/README.zh-CN.md b/packages/vant/src/progress/README.zh-CN.md index f78170b2c..127065e49 100644 --- a/packages/vant/src/progress/README.zh-CN.md +++ b/packages/vant/src/progress/README.zh-CN.md @@ -78,7 +78,7 @@ app.use(Progress); 组件导出以下类型定义: ```ts -import type { ProgressInstance } from 'vant'; +import type { ProgressProps, ProgressInstance } from 'vant'; ``` `ProgressInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/search/README.md b/packages/vant/src/search/README.md index a5de22b44..a461a5b77 100644 --- a/packages/vant/src/search/README.md +++ b/packages/vant/src/search/README.md @@ -166,7 +166,7 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Search The component exports the following type definitions: ```ts -import type { SearchShape, SearchInstance } from 'vant'; +import type { SearchProps, SearchShape, SearchInstance } from 'vant'; ``` `SearchInstance` is the type of component instance: diff --git a/packages/vant/src/search/README.zh-CN.md b/packages/vant/src/search/README.zh-CN.md index 24bb948d2..5b9525c2e 100644 --- a/packages/vant/src/search/README.zh-CN.md +++ b/packages/vant/src/search/README.zh-CN.md @@ -178,7 +178,7 @@ export default { 组件导出以下类型定义: ```ts -import type { SearchShape, SearchInstance } from 'vant'; +import type { SearchProps, SearchShape, SearchInstance } from 'vant'; ``` `SearchInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/swipe-cell/README.md b/packages/vant/src/swipe-cell/README.md index df6d0d840..0412568a8 100644 --- a/packages/vant/src/swipe-cell/README.md +++ b/packages/vant/src/swipe-cell/README.md @@ -151,7 +151,12 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get SwipeC The component exports the following type definitions: ```ts -import type { SwipeCellSide, SwipeCellPosition, SwipeCellInstance } from 'vant'; +import type { + SwipeCellSide, + SwipeCellProps, + SwipeCellPosition, + SwipeCellInstance, +} from 'vant'; ``` `SwipeCellInstance` is the type of component instance: diff --git a/packages/vant/src/swipe-cell/README.zh-CN.md b/packages/vant/src/swipe-cell/README.zh-CN.md index f8fe11f12..42a3305d9 100644 --- a/packages/vant/src/swipe-cell/README.zh-CN.md +++ b/packages/vant/src/swipe-cell/README.zh-CN.md @@ -160,7 +160,12 @@ beforeClose 的第一个参数为对象,对象中包含以下属性: 组件导出以下类型定义: ```ts -import type { SwipeCellSide, SwipeCellPosition, SwipeCellInstance } from 'vant'; +import type { + SwipeCellSide, + SwipeCellProps, + SwipeCellPosition, + SwipeCellInstance, +} from 'vant'; ``` `SwipeCellInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/swipe/README.md b/packages/vant/src/swipe/README.md index d102c8909..4b93268af 100644 --- a/packages/vant/src/swipe/README.md +++ b/packages/vant/src/swipe/README.md @@ -184,7 +184,7 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Swipe The component exports the following type definitions: ```ts -import type { SwipeInstance, SwipeToOptions } from 'vant'; +import type { SwipeProps, SwipeInstance, SwipeToOptions } from 'vant'; ``` `SwipeInstance` is the type of component instance: diff --git a/packages/vant/src/swipe/README.zh-CN.md b/packages/vant/src/swipe/README.zh-CN.md index 3cbe7c13e..43abd9e4c 100644 --- a/packages/vant/src/swipe/README.zh-CN.md +++ b/packages/vant/src/swipe/README.zh-CN.md @@ -192,7 +192,7 @@ export default { 组件导出以下类型定义: ```ts -import type { SwipeInstance, SwipeToOptions } from 'vant'; +import type { SwipeProps, SwipeInstance, SwipeToOptions } from 'vant'; ``` `SwipeInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/tab/README.md b/packages/vant/src/tab/README.md index 0b58edebe..080fc6d8d 100644 --- a/packages/vant/src/tab/README.md +++ b/packages/vant/src/tab/README.md @@ -286,7 +286,7 @@ Use [ref](https://v3.vuejs.org/guide/component-template-refs.html) to get Tabs i The component exports the following type definitions: ```ts -import type { TabsType, TabsInstance } from 'vant'; +import type { TabsType, TabsProps, TabsInstance } from 'vant'; ``` `TabsInstance` is the type of component instance: diff --git a/packages/vant/src/tab/README.zh-CN.md b/packages/vant/src/tab/README.zh-CN.md index ab7a02be8..948f7a3b0 100644 --- a/packages/vant/src/tab/README.zh-CN.md +++ b/packages/vant/src/tab/README.zh-CN.md @@ -299,7 +299,7 @@ export default { 组件导出以下类型定义: ```ts -import type { TabsType, TabsInstance } from 'vant'; +import type { TabsType, TabsProps, TabsInstance } from 'vant'; ``` `TabsInstance` 是组件实例的类型,用法如下: diff --git a/packages/vant/src/uploader/README.md b/packages/vant/src/uploader/README.md index 9ffa28a3e..d1b532990 100644 --- a/packages/vant/src/uploader/README.md +++ b/packages/vant/src/uploader/README.md @@ -363,6 +363,7 @@ The component exports the following type definitions: ```ts import type { + UploaderProps, UploaderInstance, UploaderResultType, UploaderFileListItem, diff --git a/packages/vant/src/uploader/README.zh-CN.md b/packages/vant/src/uploader/README.zh-CN.md index 53ea91f70..a1dc75ff7 100644 --- a/packages/vant/src/uploader/README.zh-CN.md +++ b/packages/vant/src/uploader/README.zh-CN.md @@ -388,6 +388,7 @@ before-read、after-read、before-delete 执行时会传递以下回调参数: ```ts import type { + UploaderProps, UploaderInstance, UploaderResultType, UploaderFileListItem,