ng-prime-tools
Version:
An advanced PrimeNG table for Angular
81 lines • 2.7 kB
TypeScript
import { LabelSetting, MetricCardData } from '../models';
import * as i0 from "@angular/core";
export declare class PTMetricCardComponent {
private static readonly DEFAULT_ICON_COLOR;
private static readonly DEFAULT_ICON_SIZE;
private static readonly DEFAULT_TITLE_COLOR;
private static readonly DEFAULT_TITLE_SIZE;
private static readonly DEFAULT_VALUE_COLOR;
private static readonly DEFAULT_VALUE_SIZE;
private static readonly DEFAULT_LABEL_COLOR;
private static readonly DEFAULT_LABEL_SIZE;
private static readonly DEFAULT_ADDITIONAL_INFO_COLOR;
private static readonly DEFAULT_ADDITIONAL_INFO_SIZE;
private static readonly DEFAULT_BACKGROUND_COLOR;
cardData: MetricCardData;
isIconObject(): boolean;
isTitleObject(): boolean;
isValueObject(): boolean;
isLabelObject(label: LabelSetting | string | undefined): boolean;
isAdditionalInfoObject(): boolean;
getIconText(): string;
getTitleText(): string;
getValueText(): string;
getLabelText(): string;
getAdditionalInfoText(): string;
getIconStyles(): {
color: string;
fontSize: string;
'background-color': string;
'border-radius': string;
padding: string;
display: string;
} | {
color?: undefined;
fontSize?: undefined;
'background-color'?: undefined;
'border-radius'?: undefined;
padding?: undefined;
display?: undefined;
};
getTitleStyles(): {
color: string;
fontSize: string;
fontWeight: string;
} | {
color?: undefined;
fontSize?: undefined;
fontWeight?: undefined;
};
getValueStyles(): {
color: string;
fontSize: string;
fontWeight: string;
};
getLabelStyles(position: 'left' | 'right'): {
color: string;
fontSize: string;
fontWeight: string;
};
getAdditionalInfoStyles(): {
color: string;
fontSize: string;
fontWeight: string;
};
isLabelOnLeft(): boolean;
isLabelOnRight(): boolean;
getMetricCardContainerStyle(): {
'min-width': string;
'max-width': string;
width: string;
};
getMetricCardStyle(): {
'background-color': string;
'min-width': string;
'max-width': string;
width: string;
};
static ɵfac: i0.ɵɵFactoryDeclaration<PTMetricCardComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PTMetricCardComponent, "pt-metric-card", never, { "cardData": { "alias": "cardData"; "required": false; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=pt-metric-card.component.d.ts.map