/** * @license * Copyright ASW (A Software World) All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file */ import { OnInit } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { MatDialogRef } from '@angular/material/dialog'; import { Dimensions, ImageCroppedEvent, ImageTransform } from '@asoftwareworld/form-builder/image-crop'; import * as i0 from "@angular/core"; export declare class AswImageUploadDialog implements OnInit { private formBuilder; dialogRef: MatDialogRef; control: any; constants: any; aswImageCropForm: FormGroup; imageChangedEvent: any; croppedImage: any; canvasRotation: number; rotation: number; scale: number; showCropper: boolean; isImageLoaded: boolean; containWithinAspectRatio: boolean; transform: ImageTransform; constructor(formBuilder: FormBuilder, dialogRef: MatDialogRef, control: any); ngOnInit(): void; fileChangeEvent(event: any): void; removeImage(): void; imageCropped(event: ImageCroppedEvent): void; imageLoaded(): void; cropperReady(sourceImageDimensions: Dimensions): void; loadImageFailed(): void; rotateLeft(): void; rotateRight(): void; private flipAfterRotate; flipHorizontal(): void; flipVertical(): void; resetImage(): void; zoomOut(): void; zoomIn(): void; toggleContainWithinAspectRatio(): void; updateRotation(): void; onNoClick(): void; validateFormBuilder(): void; editProperty(control: any): void; onSubmit(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }