import { HttpClient } from '@angular/common/http'; import { ElementRef, OnInit } from '@angular/core'; import * as wjcSheet from '@grapecity/wijmo.grid.sheet'; import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap'; import { OdataHttpHeaders } from '../../../models'; import { ExcelTemplate } from '../../../models/aditional-report'; import { GridConfigInterface } from '../../../models/grid-config.interface'; import { AppConfigService } from '../../../services'; import { ExcelService } from '../../../services/excel.service'; import { ModalComponentInterface, ModalService } from '../../modal/modal.service'; import { BehaviorSubject, Subscription } from 'rxjs'; import { ConfigSandbox } from '../../../store/sandboxes/config.sandbox'; import { FararuToastService } from '../../toast'; import * as i0 from "@angular/core"; export type WorksheetPickerDataType = { templates: ExcelTemplate[]; selectedTemplate?: ExcelTemplate; }; export declare class GeneralWorksheetPickerModalComponent implements OnInit, ModalComponentInterface { private modalService; private activeModal; private excelService; private http; private _config; private _configSandbox; private _toast; fieldItems: any[]; gridConfig: GridConfigInterface; gridODataHttpHeaders?: OdataHttpHeaders; uploadProgress: BehaviorSubject; uploadRequest: Subscription | undefined; selectedFile: File; menuItemExcelTemplateActions: { text: string; click: (event: any, args: any) => void; }[]; selectedTemplate: ExcelTemplate; generalOdataTable: string; oDataServer: string; cancelBtnText: string; constructor(modalService: ModalService, activeModal: NgbActiveModal, excelService: ExcelService, http: HttpClient, _config: AppConfigService, _configSandbox: ConfigSandbox, _toast: FararuToastService); data: WorksheetPickerDataType; onTemplateChanged($event: ExcelTemplate): void; onChangeHandler($event: Event): void; ngOnInit(): void; flex: wjcSheet.FlexSheet; initializeFlexSheet(flex: any): void; input: ElementRef; load(): void; beforeCloseCallBack: () => boolean | Promise; onFileSelected(): void; onTemplateCreated($event: any): void; saveClickCallback: () => Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }