primeng
Version:
PrimeNG is an open source UI library for Angular featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeB
65 lines (61 loc) • 2.28 kB
TypeScript
import { BaseComponent } from 'primeng/basecomponent';
import * as i1 from 'primeng/bind';
import { Bind } from 'primeng/bind';
import { InputGroupPassThrough } from 'primeng/types/inputgroup';
import { BaseStyle } from 'primeng/base';
import * as i0 from '@angular/core';
import * as i2 from 'primeng/api';
/**
*
* InputGroup displays text, icon, buttons and other content can be grouped next to an input.
*
* [Live Demo](https://www.primeng.org/inputgroup/)
*
* @module inputgroupstyle
*
*/
declare enum InputGroupClasses {
/**
* Class name of the root element
*/
root = "p-inputgroup"
}
declare class InputGroupStyle extends BaseStyle {
name: string;
style: string;
classes: {
root: ({ instance }: {
instance: any;
}) => (string | {
'p-inputgroup-fluid': any;
})[];
};
static ɵfac: i0.ɵɵFactoryDeclaration<InputGroupStyle, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<InputGroupStyle>;
}
interface InputGroupStyle extends BaseStyle {
}
/**
* InputGroup displays text, icon, buttons and other content can be grouped next to an input.
* @group Components
*/
declare class InputGroup extends BaseComponent<InputGroupPassThrough> {
_componentStyle: InputGroupStyle;
$pcInputGroup: InputGroup | undefined;
bindDirectiveInstance: Bind;
onAfterViewChecked(): void;
/**
* Class of the element.
* @deprecated since v20.0.0, use `class` instead.
* @group Props
*/
styleClass: string | undefined;
static ɵfac: i0.ɵɵFactoryDeclaration<InputGroup, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<InputGroup, "p-inputgroup, p-inputGroup, p-input-group", never, { "styleClass": { "alias": "styleClass"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.Bind; inputs: {}; outputs: {}; }]>;
}
declare class InputGroupModule {
static ɵfac: i0.ɵɵFactoryDeclaration<InputGroupModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<InputGroupModule, never, [typeof InputGroup, typeof i2.SharedModule], [typeof InputGroup, typeof i2.SharedModule]>;
static ɵinj: i0.ɵɵInjectorDeclaration<InputGroupModule>;
}
export { InputGroup, InputGroupClasses, InputGroupModule, InputGroupStyle };