UNPKG

ng-zorro-antd

Version:

An enterprise-class UI components based on Ant Design and Angular

31 lines (30 loc) 1.8 kB
/** * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE */ import { Direction, Directionality } from '@angular/cdk/bidi'; import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, TemplateRef } from '@angular/core'; import * as i0 from "@angular/core"; export type NzResultIconType = 'success' | 'error' | 'info' | 'warning'; export type NzExceptionStatusType = '404' | '500' | '403'; export type NzResultStatusType = NzExceptionStatusType | NzResultIconType; export declare class NzResultComponent implements OnChanges, OnDestroy, OnInit { private cdr; private directionality; nzIcon?: string | TemplateRef<void>; nzTitle?: string | TemplateRef<void>; nzStatus: NzResultStatusType; nzSubTitle?: string | TemplateRef<void>; nzExtra?: string | TemplateRef<void>; icon?: string | TemplateRef<void>; isException: boolean; dir: Direction; private destroy$; constructor(cdr: ChangeDetectorRef, directionality: Directionality); ngOnInit(): void; ngOnChanges(): void; ngOnDestroy(): void; private setStatusIcon; static ɵfac: i0.ɵɵFactoryDeclaration<NzResultComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<NzResultComponent, "nz-result", ["nzResult"], { "nzIcon": { "alias": "nzIcon"; "required": false; }; "nzTitle": { "alias": "nzTitle"; "required": false; }; "nzStatus": { "alias": "nzStatus"; "required": false; }; "nzSubTitle": { "alias": "nzSubTitle"; "required": false; }; "nzExtra": { "alias": "nzExtra"; "required": false; }; }, {}, never, ["[nz-result-icon]", "div[nz-result-title]", "div[nz-result-subtitle]", "nz-result-content, [nz-result-content]", "div[nz-result-extra]"], true, never>; }