import { OnInit, EventEmitter, OnDestroy } from '@angular/core'; import { TextChart } from './text-chart'; import { ChartComponent } from 'ng-apexcharts'; import { MatMenuTrigger } from '@angular/material/menu'; import { ResizeEvent } from 'angular-resizable-element'; import { ChartProperty } from '../chart/chart-property'; import { Report } from '../../../../common-utils/report'; import { ReportBuilderMasterService } from '../../report-builder-master.service'; import { SendToDashboardService } from '../../../../dashboard-lib/send-to-dashboard.service'; import { CommonService } from '../../../../common.service'; import { GhostLoaderType } from '../../../../ghost-loader/ghost-loader.component'; import * as i0 from "@angular/core"; export declare class TextComponent implements OnInit, OnDestroy { private _reportBuilderMasterService; private _sendToDashboardService; private _commonService; /*** * MatMenuTrigger Use for right click on the chart action */ contextMenu: MatMenuTrigger; reportData: TextChart; onchartClickedEvent: EventEmitter; onchartRightClickDeleteEvent: EventEmitter; isEditable: boolean; chartRendered: EventEmitter; textContainer: ChartComponent; uniquekey: number; report: Report; contextMenuPosition: { x: string; y: string; }; property: ChartProperty; /**** * Resize chart styles */ style: any; showGhostLoader: boolean; GhostLoaderType: typeof GhostLoaderType; private _unsubscribeAll; /** * Constructor * */ constructor(_reportBuilderMasterService: ReportBuilderMasterService, _sendToDashboardService: SendToDashboardService, _commonService: CommonService); click(event: any): void; ngOnInit(): void; /** * On destroy */ ngOnDestroy(): void; onTextChartClicked(): void; /*** * On chart context click Function */ onContextMenu(event: MouseEvent, chart: TextChart): void; /*** * Delete chart Function */ onChartRightClickDelete(): void; /**** * chartResizeMinDimensions = this function use Resize min dimensions validation */ chartResizeMinDimensions(event: ResizeEvent): boolean; /**** * onResizeEnd = this function use for resize the chart */ onResizeEnd(event: ResizeEvent): void; onChartRightClickSendToDashboard(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }