-
Notifications
You must be signed in to change notification settings - Fork 4
/
browser.ngfactory.ts
198 lines (197 loc) · 10.8 KB
/
browser.ngfactory.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
/**
* This file is generated by the Angular 2 template compiler.
* Do not edit.
*/
/* tslint:disable */
import * as import0 from '@angular/core/src/linker/ng_module_factory';
import * as import1 from '@angular/platform-browser/src/browser';
import * as import2 from '@angular/common/src/common_module';
import * as import3 from '@angular/core/src/application_module';
import * as import4 from '@angular/common/src/localization';
import * as import5 from '@angular/core/src/application_init';
import * as import6 from '@angular/core/src/testability/testability';
import * as import7 from '@angular/core/src/application_ref';
import * as import8 from '@angular/core/src/linker/compiler';
import * as import9 from '@angular/platform-browser/src/dom/events/hammer_gestures';
import * as import10 from '@angular/platform-browser/src/dom/events/event_manager';
import * as import11 from '@angular/platform-browser/src/dom/shared_styles_host';
import * as import12 from '@angular/platform-browser/src/dom/dom_renderer';
import * as import13 from '@angular/platform-browser/src/security/dom_sanitization_service';
import * as import14 from '@angular/core/src/linker/view_utils';
import * as import15 from '@angular/platform-browser/src/browser/title';
import * as import16 from '@angular/core/src/di/injector';
import * as import17 from '@angular/core/src/application_tokens';
import * as import18 from '@angular/platform-browser/src/dom/events/dom_events';
import * as import19 from '@angular/platform-browser/src/dom/events/key_events';
import * as import20 from '@angular/core/src/zone/ng_zone';
import * as import21 from '@angular/platform-browser/src/dom/debug/ng_probe';
import * as import22 from '@angular/core/src/console';
import * as import23 from '@angular/core/src/i18n/tokens';
import * as import24 from '@angular/core/src/error_handler';
import * as import25 from '@angular/platform-browser/src/dom/dom_tokens';
import * as import26 from '@angular/platform-browser/src/dom/animation_driver';
import * as import27 from '@angular/core/src/render/api';
import * as import28 from '@angular/core/src/security';
import * as import29 from '@angular/core/src/change_detection/differs/iterable_differs';
import * as import30 from '@angular/core/src/change_detection/differs/keyvalue_differs';
class BrowserModuleInjector extends import0.NgModuleInjector<import1.BrowserModule> {
_CommonModule_0:import2.CommonModule;
_ApplicationModule_1:import3.ApplicationModule;
_BrowserModule_2:import1.BrowserModule;
__LOCALE_ID_3:any;
__NgLocalization_4:import4.NgLocaleLocalization;
_ErrorHandler_5:any;
_ApplicationInitStatus_6:import5.ApplicationInitStatus;
_Testability_7:import6.Testability;
_ApplicationRef__8:import7.ApplicationRef_;
__ApplicationRef_9:any;
__Compiler_10:import8.Compiler;
__APP_ID_11:any;
__DOCUMENT_12:any;
__HAMMER_GESTURE_CONFIG_13:import9.HammerGestureConfig;
__EVENT_MANAGER_PLUGINS_14:any[];
__EventManager_15:import10.EventManager;
__DomSharedStylesHost_16:import11.DomSharedStylesHost;
__AnimationDriver_17:any;
__DomRootRenderer_18:import12.DomRootRenderer_;
__RootRenderer_19:any;
__DomSanitizer_20:import13.DomSanitizerImpl;
__Sanitizer_21:any;
__ViewUtils_22:import14.ViewUtils;
__IterableDiffers_23:any;
__KeyValueDiffers_24:any;
__SharedStylesHost_25:any;
__Title_26:import15.Title;
constructor(parent:import16.Injector) {
super(parent,([] as any[]),([] as any[]));
}
get _LOCALE_ID_3():any {
if ((this.__LOCALE_ID_3 == (null as any))) { (this.__LOCALE_ID_3 = 'en-US'); }
return this.__LOCALE_ID_3;
}
get _NgLocalization_4():import4.NgLocaleLocalization {
if ((this.__NgLocalization_4 == (null as any))) { (this.__NgLocalization_4 = new import4.NgLocaleLocalization(this._LOCALE_ID_3)); }
return this.__NgLocalization_4;
}
get _ApplicationRef_9():any {
if ((this.__ApplicationRef_9 == (null as any))) { (this.__ApplicationRef_9 = this._ApplicationRef__8); }
return this.__ApplicationRef_9;
}
get _Compiler_10():import8.Compiler {
if ((this.__Compiler_10 == (null as any))) { (this.__Compiler_10 = new import8.Compiler()); }
return this.__Compiler_10;
}
get _APP_ID_11():any {
if ((this.__APP_ID_11 == (null as any))) { (this.__APP_ID_11 = import17._appIdRandomProviderFactory()); }
return this.__APP_ID_11;
}
get _DOCUMENT_12():any {
if ((this.__DOCUMENT_12 == (null as any))) { (this.__DOCUMENT_12 = import1._document()); }
return this.__DOCUMENT_12;
}
get _HAMMER_GESTURE_CONFIG_13():import9.HammerGestureConfig {
if ((this.__HAMMER_GESTURE_CONFIG_13 == (null as any))) { (this.__HAMMER_GESTURE_CONFIG_13 = new import9.HammerGestureConfig()); }
return this.__HAMMER_GESTURE_CONFIG_13;
}
get _EVENT_MANAGER_PLUGINS_14():any[] {
if ((this.__EVENT_MANAGER_PLUGINS_14 == (null as any))) { (this.__EVENT_MANAGER_PLUGINS_14 = [
new import18.DomEventsPlugin(),
new import19.KeyEventsPlugin(),
new import9.HammerGesturesPlugin(this._HAMMER_GESTURE_CONFIG_13)
]
); }
return this.__EVENT_MANAGER_PLUGINS_14;
}
get _EventManager_15():import10.EventManager {
if ((this.__EventManager_15 == (null as any))) { (this.__EventManager_15 = new import10.EventManager(this._EVENT_MANAGER_PLUGINS_14,this.parent.get(import20.NgZone))); }
return this.__EventManager_15;
}
get _DomSharedStylesHost_16():import11.DomSharedStylesHost {
if ((this.__DomSharedStylesHost_16 == (null as any))) { (this.__DomSharedStylesHost_16 = new import11.DomSharedStylesHost(this._DOCUMENT_12)); }
return this.__DomSharedStylesHost_16;
}
get _AnimationDriver_17():any {
if ((this.__AnimationDriver_17 == (null as any))) { (this.__AnimationDriver_17 = import1._resolveDefaultAnimationDriver()); }
return this.__AnimationDriver_17;
}
get _DomRootRenderer_18():import12.DomRootRenderer_ {
if ((this.__DomRootRenderer_18 == (null as any))) { (this.__DomRootRenderer_18 = new import12.DomRootRenderer_(this._DOCUMENT_12,this._EventManager_15,this._DomSharedStylesHost_16,this._AnimationDriver_17)); }
return this.__DomRootRenderer_18;
}
get _RootRenderer_19():any {
if ((this.__RootRenderer_19 == (null as any))) { (this.__RootRenderer_19 = import21._createConditionalRootRenderer(this._DomRootRenderer_18,this.parent.get(import21.NgProbeToken,(null as any)))); }
return this.__RootRenderer_19;
}
get _DomSanitizer_20():import13.DomSanitizerImpl {
if ((this.__DomSanitizer_20 == (null as any))) { (this.__DomSanitizer_20 = new import13.DomSanitizerImpl()); }
return this.__DomSanitizer_20;
}
get _Sanitizer_21():any {
if ((this.__Sanitizer_21 == (null as any))) { (this.__Sanitizer_21 = this._DomSanitizer_20); }
return this.__Sanitizer_21;
}
get _ViewUtils_22():import14.ViewUtils {
if ((this.__ViewUtils_22 == (null as any))) { (this.__ViewUtils_22 = new import14.ViewUtils(this._RootRenderer_19,this._APP_ID_11,this._Sanitizer_21)); }
return this.__ViewUtils_22;
}
get _IterableDiffers_23():any {
if ((this.__IterableDiffers_23 == (null as any))) { (this.__IterableDiffers_23 = import3._iterableDiffersFactory()); }
return this.__IterableDiffers_23;
}
get _KeyValueDiffers_24():any {
if ((this.__KeyValueDiffers_24 == (null as any))) { (this.__KeyValueDiffers_24 = import3._keyValueDiffersFactory()); }
return this.__KeyValueDiffers_24;
}
get _SharedStylesHost_25():any {
if ((this.__SharedStylesHost_25 == (null as any))) { (this.__SharedStylesHost_25 = this._DomSharedStylesHost_16); }
return this.__SharedStylesHost_25;
}
get _Title_26():import15.Title {
if ((this.__Title_26 == (null as any))) { (this.__Title_26 = new import15.Title()); }
return this.__Title_26;
}
createInternal():import1.BrowserModule {
this._CommonModule_0 = new import2.CommonModule();
this._ApplicationModule_1 = new import3.ApplicationModule();
this._BrowserModule_2 = new import1.BrowserModule(this.parent.get(import1.BrowserModule,(null as any)));
this._ErrorHandler_5 = import1.errorHandler();
this._ApplicationInitStatus_6 = new import5.ApplicationInitStatus(this.parent.get(import5.APP_INITIALIZER,(null as any)));
this._Testability_7 = new import6.Testability(this.parent.get(import20.NgZone));
this._ApplicationRef__8 = new import7.ApplicationRef_(this.parent.get(import20.NgZone),this.parent.get(import22.Console),this,this._ErrorHandler_5,this,this._ApplicationInitStatus_6,this.parent.get(import6.TestabilityRegistry,(null as any)),this._Testability_7);
return this._BrowserModule_2;
}
getInternal(token:any,notFoundResult:any):any {
if ((token === import2.CommonModule)) { return this._CommonModule_0; }
if ((token === import3.ApplicationModule)) { return this._ApplicationModule_1; }
if ((token === import1.BrowserModule)) { return this._BrowserModule_2; }
if ((token === import23.LOCALE_ID)) { return this._LOCALE_ID_3; }
if ((token === import4.NgLocalization)) { return this._NgLocalization_4; }
if ((token === import24.ErrorHandler)) { return this._ErrorHandler_5; }
if ((token === import5.ApplicationInitStatus)) { return this._ApplicationInitStatus_6; }
if ((token === import6.Testability)) { return this._Testability_7; }
if ((token === import7.ApplicationRef_)) { return this._ApplicationRef__8; }
if ((token === import7.ApplicationRef)) { return this._ApplicationRef_9; }
if ((token === import8.Compiler)) { return this._Compiler_10; }
if ((token === import17.APP_ID)) { return this._APP_ID_11; }
if ((token === import25.DOCUMENT)) { return this._DOCUMENT_12; }
if ((token === import9.HAMMER_GESTURE_CONFIG)) { return this._HAMMER_GESTURE_CONFIG_13; }
if ((token === import10.EVENT_MANAGER_PLUGINS)) { return this._EVENT_MANAGER_PLUGINS_14; }
if ((token === import10.EventManager)) { return this._EventManager_15; }
if ((token === import11.DomSharedStylesHost)) { return this._DomSharedStylesHost_16; }
if ((token === import26.AnimationDriver)) { return this._AnimationDriver_17; }
if ((token === import12.DomRootRenderer)) { return this._DomRootRenderer_18; }
if ((token === import27.RootRenderer)) { return this._RootRenderer_19; }
if ((token === import13.DomSanitizer)) { return this._DomSanitizer_20; }
if ((token === import28.Sanitizer)) { return this._Sanitizer_21; }
if ((token === import14.ViewUtils)) { return this._ViewUtils_22; }
if ((token === import29.IterableDiffers)) { return this._IterableDiffers_23; }
if ((token === import30.KeyValueDiffers)) { return this._KeyValueDiffers_24; }
if ((token === import11.SharedStylesHost)) { return this._SharedStylesHost_25; }
if ((token === import15.Title)) { return this._Title_26; }
return notFoundResult;
}
destroyInternal():void {
this._ApplicationRef__8.ngOnDestroy();
}
}
export const BrowserModuleNgFactory:import0.NgModuleFactory<import1.BrowserModule> = new import0.NgModuleFactory(BrowserModuleInjector,import1.BrowserModule);