@coreui/angular
Version:
CoreUI for Angular UI components library
78 lines (77 loc) • 2.42 kB
TypeScript
import { AfterContentInit, QueryList } from '@angular/core';
import { BooleanInput } from '@angular/cdk/coercion';
import { TemplateIdDirective } from '../../shared';
import { Colors } from '../../coreui.types';
import * as i0 from "@angular/core";
export declare class WidgetStatFComponent implements AfterContentInit {
static ngAcceptInputType_padding: BooleanInput;
/**
* Sets the color context of the component to one of CoreUI’s themed colors.
* @type Colors
*/
color?: Colors;
/**
* Sets the text-color context of the component to one of CoreUI’s themed colors.
* @type Colors
*/
textColor?: Colors | 'white' | 'muted';
/**
* Footer for your widget
* @type string
*/
footer?: string;
/**
* Icon for your widget
* @type string
*/
icon?: string;
/**
* Title of the widget to display
* @type string
*/
/**
* Set padding of your component.
* @type boolean
*/
get padding(): boolean;
set padding(value: boolean);
private _padding;
title?: string;
/**
* Value for your widget to display
* @type string
*/
value?: string | number;
templates: any;
contentTemplates: QueryList<TemplateIdDirective>;
get hostClasses(): {
card: boolean;
};
get cardBodyClasses(): {
'd-flex': boolean;
'align-items-center': boolean;
'p-0': boolean;
};
get iconClasses(): {
[x: string]: boolean;
'me-3': boolean;
'text-white': boolean;
'p-3': boolean;
'p-4': boolean;
};
get titleClasses(): {
[x: string]: boolean;
'text-medium-emphasis': boolean;
small: boolean;
'text-uppercase': boolean;
'fw-semibold': boolean;
};
get valueClasses(): {
[x: string]: boolean;
'fs-6': boolean;
'fw-semibold': boolean;
};
ngAfterContentInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<WidgetStatFComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<WidgetStatFComponent, "c-widget-stat-f", ["cWidgetStatB"], { "color": "color"; "textColor": "textColor"; "footer": "footer"; "icon": "icon"; "padding": "padding"; "title": "title"; "value": "value"; }, {}, ["contentTemplates"], never, false>;
}