Merge pull request #7127 from J-Michalek/fix/select-exposed-methods

fix(select): add exposed methods to types
pull/7131/head
Tuğçe Küçükoğlu 2025-01-22 10:44:10 +03:00 committed by GitHub
commit 5c78108edc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 28 additions and 16 deletions

View File

@ -55721,23 +55721,35 @@
},
"SelectMethods": {
"relatedProp": "",
"props": [
"props": [],
"methods": [
{
"name": "show",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
"parameters": [
{
"name": "isFocus",
"optional": true,
"type": "boolean",
"description": "Decides whether to focus on the component. Default value is false."
}
],
"returnType": "void",
"description": "Shows the overlay."
},
{
"name": "hide",
"optional": false,
"readonly": false,
"type": "Function",
"default": ""
"parameters": [
{
"name": "isFocus",
"optional": true,
"type": "boolean",
"description": "Decides whether to focus on the component. Default value is false."
}
],
"returnType": "void",
"description": "Hides the overlay."
}
],
"methods": []
]
}
}
},
@ -100709,4 +100721,4 @@
}
}
}
}
}

View File

@ -938,11 +938,11 @@ export interface MultiSelectMethods {
* @group Component
*
*/
declare const MultiSelect: DefineComponent<MultiSelectProps, MultiSelectSlots, MultiSelectEmits, MultiSelectMethods>;
declare const MultiSelect: DefineComponent<MultiSelectProps, MultiSelectSlots, MultiSelectEmits>;
declare module 'vue' {
export interface GlobalComponents {
MultiSelect: DefineComponent<MultiSelectProps, MultiSelectSlots, MultiSelectEmits, MultiSelectMethods>;
MultiSelect: DefineComponent<MultiSelectProps, MultiSelectSlots, MultiSelectEmits>;
}
}

View File

@ -818,11 +818,11 @@ export interface SelectMethods {
* @group Component
*
*/
declare const Select: DefineComponent<SelectProps, SelectSlots, SelectEmits>;
declare const Select: DefineComponent<SelectProps, SelectSlots, SelectEmits, SelectMethods>;
declare module 'vue' {
export interface GlobalComponents {
Select: DefineComponent<SelectProps, SelectSlots, SelectEmits>;
Select: DefineComponent<SelectProps, SelectSlots, SelectEmits, SelectMethods>;
}
}