bitfront-library
Version:
Angular CLI project with components and classes used by other Angular projects of the BIT foundation.
28 lines (27 loc) • 1.1 kB
TypeScript
import { OnDestroy, OnInit } from "@angular/core";
import { MessageService } from "../service/message.service";
import { BitMessage } from "../data/bitmessage";
import { Error } from "../data/error";
import * as i0 from "@angular/core";
export declare class BitDialogComponent implements OnInit, OnDestroy {
static MENSAJE_VOID: string;
display: boolean;
message: BitMessage;
height: number;
private subscriptionMessages;
private subscriptionErrors;
constructor(messageService: MessageService);
ngOnInit(): void;
showMessage(message: BitMessage): void;
showError(error: Error): void;
get isSeverityInfo(): boolean;
/**
* Calcula la altura del diálogo en función de la información a mostrar.
* TODO: Contar las líneas reales del mensaje en vez de la longitud
*/
private calculateHeightNumber;
ngOnDestroy(): void;
syntaxHighlight(json: any): any;
static ɵfac: i0.ɵɵFactoryDef<BitDialogComponent, never>;
static ɵcmp: i0.ɵɵComponentDefWithMeta<BitDialogComponent, "bit-dialog", never, {}, {}, never, never>;
}