UNPKG

design-angular-kit

Version:

Un toolkit Angular conforme alle linee guida di design per i servizi web della PA

45 lines (44 loc) 1.87 kB
import { ActivatedRoute } from '@angular/router'; import * as i0 from "@angular/core"; import * as i1 from "../../../utils/coercion"; export declare class ItErrorPageComponent { private readonly route; /** * The error code to show */ errorCode: number | 404 | 403 | 500 | undefined; /** * Show/Hide error code * @default true - show */ showErrorCode?: boolean; /** * Custom error title * - If set it will be displayed instead of the default title. * - It is possible to use i18n keys */ errorTitle: string | undefined; /** * Custom error description * - If set it will be displayed instead of the default description. * - It is possible to use i18n keys */ errorDescription: string | undefined; /** * Show/Hide back button * @default true - show */ showBackButton?: boolean; /** * Show/Hide home button * @default true - show */ showHomeButton?: boolean; constructor(route: ActivatedRoute); get isDefaultErrorCode(): boolean; static ɵfac: i0.ɵɵFactoryDeclaration<ItErrorPageComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ItErrorPageComponent, "it-error-page", never, { "errorCode": { "alias": "errorCode"; "required": false; }; "showErrorCode": { "alias": "showErrorCode"; "required": false; }; "errorTitle": { "alias": "errorTitle"; "required": false; }; "errorDescription": { "alias": "errorDescription"; "required": false; }; "showBackButton": { "alias": "showBackButton"; "required": false; }; "showHomeButton": { "alias": "showHomeButton"; "required": false; }; }, {}, never, never, true, never>; static ngAcceptInputType_showErrorCode: i1.BooleanInput; static ngAcceptInputType_showBackButton: i1.BooleanInput; static ngAcceptInputType_showHomeButton: i1.BooleanInput; }