@angular/platform-browser-dynamic 7.2.0-beta.0 → 7.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/platform-browser-dynamic-testing.umd.js +1 -1
- package/bundles/platform-browser-dynamic-testing.umd.js.map +1 -1
- package/bundles/platform-browser-dynamic-testing.umd.min.js +1 -1
- package/bundles/platform-browser-dynamic-testing.umd.min.js.map +1 -1
- package/bundles/platform-browser-dynamic.umd.js +2 -2
- package/bundles/platform-browser-dynamic.umd.js.map +1 -1
- package/bundles/platform-browser-dynamic.umd.min.js +2 -2
- package/bundles/platform-browser-dynamic.umd.min.js.map +1 -1
- package/esm2015/index.js +2 -3
- package/esm2015/platform-browser-dynamic.js +1 -2
- package/esm2015/public_api.js +2 -4
- package/esm2015/src/compiler_factory.js +34 -22
- package/esm2015/src/compiler_reflector.js +6 -4
- package/esm2015/src/platform-browser-dynamic.js +8 -7
- package/esm2015/src/platform_core_dynamic.js +5 -5
- package/esm2015/src/platform_providers.js +5 -5
- package/esm2015/src/private_export.js +2 -3
- package/esm2015/src/resource_loader/resource_loader_cache.js +8 -6
- package/esm2015/src/resource_loader/resource_loader_impl.js +13 -3
- package/esm2015/src/version.js +11 -6
- package/esm2015/testing/index.js +2 -3
- package/esm2015/testing/public_api.js +2 -3
- package/esm2015/testing/src/compiler_factory.js +34 -14
- package/esm2015/testing/src/dom_test_component_renderer.js +8 -5
- package/esm2015/testing/src/metadata_overrider.js +3 -3
- package/esm2015/testing/src/platform_core_dynamic_testing.js +5 -5
- package/esm2015/testing/src/private_export_testing.js +2 -3
- package/esm2015/testing/src/testing.js +5 -5
- package/esm2015/testing/testing.js +1 -2
- package/esm5/index.js +1 -2
- package/esm5/platform-browser-dynamic.js +1 -2
- package/esm5/public_api.js +1 -2
- package/esm5/src/compiler_factory.js +1 -2
- package/esm5/src/compiler_reflector.js +1 -2
- package/esm5/src/platform-browser-dynamic.js +1 -2
- package/esm5/src/platform_core_dynamic.js +1 -2
- package/esm5/src/platform_providers.js +1 -2
- package/esm5/src/private_export.js +1 -2
- package/esm5/src/resource_loader/resource_loader_cache.js +1 -2
- package/esm5/src/resource_loader/resource_loader_impl.js +1 -2
- package/esm5/src/version.js +2 -3
- package/esm5/testing/index.js +1 -2
- package/esm5/testing/public_api.js +1 -2
- package/esm5/testing/src/compiler_factory.js +1 -2
- package/esm5/testing/src/dom_test_component_renderer.js +1 -2
- package/esm5/testing/src/metadata_overrider.js +1 -2
- package/esm5/testing/src/platform_core_dynamic_testing.js +1 -2
- package/esm5/testing/src/private_export_testing.js +1 -2
- package/esm5/testing/src/testing.js +1 -2
- package/esm5/testing/testing.js +1 -2
- package/fesm2015/platform-browser-dynamic.js +54 -42
- package/fesm2015/platform-browser-dynamic.js.map +1 -1
- package/fesm2015/testing.js +21 -18
- package/fesm2015/testing.js.map +1 -1
- package/fesm5/platform-browser-dynamic.js +2 -2
- package/fesm5/platform-browser-dynamic.js.map +1 -1
- package/fesm5/testing.js +1 -1
- package/fesm5/testing.js.map +1 -1
- package/package.json +5 -5
- package/platform-browser-dynamic.metadata.json +1 -1
- package/testing.d.ts +5 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v7.2.0
|
|
2
|
+
* @license Angular v7.2.0
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -11,7 +11,7 @@ import { ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS } from '@angular/platform-browser
|
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @fileoverview added by tsickle
|
|
14
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
14
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
15
15
|
*/
|
|
16
16
|
/** @type {?} */
|
|
17
17
|
const MODULE_SUFFIX = '';
|
|
@@ -149,13 +149,14 @@ function createBuiltinExternalReferencesMap() {
|
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
151
|
* @fileoverview added by tsickle
|
|
152
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
152
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
153
153
|
*/
|
|
154
154
|
/** @type {?} */
|
|
155
155
|
const ERROR_COLLECTOR_TOKEN = new InjectionToken('ErrorCollector');
|
|
156
|
-
/**
|
|
156
|
+
/**
|
|
157
157
|
* A default provider for {\@link PACKAGE_ROOT_URL} that maps to '/'.
|
|
158
|
-
|
|
158
|
+
* @type {?}
|
|
159
|
+
*/
|
|
159
160
|
const DEFAULT_PACKAGE_URL_PROVIDER = {
|
|
160
161
|
provide: PACKAGE_ROOT_URL,
|
|
161
162
|
useValue: '/'
|
|
@@ -191,6 +192,7 @@ class CompilerImpl {
|
|
|
191
192
|
this.injector = injector;
|
|
192
193
|
}
|
|
193
194
|
/**
|
|
195
|
+
* @private
|
|
194
196
|
* @return {?}
|
|
195
197
|
*/
|
|
196
198
|
getExtraNgModuleProviders() {
|
|
@@ -202,7 +204,7 @@ class CompilerImpl {
|
|
|
202
204
|
* @return {?}
|
|
203
205
|
*/
|
|
204
206
|
compileModuleSync(moduleType) {
|
|
205
|
-
return /** @type {?} */ (this._delegate.compileModuleSync(moduleType));
|
|
207
|
+
return (/** @type {?} */ (this._delegate.compileModuleSync(moduleType)));
|
|
206
208
|
}
|
|
207
209
|
/**
|
|
208
210
|
* @template T
|
|
@@ -210,7 +212,7 @@ class CompilerImpl {
|
|
|
210
212
|
* @return {?}
|
|
211
213
|
*/
|
|
212
214
|
compileModuleAsync(moduleType) {
|
|
213
|
-
return /** @type {?} */ (this._delegate.compileModuleAsync(moduleType));
|
|
215
|
+
return (/** @type {?} */ (this._delegate.compileModuleAsync(moduleType)));
|
|
214
216
|
}
|
|
215
217
|
/**
|
|
216
218
|
* @template T
|
|
@@ -221,8 +223,8 @@ class CompilerImpl {
|
|
|
221
223
|
/** @type {?} */
|
|
222
224
|
const result = this._delegate.compileModuleAndAllComponentsSync(moduleType);
|
|
223
225
|
return {
|
|
224
|
-
ngModuleFactory: /** @type {?} */ (result.ngModuleFactory),
|
|
225
|
-
componentFactories: /** @type {?} */ (result.componentFactories),
|
|
226
|
+
ngModuleFactory: (/** @type {?} */ (result.ngModuleFactory)),
|
|
227
|
+
componentFactories: (/** @type {?} */ (result.componentFactories)),
|
|
226
228
|
};
|
|
227
229
|
}
|
|
228
230
|
/**
|
|
@@ -233,8 +235,8 @@ class CompilerImpl {
|
|
|
233
235
|
compileModuleAndAllComponentsAsync(moduleType) {
|
|
234
236
|
return this._delegate.compileModuleAndAllComponentsAsync(moduleType)
|
|
235
237
|
.then((result) => ({
|
|
236
|
-
ngModuleFactory: /** @type {?} */ (result.ngModuleFactory),
|
|
237
|
-
componentFactories: /** @type {?} */ (result.componentFactories),
|
|
238
|
+
ngModuleFactory: (/** @type {?} */ (result.ngModuleFactory)),
|
|
239
|
+
componentFactories: (/** @type {?} */ (result.componentFactories)),
|
|
238
240
|
}));
|
|
239
241
|
}
|
|
240
242
|
/**
|
|
@@ -253,7 +255,7 @@ class CompilerImpl {
|
|
|
253
255
|
* @return {?}
|
|
254
256
|
*/
|
|
255
257
|
getComponentFactory(component) {
|
|
256
|
-
return /** @type {?} */ (this._delegate.getComponentFactory(component));
|
|
258
|
+
return (/** @type {?} */ (this._delegate.getComponentFactory(component)));
|
|
257
259
|
}
|
|
258
260
|
/**
|
|
259
261
|
* @return {?}
|
|
@@ -274,11 +276,12 @@ class CompilerImpl {
|
|
|
274
276
|
return meta && meta.id || undefined;
|
|
275
277
|
}
|
|
276
278
|
}
|
|
277
|
-
/**
|
|
279
|
+
/**
|
|
278
280
|
* A set of providers that provide `JitCompiler` and its dependencies to use for
|
|
279
281
|
* template compilation.
|
|
280
|
-
|
|
281
|
-
|
|
282
|
+
* @type {?}
|
|
283
|
+
*/
|
|
284
|
+
const COMPILER_PROVIDERS = (/** @type {?} */ ([
|
|
282
285
|
{ provide: CompileReflector, useValue: new JitReflector() },
|
|
283
286
|
{ provide: ResourceLoader, useValue: _NO_RESOURCE_LOADER },
|
|
284
287
|
{ provide: JitSummaryResolver, deps: [] },
|
|
@@ -296,7 +299,7 @@ const COMPILER_PROVIDERS = /** @type {?} */ ([
|
|
|
296
299
|
useFactory: (parser, translations, format, config, console) => {
|
|
297
300
|
translations = translations || '';
|
|
298
301
|
/** @type {?} */
|
|
299
|
-
const missingTranslation = translations ? /** @type {?} */ (
|
|
302
|
+
const missingTranslation = translations ? (/** @type {?} */ (config.missingTranslation)) : MissingTranslationStrategy.Ignore;
|
|
300
303
|
return new I18NHtmlParser(parser, translations, format, missingTranslation, console);
|
|
301
304
|
},
|
|
302
305
|
deps: [
|
|
@@ -341,11 +344,12 @@ const COMPILER_PROVIDERS = /** @type {?} */ ([
|
|
|
341
344
|
{ provide: DirectiveResolver, deps: [CompileReflector] },
|
|
342
345
|
{ provide: PipeResolver, deps: [CompileReflector] },
|
|
343
346
|
{ provide: NgModuleResolver, deps: [CompileReflector] },
|
|
344
|
-
]);
|
|
347
|
+
]));
|
|
345
348
|
/**
|
|
346
349
|
* \@publicApi
|
|
347
350
|
*/
|
|
348
351
|
class JitCompilerFactory {
|
|
352
|
+
/* @internal */
|
|
349
353
|
/**
|
|
350
354
|
* @param {?} defaultOptions
|
|
351
355
|
*/
|
|
@@ -384,7 +388,7 @@ class JitCompilerFactory {
|
|
|
384
388
|
},
|
|
385
389
|
deps: []
|
|
386
390
|
},
|
|
387
|
-
/** @type {?} */ (
|
|
391
|
+
(/** @type {?} */ (opts.providers))
|
|
388
392
|
]);
|
|
389
393
|
return injector.get(Compiler);
|
|
390
394
|
}
|
|
@@ -397,7 +401,7 @@ function _mergeOptions(optionsArr) {
|
|
|
397
401
|
return {
|
|
398
402
|
useJit: _lastDefined(optionsArr.map(options => options.useJit)),
|
|
399
403
|
defaultEncapsulation: _lastDefined(optionsArr.map(options => options.defaultEncapsulation)),
|
|
400
|
-
providers: _mergeArrays(optionsArr.map(options => /** @type {?} */ (
|
|
404
|
+
providers: _mergeArrays(optionsArr.map(options => (/** @type {?} */ (options.providers)))),
|
|
401
405
|
missingTranslation: _lastDefined(optionsArr.map(options => options.missingTranslation)),
|
|
402
406
|
preserveWhitespaces: _lastDefined(optionsArr.map(options => options.preserveWhitespaces)),
|
|
403
407
|
};
|
|
@@ -428,13 +432,14 @@ function _mergeArrays(parts) {
|
|
|
428
432
|
|
|
429
433
|
/**
|
|
430
434
|
* @fileoverview added by tsickle
|
|
431
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
435
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
432
436
|
*/
|
|
433
|
-
/**
|
|
437
|
+
/**
|
|
434
438
|
* A platform that included corePlatform and the compiler.
|
|
435
439
|
*
|
|
436
440
|
* \@publicApi
|
|
437
|
-
|
|
441
|
+
* @type {?}
|
|
442
|
+
*/
|
|
438
443
|
const platformCoreDynamic = createPlatformFactory(platformCore, 'coreDynamic', [
|
|
439
444
|
{ provide: COMPILER_OPTIONS, useValue: {}, multi: true },
|
|
440
445
|
{ provide: CompilerFactory, useClass: JitCompilerFactory, deps: [COMPILER_OPTIONS] },
|
|
@@ -442,7 +447,7 @@ const platformCoreDynamic = createPlatformFactory(platformCore, 'coreDynamic', [
|
|
|
442
447
|
|
|
443
448
|
/**
|
|
444
449
|
* @fileoverview added by tsickle
|
|
445
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
450
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
446
451
|
*/
|
|
447
452
|
class ResourceLoaderImpl extends ResourceLoader {
|
|
448
453
|
/**
|
|
@@ -464,8 +469,12 @@ class ResourceLoaderImpl extends ResourceLoader {
|
|
|
464
469
|
xhr.open('GET', url, true);
|
|
465
470
|
xhr.responseType = 'text';
|
|
466
471
|
xhr.onload = function () {
|
|
472
|
+
// responseText is the old-school way of retrieving response (supported by IE8 & 9)
|
|
473
|
+
// response/responseType properties were introduced in ResourceLoader Level2 spec (supported
|
|
474
|
+
// by IE10)
|
|
467
475
|
/** @type {?} */
|
|
468
476
|
const response = xhr.response || xhr.responseText;
|
|
477
|
+
// normalize IE9 bug (http://bugs.jquery.com/ticket/1450)
|
|
469
478
|
/** @type {?} */
|
|
470
479
|
let status = xhr.status === 1223 ? 204 : xhr.status;
|
|
471
480
|
// fix status code when it is 0 (0 status is undocumented).
|
|
@@ -492,11 +501,12 @@ ResourceLoaderImpl.decorators = [
|
|
|
492
501
|
|
|
493
502
|
/**
|
|
494
503
|
* @fileoverview added by tsickle
|
|
495
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
504
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
496
505
|
*/
|
|
497
|
-
/**
|
|
506
|
+
/**
|
|
498
507
|
* \@publicApi
|
|
499
|
-
|
|
508
|
+
* @type {?}
|
|
509
|
+
*/
|
|
500
510
|
const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [
|
|
501
511
|
ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,
|
|
502
512
|
{
|
|
@@ -509,7 +519,7 @@ const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [
|
|
|
509
519
|
|
|
510
520
|
/**
|
|
511
521
|
* @fileoverview added by tsickle
|
|
512
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
522
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
513
523
|
*/
|
|
514
524
|
/**
|
|
515
525
|
* An implementation of ResourceLoader that uses a template cache to avoid doing an actual
|
|
@@ -523,7 +533,7 @@ const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [
|
|
|
523
533
|
class CachedResourceLoader extends ResourceLoader {
|
|
524
534
|
constructor() {
|
|
525
535
|
super();
|
|
526
|
-
this._cache = (/** @type {?} */ (ɵglobal)).$templateCache;
|
|
536
|
+
this._cache = ((/** @type {?} */ (ɵglobal))).$templateCache;
|
|
527
537
|
if (this._cache == null) {
|
|
528
538
|
throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');
|
|
529
539
|
}
|
|
@@ -537,47 +547,49 @@ class CachedResourceLoader extends ResourceLoader {
|
|
|
537
547
|
return Promise.resolve(this._cache[url]);
|
|
538
548
|
}
|
|
539
549
|
else {
|
|
540
|
-
return /** @type {?} */ (Promise.reject('CachedResourceLoader: Did not find cached template for ' + url));
|
|
550
|
+
return (/** @type {?} */ (Promise.reject('CachedResourceLoader: Did not find cached template for ' + url)));
|
|
541
551
|
}
|
|
542
552
|
}
|
|
543
553
|
}
|
|
544
554
|
|
|
545
555
|
/**
|
|
546
556
|
* @fileoverview added by tsickle
|
|
547
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
557
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
548
558
|
*/
|
|
549
559
|
|
|
550
560
|
/**
|
|
551
561
|
* @fileoverview added by tsickle
|
|
552
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
562
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
553
563
|
*/
|
|
554
|
-
/**
|
|
564
|
+
/**
|
|
555
565
|
* \@publicApi
|
|
556
|
-
|
|
557
|
-
|
|
566
|
+
* @type {?}
|
|
567
|
+
*/
|
|
568
|
+
const VERSION = new Version('7.2.0');
|
|
558
569
|
|
|
559
570
|
/**
|
|
560
571
|
* @fileoverview added by tsickle
|
|
561
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
572
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
562
573
|
*/
|
|
563
|
-
/**
|
|
574
|
+
/**
|
|
564
575
|
* \@publicApi
|
|
565
|
-
|
|
576
|
+
* @type {?}
|
|
577
|
+
*/
|
|
566
578
|
const RESOURCE_CACHE_PROVIDER = [{ provide: ResourceLoader, useClass: CachedResourceLoader, deps: [] }];
|
|
567
|
-
/**
|
|
579
|
+
/**
|
|
568
580
|
* \@publicApi
|
|
569
|
-
|
|
581
|
+
* @type {?}
|
|
582
|
+
*/
|
|
570
583
|
const platformBrowserDynamic = createPlatformFactory(platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
|
|
571
584
|
|
|
572
585
|
/**
|
|
573
586
|
* @fileoverview added by tsickle
|
|
574
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
587
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
575
588
|
*/
|
|
576
|
-
// This file only reexports content of the `src` folder. Keep it that way.
|
|
577
589
|
|
|
578
590
|
/**
|
|
579
591
|
* @fileoverview added by tsickle
|
|
580
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
592
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
581
593
|
*/
|
|
582
594
|
|
|
583
595
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-browser-dynamic.js","sources":["../src/compiler_reflector.ts","../src/compiler_factory.ts","../src/platform_core_dynamic.ts","../src/resource_loader/resource_loader_impl.ts","../src/platform_providers.ts","../src/resource_loader/resource_loader_cache.ts","../src/version.ts","../src/platform-browser-dynamic.ts","../platform-browser-dynamic.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CompileReflector, ExternalReference, Identifiers, getUrlScheme, syntaxError} from '@angular/compiler';\nimport {ANALYZE_FOR_ENTRY_COMPONENTS, ChangeDetectionStrategy, ChangeDetectorRef, Component, ComponentFactory, ComponentFactoryResolver, ComponentRef, ElementRef, Injector, LOCALE_ID, NgModuleFactory, NgModuleRef, QueryList, Renderer, Renderer2, SecurityContext, TRANSLATIONS_FORMAT, TemplateRef, ViewContainerRef, ViewEncapsulation, ɵCodegenComponentFactoryResolver, ɵEMPTY_ARRAY, ɵEMPTY_MAP, ɵReflectionCapabilities as ReflectionCapabilities, ɵand, ɵccf, ɵcmf, ɵcrt, ɵdid, ɵeld, ɵinlineInterpolate, ɵinterpolate, ɵmod, ɵmpd, ɵncd, ɵnov, ɵpad, ɵpid, ɵpod, ɵppd, ɵprd, ɵqud, ɵregisterModuleFactory, ɵstringify as stringify, ɵted, ɵunv, ɵvid} from '@angular/core';\n\nexport const MODULE_SUFFIX = '';\nconst builtinExternalReferences = createBuiltinExternalReferencesMap();\n\nexport class JitReflector implements CompileReflector {\n private reflectionCapabilities = new ReflectionCapabilities();\n\n componentModuleUrl(type: any, cmpMetadata: Component): string {\n const moduleId = cmpMetadata.moduleId;\n\n if (typeof moduleId === 'string') {\n const scheme = getUrlScheme(moduleId);\n return scheme ? moduleId : `package:${moduleId}${MODULE_SUFFIX}`;\n } else if (moduleId !== null && moduleId !== void 0) {\n throw syntaxError(\n `moduleId should be a string in \"${stringify(type)}\". See https://goo.gl/wIDDiL for more information.\\n` +\n `If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.`);\n }\n\n return `./${stringify(type)}`;\n }\n parameters(typeOrFunc: /*Type*/ any): any[][] {\n return this.reflectionCapabilities.parameters(typeOrFunc);\n }\n tryAnnotations(typeOrFunc: /*Type*/ any): any[] { return this.annotations(typeOrFunc); }\n annotations(typeOrFunc: /*Type*/ any): any[] {\n return this.reflectionCapabilities.annotations(typeOrFunc);\n }\n shallowAnnotations(typeOrFunc: /*Type*/ any): any[] {\n throw new Error('Not supported in JIT mode');\n }\n propMetadata(typeOrFunc: /*Type*/ any): {[key: string]: any[]} {\n return this.reflectionCapabilities.propMetadata(typeOrFunc);\n }\n hasLifecycleHook(type: any, lcProperty: string): boolean {\n return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n }\n guards(type: any): {[key: string]: any} { return this.reflectionCapabilities.guards(type); }\n resolveExternalReference(ref: ExternalReference): any {\n return builtinExternalReferences.get(ref) || ref.runtime;\n }\n}\n\n\nfunction createBuiltinExternalReferencesMap() {\n const map = new Map<ExternalReference, any>();\n map.set(Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS, ANALYZE_FOR_ENTRY_COMPONENTS);\n map.set(Identifiers.ElementRef, ElementRef);\n map.set(Identifiers.NgModuleRef, NgModuleRef);\n map.set(Identifiers.ViewContainerRef, ViewContainerRef);\n map.set(Identifiers.ChangeDetectorRef, ChangeDetectorRef);\n map.set(Identifiers.Renderer2, Renderer2);\n map.set(Identifiers.QueryList, QueryList);\n map.set(Identifiers.TemplateRef, TemplateRef);\n map.set(Identifiers.CodegenComponentFactoryResolver, ɵCodegenComponentFactoryResolver);\n map.set(Identifiers.ComponentFactoryResolver, ComponentFactoryResolver);\n map.set(Identifiers.ComponentFactory, ComponentFactory);\n map.set(Identifiers.ComponentRef, ComponentRef);\n map.set(Identifiers.NgModuleFactory, NgModuleFactory);\n map.set(Identifiers.createModuleFactory, ɵcmf);\n map.set(Identifiers.moduleDef, ɵmod);\n map.set(Identifiers.moduleProviderDef, ɵmpd);\n map.set(Identifiers.RegisterModuleFactoryFn, ɵregisterModuleFactory);\n map.set(Identifiers.Injector, Injector);\n map.set(Identifiers.ViewEncapsulation, ViewEncapsulation);\n map.set(Identifiers.ChangeDetectionStrategy, ChangeDetectionStrategy);\n map.set(Identifiers.SecurityContext, SecurityContext);\n map.set(Identifiers.LOCALE_ID, LOCALE_ID);\n map.set(Identifiers.TRANSLATIONS_FORMAT, TRANSLATIONS_FORMAT);\n map.set(Identifiers.inlineInterpolate, ɵinlineInterpolate);\n map.set(Identifiers.interpolate, ɵinterpolate);\n map.set(Identifiers.EMPTY_ARRAY, ɵEMPTY_ARRAY);\n map.set(Identifiers.EMPTY_MAP, ɵEMPTY_MAP);\n map.set(Identifiers.Renderer, Renderer);\n map.set(Identifiers.viewDef, ɵvid);\n map.set(Identifiers.elementDef, ɵeld);\n map.set(Identifiers.anchorDef, ɵand);\n map.set(Identifiers.textDef, ɵted);\n map.set(Identifiers.directiveDef, ɵdid);\n map.set(Identifiers.providerDef, ɵprd);\n map.set(Identifiers.queryDef, ɵqud);\n map.set(Identifiers.pureArrayDef, ɵpad);\n map.set(Identifiers.pureObjectDef, ɵpod);\n map.set(Identifiers.purePipeDef, ɵppd);\n map.set(Identifiers.pipeDef, ɵpid);\n map.set(Identifiers.nodeValue, ɵnov);\n map.set(Identifiers.ngContentDef, ɵncd);\n map.set(Identifiers.unwrapValue, ɵunv);\n map.set(Identifiers.createRendererType2, ɵcrt);\n map.set(Identifiers.createComponentFactory, ɵccf);\n return map;\n}","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Compiler, CompilerFactory, ComponentFactory, CompilerOptions, ModuleWithComponentFactories, Inject, InjectionToken, Optional, PACKAGE_ROOT_URL, PlatformRef, StaticProvider, TRANSLATIONS, Type, isDevMode, platformCore, ɵConsole as Console, ViewEncapsulation, Injector, NgModuleFactory, TRANSLATIONS_FORMAT, MissingTranslationStrategy,} from '@angular/core';\n\nimport {StaticSymbolCache, JitCompiler, ProviderMeta, ExternalReference, I18NHtmlParser, Identifiers, ViewCompiler, CompileMetadataResolver, UrlResolver, TemplateParser, NgModuleCompiler, JitSummaryResolver, SummaryResolver, StyleCompiler, PipeResolver, ElementSchemaRegistry, DomElementSchemaRegistry, ResourceLoader, NgModuleResolver, HtmlParser, CompileReflector, CompilerConfig, DirectiveNormalizer, DirectiveResolver, Lexer, Parser} from '@angular/compiler';\n\nimport {JitReflector} from './compiler_reflector';\n\nexport const ERROR_COLLECTOR_TOKEN = new InjectionToken('ErrorCollector');\n\n/**\n * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.\n */\nexport const DEFAULT_PACKAGE_URL_PROVIDER = {\n provide: PACKAGE_ROOT_URL,\n useValue: '/'\n};\n\nconst _NO_RESOURCE_LOADER: ResourceLoader = {\n get(url: string): Promise<string>{\n throw new Error(\n `No ResourceLoader implementation has been provided. Can't read the url \"${url}\"`);}\n};\n\nconst baseHtmlParser = new InjectionToken('HtmlParser');\n\nexport class CompilerImpl implements Compiler {\n private _delegate: JitCompiler;\n public readonly injector: Injector;\n constructor(\n injector: Injector, private _metadataResolver: CompileMetadataResolver,\n templateParser: TemplateParser, styleCompiler: StyleCompiler, viewCompiler: ViewCompiler,\n ngModuleCompiler: NgModuleCompiler, summaryResolver: SummaryResolver<Type<any>>,\n compileReflector: CompileReflector, compilerConfig: CompilerConfig, console: Console) {\n this._delegate = new JitCompiler(\n _metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler,\n summaryResolver, compileReflector, compilerConfig, console,\n this.getExtraNgModuleProviders.bind(this));\n this.injector = injector;\n }\n\n private getExtraNgModuleProviders() {\n return [this._metadataResolver.getProviderMetadata(\n new ProviderMeta(Compiler, {useValue: this}))];\n }\n\n compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T> {\n return this._delegate.compileModuleSync(moduleType) as NgModuleFactory<T>;\n }\n compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>> {\n return this._delegate.compileModuleAsync(moduleType) as Promise<NgModuleFactory<T>>;\n }\n compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T> {\n const result = this._delegate.compileModuleAndAllComponentsSync(moduleType);\n return {\n ngModuleFactory: result.ngModuleFactory as NgModuleFactory<T>,\n componentFactories: result.componentFactories as ComponentFactory<any>[],\n };\n }\n compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>):\n Promise<ModuleWithComponentFactories<T>> {\n return this._delegate.compileModuleAndAllComponentsAsync(moduleType)\n .then((result) => ({\n ngModuleFactory: result.ngModuleFactory as NgModuleFactory<T>,\n componentFactories: result.componentFactories as ComponentFactory<any>[],\n }));\n }\n loadAotSummaries(summaries: () => any[]) { this._delegate.loadAotSummaries(summaries); }\n hasAotSummary(ref: Type<any>): boolean { return this._delegate.hasAotSummary(ref); }\n getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {\n return this._delegate.getComponentFactory(component) as ComponentFactory<T>;\n }\n clearCache(): void { this._delegate.clearCache(); }\n clearCacheFor(type: Type<any>) { this._delegate.clearCacheFor(type); }\n getModuleId(moduleType: Type<any>): string|undefined {\n const meta = this._metadataResolver.getNgModuleMetadata(moduleType);\n return meta && meta.id || undefined;\n }\n}\n\n/**\n * A set of providers that provide `JitCompiler` and its dependencies to use for\n * template compilation.\n */\nexport const COMPILER_PROVIDERS = <StaticProvider[]>[\n {provide: CompileReflector, useValue: new JitReflector()},\n {provide: ResourceLoader, useValue: _NO_RESOURCE_LOADER},\n {provide: JitSummaryResolver, deps: []},\n {provide: SummaryResolver, useExisting: JitSummaryResolver},\n {provide: Console, deps: []},\n {provide: Lexer, deps: []},\n {provide: Parser, deps: [Lexer]},\n {\n provide: baseHtmlParser,\n useClass: HtmlParser,\n deps: [],\n },\n {\n provide: I18NHtmlParser,\n useFactory: (parser: HtmlParser, translations: string | null, format: string,\n config: CompilerConfig, console: Console) => {\n translations = translations || '';\n const missingTranslation =\n translations ? config.missingTranslation ! : MissingTranslationStrategy.Ignore;\n return new I18NHtmlParser(parser, translations, format, missingTranslation, console);\n },\n deps: [\n baseHtmlParser,\n [new Optional(), new Inject(TRANSLATIONS)],\n [new Optional(), new Inject(TRANSLATIONS_FORMAT)],\n [CompilerConfig],\n [Console],\n ]\n },\n {\n provide: HtmlParser,\n useExisting: I18NHtmlParser,\n },\n {\n provide: TemplateParser, deps: [CompilerConfig, CompileReflector,\n Parser, ElementSchemaRegistry,\n I18NHtmlParser, Console]\n },\n { provide: DirectiveNormalizer, deps: [ResourceLoader, UrlResolver, HtmlParser, CompilerConfig]},\n { provide: CompileMetadataResolver, deps: [CompilerConfig, HtmlParser, NgModuleResolver,\n DirectiveResolver, PipeResolver,\n SummaryResolver,\n ElementSchemaRegistry,\n DirectiveNormalizer, Console,\n [Optional, StaticSymbolCache],\n CompileReflector,\n [Optional, ERROR_COLLECTOR_TOKEN]]},\n DEFAULT_PACKAGE_URL_PROVIDER,\n { provide: StyleCompiler, deps: [UrlResolver]},\n { provide: ViewCompiler, deps: [CompileReflector]},\n { provide: NgModuleCompiler, deps: [CompileReflector] },\n { provide: CompilerConfig, useValue: new CompilerConfig()},\n { provide: Compiler, useClass: CompilerImpl, deps: [Injector, CompileMetadataResolver,\n TemplateParser, StyleCompiler,\n ViewCompiler, NgModuleCompiler,\n SummaryResolver, CompileReflector, CompilerConfig,\n Console]},\n { provide: DomElementSchemaRegistry, deps: []},\n { provide: ElementSchemaRegistry, useExisting: DomElementSchemaRegistry},\n { provide: UrlResolver, deps: [PACKAGE_ROOT_URL]},\n { provide: DirectiveResolver, deps: [CompileReflector]},\n { provide: PipeResolver, deps: [CompileReflector]},\n { provide: NgModuleResolver, deps: [CompileReflector]},\n];\n\n/**\n * @publicApi\n */\nexport class JitCompilerFactory implements CompilerFactory {\n private _defaultOptions: CompilerOptions[];\n\n /* @internal */\n constructor(defaultOptions: CompilerOptions[]) {\n const compilerOptions: CompilerOptions = {\n useJit: true,\n defaultEncapsulation: ViewEncapsulation.Emulated,\n missingTranslation: MissingTranslationStrategy.Warning,\n };\n\n this._defaultOptions = [compilerOptions, ...defaultOptions];\n }\n createCompiler(options: CompilerOptions[] = []): Compiler {\n const opts = _mergeOptions(this._defaultOptions.concat(options));\n const injector = Injector.create([\n COMPILER_PROVIDERS, {\n provide: CompilerConfig,\n useFactory: () => {\n return new CompilerConfig({\n // let explicit values from the compiler options overwrite options\n // from the app providers\n useJit: opts.useJit,\n jitDevMode: isDevMode(),\n // let explicit values from the compiler options overwrite options\n // from the app providers\n defaultEncapsulation: opts.defaultEncapsulation,\n missingTranslation: opts.missingTranslation,\n preserveWhitespaces: opts.preserveWhitespaces,\n });\n },\n deps: []\n },\n opts.providers !\n ]);\n return injector.get(Compiler);\n }\n}\n\nfunction _mergeOptions(optionsArr: CompilerOptions[]): CompilerOptions {\n return {\n useJit: _lastDefined(optionsArr.map(options => options.useJit)),\n defaultEncapsulation: _lastDefined(optionsArr.map(options => options.defaultEncapsulation)),\n providers: _mergeArrays(optionsArr.map(options => options.providers !)),\n missingTranslation: _lastDefined(optionsArr.map(options => options.missingTranslation)),\n preserveWhitespaces: _lastDefined(optionsArr.map(options => options.preserveWhitespaces)),\n };\n}\n\nfunction _lastDefined<T>(args: T[]): T|undefined {\n for (let i = args.length - 1; i >= 0; i--) {\n if (args[i] !== undefined) {\n return args[i];\n }\n }\n return undefined;\n}\n\nfunction _mergeArrays(parts: any[][]): any[] {\n const result: any[] = [];\n parts.forEach((part) => part && result.push(...part));\n return result;\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {COMPILER_OPTIONS, CompilerFactory, PlatformRef, StaticProvider, createPlatformFactory, platformCore} from '@angular/core';\nimport {JitCompilerFactory} from './compiler_factory';\n\n/**\n * A platform that included corePlatform and the compiler.\n *\n * @publicApi\n */\nexport const platformCoreDynamic = createPlatformFactory(platformCore, 'coreDynamic', [\n {provide: COMPILER_OPTIONS, useValue: {}, multi: true},\n {provide: CompilerFactory, useClass: JitCompilerFactory, deps: [COMPILER_OPTIONS]},\n]);\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {ResourceLoader} from '@angular/compiler';\nimport {Injectable} from '@angular/core';\n\n\n@Injectable()\nexport class ResourceLoaderImpl extends ResourceLoader {\n get(url: string): Promise<string> {\n let resolve: (result: any) => void;\n let reject: (error: any) => void;\n const promise = new Promise<string>((res, rej) => {\n resolve = res;\n reject = rej;\n });\n const xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.responseType = 'text';\n\n xhr.onload = function() {\n // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n // response/responseType properties were introduced in ResourceLoader Level2 spec (supported\n // by IE10)\n const response = xhr.response || xhr.responseText;\n\n // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n let status = xhr.status === 1223 ? 204 : xhr.status;\n\n // fix status code when it is 0 (0 status is undocumented).\n // Occurs when accessing file resources or on Android 4.1 stock browser\n // while retrieving files from application cache.\n if (status === 0) {\n status = response ? 200 : 0;\n }\n\n if (200 <= status && status <= 300) {\n resolve(response);\n } else {\n reject(`Failed to load ${url}`);\n }\n };\n\n xhr.onerror = function() { reject(`Failed to load ${url}`); };\n\n xhr.send();\n return promise;\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ɵPLATFORM_BROWSER_ID as PLATFORM_BROWSER_ID} from '@angular/common';\nimport {ResourceLoader} from '@angular/compiler';\nimport {COMPILER_OPTIONS, PLATFORM_ID, StaticProvider} from '@angular/core';\n\nimport {ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS as INTERNAL_BROWSER_PLATFORM_PROVIDERS} from '@angular/platform-browser';\n\nimport {ResourceLoaderImpl} from './resource_loader/resource_loader_impl';\n\n/**\n * @publicApi\n */\nexport const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: StaticProvider[] = [\n INTERNAL_BROWSER_PLATFORM_PROVIDERS,\n {\n provide: COMPILER_OPTIONS,\n useValue: {providers: [{provide: ResourceLoader, useClass: ResourceLoaderImpl, deps: []}]},\n multi: true\n },\n {provide: PLATFORM_ID, useValue: PLATFORM_BROWSER_ID},\n];\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ResourceLoader} from '@angular/compiler';\nimport {ɵglobal as global} from '@angular/core';\n\n/**\n * An implementation of ResourceLoader that uses a template cache to avoid doing an actual\n * ResourceLoader.\n *\n * The template cache needs to be built and loaded into window.$templateCache\n * via a separate mechanism.\n *\n * @publicApi\n */\nexport class CachedResourceLoader extends ResourceLoader {\n private _cache: {[url: string]: string};\n\n constructor() {\n super();\n this._cache = (<any>global).$templateCache;\n if (this._cache == null) {\n throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');\n }\n }\n\n get(url: string): Promise<string> {\n if (this._cache.hasOwnProperty(url)) {\n return Promise.resolve(this._cache[url]);\n } else {\n return <Promise<any>>Promise.reject(\n 'CachedResourceLoader: Did not find cached template for ' + url);\n }\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n\nimport {Version} from '@angular/core';\n\n/**\n * @publicApi\n */\nexport const VERSION = new Version('7.2.0-beta.0');\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ResourceLoader} from '@angular/compiler';\nimport {CompilerFactory, PlatformRef, Provider, StaticProvider, createPlatformFactory, platformCore} from '@angular/core';\n\nimport {platformCoreDynamic} from './platform_core_dynamic';\nimport {INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from './platform_providers';\nimport {CachedResourceLoader} from './resource_loader/resource_loader_cache';\n\nexport * from './private_export';\nexport {VERSION} from './version';\nexport {JitCompilerFactory} from './compiler_factory';\n\n/**\n * @publicApi\n */\nexport const RESOURCE_CACHE_PROVIDER: Provider[] =\n [{provide: ResourceLoader, useClass: CachedResourceLoader, deps: []}];\n\n/**\n * @publicApi\n */\nexport const platformBrowserDynamic = createPlatformFactory(\n platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {CachedResourceLoader as ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a} from './src/resource_loader/resource_loader_cache';"],"names":["ReflectionCapabilities","stringify","Console","INTERNAL_BROWSER_PLATFORM_PROVIDERS","PLATFORM_BROWSER_ID","global"],"mappings":";;;;;;;;;;;;;;;;AAWA,MAAa,aAAa,GAAG,EAAE,CAAC;;AAChC,MAAM,yBAAyB,GAAG,kCAAkC,EAAE,CAAC;AAEvE,MAAa,YAAY;;sCACU,IAAIA,uBAAsB,EAAE;;;;;;;IAE7D,kBAAkB,CAAC,IAAS,EAAE,WAAsB;;QAClD,MAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;QAEtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;;YAChC,MAAM,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;YACtC,OAAO,MAAM,GAAG,QAAQ,GAAG,WAAW,QAAQ,GAAG,aAAa,EAAE,CAAC;SAClE;aAAM,IAAI,QAAQ,KAAK,IAAI,IAAI,QAAQ,KAAK,KAAK,CAAC,EAAE;YACnD,MAAM,WAAW,CACb,mCAAmCC,UAAS,CAAC,IAAI,CAAC,sDAAsD;gBACxG,mGAAmG,CAAC,CAAC;SAC1G;QAED,OAAO,KAAKA,UAAS,CAAC,IAAI,CAAC,EAAE,CAAC;KAC/B;;;;;IACD,UAAU,CAAC,UAAwB;QACjC,OAAO,IAAI,CAAC,sBAAsB,CAAC,UAAU,CAAC,UAAU,CAAC,CAAC;KAC3D;;;;;IACD,cAAc,CAAC,UAAwB,IAAW,O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CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,EAAE,EAAC,CAAC,CAAC;;;;AAK1E,MAAa,sBAAsB,GAAG,qBAAqB,CACvD,mBAAmB,EAAE,gBAAgB,EAAE,2CAA2C,CAAC;;;;;;;;;;;;;AC7BvF;;GAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"platform-browser-dynamic.js","sources":["../npm_package.es6/packages/packages/platform-browser-dynamic/src/compiler_reflector.ts","../npm_package.es6/packages/packages/platform-browser-dynamic/src/compiler_factory.ts","../npm_package.es6/packages/packages/platform-browser-dynamic/src/platform_core_dynamic.ts","../npm_package.es6/packages/platform-browser-dynamic/packages/platform-browser-dynamic/src/resource_loader/resource_loader_impl.ts","../npm_package.es6/packages/packages/platform-browser-dynamic/src/platform_providers.ts","../npm_package.es6/packages/platform-browser-dynamic/packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts","../npm_package.es6/packages/packages/platform-browser-dynamic/src/version.ts","../npm_package.es6/packages/packages/platform-browser-dynamic/src/platform-browser-dynamic.ts","../npm_package.es6/packages/platform-browser-dynamic/platform-browser-dynamic.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {CompileReflector, ExternalReference, Identifiers, getUrlScheme, syntaxError} from '@angular/compiler';\nimport {ANALYZE_FOR_ENTRY_COMPONENTS, ChangeDetectionStrategy, ChangeDetectorRef, Component, ComponentFactory, ComponentFactoryResolver, ComponentRef, ElementRef, Injector, LOCALE_ID, NgModuleFactory, NgModuleRef, QueryList, Renderer, Renderer2, SecurityContext, TRANSLATIONS_FORMAT, TemplateRef, ViewContainerRef, ViewEncapsulation, ɵCodegenComponentFactoryResolver, ɵEMPTY_ARRAY, ɵEMPTY_MAP, ɵReflectionCapabilities as ReflectionCapabilities, ɵand, ɵccf, ɵcmf, ɵcrt, ɵdid, ɵeld, ɵinlineInterpolate, ɵinterpolate, ɵmod, ɵmpd, ɵncd, ɵnov, ɵpad, ɵpid, ɵpod, ɵppd, ɵprd, ɵqud, ɵregisterModuleFactory, ɵstringify as stringify, ɵted, ɵunv, ɵvid} from '@angular/core';\n\nexport const MODULE_SUFFIX = '';\nconst builtinExternalReferences = createBuiltinExternalReferencesMap();\n\nexport class JitReflector implements CompileReflector {\n private reflectionCapabilities = new ReflectionCapabilities();\n\n componentModuleUrl(type: any, cmpMetadata: Component): string {\n const moduleId = cmpMetadata.moduleId;\n\n if (typeof moduleId === 'string') {\n const scheme = getUrlScheme(moduleId);\n return scheme ? moduleId : `package:${moduleId}${MODULE_SUFFIX}`;\n } else if (moduleId !== null && moduleId !== void 0) {\n throw syntaxError(\n `moduleId should be a string in \"${stringify(type)}\". See https://goo.gl/wIDDiL for more information.\\n` +\n `If you're using Webpack you should inline the template and the styles, see https://goo.gl/X2J8zc.`);\n }\n\n return `./${stringify(type)}`;\n }\n parameters(typeOrFunc: /*Type*/ any): any[][] {\n return this.reflectionCapabilities.parameters(typeOrFunc);\n }\n tryAnnotations(typeOrFunc: /*Type*/ any): any[] { return this.annotations(typeOrFunc); }\n annotations(typeOrFunc: /*Type*/ any): any[] {\n return this.reflectionCapabilities.annotations(typeOrFunc);\n }\n shallowAnnotations(typeOrFunc: /*Type*/ any): any[] {\n throw new Error('Not supported in JIT mode');\n }\n propMetadata(typeOrFunc: /*Type*/ any): {[key: string]: any[]} {\n return this.reflectionCapabilities.propMetadata(typeOrFunc);\n }\n hasLifecycleHook(type: any, lcProperty: string): boolean {\n return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n }\n guards(type: any): {[key: string]: any} { return this.reflectionCapabilities.guards(type); }\n resolveExternalReference(ref: ExternalReference): any {\n return builtinExternalReferences.get(ref) || ref.runtime;\n }\n}\n\n\nfunction createBuiltinExternalReferencesMap() {\n const map = new Map<ExternalReference, any>();\n map.set(Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS, ANALYZE_FOR_ENTRY_COMPONENTS);\n map.set(Identifiers.ElementRef, ElementRef);\n map.set(Identifiers.NgModuleRef, NgModuleRef);\n map.set(Identifiers.ViewContainerRef, ViewContainerRef);\n map.set(Identifiers.ChangeDetectorRef, ChangeDetectorRef);\n map.set(Identifiers.Renderer2, Renderer2);\n map.set(Identifiers.QueryList, QueryList);\n map.set(Identifiers.TemplateRef, TemplateRef);\n map.set(Identifiers.CodegenComponentFactoryResolver, ɵCodegenComponentFactoryResolver);\n map.set(Identifiers.ComponentFactoryResolver, ComponentFactoryResolver);\n map.set(Identifiers.ComponentFactory, ComponentFactory);\n map.set(Identifiers.ComponentRef, ComponentRef);\n map.set(Identifiers.NgModuleFactory, NgModuleFactory);\n map.set(Identifiers.createModuleFactory, ɵcmf);\n map.set(Identifiers.moduleDef, ɵmod);\n map.set(Identifiers.moduleProviderDef, ɵmpd);\n map.set(Identifiers.RegisterModuleFactoryFn, ɵregisterModuleFactory);\n map.set(Identifiers.Injector, Injector);\n map.set(Identifiers.ViewEncapsulation, ViewEncapsulation);\n map.set(Identifiers.ChangeDetectionStrategy, ChangeDetectionStrategy);\n map.set(Identifiers.SecurityContext, SecurityContext);\n map.set(Identifiers.LOCALE_ID, LOCALE_ID);\n map.set(Identifiers.TRANSLATIONS_FORMAT, TRANSLATIONS_FORMAT);\n map.set(Identifiers.inlineInterpolate, ɵinlineInterpolate);\n map.set(Identifiers.interpolate, ɵinterpolate);\n map.set(Identifiers.EMPTY_ARRAY, ɵEMPTY_ARRAY);\n map.set(Identifiers.EMPTY_MAP, ɵEMPTY_MAP);\n map.set(Identifiers.Renderer, Renderer);\n map.set(Identifiers.viewDef, ɵvid);\n map.set(Identifiers.elementDef, ɵeld);\n map.set(Identifiers.anchorDef, ɵand);\n map.set(Identifiers.textDef, ɵted);\n map.set(Identifiers.directiveDef, ɵdid);\n map.set(Identifiers.providerDef, ɵprd);\n map.set(Identifiers.queryDef, ɵqud);\n map.set(Identifiers.pureArrayDef, ɵpad);\n map.set(Identifiers.pureObjectDef, ɵpod);\n map.set(Identifiers.purePipeDef, ɵppd);\n map.set(Identifiers.pipeDef, ɵpid);\n map.set(Identifiers.nodeValue, ɵnov);\n map.set(Identifiers.ngContentDef, ɵncd);\n map.set(Identifiers.unwrapValue, ɵunv);\n map.set(Identifiers.createRendererType2, ɵcrt);\n map.set(Identifiers.createComponentFactory, ɵccf);\n return map;\n}","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {Compiler, CompilerFactory, ComponentFactory, CompilerOptions, ModuleWithComponentFactories, Inject, InjectionToken, Optional, PACKAGE_ROOT_URL, PlatformRef, StaticProvider, TRANSLATIONS, Type, isDevMode, platformCore, ɵConsole as Console, ViewEncapsulation, Injector, NgModuleFactory, TRANSLATIONS_FORMAT, MissingTranslationStrategy,} from '@angular/core';\n\nimport {StaticSymbolCache, JitCompiler, ProviderMeta, ExternalReference, I18NHtmlParser, Identifiers, ViewCompiler, CompileMetadataResolver, UrlResolver, TemplateParser, NgModuleCompiler, JitSummaryResolver, SummaryResolver, StyleCompiler, PipeResolver, ElementSchemaRegistry, DomElementSchemaRegistry, ResourceLoader, NgModuleResolver, HtmlParser, CompileReflector, CompilerConfig, DirectiveNormalizer, DirectiveResolver, Lexer, Parser} from '@angular/compiler';\n\nimport {JitReflector} from './compiler_reflector';\n\nexport const ERROR_COLLECTOR_TOKEN = new InjectionToken('ErrorCollector');\n\n/**\n * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.\n */\nexport const DEFAULT_PACKAGE_URL_PROVIDER = {\n provide: PACKAGE_ROOT_URL,\n useValue: '/'\n};\n\nconst _NO_RESOURCE_LOADER: ResourceLoader = {\n get(url: string): Promise<string>{\n throw new Error(\n `No ResourceLoader implementation has been provided. Can't read the url \"${url}\"`);}\n};\n\nconst baseHtmlParser = new InjectionToken('HtmlParser');\n\nexport class CompilerImpl implements Compiler {\n private _delegate: JitCompiler;\n public readonly injector: Injector;\n constructor(\n injector: Injector, private _metadataResolver: CompileMetadataResolver,\n templateParser: TemplateParser, styleCompiler: StyleCompiler, viewCompiler: ViewCompiler,\n ngModuleCompiler: NgModuleCompiler, summaryResolver: SummaryResolver<Type<any>>,\n compileReflector: CompileReflector, compilerConfig: CompilerConfig, console: Console) {\n this._delegate = new JitCompiler(\n _metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler,\n summaryResolver, compileReflector, compilerConfig, console,\n this.getExtraNgModuleProviders.bind(this));\n this.injector = injector;\n }\n\n private getExtraNgModuleProviders() {\n return [this._metadataResolver.getProviderMetadata(\n new ProviderMeta(Compiler, {useValue: this}))];\n }\n\n compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T> {\n return this._delegate.compileModuleSync(moduleType) as NgModuleFactory<T>;\n }\n compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>> {\n return this._delegate.compileModuleAsync(moduleType) as Promise<NgModuleFactory<T>>;\n }\n compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T> {\n const result = this._delegate.compileModuleAndAllComponentsSync(moduleType);\n return {\n ngModuleFactory: result.ngModuleFactory as NgModuleFactory<T>,\n componentFactories: result.componentFactories as ComponentFactory<any>[],\n };\n }\n compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>):\n Promise<ModuleWithComponentFactories<T>> {\n return this._delegate.compileModuleAndAllComponentsAsync(moduleType)\n .then((result) => ({\n ngModuleFactory: result.ngModuleFactory as NgModuleFactory<T>,\n componentFactories: result.componentFactories as ComponentFactory<any>[],\n }));\n }\n loadAotSummaries(summaries: () => any[]) { this._delegate.loadAotSummaries(summaries); }\n hasAotSummary(ref: Type<any>): boolean { return this._delegate.hasAotSummary(ref); }\n getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {\n return this._delegate.getComponentFactory(component) as ComponentFactory<T>;\n }\n clearCache(): void { this._delegate.clearCache(); }\n clearCacheFor(type: Type<any>) { this._delegate.clearCacheFor(type); }\n getModuleId(moduleType: Type<any>): string|undefined {\n const meta = this._metadataResolver.getNgModuleMetadata(moduleType);\n return meta && meta.id || undefined;\n }\n}\n\n/**\n * A set of providers that provide `JitCompiler` and its dependencies to use for\n * template compilation.\n */\nexport const COMPILER_PROVIDERS = <StaticProvider[]>[\n {provide: CompileReflector, useValue: new JitReflector()},\n {provide: ResourceLoader, useValue: _NO_RESOURCE_LOADER},\n {provide: JitSummaryResolver, deps: []},\n {provide: SummaryResolver, useExisting: JitSummaryResolver},\n {provide: Console, deps: []},\n {provide: Lexer, deps: []},\n {provide: Parser, deps: [Lexer]},\n {\n provide: baseHtmlParser,\n useClass: HtmlParser,\n deps: [],\n },\n {\n provide: I18NHtmlParser,\n useFactory: (parser: HtmlParser, translations: string | null, format: string,\n config: CompilerConfig, console: Console) => {\n translations = translations || '';\n const missingTranslation =\n translations ? config.missingTranslation ! : MissingTranslationStrategy.Ignore;\n return new I18NHtmlParser(parser, translations, format, missingTranslation, console);\n },\n deps: [\n baseHtmlParser,\n [new Optional(), new Inject(TRANSLATIONS)],\n [new Optional(), new Inject(TRANSLATIONS_FORMAT)],\n [CompilerConfig],\n [Console],\n ]\n },\n {\n provide: HtmlParser,\n useExisting: I18NHtmlParser,\n },\n {\n provide: TemplateParser, deps: [CompilerConfig, CompileReflector,\n Parser, ElementSchemaRegistry,\n I18NHtmlParser, Console]\n },\n { provide: DirectiveNormalizer, deps: [ResourceLoader, UrlResolver, HtmlParser, CompilerConfig]},\n { provide: CompileMetadataResolver, deps: [CompilerConfig, HtmlParser, NgModuleResolver,\n DirectiveResolver, PipeResolver,\n SummaryResolver,\n ElementSchemaRegistry,\n DirectiveNormalizer, Console,\n [Optional, StaticSymbolCache],\n CompileReflector,\n [Optional, ERROR_COLLECTOR_TOKEN]]},\n DEFAULT_PACKAGE_URL_PROVIDER,\n { provide: StyleCompiler, deps: [UrlResolver]},\n { provide: ViewCompiler, deps: [CompileReflector]},\n { provide: NgModuleCompiler, deps: [CompileReflector] },\n { provide: CompilerConfig, useValue: new CompilerConfig()},\n { provide: Compiler, useClass: CompilerImpl, deps: [Injector, CompileMetadataResolver,\n TemplateParser, StyleCompiler,\n ViewCompiler, NgModuleCompiler,\n SummaryResolver, CompileReflector, CompilerConfig,\n Console]},\n { provide: DomElementSchemaRegistry, deps: []},\n { provide: ElementSchemaRegistry, useExisting: DomElementSchemaRegistry},\n { provide: UrlResolver, deps: [PACKAGE_ROOT_URL]},\n { provide: DirectiveResolver, deps: [CompileReflector]},\n { provide: PipeResolver, deps: [CompileReflector]},\n { provide: NgModuleResolver, deps: [CompileReflector]},\n];\n\n/**\n * @publicApi\n */\nexport class JitCompilerFactory implements CompilerFactory {\n private _defaultOptions: CompilerOptions[];\n\n /* @internal */\n constructor(defaultOptions: CompilerOptions[]) {\n const compilerOptions: CompilerOptions = {\n useJit: true,\n defaultEncapsulation: ViewEncapsulation.Emulated,\n missingTranslation: MissingTranslationStrategy.Warning,\n };\n\n this._defaultOptions = [compilerOptions, ...defaultOptions];\n }\n createCompiler(options: CompilerOptions[] = []): Compiler {\n const opts = _mergeOptions(this._defaultOptions.concat(options));\n const injector = Injector.create([\n COMPILER_PROVIDERS, {\n provide: CompilerConfig,\n useFactory: () => {\n return new CompilerConfig({\n // let explicit values from the compiler options overwrite options\n // from the app providers\n useJit: opts.useJit,\n jitDevMode: isDevMode(),\n // let explicit values from the compiler options overwrite options\n // from the app providers\n defaultEncapsulation: opts.defaultEncapsulation,\n missingTranslation: opts.missingTranslation,\n preserveWhitespaces: opts.preserveWhitespaces,\n });\n },\n deps: []\n },\n opts.providers !\n ]);\n return injector.get(Compiler);\n }\n}\n\nfunction _mergeOptions(optionsArr: CompilerOptions[]): CompilerOptions {\n return {\n useJit: _lastDefined(optionsArr.map(options => options.useJit)),\n defaultEncapsulation: _lastDefined(optionsArr.map(options => options.defaultEncapsulation)),\n providers: _mergeArrays(optionsArr.map(options => options.providers !)),\n missingTranslation: _lastDefined(optionsArr.map(options => options.missingTranslation)),\n preserveWhitespaces: _lastDefined(optionsArr.map(options => options.preserveWhitespaces)),\n };\n}\n\nfunction _lastDefined<T>(args: T[]): T|undefined {\n for (let i = args.length - 1; i >= 0; i--) {\n if (args[i] !== undefined) {\n return args[i];\n }\n }\n return undefined;\n}\n\nfunction _mergeArrays(parts: any[][]): any[] {\n const result: any[] = [];\n parts.forEach((part) => part && result.push(...part));\n return result;\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {COMPILER_OPTIONS, CompilerFactory, PlatformRef, StaticProvider, createPlatformFactory, platformCore} from '@angular/core';\nimport {JitCompilerFactory} from './compiler_factory';\n\n/**\n * A platform that included corePlatform and the compiler.\n *\n * @publicApi\n */\nexport const platformCoreDynamic = createPlatformFactory(platformCore, 'coreDynamic', [\n {provide: COMPILER_OPTIONS, useValue: {}, multi: true},\n {provide: CompilerFactory, useClass: JitCompilerFactory, deps: [COMPILER_OPTIONS]},\n]);\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {ResourceLoader} from '@angular/compiler';\nimport {Injectable} from '@angular/core';\n\n\n@Injectable()\nexport class ResourceLoaderImpl extends ResourceLoader {\n get(url: string): Promise<string> {\n let resolve: (result: any) => void;\n let reject: (error: any) => void;\n const promise = new Promise<string>((res, rej) => {\n resolve = res;\n reject = rej;\n });\n const xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.responseType = 'text';\n\n xhr.onload = function() {\n // responseText is the old-school way of retrieving response (supported by IE8 & 9)\n // response/responseType properties were introduced in ResourceLoader Level2 spec (supported\n // by IE10)\n const response = xhr.response || xhr.responseText;\n\n // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n let status = xhr.status === 1223 ? 204 : xhr.status;\n\n // fix status code when it is 0 (0 status is undocumented).\n // Occurs when accessing file resources or on Android 4.1 stock browser\n // while retrieving files from application cache.\n if (status === 0) {\n status = response ? 200 : 0;\n }\n\n if (200 <= status && status <= 300) {\n resolve(response);\n } else {\n reject(`Failed to load ${url}`);\n }\n };\n\n xhr.onerror = function() { reject(`Failed to load ${url}`); };\n\n xhr.send();\n return promise;\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ɵPLATFORM_BROWSER_ID as PLATFORM_BROWSER_ID} from '@angular/common';\nimport {ResourceLoader} from '@angular/compiler';\nimport {COMPILER_OPTIONS, PLATFORM_ID, StaticProvider} from '@angular/core';\n\nimport {ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS as INTERNAL_BROWSER_PLATFORM_PROVIDERS} from '@angular/platform-browser';\n\nimport {ResourceLoaderImpl} from './resource_loader/resource_loader_impl';\n\n/**\n * @publicApi\n */\nexport const INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS: StaticProvider[] = [\n INTERNAL_BROWSER_PLATFORM_PROVIDERS,\n {\n provide: COMPILER_OPTIONS,\n useValue: {providers: [{provide: ResourceLoader, useClass: ResourceLoaderImpl, deps: []}]},\n multi: true\n },\n {provide: PLATFORM_ID, useValue: PLATFORM_BROWSER_ID},\n];\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ResourceLoader} from '@angular/compiler';\nimport {ɵglobal as global} from '@angular/core';\n\n/**\n * An implementation of ResourceLoader that uses a template cache to avoid doing an actual\n * ResourceLoader.\n *\n * The template cache needs to be built and loaded into window.$templateCache\n * via a separate mechanism.\n *\n * @publicApi\n */\nexport class CachedResourceLoader extends ResourceLoader {\n private _cache: {[url: string]: string};\n\n constructor() {\n super();\n this._cache = (<any>global).$templateCache;\n if (this._cache == null) {\n throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');\n }\n }\n\n get(url: string): Promise<string> {\n if (this._cache.hasOwnProperty(url)) {\n return Promise.resolve(this._cache[url]);\n } else {\n return <Promise<any>>Promise.reject(\n 'CachedResourceLoader: Did not find cached template for ' + url);\n }\n }\n}\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of the common package.\n */\n\nimport {Version} from '@angular/core';\n\n/**\n * @publicApi\n */\nexport const VERSION = new Version('7.2.0');\n","/**\n * @license\n * Copyright Google Inc. All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport {ResourceLoader} from '@angular/compiler';\nimport {CompilerFactory, PlatformRef, Provider, StaticProvider, createPlatformFactory, platformCore} from '@angular/core';\n\nimport {platformCoreDynamic} from './platform_core_dynamic';\nimport {INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from './platform_providers';\nimport {CachedResourceLoader} from './resource_loader/resource_loader_cache';\n\nexport * from './private_export';\nexport {VERSION} from './version';\nexport {JitCompilerFactory} from './compiler_factory';\n\n/**\n * @publicApi\n */\nexport const RESOURCE_CACHE_PROVIDER: Provider[] =\n [{provide: ResourceLoader, useClass: CachedResourceLoader, deps: []}];\n\n/**\n * @publicApi\n */\nexport const platformBrowserDynamic = createPlatformFactory(\n platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {CachedResourceLoader as ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a} from './src/resource_loader/resource_loader_cache';"],"names":["ReflectionCapabilities","stringify","Console","INTERNAL_BROWSER_PLATFORM_PROVIDERS","PLATFOR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;;;;;;;ACPD,MAAa,oBAAqB,SAAQ,cAAc;IAGtD;QACE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,MAAM,GAAG,oBAAMC,OAAM,IAAE,cAAc,CAAC;QAC3C,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACvB,MAAM,IAAI,KAAK,CAAC,uEAAuE,CAAC,CAAC;SAC1F;KACF;;;;;IAED,GAAG,CAAC,GAAW;QACb,IAAI,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,GAAG,CAAC,EAAE;YACnC,OAAO,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;SAC1C;aAAM;YACL,0BAAqB,OAAO,CAAC,MAAM,CAC/B,yDAAyD,GAAG,GAAG,CAAC,GAAC;SACtE;KACF;CACF;;;;;;;;;;;;;;;ACpBD,MAAa,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB,CAAC;;;;;;;;;;ACGvD,MAAa,uBAAuB,GAChC,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,EAAE,EAAC,CAAC;;;;;AAKzE,MAAa,sBAAsB,GAAG,qBAAqB,CACvD,mBAAmB,EAAE,gBAAgB,EAAE,2CAA2C,CAAC;;;;;;;;;;;;AC7BvF;;GAEG;;;;"}
|
package/fesm2015/testing.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v7.2.0
|
|
2
|
+
* @license Angular v7.2.0
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -14,7 +14,7 @@ import { BrowserTestingModule } from '@angular/platform-browser/testing';
|
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @fileoverview added by tsickle
|
|
17
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
17
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
18
18
|
*/
|
|
19
19
|
/**
|
|
20
20
|
* A DOM based implementation of the TestComponentRenderer.
|
|
@@ -33,7 +33,8 @@ class DOMTestComponentRenderer extends TestComponentRenderer {
|
|
|
33
33
|
*/
|
|
34
34
|
insertRootElement(rootElId) {
|
|
35
35
|
/** @type {?} */
|
|
36
|
-
const rootEl = /** @type {?} */ (ɵgetDOM().firstChild(ɵgetDOM().content(ɵgetDOM().createTemplate(`<div id="${rootElId}"></div>`))));
|
|
36
|
+
const rootEl = (/** @type {?} */ (ɵgetDOM().firstChild(ɵgetDOM().content(ɵgetDOM().createTemplate(`<div id="${rootElId}"></div>`)))));
|
|
37
|
+
// TODO(juliemr): can/should this be optional?
|
|
37
38
|
/** @type {?} */
|
|
38
39
|
const oldRoots = ɵgetDOM().querySelectorAll(this._doc, '[id^=root]');
|
|
39
40
|
for (let i = 0; i < oldRoots.length; i++) {
|
|
@@ -52,12 +53,12 @@ DOMTestComponentRenderer.ctorParameters = () => [
|
|
|
52
53
|
|
|
53
54
|
/**
|
|
54
55
|
* @fileoverview added by tsickle
|
|
55
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
56
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
56
57
|
*/
|
|
57
58
|
|
|
58
59
|
/**
|
|
59
60
|
* @fileoverview added by tsickle
|
|
60
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
61
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
61
62
|
*/
|
|
62
63
|
/** @type {?} */
|
|
63
64
|
const COMPILER_PROVIDERS = [
|
|
@@ -83,7 +84,7 @@ class TestingCompilerFactoryImpl {
|
|
|
83
84
|
*/
|
|
84
85
|
createTestingCompiler(options) {
|
|
85
86
|
/** @type {?} */
|
|
86
|
-
const compiler = /** @type {?} */ (this._compilerFactory.createCompiler(options));
|
|
87
|
+
const compiler = (/** @type {?} */ (this._compilerFactory.createCompiler(options)));
|
|
87
88
|
return new TestingCompilerImpl(compiler, compiler.injector.get(MockDirectiveResolver), compiler.injector.get(MockPipeResolver), compiler.injector.get(MockNgModuleResolver));
|
|
88
89
|
}
|
|
89
90
|
}
|
|
@@ -175,7 +176,7 @@ class TestingCompilerImpl {
|
|
|
175
176
|
this.checkOverrideAllowed(directive);
|
|
176
177
|
/** @type {?} */
|
|
177
178
|
const oldMetadata = this._directiveResolver.resolve(directive, false);
|
|
178
|
-
this._directiveResolver.setDirective(directive, this._overrider.overrideMetadata(Directive, /** @type {?} */ (
|
|
179
|
+
this._directiveResolver.setDirective(directive, this._overrider.overrideMetadata(Directive, (/** @type {?} */ (oldMetadata)), override));
|
|
179
180
|
this.clearCacheFor(directive);
|
|
180
181
|
}
|
|
181
182
|
/**
|
|
@@ -187,7 +188,7 @@ class TestingCompilerImpl {
|
|
|
187
188
|
this.checkOverrideAllowed(component);
|
|
188
189
|
/** @type {?} */
|
|
189
190
|
const oldMetadata = this._directiveResolver.resolve(component, false);
|
|
190
|
-
this._directiveResolver.setDirective(component, this._overrider.overrideMetadata(Component, /** @type {?} */ (
|
|
191
|
+
this._directiveResolver.setDirective(component, this._overrider.overrideMetadata(Component, (/** @type {?} */ (oldMetadata)), override));
|
|
191
192
|
this.clearCacheFor(component);
|
|
192
193
|
}
|
|
193
194
|
/**
|
|
@@ -220,7 +221,7 @@ class TestingCompilerImpl {
|
|
|
220
221
|
* @param {?} error
|
|
221
222
|
* @return {?}
|
|
222
223
|
*/
|
|
223
|
-
getComponentFromError(error) { return (/** @type {?} */ (error))[ERROR_COMPONENT_TYPE] || null; }
|
|
224
|
+
getComponentFromError(error) { return ((/** @type {?} */ (error)))[ERROR_COMPONENT_TYPE] || null; }
|
|
224
225
|
/**
|
|
225
226
|
* @param {?} moduleType
|
|
226
227
|
* @return {?}
|
|
@@ -232,13 +233,14 @@ class TestingCompilerImpl {
|
|
|
232
233
|
|
|
233
234
|
/**
|
|
234
235
|
* @fileoverview added by tsickle
|
|
235
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
236
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
236
237
|
*/
|
|
237
|
-
/**
|
|
238
|
+
/**
|
|
238
239
|
* Platform for dynamic tests
|
|
239
240
|
*
|
|
240
241
|
* \@publicApi
|
|
241
|
-
|
|
242
|
+
* @type {?}
|
|
243
|
+
*/
|
|
242
244
|
const platformCoreDynamicTesting = createPlatformFactory(ɵplatformCoreDynamic, 'coreDynamicTesting', [
|
|
243
245
|
{ provide: COMPILER_OPTIONS, useValue: { providers: COMPILER_PROVIDERS }, multi: true }, {
|
|
244
246
|
provide: ɵTestingCompilerFactory,
|
|
@@ -249,16 +251,17 @@ const platformCoreDynamicTesting = createPlatformFactory(ɵplatformCoreDynamic,
|
|
|
249
251
|
|
|
250
252
|
/**
|
|
251
253
|
* @fileoverview added by tsickle
|
|
252
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
254
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
253
255
|
*/
|
|
254
256
|
|
|
255
257
|
/**
|
|
256
258
|
* @fileoverview added by tsickle
|
|
257
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
259
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
258
260
|
*/
|
|
259
|
-
/**
|
|
261
|
+
/**
|
|
260
262
|
* \@publicApi
|
|
261
|
-
|
|
263
|
+
* @type {?}
|
|
264
|
+
*/
|
|
262
265
|
const platformBrowserDynamicTesting = createPlatformFactory(platformCoreDynamicTesting, 'browserDynamicTesting', ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);
|
|
263
266
|
/**
|
|
264
267
|
* NgModule for testing.
|
|
@@ -278,12 +281,12 @@ BrowserDynamicTestingModule.decorators = [
|
|
|
278
281
|
|
|
279
282
|
/**
|
|
280
283
|
* @fileoverview added by tsickle
|
|
281
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
284
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
282
285
|
*/
|
|
283
286
|
|
|
284
287
|
/**
|
|
285
288
|
* @fileoverview added by tsickle
|
|
286
|
-
* @suppress {checkTypes,extraRequire,uselessCode} checked by tsc
|
|
289
|
+
* @suppress {checkTypes,extraRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
287
290
|
*/
|
|
288
291
|
|
|
289
292
|
/**
|