import { OnInit, OnDestroy, EventEmitter } from '@angular/core'; import { FormGroup, FormArray } from '@angular/forms'; import { NVP } from '../../shared/nvp'; import { DescriptorFormControl } from '../../descriptor/descriptor-form-control'; import { DescriptorOption } from '../../descriptor/descriptor-option'; import { LovService } from '../../services/lov.service'; import * as i0 from "@angular/core"; export declare class VedraxMultipleComponent implements OnInit, OnDestroy { private lovService; private subscription; /** * The form */ form: FormGroup; /** * The form control descriptor */ descriptor: DescriptorFormControl; /** * Emit number of options when all of them are available */ isReady: EventEmitter; /** * The options */ options: DescriptorOption[]; /** * Is selectable */ selectable: boolean; /** * Is removable */ removable: boolean; constructor(lovService: LovService); /** * List of selected value */ selections: NVP[]; ngOnInit(): void; /** * Init method */ private init; ngOnDestroy(): void; /** * Method for getting NVP if any * @param id * @returns */ private toNvp; /** * Get declared array of controls */ get formArray(): FormArray; /** * Method triggered on change * @param item */ onChange(item: any): void; /** * Method called when removed * @param key */ remove(key: string | number): void; /** * Find selection * @param key * @returns */ private find; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }