UNPKG

@nova-ui/dashboards

Version:

Nova Dashboards is a framework designed to provide feature developers with a common solution for presenting data coming from various sources within a single view, as well as a set of predefined widget visualizations that are 100% configuration-driven and

35 lines (34 loc) 1.81 kB
import { ChangeDetectorRef, OnChanges, SimpleChanges } from "@angular/core"; import { EventBus, IDataSource, IEvent } from "@nova-ui/bits"; import { IKpiConfiguration, IKpiData, IKpiFormatterProperties } from "./types"; import { IHasChangeDetector } from "../../types"; import { IBroker } from "../providers/types"; import * as i0 from "@angular/core"; export declare class KpiComponent implements IHasChangeDetector, OnChanges { changeDetector: ChangeDetectorRef; dataSource: IDataSource; eventBus: EventBus<IEvent>; static lateLoadKey: string; widgetData: IKpiData; backgroundColor: string; syncValuesBroker: IBroker[]; configuration: IKpiConfiguration; busy: boolean; elementClass: string; formattersProperties: IKpiFormatterProperties; defaultColor: string; get interactive(): boolean; constructor(changeDetector: ChangeDetectorRef, dataSource: IDataSource, eventBus: EventBus<IEvent>); onInteraction(): void; getScaleBroker(id: string): IBroker | undefined; ngOnChanges(changes: SimpleChanges): void; get showEmpty(): boolean; /** * Iterates over formatters and maps their properties from the data * * @param formattersConfiguration */ private getFormatterProperties; static ɵfac: i0.ɵɵFactoryDeclaration<KpiComponent, [null, { optional: true; }, null]>; static ɵcmp: i0.ɵɵComponentDeclaration<KpiComponent, "nui-kpi", never, { "widgetData": { "alias": "widgetData"; "required": false; }; "backgroundColor": { "alias": "backgroundColor"; "required": false; }; "syncValuesBroker": { "alias": "syncValuesBroker"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "busy": { "alias": "busy"; "required": false; }; }, {}, never, never, false, never>; }