ngx-gem-spaas
Version:
This library contains services, components, images and styles to provide a unified look and way-of-working throughout GEM SPaaS.
22 lines (21 loc) • 1.05 kB
TypeScript
import { EventEmitter } from '@angular/core';
import { BaseComponent, SettingsService, SnackbarService } from 'ngx-gem-spaas';
import { ExcelSheetModel } from "../_models/excel.model";
import * as i0 from "@angular/core";
export declare class ExcelImportComponent extends BaseComponent {
private settingsService;
private snackbarService;
tooltipMsg: string;
sheetsImported: EventEmitter<ExcelSheetModel[]>;
rawFileContent: ArrayBuffer | string | null;
private settings;
private static parseWorksheet;
constructor(settingsService: SettingsService, snackbarService: SnackbarService);
private getSettings;
readFile(e: any): void;
private parseExcel;
private parseCsv;
private emitSheets;
static ɵfac: i0.ɵɵFactoryDeclaration<ExcelImportComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ExcelImportComponent, "spaas-excel-import", never, { "tooltipMsg": { "alias": "tooltipMsg"; "required": false; }; }, { "sheetsImported": "sheetsImported"; }, never, never, false, never>;
}