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

41 lines (40 loc) 2.48 kB
import { ChangeDetectorRef, EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from "@angular/core"; import { FormBuilder, FormGroup } from "@angular/forms"; import { EventBus, IEvent } from "@nova-ui/bits"; import { TimeseriesChartPreset } from "../../../../../components/timeseries-widget/types"; import { IHasChangeDetector, IHasForm } from "../../../../../types"; import { LegendPlacement } from "../../../../../widget-types/common/widget/legend"; import { ConfiguratorHeadingService } from "../../../../services/configurator-heading.service"; import * as i0 from "@angular/core"; export interface ITimeseriesChartTypeOption { label: string; value: TimeseriesChartPreset; } export interface ITimeSpanOption { id: string; name: string; } export declare class TimeseriesMetadataConfigurationComponent implements IHasChangeDetector, IHasForm, OnInit, OnChanges, OnDestroy { changeDetector: ChangeDetectorRef; configuratorHeading: ConfiguratorHeadingService; private formBuilder; private eventBus; static lateLoadKey: string; legendPlacements: LegendPlacement[]; timeSpans: ITimeSpanOption[]; startingTimespan: any; legendPlacement: LegendPlacement; leftAxisLabel: string; preset: TimeseriesChartPreset; availableChartTypes: ITimeseriesChartTypeOption[]; formReady: EventEmitter<FormGroup<any>>; form: FormGroup; private readonly destroy$; constructor(changeDetector: ChangeDetectorRef, configuratorHeading: ConfiguratorHeadingService, formBuilder: FormBuilder, eventBus: EventBus<IEvent>); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; getSecondaryText(): string; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<TimeseriesMetadataConfigurationComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TimeseriesMetadataConfigurationComponent, "nui-timeseries-metadata-configuration", never, { "legendPlacements": { "alias": "legendPlacements"; "required": false; }; "timeSpans": { "alias": "timeSpans"; "required": false; }; "startingTimespan": { "alias": "startingTimespan"; "required": false; }; "legendPlacement": { "alias": "legendPlacement"; "required": false; }; "leftAxisLabel": { "alias": "leftAxisLabel"; "required": false; }; "preset": { "alias": "preset"; "required": false; }; "availableChartTypes": { "alias": "availableChartTypes"; "required": false; }; }, { "formReady": "formReady"; }, never, never, false, never>; }