image.service.d.ts 1.1 KB

1234567891011121314151617181920212223242526
  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 { Directionality } from '@angular/cdk/bidi';
  6. import { Overlay } from '@angular/cdk/overlay';
  7. import { Injector } from '@angular/core';
  8. import { NzConfigService } from 'ng-zorro-antd/core/config';
  9. import { NzImage, NzImagePreviewOptions } from './image-preview-options';
  10. import { NzImagePreviewRef } from './image-preview-ref';
  11. import * as i0 from "@angular/core";
  12. export interface NzImageService {
  13. preview(images: NzImage[], option?: NzImagePreviewOptions): NzImagePreviewRef;
  14. }
  15. export declare class NzImageService {
  16. private overlay;
  17. private injector;
  18. private nzConfigService;
  19. private directionality;
  20. constructor(overlay: Overlay, injector: Injector, nzConfigService: NzConfigService, directionality: Directionality);
  21. private display;
  22. private attachPreviewComponent;
  23. private createOverlay;
  24. static ɵfac: i0.ɵɵFactoryDeclaration<NzImageService, never>;
  25. static ɵprov: i0.ɵɵInjectableDeclaration<NzImageService>;
  26. }