@noaestudio/forms
Version:
Dynamic forms extension for Covalent
33 lines (32 loc) • 901 B
TypeScript
import { ControlValueAccessor, FormControl } from '@angular/forms';
import { AbstractControlValueAccessor } from '../abstract-control-value-accesor';
/**
* Node for to-do item
*/
export declare class ItemNode {
id: number;
name: string;
children: ItemNode[];
parent: number;
checked: boolean;
}
/** Flat to-do item node with expandable and level information */
export declare class ItemFlatNode {
id: number;
name: string;
parent: number;
level: number;
expandable: boolean;
checked: boolean;
children: ItemFlatNode[];
}
export declare const INPUT_INPUT_CONTROL_VALUE_ACCESSOR: any;
export declare class ChipSelectorComponent extends AbstractControlValueAccessor implements ControlValueAccessor {
control: FormControl;
label: string;
chips: any[];
lastChip: any;
constructor();
ngOnInit(): void;
select(chip: any): void;
}