ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
31 lines (30 loc) • 1.67 kB
TypeScript
/**
* 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 declare type NzResultIconType = 'success' | 'error' | 'info' | 'warning';
export declare type NzExceptionStatusType = '404' | '500' | '403';
export declare 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, [null, { optional: true; }]>;
static ɵcmp: i0.ɵɵComponentDeclaration<NzResultComponent, "nz-result", ["nzResult"], { "nzIcon": "nzIcon"; "nzTitle": "nzTitle"; "nzStatus": "nzStatus"; "nzSubTitle": "nzSubTitle"; "nzExtra": "nzExtra"; }, {}, never, ["[nz-result-icon]", "div[nz-result-title]", "div[nz-result-subtitle]", "nz-result-content, [nz-result-content]", "div[nz-result-extra]"]>;
}