@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
32 lines (31 loc) • 1.52 kB
TypeScript
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from "@angular/core";
import { AbstractControl, FormGroup } from "@angular/forms";
import { Observable } from "rxjs";
import { EventBus, IEvent } from "@nova-ui/bits";
import { ITimeseriesWidgetData } from "../../../../../components/timeseries-widget/types";
import { PizzagnaService } from "../../../../../pizzagna/services/pizzagna.service";
import { IHasChangeDetector, IHasForm } from "../../../../../types";
import { ITimeseriesItemConfiguration } from "../types";
export declare class TimeseriesSeriesCollectionConfigurationComponent implements IHasChangeDetector, IHasForm, OnDestroy, OnChanges {
pizzagnaService: PizzagnaService;
changeDetector: ChangeDetectorRef;
private eventBus;
static lateLoadKey: string;
nodes: string[];
componentId: string;
series: ITimeseriesItemConfiguration[];
availableSeries: ITimeseriesWidgetData[];
allSeries: ITimeseriesWidgetData[];
formReady: EventEmitter<any>;
form: FormGroup;
emptySeries$: Observable<boolean>;
private readonly destroy$;
constructor(pizzagnaService: PizzagnaService, changeDetector: ChangeDetectorRef, eventBus: EventBus<IEvent>);
ngOnDestroy(): void;
ngOnChanges(changes: SimpleChanges): void;
onFormReady(form: AbstractControl): void;
onItemsChange(series: ITimeseriesItemConfiguration[]): void;
isPossibleToAddSeries(): boolean;
addSeries(): void;
private createSeriesConfigComponents;
}