import { ListWrapper, MapWrapper, Map, StringMapWrapper, } from 'angular2/src/core/facade/collection'; import { AST, ChangeDetector, ChangeDetectorRef, ChangeDispatcher, DirectiveIndex, DirectiveRecord, BindingTarget, Locals, ProtoChangeDetector } from 'angular2/src/core/change_detection/change_detection'; import {DebugContext} from 'angular2/src/core/change_detection/interfaces'; import { ProtoElementInjector, ElementInjector, PreBuiltObjects, DirectiveBinding } from './element_injector'; import {ElementBinder} from './element_binder'; import {isPresent, isBlank} from 'angular2/src/core/facade/lang'; import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions'; import * as renderApi from 'angular2/src/core/render/api'; import {RenderEventDispatcher} from 'angular2/src/core/render/api'; import {ViewRef, ProtoViewRef, internalView} from './view_ref'; import {ElementRef} from './element_ref'; import {ProtoPipes} from 'angular2/src/core/pipes/pipes'; import {camelCaseToDashCase} from 'angular2/src/core/render/dom/util'; import {TemplateCmd} from './template_commands'; import {ViewRef_, ProtoViewRef_} from "./view_ref"; export {DebugContext} from 'angular2/src/core/change_detection/interfaces'; const REFLECT_PREFIX: string = 'ng-reflect-'; export enum ViewType { // A view that contains the host element with bound component directive. // Contains a COMPONENT view HOST, // The view of the component // Can contain 0 to n EMBEDDED views COMPONENT, // A view that is embedded into another View via a