1
|
import { FormArray, FormControl, FormGroup } from '../model';
|
2
|
import { AbstractFormGroupDirective } from './abstract_form_group_directive';
|
3
|
import { ControlContainer } from './control_container';
|
4
|
import { ControlValueAccessor } from './control_value_accessor';
|
5
|
import { NgControl } from './ng_control';
|
6
|
import { FormArrayName } from './reactive_directives/form_group_name';
|
7
|
import { AsyncValidatorFn, Validator, ValidatorFn } from './validators';
|
8
|
export declare function controlPath(name: string, parent: ControlContainer): string[];
|
9
|
export declare function setUpControl(control: FormControl, dir: NgControl): void;
|
10
|
export declare function cleanUpControl(control: FormControl, dir: NgControl): void;
|
11
|
export declare function setUpFormContainer(control: FormGroup | FormArray, dir: AbstractFormGroupDirective | FormArrayName): void;
|
12
|
export declare function composeValidators(validators: Array<Validator | Function>): ValidatorFn | null;
|
13
|
export declare function composeAsyncValidators(validators: Array<Validator | Function>): AsyncValidatorFn | null;
|
14
|
export declare function isPropertyUpdated(changes: {
|
15
|
[key: string]: any;
|
16
|
}, viewModel: any): boolean;
|
17
|
export declare function isBuiltInAccessor(valueAccessor: ControlValueAccessor): boolean;
|
18
|
export declare function selectValueAccessor(dir: NgControl, valueAccessors: ControlValueAccessor[]): ControlValueAccessor | null;
|