ng-prime-tools
Version:
An advanced PrimeNG table for Angular
89 lines • 3.14 kB
TypeScript
import { AfterViewInit, ChangeDetectorRef } from '@angular/core';
import { CardConfig } from '../models';
import * as i0 from "@angular/core";
export declare class PTCardComponent implements AfterViewInit {
private cd;
config: CardConfig;
private static readonly DEFAULT_TITLE_COLOR;
private static readonly DEFAULT_TITLE_FONT_SIZE;
private static readonly DEFAULT_ICON_COLOR;
private static readonly DEFAULT_ICON_FONT_SIZE;
private static readonly DEFAULT_ICON_POSITION;
private static readonly DEFAULT_BACKGROUND_COLOR;
private static readonly DEFAULT_WIDTH;
private static readonly DEFAULT_HEIGHT;
private static readonly DEFAULT_TITLE_POSITION;
private static readonly DEFAULT_MENU_POSITION;
private static readonly DEFAULT_BORDER_COLOR;
private static readonly DEFAULT_BORDER_WIDTH;
private static readonly DEFAULT_TRANSPARENCY;
private static readonly DEFAULT_PADDING;
private static readonly DEFAULT_MARGIN;
ngAfterViewInit(): void;
private logPatternUrl;
isTitleObject(): boolean;
hasTitle(): boolean;
getTitleText(): string;
getTitleStyles(): {
color: string;
fontSize: string;
'--text-align': string;
};
constructor(cd: ChangeDetectorRef);
updateStyles(): void;
getIconClass(): string | null;
getIconStyles(): {
color: string;
fontSize: string;
};
getIconPosition(): 'left' | 'right' | null;
getMenuPosition(): 'left' | 'right';
getCardStyles(): {
display: string;
flexDirection: string;
justifyContent: string;
alignItems: string;
backgroundColor: string;
backgroundImage: string;
backgroundSize: string;
backgroundPosition: "center" | "left top" | "top center" | "right top" | "left bottom" | "bottom center" | "right bottom";
backgroundRepeat: string;
width: string;
height: string;
border: string;
padding: string;
margin: string;
borderRadius: string;
boxShadow: string;
position: string;
zIndex: string | number;
};
private hexToRgba;
getBodyStyles(): {
display: string;
flexDirection: string;
justifyContent: string;
alignItems: string;
flexGrow: number;
maxWidth: string;
padding: string;
boxSizing: string;
overflowX: string;
overflowY: string;
};
getHeaderStyles(): {
display: string;
justifyContent: string;
alignItems: string;
marginBottom: string;
position: string;
};
isScrollableHorizontal(): boolean;
isScrollableVertical(): boolean;
getCardClass(): "" | "center-align";
getBodyClass(): "" | "center-align";
getHeaderClass(): "" | "center-align";
static ɵfac: i0.ɵɵFactoryDeclaration<PTCardComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PTCardComponent, "pt-card", never, { "config": { "alias": "config"; "required": false; }; }, {}, never, ["*"], false, never>;
}
//# sourceMappingURL=pt-card.component.d.ts.map