[59329aa] | 1 | import { ElementRef, TemplateRef, AfterContentInit, QueryList, EventEmitter, ChangeDetectorRef } from '@angular/core';
|
---|
| 2 | import { PrimeNGConfig } from 'primeng/api';
|
---|
| 3 | import { AnimationEvent } from '@angular/animations';
|
---|
| 4 | import * as i0 from "@angular/core";
|
---|
| 5 | import * as i1 from "@angular/common";
|
---|
| 6 | import * as i2 from "primeng/api";
|
---|
| 7 | export declare class Image implements AfterContentInit {
|
---|
| 8 | private config;
|
---|
| 9 | private cd;
|
---|
| 10 | imageClass: string;
|
---|
| 11 | imageStyle: any;
|
---|
| 12 | styleClass: string;
|
---|
| 13 | style: any;
|
---|
| 14 | src: string;
|
---|
| 15 | alt: string;
|
---|
| 16 | width: string;
|
---|
| 17 | height: string;
|
---|
| 18 | appendTo: any;
|
---|
| 19 | preview: boolean;
|
---|
| 20 | showTransitionOptions: string;
|
---|
| 21 | hideTransitionOptions: string;
|
---|
| 22 | onShow: EventEmitter<any>;
|
---|
| 23 | onHide: EventEmitter<any>;
|
---|
| 24 | mask: ElementRef;
|
---|
| 25 | templates: QueryList<any>;
|
---|
| 26 | indicatorTemplate: TemplateRef<any>;
|
---|
| 27 | maskVisible: boolean;
|
---|
| 28 | previewVisible: boolean;
|
---|
| 29 | rotate: number;
|
---|
| 30 | scale: number;
|
---|
| 31 | previewClick: boolean;
|
---|
| 32 | container: HTMLElement;
|
---|
| 33 | wrapper: HTMLElement;
|
---|
| 34 | constructor(config: PrimeNGConfig, cd: ChangeDetectorRef);
|
---|
| 35 | ngAfterContentInit(): void;
|
---|
| 36 | onImageClick(): void;
|
---|
| 37 | onMaskClick(): void;
|
---|
| 38 | onPreviewImageClick(): void;
|
---|
| 39 | rotateRight(): void;
|
---|
| 40 | rotateLeft(): void;
|
---|
| 41 | zoomIn(): void;
|
---|
| 42 | zoomOut(): void;
|
---|
| 43 | zoomDisabled(): boolean;
|
---|
| 44 | onAnimationStart(event: AnimationEvent): void;
|
---|
| 45 | onAnimationEnd(event: AnimationEvent): void;
|
---|
| 46 | moveOnTop(): void;
|
---|
| 47 | appendContainer(): void;
|
---|
| 48 | imagePreviewStyle(): {
|
---|
| 49 | transform: string;
|
---|
| 50 | };
|
---|
| 51 | containerClass(): {
|
---|
| 52 | 'p-image p-component': boolean;
|
---|
| 53 | 'p-image-preview-container': boolean;
|
---|
| 54 | };
|
---|
| 55 | static ɵfac: i0.ɵɵFactoryDeclaration<Image, never>;
|
---|
| 56 | static ɵcmp: i0.ɵɵComponentDeclaration<Image, "p-image", never, { "imageClass": "imageClass"; "imageStyle": "imageStyle"; "styleClass": "styleClass"; "style": "style"; "src": "src"; "alt": "alt"; "width": "width"; "height": "height"; "appendTo": "appendTo"; "preview": "preview"; "showTransitionOptions": "showTransitionOptions"; "hideTransitionOptions": "hideTransitionOptions"; }, { "onShow": "onShow"; "onHide": "onHide"; }, ["templates"], never>;
|
---|
| 57 | }
|
---|
| 58 | export declare class ImageModule {
|
---|
| 59 | static ɵfac: i0.ɵɵFactoryDeclaration<ImageModule, never>;
|
---|
| 60 | static ɵmod: i0.ɵɵNgModuleDeclaration<ImageModule, [typeof Image], [typeof i1.CommonModule], [typeof Image, typeof i2.SharedModule]>;
|
---|
| 61 | static ɵinj: i0.ɵɵInjectorDeclaration<ImageModule>;
|
---|
| 62 | }
|
---|