import { OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { FormBuilder, FormControl, FormGroup } from '@angular/forms'; import { MatMenuTrigger } from '@angular/material/menu'; import { CreateListValue, KnoraApiConnection, ListNodeV2, ReadListValue, ResourcePropertyDefinition, UpdateListValue } from '@dasch-swiss/dsp-js'; import { Subscription } from 'rxjs'; import { NotificationService } from '../../../action/services/notification.service'; import { BaseValueComponent } from '../base-value.component'; export declare class ListValueComponent extends BaseValueComponent implements OnInit, OnChanges, OnDestroy { private _fb; private _dspApiConnection; private _notification; displayValue?: ReadListValue; propertyDef: ResourcePropertyDefinition; valueFormControl: FormControl; commentFormControl: FormControl; listRootNode: ListNodeV2; selectedNode: ListNodeV2; form: FormGroup; valueChangesSubscription: Subscription; menuTrigger: MatMenuTrigger; customValidators: any[]; constructor(_fb: FormBuilder, _dspApiConnection: KnoraApiConnection, _notification: NotificationService); getInitValue(): string | null; resetFormControl(): void; ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngOnDestroy(): void; getNewValue(): CreateListValue | false; getUpdatedValue(): UpdateListValue | false; getSelectedNode(item: ListNodeV2): void; }