UNPKG

@c10t/nice-component-library

Version:

nice-component-library

25 lines (24 loc) 1.24 kB
import { Injector } from '@angular/core'; import { ControlValueAccessor, FormArray, FormGroup, NgControl } from '@angular/forms'; import { FileTypeEnum } from '../../enums/file-type.enum'; import * as i0 from "@angular/core"; export declare class CvaMultiUploadImgComponent implements ControlValueAccessor { private injector; private ngControl; files: any; formArray: FormArray; isFix: boolean; maxControls: number; disabled: boolean; constructor(injector: Injector, ngControl: NgControl); propagateChange: (_: any) => void; get FileTypes(): typeof FileTypeEnum; getControls(): FormGroup[]; writeValue(value: any): void; registerOnChange(fn: any): void; registerOnTouched(): void; onFileDelete(event: any): void; onFileChange(event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration<CvaMultiUploadImgComponent, [null, { optional: true; self: true; }]>; static ɵcmp: i0.ɵɵComponentDeclaration<CvaMultiUploadImgComponent, "cva-multi-upload-img", never, { "isFix": { "alias": "isFix"; "required": false; }; "maxControls": { "alias": "maxControls"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, false, never>; }