import { AfterViewInit, ElementRef, OnDestroy, OnInit } from "@angular/core"; import { CoreService, NotificationService } from "inet-core"; import { ChartService } from "../chart.service"; import { Subscription } from "rxjs"; import { ActivatedRoute, Router } from "@angular/router"; import { Location } from "@angular/common"; import { ChartItem, DatasetItem } from "../../model/chart"; import { Store } from "@ngrx/store"; import { IAppState } from "../../core/store/state/app.state"; import { NgSelectComponent } from "@ng-select/ng-select"; import { IAttribute, IColumnSchema, IDataMapping, IField, IParamsChart, IQueryContext, IResMetadata, IResSearchTemplateItem, IVizType, IResChart, SQLSchema } from "../model/template"; import { FormBuilder, FormGroup } from "@angular/forms"; import { IMessage } from "../model/chart"; import { TranslateService } from "@ngx-translate/core"; import { ChartDeleteComponent } from "../chart-delete/chart-delete.component"; import { ShareService } from "../../share/share.service"; import { ChartPublishDialogComponent } from "../chart-publish-dialog/chart-publish-dialog.component"; import { TabDirective } from "ngx-bootstrap/tabs"; import { ViewDataChartComponent } from "../../layout-common/view-data-chart/view-data-chart.component"; import { KeyValue } from "../model/chart-custom"; import { MappingChartAction } from "../model/chart-action"; import * as i0 from "@angular/core"; export declare class ChartMappingComponent implements OnInit, AfterViewInit, OnDestroy { private chartService; private router; private route; private location; private shareService; private notification; private coreService; private store; private translate; private fb; ngOrgan: NgSelectComponent; keywordInput: ElementRef; iframeVisualizeMapping: ElementRef; chartDelete: ChartDeleteComponent; dialogPublish: ChartPublishDialogComponent; dataChart: ViewDataChartComponent; plugin: any; isPlugin: boolean; dsType: string; dsCategory: string; dsTable: string; dataTemplate: IResSearchTemplateItem; chart: IResChart; uuidTemplate: string; uuidChart: string; schemas: SQLSchema; arrayNumber: IColumnSchema[]; arrayString: IColumnSchema[]; arrayDate: IColumnSchema[]; arrayChar: IColumnSchema[]; arrayVarchar: IColumnSchema[]; arrDataMapping: IDataMapping[]; attribute: IAttribute; queryContext: IQueryContext; form: FormGroup; loadingSuccsess: boolean; formChart: FormGroup; typeSubmit: string; paramsChart: IParamsChart; fields: IField[]; isValid: boolean; urlVisualizeChart: string; urlImgLoading: string; queriesData: any; formData: any; showDefault: boolean; vizType: IVizType; eventResizeVisualize: EventListenerOrEventListenerObject; getMessageApp: EventListenerOrEventListenerObject; resizeTimeout: any; width: number; height: number; thumbnail: string; desc: string; title: string; actionCurrent: string; action: typeof MappingChartAction; isViewPublish: boolean; isViewAction: boolean; isOpenRightBar: boolean; isEditInfo: boolean; datasets: IResMetadata; tabCurrent: string; showDefaultGird: string; viewDataChart: any; rightBarSub$?: Subscription; contentHTML: string; selectValue: KeyValue; arrLoop: KeyValue[]; arrSelect: KeyValue[]; handHTML: any; private actionTranslate; private readonly translateSubscription; constructor(chartService: ChartService, router: Router, route: ActivatedRoute, location: Location, shareService: ShareService, notification: NotificationService, coreService: CoreService, store: Store, translate: TranslateService, fb: FormBuilder); ngOnDestroy(): void; ngOnInit(): void; ngAfterViewInit(): void; iframeLoadDone(): void; encodeBase64(str: string): string; decodeBase64(str: string): string; getImageUrl(__value: string): string; loadOneTemplate(): void; getMetadata(reSelect?: boolean): void; getMetadataEdit(): void; handleDataset(res: IResSearchTemplateItem): void; handleGetColumnByType(res: IResMetadata): void; handleLoadChart(res: IResChart, reSelect: boolean): void; handleCommon(res: IResSearchTemplateItem | IResChart): void; getMessageMapping(event: any): void; sendDataVisualizeChart(): void; eventResizeScreen(): void; sendMessage(message: IMessage): void; sendScriptToVisualChart(): void; onApply(): void; getCustomDataVisualize(): void; onSave(): void; loadChart(): void; back(): void; onChangeDataset(dataset: DatasetItem): void; deleteChart(): void; editInfoChart(): void; backBar(isOpen?: boolean, onDestroy?: boolean): void; onPublishAction(): void; onChart(): void; onCopyPath(): void; onView(): void; onExplore(): void; updateSuccess(event: any): void; onDelete(item: ChartItem): void; editSuccess(value: ChartItem): void; onSelect(event: TabDirective): void; pathResult(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }