import { EventEmitter, OnInit } from '@angular/core'; import { FormBuilder, FormGroup } from '@angular/forms'; import { AlertService, DateUtils, EntityFileService, FileDropperConfig, FormValidatorService, ViewerConfig } from 'ngx-techlify-core'; import { FixedAssetDocumentService } from '../fixed-asset-document.service'; import * as i0 from "@angular/core"; export declare class FixedAssetDocumentFormComponent implements OnInit { private formBuilder; private entityFileService; private formValidatorService; private alertService; private dateUtils; private fixedAssetDocumentService; fixedAssetDocument: any; fixedAssetId: number; saved: EventEmitter; cancelled: EventEmitter; form: FormGroup; fileDropperConfig: FileDropperConfig; selectedFile: any; updateMode: boolean; viewerConfig: ViewerConfig; errorMessages: any; isSaving: boolean; isFileChanged: boolean; constructor(formBuilder: FormBuilder, entityFileService: EntityFileService, formValidatorService: FormValidatorService, alertService: AlertService, dateUtils: DateUtils, fixedAssetDocumentService: FixedAssetDocumentService); ngOnInit(): void; /** * Upload a file. * * @param event */ fileChanged(event: any): Promise; removeFile(): void; isFieldValid(field: string): any; getErrorMessage(field: string): any; /** * Save the fixed asset document. */ save(): void; /** * Create a new Entity File record for the document. * * @param document * @private */ private createEntityFileRecord; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }