fix(core): Share private types through an exported interface. (#11009)

Instead of using declare namespace to share the types. This allows the generated code to be compiled with closure with full optimizations.
This commit is contained in:
vikerman 2016-08-23 16:18:11 -07:00 committed by Kara
parent 05bbb8efcf
commit 5c93a8800a
13 changed files with 235 additions and 254 deletions

View File

@ -6,15 +6,17 @@
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
import {__core_private__ as r, __core_private_types__ as t} from '@angular/core'; import {__core_private__ as r, __core_private_types__ as types} from '@angular/core';
export type ReflectorReader = t.ReflectorReader; export declare let _compiler_cli_core_private_types: types;
export var ReflectorReader: typeof t.ReflectorReader = r.ReflectorReader;
export type ReflectionCapabilities = t.ReflectionCapabilities; export type ReflectorReader = typeof _compiler_cli_core_private_types.ReflectorReader;
export var ReflectionCapabilities: typeof t.ReflectionCapabilities = r.ReflectionCapabilities; export var ReflectorReader: typeof r.ReflectorReader = r.ReflectorReader;
export type Console = t.Console; export type ReflectionCapabilities = typeof _compiler_cli_core_private_types.ReflectionCapabilities;
export var Console: typeof t.Console = r.Console; export var ReflectionCapabilities: typeof r.ReflectionCapabilities = r.ReflectionCapabilities;
export var reflector: typeof t.reflector = r.reflector; export type Console = typeof _compiler_cli_core_private_types.Console;
export var Console: typeof r.Console = r.Console;
export var reflector: typeof r.reflector = r.reflector;

View File

@ -6,91 +6,94 @@
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
import {__core_private__ as r, __core_private_types__ as t} from '@angular/core'; import {__core_private_DebugAppView__, __core_private_TemplateRef__, __core_private__ as r, __core_private_types__ as types} from '@angular/core';
export var isDefaultChangeDetectionStrategy: typeof t.isDefaultChangeDetectionStrategy = export declare let _compiler_core_private_types: types;
export var isDefaultChangeDetectionStrategy: typeof r.isDefaultChangeDetectionStrategy =
r.isDefaultChangeDetectionStrategy; r.isDefaultChangeDetectionStrategy;
export type ChangeDetectorStatus = t.ChangeDetectorStatus; export type ChangeDetectorStatus = typeof _compiler_core_private_types.ChangeDetectorStatus;
export var ChangeDetectorStatus: typeof t.ChangeDetectorStatus = r.ChangeDetectorStatus; export var ChangeDetectorStatus: typeof r.ChangeDetectorStatus = r.ChangeDetectorStatus;
export var CHANGE_DETECTION_STRATEGY_VALUES: typeof t.CHANGE_DETECTION_STRATEGY_VALUES = export var CHANGE_DETECTION_STRATEGY_VALUES: typeof r.CHANGE_DETECTION_STRATEGY_VALUES =
r.CHANGE_DETECTION_STRATEGY_VALUES; r.CHANGE_DETECTION_STRATEGY_VALUES;
export var constructDependencies: typeof t.constructDependencies = r.constructDependencies; export var constructDependencies: typeof r.constructDependencies = r.constructDependencies;
export type LifecycleHooks = t.LifecycleHooks; export type LifecycleHooks = typeof _compiler_core_private_types.LifecycleHooks;
export var LifecycleHooks: typeof t.LifecycleHooks = r.LifecycleHooks; export var LifecycleHooks: typeof r.LifecycleHooks = r.LifecycleHooks;
export var LIFECYCLE_HOOKS_VALUES: typeof t.LIFECYCLE_HOOKS_VALUES = r.LIFECYCLE_HOOKS_VALUES; export var LIFECYCLE_HOOKS_VALUES: typeof r.LIFECYCLE_HOOKS_VALUES = r.LIFECYCLE_HOOKS_VALUES;
export type ReflectorReader = t.ReflectorReader; export type ReflectorReader = typeof _compiler_core_private_types.ReflectorReader;
export var ReflectorReader: typeof t.ReflectorReader = r.ReflectorReader; export var ReflectorReader: typeof r.ReflectorReader = r.ReflectorReader;
export type AppElement = t.AppElement; export type AppElement = typeof _compiler_core_private_types.AppElement;
export var AppElement: typeof t.AppElement = r.AppElement; export var AppElement: typeof r.AppElement = r.AppElement;
export var CodegenComponentFactoryResolver: typeof t.CodegenComponentFactoryResolver = export var CodegenComponentFactoryResolver: typeof r.CodegenComponentFactoryResolver =
r.CodegenComponentFactoryResolver; r.CodegenComponentFactoryResolver;
export var AppView: typeof t.AppView = r.AppView; export var AppView: typeof r.AppView = r.AppView;
export type DebugAppView<T> = t.DebugAppView<T>; export type DebugAppView<T> = __core_private_DebugAppView__<T>;
export var DebugAppView: typeof t.DebugAppView = r.DebugAppView; export var DebugAppView: typeof r.DebugAppView = r.DebugAppView;
export var NgModuleInjector: typeof t.NgModuleInjector = r.NgModuleInjector; export var NgModuleInjector: typeof r.NgModuleInjector = r.NgModuleInjector;
export type ViewType = t.ViewType; export type ViewType = typeof _compiler_core_private_types.ViewType;
export var ViewType: typeof t.ViewType = r.ViewType; export var ViewType: typeof r.ViewType = r.ViewType;
export var MAX_INTERPOLATION_VALUES: typeof t.MAX_INTERPOLATION_VALUES = r.MAX_INTERPOLATION_VALUES; export var MAX_INTERPOLATION_VALUES: typeof r.MAX_INTERPOLATION_VALUES = r.MAX_INTERPOLATION_VALUES;
export var checkBinding: typeof t.checkBinding = r.checkBinding; export var checkBinding: typeof r.checkBinding = r.checkBinding;
export var flattenNestedViewRenderNodes: typeof t.flattenNestedViewRenderNodes = export var flattenNestedViewRenderNodes: typeof r.flattenNestedViewRenderNodes =
r.flattenNestedViewRenderNodes; r.flattenNestedViewRenderNodes;
export var interpolate: typeof t.interpolate = r.interpolate; export var interpolate: typeof r.interpolate = r.interpolate;
export var ViewUtils: typeof t.ViewUtils = r.ViewUtils; export var ViewUtils: typeof r.ViewUtils = r.ViewUtils;
export var VIEW_ENCAPSULATION_VALUES: typeof t.VIEW_ENCAPSULATION_VALUES = export var VIEW_ENCAPSULATION_VALUES: typeof r.VIEW_ENCAPSULATION_VALUES =
r.VIEW_ENCAPSULATION_VALUES; r.VIEW_ENCAPSULATION_VALUES;
export var DebugContext: typeof t.DebugContext = r.DebugContext; export var DebugContext: typeof r.DebugContext = r.DebugContext;
export var StaticNodeDebugInfo: typeof t.StaticNodeDebugInfo = r.StaticNodeDebugInfo; export var StaticNodeDebugInfo: typeof r.StaticNodeDebugInfo = r.StaticNodeDebugInfo;
export var devModeEqual: typeof t.devModeEqual = r.devModeEqual; export var devModeEqual: typeof r.devModeEqual = r.devModeEqual;
export var UNINITIALIZED: typeof t.UNINITIALIZED = r.UNINITIALIZED; export var UNINITIALIZED: typeof r.UNINITIALIZED = r.UNINITIALIZED;
export var ValueUnwrapper: typeof t.ValueUnwrapper = r.ValueUnwrapper; export var ValueUnwrapper: typeof _compiler_core_private_types.ValueUnwrapper = r.ValueUnwrapper;
export var TemplateRef_: typeof t.TemplateRef_ = r.TemplateRef_; export type TemplateRef_<T> = __core_private_TemplateRef__<T>;
export type RenderDebugInfo = t.RenderDebugInfo; export var TemplateRef_: typeof r.TemplateRef_ = r.TemplateRef_;
export var RenderDebugInfo: typeof t.RenderDebugInfo = r.RenderDebugInfo; export type RenderDebugInfo = typeof _compiler_core_private_types.RenderDebugInfo;
export var EMPTY_ARRAY: typeof t.EMPTY_ARRAY = r.EMPTY_ARRAY; export var RenderDebugInfo: typeof r.RenderDebugInfo = r.RenderDebugInfo;
export var EMPTY_MAP: typeof t.EMPTY_MAP = r.EMPTY_MAP; export var EMPTY_ARRAY: typeof r.EMPTY_ARRAY = r.EMPTY_ARRAY;
export var pureProxy1: typeof t.pureProxy1 = r.pureProxy1; export var EMPTY_MAP: typeof r.EMPTY_MAP = r.EMPTY_MAP;
export var pureProxy2: typeof t.pureProxy2 = r.pureProxy2; export var pureProxy1: typeof r.pureProxy1 = r.pureProxy1;
export var pureProxy3: typeof t.pureProxy3 = r.pureProxy3; export var pureProxy2: typeof r.pureProxy2 = r.pureProxy2;
export var pureProxy4: typeof t.pureProxy4 = r.pureProxy4; export var pureProxy3: typeof r.pureProxy3 = r.pureProxy3;
export var pureProxy5: typeof t.pureProxy5 = r.pureProxy5; export var pureProxy4: typeof r.pureProxy4 = r.pureProxy4;
export var pureProxy6: typeof t.pureProxy6 = r.pureProxy6; export var pureProxy5: typeof r.pureProxy5 = r.pureProxy5;
export var pureProxy7: typeof t.pureProxy7 = r.pureProxy7; export var pureProxy6: typeof r.pureProxy6 = r.pureProxy6;
export var pureProxy8: typeof t.pureProxy8 = r.pureProxy8; export var pureProxy7: typeof r.pureProxy7 = r.pureProxy7;
export var pureProxy9: typeof t.pureProxy9 = r.pureProxy9; export var pureProxy8: typeof r.pureProxy8 = r.pureProxy8;
export var pureProxy10: typeof t.pureProxy10 = r.pureProxy10; export var pureProxy9: typeof r.pureProxy9 = r.pureProxy9;
export var castByValue: typeof t.castByValue = r.castByValue; export var pureProxy10: typeof r.pureProxy10 = r.pureProxy10;
export type Console = t.Console; export var castByValue: typeof r.castByValue = r.castByValue;
export var Console: typeof t.Console = r.Console; export type Console = typeof _compiler_core_private_types.Console;
export var reflector: t.Reflector = r.reflector; export var Console: typeof r.Console = r.Console;
export var Reflector: typeof t.Reflector = r.Reflector; export var reflector: typeof _compiler_core_private_types.Reflector = r.reflector;
export type Reflector = t.Reflector; export var Reflector: typeof r.Reflector = r.Reflector;
export var ReflectionCapabilities: typeof t.ReflectionCapabilities = r.ReflectionCapabilities; export type Reflector = typeof _compiler_core_private_types.Reflector;
export type ReflectionCapabilities = t.ReflectionCapabilities; export type ReflectionCapabilities = typeof _compiler_core_private_types.ReflectionCapabilities;
export type NoOpAnimationPlayer = t.NoOpAnimationPlayer; export var ReflectionCapabilities: typeof r.ReflectionCapabilities = r.ReflectionCapabilities;
export var NoOpAnimationPlayer: typeof t.NoOpAnimationPlayer = r.NoOpAnimationPlayer; export type NoOpAnimationPlayer = typeof _compiler_core_private_types.NoOpAnimationPlayer;
export type AnimationPlayer = t.AnimationPlayer; export var NoOpAnimationPlayer: typeof r.NoOpAnimationPlayer = r.NoOpAnimationPlayer;
export var AnimationPlayer: typeof t.AnimationPlayer = r.AnimationPlayer; export type AnimationPlayer = typeof _compiler_core_private_types.AnimationPlayer;
export type AnimationSequencePlayer = t.AnimationSequencePlayer; export var AnimationPlayer: typeof r.AnimationPlayer = r.AnimationPlayer;
export var AnimationSequencePlayer: typeof t.AnimationSequencePlayer = r.AnimationSequencePlayer; export type AnimationSequencePlayer = typeof _compiler_core_private_types.AnimationSequencePlayer;
export type AnimationGroupPlayer = t.AnimationGroupPlayer; export var AnimationSequencePlayer: typeof r.AnimationSequencePlayer = r.AnimationSequencePlayer;
export var AnimationGroupPlayer: typeof t.AnimationGroupPlayer = r.AnimationGroupPlayer; export type AnimationGroupPlayer = typeof _compiler_core_private_types.AnimationGroupPlayer;
export type AnimationKeyframe = t.AnimationKeyframe; export var AnimationGroupPlayer: typeof r.AnimationGroupPlayer = r.AnimationGroupPlayer;
export var AnimationKeyframe: typeof t.AnimationKeyframe = r.AnimationKeyframe; export type AnimationKeyframe = typeof _compiler_core_private_types.AnimationKeyframe;
export type AnimationStyles = t.AnimationStyles; export var AnimationKeyframe: typeof r.AnimationKeyframe = r.AnimationKeyframe;
export var AnimationStyles: typeof t.AnimationStyles = r.AnimationStyles; export type AnimationStyles = typeof _compiler_core_private_types.AnimationStyles;
export type AnimationOutput = t.AnimationOutput; export var AnimationStyles: typeof r.AnimationStyles = r.AnimationStyles;
export var AnimationOutput: typeof t.AnimationOutput = r.AnimationOutput; export type AnimationOutput = typeof _compiler_core_private_types.AnimationOutput;
export var AnimationOutput: typeof r.AnimationOutput = r.AnimationOutput;
export var ANY_STATE = r.ANY_STATE; export var ANY_STATE = r.ANY_STATE;
export var DEFAULT_STATE = r.DEFAULT_STATE; export var DEFAULT_STATE = r.DEFAULT_STATE;
export var EMPTY_STATE = r.EMPTY_STATE; export var EMPTY_STATE = r.EMPTY_STATE;
export var FILL_STYLE_FLAG = r.FILL_STYLE_FLAG; export var FILL_STYLE_FLAG = r.FILL_STYLE_FLAG;
export var prepareFinalAnimationStyles: typeof t.prepareFinalAnimationStyles = export var prepareFinalAnimationStyles: typeof r.prepareFinalAnimationStyles =
r.prepareFinalAnimationStyles; r.prepareFinalAnimationStyles;
export var balanceAnimationKeyframes: typeof t.balanceAnimationKeyframes = export var balanceAnimationKeyframes: typeof r.balanceAnimationKeyframes =
r.balanceAnimationKeyframes; r.balanceAnimationKeyframes;
export var flattenStyles: typeof t.flattenStyles = r.flattenStyles; export var flattenStyles: typeof r.flattenStyles = r.flattenStyles;
export var clearStyles: typeof t.clearStyles = r.clearStyles; export var clearStyles: typeof r.clearStyles = r.clearStyles;
export var collectAndResolveStyles: typeof r.collectAndResolveStyles = r.collectAndResolveStyles; export var collectAndResolveStyles: typeof r.collectAndResolveStyles = r.collectAndResolveStyles;
export var renderStyles: typeof t.renderStyles = r.renderStyles; export var renderStyles: typeof r.renderStyles = r.renderStyles;
export type ViewMetadata = t.ViewMetadata; export type ViewMetadata = typeof _compiler_core_private_types.ViewMetadata;
export var ViewMetadata: typeof t.ViewMetadata = r.ViewMetadata; export var ViewMetadata: typeof r.ViewMetadata = r.ViewMetadata;

View File

@ -6,10 +6,12 @@
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
import {__core_private_testing__ as r, __core_private_testing_types__ as t} from '@angular/core/testing'; import {__core_private_testing__ as r, __core_private_testing_types__ as types} from '@angular/core/testing';
export type TestingCompiler = t.TestingCompiler; export declare let _compiler_core_testing_types: types;
export var TestingCompiler: typeof t.TestingCompiler = r.TestingCompiler;
export type TestingCompilerFactory = t.TestingCompilerFactory; export type TestingCompiler = typeof _compiler_core_testing_types.TestingCompiler;
export var TestingCompilerFactory: typeof t.TestingCompilerFactory = r.TestingCompilerFactory; export var TestingCompiler: typeof r.TestingCompiler = r.TestingCompiler;
export type TestingCompilerFactory = typeof _compiler_core_testing_types.TestingCompilerFactory;
export var TestingCompilerFactory: typeof r.TestingCompilerFactory = r.TestingCompilerFactory;

View File

@ -40,92 +40,76 @@ import * as api from './src/render/api';
import * as security from './src/security'; import * as security from './src/security';
import * as decorators from './src/util/decorators'; import * as decorators from './src/util/decorators';
export declare namespace __core_private_types__ { // These generic types can't be exported within the __core_private_types__
export var isDefaultChangeDetectionStrategy: typeof constants.isDefaultChangeDetectionStrategy; // interface because the generic type info will be lost. So just exporting
export type ChangeDetectorStatus = constants.ChangeDetectorStatus; // them separately.
export var ChangeDetectorStatus: typeof constants.ChangeDetectorStatus; export type __core_private_DebugAppView__<T> = view.DebugAppView<T>;
export var CHANGE_DETECTION_STRATEGY_VALUES: typeof constants.CHANGE_DETECTION_STRATEGY_VALUES; export type __core_private_TemplateRef__<C> = template_ref.TemplateRef_<C>;
export var constructDependencies: typeof reflective_provider.constructDependencies;
export type LifecycleHooks = lifecycle_hooks.LifecycleHooks; export interface __core_private_types__ {
export var LifecycleHooks: typeof lifecycle_hooks.LifecycleHooks; isDefaultChangeDetectionStrategy: typeof constants.isDefaultChangeDetectionStrategy;
export var LIFECYCLE_HOOKS_VALUES: typeof lifecycle_hooks.LIFECYCLE_HOOKS_VALUES; ChangeDetectorStatus: constants.ChangeDetectorStatus;
export type ReflectorReader = reflector_reader.ReflectorReader; CHANGE_DETECTION_STRATEGY_VALUES: typeof constants.CHANGE_DETECTION_STRATEGY_VALUES;
export var ReflectorReader: typeof reflector_reader.ReflectorReader; constructDependencies: typeof reflective_provider.constructDependencies;
export var CodegenComponentFactoryResolver: LifecycleHooks: lifecycle_hooks.LifecycleHooks;
LIFECYCLE_HOOKS_VALUES: typeof lifecycle_hooks.LIFECYCLE_HOOKS_VALUES;
ReflectorReader: reflector_reader.ReflectorReader;
CodegenComponentFactoryResolver:
typeof component_factory_resolver.CodegenComponentFactoryResolver; typeof component_factory_resolver.CodegenComponentFactoryResolver;
export type AppElement = element.AppElement; AppElement: element.AppElement;
export var AppElement: typeof element.AppElement; AppView: typeof view.AppView;
export var AppView: typeof view.AppView; NgModuleInjector: typeof ng_module_factory.NgModuleInjector;
export var NgModuleInjector: typeof ng_module_factory.NgModuleInjector; ViewType: view_type.ViewType;
export type DebugAppView<T> = view.DebugAppView<T>; MAX_INTERPOLATION_VALUES: typeof view_utils.MAX_INTERPOLATION_VALUES;
export var DebugAppView: typeof view.DebugAppView; checkBinding: typeof view_utils.checkBinding;
export type ViewType = view_type.ViewType; flattenNestedViewRenderNodes: typeof view_utils.flattenNestedViewRenderNodes;
export var ViewType: typeof view_type.ViewType; interpolate: typeof view_utils.interpolate;
export var MAX_INTERPOLATION_VALUES: typeof view_utils.MAX_INTERPOLATION_VALUES; ViewUtils: typeof view_utils.ViewUtils;
export var checkBinding: typeof view_utils.checkBinding; VIEW_ENCAPSULATION_VALUES: typeof metadata_view.VIEW_ENCAPSULATION_VALUES;
export var flattenNestedViewRenderNodes: typeof view_utils.flattenNestedViewRenderNodes; ViewMetadata: metadata_view.ViewMetadata;
export var interpolate: typeof view_utils.interpolate; DebugContext: typeof debug_context.DebugContext;
export var ViewUtils: typeof view_utils.ViewUtils; StaticNodeDebugInfo: typeof debug_context.StaticNodeDebugInfo;
export var VIEW_ENCAPSULATION_VALUES: typeof metadata_view.VIEW_ENCAPSULATION_VALUES; devModeEqual: typeof change_detection_util.devModeEqual;
export type ViewMetadata = metadata_view.ViewMetadata; UNINITIALIZED: typeof change_detection_util.UNINITIALIZED;
export var ViewMetadata: typeof metadata_view.ViewMetadata; ValueUnwrapper: typeof change_detection_util.ValueUnwrapper;
export var DebugContext: typeof debug_context.DebugContext; RenderDebugInfo: api.RenderDebugInfo;
export var StaticNodeDebugInfo: typeof debug_context.StaticNodeDebugInfo; wtfInit: typeof wtf_init.wtfInit;
export var devModeEqual: typeof change_detection_util.devModeEqual; ReflectionCapabilities: reflection_capabilities.ReflectionCapabilities;
export var UNINITIALIZED: typeof change_detection_util.UNINITIALIZED; makeDecorator: typeof decorators.makeDecorator;
export var ValueUnwrapper: typeof change_detection_util.ValueUnwrapper; DebugDomRootRenderer: debug.DebugDomRootRenderer;
export type RenderDebugInfo = api.RenderDebugInfo; EMPTY_ARRAY: typeof view_utils.EMPTY_ARRAY;
export var RenderDebugInfo: typeof api.RenderDebugInfo; EMPTY_MAP: typeof view_utils.EMPTY_MAP;
export type TemplateRef_<C> = template_ref.TemplateRef_<C>; pureProxy1: typeof view_utils.pureProxy1;
export var TemplateRef_: typeof template_ref.TemplateRef_; pureProxy2: typeof view_utils.pureProxy2;
export var wtfInit: typeof wtf_init.wtfInit; pureProxy3: typeof view_utils.pureProxy3;
export type ReflectionCapabilities = reflection_capabilities.ReflectionCapabilities; pureProxy4: typeof view_utils.pureProxy4;
export var ReflectionCapabilities: typeof reflection_capabilities.ReflectionCapabilities; pureProxy5: typeof view_utils.pureProxy5;
export var makeDecorator: typeof decorators.makeDecorator; pureProxy6: typeof view_utils.pureProxy6;
export type DebugDomRootRenderer = debug.DebugDomRootRenderer; pureProxy7: typeof view_utils.pureProxy7;
export var DebugDomRootRenderer: typeof debug.DebugDomRootRenderer; pureProxy8: typeof view_utils.pureProxy8;
export var EMPTY_ARRAY: typeof view_utils.EMPTY_ARRAY; pureProxy9: typeof view_utils.pureProxy9;
export var EMPTY_MAP: typeof view_utils.EMPTY_MAP; pureProxy10: typeof view_utils.pureProxy10;
export var pureProxy1: typeof view_utils.pureProxy1; castByValue: typeof view_utils.castByValue;
export var pureProxy2: typeof view_utils.pureProxy2; Console: console.Console;
export var pureProxy3: typeof view_utils.pureProxy3; reflector: typeof reflection.reflector;
export var pureProxy4: typeof view_utils.pureProxy4; Reflector: reflection.Reflector;
export var pureProxy5: typeof view_utils.pureProxy5; NoOpAnimationPlayer: NoOpAnimationPlayer_;
export var pureProxy6: typeof view_utils.pureProxy6; AnimationPlayer: AnimationPlayer_;
export var pureProxy7: typeof view_utils.pureProxy7; AnimationSequencePlayer: AnimationSequencePlayer_;
export var pureProxy8: typeof view_utils.pureProxy8; AnimationGroupPlayer: AnimationGroupPlayer_;
export var pureProxy9: typeof view_utils.pureProxy9; AnimationKeyframe: AnimationKeyframe_;
export var pureProxy10: typeof view_utils.pureProxy10; prepareFinalAnimationStyles: typeof animationUtils.prepareFinalAnimationStyles;
export var castByValue: typeof view_utils.castByValue; balanceAnimationKeyframes: typeof animationUtils.balanceAnimationKeyframes;
export type Console = console.Console; flattenStyles: typeof animationUtils.flattenStyles;
export var Console: typeof console.Console; clearStyles: typeof animationUtils.clearStyles;
export var reflector: typeof reflection.reflector; renderStyles: typeof animationUtils.renderStyles;
export type Reflector = reflection.Reflector; collectAndResolveStyles: typeof animationUtils.collectAndResolveStyles;
export var Reflector: typeof reflection.Reflector; AnimationStyles: AnimationStyles_;
export type NoOpAnimationPlayer = NoOpAnimationPlayer_; AnimationOutput: AnimationOutput_;
export var NoOpAnimationPlayer: typeof NoOpAnimationPlayer_; ANY_STATE: typeof ANY_STATE_;
export type AnimationPlayer = AnimationPlayer_; DEFAULT_STATE: typeof DEFAULT_STATE_;
export var AnimationPlayer: typeof AnimationPlayer_; EMPTY_STATE: typeof EMPTY_STATE_;
export type AnimationSequencePlayer = AnimationSequencePlayer_; FILL_STYLE_FLAG: typeof FILL_STYLE_FLAG_;
export var AnimationSequencePlayer: typeof AnimationSequencePlayer_;
export type AnimationGroupPlayer = AnimationGroupPlayer_;
export var AnimationGroupPlayer: typeof AnimationGroupPlayer_;
export type AnimationKeyframe = AnimationKeyframe_;
export var AnimationKeyframe: typeof AnimationKeyframe_;
export var prepareFinalAnimationStyles: typeof animationUtils.prepareFinalAnimationStyles;
export var balanceAnimationKeyframes: typeof animationUtils.balanceAnimationKeyframes;
export var flattenStyles: typeof animationUtils.flattenStyles;
export var clearStyles: typeof animationUtils.clearStyles;
export var renderStyles: typeof animationUtils.renderStyles;
export var collectAndResolveStyles: typeof animationUtils.collectAndResolveStyles;
export type AnimationStyles = AnimationStyles_;
export var AnimationStyles: typeof AnimationStyles_;
export type AnimationOutput = AnimationOutput_;
export var AnimationOutput: typeof AnimationOutput_;
export var ANY_STATE: typeof ANY_STATE_;
export var DEFAULT_STATE: typeof DEFAULT_STATE_;
export var EMPTY_STATE: typeof EMPTY_STATE_;
export var FILL_STYLE_FLAG: typeof FILL_STYLE_FLAG_;
} }
export var __core_private__ = { export var __core_private__ = {

View File

@ -8,11 +8,9 @@
import * as test_compiler from './testing/test_compiler'; import * as test_compiler from './testing/test_compiler';
export declare namespace __core_private_testing_types__ { export interface __core_private_testing_types__ {
export type TestingCompiler = test_compiler.TestingCompiler; TestingCompiler: test_compiler.TestingCompiler;
export var TestingCompiler: typeof test_compiler.TestingCompiler; TestingCompilerFactory: test_compiler.TestingCompilerFactory;
export type TestingCompilerFactory = test_compiler.TestingCompilerFactory;
export var TestingCompilerFactory: typeof test_compiler.TestingCompilerFactory;
} }
export var __core_private_testing__ = { export var __core_private_testing__ = {

View File

@ -6,8 +6,8 @@
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
import {__core_private__ as r, __core_private_types__ as t} from '@angular/core'; import {__core_private__ as r} from '@angular/core';
export var ReflectionCapabilities: typeof t.ReflectionCapabilities = r.ReflectionCapabilities; export var ReflectionCapabilities: typeof r.ReflectionCapabilities = r.ReflectionCapabilities;
export var reflector: typeof t.reflector = r.reflector; export var reflector: typeof r.reflector = r.reflector;
export var Console: typeof t.Console = r.Console; export var Console: typeof r.Console = r.Console;

View File

@ -6,8 +6,8 @@
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
import {__platform_browser_private__ as r, __platform_browser_private__ as t} from '@angular/platform-browser'; import {__platform_browser_private__ as r} from '@angular/platform-browser';
export var INTERNAL_BROWSER_PLATFORM_PROVIDERS: typeof t.INTERNAL_BROWSER_PLATFORM_PROVIDERS = export var INTERNAL_BROWSER_PLATFORM_PROVIDERS: typeof r.INTERNAL_BROWSER_PLATFORM_PROVIDERS =
r.INTERNAL_BROWSER_PLATFORM_PROVIDERS; r.INTERNAL_BROWSER_PLATFORM_PROVIDERS;
export var getDOM: typeof t.getDOM = r.getDOM; export var getDOM: typeof r.getDOM = r.getDOM;

View File

@ -8,9 +8,8 @@
import * as testing from './testing/dom_test_component_renderer'; import * as testing from './testing/dom_test_component_renderer';
export declare namespace __platform_browser_dynamic_private_types__ { export interface __platform_browser_dynamic_private_types__ {
export type DOMTestComponentRenderer = testing.DOMTestComponentRenderer; DOMTestComponentRenderer: testing.DOMTestComponentRenderer;
export var DOMTestComponentRenderer: typeof testing.DOMTestComponentRenderer;
} }
export var __platform_browser_dynamic_private__ = { export var __platform_browser_dynamic_private__ = {

View File

@ -6,34 +6,36 @@
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
import {__core_private__ as r, __core_private_types__ as t} from '@angular/core'; import {__core_private__ as r, __core_private_types__ as types} from '@angular/core';
export type RenderDebugInfo = t.RenderDebugInfo; export declare let _browser_core_private_types: types;
export var RenderDebugInfo: typeof t.RenderDebugInfo = r.RenderDebugInfo;
export var wtfInit: typeof t.wtfInit = r.wtfInit; export type RenderDebugInfo = typeof _browser_core_private_types.RenderDebugInfo;
export var ReflectionCapabilities: typeof t.ReflectionCapabilities = r.ReflectionCapabilities; export var RenderDebugInfo: typeof r.RenderDebugInfo = r.RenderDebugInfo;
export var VIEW_ENCAPSULATION_VALUES: typeof t.VIEW_ENCAPSULATION_VALUES = export var wtfInit: typeof r.wtfInit = r.wtfInit;
export var ReflectionCapabilities: typeof r.ReflectionCapabilities = r.ReflectionCapabilities;
export var VIEW_ENCAPSULATION_VALUES: typeof r.VIEW_ENCAPSULATION_VALUES =
r.VIEW_ENCAPSULATION_VALUES; r.VIEW_ENCAPSULATION_VALUES;
export type DebugDomRootRenderer = t.DebugDomRootRenderer; export type DebugDomRootRenderer = typeof _browser_core_private_types.DebugDomRootRenderer;
export var DebugDomRootRenderer: typeof t.DebugDomRootRenderer = r.DebugDomRootRenderer; export var DebugDomRootRenderer: typeof r.DebugDomRootRenderer = r.DebugDomRootRenderer;
export var reflector: typeof t.reflector = r.reflector; export var reflector: typeof r.reflector = r.reflector;
export type NoOpAnimationPlayer = t.NoOpAnimationPlayer; export type NoOpAnimationPlayer = typeof _browser_core_private_types.NoOpAnimationPlayer;
export var NoOpAnimationPlayer: typeof t.NoOpAnimationPlayer = r.NoOpAnimationPlayer; export var NoOpAnimationPlayer: typeof r.NoOpAnimationPlayer = r.NoOpAnimationPlayer;
export type AnimationPlayer = t.AnimationPlayer; export type AnimationPlayer = typeof _browser_core_private_types.AnimationPlayer;
export var AnimationPlayer: typeof t.AnimationPlayer = r.AnimationPlayer; export var AnimationPlayer: typeof r.AnimationPlayer = r.AnimationPlayer;
export type AnimationSequencePlayer = t.AnimationSequencePlayer; export type AnimationSequencePlayer = typeof _browser_core_private_types.AnimationSequencePlayer;
export var AnimationSequencePlayer: typeof t.AnimationSequencePlayer = r.AnimationSequencePlayer; export var AnimationSequencePlayer: typeof r.AnimationSequencePlayer = r.AnimationSequencePlayer;
export type AnimationGroupPlayer = t.AnimationGroupPlayer; export type AnimationGroupPlayer = typeof _browser_core_private_types.AnimationGroupPlayer;
export var AnimationGroupPlayer: typeof t.AnimationGroupPlayer = r.AnimationGroupPlayer; export var AnimationGroupPlayer: typeof r.AnimationGroupPlayer = r.AnimationGroupPlayer;
export type AnimationKeyframe = t.AnimationKeyframe; export type AnimationKeyframe = typeof _browser_core_private_types.AnimationKeyframe;
export var AnimationKeyframe: typeof t.AnimationKeyframe = r.AnimationKeyframe; export var AnimationKeyframe: typeof r.AnimationKeyframe = r.AnimationKeyframe;
export type AnimationStyles = t.AnimationStyles; export type AnimationStyles = typeof _browser_core_private_types.AnimationStyles;
export var AnimationStyles: typeof t.AnimationStyles = r.AnimationStyles; export var AnimationStyles: typeof r.AnimationStyles = r.AnimationStyles;
export var prepareFinalAnimationStyles: typeof t.prepareFinalAnimationStyles = export var prepareFinalAnimationStyles: typeof r.prepareFinalAnimationStyles =
r.prepareFinalAnimationStyles; r.prepareFinalAnimationStyles;
export var balanceAnimationKeyframes: typeof t.balanceAnimationKeyframes = export var balanceAnimationKeyframes: typeof r.balanceAnimationKeyframes =
r.balanceAnimationKeyframes; r.balanceAnimationKeyframes;
export var flattenStyles: typeof t.flattenStyles = r.flattenStyles; export var flattenStyles: typeof r.flattenStyles = r.flattenStyles;
export var clearStyles: typeof t.clearStyles = r.clearStyles; export var clearStyles: typeof r.clearStyles = r.clearStyles;
export var collectAndResolveStyles: typeof r.collectAndResolveStyles = r.collectAndResolveStyles; export var collectAndResolveStyles: typeof r.collectAndResolveStyles = r.collectAndResolveStyles;

View File

@ -15,23 +15,13 @@ import * as dom_renderer from './src/dom/dom_renderer';
import * as dom_events from './src/dom/events/dom_events'; import * as dom_events from './src/dom/events/dom_events';
import * as shared_styles_host from './src/dom/shared_styles_host'; import * as shared_styles_host from './src/dom/shared_styles_host';
export declare namespace __platform_browser_private_types__ { export interface __platform_browser_private_types__ {
export type DomAdapter = dom_adapter.DomAdapter; DomAdapter: dom_adapter.DomAdapter;
export var DomAdapter: typeof dom_adapter.DomAdapter; DomRootRenderer: dom_renderer.DomRootRenderer;
export var getDOM: typeof dom_adapter.getDOM; DomRootRenderer_: dom_renderer.DomRootRenderer_;
export var setRootDomAdapter: typeof dom_adapter.setRootDomAdapter; DomSharedStylesHost: shared_styles_host.DomSharedStylesHost;
export type DomRootRenderer = dom_renderer.DomRootRenderer; SharedStylesHost: shared_styles_host.SharedStylesHost;
export var DomRootRenderer: typeof dom_renderer.DomRootRenderer; DomEventsPlugin: dom_events.DomEventsPlugin;
export type DomRootRenderer_ = dom_renderer.DomRootRenderer_;
export var DomRootRenderer_: typeof dom_renderer.DomRootRenderer_;
export type DomSharedStylesHost = shared_styles_host.DomSharedStylesHost;
export var DomSharedStylesHost: typeof shared_styles_host.DomSharedStylesHost;
export type SharedStylesHost = shared_styles_host.SharedStylesHost;
export var SharedStylesHost: typeof shared_styles_host.SharedStylesHost;
export var ELEMENT_PROBE_PROVIDERS: typeof ng_proble.ELEMENT_PROBE_PROVIDERS;
export type DomEventsPlugin = dom_events.DomEventsPlugin;
export var DomEventsPlugin: typeof dom_events.DomEventsPlugin;
export var initDomAdapter: typeof browser.initDomAdapter;
} }
export var __platform_browser_private__ = { export var __platform_browser_private__ = {

View File

@ -6,9 +6,9 @@
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
import {__core_private__ as r, __core_private_types__ as t} from '@angular/core'; import {__core_private__ as r} from '@angular/core';
export var reflector: typeof t.reflector = r.reflector; export var reflector: typeof r.reflector = r.reflector;
export var ReflectionCapabilities: typeof t.ReflectionCapabilities = r.ReflectionCapabilities; export var ReflectionCapabilities: typeof r.ReflectionCapabilities = r.ReflectionCapabilities;
export var wtfInit: typeof t.wtfInit = r.wtfInit; export var wtfInit: typeof r.wtfInit = r.wtfInit;
export var Console: typeof t.Console = r.Console; export var Console: typeof r.Console = r.Console;

View File

@ -6,6 +6,6 @@
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
import {__platform_browser_dynamic_private__ as r, __platform_browser_dynamic_private_types__ as t} from '@angular/platform-browser-dynamic/testing'; import {__platform_browser_dynamic_private__ as r} from '@angular/platform-browser-dynamic/testing';
export var DOMTestComponentRenderer: typeof t.DOMTestComponentRenderer = r.DOMTestComponentRenderer; export var DOMTestComponentRenderer: typeof r.DOMTestComponentRenderer = r.DOMTestComponentRenderer;

View File

@ -6,21 +6,22 @@
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
import {__platform_browser_private__ as r, __platform_browser_private_types__ as t} from '@angular/platform-browser'; import {__platform_browser_private__ as r, __platform_browser_private_types__ as types} from '@angular/platform-browser';
export type DomAdapter = typeof t.DomAdapter; export declare let _server_platform_browser_private_types: types;
export var DomAdapter: typeof t.DomAdapter = r.DomAdapter;
export var setRootDomAdapter: typeof t.setRootDomAdapter = r.setRootDomAdapter; export type DomAdapter = typeof _server_platform_browser_private_types.DomAdapter;
export var getDOM: typeof t.getDOM = r.getDOM; export var DomAdapter: typeof r.DomAdapter = r.DomAdapter;
export type DomRootRenderer = typeof t.DomRootRenderer; export var setRootDomAdapter: typeof r.setRootDomAdapter = r.setRootDomAdapter;
export var DomRootRenderer: typeof t.DomRootRenderer = r.DomRootRenderer; export var getDOM: typeof r.getDOM = r.getDOM;
export type DomRootRenderer_ = typeof t.DomRootRenderer_; export type DomRootRenderer = typeof _server_platform_browser_private_types.DomRootRenderer;
export var DomRootRenderer_: typeof t.DomRootRenderer_ = r.DomRootRenderer_; export var DomRootRenderer: typeof r.DomRootRenderer = r.DomRootRenderer;
export type DomSharedStylesHost = typeof t.DomSharedStylesHost; export type DomRootRenderer_ = typeof _server_platform_browser_private_types.DomRootRenderer_;
export var DomSharedStylesHost: typeof t.DomSharedStylesHost = r.DomSharedStylesHost; export var DomRootRenderer_: typeof r.DomRootRenderer_ = r.DomRootRenderer_;
export type SharedStylesHost = typeof t.SharedStylesHost; export type DomSharedStylesHost = typeof _server_platform_browser_private_types.DomSharedStylesHost;
export var SharedStylesHost: typeof t.SharedStylesHost = r.SharedStylesHost; export var DomSharedStylesHost: typeof r.DomSharedStylesHost = r.DomSharedStylesHost;
export type ELEMENT_PROBE_PROVIDERS = typeof t.ELEMENT_PROBE_PROVIDERS; export type SharedStylesHost = typeof _server_platform_browser_private_types.SharedStylesHost;
export var ELEMENT_PROBE_PROVIDERS: typeof t.ELEMENT_PROBE_PROVIDERS = r.ELEMENT_PROBE_PROVIDERS; export var SharedStylesHost: typeof r.SharedStylesHost = r.SharedStylesHost;
export type DomEventsPlugin = typeof t.DomEventsPlugin; export var ELEMENT_PROBE_PROVIDERS: typeof r.ELEMENT_PROBE_PROVIDERS = r.ELEMENT_PROBE_PROVIDERS;
export var DomEventsPlugin: typeof t.DomEventsPlugin = r.DomEventsPlugin; export type DomEventsPlugin = typeof _server_platform_browser_private_types.DomEventsPlugin;
export var DomEventsPlugin: typeof r.DomEventsPlugin = r.DomEventsPlugin;