@universis/common
Version:
Universis - common directives and services
37 lines (36 loc) • 1.81 kB
TypeScript
import { OnDestroy, OnInit, Renderer2 } from '@angular/core';
import { ErrorService } from '../../error.service';
import { TranslateService } from '@ngx-translate/core';
import { ActivatedRoute, Router } from '@angular/router';
import * as i0 from "@angular/core";
export declare class ErrorBaseComponent implements OnInit, OnDestroy {
protected _errorService: ErrorService;
protected _translateService: TranslateService;
protected _renderer: Renderer2;
isUserLoggedIn: boolean;
code: string;
title: string | undefined;
message: string | undefined;
continue: string | undefined;
action: string;
continueLinkIsAbsolute: boolean;
iconClass: string;
constructor(_errorService: ErrorService, _translateService: TranslateService, _renderer: Renderer2);
get displayCode(): string;
ngOnInit(): void;
continueIsAbsolute(): boolean;
ngOnDestroy(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<ErrorBaseComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<ErrorBaseComponent, "universis-error-base", never, { "action": "action"; "iconClass": "iconClass"; }, {}, never, never, false, never>;
}
export declare class HttpErrorComponent extends ErrorBaseComponent implements OnInit, OnDestroy {
protected _errorService: ErrorService;
protected _translateService: TranslateService;
private _router;
private _route;
protected _renderer: Renderer2;
constructor(_errorService: ErrorService, _translateService: TranslateService, _router: Router, _route: ActivatedRoute, _renderer: Renderer2);
ngOnInit(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<HttpErrorComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<HttpErrorComponent, ".m-error.m-error--http", never, {}, {}, never, never, false, never>;
}