2016-01-27 11:47:04 -05:00
|
|
|
import {publicApi} from 'ts-api-guardian';
|
|
|
|
|
|
|
|
// =================================================================================================
|
|
|
|
// =================================================================================================
|
|
|
|
// =========== S T O P - S T O P - S T O P - S T O P - S T O P - S T O P ===========
|
|
|
|
// =================================================================================================
|
|
|
|
// =================================================================================================
|
|
|
|
//
|
|
|
|
// DO NOT EDIT THIS LIST OF PUBLIC APIS UNLESS YOU GET IT CLEARED BY: mhevery, vsavkin, or tbosch!
|
|
|
|
//
|
|
|
|
// =================================================================================================
|
|
|
|
// =================================================================================================
|
|
|
|
|
|
|
|
const CORE = [
|
2016-04-12 12:40:37 -04:00
|
|
|
'AbstractProviderError',
|
|
|
|
'AbstractProviderError.addKey(injector:Injector, key:Key):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'AbstractProviderError.constructResolvingMessage:Function',
|
|
|
|
'AbstractProviderError.constructor(injector:Injector, key:Key, constructResolvingMessage:Function)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'AbstractProviderError.context:any',
|
|
|
|
'AbstractProviderError.injectors:Injector[]',
|
|
|
|
'AbstractProviderError.keys:Key[]',
|
|
|
|
'AbstractProviderError.message:string',
|
|
|
|
'AfterContentChecked',
|
|
|
|
'AfterContentChecked.ngAfterContentChecked():any',
|
|
|
|
'AfterContentInit',
|
|
|
|
'AfterContentInit.ngAfterContentInit():any',
|
|
|
|
'AfterViewChecked',
|
|
|
|
'AfterViewChecked.ngAfterViewChecked():any',
|
|
|
|
'AfterViewInit',
|
|
|
|
'AfterViewInit.ngAfterViewInit():any',
|
|
|
|
'AppViewManager',
|
2016-01-27 11:47:04 -05:00
|
|
|
'AppViewManager.createRootHostView(hostViewFactoryRef:HostViewFactoryRef, overrideSelector:string, injector:Injector, projectableNodes:any[][]):HostViewRef',
|
|
|
|
'AppViewManager.destroyRootHostView(hostViewRef:HostViewRef):any',
|
|
|
|
'AppViewManager.getComponent(hostLocation:ElementRef):any',
|
|
|
|
'AppViewManager.getHostElement(hostViewRef:HostViewRef):ElementRef',
|
|
|
|
'AppViewManager.getNamedElementInComponentView(hostLocation:ElementRef, variableName:string):ElementRef',
|
2016-04-12 12:40:37 -04:00
|
|
|
'AppViewManager.getViewContainer(location:ElementRef):ViewContainerRef',
|
|
|
|
'ApplicationRef',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ApplicationRef.bootstrap(componentType:Type, providers:Array<Type|Provider|any[]>):Promise<ComponentRef>',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ApplicationRef.componentTypes:Type[]',
|
|
|
|
'ApplicationRef.dispose():void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ApplicationRef.injector:Injector',
|
|
|
|
'ApplicationRef.registerBootstrapListener(listener:(ref: ComponentRef) => void):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ApplicationRef.registerDisposeListener(dispose:() => void):void',
|
|
|
|
'ApplicationRef.tick():void',
|
|
|
|
'ApplicationRef.zone:NgZone',
|
|
|
|
'AttributeFactory',
|
|
|
|
'AttributeMetadata',
|
|
|
|
'AttributeMetadata.constructor(attributeName:string)',
|
|
|
|
'AttributeMetadata.toString():string',
|
|
|
|
'AttributeMetadata.token:AttributeMetadata',
|
|
|
|
'Binding',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Binding.constructor(token:any, {toClass,toValue,toAlias,toFactory,deps,multi}:{toClass?:Type, toValue?:any, toAlias?:any, toFactory:Function, deps?:Object[], multi?:boolean})',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Binding.toAlias:any',
|
|
|
|
'Binding.toClass:any',
|
|
|
|
'Binding.toFactory:any',
|
|
|
|
'Binding.toValue:any',
|
|
|
|
'ChangeDetectionStrategy',
|
|
|
|
'ChangeDetectionStrategy.CheckAlways',
|
|
|
|
'ChangeDetectionStrategy.CheckOnce',
|
|
|
|
'ChangeDetectionStrategy.Checked',
|
|
|
|
'ChangeDetectionStrategy.Default',
|
|
|
|
'ChangeDetectionStrategy.Detached',
|
|
|
|
'ChangeDetectionStrategy.OnPush',
|
|
|
|
'ChangeDetectorRef',
|
|
|
|
'ChangeDetectorRef.checkNoChanges():void',
|
|
|
|
'ChangeDetectorRef.detach():void',
|
|
|
|
'ChangeDetectorRef.detectChanges():void',
|
|
|
|
'ChangeDetectorRef.markForCheck():void',
|
|
|
|
'ChangeDetectorRef.reattach():void',
|
|
|
|
'Class(clsDef:ClassDefinition):ConcreteType',
|
|
|
|
'ClassDefinition',
|
|
|
|
'ClassDefinition.constructor:Function|any[]',
|
|
|
|
'ClassDefinition.extends:Type',
|
|
|
|
'CollectionChangeRecord',
|
|
|
|
'CollectionChangeRecord.constructor(item:any, trackById:any)',
|
|
|
|
'CollectionChangeRecord.currentIndex:number',
|
|
|
|
'CollectionChangeRecord.previousIndex:number',
|
|
|
|
'CollectionChangeRecord.toString():string',
|
|
|
|
'Compiler',
|
|
|
|
'Compiler.clearCache():any',
|
|
|
|
'Compiler.compileInHost(componentType:Type):Promise<HostViewFactoryRef>',
|
|
|
|
'ComponentDecorator',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ComponentDecorator.View(obj:{templateUrl?:string, template?:string, directives?:Array<Type|any[]>, pipes?:Array<Type|any[]>, renderer?:string, styles?:string[], styleUrls?:string[]}):ViewDecorator',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ComponentFactory',
|
|
|
|
'ComponentMetadata',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ComponentMetadata.changeDetection:ChangeDetectionStrategy',
|
|
|
|
'ComponentMetadata.constructor({selector,inputs,outputs,properties,events,host,exportAs,moduleId,bindings,providers,viewBindings,viewProviders,changeDetection=ChangeDetectionStrategy.Default,queries,templateUrl,template,styleUrls,styles,directives,pipes,encapsulation}:{selector?:string, inputs?:string[], outputs?:string[], properties?:string[], events?:string[], host?:{[key:string]:string}, bindings?:any[], providers?:any[], exportAs?:string, moduleId?:string, viewBindings?:any[], viewProviders?:any[], queries?:{[key:string]:any}, changeDetection?:ChangeDetectionStrategy, templateUrl?:string, template?:string, styleUrls?:string[], styles?:string[], directives?:Array<Type|any[]>, pipes?:Array<Type|any[]>, encapsulation?:ViewEncapsulation})',
|
|
|
|
'ComponentMetadata.directives:Array<Type|any[]>',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ComponentMetadata.encapsulation:ViewEncapsulation',
|
|
|
|
'ComponentMetadata.moduleId:string',
|
|
|
|
'ComponentMetadata.pipes:Array<Type|any[]>',
|
|
|
|
'ComponentMetadata.styleUrls:string[]',
|
|
|
|
'ComponentMetadata.styles:string[]',
|
|
|
|
'ComponentMetadata.template:string',
|
|
|
|
'ComponentMetadata.templateUrl:string',
|
|
|
|
'ComponentMetadata.viewBindings:any[]',
|
|
|
|
'ComponentMetadata.viewProviders:any[]',
|
|
|
|
'ComponentRef',
|
|
|
|
'ComponentRef.componentType:Type',
|
|
|
|
'ComponentRef.dispose():void',
|
|
|
|
'ComponentRef.hostComponent:any',
|
|
|
|
'ComponentRef.hostView:HostViewRef',
|
|
|
|
'ComponentRef.injector:Injector',
|
|
|
|
'ComponentRef.instance:any',
|
|
|
|
'ComponentRef.location:ElementRef',
|
|
|
|
'ConcreteType',
|
|
|
|
'ContentChildFactory',
|
|
|
|
'ContentChildMetadata',
|
|
|
|
'ContentChildMetadata.constructor(_selector:Type|string)',
|
|
|
|
'ContentChildrenFactory',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ContentChildrenMetadata',
|
|
|
|
'ContentChildrenMetadata.constructor(_selector:Type|string, {descendants=false}:{descendants?:boolean})',
|
2016-04-12 12:40:37 -04:00
|
|
|
'CyclicDependencyError',
|
|
|
|
'CyclicDependencyError.constructor(injector:Injector, key:Key)',
|
|
|
|
'DebugNode',
|
|
|
|
'DebugNode.componentInstance:any',
|
2016-01-06 17:13:44 -05:00
|
|
|
'DebugNode.constructor(nativeNode:any, parent:DebugNode, _debugInfo:RenderDebugInfo)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'DebugNode.getLocal(name:string):any',
|
|
|
|
'DebugNode.inject(token:any):any',
|
|
|
|
'DebugNode.injector:Injector',
|
|
|
|
'DebugNode.listeners:EventListener[]',
|
2016-01-06 17:13:44 -05:00
|
|
|
'DebugNode.locals:{[key:string]:any}',
|
2016-04-12 12:40:37 -04:00
|
|
|
'DebugNode.nativeNode:any',
|
|
|
|
'DebugNode.parent:DebugElement',
|
|
|
|
'DebugNode.providerTokens:any[]',
|
2016-01-06 17:13:44 -05:00
|
|
|
'DebugNode.source:string',
|
2016-04-12 12:40:37 -04:00
|
|
|
'DebugElement',
|
|
|
|
'DebugElement.children:DebugElement[]',
|
|
|
|
'DebugElement.nativeElement:any',
|
|
|
|
'DebugElement.addChild(child:DebugNode):any',
|
2016-01-06 17:13:44 -05:00
|
|
|
'DebugElement.attributes:{[key:string]:string}',
|
2016-04-12 12:40:37 -04:00
|
|
|
'DebugElement.childNodes:DebugNode[]',
|
2016-01-06 17:13:44 -05:00
|
|
|
'DebugElement.constructor(nativeNode:any, parent:any, _debugInfo:RenderDebugInfo)',
|
2016-01-14 00:35:21 -05:00
|
|
|
'DebugElement.insertChildrenAfter(child:DebugNode, newChildren:DebugNode[]):any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'DebugElement.name:string',
|
2016-01-06 17:13:44 -05:00
|
|
|
'DebugElement.properties:{[key:string]:string}',
|
2016-01-14 00:35:21 -05:00
|
|
|
'DebugElement.query(predicate:Predicate<DebugElement>):DebugElement',
|
|
|
|
'DebugElement.queryAll(predicate:Predicate<DebugElement>):DebugElement[]',
|
|
|
|
'DebugElement.queryAllNodes(predicate:Predicate<DebugNode>):DebugNode[]',
|
|
|
|
'DebugElement.removeChild(child:DebugNode):any',
|
2016-01-06 17:13:44 -05:00
|
|
|
'DebugElement.triggerEventHandler(eventName:string, eventObj:any):any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'asNativeElements(debugEls:DebugElement[]):any',
|
|
|
|
'Dependency',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Dependency.constructor(key:Key, optional:boolean, lowerBoundVisibility:any, upperBoundVisibility:any, properties:any[])',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Dependency.fromKey(key:Key):Dependency',
|
|
|
|
'DependencyMetadata',
|
|
|
|
'DependencyMetadata.token:any',
|
|
|
|
'DirectiveDecorator',
|
|
|
|
'DirectiveFactory',
|
|
|
|
'DirectiveMetadata',
|
|
|
|
'DirectiveMetadata.bindings:any[]',
|
2016-01-27 11:47:04 -05:00
|
|
|
'DirectiveMetadata.constructor({selector,inputs,outputs,properties,events,host,bindings,providers,exportAs,queries}:{selector?:string, inputs?:string[], outputs?:string[], properties?:string[], events?:string[], host?:{[key:string]:string}, providers?:any[], bindings?:any[], exportAs?:string, queries?:{[key:string]:any}})',
|
2016-04-12 12:40:37 -04:00
|
|
|
'DirectiveMetadata.events:string[]',
|
|
|
|
'DirectiveMetadata.exportAs:string',
|
|
|
|
'DirectiveMetadata.host:{[key:string]:string}',
|
|
|
|
'DirectiveMetadata.inputs:string[]',
|
|
|
|
'DirectiveMetadata.outputs:string[]',
|
|
|
|
'DirectiveMetadata.properties:string[]',
|
|
|
|
'DirectiveMetadata.providers:any[]',
|
|
|
|
'DirectiveMetadata.queries:{[key:string]:any}',
|
|
|
|
'DirectiveMetadata.selector:string',
|
|
|
|
'DoCheck',
|
|
|
|
'DoCheck.ngDoCheck():any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'DynamicComponentLoader',
|
|
|
|
'DynamicComponentLoader.loadAsRoot(type:Type, overrideSelector:string, injector:Injector, onDispose:() => void, projectableNodes:any[][]):Promise<ComponentRef>',
|
|
|
|
'DynamicComponentLoader.loadIntoLocation(type:Type, hostLocation:ElementRef, anchorName:string, providers:ResolvedProvider[], projectableNodes:any[][]):Promise<ComponentRef>',
|
|
|
|
'DynamicComponentLoader.loadNextToLocation(type:Type, location:ElementRef, providers:ResolvedProvider[], projectableNodes:any[][]):Promise<ComponentRef>',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ElementRef',
|
|
|
|
'ElementRef.nativeElement:any',
|
|
|
|
'EmbeddedViewRef',
|
|
|
|
'EmbeddedViewRef.hasLocal(variableName:string):boolean',
|
|
|
|
'EmbeddedViewRef.rootNodes:any[]',
|
2016-01-27 11:47:04 -05:00
|
|
|
'EmbeddedViewRef.setLocal(variableName:string, value:any):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'EventEmitter.constructor(isAsync:boolean)',
|
|
|
|
'EventEmitter.emit(value:T):any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'EventEmitter.next(value:any):any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'EventEmitter.subscribe(generatorOrNext:any, error:any, complete:any):any',
|
|
|
|
'EventEmitter<T>',
|
|
|
|
'ExceptionHandler',
|
|
|
|
'ExceptionHandler.call(exception:any, stackTrace:any, reason:string):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ExceptionHandler.constructor(_logger:any, _rethrowException:boolean)',
|
|
|
|
'ExceptionHandler.exceptionToString(exception:any, stackTrace:any, reason:string):string',
|
|
|
|
'ExpressionChangedAfterItHasBeenCheckedException',
|
2016-01-06 17:13:44 -05:00
|
|
|
'ExpressionChangedAfterItHasBeenCheckedException.constructor(oldValue:any, currValue:any, context:any)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ForwardRefFn',
|
|
|
|
'GetTestability',
|
|
|
|
'GetTestability.addToWindow(registry:TestabilityRegistry):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'GetTestability.findTestabilityInTree(registry:TestabilityRegistry, elem:any, findInAncestors:boolean):Testability',
|
2016-04-12 12:40:37 -04:00
|
|
|
'HostBindingFactory',
|
|
|
|
'HostBindingMetadata',
|
|
|
|
'HostBindingMetadata.constructor(hostPropertyName:string)',
|
|
|
|
'HostFactory',
|
|
|
|
'HostListenerFactory',
|
|
|
|
'HostListenerMetadata',
|
|
|
|
'HostListenerMetadata.constructor(eventName:string, args:string[])',
|
|
|
|
'HostMetadata',
|
|
|
|
'HostMetadata.toString():string',
|
|
|
|
'HostViewFactoryRef',
|
|
|
|
'HostViewRef',
|
|
|
|
'HostViewRef.rootNodes:any[]',
|
|
|
|
'InjectFactory',
|
|
|
|
'InjectMetadata',
|
|
|
|
'InjectMetadata.constructor(token:any)',
|
|
|
|
'InjectMetadata.toString():string',
|
|
|
|
'InjectableFactory',
|
|
|
|
'InjectableMetadata',
|
|
|
|
'InjectableMetadata.constructor()',
|
|
|
|
'Injector',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Injector.createChildFromResolved(providers:ResolvedProvider[]):Injector',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Injector.debugContext():any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Injector.fromResolvedBindings(providers:ResolvedProvider[]):Injector',
|
|
|
|
'Injector.fromResolvedProviders(providers:ResolvedProvider[]):Injector',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Injector.get(token:any):any',
|
|
|
|
'Injector.getOptional(token:any):any',
|
|
|
|
'Injector.instantiateResolved(provider:ResolvedProvider):any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Injector.parent:Injector',
|
|
|
|
'Injector.resolve(providers:Array<Type|Provider|any[]>):ResolvedProvider[]',
|
|
|
|
'Injector.resolveAndCreate(providers:Array<Type|Provider|any[]>):Injector',
|
|
|
|
'Injector.resolveAndCreateChild(providers:Array<Type|Provider|any[]>):Injector',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Injector.resolveAndInstantiate(provider:Type|Provider):any',
|
|
|
|
'InputFactory',
|
|
|
|
'InputMetadata',
|
|
|
|
'InputMetadata.constructor(bindingPropertyName:string)',
|
|
|
|
'InstantiationError',
|
|
|
|
'InstantiationError.addKey(injector:Injector, key:Key):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'InstantiationError.causeKey:Key',
|
|
|
|
'InstantiationError.constructor(injector:Injector, originalException:any, originalStack:any, key:Key)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'InstantiationError.context:any',
|
|
|
|
'InstantiationError.injectors:Injector[]',
|
|
|
|
'InstantiationError.keys:Key[]',
|
|
|
|
'InstantiationError.wrapperMessage:string',
|
|
|
|
'InvalidProviderError',
|
|
|
|
'InvalidProviderError.constructor(provider:any)',
|
|
|
|
'IterableDiffer',
|
|
|
|
'IterableDiffer.diff(object:any):any',
|
|
|
|
'IterableDiffer.onDestroy():any',
|
|
|
|
'IterableDifferFactory',
|
2016-02-01 21:31:26 -05:00
|
|
|
'IterableDifferFactory.create(cdRef:ChangeDetectorRef, trackByFn:TrackByFn):IterableDiffer',
|
2016-04-12 12:40:37 -04:00
|
|
|
'IterableDifferFactory.supports(objects:any):boolean',
|
|
|
|
'IterableDiffers',
|
2016-01-27 11:47:04 -05:00
|
|
|
'IterableDiffers.constructor(factories:IterableDifferFactory[])',
|
|
|
|
'IterableDiffers.create(factories:IterableDifferFactory[], parent:IterableDiffers):IterableDiffers',
|
|
|
|
'IterableDiffers.extend(factories:IterableDifferFactory[]):Provider',
|
2016-04-12 12:40:37 -04:00
|
|
|
'IterableDiffers.find(iterable:any):IterableDifferFactory',
|
|
|
|
'Key',
|
|
|
|
'Key.constructor(token:Object, id:number)',
|
|
|
|
'Key.displayName:string',
|
|
|
|
'Key.get(token:Object):Key',
|
|
|
|
'Key.numberOfKeys:number',
|
|
|
|
'KeyValueChangeRecord',
|
|
|
|
'KeyValueChangeRecord.constructor(key:any)',
|
|
|
|
'KeyValueChangeRecord.currentValue:any',
|
|
|
|
'KeyValueChangeRecord.previousValue:any',
|
|
|
|
'KeyValueChangeRecord.toString():string',
|
|
|
|
'KeyValueDiffer',
|
|
|
|
'KeyValueDiffer.diff(object:any):any',
|
|
|
|
'KeyValueDiffer.onDestroy():any',
|
|
|
|
'KeyValueDifferFactory',
|
2016-01-27 11:47:04 -05:00
|
|
|
'KeyValueDifferFactory.create(cdRef:ChangeDetectorRef):KeyValueDiffer',
|
2016-04-12 12:40:37 -04:00
|
|
|
'KeyValueDifferFactory.supports(objects:any):boolean',
|
|
|
|
'KeyValueDiffers',
|
2016-01-27 11:47:04 -05:00
|
|
|
'KeyValueDiffers.constructor(factories:KeyValueDifferFactory[])',
|
|
|
|
'KeyValueDiffers.create(factories:KeyValueDifferFactory[], parent:KeyValueDiffers):KeyValueDiffers',
|
|
|
|
'KeyValueDiffers.extend(factories:KeyValueDifferFactory[]):Provider',
|
2016-04-12 12:40:37 -04:00
|
|
|
'KeyValueDiffers.find(kv:Object):KeyValueDifferFactory',
|
|
|
|
'NgZone',
|
|
|
|
'NgZone.constructor({enableLongStackTrace=false}:any)',
|
|
|
|
'NgZone.assertInAngularZone():void',
|
|
|
|
'NgZone.assertNotInAngularZone():void',
|
|
|
|
'NgZone.isInAngularZone():boolean',
|
|
|
|
'NgZone.hasPendingMacrotasks:boolean',
|
|
|
|
'NgZone.hasPendingMicrotasks:boolean',
|
|
|
|
'NgZone.onError:EventEmitter<any>',
|
|
|
|
'NgZone.onStable:EventEmitter<any>',
|
|
|
|
'NgZone.onMicrotaskEmpty:EventEmitter<any>',
|
|
|
|
'NgZone.onUnstable:EventEmitter<any>',
|
|
|
|
'NgZone.run(fn:() => any):any',
|
|
|
|
'NgZone.runOutsideAngular(fn:() => any):any',
|
|
|
|
'NgZoneError',
|
|
|
|
'NgZoneError.constructor(error:any, stackTrace:any)',
|
|
|
|
'NoAnnotationError',
|
|
|
|
'NoAnnotationError.constructor(typeOrFunc:any, params:any[][])',
|
|
|
|
'NoProviderError',
|
|
|
|
'NoProviderError.constructor(injector:Injector, key:Key)',
|
|
|
|
'OnChanges',
|
|
|
|
'OnChanges.ngOnChanges(changes:{[key:string]:SimpleChange}):any',
|
|
|
|
'OnDestroy',
|
|
|
|
'OnDestroy.ngOnDestroy():any',
|
|
|
|
'OnInit',
|
|
|
|
'OnInit.ngOnInit():any',
|
|
|
|
'OpaqueToken',
|
|
|
|
'OpaqueToken.constructor(_desc:string)',
|
|
|
|
'OpaqueToken.toString():string',
|
|
|
|
'OptionalFactory',
|
|
|
|
'OptionalMetadata',
|
|
|
|
'OptionalMetadata.toString():string',
|
|
|
|
'OutOfBoundsError',
|
|
|
|
'OutOfBoundsError.constructor(index:any)',
|
|
|
|
'OutputFactory',
|
|
|
|
'OutputMetadata',
|
|
|
|
'OutputMetadata.constructor(bindingPropertyName:string)',
|
|
|
|
'PipeFactory',
|
|
|
|
'PipeMetadata',
|
|
|
|
'PipeMetadata.constructor({name,pure}:{name:string, pure?:boolean})',
|
|
|
|
'PipeMetadata.name:string',
|
|
|
|
'PipeMetadata.pure:boolean',
|
|
|
|
'PipeTransform',
|
|
|
|
'PipeTransform.transform(value:any, args:any[]):any',
|
|
|
|
'PlatformRef',
|
2016-01-27 11:47:04 -05:00
|
|
|
'PlatformRef.application(providers:Array<Type|Provider|any[]>):ApplicationRef',
|
2016-04-12 12:40:37 -04:00
|
|
|
'PlatformRef.asyncApplication(bindingFn:(zone: NgZone) => Promise<Array<Type | Provider | any[]>>, providers:Array<Type|Provider|any[]>):Promise<ApplicationRef>',
|
|
|
|
'PlatformRef.dispose():void',
|
|
|
|
'PlatformRef.injector:Injector',
|
|
|
|
'PlatformRef.registerDisposeListener(dispose:() => void):void',
|
|
|
|
'Provider',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Provider.constructor(token:any, {useClass,useValue,useExisting,useFactory,deps,multi}:{useClass?:Type, useValue?:any, useExisting?:any, useFactory?:Function, deps?:Object[], multi?:boolean})',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Provider.dependencies:Object[]',
|
|
|
|
'Provider.multi:boolean',
|
|
|
|
'Provider.token:any',
|
|
|
|
'Provider.useClass:Type',
|
|
|
|
'Provider.useExisting:any',
|
|
|
|
'Provider.useFactory:Function',
|
|
|
|
'Provider.useValue:any',
|
|
|
|
'ProviderBuilder',
|
|
|
|
'ProviderBuilder.constructor(token:any)',
|
|
|
|
'ProviderBuilder.toAlias(aliasToken:any):Provider',
|
|
|
|
'ProviderBuilder.toClass(type:Type):Provider',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ProviderBuilder.toFactory(factory:Function, dependencies:any[]):Provider',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ProviderBuilder.toValue(value:any):Provider',
|
|
|
|
'QueryFactory',
|
|
|
|
'QueryList.changes:Observable<any>',
|
2016-01-06 17:13:44 -05:00
|
|
|
'QueryList.dirty:any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'QueryList.filter(fn:(item: T) => boolean):T[]',
|
|
|
|
'QueryList.first:T',
|
|
|
|
'QueryList.forEach(fn:(item: T) => void):void',
|
|
|
|
'QueryList.last:T',
|
|
|
|
'QueryList.length:number',
|
|
|
|
'QueryList.map(fn:(item: T) => U):U[]',
|
|
|
|
'QueryList.notifyOnChanges():void',
|
|
|
|
'QueryList.reduce(fn:(acc: U, item: T) => U, init:U):U',
|
2016-01-06 17:13:44 -05:00
|
|
|
'QueryList.reset(res:Array<T|any[]>):void',
|
|
|
|
'QueryList.setDirty():any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'QueryList.toArray():T[]',
|
|
|
|
'QueryList.toString():string',
|
|
|
|
'QueryList<T>',
|
|
|
|
'QueryMetadata',
|
2016-01-27 11:47:04 -05:00
|
|
|
'QueryMetadata.constructor(_selector:Type|string, {descendants=false,first=false}:{descendants?:boolean, first?:boolean})',
|
2016-04-12 12:40:37 -04:00
|
|
|
'QueryMetadata.descendants:boolean',
|
|
|
|
'QueryMetadata.first:boolean',
|
|
|
|
'QueryMetadata.isVarBindingQuery:boolean',
|
|
|
|
'QueryMetadata.isViewQuery:boolean',
|
|
|
|
'QueryMetadata.selector:any',
|
|
|
|
'QueryMetadata.toString():string',
|
|
|
|
'QueryMetadata.varBindings:string[]',
|
|
|
|
'ReflectionInfo',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ReflectionInfo.constructor(annotations:any[], parameters:any[][], factory:Function, interfaces:any[], propMetadata:{[key:string]:any[]})',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Reflector',
|
|
|
|
'Reflector.annotations(typeOrFunc:any):any[]',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Reflector.constructor(reflectionCapabilities:PlatformReflectionCapabilities)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Reflector.factory(type:Type):Function',
|
|
|
|
'Reflector.getter(name:string):GetterFn',
|
|
|
|
'Reflector.importUri(type:Type):string',
|
|
|
|
'Reflector.interfaces(type:Type):any[]',
|
|
|
|
'Reflector.isReflectionEnabled():boolean',
|
|
|
|
'Reflector.listUnusedKeys():any[]',
|
|
|
|
'Reflector.method(name:string):MethodFn',
|
|
|
|
'Reflector.parameters(typeOrFunc:any):any[][]',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Reflector.propMetadata(typeOrFunc:any):{[key:string]:any[]}',
|
|
|
|
'Reflector.reflectionCapabilities:PlatformReflectionCapabilities',
|
|
|
|
'Reflector.registerFunction(func:Function, funcInfo:ReflectionInfo):void',
|
|
|
|
'Reflector.registerGetters(getters:{[key:string]:GetterFn}):void',
|
|
|
|
'Reflector.registerMethods(methods:{[key:string]:MethodFn}):void',
|
|
|
|
'Reflector.registerSetters(setters:{[key:string]:SetterFn}):void',
|
|
|
|
'Reflector.registerType(type:Type, typeInfo:ReflectionInfo):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Reflector.setter(name:string):SetterFn',
|
|
|
|
'Reflector.trackUsage():void',
|
|
|
|
'RenderComponentType',
|
2016-01-06 17:13:44 -05:00
|
|
|
'RenderComponentType.constructor(id:string, templateUrl:string, slotCount:number, encapsulation:ViewEncapsulation, styles:Array<string|any[]>)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Renderer',
|
|
|
|
'Renderer.attachViewAfter(node:any, viewRootNodes:any[]):void',
|
2016-01-06 17:13:44 -05:00
|
|
|
'Renderer.createElement(parentElement:any, name:string, debugInfo:RenderDebugInfo):any',
|
|
|
|
'Renderer.createTemplateAnchor(parentElement:any, debugInfo:RenderDebugInfo):any',
|
|
|
|
'Renderer.createText(parentElement:any, value:string, debugInfo:RenderDebugInfo):any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Renderer.createViewRoot(hostElement:any):any',
|
2016-03-28 17:25:22 -04:00
|
|
|
'Renderer.destroyView(hostElement:any, viewAllNodes:any[]):void',
|
|
|
|
'Renderer.detachView(viewRootNodes:any[]):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Renderer.invokeElementMethod(renderElement:any, methodName:string, args:any[]):any',
|
|
|
|
'Renderer.listen(renderElement:any, name:string, callback:Function):Function',
|
|
|
|
'Renderer.listenGlobal(target:string, name:string, callback:Function):Function',
|
2016-03-28 17:25:22 -04:00
|
|
|
'Renderer.projectNodes(parentElement:any, nodes:any[]):void',
|
2016-01-06 17:13:44 -05:00
|
|
|
'Renderer.selectRootElement(selector:string, debugInfo:RenderDebugInfo):any',
|
2016-03-28 17:25:22 -04:00
|
|
|
'Renderer.setBindingDebugInfo(renderElement:any, propertyName:string, propertyValue:string):void',
|
|
|
|
'Renderer.setElementAttribute(renderElement:any, attributeName:string, attributeValue:string):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Renderer.setElementClass(renderElement:any, className:string, isAdd:boolean):any',
|
2016-03-28 17:25:22 -04:00
|
|
|
'Renderer.setElementProperty(renderElement:any, propertyName:string, propertyValue:any):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Renderer.setElementStyle(renderElement:any, styleName:string, styleValue:string):any',
|
|
|
|
'Renderer.setText(renderNode:any, text:string):any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ResolvedBinding',
|
|
|
|
'ResolvedFactory',
|
|
|
|
'ResolvedFactory.constructor(factory:Function, dependencies:Dependency[])',
|
|
|
|
'ResolvedProvider',
|
|
|
|
'ResolvedProvider.key:Key',
|
|
|
|
'ResolvedProvider.multiProvider:boolean',
|
|
|
|
'ResolvedProvider.resolvedFactories:ResolvedFactory[]',
|
|
|
|
'RootRenderer',
|
|
|
|
'RootRenderer.renderComponent(componentType:RenderComponentType):Renderer',
|
|
|
|
'SelfFactory',
|
|
|
|
'SelfMetadata',
|
|
|
|
'SelfMetadata.toString():string',
|
|
|
|
'SimpleChange',
|
2016-01-27 11:47:04 -05:00
|
|
|
'SimpleChange.constructor(previousValue:any, currentValue:any)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'SimpleChange.isFirstChange():boolean',
|
|
|
|
'SkipSelfFactory',
|
|
|
|
'SkipSelfMetadata',
|
|
|
|
'SkipSelfMetadata.toString():string',
|
|
|
|
'TemplateRef',
|
|
|
|
'TemplateRef.elementRef:ElementRef',
|
|
|
|
'Testability',
|
|
|
|
'Testability.constructor(_ngZone:NgZone)',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Testability.decreasePendingRequestCount():number',
|
|
|
|
'Testability.findBindings(using:any, provider:string, exactMatch:boolean):any[]',
|
|
|
|
'Testability.findProviders(using:any, provider:string, exactMatch:boolean):any[]',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Testability.getPendingRequestCount():number',
|
|
|
|
'Testability.increasePendingRequestCount():number',
|
|
|
|
'Testability.isStable():boolean',
|
|
|
|
'Testability.whenStable(callback:Function):void',
|
|
|
|
'TestabilityRegistry',
|
|
|
|
'TestabilityRegistry.constructor()',
|
2016-01-27 11:47:04 -05:00
|
|
|
'TestabilityRegistry.findTestabilityInTree(elem:Node, findInAncestors:boolean):Testability',
|
|
|
|
'TestabilityRegistry.getAllTestabilities():Testability[]',
|
2016-02-18 16:51:20 -05:00
|
|
|
'TestabilityRegistry.getAllRootElements():any[]',
|
2016-01-27 11:47:04 -05:00
|
|
|
'TestabilityRegistry.getTestability(elem:any):Testability',
|
2016-04-12 12:40:37 -04:00
|
|
|
'TestabilityRegistry.registerApplication(token:any, testability:Testability):any',
|
|
|
|
'TrackByFn',
|
|
|
|
'TypeDecorator',
|
|
|
|
'TypeDecorator.Class(obj:ClassDefinition):ConcreteType',
|
|
|
|
'TypeDecorator.annotations:any[]',
|
|
|
|
'ViewChildFactory',
|
|
|
|
'ViewChildMetadata',
|
|
|
|
'ViewChildMetadata.constructor(_selector:Type|string)',
|
|
|
|
'ViewChildrenFactory',
|
|
|
|
'ViewChildrenMetadata',
|
|
|
|
'ViewChildrenMetadata.constructor(_selector:Type|string)',
|
|
|
|
'ViewContainerRef',
|
|
|
|
'ViewContainerRef.clear():void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ViewContainerRef.createEmbeddedView(templateRef:TemplateRef, index:number):EmbeddedViewRef',
|
|
|
|
'ViewContainerRef.createHostView(hostViewFactoryRef:HostViewFactoryRef, index:number, dynamicallyCreatedProviders:ResolvedProvider[], projectableNodes:any[][]):HostViewRef',
|
2016-01-06 17:13:44 -05:00
|
|
|
'ViewContainerRef.detach(index:number):ViewRef',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ViewContainerRef.element:ElementRef',
|
|
|
|
'ViewContainerRef.get(index:number):ViewRef',
|
|
|
|
'ViewContainerRef.indexOf(viewRef:ViewRef):number',
|
2016-01-06 17:13:44 -05:00
|
|
|
'ViewContainerRef.insert(viewRef:ViewRef, index:number):ViewRef',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ViewContainerRef.length:number',
|
|
|
|
'ViewContainerRef.remove(index:number):void',
|
|
|
|
'ViewDecorator',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ViewDecorator.View(obj:{templateUrl?:string, template?:string, directives?:Array<Type|any[]>, pipes?:Array<Type|any[]>, renderer?:string, styles?:string[], styleUrls?:string[]}):ViewDecorator',
|
|
|
|
'ViewEncapsulation',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ViewEncapsulation.Emulated',
|
|
|
|
'ViewEncapsulation.Native',
|
|
|
|
'ViewEncapsulation.None',
|
|
|
|
'ViewFactory',
|
|
|
|
'ViewMetadata',
|
|
|
|
'ViewMetadata.constructor({templateUrl,template,directives,pipes,encapsulation,styles,styleUrls}:{templateUrl?:string, template?:string, directives?:Array<Type|any[]>, pipes?:Array<Type|any[]>, encapsulation?:ViewEncapsulation, styles?:string[], styleUrls?:string[]})',
|
|
|
|
'ViewMetadata.directives:Array<Type|any[]>',
|
|
|
|
'ViewMetadata.encapsulation:ViewEncapsulation',
|
|
|
|
'ViewMetadata.pipes:Array<Type|any[]>',
|
|
|
|
'ViewMetadata.styleUrls:string[]',
|
|
|
|
'ViewMetadata.styles:string[]',
|
|
|
|
'ViewMetadata.template:string',
|
|
|
|
'ViewMetadata.templateUrl:string',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ViewQueryMetadata',
|
|
|
|
'ViewQueryMetadata.constructor(_selector:Type|string, {descendants=false,first=false}:{descendants?:boolean, first?:boolean})',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ViewQueryMetadata.isViewQuery:any',
|
|
|
|
'ViewQueryMetadata.toString():string',
|
|
|
|
'ViewRef',
|
|
|
|
'ViewRef.changeDetectorRef:ChangeDetectorRef',
|
|
|
|
'ViewRef.destroyed:boolean',
|
|
|
|
'WrappedException',
|
2016-01-27 11:47:04 -05:00
|
|
|
'WrappedException.constructor(_wrapperMessage:string, _originalException:any, _originalStack:any, _context:any)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'WrappedException.context:any',
|
|
|
|
'WrappedException.message:string',
|
|
|
|
'WrappedException.originalException:any',
|
|
|
|
'WrappedException.originalStack:any',
|
|
|
|
'WrappedException.toString():string',
|
|
|
|
'WrappedException.wrapperMessage:string',
|
|
|
|
'WrappedException.wrapperStack:any',
|
|
|
|
'WrappedValue',
|
|
|
|
'WrappedValue.constructor(wrapped:any)',
|
|
|
|
'WrappedValue.wrap(value:any):WrappedValue',
|
|
|
|
'bind(token:any):ProviderBuilder',
|
2016-01-27 11:47:04 -05:00
|
|
|
'const APPLICATION_COMMON_PROVIDERS:Array<Type|Provider|any[]>',
|
2016-04-12 12:40:37 -04:00
|
|
|
'const APP_COMPONENT:OpaqueToken',
|
|
|
|
'const APP_ID:OpaqueToken',
|
|
|
|
'const APP_INITIALIZER:OpaqueToken',
|
|
|
|
'const PACKAGE_ROOT_URL:OpaqueToken',
|
2016-01-27 11:47:04 -05:00
|
|
|
'const PLATFORM_COMMON_PROVIDERS:Array<Type|Provider|any[]>',
|
2016-04-12 12:40:37 -04:00
|
|
|
'const PLATFORM_DIRECTIVES:OpaqueToken',
|
|
|
|
'const PLATFORM_INITIALIZER:OpaqueToken',
|
|
|
|
'const PLATFORM_PIPES:OpaqueToken',
|
|
|
|
'createNgZone():NgZone',
|
|
|
|
'enableProdMode():any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'forwardRef(forwardRefFn:ForwardRefFn):Type',
|
|
|
|
'platform(providers:Array<Type|Provider|any[]>):PlatformRef',
|
|
|
|
'provide(token:any, {useClass,useValue,useExisting,useFactory,deps,multi}:{useClass?:Type, useValue?:any, useExisting?:any, useFactory?:Function, deps?:Object[], multi?:boolean}):Provider',
|
2016-04-12 12:40:37 -04:00
|
|
|
'resolveForwardRef(type:any):any',
|
|
|
|
'setTestabilityGetter(getter:GetTestability):void',
|
|
|
|
'var Attribute:AttributeFactory',
|
|
|
|
'var Component:ComponentFactory',
|
|
|
|
'var ContentChild:ContentChildFactory',
|
|
|
|
'var ContentChildren:ContentChildrenFactory',
|
|
|
|
'var Directive:DirectiveFactory',
|
|
|
|
'var Host:HostFactory',
|
|
|
|
'var HostBinding:HostBindingFactory',
|
|
|
|
'var HostListener:HostListenerFactory',
|
|
|
|
'var Inject:InjectFactory',
|
|
|
|
'var Injectable:InjectableFactory',
|
|
|
|
'var Input:InputFactory',
|
|
|
|
'var Optional:OptionalFactory',
|
|
|
|
'var Output:OutputFactory',
|
|
|
|
'var Pipe:PipeFactory',
|
|
|
|
'var Query:QueryFactory',
|
|
|
|
'var Self:SelfFactory',
|
|
|
|
'var SkipSelf:SkipSelfFactory',
|
|
|
|
'var Type:any',
|
|
|
|
'var ViewChild:ViewChildFactory',
|
|
|
|
'var ViewChildren:ViewChildrenFactory',
|
|
|
|
'var ViewQuery:QueryFactory',
|
|
|
|
'var reflector:any'
|
2016-01-27 11:47:04 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
const COMMON = [
|
|
|
|
'AbstractControl',
|
2016-02-19 14:49:31 -05:00
|
|
|
'AbstractControl.constructor(validator:ValidatorFn, asyncValidator:AsyncValidatorFn)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'AbstractControl.dirty:boolean',
|
|
|
|
'AbstractControl.errors:{[key:string]:any}',
|
2016-01-27 11:47:04 -05:00
|
|
|
'AbstractControl.find(path:Array<string|number>|string):AbstractControl',
|
|
|
|
'AbstractControl.getError(errorCode:string, path:string[]):any',
|
|
|
|
'AbstractControl.hasError(errorCode:string, path:string[]):boolean',
|
|
|
|
'AbstractControl.markAsDirty({onlySelf}:{onlySelf?:boolean}):void',
|
|
|
|
'AbstractControl.markAsPending({onlySelf}:{onlySelf?:boolean}):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'AbstractControl.markAsTouched():void',
|
|
|
|
'AbstractControl.pending:boolean',
|
2016-01-27 11:47:04 -05:00
|
|
|
'AbstractControl.pristine:boolean',
|
|
|
|
'AbstractControl.setErrors(errors:{[key:string]:any}, {emitEvent}:{emitEvent?:boolean}):void',
|
|
|
|
'AbstractControl.setParent(parent:ControlGroup|ControlArray):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'AbstractControl.status:string',
|
|
|
|
'AbstractControl.statusChanges:Observable<any>',
|
|
|
|
'AbstractControl.touched:boolean',
|
|
|
|
'AbstractControl.untouched:boolean',
|
2016-01-27 11:47:04 -05:00
|
|
|
'AbstractControl.updateValueAndValidity({onlySelf,emitEvent}:{onlySelf?:boolean, emitEvent?:boolean}):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'AbstractControl.valid:boolean',
|
|
|
|
'AbstractControl.value:any',
|
|
|
|
'AbstractControl.root:AbstractControl',
|
|
|
|
'AbstractControl.valueChanges:Observable<any>',
|
|
|
|
'AbstractControlDirective',
|
|
|
|
'AbstractControlDirective.control:AbstractControl',
|
|
|
|
'AbstractControlDirective.dirty:boolean',
|
|
|
|
'AbstractControlDirective.errors:{[key:string]:any}',
|
|
|
|
'AbstractControlDirective.path:string[]',
|
|
|
|
'AbstractControlDirective.pristine:boolean',
|
|
|
|
'AbstractControlDirective.touched:boolean',
|
|
|
|
'AbstractControlDirective.untouched:boolean',
|
|
|
|
'AbstractControlDirective.valid:boolean',
|
|
|
|
'AbstractControlDirective.value:any',
|
|
|
|
'AsyncPipe',
|
|
|
|
'AsyncPipe.constructor(_ref:ChangeDetectorRef)',
|
|
|
|
'AsyncPipe.ngOnDestroy():void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'AsyncPipe.transform(obj:Observable<any>|Promise<any>|EventEmitter<any>, args:any[]):any',
|
|
|
|
'CheckboxControlValueAccessor',
|
|
|
|
'CheckboxControlValueAccessor.constructor(_renderer:Renderer, _elementRef:ElementRef)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'CheckboxControlValueAccessor.onChange:any',
|
|
|
|
'CheckboxControlValueAccessor.onTouched:any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'CheckboxControlValueAccessor.registerOnChange(fn:(_: any) => {}):void',
|
|
|
|
'CheckboxControlValueAccessor.registerOnTouched(fn:() => {}):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'CheckboxControlValueAccessor.writeValue(value:any):void',
|
|
|
|
'Control',
|
2016-02-19 14:49:31 -05:00
|
|
|
'Control.constructor(value:any, validator:ValidatorFn, asyncValidator:AsyncValidatorFn)',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Control.registerOnChange(fn:Function):void',
|
|
|
|
'Control.updateValue(value:any, {onlySelf,emitEvent,emitModelToViewChange}:{onlySelf?:boolean, emitEvent?:boolean, emitModelToViewChange?:boolean}):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ControlArray',
|
|
|
|
'ControlArray.at(index:number):AbstractControl',
|
2016-02-19 14:49:31 -05:00
|
|
|
'ControlArray.constructor(controls:AbstractControl[], validator:ValidatorFn, asyncValidator:AsyncValidatorFn)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ControlArray.insert(index:number, control:AbstractControl):void',
|
|
|
|
'ControlArray.length:number',
|
|
|
|
'ControlArray.push(control:AbstractControl):void',
|
|
|
|
'ControlArray.removeAt(index:number):void',
|
|
|
|
'ControlContainer',
|
|
|
|
'ControlContainer.formDirective:Form',
|
|
|
|
'ControlContainer.name:string',
|
|
|
|
'ControlContainer.path:string[]',
|
|
|
|
'ControlGroup',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ControlGroup.addControl(name:string, control:AbstractControl):void',
|
2016-02-19 14:49:31 -05:00
|
|
|
'ControlGroup.constructor(controls:{[key:string]:AbstractControl}, optionals:{[key:string]:boolean}, validator:ValidatorFn, asyncValidator:AsyncValidatorFn)',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ControlGroup.contains(controlName:string):boolean',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ControlGroup.exclude(controlName:string):void',
|
|
|
|
'ControlGroup.include(controlName:string):void',
|
|
|
|
'ControlGroup.removeControl(name:string):void',
|
|
|
|
'ControlValueAccessor',
|
2016-01-27 11:47:04 -05:00
|
|
|
'ControlValueAccessor.registerOnChange(fn:any):void',
|
|
|
|
'ControlValueAccessor.registerOnTouched(fn:any):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ControlValueAccessor.writeValue(obj:any):void',
|
|
|
|
'CurrencyPipe',
|
|
|
|
'CurrencyPipe.transform(value:any, args:any[]):string',
|
|
|
|
'DatePipe',
|
|
|
|
'DatePipe.supports(obj:any):boolean',
|
|
|
|
'DatePipe.transform(value:any, args:any[]):string',
|
|
|
|
'DecimalPipe',
|
|
|
|
'DecimalPipe.transform(value:any, args:any[]):string',
|
|
|
|
'DefaultValueAccessor',
|
2016-01-27 11:47:04 -05:00
|
|
|
'DefaultValueAccessor.constructor(_renderer:Renderer, _elementRef:ElementRef)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'DefaultValueAccessor.onChange:any',
|
|
|
|
'DefaultValueAccessor.onTouched:any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'DefaultValueAccessor.registerOnChange(fn:(_: any) => void):void',
|
|
|
|
'DefaultValueAccessor.registerOnTouched(fn:() => void):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'DefaultValueAccessor.writeValue(value:any):void',
|
|
|
|
'Form',
|
|
|
|
'Form.addControl(dir:NgControl):void',
|
|
|
|
'Form.addControlGroup(dir:NgControlGroup):void',
|
|
|
|
'Form.getControl(dir:NgControl):Control',
|
|
|
|
'Form.getControlGroup(dir:NgControlGroup):ControlGroup',
|
|
|
|
'Form.removeControl(dir:NgControl):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Form.removeControlGroup(dir:NgControlGroup):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Form.updateModel(dir:NgControl, value:any):void',
|
|
|
|
'FormBuilder',
|
2016-02-19 14:49:31 -05:00
|
|
|
'FormBuilder.array(controlsConfig:any[], validator:ValidatorFn, asyncValidator:AsyncValidatorFn):ControlArray',
|
|
|
|
'FormBuilder.control(value:Object, validator:ValidatorFn, asyncValidator:AsyncValidatorFn):Control',
|
2016-01-27 11:47:04 -05:00
|
|
|
'FormBuilder.group(controlsConfig:{[key:string]:any}, extra:{[key:string]:any}):ControlGroup',
|
2016-04-12 12:40:37 -04:00
|
|
|
'I18nPluralPipe',
|
|
|
|
'I18nPluralPipe.transform(value:number, args:any[]):string',
|
|
|
|
'I18nSelectPipe',
|
|
|
|
'I18nSelectPipe.transform(value:string, args:any[]):string',
|
|
|
|
'JsonPipe',
|
|
|
|
'JsonPipe.transform(value:any, args:any[]):string',
|
|
|
|
'LowerCasePipe',
|
|
|
|
'LowerCasePipe.transform(value:string, args:any[]):string',
|
|
|
|
'MaxLengthValidator',
|
2016-01-27 11:47:04 -05:00
|
|
|
'MaxLengthValidator.constructor(maxLength:string)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'MaxLengthValidator.validate(c:AbstractControl):{[key:string]:any}',
|
|
|
|
'MinLengthValidator',
|
2016-01-27 11:47:04 -05:00
|
|
|
'MinLengthValidator.constructor(minLength:string)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'MinLengthValidator.validate(c:AbstractControl):{[key:string]:any}',
|
|
|
|
'NgClass',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgClass.constructor(_iterableDiffers:IterableDiffers, _keyValueDiffers:KeyValueDiffers, _ngEl:ElementRef, _renderer:Renderer)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgClass.initialClasses=(v:string)',
|
|
|
|
'NgClass.ngDoCheck():void',
|
|
|
|
'NgClass.ngOnDestroy():void',
|
|
|
|
'NgClass.rawClass=(v:string|string[]|Set<string>|{[key:string]:any})',
|
|
|
|
'NgControl',
|
|
|
|
'NgControl.asyncValidator:AsyncValidatorFn',
|
|
|
|
'NgControl.name:string',
|
|
|
|
'NgControl.validator:ValidatorFn',
|
|
|
|
'NgControl.valueAccessor:ControlValueAccessor',
|
|
|
|
'NgControl.viewToModelUpdate(newValue:any):void',
|
|
|
|
'NgControlGroup',
|
2016-02-19 14:49:31 -05:00
|
|
|
'NgControlGroup.asyncValidator:AsyncValidatorFn',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgControlGroup.constructor(parent:ControlContainer, _validators:any[], _asyncValidators:any[])',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgControlGroup.control:ControlGroup',
|
|
|
|
'NgControlGroup.formDirective:Form',
|
|
|
|
'NgControlGroup.ngOnDestroy():void',
|
|
|
|
'NgControlGroup.ngOnInit():void',
|
|
|
|
'NgControlGroup.path:string[]',
|
|
|
|
'NgControlGroup.validator:ValidatorFn',
|
|
|
|
'NgControlName',
|
2016-02-19 14:49:31 -05:00
|
|
|
'NgControlName.asyncValidator:AsyncValidatorFn',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgControlName.constructor(_parent:ControlContainer, _validators:any[], _asyncValidators:any[], valueAccessors:ControlValueAccessor[])',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgControlName.control:Control',
|
|
|
|
'NgControlName.formDirective:any',
|
|
|
|
'NgControlName.model:any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgControlName.ngOnChanges(changes:{[key:string]:SimpleChange}):any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgControlName.ngOnDestroy():void',
|
|
|
|
'NgControlName.path:string[]',
|
|
|
|
'NgControlName.update:any',
|
|
|
|
'NgControlName.validator:ValidatorFn',
|
|
|
|
'NgControlName.viewModel:any',
|
|
|
|
'NgControlName.viewToModelUpdate(newValue:any):void',
|
|
|
|
'NgControlStatus',
|
|
|
|
'NgControlStatus.constructor(cd:NgControl)',
|
|
|
|
'NgControlStatus.ngClassDirty:boolean',
|
|
|
|
'NgControlStatus.ngClassInvalid:boolean',
|
|
|
|
'NgControlStatus.ngClassPristine:boolean',
|
|
|
|
'NgControlStatus.ngClassTouched:boolean',
|
|
|
|
'NgControlStatus.ngClassUntouched:boolean',
|
|
|
|
'NgControlStatus.ngClassValid:boolean',
|
|
|
|
'NgFor',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgFor.constructor(_viewContainer:ViewContainerRef, _templateRef:TemplateRef, _iterableDiffers:IterableDiffers, _cdr:ChangeDetectorRef)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgFor.ngDoCheck():any',
|
|
|
|
'NgFor.ngForOf=(value:any)',
|
|
|
|
'NgFor.ngForTemplate=(value:TemplateRef)',
|
|
|
|
'NgFor.ngForTrackBy=(value:TrackByFn)',
|
|
|
|
'NgForm',
|
|
|
|
'NgForm.addControl(dir:NgControl):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgForm.addControlGroup(dir:NgControlGroup):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgForm.constructor(validators:any[], asyncValidators:any[])',
|
|
|
|
'NgForm.control:ControlGroup',
|
|
|
|
'NgForm.controls:{[key:string]:AbstractControl}',
|
|
|
|
'NgForm.form:ControlGroup',
|
|
|
|
'NgForm.formDirective:Form',
|
|
|
|
'NgForm.getControl(dir:NgControl):Control',
|
|
|
|
'NgForm.getControlGroup(dir:NgControlGroup):ControlGroup',
|
|
|
|
'NgForm.ngSubmit:any',
|
|
|
|
'NgForm.onSubmit():boolean',
|
|
|
|
'NgForm.path:string[]',
|
|
|
|
'NgForm.removeControl(dir:NgControl):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgForm.removeControlGroup(dir:NgControlGroup):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgForm.updateModel(dir:NgControl, value:any):void',
|
|
|
|
'NgFormControl',
|
2016-02-19 14:49:31 -05:00
|
|
|
'NgFormControl.asyncValidator:AsyncValidatorFn',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgFormControl.constructor(_validators:any[], _asyncValidators:any[], valueAccessors:ControlValueAccessor[])',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgFormControl.control:Control',
|
|
|
|
'NgFormControl.form:Control',
|
|
|
|
'NgFormControl.model:any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgFormControl.ngOnChanges(changes:{[key:string]:SimpleChange}):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgFormControl.path:string[]',
|
|
|
|
'NgFormControl.update:any',
|
|
|
|
'NgFormControl.validator:ValidatorFn',
|
|
|
|
'NgFormControl.viewModel:any',
|
|
|
|
'NgFormControl.viewToModelUpdate(newValue:any):void',
|
|
|
|
'NgFormModel',
|
|
|
|
'NgFormModel.addControl(dir:NgControl):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgFormModel.addControlGroup(dir:NgControlGroup):any',
|
|
|
|
'NgFormModel.constructor(_validators:any[], _asyncValidators:any[])',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgFormModel.control:ControlGroup',
|
|
|
|
'NgFormModel.directives:NgControl[]',
|
|
|
|
'NgFormModel.form:ControlGroup',
|
|
|
|
'NgFormModel.formDirective:Form',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgFormModel.getControl(dir:NgControl):Control',
|
|
|
|
'NgFormModel.getControlGroup(dir:NgControlGroup):ControlGroup',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgFormModel.ngOnChanges(changes:{[key:string]:SimpleChange}):void',
|
|
|
|
'NgFormModel.ngSubmit:any',
|
|
|
|
'NgFormModel.onSubmit():boolean',
|
|
|
|
'NgFormModel.path:string[]',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgFormModel.removeControl(dir:NgControl):void',
|
|
|
|
'NgFormModel.removeControlGroup(dir:NgControlGroup):any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgFormModel.updateModel(dir:NgControl, value:any):void',
|
|
|
|
'NgIf',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgIf.constructor(_viewContainer:ViewContainerRef, _templateRef:TemplateRef)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgIf.ngIf=(newCondition:any)',
|
|
|
|
'NgLocalization',
|
|
|
|
'NgLocalization.getPluralCategory(value:any):string',
|
|
|
|
'NgModel',
|
2016-02-19 14:49:31 -05:00
|
|
|
'NgModel.asyncValidator:AsyncValidatorFn',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgModel.constructor(_validators:any[], _asyncValidators:any[], valueAccessors:ControlValueAccessor[])',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgModel.control:Control',
|
|
|
|
'NgModel.model:any',
|
|
|
|
'NgModel.ngOnChanges(changes:{[key:string]:SimpleChange}):any',
|
|
|
|
'NgModel.path:string[]',
|
|
|
|
'NgModel.update:any',
|
|
|
|
'NgModel.validator:ValidatorFn',
|
|
|
|
'NgModel.viewModel:any',
|
|
|
|
'NgModel.viewToModelUpdate(newValue:any):void',
|
|
|
|
'NgPlural',
|
|
|
|
'NgPlural.cases:QueryList<NgPluralCase>',
|
|
|
|
'NgPlural.constructor(_localization:NgLocalization)',
|
2016-03-04 19:32:22 -05:00
|
|
|
'NgPlural.ngAfterContentInit():any',
|
|
|
|
'NgPluralCase.constructor(value:string, template:TemplateRef, viewContainer:ViewContainerRef)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgPlural.ngPlural=(value:number)',
|
|
|
|
'NgPluralCase',
|
|
|
|
'NgSelectOption',
|
2016-04-01 22:27:25 -04:00
|
|
|
'NgSelectOption.constructor(_element:ElementRef, _renderer:Renderer, _select:SelectControlValueAccessor)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgSelectOption.id:string',
|
|
|
|
'NgSelectOption.ngOnDestroy():any',
|
|
|
|
'NgSelectOption.ngValue=(value:any)',
|
|
|
|
'NgSelectOption.value=(value:any)',
|
|
|
|
'NgStyle',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgStyle.constructor(_differs:KeyValueDiffers, _ngEl:ElementRef, _renderer:Renderer)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgStyle.ngDoCheck():any',
|
|
|
|
'NgStyle.rawStyle=(v:{[key:string]:string})',
|
|
|
|
'NgSwitch',
|
|
|
|
'NgSwitch.ngSwitch=(value:any)',
|
|
|
|
'NgSwitchDefault',
|
2016-01-27 11:47:04 -05:00
|
|
|
'NgSwitchDefault.constructor(viewContainer:ViewContainerRef, templateRef:TemplateRef, sswitch:NgSwitch)',
|
|
|
|
'NgSwitchWhen',
|
|
|
|
'NgSwitchWhen.constructor(viewContainer:ViewContainerRef, templateRef:TemplateRef, ngSwitch:NgSwitch)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgSwitchWhen.ngSwitchWhen=(value:any)',
|
|
|
|
'NumberPipe',
|
|
|
|
'PatternValidator',
|
2015-11-20 01:36:28 -05:00
|
|
|
'PatternValidator.constructor(pattern:string)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'PatternValidator.validate(c:AbstractControl):{[key:string]:any}',
|
|
|
|
'PercentPipe',
|
|
|
|
'PercentPipe.transform(value:any, args:any[]):string',
|
|
|
|
'ReplacePipe',
|
|
|
|
'ReplacePipe.transform(value:any, args:any[]):any',
|
|
|
|
'RequiredValidator',
|
2016-01-27 11:47:04 -05:00
|
|
|
'SelectControlValueAccessor',
|
2016-04-01 22:27:25 -04:00
|
|
|
'SelectControlValueAccessor.constructor(_renderer:Renderer, _elementRef:ElementRef)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'SelectControlValueAccessor.onChange:any',
|
|
|
|
'SelectControlValueAccessor.onTouched:any',
|
2016-04-01 22:27:25 -04:00
|
|
|
'SelectControlValueAccessor.registerOnChange(fn:(value: any) => any):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'SelectControlValueAccessor.registerOnTouched(fn:() => any):void',
|
2016-04-12 12:40:37 -04:00
|
|
|
'SelectControlValueAccessor.value:any',
|
|
|
|
'SelectControlValueAccessor.writeValue(value:any):void',
|
|
|
|
'SlicePipe',
|
|
|
|
'SlicePipe.transform(value:any, args:any[]):any',
|
|
|
|
'UpperCasePipe',
|
|
|
|
'UpperCasePipe.transform(value:string, args:any[]):string',
|
|
|
|
'Validator',
|
|
|
|
'Validator.validate(c:AbstractControl):{[key:string]:any}',
|
|
|
|
'Validators',
|
2016-02-19 14:49:31 -05:00
|
|
|
'Validators.compose(validators:ValidatorFn[]):ValidatorFn',
|
|
|
|
'Validators.composeAsync(validators:AsyncValidatorFn[]):AsyncValidatorFn',
|
|
|
|
'Validators.maxLength(maxLength:number):ValidatorFn',
|
|
|
|
'Validators.minLength(minLength:number):ValidatorFn',
|
|
|
|
'Validators.nullValidator(c:AbstractControl):{[key:string]:boolean}',
|
|
|
|
'Validators.pattern(pattern:string):ValidatorFn',
|
2016-04-12 12:40:37 -04:00
|
|
|
'Validators.required(control:AbstractControl):{[key:string]:boolean}',
|
|
|
|
'RadioButtonState',
|
|
|
|
'RadioButtonState.constructor(checked:boolean, value:string)',
|
|
|
|
'const COMMON_DIRECTIVES:Type[][]',
|
|
|
|
'const COMMON_PIPES:any',
|
|
|
|
'const CORE_DIRECTIVES:Type[]',
|
|
|
|
'const FORM_BINDINGS:any',
|
|
|
|
'const FORM_DIRECTIVES:Type[]',
|
|
|
|
'const FORM_PROVIDERS:Type[]',
|
|
|
|
'const NG_ASYNC_VALIDATORS:OpaqueToken',
|
|
|
|
'const NG_VALIDATORS:OpaqueToken',
|
|
|
|
'const NG_VALUE_ACCESSOR:OpaqueToken',
|
|
|
|
'var workaround_empty_observable_list_diff:any'
|
2016-01-27 11:47:04 -05:00
|
|
|
];
|
|
|
|
|
2016-04-10 22:36:16 -04:00
|
|
|
const COMPILER =
|
|
|
|
[
|
2016-04-12 12:40:37 -04:00
|
|
|
'AttrAst',
|
|
|
|
'AttrAst.constructor(name:string, value:string, sourceSpan:ParseSourceSpan)',
|
|
|
|
'AttrAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'BoundDirectivePropertyAst',
|
2016-04-10 22:36:16 -04:00
|
|
|
'BoundDirectivePropertyAst.constructor(directiveName:string, templateName:string, value:AST, sourceSpan:ParseSourceSpan)',
|
|
|
|
'BoundDirectivePropertyAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'BoundElementPropertyAst',
|
|
|
|
'BoundElementPropertyAst.constructor(name:string, type:PropertyBindingType, value:AST, unit:string, sourceSpan:ParseSourceSpan)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'BoundElementPropertyAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'BoundEventAst',
|
2016-04-10 22:36:16 -04:00
|
|
|
'BoundEventAst.constructor(name:string, target:string, handler:AST, sourceSpan:ParseSourceSpan)',
|
|
|
|
'BoundEventAst.fullName:any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'BoundEventAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'BoundTextAst',
|
|
|
|
'BoundTextAst.constructor(value:AST, ngContentIndex:number, sourceSpan:ParseSourceSpan)',
|
|
|
|
'BoundTextAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'DirectiveAst',
|
2016-04-10 22:36:16 -04:00
|
|
|
'DirectiveAst.constructor(directive:CompileDirectiveMetadata, inputs:BoundDirectivePropertyAst[], hostProperties:BoundElementPropertyAst[], hostEvents:BoundEventAst[], exportAsVars:VariableAst[], sourceSpan:ParseSourceSpan)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'DirectiveAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'ElementAst',
|
2016-01-06 17:13:44 -05:00
|
|
|
'ElementAst.constructor(name:string, attrs:AttrAst[], inputs:BoundElementPropertyAst[], outputs:BoundEventAst[], exportAsVars:VariableAst[], directives:DirectiveAst[], providers:ProviderAst[], children:TemplateAst[], ngContentIndex:number, sourceSpan:ParseSourceSpan)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'ElementAst.getComponent():CompileDirectiveMetadata',
|
|
|
|
'ElementAst.isBound():boolean',
|
|
|
|
'ElementAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'EmbeddedTemplateAst',
|
2016-01-06 17:13:44 -05:00
|
|
|
'EmbeddedTemplateAst.constructor(attrs:AttrAst[], outputs:BoundEventAst[], vars:VariableAst[], directives:DirectiveAst[], providers:ProviderAst[], children:TemplateAst[], ngContentIndex:number, sourceSpan:ParseSourceSpan)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'EmbeddedTemplateAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'NgContentAst',
|
2016-04-10 22:36:16 -04:00
|
|
|
'NgContentAst.constructor(index:number, ngContentIndex:number, sourceSpan:ParseSourceSpan)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'NgContentAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'PropertyBindingType',
|
|
|
|
'PropertyBindingType.Attribute',
|
|
|
|
'PropertyBindingType.Class',
|
|
|
|
'PropertyBindingType.Property',
|
|
|
|
'PropertyBindingType.Style',
|
|
|
|
'TemplateAst',
|
|
|
|
'TemplateAst.sourceSpan:ParseSourceSpan',
|
|
|
|
'TemplateAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'TemplateAstVisitor',
|
2016-04-10 22:36:16 -04:00
|
|
|
'TemplateAstVisitor.visitAttr(ast:AttrAst, context:any):any',
|
|
|
|
'TemplateAstVisitor.visitBoundText(ast:BoundTextAst, context:any):any',
|
|
|
|
'TemplateAstVisitor.visitDirective(ast:DirectiveAst, context:any):any',
|
|
|
|
'TemplateAstVisitor.visitDirectiveProperty(ast:BoundDirectivePropertyAst, context:any):any',
|
|
|
|
'TemplateAstVisitor.visitElement(ast:ElementAst, context:any):any',
|
|
|
|
'TemplateAstVisitor.visitElementProperty(ast:BoundElementPropertyAst, context:any):any',
|
|
|
|
'TemplateAstVisitor.visitEmbeddedTemplate(ast:EmbeddedTemplateAst, context:any):any',
|
|
|
|
'TemplateAstVisitor.visitEvent(ast:BoundEventAst, context:any):any',
|
|
|
|
'TemplateAstVisitor.visitNgContent(ast:NgContentAst, context:any):any',
|
|
|
|
'TemplateAstVisitor.visitText(ast:TextAst, context:any):any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'TemplateAstVisitor.visitVariable(ast:VariableAst, context:any):any',
|
2016-04-10 22:36:16 -04:00
|
|
|
'TextAst',
|
|
|
|
'TextAst.constructor(value:string, ngContentIndex:number, sourceSpan:ParseSourceSpan)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'TextAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'UrlResolver',
|
2016-01-06 17:13:44 -05:00
|
|
|
'UrlResolver.constructor(_packagePrefix:string)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'UrlResolver.resolve(baseUrl:string, url:string):string',
|
|
|
|
'VariableAst',
|
2016-04-10 22:36:16 -04:00
|
|
|
'VariableAst.constructor(name:string, value:string, sourceSpan:ParseSourceSpan)',
|
2016-04-12 12:40:37 -04:00
|
|
|
'VariableAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'XHR',
|
|
|
|
'XHR.get(url:string):Promise<string>',
|
|
|
|
'const COMPILER_PROVIDERS:Array<Type|Provider|any[]>',
|
|
|
|
'const PLATFORM_DIRECTIVES:OpaqueToken',
|
|
|
|
'const PLATFORM_PIPES:OpaqueToken',
|
|
|
|
'const TEMPLATE_TRANSFORMS:any',
|
2016-04-10 22:36:16 -04:00
|
|
|
'templateVisitAll(visitor:TemplateAstVisitor, asts:TemplateAst[], context:any):any[]',
|
2016-01-06 17:13:44 -05:00
|
|
|
'var DEFAULT_PACKAGE_URL_PROVIDER:any',
|
|
|
|
'CompileDiDependencyMetadata',
|
|
|
|
'CompileDiDependencyMetadata.constructor({isAttribute,isSelf,isHost,isSkipSelf,isOptional,isValue,query,viewQuery,token,value}:{isAttribute?:boolean, isSelf?:boolean, isHost?:boolean, isSkipSelf?:boolean, isOptional?:boolean, isValue?:boolean, query?:CompileQueryMetadata, viewQuery?:CompileQueryMetadata, token?:CompileTokenMetadata, value?:any})',
|
|
|
|
'CompileDiDependencyMetadata.fromJson(data:{[key:string]:any}):CompileDiDependencyMetadata',
|
|
|
|
'CompileDiDependencyMetadata.isAttribute:boolean',
|
|
|
|
'CompileDiDependencyMetadata.isHost:boolean',
|
|
|
|
'CompileDiDependencyMetadata.isOptional:boolean',
|
|
|
|
'CompileDiDependencyMetadata.isSelf:boolean',
|
|
|
|
'CompileDiDependencyMetadata.isSkipSelf:boolean',
|
|
|
|
'CompileDiDependencyMetadata.query:CompileQueryMetadata',
|
|
|
|
'CompileDiDependencyMetadata.toJson():{[key:string]:any}',
|
|
|
|
'CompileDiDependencyMetadata.token:CompileTokenMetadata',
|
|
|
|
'CompileDiDependencyMetadata.viewQuery:CompileQueryMetadata',
|
|
|
|
'CompileDiDependencyMetadata.isValue:boolean',
|
|
|
|
'CompileDiDependencyMetadata.value:any',
|
|
|
|
'CompileDirectiveMetadata.constructor({type,isComponent,selector,exportAs,changeDetection,inputs,outputs,hostListeners,hostProperties,hostAttributes,lifecycleHooks,providers,viewProviders,queries,viewQueries,template}:{type?:CompileTypeMetadata, isComponent?:boolean, selector?:string, exportAs?:string, changeDetection?:ChangeDetectionStrategy, inputs?:{[key:string]:string}, outputs?:{[key:string]:string}, hostListeners?:{[key:string]:string}, hostProperties?:{[key:string]:string}, hostAttributes?:{[key:string]:string}, lifecycleHooks?:LifecycleHooks[], providers?:Array<CompileProviderMetadata|CompileTypeMetadata|CompileIdentifierMetadata|any[]>, viewProviders?:Array<CompileProviderMetadata|CompileTypeMetadata|CompileIdentifierMetadata|any[]>, queries?:CompileQueryMetadata[], viewQueries?:CompileQueryMetadata[], template?:CompileTemplateMetadata})',
|
|
|
|
'CompileDirectiveMetadata.create({type,isComponent,selector,exportAs,changeDetection,inputs,outputs,host,lifecycleHooks,providers,viewProviders,queries,viewQueries,template}:{type?:CompileTypeMetadata, isComponent?:boolean, selector?:string, exportAs?:string, changeDetection?:ChangeDetectionStrategy, inputs?:string[], outputs?:string[], host?:{[key:string]:string}, lifecycleHooks?:LifecycleHooks[], providers?:Array<CompileProviderMetadata|CompileTypeMetadata|CompileIdentifierMetadata|any[]>, viewProviders?:Array<CompileProviderMetadata|CompileTypeMetadata|CompileIdentifierMetadata|any[]>, queries?:CompileQueryMetadata[], viewQueries?:CompileQueryMetadata[], template?:CompileTemplateMetadata}):CompileDirectiveMetadata',
|
|
|
|
'CompileDirectiveMetadata.providers:CompileProviderMetadata[]',
|
|
|
|
'CompileDirectiveMetadata.viewProviders:CompileProviderMetadata[]',
|
|
|
|
'CompileFactoryMetadata',
|
|
|
|
'CompileFactoryMetadata.constructor({runtime,name,moduleUrl,prefix,diDeps,value}:{runtime?:Function, name?:string, prefix?:string, moduleUrl?:string, value?:boolean, diDeps?:CompileDiDependencyMetadata[]})',
|
|
|
|
'CompileFactoryMetadata.diDeps:CompileDiDependencyMetadata[]',
|
|
|
|
'CompileFactoryMetadata.fromJson(data:{[key:string]:any}):CompileFactoryMetadata',
|
|
|
|
'CompileFactoryMetadata.identifier:CompileIdentifierMetadata',
|
|
|
|
'CompileFactoryMetadata.moduleUrl:string',
|
|
|
|
'CompileFactoryMetadata.name:string',
|
|
|
|
'CompileFactoryMetadata.prefix:string',
|
|
|
|
'CompileFactoryMetadata.runtime:Function',
|
|
|
|
'CompileFactoryMetadata.toJson():{[key:string]:any}',
|
|
|
|
'CompileFactoryMetadata.value:any',
|
|
|
|
'CompileIdentifierMetadata',
|
|
|
|
'CompileIdentifierMetadata.constructor({runtime,name,moduleUrl,prefix,value}:{runtime?:any, name?:string, moduleUrl?:string, prefix?:string, value?:any})',
|
|
|
|
'CompileIdentifierMetadata.fromJson(data:{[key:string]:any}):CompileIdentifierMetadata',
|
|
|
|
'CompileIdentifierMetadata.identifier:CompileIdentifierMetadata',
|
|
|
|
'CompileIdentifierMetadata.moduleUrl:string',
|
|
|
|
'CompileIdentifierMetadata.name:string',
|
|
|
|
'CompileIdentifierMetadata.prefix:string',
|
|
|
|
'CompileIdentifierMetadata.runtime:any',
|
|
|
|
'CompileIdentifierMetadata.toJson():{[key:string]:any}',
|
|
|
|
'CompileIdentifierMetadata.value:any',
|
|
|
|
'CompileMetadataWithIdentifier',
|
|
|
|
'CompileMetadataWithIdentifier.identifier:CompileIdentifierMetadata',
|
|
|
|
'CompileMetadataWithIdentifier.toJson():{[key:string]:any}',
|
|
|
|
'CompileMetadataWithType',
|
|
|
|
'CompileMetadataWithType.identifier:CompileIdentifierMetadata',
|
|
|
|
'CompileMetadataWithType.toJson():{[key:string]:any}',
|
|
|
|
'CompileMetadataWithType.type:CompileTypeMetadata',
|
|
|
|
'CompilePipeMetadata',
|
|
|
|
'CompilePipeMetadata.constructor({type,name,pure,lifecycleHooks}:{type?:CompileTypeMetadata, name?:string, pure?:boolean, lifecycleHooks?:LifecycleHooks[]})',
|
|
|
|
'CompilePipeMetadata.fromJson(data:{[key:string]:any}):CompilePipeMetadata',
|
|
|
|
'CompilePipeMetadata.identifier:CompileIdentifierMetadata',
|
|
|
|
'CompilePipeMetadata.lifecycleHooks:LifecycleHooks[]',
|
|
|
|
'CompilePipeMetadata.name:string',
|
|
|
|
'CompilePipeMetadata.pure:boolean',
|
|
|
|
'CompilePipeMetadata.toJson():{[key:string]:any}',
|
|
|
|
'CompilePipeMetadata.type:CompileTypeMetadata',
|
|
|
|
'CompileProviderMetadata',
|
|
|
|
'CompileProviderMetadata.constructor({token,useClass,useValue,useExisting,useFactory,deps,multi}:{token?:CompileTokenMetadata, useClass?:CompileTypeMetadata, useValue?:any, useExisting?:CompileTokenMetadata, useFactory?:CompileFactoryMetadata, deps?:CompileDiDependencyMetadata[], multi?:boolean})',
|
|
|
|
'CompileProviderMetadata.deps:CompileDiDependencyMetadata[]',
|
|
|
|
'CompileProviderMetadata.fromJson(data:{[key:string]:any}):CompileProviderMetadata',
|
|
|
|
'CompileProviderMetadata.multi:boolean',
|
|
|
|
'CompileProviderMetadata.toJson():{[key:string]:any}',
|
|
|
|
'CompileProviderMetadata.token:CompileTokenMetadata',
|
|
|
|
'CompileProviderMetadata.useClass:CompileTypeMetadata',
|
|
|
|
'CompileProviderMetadata.useExisting:CompileTokenMetadata',
|
|
|
|
'CompileProviderMetadata.useFactory:CompileFactoryMetadata',
|
|
|
|
'CompileProviderMetadata.useValue:any',
|
|
|
|
'CompileQueryMetadata',
|
|
|
|
'CompileQueryMetadata.constructor({selectors,descendants,first,propertyName}:{selectors?:Array<CompileTokenMetadata>, descendants?:boolean, first?:boolean, propertyName?:string})',
|
|
|
|
'CompileQueryMetadata.descendants:boolean',
|
|
|
|
'CompileQueryMetadata.first:boolean',
|
|
|
|
'CompileQueryMetadata.fromJson(data:{[key:string]:any}):CompileQueryMetadata',
|
|
|
|
'CompileQueryMetadata.propertyName:string',
|
|
|
|
'CompileQueryMetadata.selectors:Array<CompileTokenMetadata>',
|
|
|
|
'CompileQueryMetadata.toJson():{[key:string]:any}',
|
|
|
|
'CompileTokenMetadata',
|
|
|
|
'CompileTokenMetadata.assetCacheKey:any',
|
|
|
|
'CompileTokenMetadata.constructor({value,identifier,identifierIsInstance}:{value?:any, identifier?:CompileIdentifierMetadata, identifierIsInstance?:boolean})',
|
|
|
|
'CompileTokenMetadata.equalsTo(token2:CompileTokenMetadata):boolean',
|
|
|
|
'CompileTokenMetadata.fromJson(data:{[key:string]:any}):CompileTokenMetadata',
|
|
|
|
'CompileTokenMetadata.identifier:CompileIdentifierMetadata',
|
|
|
|
'CompileTokenMetadata.identifierIsInstance:boolean',
|
|
|
|
'CompileTokenMetadata.name:string',
|
|
|
|
'CompileTokenMetadata.runtimeCacheKey:any',
|
|
|
|
'CompileTokenMetadata.toJson():{[key:string]:any}',
|
|
|
|
'CompileTokenMetadata.value:any',
|
|
|
|
'CompileTypeMetadata.constructor({runtime,name,moduleUrl,prefix,isHost,value,diDeps}:{runtime?:Type, name?:string, moduleUrl?:string, prefix?:string, isHost?:boolean, value?:any, diDeps?:CompileDiDependencyMetadata[]})',
|
|
|
|
'CompileTypeMetadata.value:any',
|
|
|
|
'CompilerConfig',
|
|
|
|
'CompilerConfig.constructor(genDebugInfo:boolean, logBindingUpdate:boolean, useJit:boolean, renderTypes:RenderTypes)',
|
|
|
|
'CompilerConfig.renderTypes:RenderTypes',
|
|
|
|
'RenderTypes',
|
|
|
|
'RenderTypes.renderComment:CompileIdentifierMetadata',
|
|
|
|
'RenderTypes.renderElement:CompileIdentifierMetadata',
|
|
|
|
'RenderTypes.renderEvent:CompileIdentifierMetadata',
|
|
|
|
'RenderTypes.renderNode:CompileIdentifierMetadata',
|
|
|
|
'RenderTypes.renderText:CompileIdentifierMetadata',
|
|
|
|
'RenderTypes.renderer:CompileIdentifierMetadata',
|
|
|
|
'DirectiveResolver',
|
|
|
|
'DirectiveResolver.constructor(_reflector:ReflectorReader)',
|
|
|
|
'DirectiveResolver.resolve(type:Type):DirectiveMetadata',
|
|
|
|
'NormalizedComponentWithViewDirectives',
|
|
|
|
'NormalizedComponentWithViewDirectives.constructor(component:CompileDirectiveMetadata, directives:CompileDirectiveMetadata[], pipes:CompilePipeMetadata[])',
|
|
|
|
'OfflineCompiler',
|
|
|
|
'OfflineCompiler.compileStylesheet(stylesheetUrl:string, cssText:string):SourceModule[]',
|
|
|
|
'OfflineCompiler.compileTemplates(components:NormalizedComponentWithViewDirectives[]):SourceModule',
|
|
|
|
'OfflineCompiler.constructor(_directiveNormalizer:DirectiveNormalizer, _templateParser:TemplateParser, _styleCompiler:StyleCompiler, _viewCompiler:ViewCompiler, _outputEmitter:OutputEmitter)',
|
|
|
|
'OfflineCompiler.normalizeDirectiveMetadata(directive:CompileDirectiveMetadata):Promise<CompileDirectiveMetadata>',
|
|
|
|
'PipeResolver',
|
|
|
|
'PipeResolver.constructor(_reflector:ReflectorReader)',
|
|
|
|
'PipeResolver.resolve(type:Type):PipeMetadata',
|
|
|
|
'CompileDirectiveMetadata',
|
|
|
|
'CompileDirectiveMetadata.changeDetection:ChangeDetectionStrategy',
|
|
|
|
'CompileDirectiveMetadata.exportAs:string',
|
|
|
|
'CompileDirectiveMetadata.fromJson(data:{[key:string]:any}):CompileDirectiveMetadata',
|
|
|
|
'CompileDirectiveMetadata.hostAttributes:{[key:string]:string}',
|
|
|
|
'CompileDirectiveMetadata.hostListeners:{[key:string]:string}',
|
|
|
|
'CompileDirectiveMetadata.hostProperties:{[key:string]:string}',
|
|
|
|
'CompileDirectiveMetadata.identifier:CompileIdentifierMetadata',
|
|
|
|
'CompileDirectiveMetadata.inputs:{[key:string]:string}',
|
|
|
|
'CompileDirectiveMetadata.isComponent:boolean',
|
|
|
|
'CompileDirectiveMetadata.lifecycleHooks:LifecycleHooks[]',
|
|
|
|
'CompileDirectiveMetadata.outputs:{[key:string]:string}',
|
|
|
|
'CompileDirectiveMetadata.queries:CompileQueryMetadata[]',
|
|
|
|
'CompileDirectiveMetadata.selector:string',
|
|
|
|
'CompileDirectiveMetadata.template:CompileTemplateMetadata',
|
|
|
|
'CompileDirectiveMetadata.toJson():{[key:string]:any}',
|
|
|
|
'CompileDirectiveMetadata.type:CompileTypeMetadata',
|
|
|
|
'CompileDirectiveMetadata.viewQueries:CompileQueryMetadata[]',
|
|
|
|
'CompileTemplateMetadata',
|
|
|
|
'CompileTemplateMetadata.constructor({encapsulation,template,templateUrl,styles,styleUrls,ngContentSelectors}:{encapsulation?:ViewEncapsulation, template?:string, templateUrl?:string, styles?:string[], styleUrls?:string[], ngContentSelectors?:string[]})',
|
|
|
|
'CompileTemplateMetadata.encapsulation:ViewEncapsulation',
|
|
|
|
'CompileTemplateMetadata.fromJson(data:{[key:string]:any}):CompileTemplateMetadata',
|
|
|
|
'CompileTemplateMetadata.ngContentSelectors:string[]',
|
|
|
|
'CompileTemplateMetadata.styleUrls:string[]',
|
|
|
|
'CompileTemplateMetadata.styles:string[]',
|
|
|
|
'CompileTemplateMetadata.template:string',
|
|
|
|
'CompileTemplateMetadata.templateUrl:string',
|
|
|
|
'CompileTemplateMetadata.toJson():{[key:string]:any}',
|
|
|
|
'CompileTypeMetadata',
|
|
|
|
'CompileTypeMetadata.diDeps:CompileDiDependencyMetadata[]',
|
|
|
|
'CompileTypeMetadata.fromJson(data:{[key:string]:any}):CompileTypeMetadata',
|
|
|
|
'CompileTypeMetadata.identifier:CompileIdentifierMetadata',
|
|
|
|
'CompileTypeMetadata.isHost:boolean',
|
|
|
|
'CompileTypeMetadata.moduleUrl:string',
|
|
|
|
'CompileTypeMetadata.name:string',
|
|
|
|
'CompileTypeMetadata.prefix:string',
|
|
|
|
'CompileTypeMetadata.runtime:Type',
|
|
|
|
'CompileTypeMetadata.toJson():{[key:string]:any}',
|
|
|
|
'CompileTypeMetadata.type:CompileTypeMetadata',
|
|
|
|
'ProviderAst',
|
|
|
|
'ProviderAst.constructor(token:CompileTokenMetadata, multiProvider:boolean, eager:boolean, providers:CompileProviderMetadata[], providerType:ProviderAstType, sourceSpan:ParseSourceSpan)',
|
|
|
|
'ProviderAst.visit(visitor:TemplateAstVisitor, context:any):any',
|
|
|
|
'ProviderAstType',
|
|
|
|
'ProviderAstType.Builtin',
|
|
|
|
'ProviderAstType.Component',
|
|
|
|
'ProviderAstType.Directive',
|
|
|
|
'ProviderAstType.PrivateService',
|
|
|
|
'ProviderAstType.PublicService',
|
|
|
|
'SourceModule',
|
|
|
|
'SourceModule.constructor(moduleUrl:string, source:string)',
|
|
|
|
'ViewResolver',
|
|
|
|
'ViewResolver.constructor(_reflector:ReflectorReader)',
|
|
|
|
'ViewResolver.resolve(component:Type):ViewMetadata',
|
|
|
|
'createOfflineCompileUrlResolver():UrlResolver'
|
2016-04-10 22:36:16 -04:00
|
|
|
];
|
2016-01-27 11:47:04 -05:00
|
|
|
|
|
|
|
const INSTRUMENTATION = [
|
2016-04-12 12:40:37 -04:00
|
|
|
'WtfScopeFn',
|
|
|
|
'var wtfCreateScope:(signature: string, flags?: any) => impl.WtfScopeFn',
|
|
|
|
'var wtfEndTimeRange:(range: any) => void',
|
|
|
|
'var wtfLeave:<T>(scope: any, returnValue?: T) => T',
|
2016-01-27 11:47:04 -05:00
|
|
|
'var wtfStartTimeRange:(rangeType: string, action: string) => any'
|
|
|
|
];
|
|
|
|
|
|
|
|
const UPGRADE = [
|
2016-04-12 12:40:37 -04:00
|
|
|
'UpgradeAdapter',
|
|
|
|
'UpgradeAdapter.addProvider(provider:Type|Provider|any[]):void',
|
2016-01-27 11:47:04 -05:00
|
|
|
'UpgradeAdapter.bootstrap(element:Element, modules:any[], config:IAngularBootstrapConfig):UpgradeAdapterRef',
|
|
|
|
'UpgradeAdapter.downgradeNg2Component(type:Type):Function',
|
|
|
|
'UpgradeAdapter.downgradeNg2Provider(token:any):Function',
|
|
|
|
'UpgradeAdapter.upgradeNg1Component(name:string):Type',
|
2016-04-12 12:40:37 -04:00
|
|
|
'UpgradeAdapter.upgradeNg1Provider(name:string, options:{asToken:any}):any',
|
|
|
|
'UpgradeAdapterRef',
|
|
|
|
'UpgradeAdapterRef.dispose():any',
|
|
|
|
'UpgradeAdapterRef.ng1Injector:IInjectorService',
|
2016-01-27 11:47:04 -05:00
|
|
|
'UpgradeAdapterRef.ng1RootScope:IRootScopeService',
|
2016-04-12 12:40:37 -04:00
|
|
|
'UpgradeAdapterRef.ng2ApplicationRef:ApplicationRef',
|
|
|
|
'UpgradeAdapterRef.ng2Injector:Injector',
|
2016-01-27 11:47:04 -05:00
|
|
|
'UpgradeAdapterRef.ready(fn:(upgradeAdapterRef?: UpgradeAdapterRef) => void):any'
|
|
|
|
];
|
|
|
|
|
|
|
|
const BROWSER = [
|
2016-04-12 12:40:37 -04:00
|
|
|
'AngularEntrypoint',
|
|
|
|
'AngularEntrypoint.constructor(name:String)',
|
|
|
|
'BrowserDomAdapter',
|
2016-01-27 11:47:04 -05:00
|
|
|
'BrowserDomAdapter.addClass(element:any, className:string):any',
|
|
|
|
'BrowserDomAdapter.adoptNode(node:Node):any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'BrowserDomAdapter.appendChild(el:any, node:any):any',
|
|
|
|
'BrowserDomAdapter.attrToPropMap:any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'BrowserDomAdapter.attributeMap(element:any):Map<string, string>',
|
|
|
|
'BrowserDomAdapter.cancelAnimationFrame(id:number):any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'BrowserDomAdapter.childNodes(el:any):Node[]',
|
|
|
|
'BrowserDomAdapter.childNodesAsList(el:any):any[]',
|
|
|
|
'BrowserDomAdapter.classList(element:any):any[]',
|
|
|
|
'BrowserDomAdapter.clearNodes(el:any):any',
|
|
|
|
'BrowserDomAdapter.clone(node:Node):Node',
|
|
|
|
'BrowserDomAdapter.content(node:Node):Node',
|
2016-01-27 11:47:04 -05:00
|
|
|
'BrowserDomAdapter.createComment(text:string):Comment',
|
|
|
|
'BrowserDomAdapter.createElement(tagName:any, doc:any):HTMLElement',
|
|
|
|
'BrowserDomAdapter.createElementNS(ns:any, tagName:any, doc:any):Element',
|
|
|
|
'BrowserDomAdapter.createEvent(eventType:any):Event',
|
|
|
|
'BrowserDomAdapter.createHtmlDocument():HTMLDocument',
|
|
|
|
'BrowserDomAdapter.createMouseEvent(eventType:string):MouseEvent',
|
|
|
|
'BrowserDomAdapter.createScriptTag(attrName:string, attrValue:string, doc:any):HTMLScriptElement',
|
|
|
|
'BrowserDomAdapter.createShadowRoot(el:HTMLElement):DocumentFragment',
|
|
|
|
'BrowserDomAdapter.createStyleElement(css:string, doc:any):HTMLStyleElement',
|
|
|
|
'BrowserDomAdapter.createTemplate(html:any):HTMLElement',
|
|
|
|
'BrowserDomAdapter.createTextNode(text:string, doc:any):Text',
|
|
|
|
'BrowserDomAdapter.defaultDoc():HTMLDocument',
|
|
|
|
'BrowserDomAdapter.dispatchEvent(el:any, evt:any):any',
|
|
|
|
'BrowserDomAdapter.elementMatches(n:any, selector:string):boolean',
|
|
|
|
'BrowserDomAdapter.firstChild(el:any):Node',
|
|
|
|
'BrowserDomAdapter.getAttribute(element:any, attribute:string):string',
|
2016-01-08 15:01:29 -05:00
|
|
|
'BrowserDomAdapter.getAttributeNS(element:any, ns:string, name:string):string',
|
2016-04-12 12:40:37 -04:00
|
|
|
'BrowserDomAdapter.getBaseHref():string',
|
|
|
|
'BrowserDomAdapter.getBoundingClientRect(el:any):any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'BrowserDomAdapter.getChecked(el:any):boolean',
|
|
|
|
'BrowserDomAdapter.getComputedStyle(element:any):any',
|
|
|
|
'BrowserDomAdapter.getData(element:any, name:string):string',
|
|
|
|
'BrowserDomAdapter.getElementsByClassName(element:any, name:string):HTMLElement[]',
|
|
|
|
'BrowserDomAdapter.getElementsByTagName(element:any, name:string):HTMLElement[]',
|
|
|
|
'BrowserDomAdapter.getEventKey(event:any):string',
|
|
|
|
'BrowserDomAdapter.getGlobalEventTarget(target:string):EventTarget',
|
2016-04-12 12:40:37 -04:00
|
|
|
'BrowserDomAdapter.getHistory():History',
|
|
|
|
'BrowserDomAdapter.getHost(el:HTMLElement):HTMLElement',
|
|
|
|
'BrowserDomAdapter.getHref(el:Element):string',
|
|
|
|
'BrowserDomAdapter.getInnerHTML(el:any):string',
|
|
|
|
'BrowserDomAdapter.getLocation():Location',
|
|
|
|
'BrowserDomAdapter.getOuterHTML(el:any):string',
|
2016-01-27 11:47:04 -05:00
|
|
|
'BrowserDomAdapter.getProperty(el:any, name:string):any',
|
|
|
|
'BrowserDomAdapter.getShadowRoot(el:HTMLElement):DocumentFragment',
|
|
|
|
'BrowserDomAdapter.getStyle(element:any, stylename:string):string',
|
2016-04-12 12:40:37 -04:00
|
|
|
'BrowserDomAdapter.getText(el:any):string',
|
|
|
|
'BrowserDomAdapter.getTitle():string',
|
|
|
|
'BrowserDomAdapter.getUserAgent():string',
|
|
|
|
'BrowserDomAdapter.getValue(el:any):string',
|
2016-01-27 11:47:04 -05:00
|
|
|
'BrowserDomAdapter.hasAttribute(element:any, attribute:string):boolean',
|
2016-01-08 15:01:29 -05:00
|
|
|
'BrowserDomAdapter.hasAttributeNS(element:any, ns:string, attribute:string):boolean',
|
2016-01-27 11:47:04 -05:00
|
|
|
'BrowserDomAdapter.hasClass(element:any, className:string):boolean',
|
|
|
|
'BrowserDomAdapter.hasProperty(element:any, name:string):boolean',
|
|
|
|
'BrowserDomAdapter.hasShadowRoot(node:any):boolean',
|
|
|
|
'BrowserDomAdapter.hasStyle(element:any, styleName:string, styleValue:string):boolean',
|
|
|
|
'BrowserDomAdapter.importIntoDoc(node:Node):any',
|
|
|
|
'BrowserDomAdapter.insertAfter(el:any, node:any):any',
|
|
|
|
'BrowserDomAdapter.insertAllBefore(el:any, nodes:any):any',
|
|
|
|
'BrowserDomAdapter.insertBefore(el:any, node:any):any',
|
|
|
|
'BrowserDomAdapter.invoke(el:any, methodName:string, args:any[]):any',
|
|
|
|
'BrowserDomAdapter.isCommentNode(node:Node):boolean',
|
|
|
|
'BrowserDomAdapter.isElementNode(node:Node):boolean',
|
|
|
|
'BrowserDomAdapter.isPrevented(evt:Event):boolean',
|
|
|
|
'BrowserDomAdapter.isShadowRoot(node:any):boolean',
|
|
|
|
'BrowserDomAdapter.isTemplateElement(el:any):boolean',
|
2016-04-12 12:40:37 -04:00
|
|
|
'BrowserDomAdapter.isTextNode(node:Node):boolean',
|
|
|
|
'BrowserDomAdapter.log(error:any):any',
|
|
|
|
'BrowserDomAdapter.logError(error:any):any',
|
|
|
|
'BrowserDomAdapter.logGroup(error:any):any',
|
|
|
|
'BrowserDomAdapter.logGroupEnd():any',
|
|
|
|
'BrowserDomAdapter.makeCurrent():any',
|
|
|
|
'BrowserDomAdapter.nextSibling(el:any):Node',
|
|
|
|
'BrowserDomAdapter.nodeName(node:Node):string',
|
2016-01-27 11:47:04 -05:00
|
|
|
'BrowserDomAdapter.nodeValue(node:Node):string',
|
|
|
|
'BrowserDomAdapter.on(el:any, evt:any, listener:any):any',
|
|
|
|
'BrowserDomAdapter.onAndCancel(el:any, evt:any, listener:any):Function',
|
|
|
|
'BrowserDomAdapter.parentElement(el:any):Node',
|
2016-04-12 12:40:37 -04:00
|
|
|
'BrowserDomAdapter.parse(templateHtml:string):any',
|
|
|
|
'BrowserDomAdapter.performanceNow():number',
|
|
|
|
'BrowserDomAdapter.preventDefault(evt:Event):any',
|
|
|
|
'BrowserDomAdapter.query(selector:string):any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'BrowserDomAdapter.querySelector(el:any, selector:string):HTMLElement',
|
|
|
|
'BrowserDomAdapter.querySelectorAll(el:any, selector:string):any[]',
|
|
|
|
'BrowserDomAdapter.remove(node:any):Node',
|
|
|
|
'BrowserDomAdapter.removeAttribute(element:any, attribute:string):any',
|
2016-01-08 15:01:29 -05:00
|
|
|
'BrowserDomAdapter.removeAttributeNS(element:any, ns:string, name:string):any',
|
2016-01-27 11:47:04 -05:00
|
|
|
'BrowserDomAdapter.removeChild(el:any, node:any):any',
|
|
|
|
'BrowserDomAdapter.removeClass(element:any, className:string):any',
|
|
|
|
'BrowserDomAdapter.removeStyle(element:any, stylename:string):any',
|
|
|
|
'BrowserDomAdapter.replaceChild(el:Node, newChild:any, oldChild:any):any',
|
|
|
|
'BrowserDomAdapter.requestAnimationFrame(callback:any):number',
|
|
|
|
'BrowserDomAdapter.resetBaseElement():void',
|
|
|
|
'BrowserDomAdapter.setAttribute(element:any, name:string, value:string):any',
|
|
|
|
'BrowserDomAdapter.setAttributeNS(element:any, ns:string, name:string, value:string):any',
|
|
|
|
'BrowserDomAdapter.setChecked(el:any, value:boolean):any',
|
|
|
|
'BrowserDomAdapter.setData(element:any, name:string, value:string):any',
|
|
|
|
'BrowserDomAdapter.setGlobalVar(path:string, value:any):any',
|
|
|
|
'BrowserDomAdapter.setInnerHTML(el:any, value:any):any',
|
|
|
|
'BrowserDomAdapter.setProperty(el:any, name:string, value:any):any',
|
|
|
|
'BrowserDomAdapter.setStyle(element:any, styleName:string, styleValue:string):any',
|
|
|
|
'BrowserDomAdapter.setText(el:any, value:string):any',
|
|
|
|
'BrowserDomAdapter.setTitle(newTitle:string):any',
|
|
|
|
'BrowserDomAdapter.setValue(el:any, value:string):any',
|
|
|
|
'BrowserDomAdapter.tagName(element:any):string',
|
|
|
|
'BrowserDomAdapter.templateAwareRoot(el:any):any',
|
2016-04-12 12:40:37 -04:00
|
|
|
'BrowserDomAdapter.type(node:HTMLInputElement):string',
|
|
|
|
'By',
|
|
|
|
'By.all():Predicate<DebugElement>',
|
2016-01-27 11:47:04 -05:00
|
|
|
'By.css(selector:string):Predicate<DebugElement>',
|
2016-04-12 12:40:37 -04:00
|
|
|
'By.directive(type:Type):Predicate<DebugElement>',
|
|
|
|
'Title',
|
|
|
|
'Title.getTitle():string',
|
2016-01-27 11:47:04 -05:00
|
|
|
'Title.setTitle(newTitle:string):any',
|
|
|
|
'bootstrapStatic(appComponentType:Type, customProviders:Array<any>, initReflector:Function):Promise<ComponentRef>',
|
2016-04-12 12:40:37 -04:00
|
|
|
'const BROWSER_APP_PROVIDERS:Array<any>',
|
|
|
|
'const BROWSER_PROVIDERS:Array<any>',
|
|
|
|
'const ELEMENT_PROBE_PROVIDERS:any[]',
|
|
|
|
'const ELEMENT_PROBE_PROVIDERS_PROD_MODE:any[]',
|
|
|
|
'disableDebugTools():void',
|
|
|
|
'enableDebugTools(ref:ComponentRef):void',
|
2016-01-14 00:35:21 -05:00
|
|
|
'inspectNativeElement(element:any):DebugNode'
|
2016-01-27 11:47:04 -05:00
|
|
|
];
|
|
|
|
|
|
|
|
describe('public API', () => {
|
2016-04-12 12:40:37 -04:00
|
|
|
it("should check core.ts", () => { checkPublicApi("modules/angular2/core.ts", CORE); });
|
|
|
|
it("should check common.ts", () => { checkPublicApi("modules/angular2/common.ts", COMMON); });
|
|
|
|
it("should check compiler.ts",
|
|
|
|
() => { checkPublicApi("modules/angular2/compiler.ts", COMPILER); });
|
|
|
|
it("should check instrumentation.ts",
|
|
|
|
() => { checkPublicApi("modules/angular2/instrumentation.ts", INSTRUMENTATION); });
|
|
|
|
it("should check upgrade.ts", () => { checkPublicApi("modules/angular2/upgrade.ts", UPGRADE); });
|
|
|
|
it("should check browser.ts",
|
|
|
|
() => { checkPublicApi("modules/angular2/platform/browser_static.ts", BROWSER); });
|
2016-01-27 11:47:04 -05:00
|
|
|
});
|
|
|
|
|
|
|
|
function checkPublicApi(file: string, expected: string[]) {
|
|
|
|
const sortedActual = publicApi(file).sort();
|
|
|
|
const sortedExpected = expected.sort();
|
2016-04-10 22:36:16 -04:00
|
|
|
const missing = sortedActual.filter((i) => sortedExpected.indexOf(i) < 0);
|
|
|
|
const extra = sortedExpected.filter((i) => sortedActual.indexOf(i) < 0);
|
|
|
|
|
|
|
|
if (missing.length > 0) {
|
2016-04-12 12:40:37 -04:00
|
|
|
console.log("Missing:");
|
2016-04-10 22:36:16 -04:00
|
|
|
missing.forEach((m) => console.log(m));
|
|
|
|
}
|
|
|
|
|
|
|
|
if (extra.length > 0) {
|
2016-04-12 12:40:37 -04:00
|
|
|
console.log("Extra:");
|
2016-04-10 22:36:16 -04:00
|
|
|
extra.forEach((m) => console.log(m));
|
|
|
|
}
|
|
|
|
|
|
|
|
expect(missing.map(s => `+${s}`).concat(extra.map(s => `-${s}`))).toEqual([]);
|
2016-01-27 11:47:04 -05:00
|
|
|
}
|