embed-empty.component.d.ts 1.7 KB

12345678910111213141516171819202122232425262728293031323334
  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 { Portal } from '@angular/cdk/portal';
  6. import { ChangeDetectorRef, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
  7. import { NzConfigService } from 'ng-zorro-antd/core/config';
  8. import { NzSafeAny } from 'ng-zorro-antd/core/types';
  9. import { NzEmptyCustomContent, NzEmptySize } from './config';
  10. import * as i0 from "@angular/core";
  11. type NzEmptyContentType = 'component' | 'template' | 'string';
  12. export declare class NzEmbedEmptyComponent implements OnChanges, OnInit, OnDestroy {
  13. private configService;
  14. private viewContainerRef;
  15. private cdr;
  16. private injector;
  17. nzComponentName?: string;
  18. specificContent?: NzEmptyCustomContent;
  19. content?: NzEmptyCustomContent;
  20. contentType: NzEmptyContentType;
  21. contentPortal?: Portal<NzSafeAny>;
  22. size: NzEmptySize;
  23. private destroy$;
  24. constructor(configService: NzConfigService, viewContainerRef: ViewContainerRef, cdr: ChangeDetectorRef, injector: Injector);
  25. ngOnChanges(changes: SimpleChanges): void;
  26. ngOnInit(): void;
  27. ngOnDestroy(): void;
  28. private renderEmpty;
  29. private subscribeDefaultEmptyContentChange;
  30. private getUserDefaultEmptyContent;
  31. static ɵfac: i0.ɵɵFactoryDeclaration<NzEmbedEmptyComponent, never>;
  32. static ɵcmp: i0.ɵɵComponentDeclaration<NzEmbedEmptyComponent, "nz-embed-empty", ["nzEmbedEmpty"], { "nzComponentName": { "alias": "nzComponentName"; "required": false; }; "specificContent": { "alias": "specificContent"; "required": false; }; }, {}, never, never, true, never>;
  33. }
  34. export {};