refactor(core): move facades out of core
This is part of ongoing work to make core platform-independent. BREAKING CHANGE All private exports from 'angular2/src/core/facade/{lang,collection,exception_handler}' should be replaced with 'angular2/src/facade/{lang,collection,exception_handler}'.
This commit is contained in:
parent
3593d85807
commit
79472b77ca
|
@ -5,7 +5,7 @@ export 'package:angular2/src/core/metadata.dart';
|
||||||
export 'package:angular2/src/core/util.dart';
|
export 'package:angular2/src/core/util.dart';
|
||||||
export 'package:angular2/src/core/di.dart';
|
export 'package:angular2/src/core/di.dart';
|
||||||
export 'package:angular2/src/common/pipes.dart';
|
export 'package:angular2/src/common/pipes.dart';
|
||||||
export 'package:angular2/src/core/facade.dart';
|
export 'package:angular2/src/facade/facade.dart';
|
||||||
// Do not export application for dart. Must import from angular2/bootstrap
|
// Do not export application for dart. Must import from angular2/bootstrap
|
||||||
//export 'package:angular2/src/core/application.dart';
|
//export 'package:angular2/src/core/application.dart';
|
||||||
export 'package:angular2/src/core/application_ref.dart'
|
export 'package:angular2/src/core/application_ref.dart'
|
||||||
|
|
|
@ -7,7 +7,7 @@ export * from './src/core/metadata';
|
||||||
export * from './src/core/util';
|
export * from './src/core/util';
|
||||||
export * from './src/core/di';
|
export * from './src/core/di';
|
||||||
export * from './src/common/pipes';
|
export * from './src/common/pipes';
|
||||||
export * from './src/core/facade';
|
export * from './src/facade/facade';
|
||||||
export * from './src/core/application';
|
export * from './src/core/application';
|
||||||
export * from './src/core/bootstrap';
|
export * from './src/core/bootstrap';
|
||||||
export * from './src/core/services';
|
export * from './src/core/services';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
||||||
import {Promise} from 'angular2/src/core/facade/async';
|
import {Promise} from 'angular2/src/facade/async';
|
||||||
|
|
||||||
function waitForElement(selector) {
|
function waitForElement(selector) {
|
||||||
var EC = (<any>protractor).ExpectedConditions;
|
var EC = (<any>protractor).ExpectedConditions;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
||||||
import {Promise} from 'angular2/src/core/facade/async';
|
import {Promise} from 'angular2/src/facade/async';
|
||||||
|
|
||||||
function waitForElement(selector) {
|
function waitForElement(selector) {
|
||||||
var EC = (<any>protractor).ExpectedConditions;
|
var EC = (<any>protractor).ExpectedConditions;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
||||||
import {Promise} from 'angular2/src/core/facade/async';
|
import {Promise} from 'angular2/src/facade/async';
|
||||||
|
|
||||||
function waitForElement(selector) {
|
function waitForElement(selector) {
|
||||||
var EC = (<any>protractor).ExpectedConditions;
|
var EC = (<any>protractor).ExpectedConditions;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
||||||
import {Promise} from 'angular2/src/core/facade/async';
|
import {Promise} from 'angular2/src/facade/async';
|
||||||
|
|
||||||
function waitForElement(selector) {
|
function waitForElement(selector) {
|
||||||
var EC = (<any>protractor).ExpectedConditions;
|
var EC = (<any>protractor).ExpectedConditions;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
import {verifyNoBrowserErrors} from 'angular2/src/testing/e2e_util';
|
||||||
import {Promise} from 'angular2/src/core/facade/async';
|
import {Promise} from 'angular2/src/facade/async';
|
||||||
|
|
||||||
function waitForElement(selector) {
|
function waitForElement(selector) {
|
||||||
var EC = (<any>protractor).ExpectedConditions;
|
var EC = (<any>protractor).ExpectedConditions;
|
||||||
|
|
|
@ -28,8 +28,8 @@ import {RouterLink} from './src/router/router_link';
|
||||||
import {RouteRegistry} from './src/router/route_registry';
|
import {RouteRegistry} from './src/router/route_registry';
|
||||||
import {Location} from './src/router/location';
|
import {Location} from './src/router/location';
|
||||||
import {ApplicationRef, provide, OpaqueToken, Provider} from 'angular2/angular2';
|
import {ApplicationRef, provide, OpaqueToken, Provider} from 'angular2/angular2';
|
||||||
import {CONST_EXPR} from './src/core/facade/lang';
|
import {CONST_EXPR} from './src/facade/lang';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -4,10 +4,10 @@ import {
|
||||||
RegExpWrapper,
|
RegExpWrapper,
|
||||||
NumberWrapper,
|
NumberWrapper,
|
||||||
isPresent
|
isPresent
|
||||||
} from 'angular2/src/core/facade/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
import {Math} from 'angular2/src/core/facade/math';
|
import {Math} from 'angular2/src/facade/math';
|
||||||
import {camelCaseToDashCase} from 'angular2/src/core/render/dom/util';
|
import {camelCaseToDashCase} from 'angular2/src/core/render/dom/util';
|
||||||
import {StringMapWrapper} from 'angular2/src/core/facade/collection';
|
import {StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
||||||
|
|
||||||
import {BrowserDetails} from './browser_details';
|
import {BrowserDetails} from './browser_details';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {Math} from 'angular2/src/core/facade/math';
|
import {Math} from 'angular2/src/facade/math';
|
||||||
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
||||||
|
|
||||||
@Injectable()
|
@Injectable()
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {CONST_EXPR, Type} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR, Type} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
import {FORM_DIRECTIVES} from './forms';
|
import {FORM_DIRECTIVES} from './forms';
|
||||||
import {CORE_DIRECTIVES} from './directives';
|
import {CORE_DIRECTIVES} from './directives';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {CONST_EXPR, Type} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR, Type} from 'angular2/src/facade/lang';
|
||||||
import {NgClass} from './ng_class';
|
import {NgClass} from './ng_class';
|
||||||
import {NgFor} from './ng_for';
|
import {NgFor} from './ng_for';
|
||||||
import {NgIf} from './ng_if';
|
import {NgIf} from './ng_if';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {isPresent, isString, StringWrapper, isBlank, isArray} from 'angular2/src/core/facade/lang';
|
import {isPresent, isString, StringWrapper, isBlank, isArray} from 'angular2/src/facade/lang';
|
||||||
import {DoCheck, OnDestroy} from 'angular2/lifecycle_hooks';
|
import {DoCheck, OnDestroy} from 'angular2/lifecycle_hooks';
|
||||||
import {Directive} from 'angular2/src/core/metadata';
|
import {Directive} from 'angular2/src/core/metadata';
|
||||||
import {ElementRef} from 'angular2/src/core/linker';
|
import {ElementRef} from 'angular2/src/core/linker';
|
||||||
|
@ -9,7 +9,7 @@ import {
|
||||||
KeyValueDiffers
|
KeyValueDiffers
|
||||||
} from 'angular2/src/core/change_detection';
|
} from 'angular2/src/core/change_detection';
|
||||||
import {Renderer} from 'angular2/src/core/render';
|
import {Renderer} from 'angular2/src/core/render';
|
||||||
import {StringMapWrapper, isListLikeIterable} from 'angular2/src/core/facade/collection';
|
import {StringMapWrapper, isListLikeIterable} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The `NgClass` directive conditionally adds and removes CSS classes on an HTML element based on
|
* The `NgClass` directive conditionally adds and removes CSS classes on an HTML element based on
|
||||||
|
|
|
@ -6,7 +6,7 @@ import {
|
||||||
IterableDiffers
|
IterableDiffers
|
||||||
} from 'angular2/src/core/change_detection';
|
} from 'angular2/src/core/change_detection';
|
||||||
import {ViewContainerRef, TemplateRef, ViewRef} from 'angular2/src/core/linker';
|
import {ViewContainerRef, TemplateRef, ViewRef} from 'angular2/src/core/linker';
|
||||||
import {isPresent, isBlank} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The `NgFor` directive instantiates a template once per item from an iterable. The context for
|
* The `NgFor` directive instantiates a template once per item from an iterable. The context for
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {Directive} from 'angular2/src/core/metadata';
|
import {Directive} from 'angular2/src/core/metadata';
|
||||||
import {ViewContainerRef, TemplateRef} from 'angular2/src/core/linker';
|
import {ViewContainerRef, TemplateRef} from 'angular2/src/core/linker';
|
||||||
import {isBlank} from 'angular2/src/core/facade/lang';
|
import {isBlank} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Removes or recreates a portion of the DOM tree based on an {expression}.
|
* Removes or recreates a portion of the DOM tree based on an {expression}.
|
||||||
|
|
|
@ -6,7 +6,7 @@ import {
|
||||||
import {ElementRef} from 'angular2/src/core/linker';
|
import {ElementRef} from 'angular2/src/core/linker';
|
||||||
import {Directive} from 'angular2/src/core/metadata';
|
import {Directive} from 'angular2/src/core/metadata';
|
||||||
import {Renderer} from 'angular2/src/core/render';
|
import {Renderer} from 'angular2/src/core/render';
|
||||||
import {isPresent, isBlank, print} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank, print} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The `NgStyle` directive changes styles based on a result of expression evaluation.
|
* The `NgStyle` directive changes styles based on a result of expression evaluation.
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import {Directive} from 'angular2/src/core/metadata';
|
import {Directive} from 'angular2/src/core/metadata';
|
||||||
import {Host} from 'angular2/src/core/di';
|
import {Host} from 'angular2/src/core/di';
|
||||||
import {ViewContainerRef, TemplateRef} from 'angular2/src/core/linker';
|
import {ViewContainerRef, TemplateRef} from 'angular2/src/core/linker';
|
||||||
import {isPresent, isBlank, normalizeBlank, CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank, normalizeBlank, CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper, Map} from 'angular2/src/core/facade/collection';
|
import {ListWrapper, Map} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
const _WHEN_DEFAULT = CONST_EXPR(new Object());
|
const _WHEN_DEFAULT = CONST_EXPR(new Object());
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
// TS does not have Observables
|
// TS does not have Observables
|
||||||
|
|
||||||
// I need to be here to make TypeScript think this is a module.
|
// I need to be here to make TypeScript think this is a module.
|
||||||
import {} from 'angular2/src/core/facade/lang';
|
import {} from 'angular2/src/facade/lang';
|
||||||
export var workaround_empty_observable_list_diff: any;
|
export var workaround_empty_observable_list_diff: any;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {Type, CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {Type, CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {NgControlName} from './directives/ng_control_name';
|
import {NgControlName} from './directives/ng_control_name';
|
||||||
import {NgFormControl} from './directives/ng_form_control';
|
import {NgFormControl} from './directives/ng_form_control';
|
||||||
import {NgModel} from './directives/ng_model';
|
import {NgModel} from './directives/ng_model';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {AbstractControl} from '../model';
|
import {AbstractControl} from '../model';
|
||||||
import {isPresent} from 'angular2/src/core/facade/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {unimplemented} from 'angular2/src/core/facade/exceptions';
|
import {unimplemented} from 'angular2/src/facade/exceptions';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Base class for control directives.
|
* Base class for control directives.
|
||||||
|
|
|
@ -4,7 +4,7 @@ import {ElementRef} from 'angular2/src/core/linker';
|
||||||
import {Self, forwardRef, Provider} from 'angular2/src/core/di';
|
import {Self, forwardRef, Provider} from 'angular2/src/core/di';
|
||||||
|
|
||||||
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';
|
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';
|
||||||
import {CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {setProperty} from './shared';
|
import {setProperty} from './shared';
|
||||||
|
|
||||||
const CHECKBOX_VALUE_ACCESSOR = CONST_EXPR(new Provider(
|
const CHECKBOX_VALUE_ACCESSOR = CONST_EXPR(new Provider(
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {OpaqueToken} from 'angular2/src/core/di';
|
import {OpaqueToken} from 'angular2/src/core/di';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -3,7 +3,7 @@ import {ElementRef} from 'angular2/src/core/linker';
|
||||||
import {Renderer} from 'angular2/src/core/render';
|
import {Renderer} from 'angular2/src/core/render';
|
||||||
import {Self, forwardRef, Provider} from 'angular2/src/core/di';
|
import {Self, forwardRef, Provider} from 'angular2/src/core/di';
|
||||||
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';
|
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';
|
||||||
import {isBlank, CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {isBlank, CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {setProperty} from './shared';
|
import {setProperty} from './shared';
|
||||||
|
|
||||||
const DEFAULT_VALUE_ACCESSOR = CONST_EXPR(new Provider(
|
const DEFAULT_VALUE_ACCESSOR = CONST_EXPR(new Provider(
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {ControlValueAccessor} from './control_value_accessor';
|
import {ControlValueAccessor} from './control_value_accessor';
|
||||||
import {AbstractControlDirective} from './abstract_control_directive';
|
import {AbstractControlDirective} from './abstract_control_directive';
|
||||||
import {unimplemented} from 'angular2/src/core/facade/exceptions';
|
import {unimplemented} from 'angular2/src/facade/exceptions';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A base class that all control directive extend.
|
* A base class that all control directive extend.
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import {OnInit, OnDestroy} from 'angular2/lifecycle_hooks';
|
import {OnInit, OnDestroy} from 'angular2/lifecycle_hooks';
|
||||||
import {Directive} from 'angular2/src/core/metadata';
|
import {Directive} from 'angular2/src/core/metadata';
|
||||||
import {Optional, Inject, Host, SkipSelf, forwardRef, Provider} from 'angular2/src/core/di';
|
import {Optional, Inject, Host, SkipSelf, forwardRef, Provider} from 'angular2/src/core/di';
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
import {ControlContainer} from './control_container';
|
import {ControlContainer} from './control_container';
|
||||||
import {controlPath, composeValidators, composeAsyncValidators} from './shared';
|
import {controlPath, composeValidators, composeAsyncValidators} from './shared';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {EventEmitter, ObservableWrapper} from 'angular2/src/core/facade/async';
|
import {EventEmitter, ObservableWrapper} from 'angular2/src/facade/async';
|
||||||
import {OnChanges, OnDestroy} from 'angular2/lifecycle_hooks';
|
import {OnChanges, OnDestroy} from 'angular2/lifecycle_hooks';
|
||||||
import {SimpleChange} from 'angular2/src/core/change_detection';
|
import {SimpleChange} from 'angular2/src/core/change_detection';
|
||||||
import {Query, Directive} from 'angular2/src/core/metadata';
|
import {Query, Directive} from 'angular2/src/core/metadata';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {Directive} from 'angular2/src/core/metadata';
|
import {Directive} from 'angular2/src/core/metadata';
|
||||||
import {Self} from 'angular2/src/core/di';
|
import {Self} from 'angular2/src/core/di';
|
||||||
import {NgControl} from './ng_control';
|
import {NgControl} from './ng_control';
|
||||||
import {isBlank, isPresent} from 'angular2/src/core/facade/lang';
|
import {isBlank, isPresent} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
@Directive({
|
@Directive({
|
||||||
selector: '[ng-control],[ng-model],[ng-form-control]',
|
selector: '[ng-control],[ng-model],[ng-form-control]',
|
||||||
|
|
|
@ -3,9 +3,9 @@ import {
|
||||||
ObservableWrapper,
|
ObservableWrapper,
|
||||||
EventEmitter,
|
EventEmitter,
|
||||||
PromiseCompleter
|
PromiseCompleter
|
||||||
} from 'angular2/src/core/facade/async';
|
} from 'angular2/src/facade/async';
|
||||||
import {StringMapWrapper, ListWrapper} from 'angular2/src/core/facade/collection';
|
import {StringMapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {isPresent, isBlank, CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank, CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {Directive} from 'angular2/src/core/metadata';
|
import {Directive} from 'angular2/src/core/metadata';
|
||||||
import {forwardRef, Provider, Optional, Inject} from 'angular2/src/core/di';
|
import {forwardRef, Provider, Optional, Inject} from 'angular2/src/core/di';
|
||||||
import {NgControl} from './ng_control';
|
import {NgControl} from './ng_control';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {StringMapWrapper} from 'angular2/src/core/facade/collection';
|
import {StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {EventEmitter, ObservableWrapper} from 'angular2/src/core/facade/async';
|
import {EventEmitter, ObservableWrapper} from 'angular2/src/facade/async';
|
||||||
import {OnChanges} from 'angular2/lifecycle_hooks';
|
import {OnChanges} from 'angular2/lifecycle_hooks';
|
||||||
import {SimpleChange} from 'angular2/src/core/change_detection';
|
import {SimpleChange} from 'angular2/src/core/change_detection';
|
||||||
import {Query, Directive} from 'angular2/src/core/metadata';
|
import {Query, Directive} from 'angular2/src/core/metadata';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper, StringMapWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {ObservableWrapper, EventEmitter} from 'angular2/src/core/facade/async';
|
import {ObservableWrapper, EventEmitter} from 'angular2/src/facade/async';
|
||||||
import {SimpleChange} from 'angular2/src/core/change_detection';
|
import {SimpleChange} from 'angular2/src/core/change_detection';
|
||||||
|
|
||||||
import {OnChanges} from 'angular2/lifecycle_hooks';
|
import {OnChanges} from 'angular2/lifecycle_hooks';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {EventEmitter, ObservableWrapper} from 'angular2/src/core/facade/async';
|
import {EventEmitter, ObservableWrapper} from 'angular2/src/facade/async';
|
||||||
import {OnChanges} from 'angular2/lifecycle_hooks';
|
import {OnChanges} from 'angular2/lifecycle_hooks';
|
||||||
import {SimpleChange} from 'angular2/src/core/change_detection';
|
import {SimpleChange} from 'angular2/src/core/change_detection';
|
||||||
import {Query, Directive} from 'angular2/src/core/metadata';
|
import {Query, Directive} from 'angular2/src/core/metadata';
|
||||||
|
|
|
@ -3,7 +3,7 @@ import {ElementRef} from 'angular2/src/core/linker';
|
||||||
import {Renderer} from 'angular2/src/core/render';
|
import {Renderer} from 'angular2/src/core/render';
|
||||||
import {Self, forwardRef, Provider} from 'angular2/src/core/di';
|
import {Self, forwardRef, Provider} from 'angular2/src/core/di';
|
||||||
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';
|
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';
|
||||||
import {isBlank, CONST_EXPR, NumberWrapper} from 'angular2/src/core/facade/lang';
|
import {isBlank, CONST_EXPR, NumberWrapper} from 'angular2/src/facade/lang';
|
||||||
import {setProperty} from './shared';
|
import {setProperty} from './shared';
|
||||||
|
|
||||||
const NUMBER_VALUE_ACCESSOR = CONST_EXPR(new Provider(
|
const NUMBER_VALUE_ACCESSOR = CONST_EXPR(new Provider(
|
||||||
|
|
|
@ -3,9 +3,9 @@ import {Renderer} from 'angular2/src/core/render';
|
||||||
import {ElementRef, QueryList} from 'angular2/src/core/linker';
|
import {ElementRef, QueryList} from 'angular2/src/core/linker';
|
||||||
import {Query, Directive} from 'angular2/src/core/metadata';
|
import {Query, Directive} from 'angular2/src/core/metadata';
|
||||||
|
|
||||||
import {ObservableWrapper} from 'angular2/src/core/facade/async';
|
import {ObservableWrapper} from 'angular2/src/facade/async';
|
||||||
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';
|
import {NG_VALUE_ACCESSOR, ControlValueAccessor} from './control_value_accessor';
|
||||||
import {CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {setProperty} from './shared';
|
import {setProperty} from './shared';
|
||||||
|
|
||||||
const SELECT_VALUE_ACCESSOR = CONST_EXPR(new Provider(
|
const SELECT_VALUE_ACCESSOR = CONST_EXPR(new Provider(
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {ListWrapper, StringMapWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {isBlank, isPresent, looseIdentical} from 'angular2/src/core/facade/lang';
|
import {isBlank, isPresent, looseIdentical} from 'angular2/src/facade/lang';
|
||||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
||||||
|
|
||||||
import {ControlContainer} from './control_container';
|
import {ControlContainer} from './control_container';
|
||||||
import {NgControl} from './ng_control';
|
import {NgControl} from './ng_control';
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {forwardRef, Provider, OpaqueToken} from 'angular2/src/core/di';
|
import {forwardRef, Provider, OpaqueToken} from 'angular2/src/core/di';
|
||||||
import {CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {Attribute, Directive} from 'angular2/src/core/metadata';
|
import {Attribute, Directive} from 'angular2/src/core/metadata';
|
||||||
import {Validators, NG_VALIDATORS} from '../validators';
|
import {Validators, NG_VALIDATORS} from '../validators';
|
||||||
import {Control} from '../model';
|
import {Control} from '../model';
|
||||||
import * as modelModule from '../model';
|
import * as modelModule from '../model';
|
||||||
import {NumberWrapper} from "angular2/src/core/facade/lang";
|
import {NumberWrapper} from "angular2/src/facade/lang";
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {StringMapWrapper} from 'angular2/src/core/facade/collection';
|
import {StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {isPresent, isArray, CONST_EXPR, Type} from 'angular2/src/core/facade/lang';
|
import {isPresent, isArray, CONST_EXPR, Type} from 'angular2/src/facade/lang';
|
||||||
import * as modelModule from './model';
|
import * as modelModule from './model';
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {StringWrapper, isPresent, isBlank, normalizeBool} from 'angular2/src/core/facade/lang';
|
import {StringWrapper, isPresent, isBlank, normalizeBool} from 'angular2/src/facade/lang';
|
||||||
import {Observable, EventEmitter, ObservableWrapper} from 'angular2/src/core/facade/async';
|
import {Observable, EventEmitter, ObservableWrapper} from 'angular2/src/facade/async';
|
||||||
import {PromiseWrapper} from 'angular2/src/core/facade/promise';
|
import {PromiseWrapper} from 'angular2/src/facade/promise';
|
||||||
import {StringMapWrapper, ListWrapper} from 'angular2/src/core/facade/collection';
|
import {StringMapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates that a Control is valid, i.e. that no errors exist in the input value.
|
* Indicates that a Control is valid, i.e. that no errors exist in the input value.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {isBlank, isPresent, CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {isBlank, isPresent, CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
import {PromiseWrapper} from 'angular2/src/core/facade/promise';
|
import {PromiseWrapper} from 'angular2/src/facade/promise';
|
||||||
import {ObservableWrapper} from 'angular2/src/core/facade/async';
|
import {ObservableWrapper} from 'angular2/src/facade/async';
|
||||||
import {ListWrapper, StringMapWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {OpaqueToken} from 'angular2/src/core/di';
|
import {OpaqueToken} from 'angular2/src/core/di';
|
||||||
|
|
||||||
import * as modelModule from './model';
|
import * as modelModule from './model';
|
||||||
|
|
|
@ -10,7 +10,7 @@ import {JsonPipe} from './pipes/json_pipe';
|
||||||
import {SlicePipe} from './pipes/slice_pipe';
|
import {SlicePipe} from './pipes/slice_pipe';
|
||||||
import {DatePipe} from './pipes/date_pipe';
|
import {DatePipe} from './pipes/date_pipe';
|
||||||
import {DecimalPipe, PercentPipe, CurrencyPipe} from './pipes/number_pipe';
|
import {DecimalPipe, PercentPipe, CurrencyPipe} from './pipes/number_pipe';
|
||||||
import {CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export {AsyncPipe} from './pipes/async_pipe';
|
export {AsyncPipe} from './pipes/async_pipe';
|
||||||
export {DatePipe} from './pipes/date_pipe';
|
export {DatePipe} from './pipes/date_pipe';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {isBlank, isPresent, isPromise, CONST} from 'angular2/src/core/facade/lang';
|
import {isBlank, isPresent, isPromise, CONST} from 'angular2/src/facade/lang';
|
||||||
import {Promise, ObservableWrapper, Observable, EventEmitter} from 'angular2/src/core/facade/async';
|
import {Promise, ObservableWrapper, Observable, EventEmitter} from 'angular2/src/facade/async';
|
||||||
import {Pipe} from 'angular2/src/core/metadata';
|
import {Pipe} from 'angular2/src/core/metadata';
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -10,7 +10,7 @@ import {JsonPipe} from './json_pipe';
|
||||||
import {SlicePipe} from './slice_pipe';
|
import {SlicePipe} from './slice_pipe';
|
||||||
import {DatePipe} from './date_pipe';
|
import {DatePipe} from './date_pipe';
|
||||||
import {DecimalPipe, PercentPipe, CurrencyPipe} from './number_pipe';
|
import {DecimalPipe, PercentPipe, CurrencyPipe} from './number_pipe';
|
||||||
import {CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export const COMMON_PIPES = CONST_EXPR([
|
export const COMMON_PIPES = CONST_EXPR([
|
||||||
AsyncPipe,
|
AsyncPipe,
|
||||||
|
|
|
@ -7,12 +7,12 @@ import {
|
||||||
CONST,
|
CONST,
|
||||||
isBlank,
|
isBlank,
|
||||||
FunctionWrapper
|
FunctionWrapper
|
||||||
} from 'angular2/src/core/facade/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
import {DateFormatter} from 'angular2/src/core/facade/intl';
|
import {DateFormatter} from 'angular2/src/facade/intl';
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {Pipe} from 'angular2/src/core/metadata';
|
import {Pipe} from 'angular2/src/core/metadata';
|
||||||
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
||||||
import {StringMapWrapper, ListWrapper} from 'angular2/src/core/facade/collection';
|
import {StringMapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
|
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {CONST, Type} from 'angular2/src/core/facade/lang';
|
import {CONST, Type} from 'angular2/src/facade/lang';
|
||||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
||||||
|
|
||||||
export class InvalidPipeArgumentException extends BaseException {
|
export class InvalidPipeArgumentException extends BaseException {
|
||||||
constructor(type: Type, value: Object) {
|
constructor(type: Type, value: Object) {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {isBlank, isPresent, Json, CONST} from 'angular2/src/core/facade/lang';
|
import {isBlank, isPresent, Json, CONST} from 'angular2/src/facade/lang';
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
||||||
import {Pipe} from 'angular2/src/core/metadata';
|
import {Pipe} from 'angular2/src/core/metadata';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {isString, CONST, isBlank} from 'angular2/src/core/facade/lang';
|
import {isString, CONST, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
||||||
import {Pipe} from 'angular2/src/core/metadata';
|
import {Pipe} from 'angular2/src/core/metadata';
|
||||||
|
|
|
@ -7,13 +7,13 @@ import {
|
||||||
RegExpWrapper,
|
RegExpWrapper,
|
||||||
CONST,
|
CONST,
|
||||||
FunctionWrapper
|
FunctionWrapper
|
||||||
} from 'angular2/src/core/facade/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
||||||
import {NumberFormatter, NumberFormatStyle} from 'angular2/src/core/facade/intl';
|
import {NumberFormatter, NumberFormatStyle} from 'angular2/src/facade/intl';
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
||||||
import {Pipe} from 'angular2/src/core/metadata';
|
import {Pipe} from 'angular2/src/core/metadata';
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
|
import {InvalidPipeArgumentException} from './invalid_pipe_argument_exception';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {isBlank, isString, isArray, StringWrapper, CONST} from 'angular2/src/core/facade/lang';
|
import {isBlank, isString, isArray, StringWrapper, CONST} from 'angular2/src/facade/lang';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
|
|
||||||
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {isString, CONST, isBlank} from 'angular2/src/core/facade/lang';
|
import {isString, CONST, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {Pipe} from 'angular2/src/core/metadata';
|
import {Pipe} from 'angular2/src/core/metadata';
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
import {PipeTransform, WrappedValue} from 'angular2/src/core/change_detection';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {isBlank} from 'angular2/src/core/facade/lang';
|
import {isBlank} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Specifies app root url for the application.
|
* Specifies app root url for the application.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {isPresent, isBlank} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {reflector} from 'angular2/src/core/reflection/reflection';
|
import {reflector} from 'angular2/src/core/reflection/reflection';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -5,7 +5,7 @@ import {
|
||||||
} from 'angular2/src/core/change_detection/change_detection_jit_generator';
|
} from 'angular2/src/core/change_detection/change_detection_jit_generator';
|
||||||
|
|
||||||
import {createChangeDetectorDefinitions} from './change_definition_factory';
|
import {createChangeDetectorDefinitions} from './change_definition_factory';
|
||||||
import {IS_DART, isJsObject, CONST_EXPR} from 'angular2/src/core/facade/lang';
|
import {IS_DART, isJsObject, CONST_EXPR} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
ChangeDetectorGenConfig,
|
ChangeDetectorGenConfig,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {isPresent, isBlank, Type, isString, StringWrapper} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank, Type, isString, StringWrapper} from 'angular2/src/facade/lang';
|
||||||
import {SetWrapper, StringMapWrapper, ListWrapper} from 'angular2/src/core/facade/collection';
|
import {SetWrapper, StringMapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {
|
import {
|
||||||
TemplateCmd,
|
TemplateCmd,
|
||||||
text,
|
text,
|
||||||
|
|
|
@ -8,7 +8,7 @@ export {
|
||||||
export {SourceModule, SourceWithImports} from './source_module';
|
export {SourceModule, SourceWithImports} from './source_module';
|
||||||
export {AMBIENT_DIRECTIVES, AMBIENT_PIPES} from 'angular2/src/core/ambient';
|
export {AMBIENT_DIRECTIVES, AMBIENT_PIPES} from 'angular2/src/core/ambient';
|
||||||
|
|
||||||
import {assertionsEnabled, Type} from 'angular2/src/core/facade/lang';
|
import {assertionsEnabled, Type} from 'angular2/src/facade/lang';
|
||||||
import {provide, Provider} from 'angular2/src/core/di';
|
import {provide, Provider} from 'angular2/src/core/di';
|
||||||
import {TemplateParser} from 'angular2/src/compiler/template_parser';
|
import {TemplateParser} from 'angular2/src/compiler/template_parser';
|
||||||
import {HtmlParser} from 'angular2/src/compiler/html_parser';
|
import {HtmlParser} from 'angular2/src/compiler/html_parser';
|
||||||
|
|
|
@ -6,8 +6,8 @@ import {
|
||||||
Type,
|
Type,
|
||||||
RegExpWrapper,
|
RegExpWrapper,
|
||||||
StringWrapper
|
StringWrapper
|
||||||
} from 'angular2/src/core/facade/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
import {StringMapWrapper} from 'angular2/src/core/facade/collection';
|
import {StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {
|
import {
|
||||||
ChangeDetectionStrategy,
|
ChangeDetectionStrategy,
|
||||||
CHANGE_DETECTION_STRATEGY_VALUES
|
CHANGE_DETECTION_STRATEGY_VALUES
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {isPresent} from 'angular2/src/core/facade/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export interface HtmlAst {
|
export interface HtmlAst {
|
||||||
sourceInfo: string;
|
sourceInfo: string;
|
||||||
|
|
|
@ -4,7 +4,7 @@ import {
|
||||||
stringify,
|
stringify,
|
||||||
assertionsEnabled,
|
assertionsEnabled,
|
||||||
StringJoiner
|
StringJoiner
|
||||||
} from 'angular2/src/core/facade/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
|
|
|
@ -4,8 +4,8 @@ import {ProtoViewFactory} from 'angular2/src/core/linker/proto_view_factory';
|
||||||
import {TemplateCompiler} from './template_compiler';
|
import {TemplateCompiler} from './template_compiler';
|
||||||
|
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {Type} from 'angular2/src/core/facade/lang';
|
import {Type} from 'angular2/src/facade/lang';
|
||||||
import {Promise, PromiseWrapper} from 'angular2/src/core/facade/async';
|
import {Promise, PromiseWrapper} from 'angular2/src/facade/async';
|
||||||
|
|
||||||
export abstract class RuntimeCompiler extends Compiler {}
|
export abstract class RuntimeCompiler extends Compiler {}
|
||||||
|
|
||||||
|
|
|
@ -6,9 +6,9 @@ import {
|
||||||
isArray,
|
isArray,
|
||||||
stringify,
|
stringify,
|
||||||
RegExpWrapper
|
RegExpWrapper
|
||||||
} from 'angular2/src/core/facade/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {MapWrapper, StringMapWrapper, ListWrapper} from 'angular2/src/core/facade/collection';
|
import {MapWrapper, StringMapWrapper, ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import * as cpl from './directive_metadata';
|
import * as cpl from './directive_metadata';
|
||||||
import * as md from 'angular2/src/core/metadata/directives';
|
import * as md from 'angular2/src/core/metadata/directives';
|
||||||
import {DirectiveResolver} from 'angular2/src/core/linker/directive_resolver';
|
import {DirectiveResolver} from 'angular2/src/core/linker/directive_resolver';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {isPresent, isBlank} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {StringMapWrapper} from 'angular2/src/core/facade/collection';
|
import {StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
||||||
|
|
||||||
import {ElementSchemaRegistry} from './element_schema_registry';
|
import {ElementSchemaRegistry} from './element_schema_registry';
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
import {Map, ListWrapper, MapWrapper} from 'angular2/src/core/facade/collection';
|
import {Map, ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {
|
import {
|
||||||
isPresent,
|
isPresent,
|
||||||
isBlank,
|
isBlank,
|
||||||
RegExpWrapper,
|
RegExpWrapper,
|
||||||
RegExpMatcherWrapper,
|
RegExpMatcherWrapper,
|
||||||
StringWrapper
|
StringWrapper
|
||||||
} from 'angular2/src/core/facade/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
||||||
|
|
||||||
const _EMPTY_ATTR_VALUE = '';
|
const _EMPTY_ATTR_VALUE = '';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {
|
import {
|
||||||
StringWrapper,
|
StringWrapper,
|
||||||
RegExp,
|
RegExp,
|
||||||
|
@ -6,7 +6,7 @@ import {
|
||||||
RegExpMatcherWrapper,
|
RegExpMatcherWrapper,
|
||||||
isPresent,
|
isPresent,
|
||||||
isBlank
|
isBlank
|
||||||
} from 'angular2/src/core/facade/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This file is a port of shadowCSS from webcomponents.js to TypeScript.
|
* This file is a port of shadowCSS from webcomponents.js to TypeScript.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {StringWrapper, isBlank} from 'angular2/src/core/facade/lang';
|
import {StringWrapper, isBlank} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
var MODULE_REGEXP = /#MODULE\[([^\]]*)\]/g;
|
var MODULE_REGEXP = /#MODULE\[([^\]]*)\]/g;
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,8 @@ import {CompileTypeMetadata, CompileTemplateMetadata} from './directive_metadata
|
||||||
import {SourceModule, SourceExpression, moduleRef} from './source_module';
|
import {SourceModule, SourceExpression, moduleRef} from './source_module';
|
||||||
import {ViewEncapsulation} from 'angular2/src/core/metadata/view';
|
import {ViewEncapsulation} from 'angular2/src/core/metadata/view';
|
||||||
import {XHR} from 'angular2/src/compiler/xhr';
|
import {XHR} from 'angular2/src/compiler/xhr';
|
||||||
import {IS_DART, StringWrapper, isBlank} from 'angular2/src/core/facade/lang';
|
import {IS_DART, StringWrapper, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {PromiseWrapper, Promise} from 'angular2/src/core/facade/async';
|
import {PromiseWrapper, Promise} from 'angular2/src/facade/async';
|
||||||
import {ShadowCss} from 'angular2/src/compiler/shadow_css';
|
import {ShadowCss} from 'angular2/src/compiler/shadow_css';
|
||||||
import {UrlResolver} from 'angular2/src/compiler/url_resolver';
|
import {UrlResolver} from 'angular2/src/compiler/url_resolver';
|
||||||
import {extractStyleUrls} from './style_url_resolver';
|
import {extractStyleUrls} from './style_url_resolver';
|
||||||
|
|
|
@ -1,13 +1,7 @@
|
||||||
// Some of the code comes from WebComponents.JS
|
// Some of the code comes from WebComponents.JS
|
||||||
// https://github.com/webcomponents/webcomponentsjs/blob/master/src/HTMLImports/path.js
|
// https://github.com/webcomponents/webcomponentsjs/blob/master/src/HTMLImports/path.js
|
||||||
|
|
||||||
import {
|
import {RegExp, RegExpWrapper, StringWrapper, isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
RegExp,
|
|
||||||
RegExpWrapper,
|
|
||||||
StringWrapper,
|
|
||||||
isPresent,
|
|
||||||
isBlank
|
|
||||||
} from 'angular2/src/core/facade/lang';
|
|
||||||
import {UrlResolver} from 'angular2/src/compiler/url_resolver';
|
import {UrlResolver} from 'angular2/src/compiler/url_resolver';
|
||||||
|
|
||||||
export class StyleWithImports {
|
export class StyleWithImports {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {AST} from 'angular2/src/core/change_detection/change_detection';
|
import {AST} from 'angular2/src/core/change_detection/change_detection';
|
||||||
import {isPresent} from 'angular2/src/core/facade/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {CompileDirectiveMetadata} from './directive_metadata';
|
import {CompileDirectiveMetadata} from './directive_metadata';
|
||||||
|
|
||||||
export interface TemplateAst {
|
export interface TemplateAst {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {IS_DART, Type, Json, isBlank, stringify} from 'angular2/src/core/facade/lang';
|
import {IS_DART, Type, Json, isBlank, stringify} from 'angular2/src/facade/lang';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {ListWrapper, SetWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper, SetWrapper} from 'angular2/src/facade/collection';
|
||||||
import {PromiseWrapper, Promise} from 'angular2/src/core/facade/async';
|
import {PromiseWrapper, Promise} from 'angular2/src/facade/async';
|
||||||
import {
|
import {
|
||||||
CompiledTemplate,
|
CompiledTemplate,
|
||||||
TemplateCmd,
|
TemplateCmd,
|
||||||
|
|
|
@ -3,10 +3,10 @@ import {
|
||||||
CompileDirectiveMetadata,
|
CompileDirectiveMetadata,
|
||||||
CompileTemplateMetadata
|
CompileTemplateMetadata
|
||||||
} from './directive_metadata';
|
} from './directive_metadata';
|
||||||
import {isPresent, isBlank} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {Promise, PromiseWrapper} from 'angular2/src/core/facade/async';
|
import {Promise, PromiseWrapper} from 'angular2/src/facade/async';
|
||||||
|
|
||||||
import {XHR} from 'angular2/src/compiler/xhr';
|
import {XHR} from 'angular2/src/compiler/xhr';
|
||||||
import {UrlResolver} from 'angular2/src/compiler/url_resolver';
|
import {UrlResolver} from 'angular2/src/compiler/url_resolver';
|
||||||
|
|
|
@ -3,7 +3,7 @@ import {
|
||||||
ListWrapper,
|
ListWrapper,
|
||||||
StringMapWrapper,
|
StringMapWrapper,
|
||||||
SetWrapper
|
SetWrapper
|
||||||
} from 'angular2/src/core/facade/collection';
|
} from 'angular2/src/facade/collection';
|
||||||
import {
|
import {
|
||||||
RegExpWrapper,
|
RegExpWrapper,
|
||||||
isPresent,
|
isPresent,
|
||||||
|
@ -12,9 +12,9 @@ import {
|
||||||
stringify,
|
stringify,
|
||||||
assertionsEnabled,
|
assertionsEnabled,
|
||||||
isBlank
|
isBlank
|
||||||
} from 'angular2/src/core/facade/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {Parser, AST, ASTWithSource} from 'angular2/src/core/change_detection/change_detection';
|
import {Parser, AST, ASTWithSource} from 'angular2/src/core/change_detection/change_detection';
|
||||||
import {TemplateBinding} from 'angular2/src/core/change_detection/parser/ast';
|
import {TemplateBinding} from 'angular2/src/core/change_detection/parser/ast';
|
||||||
import {CompileDirectiveMetadata} from './directive_metadata';
|
import {CompileDirectiveMetadata} from './directive_metadata';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {HtmlElementAst} from './html_ast';
|
import {HtmlElementAst} from './html_ast';
|
||||||
import {isBlank, isPresent} from 'angular2/src/core/facade/lang';
|
import {isBlank, isPresent} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
const NG_CONTENT_SELECT_ATTR = 'select';
|
const NG_CONTENT_SELECT_ATTR = 'select';
|
||||||
const NG_CONTENT_ELEMENT = 'ng-content';
|
const NG_CONTENT_ELEMENT = 'ng-content';
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {Injectable} from 'angular2/src/core/di';
|
import {Injectable} from 'angular2/src/core/di';
|
||||||
import {isPresent, isBlank, RegExpWrapper, normalizeBlank} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank, RegExpWrapper, normalizeBlank} from 'angular2/src/facade/lang';
|
||||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
export function createWithoutPackagePrefix(): UrlResolver {
|
export function createWithoutPackagePrefix(): UrlResolver {
|
||||||
return new UrlResolver();
|
return new UrlResolver();
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {IS_DART, StringWrapper, isBlank} from 'angular2/src/core/facade/lang';
|
import {IS_DART, StringWrapper, isBlank} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
var CAMEL_CASE_REGEXP = /([A-Z])/g;
|
var CAMEL_CASE_REGEXP = /([A-Z])/g;
|
||||||
var DASH_CASE_REGEXP = /-([a-z])/g;
|
var DASH_CASE_REGEXP = /-([a-z])/g;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {Promise} from 'angular2/src/core/facade/async';
|
import {Promise} from 'angular2/src/facade/async';
|
||||||
|
|
||||||
// TODO: vsavkin rename it into TemplateLoader and do not reexport it via DomAdapter
|
// TODO: vsavkin rename it into TemplateLoader and do not reexport it via DomAdapter
|
||||||
export class XHR {
|
export class XHR {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {Promise, PromiseWrapper, PromiseCompleter} from 'angular2/src/core/facade/promise';
|
import {Promise, PromiseWrapper, PromiseCompleter} from 'angular2/src/facade/promise';
|
||||||
import {isPresent} from 'angular2/src/core/facade/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {XHR} from './xhr';
|
import {XHR} from './xhr';
|
||||||
|
|
||||||
export class XHRImpl extends XHR {
|
export class XHRImpl extends XHR {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import {XHR} from 'angular2/src/compiler/xhr';
|
import {XHR} from 'angular2/src/compiler/xhr';
|
||||||
import {ListWrapper, Map, MapWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper, Map, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {isBlank, isPresent, normalizeBlank} from 'angular2/src/core/facade/lang';
|
import {isBlank, isPresent, normalizeBlank} from 'angular2/src/facade/lang';
|
||||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
||||||
import {PromiseCompleter, PromiseWrapper, Promise} from 'angular2/src/core/facade/async';
|
import {PromiseCompleter, PromiseWrapper, Promise} from 'angular2/src/facade/async';
|
||||||
|
|
||||||
export class MockXHR extends XHR {
|
export class MockXHR extends XHR {
|
||||||
private _expectations: _Expectation[] = [];
|
private _expectations: _Expectation[] = [];
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {OpaqueToken} from "angular2/src/core/di";
|
import {OpaqueToken} from "angular2/src/core/di";
|
||||||
import {CONST_EXPR} from "angular2/src/core/facade/lang";
|
import {CONST_EXPR} from "angular2/src/facade/lang";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A token that can be provided when bootstraping an application to make an array of directives
|
* A token that can be provided when bootstraping an application to make an array of directives
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Public API for Application
|
// Public API for Application
|
||||||
import {Provider} from './di';
|
import {Provider} from './di';
|
||||||
import {Type, isPresent} from 'angular2/src/core/facade/lang';
|
import {Type, isPresent} from 'angular2/src/facade/lang';
|
||||||
import {Promise} from 'angular2/src/core/facade/async';
|
import {Promise} from 'angular2/src/facade/async';
|
||||||
import {compilerProviders} from 'angular2/src/compiler/compiler';
|
import {compilerProviders} from 'angular2/src/compiler/compiler';
|
||||||
import {commonBootstrap} from './application_common';
|
import {commonBootstrap} from './application_common';
|
||||||
import {ComponentRef} from './linker/dynamic_component_loader';
|
import {ComponentRef} from './linker/dynamic_component_loader';
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
import {FORM_PROVIDERS} from 'angular2/src/common/forms';
|
import {FORM_PROVIDERS} from 'angular2/src/common/forms';
|
||||||
import {provide, Provider} from 'angular2/src/core/di';
|
import {provide, Provider} from 'angular2/src/core/di';
|
||||||
import {Type, isBlank, isPresent, stringify} from 'angular2/src/core/facade/lang';
|
import {Type, isBlank, isPresent, stringify} from 'angular2/src/facade/lang';
|
||||||
import {BrowserDomAdapter} from 'angular2/src/core/dom/browser_adapter';
|
import {BrowserDomAdapter} from 'angular2/src/core/dom/browser_adapter';
|
||||||
import {BrowserGetTestability} from 'angular2/src/core/testability/browser_testability';
|
import {BrowserGetTestability} from 'angular2/src/core/testability/browser_testability';
|
||||||
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
||||||
import {Promise} from 'angular2/src/core/facade/async';
|
import {Promise} from 'angular2/src/facade/async';
|
||||||
import {XHR} from 'angular2/src/compiler/xhr';
|
import {XHR} from 'angular2/src/compiler/xhr';
|
||||||
import {XHRImpl} from 'angular2/src/compiler/xhr_impl';
|
import {XHRImpl} from 'angular2/src/compiler/xhr_impl';
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {NgZone} from 'angular2/src/core/zone/ng_zone';
|
import {NgZone} from 'angular2/src/core/zone/ng_zone';
|
||||||
import {Type, isBlank, isPresent, assertionsEnabled} from 'angular2/src/core/facade/lang';
|
import {Type, isBlank, isPresent, assertionsEnabled} from 'angular2/src/facade/lang';
|
||||||
import {provide, Provider, Injector, OpaqueToken} from 'angular2/src/core/di';
|
import {provide, Provider, Injector, OpaqueToken} from 'angular2/src/core/di';
|
||||||
import {
|
import {
|
||||||
APP_COMPONENT_REF_PROMISE,
|
APP_COMPONENT_REF_PROMISE,
|
||||||
|
@ -11,8 +11,8 @@ import {
|
||||||
PromiseWrapper,
|
PromiseWrapper,
|
||||||
PromiseCompleter,
|
PromiseCompleter,
|
||||||
ObservableWrapper
|
ObservableWrapper
|
||||||
} from 'angular2/src/core/facade/async';
|
} from 'angular2/src/facade/async';
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {Reflector, reflector} from 'angular2/src/core/reflection/reflection';
|
import {Reflector, reflector} from 'angular2/src/core/reflection/reflection';
|
||||||
import {TestabilityRegistry, Testability} from 'angular2/src/core/testability/testability';
|
import {TestabilityRegistry, Testability} from 'angular2/src/core/testability/testability';
|
||||||
import {
|
import {
|
||||||
|
@ -24,7 +24,7 @@ import {
|
||||||
WrappedException,
|
WrappedException,
|
||||||
ExceptionHandler,
|
ExceptionHandler,
|
||||||
unimplemented
|
unimplemented
|
||||||
} from 'angular2/src/core/facade/exceptions';
|
} from 'angular2/src/facade/exceptions';
|
||||||
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
import {DOM} from 'angular2/src/core/dom/dom_adapter';
|
||||||
import {internalView} from 'angular2/src/core/linker/view_ref';
|
import {internalView} from 'angular2/src/core/linker/view_ref';
|
||||||
import {
|
import {
|
||||||
|
@ -48,7 +48,7 @@ import {Compiler_} from "./linker/compiler";
|
||||||
import {wtfLeave, wtfCreateScope, WtfScopeFn} from './profile/profile';
|
import {wtfLeave, wtfCreateScope, WtfScopeFn} from './profile/profile';
|
||||||
import {ChangeDetectorRef} from 'angular2/src/core/change_detection/change_detector_ref';
|
import {ChangeDetectorRef} from 'angular2/src/core/change_detection/change_detector_ref';
|
||||||
import {AMBIENT_DIRECTIVES, AMBIENT_PIPES} from "angular2/src/core/ambient";
|
import {AMBIENT_DIRECTIVES, AMBIENT_PIPES} from "angular2/src/core/ambient";
|
||||||
import {lockDevMode} from 'angular2/src/core/facade/lang';
|
import {lockDevMode} from 'angular2/src/facade/lang';
|
||||||
import {COMMON_DIRECTIVES, COMMON_PIPES} from "angular2/common";
|
import {COMMON_DIRECTIVES, COMMON_PIPES} from "angular2/common";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {OpaqueToken, Provider} from 'angular2/src/core/di';
|
import {OpaqueToken, Provider} from 'angular2/src/core/di';
|
||||||
import {CONST_EXPR, Math, StringWrapper} from 'angular2/src/core/facade/lang';
|
import {CONST_EXPR, Math, StringWrapper} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @internal
|
* @internal
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {assertionsEnabled, isPresent, isBlank, StringWrapper} from 'angular2/src/core/facade/lang';
|
import {assertionsEnabled, isPresent, isBlank, StringWrapper} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {ChangeDetectionUtil} from './change_detection_util';
|
import {ChangeDetectionUtil} from './change_detection_util';
|
||||||
import {ChangeDetectorRef, ChangeDetectorRef_} from './change_detector_ref';
|
import {ChangeDetectorRef, ChangeDetectorRef_} from './change_detector_ref';
|
||||||
import {DirectiveIndex} from './directive_record';
|
import {DirectiveIndex} from './directive_record';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {isPresent, isBlank} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {SetterFn} from 'angular2/src/core/reflection/types';
|
import {SetterFn} from 'angular2/src/core/reflection/types';
|
||||||
import {AST} from './parser/ast';
|
import {AST} from './parser/ast';
|
||||||
import {DirectiveIndex, DirectiveRecord} from './directive_record';
|
import {DirectiveIndex, DirectiveRecord} from './directive_record';
|
||||||
|
|
|
@ -2,7 +2,7 @@ import {IterableDiffers, IterableDifferFactory} from './differs/iterable_differs
|
||||||
import {DefaultIterableDifferFactory} from './differs/default_iterable_differ';
|
import {DefaultIterableDifferFactory} from './differs/default_iterable_differ';
|
||||||
import {KeyValueDiffers, KeyValueDifferFactory} from './differs/keyvalue_differs';
|
import {KeyValueDiffers, KeyValueDifferFactory} from './differs/keyvalue_differs';
|
||||||
import {DefaultKeyValueDifferFactory} from './differs/default_keyvalue_differ';
|
import {DefaultKeyValueDifferFactory} from './differs/default_keyvalue_differ';
|
||||||
import {CONST, CONST_EXPR, isPresent} from 'angular2/src/core/facade/lang';
|
import {CONST, CONST_EXPR, isPresent} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export {
|
export {
|
||||||
ASTWithSource,
|
ASTWithSource,
|
||||||
|
|
|
@ -1,12 +1,6 @@
|
||||||
import {
|
import {Type, assertionsEnabled, isBlank, isPresent, StringWrapper} from 'angular2/src/facade/lang';
|
||||||
Type,
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
assertionsEnabled,
|
import {ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
isBlank,
|
|
||||||
isPresent,
|
|
||||||
StringWrapper
|
|
||||||
} from 'angular2/src/core/facade/lang';
|
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
|
||||||
import {ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/core/facade/collection';
|
|
||||||
|
|
||||||
import {AbstractChangeDetector} from './abstract_change_detector';
|
import {AbstractChangeDetector} from './abstract_change_detector';
|
||||||
import {ChangeDetectionUtil} from './change_detection_util';
|
import {ChangeDetectionUtil} from './change_detection_util';
|
||||||
|
|
|
@ -5,9 +5,9 @@ import {
|
||||||
Type,
|
Type,
|
||||||
StringWrapper,
|
StringWrapper,
|
||||||
looseIdentical
|
looseIdentical
|
||||||
} from 'angular2/src/core/facade/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {ProtoRecord} from './proto_record';
|
import {ProtoRecord} from './proto_record';
|
||||||
import {ChangeDetectionStrategy, isDefaultChangeDetectionStrategy} from './constants';
|
import {ChangeDetectionStrategy, isDefaultChangeDetectionStrategy} from './constants';
|
||||||
import {implementsOnDestroy} from './pipe_lifecycle_reflector';
|
import {implementsOnDestroy} from './pipe_lifecycle_reflector';
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {isPresent, isBlank, looseIdentical} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank, looseIdentical} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper, Map} from 'angular2/src/core/facade/collection';
|
import {ListWrapper, Map} from 'angular2/src/facade/collection';
|
||||||
import {RecordType, ProtoRecord} from './proto_record';
|
import {RecordType, ProtoRecord} from './proto_record';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import {IS_DART, Json, StringWrapper, isPresent, isBlank} from 'angular2/src/core/facade/lang';
|
import {IS_DART, Json, StringWrapper, isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {CodegenNameUtil} from './codegen_name_util';
|
import {CodegenNameUtil} from './codegen_name_util';
|
||||||
import {codify, combineGeneratedStrings, rawString} from './codegen_facade';
|
import {codify, combineGeneratedStrings, rawString} from './codegen_facade';
|
||||||
import {ProtoRecord, RecordType} from './proto_record';
|
import {ProtoRecord, RecordType} from './proto_record';
|
||||||
import {BindingTarget} from './binding_record';
|
import {BindingTarget} from './binding_record';
|
||||||
import {DirectiveRecord} from './directive_record';
|
import {DirectiveRecord} from './directive_record';
|
||||||
import {ChangeDetectionStrategy} from './constants';
|
import {ChangeDetectionStrategy} from './constants';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Class responsible for providing change detection logic for change detector classes.
|
* Class responsible for providing change detection logic for change detector classes.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {RegExpWrapper, StringWrapper} from 'angular2/src/core/facade/lang';
|
import {RegExpWrapper, StringWrapper} from 'angular2/src/facade/lang';
|
||||||
import {ListWrapper, MapWrapper, Map} from 'angular2/src/core/facade/collection';
|
import {ListWrapper, MapWrapper, Map} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {DirectiveIndex} from './directive_record';
|
import {DirectiveIndex} from './directive_record';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {StringWrapper, normalizeBool, isBlank} from 'angular2/src/core/facade/lang';
|
import {StringWrapper, normalizeBool, isBlank} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
export enum ChangeDetectorState {
|
export enum ChangeDetectorState {
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
import {CONST} from 'angular2/src/core/facade/lang';
|
import {CONST} from 'angular2/src/facade/lang';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {
|
import {
|
||||||
isListLikeIterable,
|
isListLikeIterable,
|
||||||
iterateListLike,
|
iterateListLike,
|
||||||
ListWrapper,
|
ListWrapper,
|
||||||
MapWrapper
|
MapWrapper
|
||||||
} from 'angular2/src/core/facade/collection';
|
} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
isBlank,
|
isBlank,
|
||||||
|
@ -14,7 +14,7 @@ import {
|
||||||
getMapKey,
|
getMapKey,
|
||||||
looseIdentical,
|
looseIdentical,
|
||||||
isArray
|
isArray
|
||||||
} from 'angular2/src/core/facade/lang';
|
} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
import {ChangeDetectorRef} from '../change_detector_ref';
|
import {ChangeDetectorRef} from '../change_detector_ref';
|
||||||
import {IterableDiffer, IterableDifferFactory} from '../differs/iterable_differs';
|
import {IterableDiffer, IterableDifferFactory} from '../differs/iterable_differs';
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {MapWrapper, StringMapWrapper} from 'angular2/src/core/facade/collection';
|
import {MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
import {stringify, looseIdentical, isJsObject, CONST, isBlank} from 'angular2/src/core/facade/lang';
|
import {stringify, looseIdentical, isJsObject, CONST, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {ChangeDetectorRef} from '../change_detector_ref';
|
import {ChangeDetectorRef} from '../change_detector_ref';
|
||||||
import {KeyValueDiffer, KeyValueDifferFactory} from '../differs/keyvalue_differs';
|
import {KeyValueDiffer, KeyValueDifferFactory} from '../differs/keyvalue_differs';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {isBlank, isPresent, CONST} from 'angular2/src/core/facade/lang';
|
import {isBlank, isPresent, CONST} from 'angular2/src/facade/lang';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {ChangeDetectorRef} from '../change_detector_ref';
|
import {ChangeDetectorRef} from '../change_detector_ref';
|
||||||
import {Provider, SkipSelfMetadata, OptionalMetadata, Injectable} from 'angular2/src/core/di';
|
import {Provider, SkipSelfMetadata, OptionalMetadata, Injectable} from 'angular2/src/core/di';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {isBlank, isPresent, CONST} from 'angular2/src/core/facade/lang';
|
import {isBlank, isPresent, CONST} from 'angular2/src/facade/lang';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {ChangeDetectorRef} from '../change_detector_ref';
|
import {ChangeDetectorRef} from '../change_detector_ref';
|
||||||
import {Provider, SkipSelfMetadata, OptionalMetadata, Injectable} from 'angular2/src/core/di';
|
import {Provider, SkipSelfMetadata, OptionalMetadata, Injectable} from 'angular2/src/core/di';
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {StringWrapper, normalizeBool, isBlank} from 'angular2/src/core/facade/lang';
|
import {StringWrapper, normalizeBool, isBlank} from 'angular2/src/facade/lang';
|
||||||
import {isDefaultChangeDetectionStrategy, ChangeDetectionStrategy} from './constants';
|
import {isDefaultChangeDetectionStrategy, ChangeDetectionStrategy} from './constants';
|
||||||
|
|
||||||
export class DirectiveIndex {
|
export class DirectiveIndex {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {isPresent, isBlank, FunctionWrapper, StringWrapper} from 'angular2/src/core/facade/lang';
|
import {isPresent, isBlank, FunctionWrapper, StringWrapper} from 'angular2/src/facade/lang';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper, MapWrapper, StringMapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
import {AbstractChangeDetector} from './abstract_change_detector';
|
import {AbstractChangeDetector} from './abstract_change_detector';
|
||||||
import {EventBinding} from './event_binding';
|
import {EventBinding} from './event_binding';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {BaseException, WrappedException} from "angular2/src/core/facade/exceptions";
|
import {BaseException, WrappedException} from "angular2/src/facade/exceptions";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An error thrown if application changes model breaking the top-down data flow.
|
* An error thrown if application changes model breaking the top-down data flow.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {isPresent} from 'angular2/src/core/facade/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
|
|
||||||
import {ProtoChangeDetector, ChangeDetector, ChangeDetectorDefinition} from './interfaces';
|
import {ProtoChangeDetector, ChangeDetector, ChangeDetectorDefinition} from './interfaces';
|
||||||
import {ChangeDetectorJITGenerator} from './change_detection_jit_generator';
|
import {ChangeDetectorJITGenerator} from './change_detection_jit_generator';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import {ListWrapper} from "angular2/src/core/facade/collection";
|
import {ListWrapper} from "angular2/src/facade/collection";
|
||||||
|
|
||||||
export class AST {
|
export class AST {
|
||||||
visit(visitor: AstVisitor): any { return null; }
|
visit(visitor: AstVisitor): any { return null; }
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {Injectable} from 'angular2/src/core/di/decorators';
|
import {Injectable} from 'angular2/src/core/di/decorators';
|
||||||
import {ListWrapper, SetWrapper} from "angular2/src/core/facade/collection";
|
import {ListWrapper, SetWrapper} from "angular2/src/facade/collection";
|
||||||
import {NumberWrapper, StringJoiner, StringWrapper, isPresent} from "angular2/src/core/facade/lang";
|
import {NumberWrapper, StringJoiner, StringWrapper, isPresent} from "angular2/src/facade/lang";
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
|
|
||||||
export enum TokenType {
|
export enum TokenType {
|
||||||
Character,
|
Character,
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import {isPresent} from 'angular2/src/core/facade/lang';
|
import {isPresent} from 'angular2/src/facade/lang';
|
||||||
import {BaseException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException} from 'angular2/src/facade/exceptions';
|
||||||
import {ListWrapper, MapWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper, MapWrapper} from 'angular2/src/facade/collection';
|
||||||
|
|
||||||
export class Locals {
|
export class Locals {
|
||||||
constructor(public parent: Locals, public current: Map<any, any>) {}
|
constructor(public parent: Locals, public current: Map<any, any>) {}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import {Injectable} from 'angular2/src/core/di/decorators';
|
import {Injectable} from 'angular2/src/core/di/decorators';
|
||||||
import {isBlank, isPresent, StringWrapper} from 'angular2/src/core/facade/lang';
|
import {isBlank, isPresent, StringWrapper} from 'angular2/src/facade/lang';
|
||||||
import {BaseException, WrappedException} from 'angular2/src/core/facade/exceptions';
|
import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
||||||
import {ListWrapper} from 'angular2/src/core/facade/collection';
|
import {ListWrapper} from 'angular2/src/facade/collection';
|
||||||
import {
|
import {
|
||||||
Lexer,
|
Lexer,
|
||||||
EOF,
|
EOF,
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue