123456789101112131415161718192021222324252627 |
- /**
- * 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 { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
- import { NzEmptyI18nInterface, NzI18nService } from 'ng-zorro-antd/i18n';
- import * as i0 from "@angular/core";
- declare const NzEmptyDefaultImages: readonly ["default", "simple"];
- type NzEmptyNotFoundImageType = (typeof NzEmptyDefaultImages)[number] | null | string | TemplateRef<void>;
- export declare class NzEmptyComponent implements OnChanges, OnInit, OnDestroy {
- private i18n;
- private cdr;
- nzNotFoundImage: NzEmptyNotFoundImageType;
- nzNotFoundContent?: string | TemplateRef<void> | null;
- nzNotFoundFooter?: string | TemplateRef<void>;
- isContentString: boolean;
- isImageBuildIn: boolean;
- locale: NzEmptyI18nInterface;
- private readonly destroy$;
- constructor(i18n: NzI18nService, cdr: ChangeDetectorRef);
- ngOnChanges(changes: SimpleChanges): void;
- ngOnInit(): void;
- ngOnDestroy(): void;
- static ɵfac: i0.ɵɵFactoryDeclaration<NzEmptyComponent, never>;
- static ɵcmp: i0.ɵɵComponentDeclaration<NzEmptyComponent, "nz-empty", ["nzEmpty"], { "nzNotFoundImage": { "alias": "nzNotFoundImage"; "required": false; }; "nzNotFoundContent": { "alias": "nzNotFoundContent"; "required": false; }; "nzNotFoundFooter": { "alias": "nzNotFoundFooter"; "required": false; }; }, {}, never, never, true, never>;
- }
- export {};
|