From 2cdbe9b2ef7006884aa889028463dbb561e6618a Mon Sep 17 00:00:00 2001 From: Ben Lesh Date: Wed, 15 May 2019 20:24:29 -0700 Subject: [PATCH] refactor(ivy): ensure new attribute instructons are available in JIT (#30503) PR Close #30503 --- .../r3_view_compiler_binding_spec.ts | 2 +- .../compiler/src/render3/r3_identifiers.ts | 2 - .../compiler/src/render3/view/template.ts | 11 +- .../core/src/core_render3_private_export.ts | 1 - packages/core/src/render3/index.ts | 1 - .../src/render3/instructions/attribute.ts | 9 +- .../instructions/attribute_interpolation.ts | 136 +- packages/core/src/render3/jit/environment.ts | 9 + tools/public_api_guard/core/core.d.ts | 1628 +++++++---------- 9 files changed, 716 insertions(+), 1083 deletions(-) diff --git a/packages/compiler-cli/test/compliance/r3_view_compiler_binding_spec.ts b/packages/compiler-cli/test/compliance/r3_view_compiler_binding_spec.ts index 0c0cf93db7..93a4a36e0c 100644 --- a/packages/compiler-cli/test/compliance/r3_view_compiler_binding_spec.ts +++ b/packages/compiler-cli/test/compliance/r3_view_compiler_binding_spec.ts @@ -533,7 +533,7 @@ describe('compiler compliance: bindings', () => { i0.ɵɵselect(8); i0.ɵɵattributeInterpolate1("title", "a", ctx.one, "b"); i0.ɵɵselect(9); - i0.ɵɵattributeInterpolate("title", ctx.one); + i0.ɵɵattribute("title", ctx.one); } … `; diff --git a/packages/compiler/src/render3/r3_identifiers.ts b/packages/compiler/src/render3/r3_identifiers.ts index 1a50c5ebb7..2c8e1547f3 100644 --- a/packages/compiler/src/render3/r3_identifiers.ts +++ b/packages/compiler/src/render3/r3_identifiers.ts @@ -43,8 +43,6 @@ export class Identifiers { static attribute: o.ExternalReference = {name: 'ɵɵattribute', moduleName: CORE}; - static attributeInterpolate: - o.ExternalReference = {name: 'ɵɵattributeInterpolate', moduleName: CORE}; static attributeInterpolate1: o.ExternalReference = {name: 'ɵɵattributeInterpolate1', moduleName: CORE}; static attributeInterpolate2: diff --git a/packages/compiler/src/render3/view/template.ts b/packages/compiler/src/render3/view/template.ts index 2b6c48a271..5714c819fa 100644 --- a/packages/compiler/src/render3/view/template.ts +++ b/packages/compiler/src/render3/view/template.ts @@ -763,15 +763,16 @@ export class TemplateDefinitionBuilder implements t.Visitor, LocalResolver R3.property, elementIndex, attrName, input, implicit, value, params); } } else if (inputType === BindingType.Attribute) { - if (value instanceof Interpolation) { - // attr.name="{{value}}" and friends + if (value instanceof Interpolation && getInterpolationArgsLength(value) > 1) { + // attr.name="text{{value}}" and friends this.interpolatedUpdateInstruction( getAttributeInterpolationExpression(value), elementIndex, attrName, input, value, params); } else { - // [attr.name]="value" + const boundValue = value instanceof Interpolation ? value.expressions[0] : value; + // [attr.name]="value" or attr.name="{{value}}" this.boundUpdateInstruction( - R3.attribute, elementIndex, attrName, input, implicit, value, params); + R3.attribute, elementIndex, attrName, input, implicit, boundValue, params); } } else { // class prop @@ -1714,8 +1715,6 @@ function getPropertyInterpolationExpression(interpolation: Interpolation) { */ function getAttributeInterpolationExpression(interpolation: Interpolation) { switch (getInterpolationArgsLength(interpolation)) { - case 1: - return R3.attributeInterpolate; case 3: return R3.attributeInterpolate1; case 5: diff --git a/packages/core/src/core_render3_private_export.ts b/packages/core/src/core_render3_private_export.ts index e6bd93d75e..324ea277be 100644 --- a/packages/core/src/core_render3_private_export.ts +++ b/packages/core/src/core_render3_private_export.ts @@ -9,7 +9,6 @@ // clang-format off export { ɵɵattribute, - ɵɵattributeInterpolate, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, diff --git a/packages/core/src/render3/index.ts b/packages/core/src/render3/index.ts index 00f1480263..cc6f99edfb 100644 --- a/packages/core/src/render3/index.ts +++ b/packages/core/src/render3/index.ts @@ -25,7 +25,6 @@ export { ɵɵallocHostVars, ɵɵattribute, - ɵɵattributeInterpolate, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, diff --git a/packages/core/src/render3/instructions/attribute.ts b/packages/core/src/render3/instructions/attribute.ts index 478a1c2e4a..f5fdc13f8a 100644 --- a/packages/core/src/render3/instructions/attribute.ts +++ b/packages/core/src/render3/instructions/attribute.ts @@ -8,8 +8,8 @@ import {SanitizerFn} from '../interfaces/sanitization'; import {getSelectedIndex} from '../state'; -import {ΔelementAttribute} from './element'; -import {Δbind} from './property'; +import {ɵɵelementAttribute} from './element'; +import {ɵɵbind} from './property'; /** * Updates the value of or removes a bound attribute on an Element. @@ -24,8 +24,9 @@ import {Δbind} from './property'; * * @codeGenApi */ -export function Δattribute( +export function ɵɵattribute( name: string, value: any, sanitizer?: SanitizerFn | null, namespace?: string) { const index = getSelectedIndex(); - return ΔelementAttribute(index, name, Δbind(value), sanitizer, namespace); + // TODO(FW-1340): Refactor to remove the use of other instructions here. + return ɵɵelementAttribute(index, name, ɵɵbind(value), sanitizer, namespace); } diff --git a/packages/core/src/render3/instructions/attribute_interpolation.ts b/packages/core/src/render3/instructions/attribute_interpolation.ts index f078ef9849..5214208994 100644 --- a/packages/core/src/render3/instructions/attribute_interpolation.ts +++ b/packages/core/src/render3/instructions/attribute_interpolation.ts @@ -7,40 +7,10 @@ */ import {SanitizerFn} from '../interfaces/sanitization'; import {getSelectedIndex} from '../state'; -import {ΔelementAttribute} from './element'; -import {Δinterpolation1, Δinterpolation2, Δinterpolation3, Δinterpolation4, Δinterpolation5, Δinterpolation6, Δinterpolation7, Δinterpolation8, ΔinterpolationV} from './property_interpolation'; +import {ɵɵelementAttribute} from './element'; +import {ɵɵinterpolation1, ɵɵinterpolation2, ɵɵinterpolation3, ɵɵinterpolation4, ɵɵinterpolation5, ɵɵinterpolation6, ɵɵinterpolation7, ɵɵinterpolation8, ɵɵinterpolationV} from './property_interpolation'; import {TsickleIssue1009} from './shared'; -/** - * - * Update an interpolated attribute on an element with a lone bound value - * - * Used when the value passed to a property has 1 interpolated value in it, an no additional text - * surrounds that interpolated value: - * - * ```html - *
- * ``` - * - * Its compiled representation is:: - * - * ```ts - * ΔattributeInterpolate('title', v0); - * ``` - * - * @param attrName The name of the attribute to update - * @param prefix Static value used for concatenation only. - * @param v0 Value checked for change. - * @param suffix Static value used for concatenation only. - * @param sanitizer An optional sanitizer function - * @returns itself, so that it may be chained. - * @codeGenApi - */ -export function ΔattributeInterpolate( - attrName: string, v0: any, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { - ΔattributeInterpolate1(attrName, '', v0, '', sanitizer); - return ΔattributeInterpolate; -} /** @@ -56,7 +26,7 @@ export function ΔattributeInterpolate( * Its compiled representation is:: * * ```ts - * ΔattributeInterpolate1('title', 'prefix', v0, 'suffix'); + * ɵɵattributeInterpolate1('title', 'prefix', v0, 'suffix'); * ``` * * @param attrName The name of the attribute to update @@ -67,15 +37,17 @@ export function ΔattributeInterpolate( * @returns itself, so that it may be chained. * @codeGenApi */ -export function ΔattributeInterpolate1( +export function ɵɵattributeInterpolate1( attrName: string, prefix: string, v0: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { const index = getSelectedIndex(); - const interpolatedValue = Δinterpolation1(prefix, v0, suffix); - ΔelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); + // TODO(FW-1340): Refactor to remove the use of other instructions here. + const interpolatedValue = ɵɵinterpolation1(prefix, v0, suffix); - return ΔattributeInterpolate1; + ɵɵelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); + + return ɵɵattributeInterpolate1; } /** @@ -91,7 +63,7 @@ export function ΔattributeInterpolate1( * Its compiled representation is:: * * ```ts - * ΔattributeInterpolate2('title', 'prefix', v0, '-', v1, 'suffix'); + * ɵɵattributeInterpolate2('title', 'prefix', v0, '-', v1, 'suffix'); * ``` * * @param attrName The name of the attribute to update @@ -104,13 +76,15 @@ export function ΔattributeInterpolate1( * @returns itself, so that it may be chained. * @codeGenApi */ -export function ΔattributeInterpolate2( +export function ɵɵattributeInterpolate2( attrName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { const index = getSelectedIndex(); - const interpolatedValue = Δinterpolation2(prefix, v0, i0, v1, suffix); - ΔelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); - return ΔattributeInterpolate2; + + // TODO(FW-1340): Refactor to remove the use of other instructions here. + const interpolatedValue = ɵɵinterpolation2(prefix, v0, i0, v1, suffix); + ɵɵelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); + return ɵɵattributeInterpolate2; } /** @@ -126,7 +100,7 @@ export function ΔattributeInterpolate2( * Its compiled representation is:: * * ```ts - * ΔattributeInterpolate3( + * ɵɵattributeInterpolate3( * 'title', 'prefix', v0, '-', v1, '-', v2, 'suffix'); * ``` * @@ -142,13 +116,15 @@ export function ΔattributeInterpolate2( * @returns itself, so that it may be chained. * @codeGenApi */ -export function ΔattributeInterpolate3( +export function ɵɵattributeInterpolate3( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { const index = getSelectedIndex(); - const interpolatedValue = Δinterpolation3(prefix, v0, i0, v1, i1, v2, suffix); - ΔelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); - return ΔattributeInterpolate3; + + // TODO(FW-1340): Refactor to remove the use of other instructions here. + const interpolatedValue = ɵɵinterpolation3(prefix, v0, i0, v1, i1, v2, suffix); + ɵɵelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); + return ɵɵattributeInterpolate3; } /** @@ -164,7 +140,7 @@ export function ΔattributeInterpolate3( * Its compiled representation is:: * * ```ts - * ΔattributeInterpolate4( + * ɵɵattributeInterpolate4( * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, 'suffix'); * ``` * @@ -182,13 +158,15 @@ export function ΔattributeInterpolate3( * @returns itself, so that it may be chained. * @codeGenApi */ -export function ΔattributeInterpolate4( +export function ɵɵattributeInterpolate4( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { const index = getSelectedIndex(); - const interpolatedValue = Δinterpolation4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix); - ΔelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); - return ΔattributeInterpolate4; + + // TODO(FW-1340): Refactor to remove the use of other instructions here. + const interpolatedValue = ɵɵinterpolation4(prefix, v0, i0, v1, i1, v2, i2, v3, suffix); + ɵɵelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); + return ɵɵattributeInterpolate4; } /** @@ -204,7 +182,7 @@ export function ΔattributeInterpolate4( * Its compiled representation is:: * * ```ts - * ΔattributeInterpolate5( + * ɵɵattributeInterpolate5( * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, 'suffix'); * ``` * @@ -224,14 +202,16 @@ export function ΔattributeInterpolate4( * @returns itself, so that it may be chained. * @codeGenApi */ -export function ΔattributeInterpolate5( +export function ɵɵattributeInterpolate5( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { const index = getSelectedIndex(); - const interpolatedValue = Δinterpolation5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix); - ΔelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); - return ΔattributeInterpolate5; + + // TODO(FW-1340): Refactor to remove the use of other instructions here. + const interpolatedValue = ɵɵinterpolation5(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, suffix); + ɵɵelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); + return ɵɵattributeInterpolate5; } /** @@ -247,7 +227,7 @@ export function ΔattributeInterpolate5( * Its compiled representation is:: * * ```ts - * ΔattributeInterpolate6( + * ɵɵattributeInterpolate6( * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, 'suffix'); * ``` * @@ -269,15 +249,16 @@ export function ΔattributeInterpolate5( * @returns itself, so that it may be chained. * @codeGenApi */ -export function ΔattributeInterpolate6( +export function ɵɵattributeInterpolate6( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { const index = getSelectedIndex(); + // TODO(FW-1340): Refactor to remove the use of other instructions here. const interpolatedValue = - Δinterpolation6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix); - ΔelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); - return ΔattributeInterpolate6; + ɵɵinterpolation6(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, suffix); + ɵɵelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); + return ɵɵattributeInterpolate6; } /** @@ -293,7 +274,7 @@ export function ΔattributeInterpolate6( * Its compiled representation is:: * * ```ts - * ΔattributeInterpolate7( + * ɵɵattributeInterpolate7( * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, 'suffix'); * ``` * @@ -317,15 +298,16 @@ export function ΔattributeInterpolate6( * @returns itself, so that it may be chained. * @codeGenApi */ -export function ΔattributeInterpolate7( +export function ɵɵattributeInterpolate7( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { const index = getSelectedIndex(); + // TODO(FW-1340): Refactor to remove the use of other instructions here. const interpolatedValue = - Δinterpolation7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix); - ΔelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); - return ΔattributeInterpolate7; + ɵɵinterpolation7(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, suffix); + ɵɵelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); + return ɵɵattributeInterpolate7; } /** @@ -341,7 +323,7 @@ export function ΔattributeInterpolate7( * Its compiled representation is:: * * ```ts - * ΔattributeInterpolate8( + * ɵɵattributeInterpolate8( * 'title', 'prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, 'suffix'); * ``` * @@ -367,15 +349,16 @@ export function ΔattributeInterpolate7( * @returns itself, so that it may be chained. * @codeGenApi */ -export function ΔattributeInterpolate8( +export function ɵɵattributeInterpolate8( attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { const index = getSelectedIndex(); + // TODO(FW-1340): Refactor to remove the use of other instructions here. const interpolatedValue = - Δinterpolation8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix); - ΔelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); - return ΔattributeInterpolate8; + ɵɵinterpolation8(prefix, v0, i0, v1, i1, v2, i2, v3, i3, v4, i4, v5, i5, v6, i6, v7, suffix); + ɵɵelementAttribute(index, attrName, interpolatedValue, sanitizer, namespace); + return ɵɵattributeInterpolate8; } /** @@ -391,7 +374,7 @@ export function ΔattributeInterpolate8( * Its compiled representation is:: * * ```ts - * ΔattributeInterpolateV( + * ɵɵattributeInterpolateV( * 'title', ['prefix', v0, '-', v1, '-', v2, '-', v3, '-', v4, '-', v5, '-', v6, '-', v7, '-', v9, * 'suffix']); * ``` @@ -404,10 +387,11 @@ export function ΔattributeInterpolate8( * @returns itself, so that it may be chained. * @codeGenApi */ -export function ΔattributeInterpolateV( +export function ɵɵattributeInterpolateV( attrName: string, values: any[], sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009 { const index = getSelectedIndex(); - ΔelementAttribute(index, attrName, ΔinterpolationV(values), sanitizer, namespace); - return ΔattributeInterpolateV; + // TODO(FW-1340): Refactor to remove the use of other instructions here. + ɵɵelementAttribute(index, attrName, ɵɵinterpolationV(values), sanitizer, namespace); + return ɵɵattributeInterpolateV; } diff --git a/packages/core/src/render3/jit/environment.ts b/packages/core/src/render3/jit/environment.ts index 51e5432bdb..1f1f1eb018 100644 --- a/packages/core/src/render3/jit/environment.ts +++ b/packages/core/src/render3/jit/environment.ts @@ -21,6 +21,15 @@ import * as r3 from '../index'; export const angularCoreEnv: {[name: string]: Function} = (() => ({ 'ɵɵattribute': r3.ɵɵattribute, + 'ɵɵattributeInterpolate1': r3.ɵɵattributeInterpolate1, + 'ɵɵattributeInterpolate2': r3.ɵɵattributeInterpolate2, + 'ɵɵattributeInterpolate3': r3.ɵɵattributeInterpolate3, + 'ɵɵattributeInterpolate4': r3.ɵɵattributeInterpolate4, + 'ɵɵattributeInterpolate5': r3.ɵɵattributeInterpolate5, + 'ɵɵattributeInterpolate6': r3.ɵɵattributeInterpolate6, + 'ɵɵattributeInterpolate7': r3.ɵɵattributeInterpolate7, + 'ɵɵattributeInterpolate8': r3.ɵɵattributeInterpolate8, + 'ɵɵattributeInterpolateV': r3.ɵɵattributeInterpolateV, 'ɵɵdefineBase': r3.ɵɵdefineBase, 'ɵɵdefineComponent': r3.ɵɵdefineComponent, 'ɵɵdefineDirective': r3.ɵɵdefineDirective, diff --git a/tools/public_api_guard/core/core.d.ts b/tools/public_api_guard/core/core.d.ts index fecd24d2f0..112dc85dbc 100644 --- a/tools/public_api_guard/core/core.d.ts +++ b/tools/public_api_guard/core/core.d.ts @@ -1,962 +1,1008 @@ -export interface AbstractType extends Function { prototype: T; } +export interface AbstractType extends Function { + prototype: T; +} -export interface AfterContentChecked { ngAfterContentChecked(): void; } +export interface AfterContentChecked { + ngAfterContentChecked(): void; +} -export interface AfterContentInit { ngAfterContentInit(): void; } +export interface AfterContentInit { + ngAfterContentInit(): void; +} -export interface AfterViewChecked { ngAfterViewChecked(): void; } +export interface AfterViewChecked { + ngAfterViewChecked(): void; +} -export interface AfterViewInit { ngAfterViewInit(): void; } +export interface AfterViewInit { + ngAfterViewInit(): void; +} export declare const ANALYZE_FOR_ENTRY_COMPONENTS: InjectionToken; -export declare const APP_BOOTSTRAP_LISTENER: - InjectionToken<((compRef: ComponentRef) => void)[]>; +export declare const APP_BOOTSTRAP_LISTENER: InjectionToken<((compRef: ComponentRef) => void)[]>; export declare const APP_ID: InjectionToken; export declare const APP_INITIALIZER: InjectionToken<(() => void)[]>; export declare class ApplicationInitStatus { - readonly done = false; - readonly donePromise: Promise; - constructor(appInits: (() => any)[]); + readonly done = false; + readonly donePromise: Promise; + constructor(appInits: (() => any)[]); } -export declare class ApplicationModule { constructor(appRef: ApplicationRef); } +export declare class ApplicationModule { + constructor(appRef: ApplicationRef); +} export declare class ApplicationRef { - readonly componentTypes: Type[]; - readonly components: ComponentRef[]; - readonly isStable: Observable; - readonly viewCount: number; - attachView(viewRef: ViewRef): void; - bootstrap(componentOrFactory: ComponentFactory|Type, rootSelectorOrNode?: string|any): - ComponentRef; - detachView(viewRef: ViewRef): void; - tick(): void; + readonly componentTypes: Type[]; + readonly components: ComponentRef[]; + readonly isStable: Observable; + readonly viewCount: number; + attachView(viewRef: ViewRef): void; + bootstrap(componentOrFactory: ComponentFactory | Type, rootSelectorOrNode?: string | any): ComponentRef; + detachView(viewRef: ViewRef): void; + tick(): void; } export declare function asNativeElements(debugEls: DebugElement[]): any; - export declare function assertPlatform(requiredToken: any): - PlatformRef; +export declare function assertPlatform(requiredToken: any): PlatformRef; - export interface Attribute { - attributeName?: string; - } +export interface Attribute { + attributeName?: string; +} export declare const Attribute: AttributeDecorator; export interface AttributeDecorator { - (name: string): any; - new (name: string): Attribute; + (name: string): any; + new (name: string): Attribute; } -export declare enum ChangeDetectionStrategy {OnPush = 0, Default = 1} +export declare enum ChangeDetectionStrategy { + OnPush = 0, + Default = 1 +} export declare abstract class ChangeDetectorRef { - abstract checkNoChanges(): void; - abstract detach(): void; - abstract detectChanges(): void; - abstract markForCheck(): void; - abstract reattach(): void; + abstract checkNoChanges(): void; + abstract detach(): void; + abstract detectChanges(): void; + abstract markForCheck(): void; + abstract reattach(): void; } export interface ClassProvider extends ClassSansProvider { - multi?: boolean; - provide: any; + multi?: boolean; + provide: any; } /** @deprecated */ -export interface CollectionChangeRecord extends IterableChangeRecord {} +export interface CollectionChangeRecord extends IterableChangeRecord { +} export declare class Compiler { - compileModuleAndAllComponentsAsync: - (moduleType: Type) => Promise>; - compileModuleAndAllComponentsSync: (moduleType: Type) => ModuleWithComponentFactories; - compileModuleAsync: (moduleType: Type) => Promise>; - compileModuleSync: (moduleType: Type) => NgModuleFactory; - clearCache(): void; - clearCacheFor(type: Type): void; - getModuleId(moduleType: Type): string|undefined; + compileModuleAndAllComponentsAsync: (moduleType: Type) => Promise>; + compileModuleAndAllComponentsSync: (moduleType: Type) => ModuleWithComponentFactories; + compileModuleAsync: (moduleType: Type) => Promise>; + compileModuleSync: (moduleType: Type) => NgModuleFactory; + clearCache(): void; + clearCacheFor(type: Type): void; + getModuleId(moduleType: Type): string | undefined; } export declare const COMPILER_OPTIONS: InjectionToken; export declare abstract class CompilerFactory { - abstract createCompiler(options?: CompilerOptions[]): Compiler; + abstract createCompiler(options?: CompilerOptions[]): Compiler; } export declare type CompilerOptions = { - useJit?: boolean; defaultEncapsulation?: ViewEncapsulation; providers?: StaticProvider[]; - missingTranslation?: MissingTranslationStrategy; - preserveWhitespaces?: boolean; + useJit?: boolean; + defaultEncapsulation?: ViewEncapsulation; + providers?: StaticProvider[]; + missingTranslation?: MissingTranslationStrategy; + preserveWhitespaces?: boolean; }; export interface Component extends Directive { - animations?: any[]; - changeDetection?: ChangeDetectionStrategy; - encapsulation?: ViewEncapsulation; - entryComponents?: Array|any[]>; - interpolation?: [string, string]; - moduleId?: string; - preserveWhitespaces?: boolean; - styleUrls?: string[]; - styles?: string[]; - template?: string; - templateUrl?: string; - viewProviders?: Provider[]; + animations?: any[]; + changeDetection?: ChangeDetectionStrategy; + encapsulation?: ViewEncapsulation; + entryComponents?: Array | any[]>; + interpolation?: [string, string]; + moduleId?: string; + preserveWhitespaces?: boolean; + styleUrls?: string[]; + styles?: string[]; + template?: string; + templateUrl?: string; + viewProviders?: Provider[]; } export declare const Component: ComponentDecorator; export interface ComponentDecorator { - (obj: Component): TypeDecorator; - new (obj: Component): Component; + (obj: Component): TypeDecorator; + new (obj: Component): Component; } export declare abstract class ComponentFactory { - abstract readonly componentType: Type; - abstract readonly inputs: {propName: string; templateName: string;}[]; - abstract readonly ngContentSelectors: string[]; - abstract readonly outputs: {propName: string; templateName: string;}[]; - abstract readonly selector: string; - abstract create( - injector: Injector, projectableNodes?: any[][], rootSelectorOrNode?: string|any, - ngModule?: NgModuleRef): ComponentRef; + abstract readonly componentType: Type; + abstract readonly inputs: { + propName: string; + templateName: string; + }[]; + abstract readonly ngContentSelectors: string[]; + abstract readonly outputs: { + propName: string; + templateName: string; + }[]; + abstract readonly selector: string; + abstract create(injector: Injector, projectableNodes?: any[][], rootSelectorOrNode?: string | any, ngModule?: NgModuleRef): ComponentRef; } export declare abstract class ComponentFactoryResolver { - abstract resolveComponentFactory(component: Type): ComponentFactory; - static NULL: ComponentFactoryResolver; + abstract resolveComponentFactory(component: Type): ComponentFactory; + static NULL: ComponentFactoryResolver; } export declare abstract class ComponentRef { - abstract readonly changeDetectorRef: ChangeDetectorRef; - abstract readonly componentType: Type; - abstract readonly hostView: ViewRef; - abstract readonly injector: Injector; - abstract readonly instance: C; - abstract readonly location: ElementRef; - abstract destroy(): void; - abstract onDestroy(callback: Function): void; + abstract readonly changeDetectorRef: ChangeDetectorRef; + abstract readonly componentType: Type; + abstract readonly hostView: ViewRef; + abstract readonly injector: Injector; + abstract readonly instance: C; + abstract readonly location: ElementRef; + abstract destroy(): void; + abstract onDestroy(callback: Function): void; } -export interface ConstructorSansProvider { deps?: any[]; } +export interface ConstructorSansProvider { + deps?: any[]; +} export declare type ContentChild = Query; export interface ContentChildDecorator { - (selector: Type|Function|string, opts?: {read?: any; static?: boolean;}): any; - new (selector: Type|Function|string, opts?: {read?: any; static?: boolean;}): ContentChild; + (selector: Type | Function | string, opts?: { + read?: any; + static?: boolean; + }): any; + new (selector: Type | Function | string, opts?: { + read?: any; + static?: boolean; + }): ContentChild; } export declare type ContentChildren = Query; export interface ContentChildrenDecorator { - (selector: Type|Function|string, opts?: {descendants?: boolean; read?: any;}): any; - new (selector: Type|Function|string, opts?: {descendants?: boolean; read?: any;}): Query; + (selector: Type | Function | string, opts?: { + descendants?: boolean; + read?: any; + }): any; + new (selector: Type | Function | string, opts?: { + descendants?: boolean; + read?: any; + }): Query; } export declare function createPlatform(injector: Injector): PlatformRef; - export declare function createPlatformFactory( - parentPlatformFactory: ((extraProviders?: StaticProvider[]) => PlatformRef) | null, - name: string, providers?: StaticProvider[]): (extraProviders?: StaticProvider[]) => - PlatformRef; +export declare function createPlatformFactory(parentPlatformFactory: ((extraProviders?: StaticProvider[]) => PlatformRef) | null, name: string, providers?: StaticProvider[]): (extraProviders?: StaticProvider[]) => PlatformRef; - export declare const CUSTOM_ELEMENTS_SCHEMA: - SchemaMetadata; +export declare const CUSTOM_ELEMENTS_SCHEMA: SchemaMetadata; - export interface DebugElement extends DebugNode { - readonly attributes: {[key: string]: string | null;}; - readonly childNodes: DebugNode[]; - readonly children: DebugElement[]; - readonly classes: {[key: string]: boolean;}; - readonly name: string; - readonly nativeElement: any; - readonly properties: {[key: string]: any;}; - readonly styles: {[key: string]: string | null;}; - query(predicate: Predicate): DebugElement; - queryAll(predicate: Predicate): DebugElement[]; - queryAllNodes(predicate: Predicate): DebugNode[]; - triggerEventHandler(eventName: string, eventObj: any): void; - } +export interface DebugElement extends DebugNode { + readonly attributes: { + [key: string]: string | null; + }; + readonly childNodes: DebugNode[]; + readonly children: DebugElement[]; + readonly classes: { + [key: string]: boolean; + }; + readonly name: string; + readonly nativeElement: any; + readonly properties: { + [key: string]: any; + }; + readonly styles: { + [key: string]: string | null; + }; + query(predicate: Predicate): DebugElement; + queryAll(predicate: Predicate): DebugElement[]; + queryAllNodes(predicate: Predicate): DebugNode[]; + triggerEventHandler(eventName: string, eventObj: any): void; +} -export declare const DebugElement: {new (...args: any[]): DebugElement;}; +export declare const DebugElement: { + new (...args: any[]): DebugElement; +}; export declare class DebugEventListener { - callback: Function; - name: string; - constructor(name: string, callback: Function); + callback: Function; + name: string; + constructor(name: string, callback: Function); } export interface DebugNode { - readonly componentInstance: any; - readonly context: any; - readonly injector: Injector; - readonly listeners: DebugEventListener[]; - readonly nativeNode: any; - readonly parent: DebugElement|null; - readonly providerTokens: any[]; - readonly references: {[key: string]: any;}; + readonly componentInstance: any; + readonly context: any; + readonly injector: Injector; + readonly listeners: DebugEventListener[]; + readonly nativeNode: any; + readonly parent: DebugElement | null; + readonly providerTokens: any[]; + readonly references: { + [key: string]: any; + }; } -export declare const DebugNode: {new (...args: any[]): DebugNode;}; +export declare const DebugNode: { + new (...args: any[]): DebugNode; +}; /** @deprecated */ export declare class DefaultIterableDiffer implements IterableDiffer, IterableChanges { - readonly collection: V[]|Iterable|null; - readonly isDirty: boolean; - readonly length: number; - constructor(trackByFn?: TrackByFunction); - check(collection: NgIterable): boolean; - diff(collection: NgIterable): DefaultIterableDiffer|null; - forEachAddedItem(fn: (record: IterableChangeRecord_) => void): void; - forEachIdentityChange(fn: (record: IterableChangeRecord_) => void): void; - forEachItem(fn: (record: IterableChangeRecord_) => void): void; - forEachMovedItem(fn: (record: IterableChangeRecord_) => void): void; - forEachOperation( - fn: (item: IterableChangeRecord, previousIndex: number|null, currentIndex: number|null) => - void): void; - forEachPreviousItem(fn: (record: IterableChangeRecord_) => void): void; - forEachRemovedItem(fn: (record: IterableChangeRecord_) => void): void; - onDestroy(): void; + readonly collection: V[] | Iterable | null; + readonly isDirty: boolean; + readonly length: number; + constructor(trackByFn?: TrackByFunction); + check(collection: NgIterable): boolean; + diff(collection: NgIterable): DefaultIterableDiffer | null; + forEachAddedItem(fn: (record: IterableChangeRecord_) => void): void; + forEachIdentityChange(fn: (record: IterableChangeRecord_) => void): void; + forEachItem(fn: (record: IterableChangeRecord_) => void): void; + forEachMovedItem(fn: (record: IterableChangeRecord_) => void): void; + forEachOperation(fn: (item: IterableChangeRecord, previousIndex: number | null, currentIndex: number | null) => void): void; + forEachPreviousItem(fn: (record: IterableChangeRecord_) => void): void; + forEachRemovedItem(fn: (record: IterableChangeRecord_) => void): void; + onDestroy(): void; } /** @deprecated */ export declare const defineInjectable: typeof ɵɵdefineInjectable; -export declare function destroyPlatform(): - void; +export declare function destroyPlatform(): void; - export interface Directive { - exportAs?: string; - host?: {[key: string]: string;}; - inputs?: string[]; - jit?: true; - outputs?: string[]; - providers?: Provider[]; - queries?: {[key: string]: any;}; - selector?: string; - } +export interface Directive { + exportAs?: string; + host?: { + [key: string]: string; + }; + inputs?: string[]; + jit?: true; + outputs?: string[]; + providers?: Provider[]; + queries?: { + [key: string]: any; + }; + selector?: string; +} export declare const Directive: DirectiveDecorator; export interface DirectiveDecorator { - (obj: Directive): TypeDecorator; - new (obj: Directive): Directive; + (obj: Directive): TypeDecorator; + new (obj: Directive): Directive; } -export interface DoBootstrap { ngDoBootstrap(appRef: ApplicationRef): void; } +export interface DoBootstrap { + ngDoBootstrap(appRef: ApplicationRef): void; +} -export interface DoCheck { ngDoCheck(): void; } +export interface DoCheck { + ngDoCheck(): void; +} export declare class ElementRef { - nativeElement: T; - constructor(nativeElement: T); + nativeElement: T; + constructor(nativeElement: T); } export declare abstract class EmbeddedViewRef extends ViewRef { - abstract readonly context: C; - abstract readonly rootNodes: any[]; + abstract readonly context: C; + abstract readonly rootNodes: any[]; } -export declare function enableProdMode(): - void; +export declare function enableProdMode(): void; - export declare class ErrorHandler { - handleError(error: any): void; - } +export declare class ErrorHandler { + handleError(error: any): void; +} export declare class EventEmitter extends Subject { - __isAsync: boolean; - constructor(isAsync?: boolean); - emit(value?: T): void; - subscribe(generatorOrNext?: any, error?: any, complete?: any): Subscription; + __isAsync: boolean; + constructor(isAsync?: boolean); + emit(value?: T): void; + subscribe(generatorOrNext?: any, error?: any, complete?: any): Subscription; } export interface ExistingProvider extends ExistingSansProvider { - multi?: boolean; - provide: any; + multi?: boolean; + provide: any; } export interface FactoryProvider extends FactorySansProvider { - multi?: boolean; - provide: any; + multi?: boolean; + provide: any; } -export declare function forwardRef(forwardRefFn: ForwardRefFn): - Type; +export declare function forwardRef(forwardRefFn: ForwardRefFn): Type; - export interface ForwardRefFn { - (): any; - } +export interface ForwardRefFn { + (): any; +} export declare const getDebugNode: (nativeNode: any) => DebugNode | null; export declare const getModuleFactory: (id: string) => NgModuleFactory; -export declare function getPlatform(): - PlatformRef|null; +export declare function getPlatform(): PlatformRef | null; - export interface GetTestability { - addToWindow(registry: TestabilityRegistry): void; - findTestabilityInTree( - registry: TestabilityRegistry, elem: any, findInAncestors: boolean): Testability|null; - } +export interface GetTestability { + addToWindow(registry: TestabilityRegistry): void; + findTestabilityInTree(registry: TestabilityRegistry, elem: any, findInAncestors: boolean): Testability | null; +} -export interface Host {} +export interface Host { +} export declare const Host: HostDecorator; -export interface HostBinding { hostPropertyName?: string; } +export interface HostBinding { + hostPropertyName?: string; +} export declare const HostBinding: HostBindingDecorator; export interface HostBindingDecorator { - (hostPropertyName?: string): any; - new (hostPropertyName?: string): any; + (hostPropertyName?: string): any; + new (hostPropertyName?: string): any; } export interface HostDecorator { - (): any; - new (): Host; + (): any; + new (): Host; } export interface HostListener { - args?: string[]; - eventName?: string; + args?: string[]; + eventName?: string; } export declare const HostListener: HostListenerDecorator; export interface HostListenerDecorator { - (eventName: string, args?: string[]): any; - new (eventName: string, args?: string[]): any; + (eventName: string, args?: string[]): any; + new (eventName: string, args?: string[]): any; } export declare const inject: typeof ɵɵinject; -export interface Inject { token: any; } +export interface Inject { + token: any; +} export declare const Inject: InjectDecorator; -export interface Injectable { providedIn?: Type|'root'|null; } +export interface Injectable { + providedIn?: Type | 'root' | null; +} export declare const Injectable: InjectableDecorator; export interface InjectableDecorator { - (): TypeDecorator; - (options?: {providedIn: Type| 'root' | null;}&InjectableProvider): TypeDecorator; - new (): Injectable; - new (options?: {providedIn: Type| 'root' | null;}&InjectableProvider): Injectable; + (): TypeDecorator; + (options?: { + providedIn: Type | 'root' | null; + } & InjectableProvider): TypeDecorator; + new (): Injectable; + new (options?: { + providedIn: Type | 'root' | null; + } & InjectableProvider): Injectable; } -export declare type InjectableProvider = ValueSansProvider | ExistingSansProvider | - StaticClassSansProvider | ConstructorSansProvider | FactorySansProvider | ClassSansProvider; +export declare type InjectableProvider = ValueSansProvider | ExistingSansProvider | StaticClassSansProvider | ConstructorSansProvider | FactorySansProvider | ClassSansProvider; -export interface InjectableType extends Type { ngInjectableDef: never; } +export interface InjectableType extends Type { + ngInjectableDef: never; +} export interface InjectDecorator { - (token: any): any; - new (token: any): Inject; + (token: any): any; + new (token: any): Inject; } -export declare enum InjectFlags {Default = 0, Host = 1, Self = 2, SkipSelf = 4, Optional = 8} +export declare enum InjectFlags { + Default = 0, + Host = 1, + Self = 2, + SkipSelf = 4, + Optional = 8 +} export declare class InjectionToken { - protected _desc: string; - readonly ngInjectableDef: never|undefined; - constructor(_desc: string, options?: {providedIn?: Type| 'root' | null; factory: () => T;}); - toString(): string; + protected _desc: string; + readonly ngInjectableDef: never | undefined; + constructor(_desc: string, options?: { + providedIn?: Type | 'root' | null; + factory: () => T; + }); + toString(): string; } export declare abstract class Injector { - abstract get(token: Type|InjectionToken, notFoundValue?: T, flags?: InjectFlags): T; - /** @deprecated */ abstract get(token: any, notFoundValue?: any): any; - static NULL: Injector; - static THROW_IF_NOT_FOUND: Object; - static ngInjectableDef: never; - /** @deprecated */ static create(providers: StaticProvider[], parent?: Injector): Injector; - static create(options: {providers: StaticProvider[]; parent?: Injector; name?: string;}): - Injector; + abstract get(token: Type | InjectionToken, notFoundValue?: T, flags?: InjectFlags): T; + /** @deprecated */ abstract get(token: any, notFoundValue?: any): any; + static NULL: Injector; + static THROW_IF_NOT_FOUND: Object; + static ngInjectableDef: never; + /** @deprecated */ static create(providers: StaticProvider[], parent?: Injector): Injector; + static create(options: { + providers: StaticProvider[]; + parent?: Injector; + name?: string; + }): Injector; } export declare const INJECTOR: InjectionToken; -export interface InjectorType extends Type { ngInjectorDef: never; } +export interface InjectorType extends Type { + ngInjectorDef: never; +} -export interface Input { bindingPropertyName?: string; } +export interface Input { + bindingPropertyName?: string; +} export declare const Input: InputDecorator; export interface InputDecorator { - (bindingPropertyName?: string): any; - new (bindingPropertyName?: string): any; + (bindingPropertyName?: string): any; + new (bindingPropertyName?: string): any; } -export declare function isDevMode(): - boolean; +export declare function isDevMode(): boolean; - export interface IterableChangeRecord { - readonly currentIndex: number|null; - readonly item: V; - readonly previousIndex: number|null; - readonly trackById: any; - } +export interface IterableChangeRecord { + readonly currentIndex: number | null; + readonly item: V; + readonly previousIndex: number | null; + readonly trackById: any; +} export interface IterableChanges { - forEachAddedItem(fn: (record: IterableChangeRecord) => void): void; - forEachIdentityChange(fn: (record: IterableChangeRecord) => void): void; - forEachItem(fn: (record: IterableChangeRecord) => void): void; - forEachMovedItem(fn: (record: IterableChangeRecord) => void): void; - forEachOperation( - fn: - (record: IterableChangeRecord, previousIndex: number|null, - currentIndex: number|null) => void): void; - forEachPreviousItem(fn: (record: IterableChangeRecord) => void): void; - forEachRemovedItem(fn: (record: IterableChangeRecord) => void): void; + forEachAddedItem(fn: (record: IterableChangeRecord) => void): void; + forEachIdentityChange(fn: (record: IterableChangeRecord) => void): void; + forEachItem(fn: (record: IterableChangeRecord) => void): void; + forEachMovedItem(fn: (record: IterableChangeRecord) => void): void; + forEachOperation(fn: (record: IterableChangeRecord, previousIndex: number | null, currentIndex: number | null) => void): void; + forEachPreviousItem(fn: (record: IterableChangeRecord) => void): void; + forEachRemovedItem(fn: (record: IterableChangeRecord) => void): void; } -export interface IterableDiffer { diff(object: NgIterable): IterableChanges|null; } +export interface IterableDiffer { + diff(object: NgIterable): IterableChanges | null; +} export interface IterableDifferFactory { - create(trackByFn?: TrackByFunction): IterableDiffer; - supports(objects: any): boolean; + create(trackByFn?: TrackByFunction): IterableDiffer; + supports(objects: any): boolean; } export declare class IterableDiffers { - /** @deprecated */ factories: IterableDifferFactory[]; - constructor(factories: IterableDifferFactory[]); - find(iterable: any): IterableDifferFactory; - static ngInjectableDef: never; - static create(factories: IterableDifferFactory[], parent?: IterableDiffers): IterableDiffers; - static extend(factories: IterableDifferFactory[]): StaticProvider; + /** @deprecated */ factories: IterableDifferFactory[]; + constructor(factories: IterableDifferFactory[]); + find(iterable: any): IterableDifferFactory; + static ngInjectableDef: never; + static create(factories: IterableDifferFactory[], parent?: IterableDiffers): IterableDiffers; + static extend(factories: IterableDifferFactory[]): StaticProvider; } export interface KeyValueChangeRecord { - readonly currentValue: V|null; - readonly key: K; - readonly previousValue: V|null; + readonly currentValue: V | null; + readonly key: K; + readonly previousValue: V | null; } export interface KeyValueChanges { - forEachAddedItem(fn: (r: KeyValueChangeRecord) => void): void; - forEachChangedItem(fn: (r: KeyValueChangeRecord) => void): void; - forEachItem(fn: (r: KeyValueChangeRecord) => void): void; - forEachPreviousItem(fn: (r: KeyValueChangeRecord) => void): void; - forEachRemovedItem(fn: (r: KeyValueChangeRecord) => void): void; + forEachAddedItem(fn: (r: KeyValueChangeRecord) => void): void; + forEachChangedItem(fn: (r: KeyValueChangeRecord) => void): void; + forEachItem(fn: (r: KeyValueChangeRecord) => void): void; + forEachPreviousItem(fn: (r: KeyValueChangeRecord) => void): void; + forEachRemovedItem(fn: (r: KeyValueChangeRecord) => void): void; } export interface KeyValueDiffer { - diff(object: Map): KeyValueChanges|null; - diff(object: {[key: string]: V;}): KeyValueChanges|null; + diff(object: Map): KeyValueChanges | null; + diff(object: { + [key: string]: V; + }): KeyValueChanges | null; } export interface KeyValueDifferFactory { - create(): KeyValueDiffer; - supports(objects: any): boolean; + create(): KeyValueDiffer; + supports(objects: any): boolean; } export declare class KeyValueDiffers { - /** @deprecated */ factories: KeyValueDifferFactory[]; - constructor(factories: KeyValueDifferFactory[]); - find(kv: any): KeyValueDifferFactory; - static ngInjectableDef: never; - static create(factories: KeyValueDifferFactory[], parent?: KeyValueDiffers): KeyValueDiffers; - static extend(factories: KeyValueDifferFactory[]): StaticProvider; + /** @deprecated */ factories: KeyValueDifferFactory[]; + constructor(factories: KeyValueDifferFactory[]); + find(kv: any): KeyValueDifferFactory; + static ngInjectableDef: never; + static create(factories: KeyValueDifferFactory[], parent?: KeyValueDiffers): KeyValueDiffers; + static extend(factories: KeyValueDifferFactory[]): StaticProvider; } export declare const LOCALE_ID: InjectionToken; -export declare enum MissingTranslationStrategy {Error = 0, Warning = 1, Ignore = 2} +export declare enum MissingTranslationStrategy { + Error = 0, + Warning = 1, + Ignore = 2 +} export declare class ModuleWithComponentFactories { - componentFactories: ComponentFactory[]; - ngModuleFactory: NgModuleFactory; - constructor(ngModuleFactory: NgModuleFactory, componentFactories: ComponentFactory[]); + componentFactories: ComponentFactory[]; + ngModuleFactory: NgModuleFactory; + constructor(ngModuleFactory: NgModuleFactory, componentFactories: ComponentFactory[]); } -export interface ModuleWithProviders< - T = any /** TODO(alxhub): remove default when callers pass explicit type param */> { - ngModule: Type; - providers?: Provider[]; +export interface ModuleWithProviders { + ngModule: Type; + providers?: Provider[]; } -export declare type NgIterable = Array| Iterable; +export declare type NgIterable = Array | Iterable; export interface NgModule { - bootstrap?: Array|any[]>; - declarations?: Array|any[]>; - entryComponents?: Array|any[]>; - exports?: Array|any[]>; - id?: string; - imports?: Array|ModuleWithProviders<{}>|any[]>; - jit?: true; - providers?: Provider[]; - schemas?: Array; + bootstrap?: Array | any[]>; + declarations?: Array | any[]>; + entryComponents?: Array | any[]>; + exports?: Array | any[]>; + id?: string; + imports?: Array | ModuleWithProviders<{}> | any[]>; + jit?: true; + providers?: Provider[]; + schemas?: Array; } export declare const NgModule: NgModuleDecorator; export interface NgModuleDecorator { - (obj?: NgModule): TypeDecorator; - new (obj?: NgModule): NgModule; + (obj?: NgModule): TypeDecorator; + new (obj?: NgModule): NgModule; } export declare abstract class NgModuleFactory { - abstract readonly moduleType: Type; - abstract create(parentInjector: Injector|null): NgModuleRef; + abstract readonly moduleType: Type; + abstract create(parentInjector: Injector | null): NgModuleRef; } /** @deprecated */ export declare abstract class NgModuleFactoryLoader { - abstract load(path: string): Promise>; + abstract load(path: string): Promise>; } export declare abstract class NgModuleRef { - abstract readonly componentFactoryResolver: ComponentFactoryResolver; - abstract readonly injector: Injector; - abstract readonly instance: T; - abstract destroy(): void; - abstract onDestroy(callback: () => void): void; + abstract readonly componentFactoryResolver: ComponentFactoryResolver; + abstract readonly injector: Injector; + abstract readonly instance: T; + abstract destroy(): void; + abstract onDestroy(callback: () => void): void; } export declare class NgProbeToken { - name: string; - token: any; - constructor(name: string, token: any); + name: string; + token: any; + constructor(name: string, token: any); } export declare class NgZone { - readonly hasPendingMacrotasks: boolean; - readonly hasPendingMicrotasks: boolean; - readonly isStable: boolean; - readonly onError: EventEmitter; - readonly onMicrotaskEmpty: EventEmitter; - readonly onStable: EventEmitter; - readonly onUnstable: EventEmitter; - constructor({enableLongStackTrace}: {enableLongStackTrace?: boolean | undefined;}); - run(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[]): T; - runGuarded(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[]): T; - runOutsideAngular(fn: (...args: any[]) => T): T; - runTask(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[], name?: string): T; - static assertInAngularZone(): void; - static assertNotInAngularZone(): void; - static isInAngularZone(): boolean; + readonly hasPendingMacrotasks: boolean; + readonly hasPendingMicrotasks: boolean; + readonly isStable: boolean; + readonly onError: EventEmitter; + readonly onMicrotaskEmpty: EventEmitter; + readonly onStable: EventEmitter; + readonly onUnstable: EventEmitter; + constructor({ enableLongStackTrace }: { + enableLongStackTrace?: boolean | undefined; + }); + run(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[]): T; + runGuarded(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[]): T; + runOutsideAngular(fn: (...args: any[]) => T): T; + runTask(fn: (...args: any[]) => T, applyThis?: any, applyArgs?: any[], name?: string): T; + static assertInAngularZone(): void; + static assertNotInAngularZone(): void; + static isInAngularZone(): boolean; } export declare const NO_ERRORS_SCHEMA: SchemaMetadata; -export interface OnChanges { ngOnChanges(changes: SimpleChanges): void; } +export interface OnChanges { + ngOnChanges(changes: SimpleChanges): void; +} -export interface OnDestroy { ngOnDestroy(): void; } +export interface OnDestroy { + ngOnDestroy(): void; +} -export interface OnInit { ngOnInit(): void; } +export interface OnInit { + ngOnInit(): void; +} -export interface Optional {} +export interface Optional { +} export declare const Optional: OptionalDecorator; export interface OptionalDecorator { - (): any; - new (): Optional; + (): any; + new (): Optional; } -export interface Output { bindingPropertyName?: string; } +export interface Output { + bindingPropertyName?: string; +} export declare const Output: OutputDecorator; export interface OutputDecorator { - (bindingPropertyName?: string): any; - new (bindingPropertyName?: string): any; + (bindingPropertyName?: string): any; + new (bindingPropertyName?: string): any; } -export declare function ɵɵallocHostVars(count: number): - void; +export declare function ɵɵallocHostVars(count: number): void; - export interface ɵɵBaseDef { - contentQueries: ContentQueriesFunction|null; - /** @deprecated */ readonly declaredInputs: {[P in keyof T]: string;}; - hostBindings: HostBindingsFunction|null; - readonly inputs: {[P in keyof T]: string;}; - readonly outputs: {[P in keyof T]: string;}; - viewQuery: ViewQueriesFunction|null; - } +export declare function ɵɵattribute(name: string, value: any, sanitizer?: SanitizerFn | null, namespace?: string): void; -export declare function ɵɵbind(value: T): T | - NO_CHANGE; +export declare function ɵɵattributeInterpolate1(attrName: string, prefix: string, v0: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; -export declare function ɵɵclassMap( - classes: {[styleName: string]: any;} | NO_CHANGE | string | null): void; +export declare function ɵɵattributeInterpolate2(attrName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - export declare function ɵɵclassProp( - classIndex: number, value: boolean | PlayerFactory, forceOverride?: boolean): void; +export declare function ɵɵattributeInterpolate3(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - export declare type ɵɵComponentDefWithMeta < T, Selector extends String, - ExportAs extends string[], InputMap extends { - [key: string]: string; - }, OutputMap extends { - [key: string]: string; +export declare function ɵɵattributeInterpolate4(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; + +export declare function ɵɵattributeInterpolate5(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; + +export declare function ɵɵattributeInterpolate6(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; + +export declare function ɵɵattributeInterpolate7(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; + +export declare function ɵɵattributeInterpolate8(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; + +export declare function ɵɵattributeInterpolateV(attrName: string, values: any[], sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; + +export interface ɵɵBaseDef { + contentQueries: ContentQueriesFunction | null; + /** @deprecated */ readonly declaredInputs: { + [P in keyof T]: string; + }; + hostBindings: HostBindingsFunction | null; + readonly inputs: { + [P in keyof T]: string; + }; + readonly outputs: { + [P in keyof T]: string; + }; + viewQuery: ViewQueriesFunction | null; } -, QueryFields extends string[] > = ComponentDef; -export declare function ɵɵcomponentHostSyntheticListener( - eventName: string, listenerFn: (e?: any) => any, useCapture?: boolean, - eventTargetResolver?: GlobalTargetResolver): void; +export declare function ɵɵbind(value: T): T | NO_CHANGE; -export declare function ɵɵcomponentHostSyntheticProperty( - index: number, propName: string, value: T | NO_CHANGE, sanitizer?: SanitizerFn | null, - nativeOnly?: boolean): void; +export declare function ɵɵclassMap(classes: { + [styleName: string]: any; +} | NO_CHANGE | string | null): void; + +export declare function ɵɵclassProp(classIndex: number, value: boolean | PlayerFactory, forceOverride?: boolean): void; + +export declare type ɵɵComponentDefWithMeta = ComponentDef; + +export declare function ɵɵcomponentHostSyntheticListener(eventName: string, listenerFn: (e?: any) => any, useCapture?: boolean, eventTargetResolver?: GlobalTargetResolver): void; + +export declare function ɵɵcomponentHostSyntheticProperty(index: number, propName: string, value: T | NO_CHANGE, sanitizer?: SanitizerFn | null, nativeOnly?: boolean): void; export declare function ɵɵcontainer(index: number): void; - export declare function ɵɵcontainerRefreshEnd(): void; +export declare function ɵɵcontainerRefreshEnd(): void; - export declare function ɵɵcontainerRefreshStart(index: number): void; +export declare function ɵɵcontainerRefreshStart(index: number): void; - export declare function ɵɵcontentQuery( - directiveIndex: number, predicate: Type| string[], descend: boolean, read: any): - QueryList; +export declare function ɵɵcontentQuery(directiveIndex: number, predicate: Type | string[], descend: boolean, read: any): QueryList; - export declare const ɵɵdefaultStyleSanitizer: StyleSanitizeFn; +export declare const ɵɵdefaultStyleSanitizer: StyleSanitizeFn; - export declare function ɵɵdefineBase(baseDefinition: { - inputs?: {[P in keyof T]?: string | [string, string];}; - outputs?: {[P in keyof T]?: string;}; - contentQueries?: ContentQueriesFunction|null; - viewQuery?: ViewQueriesFunction|null; - hostBindings?: HostBindingsFunction; - }): ɵɵBaseDef; +export declare function ɵɵdefineBase(baseDefinition: { + inputs?: { + [P in keyof T]?: string | [string, string]; + }; + outputs?: { + [P in keyof T]?: string; + }; + contentQueries?: ContentQueriesFunction | null; + viewQuery?: ViewQueriesFunction | null; + hostBindings?: HostBindingsFunction; +}): ɵɵBaseDef; export declare function ɵɵdefineComponent(componentDefinition: { - type: Type; selectors: CssSelectorList; factory: FactoryFn; consts: number; vars: number; - inputs?: {[P in keyof T]?: string | [string, string];}; - outputs?: {[P in keyof T]?: string;}; - hostBindings?: HostBindingsFunction; - contentQueries?: ContentQueriesFunction; - exportAs?: string[]; - template: ComponentTemplate; - ngContentSelectors?: string[]; - viewQuery?: ViewQueriesFunction| null; - features?: ComponentDefFeature[]; - encapsulation?: ViewEncapsulation; - data?: {[kind: string]: any;}; - styles?: string[]; - changeDetection?: ChangeDetectionStrategy; - directives?: DirectiveTypesOrFactory | null; - pipes?: PipeTypesOrFactory | null; - schemas?: SchemaMetadata[] | null; + type: Type; + selectors: CssSelectorList; + factory: FactoryFn; + consts: number; + vars: number; + inputs?: { + [P in keyof T]?: string | [string, string]; + }; + outputs?: { + [P in keyof T]?: string; + }; + hostBindings?: HostBindingsFunction; + contentQueries?: ContentQueriesFunction; + exportAs?: string[]; + template: ComponentTemplate; + ngContentSelectors?: string[]; + viewQuery?: ViewQueriesFunction | null; + features?: ComponentDefFeature[]; + encapsulation?: ViewEncapsulation; + data?: { + [kind: string]: any; + }; + styles?: string[]; + changeDetection?: ChangeDetectionStrategy; + directives?: DirectiveTypesOrFactory | null; + pipes?: PipeTypesOrFactory | null; + schemas?: SchemaMetadata[] | null; }): never; export declare const ɵɵdefineDirective: (directiveDefinition: { - type: Type; selectors: (string | SelectorFlags)[][]; factory: FactoryFn; - inputs?: {[P in keyof T]?: string | [string, string] | undefined;} | undefined; - outputs?: {[P in keyof T]?: string | undefined;} | undefined; - features?: DirectiveDefFeature[] | undefined; - hostBindings?: HostBindingsFunction| undefined; - contentQueries?: ContentQueriesFunction| undefined; - viewQuery?: ViewQueriesFunction| null | undefined; - exportAs?: string[] | undefined; + type: Type; + selectors: (string | SelectorFlags)[][]; + factory: FactoryFn; + inputs?: { [P in keyof T]?: string | [string, string] | undefined; } | undefined; + outputs?: { [P in keyof T]?: string | undefined; } | undefined; + features?: DirectiveDefFeature[] | undefined; + hostBindings?: HostBindingsFunction | undefined; + contentQueries?: ContentQueriesFunction | undefined; + viewQuery?: ViewQueriesFunction | null | undefined; + exportAs?: string[] | undefined; }) => never; -export declare function ɵɵdefineInjectable( - opts: {providedIn?: Type| 'root' | 'any' | null; factory: () => T;}): never; +export declare function ɵɵdefineInjectable(opts: { + providedIn?: Type | 'root' | 'any' | null; + factory: () => T; +}): never; -export declare function ɵɵdefineInjector( - options: {factory: () => any; providers?: any[]; imports?: any[];}): never; +export declare function ɵɵdefineInjector(options: { + factory: () => any; + providers?: any[]; + imports?: any[]; +}): never; - export declare function ɵɵdefineNgModule(def: { - type: T; - bootstrap?: Type[]|(() => Type[]); - declarations?: Type[]|(() => Type[]); - imports?: Type[]|(() => Type[]); - exports?: Type[]|(() => Type[]); - schemas?: SchemaMetadata[]|null; - id?: string|null; - }): never; +export declare function ɵɵdefineNgModule(def: { + type: T; + bootstrap?: Type[] | (() => Type[]); + declarations?: Type[] | (() => Type[]); + imports?: Type[] | (() => Type[]); + exports?: Type[] | (() => Type[]); + schemas?: SchemaMetadata[] | null; + id?: string | null; +}): never; -export declare function ɵɵdefinePipe( - pipeDef: {name: string; type: Type; factory: FactoryFn; pure?: boolean;}): never; +export declare function ɵɵdefinePipe(pipeDef: { + name: string; + type: Type; + factory: FactoryFn; + pure?: boolean; +}): never; -export declare type ɵɵDirectiveDefWithMeta < T, Selector extends string, ExportAs extends string[], - InputMap extends { - [key: string]: string; -} -, OutputMap extends { - [key: string]: string; -} -, QueryFields extends string[] > = DirectiveDef; +export declare type ɵɵDirectiveDefWithMeta = DirectiveDef; -export declare function ɵɵdirectiveInject(token: Type| InjectionToken): T; -export declare function ɵɵdirectiveInject( - token: Type| InjectionToken, flags: InjectFlags): T; +export declare function ɵɵdirectiveInject(token: Type | InjectionToken): T; +export declare function ɵɵdirectiveInject(token: Type | InjectionToken, flags: InjectFlags): T; export declare function ɵɵdisableBindings(): void; - export declare function ɵɵelement( - index: number, name: string, attrs?: TAttributes | null, localRefs?: string[] | null): void; +export declare function ɵɵelement(index: number, name: string, attrs?: TAttributes | null, localRefs?: string[] | null): void; - export declare function ɵɵelementAttribute( - index: number, name: string, value: any, sanitizer?: SanitizerFn | null, - namespace?: string): void; +export declare function ɵɵelementAttribute(index: number, name: string, value: any, sanitizer?: SanitizerFn | null, namespace?: string): void; - export declare function ɵɵelementContainerEnd(): void; +export declare function ɵɵelementContainerEnd(): void; - export declare function ɵɵelementContainerStart( - index: number, attrs?: TAttributes | null, localRefs?: string[] | null): void; +export declare function ɵɵelementContainerStart(index: number, attrs?: TAttributes | null, localRefs?: string[] | null): void; - export declare function ɵɵelementEnd(): void; +export declare function ɵɵelementEnd(): void; - export declare function ɵɵelementHostAttrs(attrs: TAttributes): void; +export declare function ɵɵelementHostAttrs(attrs: TAttributes): void; - export declare function ɵɵelementProperty( - index: number, propName: string, value: T | NO_CHANGE, sanitizer?: SanitizerFn | null, - nativeOnly?: boolean): void; +export declare function ɵɵelementProperty(index: number, propName: string, value: T | NO_CHANGE, sanitizer?: SanitizerFn | null, nativeOnly?: boolean): void; - export declare function ɵɵelementStart( - index: number, name: string, attrs?: TAttributes | null, localRefs?: string[] | null): void; +export declare function ɵɵelementStart(index: number, name: string, attrs?: TAttributes | null, localRefs?: string[] | null): void; - export declare function ɵɵembeddedViewEnd(): void; +export declare function ɵɵembeddedViewEnd(): void; - export declare function ɵɵembeddedViewStart(viewBlockId: number, consts: number, vars: number): - RenderFlags; +export declare function ɵɵembeddedViewStart(viewBlockId: number, consts: number, vars: number): RenderFlags; - export declare function ɵɵenableBindings(): void; +export declare function ɵɵenableBindings(): void; - export declare function ɵɵgetCurrentView(): OpaqueViewState; +export declare function ɵɵgetCurrentView(): OpaqueViewState; - export declare function ɵɵgetFactoryOf(type: Type): ((type: Type| null) => T) | null; +export declare function ɵɵgetFactoryOf(type: Type): ((type: Type | null) => T) | null; - export declare function ɵɵgetInheritedFactory(type: Type): (type: Type) => T; +export declare function ɵɵgetInheritedFactory(type: Type): (type: Type) => T; - export declare function ɵɵi18n(index: number, message: string, subTemplateIndex?: number): void; +export declare function ɵɵi18n(index: number, message: string, subTemplateIndex?: number): void; - export declare function ɵɵi18nApply(index: number): void; +export declare function ɵɵi18nApply(index: number): void; - export declare function ɵɵi18nAttributes(index: number, values: string[]): void; +export declare function ɵɵi18nAttributes(index: number, values: string[]): void; - export declare function ɵɵi18nEnd(): void; +export declare function ɵɵi18nEnd(): void; - export declare function ɵɵi18nExp(expression: T | NO_CHANGE): void; +export declare function ɵɵi18nExp(expression: T | NO_CHANGE): void; - /** @deprecated */ - export declare function ɵɵi18nLocalize(input: string, placeholders?: { [key: string]: string;}): - string; +/** @deprecated */ +export declare function ɵɵi18nLocalize(input: string, placeholders?: { + [key: string]: string; +}): string; -export declare function ɵɵi18nPostprocess( - message: string, replacements?: {[key: string]: (string | string[]);}): string; +export declare function ɵɵi18nPostprocess(message: string, replacements?: { + [key: string]: (string | string[]); +}): string; - export declare function ɵɵi18nStart(index: number, message: string, subTemplateIndex?: number): - void; +export declare function ɵɵi18nStart(index: number, message: string, subTemplateIndex?: number): void; - export declare function ɵɵInheritDefinitionFeature( - definition: DirectiveDef| ComponentDef): void; +export declare function ɵɵInheritDefinitionFeature(definition: DirectiveDef | ComponentDef): void; - export declare function ɵɵinject(token: Type| InjectionToken): - T; - export declare function ɵɵinject(token: Type| InjectionToken, flags?: InjectFlags): T | - null; +export declare function ɵɵinject(token: Type | InjectionToken): T; +export declare function ɵɵinject(token: Type | InjectionToken, flags?: InjectFlags): T | null; - export interface ɵɵInjectableDef { - factory: () => T; - providedIn: InjectorType|'root'|'any'|null; - value: T|undefined; - } +export interface ɵɵInjectableDef { + factory: () => T; + providedIn: InjectorType | 'root' | 'any' | null; + value: T | undefined; +} -export declare function ɵɵinjectAttribute(attrNameToInject: string): string | - null; +export declare function ɵɵinjectAttribute(attrNameToInject: string): string | null; - export interface ɵɵInjectorDef { - factory: () => T; - imports: (InjectorType| InjectorTypeWithProviders)[]; - providers: - (Type| ValueProvider | ExistingProvider | FactoryProvider | ConstructorProvider | - StaticClassProvider | ClassProvider | any[])[]; - } +export interface ɵɵInjectorDef { + factory: () => T; + imports: (InjectorType | InjectorTypeWithProviders)[]; + providers: (Type | ValueProvider | ExistingProvider | FactoryProvider | ConstructorProvider | StaticClassProvider | ClassProvider | any[])[]; +} -export declare function ɵɵinterpolation1(prefix: string, v0: any, suffix: string): string | - NO_CHANGE; +export declare function ɵɵinterpolation1(prefix: string, v0: any, suffix: string): string | NO_CHANGE; - export declare function ɵɵinterpolation2( - prefix: string, v0: any, i0: string, v1: any, suffix: string): string | - NO_CHANGE; +export declare function ɵɵinterpolation2(prefix: string, v0: any, i0: string, v1: any, suffix: string): string | NO_CHANGE; - export declare function ɵɵinterpolation3( - prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string): string | - NO_CHANGE; +export declare function ɵɵinterpolation3(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string): string | NO_CHANGE; - export declare function ɵɵinterpolation4( - prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, - suffix: string): string | - NO_CHANGE; +export declare function ɵɵinterpolation4(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string): string | NO_CHANGE; - export declare function ɵɵinterpolation5( - prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, - i3: string, v4: any, suffix: string): string | - NO_CHANGE; +export declare function ɵɵinterpolation5(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string): string | NO_CHANGE; - export declare function ɵɵinterpolation6( - prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, - i3: string, v4: any, i4: string, v5: any, suffix: string): string | - NO_CHANGE; +export declare function ɵɵinterpolation6(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string): string | NO_CHANGE; - export declare function ɵɵinterpolation7( - prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, - i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string): string | - NO_CHANGE; +export declare function ɵɵinterpolation7(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string): string | NO_CHANGE; - export declare function ɵɵinterpolation8( - prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, - i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, - suffix: string): string | - NO_CHANGE; +export declare function ɵɵinterpolation8(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string): string | NO_CHANGE; - export declare function ɵɵinterpolationV(values: any[]): string | NO_CHANGE; +export declare function ɵɵinterpolationV(values: any[]): string | NO_CHANGE; - export declare function ɵɵlistener( - eventName: string, listenerFn: (e?: any) => any, useCapture?: boolean, - eventTargetResolver?: GlobalTargetResolver): void; +export declare function ɵɵlistener(eventName: string, listenerFn: (e?: any) => any, useCapture?: boolean, eventTargetResolver?: GlobalTargetResolver): void; - export declare function ɵɵload(index: number): T; +export declare function ɵɵload(index: number): T; - export declare function ɵɵloadContentQuery(): QueryList; +export declare function ɵɵloadContentQuery(): QueryList; - export declare function ɵɵloadViewQuery(): T; +export declare function ɵɵloadViewQuery(): T; - export declare function ɵɵnamespaceHTML(): void; +export declare function ɵɵnamespaceHTML(): void; - export declare function ɵɵnamespaceMathML(): void; +export declare function ɵɵnamespaceMathML(): void; - export declare function ɵɵnamespaceSVG(): void; +export declare function ɵɵnamespaceSVG(): void; - export declare function ɵɵnextContext(level?: number): T; +export declare function ɵɵnextContext(level?: number): T; - export declare type ɵɵNgModuleDefWithMeta = NgModuleDef; +export declare type ɵɵNgModuleDefWithMeta = NgModuleDef; - export declare function ɵɵNgOnChangesFeature(): DirectiveDefFeature; +export declare function ɵɵNgOnChangesFeature(): DirectiveDefFeature; - export declare function ɵɵpipe(index: number, pipeName: string): any; +export declare function ɵɵpipe(index: number, pipeName: string): any; - export declare function ɵɵpipeBind1(index: number, slotOffset: number, v1: any): any; +export declare function ɵɵpipeBind1(index: number, slotOffset: number, v1: any): any; - export declare function ɵɵpipeBind2(index: number, slotOffset: number, v1: any, v2: any): any; +export declare function ɵɵpipeBind2(index: number, slotOffset: number, v1: any, v2: any): any; - export declare function ɵɵpipeBind3( - index: number, slotOffset: number, v1: any, v2: any, v3: any): any; +export declare function ɵɵpipeBind3(index: number, slotOffset: number, v1: any, v2: any, v3: any): any; - export declare function ɵɵpipeBind4( - index: number, slotOffset: number, v1: any, v2: any, v3: any, v4: any): any; +export declare function ɵɵpipeBind4(index: number, slotOffset: number, v1: any, v2: any, v3: any, v4: any): any; - export declare function ɵɵpipeBindV(index: number, slotOffset: number, values: any[]): any; +export declare function ɵɵpipeBindV(index: number, slotOffset: number, values: any[]): any; - export declare type ɵɵPipeDefWithMeta = PipeDef; +export declare type ɵɵPipeDefWithMeta = PipeDef; - export declare function ɵɵprojection( - nodeIndex: number, selectorIndex?: number, attrs?: TAttributes): void; +export declare function ɵɵprojection(nodeIndex: number, selectorIndex?: number, attrs?: TAttributes): void; - export declare function ɵɵprojectionDef(selectors?: CssSelectorList[]): void; +export declare function ɵɵprojectionDef(selectors?: CssSelectorList[]): void; - export declare function ɵɵproperty( - propName: string, value: T, sanitizer?: SanitizerFn | null, nativeOnly?: boolean): - TsickleIssue1009; +export declare function ɵɵproperty(propName: string, value: T, sanitizer?: SanitizerFn | null, nativeOnly?: boolean): TsickleIssue1009; - export declare function ɵɵpropertyInterpolate( - propName: string, v0: any, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate(propName: string, v0: any, sanitizer?: SanitizerFn): TsickleIssue1009; - export declare function ɵɵpropertyInterpolate1( - propName: string, prefix: string, v0: any, suffix: string, sanitizer?: SanitizerFn): - TsickleIssue1009; +export declare function ɵɵpropertyInterpolate1(propName: string, prefix: string, v0: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - export declare function ɵɵpropertyInterpolate2( - propName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, - sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate2(propName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - export declare function ɵɵpropertyInterpolate3( - propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, - suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate3(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - export declare function ɵɵpropertyInterpolate4( - propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, - i2: string, v3: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate4(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - export declare function ɵɵpropertyInterpolate5( - propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, - i2: string, v3: any, i3: string, v4: any, suffix: string, - sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate5(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - export declare function ɵɵpropertyInterpolate6( - propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, - i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, - sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate6(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - export declare function ɵɵpropertyInterpolate7( - propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, - i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, - suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate7(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - export declare function ɵɵpropertyInterpolate8( - propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, - i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, - i6: string, v7: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolate8(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - export declare function ɵɵpropertyInterpolateV( - propName: string, values: any[], sanitizer?: SanitizerFn): TsickleIssue1009; +export declare function ɵɵpropertyInterpolateV(propName: string, values: any[], sanitizer?: SanitizerFn): TsickleIssue1009; - export declare function ɵɵProvidersFeature( - providers: Provider[], viewProviders?: Provider[]): (definition: DirectiveDef) => void; +export declare function ɵɵProvidersFeature(providers: Provider[], viewProviders?: Provider[]): (definition: DirectiveDef) => void; - export declare function ɵɵpureFunction0(slotOffset: number, pureFn: () => T, thisArg?: any): - T; +export declare function ɵɵpureFunction0(slotOffset: number, pureFn: () => T, thisArg?: any): T; - export declare function ɵɵpureFunction1( - slotOffset: number, pureFn: (v: any) => any, exp: any, thisArg?: any): any; +export declare function ɵɵpureFunction1(slotOffset: number, pureFn: (v: any) => any, exp: any, thisArg?: any): any; - export declare function ɵɵpureFunction2( - slotOffset: number, pureFn: (v1: any, v2: any) => any, exp1: any, exp2: any, thisArg?: any): - any; +export declare function ɵɵpureFunction2(slotOffset: number, pureFn: (v1: any, v2: any) => any, exp1: any, exp2: any, thisArg?: any): any; - export declare function ɵɵpureFunction3( - slotOffset: number, pureFn: (v1: any, v2: any, v3: any) => any, exp1: any, exp2: any, - exp3: any, thisArg?: any): any; +export declare function ɵɵpureFunction3(slotOffset: number, pureFn: (v1: any, v2: any, v3: any) => any, exp1: any, exp2: any, exp3: any, thisArg?: any): any; - export declare function ɵɵpureFunction4( - slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any) => any, exp1: any, - exp2: any, exp3: any, exp4: any, thisArg?: any): any; +export declare function ɵɵpureFunction4(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, thisArg?: any): any; - export declare function ɵɵpureFunction5( - slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any) => any, exp1: any, - exp2: any, exp3: any, exp4: any, exp5: any, thisArg?: any): any; +export declare function ɵɵpureFunction5(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, thisArg?: any): any; - export declare function ɵɵpureFunction6( - slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any) => any, - exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, thisArg?: any): any; +export declare function ɵɵpureFunction6(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, thisArg?: any): any; - export declare function ɵɵpureFunction7( - slotOffset: number, - pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any) => any, exp1: any, - exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, exp7: any, thisArg?: any): any; +export declare function ɵɵpureFunction7(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, exp7: any, thisArg?: any): any; - export declare function ɵɵpureFunction8( - slotOffset: number, - pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any, v8: any) => any, - exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, exp7: any, exp8: any, - thisArg?: any): any; +export declare function ɵɵpureFunction8(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any, v8: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, exp7: any, exp8: any, thisArg?: any): any; - export declare function ɵɵpureFunctionV( - slotOffset: number, pureFn: (...v: any[]) => any, exps: any[], thisArg?: any): any; +export declare function ɵɵpureFunctionV(slotOffset: number, pureFn: (...v: any[]) => any, exps: any[], thisArg?: any): any; - export declare function ɵɵqueryRefresh(queryList: QueryList): boolean; +export declare function ɵɵqueryRefresh(queryList: QueryList): boolean; - export declare function ɵɵreference(index: number): T; +export declare function ɵɵreference(index: number): T; - export declare function ɵɵresolveBody(element: RElement & { ownerDocument: Document;}): - {name: string; target: HTMLElement;}; +export declare function ɵɵresolveBody(element: RElement & { + ownerDocument: Document; +}): { + name: string; + target: HTMLElement; +}; -export declare function ɵɵresolveDocument(element: RElement & { ownerDocument: Document;}): - {name: string; target: Document;}; +export declare function ɵɵresolveDocument(element: RElement & { + ownerDocument: Document; +}): { + name: string; + target: Document; +}; export declare function ɵɵresolveWindow(element: RElement & { ownerDocument: Document; @@ -1405,405 +1451,3 @@ export interface WtfScopeFn { } export declare const wtfStartTimeRange: (rangeType: string, action: string) => any; - -export declare function ɵɵallocHostVars(count: number): void; - -export declare function ɵɵattribute(name: string, value: any, sanitizer?: SanitizerFn | null, namespace?: string): void; - -export declare function ɵɵattributeInterpolate(attrName: string, v0: any, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - -export declare function ɵɵattributeInterpolate1(attrName: string, prefix: string, v0: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - -export declare function ɵɵattributeInterpolate2(attrName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - -export declare function ɵɵattributeInterpolate3(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - -export declare function ɵɵattributeInterpolate4(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - -export declare function ɵɵattributeInterpolate5(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - -export declare function ɵɵattributeInterpolate6(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - -export declare function ɵɵattributeInterpolate7(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - -export declare function ɵɵattributeInterpolate8(attrName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string, sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - -export declare function ɵɵattributeInterpolateV(attrName: string, values: any[], sanitizer?: SanitizerFn, namespace?: string): TsickleIssue1009; - -export interface ɵɵBaseDef { - contentQueries: ContentQueriesFunction | null; - /** @deprecated */ readonly declaredInputs: { - [P in keyof T]: string; - }; - hostBindings: HostBindingsFunction | null; - readonly inputs: { - [P in keyof T]: string; - }; - readonly outputs: { - [P in keyof T]: string; - }; - viewQuery: ViewQueriesFunction | null; -} - -export declare function ɵɵbind(value: T): T | NO_CHANGE; - -export declare function ɵɵclassMap(classes: { - [styleName: string]: any; -} | NO_CHANGE | string | null): void; - -export declare function ɵɵclassProp(classIndex: number, value: boolean | PlayerFactory, forceOverride?: boolean): void; - -export declare type ɵɵComponentDefWithMeta = ComponentDef; - -export declare function ɵɵcomponentHostSyntheticListener(eventName: string, listenerFn: (e?: any) => any, useCapture?: boolean, eventTargetResolver?: GlobalTargetResolver): void; - -export declare function ɵɵcomponentHostSyntheticProperty(index: number, propName: string, value: T | NO_CHANGE, sanitizer?: SanitizerFn | null, nativeOnly?: boolean): void; - -export declare function ɵɵcontainer(index: number): void; - -export declare function ɵɵcontainerRefreshEnd(): void; - -export declare function ɵɵcontainerRefreshStart(index: number): void; - -export declare function ɵɵcontentQuery(directiveIndex: number, predicate: Type | string[], descend: boolean, read: any): QueryList; - -export declare const ɵɵdefaultStyleSanitizer: StyleSanitizeFn; - -export declare function ɵɵdefineBase(baseDefinition: { - inputs?: { - [P in keyof T]?: string | [string, string]; - }; - outputs?: { - [P in keyof T]?: string; - }; - contentQueries?: ContentQueriesFunction | null; - viewQuery?: ViewQueriesFunction | null; - hostBindings?: HostBindingsFunction; -}): ɵɵBaseDef; - -export declare function ɵɵdefineComponent(componentDefinition: { - type: Type; - selectors: CssSelectorList; - factory: FactoryFn; - consts: number; - vars: number; - inputs?: { - [P in keyof T]?: string | [string, string]; - }; - outputs?: { - [P in keyof T]?: string; - }; - hostBindings?: HostBindingsFunction; - contentQueries?: ContentQueriesFunction; - exportAs?: string[]; - template: ComponentTemplate; - ngContentSelectors?: string[]; - viewQuery?: ViewQueriesFunction | null; - features?: ComponentDefFeature[]; - encapsulation?: ViewEncapsulation; - data?: { - [kind: string]: any; - }; - styles?: string[]; - changeDetection?: ChangeDetectionStrategy; - directives?: DirectiveTypesOrFactory | null; - pipes?: PipeTypesOrFactory | null; - schemas?: SchemaMetadata[] | null; -}): never; - -export declare const ɵɵdefineDirective: (directiveDefinition: { - type: Type; - selectors: (string | SelectorFlags)[][]; - factory: FactoryFn; - inputs?: { [P in keyof T]?: string | [string, string] | undefined; } | undefined; - outputs?: { [P in keyof T]?: string | undefined; } | undefined; - features?: DirectiveDefFeature[] | undefined; - hostBindings?: HostBindingsFunction | undefined; - contentQueries?: ContentQueriesFunction | undefined; - viewQuery?: ViewQueriesFunction | null | undefined; - exportAs?: string[] | undefined; -}) => never; - -export declare function ɵɵdefineInjectable(opts: { - providedIn?: Type | 'root' | 'any' | null; - factory: () => T; -}): never; - -export declare function ɵɵdefineInjector(options: { - factory: () => any; - providers?: any[]; - imports?: any[]; -}): never; - -export declare function ɵɵdefineNgModule(def: { - type: T; - bootstrap?: Type[] | (() => Type[]); - declarations?: Type[] | (() => Type[]); - imports?: Type[] | (() => Type[]); - exports?: Type[] | (() => Type[]); - schemas?: SchemaMetadata[] | null; - id?: string | null; -}): never; - -export declare function ɵɵdefinePipe(pipeDef: { - name: string; - type: Type; - factory: FactoryFn; - pure?: boolean; -}): never; - -export declare type ɵɵDirectiveDefWithMeta = DirectiveDef; - -export declare function ɵɵdirectiveInject(token: Type | InjectionToken): T; -export declare function ɵɵdirectiveInject(token: Type | InjectionToken, flags: InjectFlags): T; - -export declare function ɵɵdisableBindings(): void; - -export declare function ɵɵelement(index: number, name: string, attrs?: TAttributes | null, localRefs?: string[] | null): void; - -export declare function ɵɵelementAttribute(index: number, name: string, value: any, sanitizer?: SanitizerFn | null, namespace?: string): void; - -export declare function ɵɵelementContainerEnd(): void; - -export declare function ɵɵelementContainerStart(index: number, attrs?: TAttributes | null, localRefs?: string[] | null): void; - -export declare function ɵɵelementEnd(): void; - -export declare function ɵɵelementHostAttrs(attrs: TAttributes): void; - -export declare function ɵɵelementProperty(index: number, propName: string, value: T | NO_CHANGE, sanitizer?: SanitizerFn | null, nativeOnly?: boolean): void; - -export declare function ɵɵelementStart(index: number, name: string, attrs?: TAttributes | null, localRefs?: string[] | null): void; - -export declare function ɵɵembeddedViewEnd(): void; - -export declare function ɵɵembeddedViewStart(viewBlockId: number, consts: number, vars: number): RenderFlags; - -export declare function ɵɵenableBindings(): void; - -export declare function ɵɵgetCurrentView(): OpaqueViewState; - -export declare function ɵɵgetFactoryOf(type: Type): ((type: Type | null) => T) | null; - -export declare function ɵɵgetInheritedFactory(type: Type): (type: Type) => T; - -export declare function ɵɵi18n(index: number, message: string, subTemplateIndex?: number): void; - -export declare function ɵɵi18nApply(index: number): void; - -export declare function ɵɵi18nAttributes(index: number, values: string[]): void; - -export declare function ɵɵi18nEnd(): void; - -export declare function ɵɵi18nExp(expression: T | NO_CHANGE): void; - -/** @deprecated */ -export declare function ɵɵi18nLocalize(input: string, placeholders?: { - [key: string]: string; -}): string; - -export declare function ɵɵi18nPostprocess(message: string, replacements?: { - [key: string]: (string | string[]); -}): string; - -export declare function ɵɵi18nStart(index: number, message: string, subTemplateIndex?: number): void; - -export declare function ɵɵInheritDefinitionFeature(definition: DirectiveDef | ComponentDef): void; - -export declare function ɵɵinject(token: Type | InjectionToken): T; -export declare function ɵɵinject(token: Type | InjectionToken, flags?: InjectFlags): T | null; - -export interface ɵɵInjectableDef { - factory: () => T; - providedIn: InjectorType | 'root' | 'any' | null; - value: T | undefined; -} - -export declare function ɵɵinjectAttribute(attrNameToInject: string): string | null; - -export interface ɵɵInjectorDef { - factory: () => T; - imports: (InjectorType | InjectorTypeWithProviders)[]; - providers: (Type | ValueProvider | ExistingProvider | FactoryProvider | ConstructorProvider | StaticClassProvider | ClassProvider | any[])[]; -} - -export declare function ɵɵinterpolation1(prefix: string, v0: any, suffix: string): string | NO_CHANGE; - -export declare function ɵɵinterpolation2(prefix: string, v0: any, i0: string, v1: any, suffix: string): string | NO_CHANGE; - -export declare function ɵɵinterpolation3(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string): string | NO_CHANGE; - -export declare function ɵɵinterpolation4(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string): string | NO_CHANGE; - -export declare function ɵɵinterpolation5(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string): string | NO_CHANGE; - -export declare function ɵɵinterpolation6(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string): string | NO_CHANGE; - -export declare function ɵɵinterpolation7(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string): string | NO_CHANGE; - -export declare function ɵɵinterpolation8(prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string): string | NO_CHANGE; - -export declare function ɵɵinterpolationV(values: any[]): string | NO_CHANGE; - -export declare function ɵɵlistener(eventName: string, listenerFn: (e?: any) => any, useCapture?: boolean, eventTargetResolver?: GlobalTargetResolver): void; - -export declare function ɵɵload(index: number): T; - -export declare function ɵɵloadContentQuery(): QueryList; - -export declare function ɵɵloadViewQuery(): T; - -export declare function ɵɵnamespaceHTML(): void; - -export declare function ɵɵnamespaceMathML(): void; - -export declare function ɵɵnamespaceSVG(): void; - -export declare function ɵɵnextContext(level?: number): T; - -export declare type ɵɵNgModuleDefWithMeta = NgModuleDef; - -export declare function ɵɵNgOnChangesFeature(): DirectiveDefFeature; - -export declare function ɵɵpipe(index: number, pipeName: string): any; - -export declare function ɵɵpipeBind1(index: number, slotOffset: number, v1: any): any; - -export declare function ɵɵpipeBind2(index: number, slotOffset: number, v1: any, v2: any): any; - -export declare function ɵɵpipeBind3(index: number, slotOffset: number, v1: any, v2: any, v3: any): any; - -export declare function ɵɵpipeBind4(index: number, slotOffset: number, v1: any, v2: any, v3: any, v4: any): any; - -export declare function ɵɵpipeBindV(index: number, slotOffset: number, values: any[]): any; - -export declare type ɵɵPipeDefWithMeta = PipeDef; - -export declare function ɵɵprojection(nodeIndex: number, selectorIndex?: number, attrs?: TAttributes): void; - -export declare function ɵɵprojectionDef(selectors?: CssSelectorList[]): void; - -export declare function ɵɵproperty(propName: string, value: T, sanitizer?: SanitizerFn | null, nativeOnly?: boolean): TsickleIssue1009; - -export declare function ɵɵpropertyInterpolate(propName: string, v0: any, sanitizer?: SanitizerFn): TsickleIssue1009; - -export declare function ɵɵpropertyInterpolate1(propName: string, prefix: string, v0: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - -export declare function ɵɵpropertyInterpolate2(propName: string, prefix: string, v0: any, i0: string, v1: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - -export declare function ɵɵpropertyInterpolate3(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - -export declare function ɵɵpropertyInterpolate4(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - -export declare function ɵɵpropertyInterpolate5(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - -export declare function ɵɵpropertyInterpolate6(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - -export declare function ɵɵpropertyInterpolate7(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - -export declare function ɵɵpropertyInterpolate8(propName: string, prefix: string, v0: any, i0: string, v1: any, i1: string, v2: any, i2: string, v3: any, i3: string, v4: any, i4: string, v5: any, i5: string, v6: any, i6: string, v7: any, suffix: string, sanitizer?: SanitizerFn): TsickleIssue1009; - -export declare function ɵɵpropertyInterpolateV(propName: string, values: any[], sanitizer?: SanitizerFn): TsickleIssue1009; - -export declare function ɵɵProvidersFeature(providers: Provider[], viewProviders?: Provider[]): (definition: DirectiveDef) => void; - -export declare function ɵɵpureFunction0(slotOffset: number, pureFn: () => T, thisArg?: any): T; - -export declare function ɵɵpureFunction1(slotOffset: number, pureFn: (v: any) => any, exp: any, thisArg?: any): any; - -export declare function ɵɵpureFunction2(slotOffset: number, pureFn: (v1: any, v2: any) => any, exp1: any, exp2: any, thisArg?: any): any; - -export declare function ɵɵpureFunction3(slotOffset: number, pureFn: (v1: any, v2: any, v3: any) => any, exp1: any, exp2: any, exp3: any, thisArg?: any): any; - -export declare function ɵɵpureFunction4(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, thisArg?: any): any; - -export declare function ɵɵpureFunction5(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, thisArg?: any): any; - -export declare function ɵɵpureFunction6(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, thisArg?: any): any; - -export declare function ɵɵpureFunction7(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, exp7: any, thisArg?: any): any; - -export declare function ɵɵpureFunction8(slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any, v8: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, exp5: any, exp6: any, exp7: any, exp8: any, thisArg?: any): any; - -export declare function ɵɵpureFunctionV(slotOffset: number, pureFn: (...v: any[]) => any, exps: any[], thisArg?: any): any; - -export declare function ɵɵqueryRefresh(queryList: QueryList): boolean; - -export declare function ɵɵreference(index: number): T; - -export declare function ɵɵresolveBody(element: RElement & { - ownerDocument: Document; -}): { - name: string; - target: HTMLElement; -}; - -export declare function ɵɵresolveDocument(element: RElement & { - ownerDocument: Document; -}): { - name: string; - target: Document; -}; - -export declare function ɵɵresolveWindow(element: RElement & { - ownerDocument: Document; -}): { - name: string; - target: Window | null; -}; - -export declare function ɵɵrestoreView(viewToRestore: OpaqueViewState): void; - -export declare function ɵɵsanitizeHtml(unsafeHtml: any): string; - -export declare function ɵɵsanitizeResourceUrl(unsafeResourceUrl: any): string; - -export declare function ɵɵsanitizeScript(unsafeScript: any): string; - -export declare function ɵɵsanitizeStyle(unsafeStyle: any): string; - -export declare function ɵɵsanitizeUrl(unsafeUrl: any): string; - -export declare function ɵɵsanitizeUrlOrResourceUrl(unsafeUrl: any, tag: string, prop: string): any; - -export declare function ɵɵselect(index: number): void; - -export declare function ɵɵsetComponentScope(type: ComponentType, directives: Type[], pipes: Type[]): void; - -export declare function ɵɵsetNgModuleScope(type: any, scope: { - declarations?: Type[] | (() => Type[]); - imports?: Type[] | (() => Type[]); - exports?: Type[] | (() => Type[]); -}): void; - -export declare function ɵɵstaticContentQuery(directiveIndex: number, predicate: Type | string[], descend: boolean, read: any): void; - -export declare function ɵɵstaticViewQuery(predicate: Type | string[], descend: boolean, read: any): void; - -export declare function ɵɵstyleMap(styles: { - [styleName: string]: any; -} | NO_CHANGE | null): void; - -export declare function ɵɵstyleProp(styleIndex: number, value: string | number | String | PlayerFactory | null, suffix?: string | null, forceOverride?: boolean): void; - -export declare function ɵɵstyling(classBindingNames?: string[] | null, styleBindingNames?: string[] | null, styleSanitizer?: StyleSanitizeFn | null): void; - -export declare function ɵɵstylingApply(): void; - -export declare function ɵɵtemplate(index: number, templateFn: ComponentTemplate | null, consts: number, vars: number, tagName?: string | null, attrs?: TAttributes | null, localRefs?: string[] | null, localRefExtractor?: LocalRefExtractor): void; - -export declare function ɵɵtemplateRefExtractor(tNode: TNode, currentView: LView): ViewEngine_TemplateRef<{}> | null; - -export declare function ɵɵtext(index: number, value?: any): void; - -export declare function ɵɵtextBinding(index: number, value: T | NO_CHANGE): void; - -export declare function ɵɵviewQuery(predicate: Type | string[], descend: boolean, read: any): QueryList;