cleanup: explicitly export symbols from di, cd, forms
This commit is contained in:
parent
a057789235
commit
fa7a3e3449
@ -1,9 +1,76 @@
|
|||||||
export * from './change_detection';
|
export {
|
||||||
|
DehydratedException,
|
||||||
|
ExpressionChangedAfterItHasBeenChecked,
|
||||||
|
ChangeDetectionError,
|
||||||
|
ChangeDetection,
|
||||||
|
ON_PUSH,
|
||||||
|
DEFAULT,
|
||||||
|
ChangeDetectorRef,
|
||||||
|
PipeRegistry,
|
||||||
|
WrappedValue,
|
||||||
|
Pipe,
|
||||||
|
PipeFactory,
|
||||||
|
NullPipe,
|
||||||
|
NullPipeFactory,
|
||||||
|
defaultPipes,
|
||||||
|
DynamicChangeDetection,
|
||||||
|
JitChangeDetection,
|
||||||
|
PreGeneratedChangeDetection,
|
||||||
|
preGeneratedProtoDetectors,
|
||||||
|
defaultPipeRegistry
|
||||||
|
} from './change_detection';
|
||||||
|
|
||||||
|
export {
|
||||||
|
Inject,
|
||||||
|
InjectPromise,
|
||||||
|
InjectLazy,
|
||||||
|
Optional,
|
||||||
|
Injectable,
|
||||||
|
forwardRef,
|
||||||
|
resolveForwardRef,
|
||||||
|
ForwardRefFn,
|
||||||
|
Injector,
|
||||||
|
Binding,
|
||||||
|
bind,
|
||||||
|
Key,
|
||||||
|
NoBindingError,
|
||||||
|
AbstractBindingError,
|
||||||
|
AsyncBindingError,
|
||||||
|
CyclicDependencyError,
|
||||||
|
InstantiationError,
|
||||||
|
InvalidBindingError,
|
||||||
|
NoAnnotationError,
|
||||||
|
OpaqueToken
|
||||||
|
} from './di';
|
||||||
|
|
||||||
export * from './core';
|
export * from './core';
|
||||||
export * from './annotations';
|
export * from './annotations';
|
||||||
export * from './directives';
|
export * from './directives';
|
||||||
export * from './forms';
|
|
||||||
export * from './di';
|
export {
|
||||||
|
AbstractControl,
|
||||||
|
Control,
|
||||||
|
ControlGroup,
|
||||||
|
ControlArray,
|
||||||
|
NgControlName,
|
||||||
|
NgFormControl,
|
||||||
|
NgModel,
|
||||||
|
NgControl,
|
||||||
|
NgControlGroup,
|
||||||
|
NgFormModel,
|
||||||
|
NgForm,
|
||||||
|
ControlValueAccessor,
|
||||||
|
DefaultValueAccessor,
|
||||||
|
CheckboxControlValueAccessor,
|
||||||
|
SelectControlValueAccessor,
|
||||||
|
formDirectives,
|
||||||
|
Validators,
|
||||||
|
NgValidator,
|
||||||
|
NgRequiredValidator,
|
||||||
|
FormBuilder,
|
||||||
|
formInjectables
|
||||||
|
} from './forms';
|
||||||
|
|
||||||
export * from './http';
|
export * from './http';
|
||||||
export {Observable, EventEmitter} from 'angular2/src/facade/async';
|
export {Observable, EventEmitter} from 'angular2/src/facade/async';
|
||||||
export * from 'angular2/src/render/api';
|
export * from 'angular2/src/render/api';
|
||||||
|
@ -5,9 +5,17 @@
|
|||||||
* The `di` module provides dependency injection container services.
|
* The `di` module provides dependency injection container services.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export * from './src/di/annotations';
|
export {
|
||||||
export * from './src/di/decorators';
|
InjectAnnotation,
|
||||||
export * from './src/di/forward_ref';
|
InjectPromiseAnnotation,
|
||||||
|
InjectLazyAnnotation,
|
||||||
|
OptionalAnnotation,
|
||||||
|
InjectableAnnotation,
|
||||||
|
DependencyAnnotation
|
||||||
|
} from './src/di/annotations';
|
||||||
|
|
||||||
|
export {Inject, InjectPromise, InjectLazy, Optional, Injectable} from './src/di/decorators';
|
||||||
|
export {forwardRef, resolveForwardRef, ForwardRefFn} from './src/di/forward_ref';
|
||||||
export {resolveBindings, Injector} from './src/di/injector';
|
export {resolveBindings, Injector} from './src/di/injector';
|
||||||
export {Binding, BindingBuilder, ResolvedBinding, Dependency, bind} from './src/di/binding';
|
export {Binding, BindingBuilder, ResolvedBinding, Dependency, bind} from './src/di/binding';
|
||||||
export {Key, KeyRegistry, TypeLiteral} from './src/di/key';
|
export {Key, KeyRegistry, TypeLiteral} from './src/di/key';
|
||||||
|
@ -13,12 +13,25 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export * from './src/forms/model';
|
export {AbstractControl, Control, ControlGroup, ControlArray} from './src/forms/model';
|
||||||
export * from './src/forms/directives';
|
|
||||||
export * from './src/forms/validators';
|
export {NgControlName} from './src/forms/directives/ng_control_name';
|
||||||
export * from './src/forms/directives/validators';
|
export {NgFormControl} from './src/forms/directives/ng_form_control';
|
||||||
export * from './src/forms/form_builder';
|
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';
|
||||||
|
|
||||||
import {FormBuilder} from './src/forms/form_builder';
|
import {FormBuilder} from './src/forms/form_builder';
|
||||||
import {CONST_EXPR, Type} from './src/facade/lang';
|
import {CONST_EXPR, Type} from './src/facade/lang';
|
||||||
export const formInjectables: List<Type> = CONST_EXPR([FormBuilder]);
|
|
||||||
|
export const formInjectables: List<Type> = CONST_EXPR([FormBuilder]);
|
Loading…
x
Reference in New Issue
Block a user