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.85 kB
import { ChangeDetectorRef, EventEmitter, OnChanges, SimpleChanges } from "@angular/core"; import { AbstractControl, FormBuilder, FormGroup } from "@angular/forms"; import { Observable } from "rxjs"; import { EventBus, IEvent } from "@nova-ui/bits"; import { PizzagnaService } from "../../../../../pizzagna/services/pizzagna.service"; import { IHasChangeDetector, IHasForm } from "../../../../../types"; import { IItemConfiguration } from "../../../types"; import { IKpiItemConfiguration } from "../types"; import * as i0 from "@angular/core"; /** * This component and its related form represent a collection of KPI tile configuration components */ export declare class KpiTilesConfigurationComponent implements IHasChangeDetector, IHasForm, OnChanges { pizzagnaService: PizzagnaService; changeDetector: ChangeDetectorRef; private formBuilder; private eventBus; static lateLoadKey: string; componentId: string; tiles: IKpiItemConfiguration[]; nodes: string[]; formReady: EventEmitter<FormGroup<any>>; form: FormGroup; emptyItems$: Observable<boolean>; constructor(pizzagnaService: PizzagnaService, changeDetector: ChangeDetectorRef, formBuilder: FormBuilder, eventBus: EventBus<IEvent>); ngOnChanges(changes: SimpleChanges): void; onFormReady(form: AbstractControl): void; onItemsChange(tiles: IItemConfiguration[]): void; addTile(): void; static ɵfac: i0.ɵɵFactoryDeclaration<KpiTilesConfigurationComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<KpiTilesConfigurationComponent, "nui-kpi-tiles-configuration-component", never, { "componentId": { "alias": "componentId"; "required": false; }; "tiles": { "alias": "tiles"; "required": false; }; "nodes": { "alias": "nodes"; "required": false; }; }, { "formReady": "formReady"; }, never, never, false, never>; }