import { ChartImageData } from './interfaces/chart-image-data'; import { OnChanges, SimpleChanges } from '@angular/core'; import { GenericComponentInputs } from './interfaces/generic-component-inputs'; import { ZoomData } from './interfaces/zoom-data'; import { GalenDataService } from './services/galen-data/galen-data.service'; import { GalenUser } from './models/galen-user'; import { HttpClient } from '@angular/common/http'; import { ChartType } from '../lib/enums/chart-type'; import { ProgressSpinnerMode } from '@angular/material/progress-spinner'; import { ThemePalette } from '@angular/material/core'; import * as i0 from "@angular/core"; export declare class KiteaGalenPortalComponent implements OnChanges { ownerId: string; currentUser: GalenUser; genericComponentInputs: GenericComponentInputs; http: HttpClient; /** A flag emitted from the icp-trend-chart component * for whenever the dataCollection table has been updated inside of the galen data service */ isDataCollectionRetrieved: boolean | undefined; /** The relevant zoom data emitted from the icp-trend component */ zoomData?: ZoomData; /** Stores the relevant chart url data of each chart's image to later display onto the pdf */ childrenChartPdfData: Map; /** An alarm to send off to all components to emit their corrsponding chartDataUrl so that they * can be formatted onto a pdf */ generatePdfDataAlarm: boolean; /** An alarm to notify other components to reset their charts */ restoreChartAlarm?: ChartType; /** Contains the number of confirmations received from the components that they restored their charts */ numberOfChartAlarmConfirms: number; galenDataService: GalenDataService; isOwnerTheCurrentUser: boolean; isLoading: boolean; mode: ProgressSpinnerMode; loadingColor: ThemePalette; ngOnChanges(changes: SimpleChanges): void; /** * Callback for the `@Output dataCollecionRetrievedEvent` from the icp-trend-chart * component * @param isDataCollectionRetrieved */ onDataCollectionRetrievedEvent(isDataCollectionRetrieved: boolean | undefined): void; onGeneratePdfClick(): void; onExportToCsv(): void; onRestoreChartEvent(restore: ChartType): void; /** * Callback for the `zoomDataEvent` @Output directive. In other words, whenever * any instantiated component emits from their `zoomDataEvent` variable, this function * will be called * @param zoomData The relevant ZoomData that was emitted */ onZoomDataEvent(zoomData: ZoomData): void; /** * Callback for the `@Output chartImageData` from ANY component. Stores the given `chartImageData` * in an array, and whenever all the required data has been received, this function will produce * the proper pdf with the chart data * @param chartImageData */ onChartImageData(chartImageData: ChartImageData): Promise; refreshCharts(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }