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
55 lines (51 loc) • 1.91 kB
TypeScript
import * as i0 from '@angular/core';
import { ElementRef, Injector, ChangeDetectorRef, Renderer2, SimpleChanges } from '@angular/core';
import { cn } from '@primeuix/utils';
import { BaseStyle } from 'primeng/base';
import { PrimeNG } from 'primeng/config';
declare class BaseComponentStyle extends BaseStyle {
name: string;
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponentStyle, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<BaseComponentStyle>;
}
declare class BaseComponent {
document: Document;
platformId: any;
el: ElementRef;
readonly injector: Injector;
readonly cd: ChangeDetectorRef;
renderer: Renderer2;
config: PrimeNG;
baseComponentStyle: BaseComponentStyle;
baseStyle: BaseStyle;
scopedStyleEl: any;
rootEl: any;
dt: Object | undefined;
get styleOptions(): {
nonce: string;
};
get _name(): string;
get componentStyle(): any;
attrSelector: string;
private themeChangeListeners;
_getHostInstance(instance: any): any;
_getOptionValue(options: any, key?: string, params?: {}): unknown;
ngOnInit(): void;
ngAfterViewInit(): void;
ngOnChanges(changes: SimpleChanges): void;
ngOnDestroy(): void;
_loadStyles(): void;
_loadCoreStyles(): void;
_loadThemeStyles(): void;
_loadScopedThemeStyles(preset: any): void;
_unloadScopedThemeStyles(): void;
_themeChangeListener(callback?: () => void): void;
cx(key: string, params?: {}): string;
sx(key?: string, when?: boolean, params?: {}): unknown;
get parent(): any;
get $style(): any;
protected readonly cn: typeof cn;
static ɵfac: i0.ɵɵFactoryDeclaration<BaseComponent, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseComponent, never, never, { "dt": { "alias": "dt"; "required": false; }; }, {}, never, never, true, never>;
}
export { BaseComponent, BaseComponentStyle };