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

29 lines (28 loc) 1.46 kB
import { ChangeDetectorRef, OnChanges, OnInit, SimpleChanges } from "@angular/core"; import { Moment } from "moment/moment"; import { EventBus, HistoryStorage, IDataSource, IEvent, ITimeframe, TimeframeService } from "@nova-ui/bits"; import { TimeframeSerializationService } from "../../configurator/services/timeframe-serialization.service"; import { PizzagnaService } from "../../pizzagna/services/pizzagna.service"; import { IHasChangeDetector, ISerializableTimeframe } from "../../types"; export declare class TimeframeSelectionComponent implements OnChanges, OnInit, IHasChangeDetector { private pizzagnaService; timeframeService: TimeframeService; private tfSerialization; history: HistoryStorage<ITimeframe>; private dataSource; private eventBus; changeDetector: ChangeDetectorRef; static lateLoadKey: string; currentTimeframe: ITimeframe; minDateAsMoment: Moment; maxDateAsMoment: Moment; componentId: string; minDate: string; maxDate: string; timeframe: ISerializableTimeframe; elementClass: string; constructor(pizzagnaService: PizzagnaService, timeframeService: TimeframeService, tfSerialization: TimeframeSerializationService, history: HistoryStorage<ITimeframe>, dataSource: IDataSource, eventBus: EventBus<IEvent>, changeDetector: ChangeDetectorRef); ngOnChanges(changes: SimpleChanges): void; ngOnInit(): void; onTimeframeChange(timeframe: ITimeframe): void; }