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
64 lines (60 loc) • 2.01 kB
TypeScript
import { UseStyle } from 'primeng/usestyle';
import * as i0 from '@angular/core';
declare const _default: {
_loadedStyleNames: Set<unknown>;
getLoadedStyleNames(): any;
isStyleNameLoaded(name: any): any;
setLoadedStyleName(name: any): void;
deleteLoadedStyleName(name: any): void;
clearLoadedStyleNames(): void;
};
declare class BaseStyle {
name: string;
useStyle: UseStyle;
theme: any;
css: any;
classes: {};
inlineStyles: {};
load: (style: any, options?: {}, transform?: (cs: any) => any) => {};
loadCSS: (options?: {}) => {};
loadTheme: (options?: any, style?: string) => {};
loadGlobalCSS: (options?: {}) => {};
loadGlobalTheme: (options?: any, style?: string) => {};
getCommonTheme: (params?: any) => {
primitive: {
css: string | undefined;
tokens: any;
};
semantic: {
css: string | undefined;
tokens: any[] | undefined;
};
global: {
css: string | undefined;
tokens: any[] | undefined;
};
style: string | undefined;
};
getComponentTheme: (params: any) => {
css: string | undefined;
tokens: any[] | undefined;
style: string | undefined;
};
getDirectiveTheme: (params: any) => {
css: string | undefined;
tokens: any[] | undefined;
style: string | undefined;
};
getPresetTheme: (preset: any, selector: any, params: any) => {
css: string | undefined;
tokens: any[] | undefined;
style: string | undefined;
};
getLayerOrderThemeCSS: () => string;
getStyleSheet: (extendedCSS?: string, props?: {}) => string;
getCommonThemeStyleSheet: (params: any, props?: {}) => any;
getThemeStyleSheet: (params: any, props?: {}) => string;
static ɵfac: i0.ɵɵFactoryDeclaration<BaseStyle, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<BaseStyle>;
}
export { _default as Base, BaseStyle };