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

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