parent
72eab4d254
commit
fe3679a356
|
@ -38,8 +38,6 @@ export class MyCounterComponent implements OnChanges {
|
|||
}
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
|
||||
@Component({
|
||||
selector: 'counter-parent',
|
||||
template: `
|
||||
|
|
|
@ -72,8 +72,6 @@ export class DoCheckComponent implements DoCheck {
|
|||
}
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
|
||||
@Component({
|
||||
selector: 'do-check-parent',
|
||||
templateUrl: './do-check-parent.component.html',
|
||||
|
|
|
@ -46,8 +46,6 @@ export class OnChangesComponent implements OnChanges {
|
|||
reset() { this.changeLog = []; }
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
|
||||
@Component({
|
||||
selector: 'on-changes-parent',
|
||||
templateUrl: './on-changes-parent.component.html',
|
||||
|
|
|
@ -30,7 +30,4 @@ export class Version {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -42,9 +42,6 @@ function addBody<T>(
|
|||
};
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export type HttpObserve = 'body' | 'events' | 'response';
|
||||
|
||||
/**
|
||||
|
|
|
@ -8,9 +8,6 @@
|
|||
|
||||
import {ChangeDetectorRef, Directive, DoCheck, EmbeddedViewRef, Input, IterableChangeRecord, IterableChanges, IterableDiffer, IterableDiffers, NgIterable, OnChanges, SimpleChanges, TemplateRef, TrackByFunction, ViewContainerRef, forwardRef, isDevMode} from '@angular/core';
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export class NgForOfContext<T> {
|
||||
constructor(
|
||||
public $implicit: T, public ngForOf: NgIterable<T>, public index: number,
|
||||
|
|
|
@ -158,9 +158,6 @@ export class NgIf {
|
|||
public static ngIfUseIfTypeGuard: void;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export class NgIfContext {
|
||||
public $implicit: any = null;
|
||||
public ngIf: any = null;
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from '@angular/compiler';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from './util';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -6,9 +6,6 @@
|
|||
* found in the LICENSE file at https://angular.io/license
|
||||
*/
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export abstract class ChangeDetectorRef {
|
||||
/**
|
||||
* Marks a view and all of its ancestors dirty.
|
||||
|
|
|
@ -557,9 +557,6 @@ export class DefaultIterableDiffer<V> implements IterableDiffer<V>, IterableChan
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export class IterableChangeRecord_<V> implements IterableChangeRecord<V> {
|
||||
currentIndex: number|null = null;
|
||||
previousIndex: number|null = null;
|
||||
|
|
|
@ -259,10 +259,6 @@ export class DefaultKeyValueDiffer<K, V> implements KeyValueDiffer<K, V>, KeyVal
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
class KeyValueChangeRecord_<K, V> implements KeyValueChangeRecord<K, V> {
|
||||
previousValue: V|null = null;
|
||||
currentValue: V|null = null;
|
||||
|
|
|
@ -64,9 +64,6 @@ export abstract class ComponentRef<C> {
|
|||
abstract onDestroy(callback: Function): void;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export abstract class ComponentFactory<C> {
|
||||
abstract get selector(): string;
|
||||
abstract get componentType(): Type<any>;
|
||||
|
|
|
@ -33,9 +33,6 @@ class _NullComponentFactoryResolver implements ComponentFactoryResolver {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export abstract class ComponentFactoryResolver {
|
||||
static NULL: ComponentFactoryResolver = new _NullComponentFactoryResolver();
|
||||
abstract resolveComponentFactory<T>(component: Type<T>): ComponentFactory<T>;
|
||||
|
|
|
@ -9,10 +9,6 @@
|
|||
import {ApplicationRef} from '../application_ref';
|
||||
import {ChangeDetectorRef} from '../change_detection/change_detector_ref';
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export abstract class ViewRef extends ChangeDetectorRef {
|
||||
/**
|
||||
* Destroys the view and all of the data structures associated with it.
|
||||
|
|
|
@ -23,7 +23,4 @@ export class Version {
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -151,7 +151,6 @@ describe('injection', () => {
|
|||
return new MyApp(
|
||||
$r3$.ɵdirectiveInject(ServiceA), $r3$.ɵdirectiveInject(ServiceB), inject(INJECTOR));
|
||||
},
|
||||
/** */
|
||||
template: function MyApp_Template(rf: $RenderFlags$, ctx: $MyApp$) {},
|
||||
providers: [ServiceA],
|
||||
viewProviders: [ServiceB],
|
||||
|
|
|
@ -166,14 +166,8 @@ export class EmailValidator implements Validator {
|
|||
registerOnValidatorChange(fn: () => void): void { this._onChange = fn; }
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export interface ValidatorFn { (c: AbstractControl): ValidationErrors|null; }
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export interface AsyncValidatorFn {
|
||||
(c: AbstractControl): Promise<ValidationErrors|null>|Observable<ValidationErrors|null>;
|
||||
}
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -23,8 +23,5 @@ export {JitCompilerFactory} from './compiler_factory';
|
|||
export const RESOURCE_CACHE_PROVIDER: Provider[] =
|
||||
[{provide: ResourceLoader, useClass: CachedResourceLoader, deps: []}];
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export const platformBrowserDynamic = createPlatformFactory(
|
||||
platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -16,9 +16,6 @@ import {platformCoreDynamicTesting} from './platform_core_dynamic_testing';
|
|||
|
||||
export * from './private_export_testing';
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export const platformBrowserDynamicTesting = createPlatformFactory(
|
||||
platformCoreDynamicTesting, 'browserDynamicTesting',
|
||||
INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
|
||||
|
|
|
@ -44,9 +44,6 @@ export const BROWSER_SANITIZATION_PROVIDERS: StaticProvider[] = [
|
|||
{provide: DomSanitizer, useClass: DomSanitizerImpl, deps: [DOCUMENT]},
|
||||
];
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export const platformBrowser: (extraProviders?: StaticProvider[]) => PlatformRef =
|
||||
createPlatformFactory(platformCore, 'browser', INTERNAL_BROWSER_PLATFORM_PROVIDERS);
|
||||
|
||||
|
|
|
@ -10,15 +10,9 @@ import {Inject, Injectable, InjectionToken, NgZone} from '@angular/core';
|
|||
|
||||
import {getDOM} from '../dom_adapter';
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
export const EVENT_MANAGER_PLUGINS =
|
||||
new InjectionToken<EventManagerPlugin[]>('EventManagerPlugins');
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@Injectable()
|
||||
export class EventManager {
|
||||
private _plugins: EventManagerPlugin[];
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
|
@ -13,7 +13,5 @@
|
|||
*/
|
||||
|
||||
import {Version} from '@angular/core';
|
||||
/**
|
||||
*
|
||||
*/
|
||||
|
||||
export const VERSION = new Version('0.0.0-PLACEHOLDER');
|
||||
|
|
Loading…
Reference in New Issue