@ng-ui-libraries/forms
Version:
36 lines (35 loc) • 1.25 kB
TypeScript
import { OnDestroy, OnInit, Injector } from '@angular/core';
import { FormControl, FormGroup } from '@angular/forms';
import { DragAndDrop } from '../../Service/Impl/DragAndDrop';
import { NestedSearcher } from '../../Service/Impl/NestedSearcher';
import { NgFormControl } from '../NgFormControl';
export declare class NestedFieldComponent extends NgFormControl<any> implements OnInit, OnDestroy {
injector: Injector;
name: string;
required: boolean;
disabled: boolean;
parentFormControl: FormControl;
parentFormGroup: FormGroup;
label: string;
placeholder: string;
shouldValidate: boolean;
labelPlacement: string;
selectBy: string;
searchBy: string[];
dragAndDrop: DragAndDrop;
protected searcher: NestedSearcher;
mousePosition: {
x: number;
y: number;
};
constructor(injector: Injector);
ngOnInit(): void;
onLoad(): void;
addUnitToParent(parent: any): void;
removeUnitFromParent(unit: any): void;
addToParent(unit: any, parent: any): void;
removeFromParent(unit: any, parent: any): void;
getMouseLocation($event: MouseEvent): void;
getDragPosition(): string;
isSourceParentOfDestination(source: any, destination: any): boolean;
}