From a77325cf7736449b8338ecf2529c467cd295a30f Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Tue, 7 Nov 2023 09:14:13 +0300 Subject: [PATCH] Refactor #4742 --- .../lib/inputgroupaddon/InputGroupAddon.d.ts | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/components/lib/inputgroupaddon/InputGroupAddon.d.ts b/components/lib/inputgroupaddon/InputGroupAddon.d.ts index 0e9a406a3..6e4364f12 100644 --- a/components/lib/inputgroupaddon/InputGroupAddon.d.ts +++ b/components/lib/inputgroupaddon/InputGroupAddon.d.ts @@ -12,12 +12,12 @@ import { ComponentHooks } from '../basecomponent'; import { PassThroughOptions } from '../passthrough'; import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; -export declare type InputGroupPassThroughOptionType = InputGroupPassThroughAttributes | ((options: InputGroupPassThroughMethodOptions) => InputGroupPassThroughAttributes | string) | string | null | undefined; +export declare type InputGroupAddonPassThroughOptionType = InputGroupAddonPassThroughAttributes | ((options: InputGroupAddonPassThroughMethodOptions) => InputGroupAddonPassThroughAttributes | string) | string | null | undefined; /** * Custom passthrough(pt) option method. */ -export interface InputGroupPassThroughMethodOptions { +export interface InputGroupAddonPassThroughMethodOptions { /** * Defines instance. */ @@ -30,13 +30,13 @@ export interface InputGroupPassThroughMethodOptions { /** * Custom passthrough(pt) options. - * @see {@link InputGroupProps.pt} + * @see {@link InputGroupAddonProps.pt} */ -export interface InputGroupPassThroughOptions { +export interface InputGroupAddonPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ - root?: InputGroupPassThroughOptionType; + root?: InputGroupAddonPassThroughOptionType; /** * Used to manage all lifecycle hooks * @see {@link BaseComponent.ComponentHooks} @@ -47,19 +47,19 @@ export interface InputGroupPassThroughOptions { /** * Custom passthrough attributes for each DOM elements */ -export interface InputGroupPassThroughAttributes { +export interface InputGroupAddonPassThroughAttributes { [key: string]: any; } /** * Defines valid properties in InputGroupAddon component. */ -export interface InputGroupProps { +export interface InputGroupAddonProps { /** * Used to pass attributes to DOM elements inside the component. - * @type {InputGroupPassThroughOptions} + * @type {InputGroupAddonPassThroughOptions} */ - pt?: PassThrough; + pt?: PassThrough; /** * Used to configure passthrough(pt) options of the component. * @type {PassThroughOptions} @@ -75,7 +75,7 @@ export interface InputGroupProps { /** * Defines valid slots in InputGroupAddon component. */ -export interface InputGroupSlots { +export interface InputGroupAddonSlots { /** * Custom default template. */ @@ -90,20 +90,20 @@ export interface InputGroupSlots { /** * Defines valid emits in InputGroupAddon component. */ -export interface InputGroupEmits {} +export interface InputGroupAddonEmits {} /** * **PrimeVue - InputGroupAddon** * - * _InputGroup displays text, icon, buttons and other content can be grouped next to an input._ + * _InputGroupAddon displays text, icon, buttons and other content can be grouped next to an input._ * - * [Live Demo](https://www.primevue.org/inputgroup/) + * [Live Demo](https://www.primevue.org/inputgroupaddon/) * --- --- * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png) * * @group Component */ -declare class InputGroupAddon extends ClassComponent {} +declare class InputGroupAddon extends ClassComponent {} declare module '@vue/runtime-core' { interface GlobalComponents {