empty.component.d.ts 1.5 KB

123456789101112131415161718192021222324252627
  1. /**
  2. * Use of this source code is governed by an MIT-style license that can be
  3. * found in the LICENSE file at https://github.com/NG-ZORRO/ng-zorro-antd/blob/master/LICENSE
  4. */
  5. import { ChangeDetectorRef, OnChanges, OnDestroy, OnInit, SimpleChanges, TemplateRef } from '@angular/core';
  6. import { NzEmptyI18nInterface, NzI18nService } from 'ng-zorro-antd/i18n';
  7. import * as i0 from "@angular/core";
  8. declare const NzEmptyDefaultImages: readonly ["default", "simple"];
  9. type NzEmptyNotFoundImageType = (typeof NzEmptyDefaultImages)[number] | null | string | TemplateRef<void>;
  10. export declare class NzEmptyComponent implements OnChanges, OnInit, OnDestroy {
  11. private i18n;
  12. private cdr;
  13. nzNotFoundImage: NzEmptyNotFoundImageType;
  14. nzNotFoundContent?: string | TemplateRef<void> | null;
  15. nzNotFoundFooter?: string | TemplateRef<void>;
  16. isContentString: boolean;
  17. isImageBuildIn: boolean;
  18. locale: NzEmptyI18nInterface;
  19. private readonly destroy$;
  20. constructor(i18n: NzI18nService, cdr: ChangeDetectorRef);
  21. ngOnChanges(changes: SimpleChanges): void;
  22. ngOnInit(): void;
  23. ngOnDestroy(): void;
  24. static ɵfac: i0.ɵɵFactoryDeclaration<NzEmptyComponent, never>;
  25. 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>;
  26. }
  27. export {};