2015-04-10 06:45:02 -04:00
|
|
|
/**
|
|
|
|
* @module
|
|
|
|
* @public
|
|
|
|
* @description
|
2015-05-20 21:10:30 -04:00
|
|
|
* This module is used for handling user input, by defining and building a {@link ControlGroup} that
|
|
|
|
* consists of
|
|
|
|
* {@link Control} objects, and mapping them onto the DOM. {@link Control} objects can then be used
|
|
|
|
* to read information
|
2015-04-17 16:01:07 -04:00
|
|
|
* from the form DOM elements.
|
2015-04-10 14:15:01 -04:00
|
|
|
*
|
2015-05-20 21:10:30 -04:00
|
|
|
* This module is not included in the `angular2` module; you must import the forms module
|
|
|
|
* explicitly.
|
2015-04-14 00:00:52 -04:00
|
|
|
*
|
2015-04-10 06:45:02 -04:00
|
|
|
*/
|
|
|
|
|
2015-06-19 19:33:49 -04:00
|
|
|
export {AbstractControl, Control, ControlGroup, ControlArray} from './src/forms/model';
|
|
|
|
|
2015-07-07 18:53:16 -04:00
|
|
|
export {AbstractControlDirective} from './src/forms/directives/abstract_control_directive';
|
2015-06-19 19:33:49 -04:00
|
|
|
export {NgControlName} from './src/forms/directives/ng_control_name';
|
|
|
|
export {NgFormControl} from './src/forms/directives/ng_form_control';
|
|
|
|
export {NgModel} from './src/forms/directives/ng_model';
|
|
|
|
export {NgControl} from './src/forms/directives/ng_control';
|
|
|
|
export {NgControlGroup} from './src/forms/directives/ng_control_group';
|
|
|
|
export {NgFormModel} from './src/forms/directives/ng_form_model';
|
|
|
|
export {NgForm} from './src/forms/directives/ng_form';
|
|
|
|
export {ControlValueAccessor} from './src/forms/directives/control_value_accessor';
|
|
|
|
export {DefaultValueAccessor} from './src/forms/directives/default_value_accessor';
|
|
|
|
export {CheckboxControlValueAccessor} from './src/forms/directives/checkbox_value_accessor';
|
|
|
|
export {SelectControlValueAccessor} from './src/forms/directives/select_control_value_accessor';
|
|
|
|
export {formDirectives} from './src/forms/directives';
|
|
|
|
export {Validators} from './src/forms/validators';
|
|
|
|
export {NgValidator, NgRequiredValidator} from './src/forms/directives/validators';
|
|
|
|
export {FormBuilder} from './src/forms/form_builder';
|
2015-06-10 01:38:19 -04:00
|
|
|
|
|
|
|
import {FormBuilder} from './src/forms/form_builder';
|
|
|
|
import {CONST_EXPR, Type} from './src/facade/lang';
|
2015-06-19 19:33:49 -04:00
|
|
|
|
|
|
|
export const formInjectables: List<Type> = CONST_EXPR([FormBuilder]);
|