pull/4767/head
tugcekucukoglu 2023-11-07 09:14:13 +03:00
parent 5dd4422498
commit a77325cf77
1 changed files with 14 additions and 14 deletions

View File

@ -12,12 +12,12 @@ import { ComponentHooks } from '../basecomponent';
import { PassThroughOptions } from '../passthrough'; import { PassThroughOptions } from '../passthrough';
import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; 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. * Custom passthrough(pt) option method.
*/ */
export interface InputGroupPassThroughMethodOptions { export interface InputGroupAddonPassThroughMethodOptions {
/** /**
* Defines instance. * Defines instance.
*/ */
@ -30,13 +30,13 @@ export interface InputGroupPassThroughMethodOptions {
/** /**
* Custom passthrough(pt) options. * 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. * Used to pass attributes to the root's DOM element.
*/ */
root?: InputGroupPassThroughOptionType; root?: InputGroupAddonPassThroughOptionType;
/** /**
* Used to manage all lifecycle hooks * Used to manage all lifecycle hooks
* @see {@link BaseComponent.ComponentHooks} * @see {@link BaseComponent.ComponentHooks}
@ -47,19 +47,19 @@ export interface InputGroupPassThroughOptions {
/** /**
* Custom passthrough attributes for each DOM elements * Custom passthrough attributes for each DOM elements
*/ */
export interface InputGroupPassThroughAttributes { export interface InputGroupAddonPassThroughAttributes {
[key: string]: any; [key: string]: any;
} }
/** /**
* Defines valid properties in InputGroupAddon component. * Defines valid properties in InputGroupAddon component.
*/ */
export interface InputGroupProps { export interface InputGroupAddonProps {
/** /**
* Used to pass attributes to DOM elements inside the component. * Used to pass attributes to DOM elements inside the component.
* @type {InputGroupPassThroughOptions} * @type {InputGroupAddonPassThroughOptions}
*/ */
pt?: PassThrough<InputGroupPassThroughOptions>; pt?: PassThrough<InputGroupAddonPassThroughOptions>;
/** /**
* Used to configure passthrough(pt) options of the component. * Used to configure passthrough(pt) options of the component.
* @type {PassThroughOptions} * @type {PassThroughOptions}
@ -75,7 +75,7 @@ export interface InputGroupProps {
/** /**
* Defines valid slots in InputGroupAddon component. * Defines valid slots in InputGroupAddon component.
*/ */
export interface InputGroupSlots { export interface InputGroupAddonSlots {
/** /**
* Custom default template. * Custom default template.
*/ */
@ -90,20 +90,20 @@ export interface InputGroupSlots {
/** /**
* Defines valid emits in InputGroupAddon component. * Defines valid emits in InputGroupAddon component.
*/ */
export interface InputGroupEmits {} export interface InputGroupAddonEmits {}
/** /**
* **PrimeVue - InputGroupAddon** * **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) * ![PrimeVue](https://primefaces.org/cdn/primevue/images/logo-100.png)
* *
* @group Component * @group Component
*/ */
declare class InputGroupAddon extends ClassComponent<InputGroupProps, InputGroupSlots, InputGroupEmits> {} declare class InputGroupAddon extends ClassComponent<InputGroupAddonProps, InputGroupAddonSlots, InputGroupAddonEmits> {}
declare module '@vue/runtime-core' { declare module '@vue/runtime-core' {
interface GlobalComponents { interface GlobalComponents {