@angular/platform-browser-dynamic 6.0.0-rc.6 → 6.0.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/src/version.js +1 -1
- package/esm5/src/version.js +1 -1
- package/fesm2015/platform-browser-dynamic.js +2 -2
- package/fesm2015/platform-browser-dynamic.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- 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/package.json +5 -5
- package/platform-browser-dynamic.metadata.json +1 -1
- package/testing.d.ts +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["packages/platform-browser-dynamic/platform-browser-dynamic.umd.js"],"names":["global","factory","exports","module","require","define","amd","ng","platformBrowserDynamic","compiler","core","common","platformBrowser","this","extendStatics","Object","setPrototypeOf","__proto__","Array","d","b","p","hasOwnProperty","__extends","__","constructor","prototype","create","__read","o","n","m","Symbol","iterator","r","e","i","call","ar","next","done","push","value","error","__spread","arguments","length","concat","builtinExternalReferences","createBuiltinExternalReferencesMap","map","Map","set","Identifiers","ANALYZE_FOR_ENTRY_COMPONENTS","ElementRef","NgModuleRef","ViewContainerRef","ChangeDetectorRef","QueryList","TemplateRef","CodegenComponentFactoryResolver","ɵCodegenComponentFactoryResolver","ComponentFactoryResolver","ComponentFactory","ComponentRef","NgModuleFactory","createModuleFactory","ɵcmf","moduleDef","ɵmod","moduleProviderDef","ɵmpd","RegisterModuleFactoryFn","ɵregisterModuleFactory","Injector","ViewEncapsulation","ChangeDetectionStrategy","SecurityContext","LOCALE_ID","TRANSLATIONS_FORMAT","inlineInterpolate","ɵinlineInterpolate","interpolate","ɵinterpolate","EMPTY_ARRAY","ɵEMPTY_ARRAY","EMPTY_MAP","ɵEMPTY_MAP","Renderer","viewDef","ɵvid","elementDef","ɵeld","anchorDef","ɵand","textDef","ɵted","directiveDef","ɵdid","providerDef","ɵprd","queryDef","ɵqud","pureArrayDef","ɵpad","pureObjectDef","ɵpod","purePipeDef","ɵppd","pipeDef","ɵpid","nodeValue","ɵnov","ngContentDef","ɵncd","unwrapValue","ɵunv","createRendererType2","ɵcrt","createComponentFactory","ɵccf","JitReflector","reflectionCapabilities","ɵReflectionCapabilities","componentModuleUrl","type","cmpMetadata","moduleId","getUrlScheme","syntaxError","ɵstringify","parameters","typeOrFunc","tryAnnotations","annotations","shallowAnnotations","Error","propMetadata","hasLifecycleHook","lcProperty","guards","resolveExternalReference","ref","get","runtime","ERROR_COLLECTOR_TOKEN","InjectionToken","DEFAULT_PACKAGE_URL_PROVIDER","provide","PACKAGE_ROOT_URL","useValue","_NO_RESOURCE_LOADER","url","baseHtmlParser","CompilerImpl","injector","_metadataResolver","templateParser","styleCompiler","viewCompiler","ngModuleCompiler","summaryResolver","compileReflector","compilerConfig","console","_delegate","JitCompiler","getExtraNgModuleProviders","bind","getProviderMetadata","ProviderMeta","Compiler","compileModuleSync","moduleType","compileModuleAsync","compileModuleAndAllComponentsSync","result","ngModuleFactory","componentFactories","compileModuleAndAllComponentsAsync","then","loadAotSummaries","summaries","hasAotSummary","getComponentFactory","component","clearCache","clearCacheFor","COMPILER_PROVIDERS","CompileReflector","ResourceLoader","JitSummaryResolver","deps","SummaryResolver","useExisting","ɵConsole","Lexer","Parser","useClass","HtmlParser","I18NHtmlParser","useFactory","parser","translations","format","config","missingTranslation","MissingTranslationStrategy","Ignore","Optional","Inject","TRANSLATIONS","CompilerConfig","TemplateParser","ElementSchemaRegistry","DirectiveNormalizer","UrlResolver","CompileMetadataResolver","NgModuleResolver","DirectiveResolver","PipeResolver","StaticSymbolCache","StyleCompiler","ViewCompiler","NgModuleCompiler","DomElementSchemaRegistry","JitCompilerFactory","defaultOptions","_defaultOptions","useJit","defaultEncapsulation","Emulated","Warning","createCompiler","options","opts","_mergeOptions","optionsArr","_lastDefined","providers","_mergeArrays","parts","forEach","part","apply","preserveWhitespaces","jitDevMode","isDevMode","args","undefined","platformCoreDynamic","createPlatformFactory","platformCore","COMPILER_OPTIONS","multi","CompilerFactory","ResourceLoaderImpl","_super","resolve","reject","promise","Promise","res","rej","xhr","XMLHttpRequest","open","responseType","onload","response","responseText","status","onerror","send","decorators","Injectable","ctorParameters","INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS","ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS","PLATFORM_ID","ɵPLATFORM_BROWSER_ID","CachedResourceLoader","_this","_cache","ɵglobal","$templateCache","VERSION","Version","RESOURCE_CACHE_PROVIDER","ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a","ɵCompilerImpl","ɵplatformCoreDynamic","ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS","ɵResourceLoaderImpl","defineProperty"],"mappings":";;;;;CAMC,SAAUA,EAAQC,GACC,iBAAZC,SAA0C,oBAAXC,OAAyBF,EAAQC,QAASE,QAAQ,qBAAsBA,QAAQ,iBAAkBA,QAAQ,mBAAoBA,QAAQ,8BAC1J,mBAAXC,QAAyBA,OAAOC,IAAMD,OAAO,qCAAsC,UAAW,oBAAqB,gBAAiB,kBAAmB,6BAA8BJ,GAC3LA,GAASD,EAAOO,GAAKP,EAAOO,OAAUP,EAAOO,GAAGC,2BAA6BR,EAAOO,GAAGE,SAAST,EAAOO,GAAGG,KAAKV,EAAOO,GAAGI,OAAOX,EAAOO,GAAGK,iBAH5I,CAIEC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,iBAAkB2B;;;;;;;;;;;;;;;AAwB/FpR,EAAQgS,sEAAwER,EAChFxR,EAAQ+R,wBAA0BA,EAClC/R,EAAQM,uBAAyBA,EACjCN,EAAQ6R,QAAUA,EAClB7R,EAAQiO,mBAAqBA,EAC7BjO,EAAQiS,cAAgBxI,EACxBzJ,EAAQkS,qBAAuBzC,EAC/BzP,EAAQmS,6CAA+Cf,EACvDpR,EAAQoS,oBAAsBrC,EAE9BlP,OAAOwR,eAAerS,EAAS,cAAgBwC,OAAO","sourcesContent":["/**\n * @license Angular v6.0.0-rc.6\n * (c) 2010-2018 Google, Inc. https://angular.io/\n * License: MIT\n */\n\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/compiler'), require('@angular/core'), require('@angular/common'), require('@angular/platform-browser')) :\n\ttypeof define === 'function' && define.amd ? define('@angular/platform-browser-dynamic', ['exports', '@angular/compiler', '@angular/core', '@angular/common', '@angular/platform-browser'], factory) :\n\t(factory((global.ng = global.ng || {}, global.ng.platformBrowserDynamic = {}),global.ng.compiler,global.ng.core,global.ng.common,global.ng.platformBrowser));\n}(this, (function (exports,compiler,core,common,platformBrowser) { 'use strict';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nfunction __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nfunction __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\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 */\nvar MODULE_SUFFIX = '';\nvar builtinExternalReferences = createBuiltinExternalReferencesMap();\nvar JitReflector = /** @class */ (function () {\n function JitReflector() {\n this.builtinExternalReferences = new Map();\n this.reflectionCapabilities = new core.ɵReflectionCapabilities();\n }\n JitReflector.prototype.componentModuleUrl = function (type, cmpMetadata) {\n var moduleId = cmpMetadata.moduleId;\n if (typeof moduleId === 'string') {\n var scheme = compiler.getUrlScheme(moduleId);\n return scheme ? moduleId : \"package:\" + moduleId + MODULE_SUFFIX;\n }\n else if (moduleId !== null && moduleId !== void 0) {\n throw compiler.syntaxError(\"moduleId should be a string in \\\"\" + core.ɵ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 return \"./\" + core.ɵstringify(type);\n };\n JitReflector.prototype.parameters = function (typeOrFunc) {\n return this.reflectionCapabilities.parameters(typeOrFunc);\n };\n JitReflector.prototype.tryAnnotations = function (typeOrFunc) { return this.annotations(typeOrFunc); };\n JitReflector.prototype.annotations = function (typeOrFunc) {\n return this.reflectionCapabilities.annotations(typeOrFunc);\n };\n JitReflector.prototype.shallowAnnotations = function (typeOrFunc) {\n throw new Error('Not supported in JIT mode');\n };\n JitReflector.prototype.propMetadata = function (typeOrFunc) {\n return this.reflectionCapabilities.propMetadata(typeOrFunc);\n };\n JitReflector.prototype.hasLifecycleHook = function (type, lcProperty) {\n return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n };\n JitReflector.prototype.guards = function (type) { return this.reflectionCapabilities.guards(type); };\n JitReflector.prototype.resolveExternalReference = function (ref) {\n return builtinExternalReferences.get(ref) || ref.runtime;\n };\n return JitReflector;\n}());\nfunction createBuiltinExternalReferencesMap() {\n var map = new Map();\n map.set(compiler.Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS, core.ANALYZE_FOR_ENTRY_COMPONENTS);\n map.set(compiler.Identifiers.ElementRef, core.ElementRef);\n map.set(compiler.Identifiers.NgModuleRef, core.NgModuleRef);\n map.set(compiler.Identifiers.ViewContainerRef, core.ViewContainerRef);\n map.set(compiler.Identifiers.ChangeDetectorRef, core.ChangeDetectorRef);\n map.set(compiler.Identifiers.QueryList, core.QueryList);\n map.set(compiler.Identifiers.TemplateRef, core.TemplateRef);\n map.set(compiler.Identifiers.CodegenComponentFactoryResolver, core.ɵCodegenComponentFactoryResolver);\n map.set(compiler.Identifiers.ComponentFactoryResolver, core.ComponentFactoryResolver);\n map.set(compiler.Identifiers.ComponentFactory, core.ComponentFactory);\n map.set(compiler.Identifiers.ComponentRef, core.ComponentRef);\n map.set(compiler.Identifiers.NgModuleFactory, core.NgModuleFactory);\n map.set(compiler.Identifiers.createModuleFactory, core.ɵcmf);\n map.set(compiler.Identifiers.moduleDef, core.ɵmod);\n map.set(compiler.Identifiers.moduleProviderDef, core.ɵmpd);\n map.set(compiler.Identifiers.RegisterModuleFactoryFn, core.ɵregisterModuleFactory);\n map.set(compiler.Identifiers.Injector, core.Injector);\n map.set(compiler.Identifiers.ViewEncapsulation, core.ViewEncapsulation);\n map.set(compiler.Identifiers.ChangeDetectionStrategy, core.ChangeDetectionStrategy);\n map.set(compiler.Identifiers.SecurityContext, core.SecurityContext);\n map.set(compiler.Identifiers.LOCALE_ID, core.LOCALE_ID);\n map.set(compiler.Identifiers.TRANSLATIONS_FORMAT, core.TRANSLATIONS_FORMAT);\n map.set(compiler.Identifiers.inlineInterpolate, core.ɵinlineInterpolate);\n map.set(compiler.Identifiers.interpolate, core.ɵinterpolate);\n map.set(compiler.Identifiers.EMPTY_ARRAY, core.ɵEMPTY_ARRAY);\n map.set(compiler.Identifiers.EMPTY_MAP, core.ɵEMPTY_MAP);\n map.set(compiler.Identifiers.Renderer, core.Renderer);\n map.set(compiler.Identifiers.viewDef, core.ɵvid);\n map.set(compiler.Identifiers.elementDef, core.ɵeld);\n map.set(compiler.Identifiers.anchorDef, core.ɵand);\n map.set(compiler.Identifiers.textDef, core.ɵted);\n map.set(compiler.Identifiers.directiveDef, core.ɵdid);\n map.set(compiler.Identifiers.providerDef, core.ɵprd);\n map.set(compiler.Identifiers.queryDef, core.ɵqud);\n map.set(compiler.Identifiers.pureArrayDef, core.ɵpad);\n map.set(compiler.Identifiers.pureObjectDef, core.ɵpod);\n map.set(compiler.Identifiers.purePipeDef, core.ɵppd);\n map.set(compiler.Identifiers.pipeDef, core.ɵpid);\n map.set(compiler.Identifiers.nodeValue, core.ɵnov);\n map.set(compiler.Identifiers.ngContentDef, core.ɵncd);\n map.set(compiler.Identifiers.unwrapValue, core.ɵunv);\n map.set(compiler.Identifiers.createRendererType2, core.ɵcrt);\n map.set(compiler.Identifiers.createComponentFactory, core.ɵccf);\n return map;\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 */\nvar ERROR_COLLECTOR_TOKEN = new core.InjectionToken('ErrorCollector');\n/**\n * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.\n */\nvar DEFAULT_PACKAGE_URL_PROVIDER = {\n provide: core.PACKAGE_ROOT_URL,\n useValue: '/'\n};\nvar _NO_RESOURCE_LOADER = {\n get: function (url) {\n throw new Error(\"No ResourceLoader implementation has been provided. Can't read the url \\\"\" + url + \"\\\"\");\n }\n};\nvar baseHtmlParser = new core.InjectionToken('HtmlParser');\nvar CompilerImpl = /** @class */ (function () {\n function CompilerImpl(injector, _metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler, summaryResolver, compileReflector, compilerConfig, console) {\n this._metadataResolver = _metadataResolver;\n this._delegate = new compiler.JitCompiler(_metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler, summaryResolver, compileReflector, compilerConfig, console, this.getExtraNgModuleProviders.bind(this));\n this.injector = injector;\n }\n CompilerImpl.prototype.getExtraNgModuleProviders = function () {\n return [this._metadataResolver.getProviderMetadata(new compiler.ProviderMeta(core.Compiler, { useValue: this }))];\n };\n CompilerImpl.prototype.compileModuleSync = function (moduleType) {\n return this._delegate.compileModuleSync(moduleType);\n };\n CompilerImpl.prototype.compileModuleAsync = function (moduleType) {\n return this._delegate.compileModuleAsync(moduleType);\n };\n CompilerImpl.prototype.compileModuleAndAllComponentsSync = function (moduleType) {\n var result = this._delegate.compileModuleAndAllComponentsSync(moduleType);\n return {\n ngModuleFactory: result.ngModuleFactory,\n componentFactories: result.componentFactories,\n };\n };\n CompilerImpl.prototype.compileModuleAndAllComponentsAsync = function (moduleType) {\n return this._delegate.compileModuleAndAllComponentsAsync(moduleType)\n .then(function (result) {\n return ({\n ngModuleFactory: result.ngModuleFactory,\n componentFactories: result.componentFactories,\n });\n });\n };\n CompilerImpl.prototype.loadAotSummaries = function (summaries) { this._delegate.loadAotSummaries(summaries); };\n CompilerImpl.prototype.hasAotSummary = function (ref) { return this._delegate.hasAotSummary(ref); };\n CompilerImpl.prototype.getComponentFactory = function (component) {\n return this._delegate.getComponentFactory(component);\n };\n CompilerImpl.prototype.clearCache = function () { this._delegate.clearCache(); };\n CompilerImpl.prototype.clearCacheFor = function (type) { this._delegate.clearCacheFor(type); };\n return CompilerImpl;\n}());\n/**\n * A set of providers that provide `JitCompiler` and its dependencies to use for\n * template compilation.\n */\nvar COMPILER_PROVIDERS = [\n { provide: compiler.CompileReflector, useValue: new JitReflector() },\n { provide: compiler.ResourceLoader, useValue: _NO_RESOURCE_LOADER },\n { provide: compiler.JitSummaryResolver, deps: [] },\n { provide: compiler.SummaryResolver, useExisting: compiler.JitSummaryResolver },\n { provide: core.ɵConsole, deps: [] },\n { provide: compiler.Lexer, deps: [] },\n { provide: compiler.Parser, deps: [compiler.Lexer] },\n {\n provide: baseHtmlParser,\n useClass: compiler.HtmlParser,\n deps: [],\n },\n {\n provide: compiler.I18NHtmlParser,\n useFactory: function (parser, translations, format, config, console) {\n translations = translations || '';\n var missingTranslation = translations ? config.missingTranslation : core.MissingTranslationStrategy.Ignore;\n return new compiler.I18NHtmlParser(parser, translations, format, missingTranslation, console);\n },\n deps: [\n baseHtmlParser,\n [new core.Optional(), new core.Inject(core.TRANSLATIONS)],\n [new core.Optional(), new core.Inject(core.TRANSLATIONS_FORMAT)],\n [compiler.CompilerConfig],\n [core.ɵConsole],\n ]\n },\n {\n provide: compiler.HtmlParser,\n useExisting: compiler.I18NHtmlParser,\n },\n {\n provide: compiler.TemplateParser, deps: [compiler.CompilerConfig, compiler.CompileReflector,\n compiler.Parser, compiler.ElementSchemaRegistry,\n compiler.I18NHtmlParser, core.ɵConsole]\n },\n { provide: compiler.DirectiveNormalizer, deps: [compiler.ResourceLoader, compiler.UrlResolver, compiler.HtmlParser, compiler.CompilerConfig] },\n { provide: compiler.CompileMetadataResolver, deps: [compiler.CompilerConfig, compiler.HtmlParser, compiler.NgModuleResolver,\n compiler.DirectiveResolver, compiler.PipeResolver,\n compiler.SummaryResolver,\n compiler.ElementSchemaRegistry,\n compiler.DirectiveNormalizer, core.ɵConsole,\n [core.Optional, compiler.StaticSymbolCache],\n compiler.CompileReflector,\n [core.Optional, ERROR_COLLECTOR_TOKEN]] },\n DEFAULT_PACKAGE_URL_PROVIDER,\n { provide: compiler.StyleCompiler, deps: [compiler.UrlResolver] },\n { provide: compiler.ViewCompiler, deps: [compiler.CompileReflector] },\n { provide: compiler.NgModuleCompiler, deps: [compiler.CompileReflector] },\n { provide: compiler.CompilerConfig, useValue: new compiler.CompilerConfig() },\n { provide: core.Compiler, useClass: CompilerImpl, deps: [core.Injector, compiler.CompileMetadataResolver,\n compiler.TemplateParser, compiler.StyleCompiler,\n compiler.ViewCompiler, compiler.NgModuleCompiler,\n compiler.SummaryResolver, compiler.CompileReflector, compiler.CompilerConfig,\n core.ɵConsole] },\n { provide: compiler.DomElementSchemaRegistry, deps: [] },\n { provide: compiler.ElementSchemaRegistry, useExisting: compiler.DomElementSchemaRegistry },\n { provide: compiler.UrlResolver, deps: [core.PACKAGE_ROOT_URL] },\n { provide: compiler.DirectiveResolver, deps: [compiler.CompileReflector] },\n { provide: compiler.PipeResolver, deps: [compiler.CompileReflector] },\n { provide: compiler.NgModuleResolver, deps: [compiler.CompileReflector] },\n];\n/**\n * @experimental\n */\nvar JitCompilerFactory = /** @class */ (function () {\n /* @internal */\n function JitCompilerFactory(defaultOptions) {\n var compilerOptions = {\n useJit: true,\n defaultEncapsulation: core.ViewEncapsulation.Emulated,\n missingTranslation: core.MissingTranslationStrategy.Warning,\n };\n this._defaultOptions = __spread([compilerOptions], defaultOptions);\n }\n JitCompilerFactory.prototype.createCompiler = function (options) {\n if (options === void 0) { options = []; }\n var opts = _mergeOptions(this._defaultOptions.concat(options));\n var injector = core.Injector.create([\n COMPILER_PROVIDERS, {\n provide: compiler.CompilerConfig,\n useFactory: function () {\n return new compiler.CompilerConfig({\n // let explicit values from the compiler options overwrite options\n // from the app providers\n useJit: opts.useJit,\n jitDevMode: core.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(core.Compiler);\n };\n return JitCompilerFactory;\n}());\nfunction _mergeOptions(optionsArr) {\n return {\n useJit: _lastDefined(optionsArr.map(function (options) { return options.useJit; })),\n defaultEncapsulation: _lastDefined(optionsArr.map(function (options) { return options.defaultEncapsulation; })),\n providers: _mergeArrays(optionsArr.map(function (options) { return options.providers; })),\n missingTranslation: _lastDefined(optionsArr.map(function (options) { return options.missingTranslation; })),\n preserveWhitespaces: _lastDefined(optionsArr.map(function (options) { return options.preserveWhitespaces; })),\n };\n}\nfunction _lastDefined(args) {\n for (var i = args.length - 1; i >= 0; i--) {\n if (args[i] !== undefined) {\n return args[i];\n }\n }\n return undefined;\n}\nfunction _mergeArrays(parts) {\n var result = [];\n parts.forEach(function (part) { return part && result.push.apply(result, __spread(part)); });\n return result;\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 * A platform that included corePlatform and the compiler.\n *\n * @experimental\n */\nvar platformCoreDynamic = core.createPlatformFactory(core.platformCore, 'coreDynamic', [\n { provide: core.COMPILER_OPTIONS, useValue: {}, multi: true },\n { provide: core.CompilerFactory, useClass: JitCompilerFactory, deps: [core.COMPILER_OPTIONS] },\n]);\n\nvar ResourceLoaderImpl = /** @class */ (function (_super) {\n __extends(ResourceLoaderImpl, _super);\n function ResourceLoaderImpl() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ResourceLoaderImpl.prototype.get = function (url) {\n var resolve;\n var reject;\n var promise = new Promise(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n var xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.responseType = 'text';\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 var response = xhr.response || xhr.responseText;\n // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n var status = xhr.status === 1223 ? 204 : xhr.status;\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 if (200 <= status && status <= 300) {\n resolve(response);\n }\n else {\n reject(\"Failed to load \" + url);\n }\n };\n xhr.onerror = function () { reject(\"Failed to load \" + url); };\n xhr.send();\n return promise;\n };\n ResourceLoaderImpl.decorators = [\n { type: core.Injectable }\n ];\n /** @nocollapse */\n ResourceLoaderImpl.ctorParameters = function () { return []; };\n return ResourceLoaderImpl;\n}(compiler.ResourceLoader));\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 */\nvar INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [\n platformBrowser.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,\n {\n provide: core.COMPILER_OPTIONS,\n useValue: { providers: [{ provide: compiler.ResourceLoader, useClass: ResourceLoaderImpl, deps: [] }] },\n multi: true\n },\n { provide: core.PLATFORM_ID, useValue: common.ɵPLATFORM_BROWSER_ID },\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 * 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 */\nvar CachedResourceLoader = /** @class */ (function (_super) {\n __extends(CachedResourceLoader, _super);\n function CachedResourceLoader() {\n var _this = _super.call(this) || this;\n _this._cache = core.ɵglobal.$templateCache;\n if (_this._cache == null) {\n throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');\n }\n return _this;\n }\n CachedResourceLoader.prototype.get = function (url) {\n if (this._cache.hasOwnProperty(url)) {\n return Promise.resolve(this._cache[url]);\n }\n else {\n return Promise.reject('CachedResourceLoader: Did not find cached template for ' + url);\n }\n };\n return CachedResourceLoader;\n}(compiler.ResourceLoader));\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 * @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 */\nvar VERSION = new core.Version('6.0.0-rc.6');\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 * @experimental\n */\nvar RESOURCE_CACHE_PROVIDER = [{ provide: compiler.ResourceLoader, useClass: CachedResourceLoader, deps: [] }];\n/**\n *\n */\nvar platformBrowserDynamic = core.createPlatformFactory(platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\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// This file only reexports content of the `src` folder. Keep it that way.\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 * Generated bundle index. Do not edit.\n */\n\nexports.ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a = CachedResourceLoader;\nexports.RESOURCE_CACHE_PROVIDER = RESOURCE_CACHE_PROVIDER;\nexports.platformBrowserDynamic = platformBrowserDynamic;\nexports.VERSION = VERSION;\nexports.JitCompilerFactory = JitCompilerFactory;\nexports.ɵCompilerImpl = CompilerImpl;\nexports.ɵplatformCoreDynamic = platformCoreDynamic;\nexports.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS;\nexports.ɵResourceLoaderImpl = ResourceLoaderImpl;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=platform-browser-dynamic.umd.js.map\n"]}
|
|
1
|
+
{"version":3,"sources":["packages/platform-browser-dynamic/platform-browser-dynamic.umd.js"],"names":["global","factory","exports","module","require","define","amd","ng","platformBrowserDynamic","compiler","core","common","platformBrowser","this","extendStatics","Object","setPrototypeOf","__proto__","Array","d","b","p","hasOwnProperty","__extends","__","constructor","prototype","create","__read","o","n","m","Symbol","iterator","r","e","i","call","ar","next","done","push","value","error","__spread","arguments","length","concat","builtinExternalReferences","createBuiltinExternalReferencesMap","map","Map","set","Identifiers","ANALYZE_FOR_ENTRY_COMPONENTS","ElementRef","NgModuleRef","ViewContainerRef","ChangeDetectorRef","QueryList","TemplateRef","CodegenComponentFactoryResolver","ɵCodegenComponentFactoryResolver","ComponentFactoryResolver","ComponentFactory","ComponentRef","NgModuleFactory","createModuleFactory","ɵcmf","moduleDef","ɵmod","moduleProviderDef","ɵmpd","RegisterModuleFactoryFn","ɵregisterModuleFactory","Injector","ViewEncapsulation","ChangeDetectionStrategy","SecurityContext","LOCALE_ID","TRANSLATIONS_FORMAT","inlineInterpolate","ɵinlineInterpolate","interpolate","ɵinterpolate","EMPTY_ARRAY","ɵEMPTY_ARRAY","EMPTY_MAP","ɵEMPTY_MAP","Renderer","viewDef","ɵvid","elementDef","ɵeld","anchorDef","ɵand","textDef","ɵted","directiveDef","ɵdid","providerDef","ɵprd","queryDef","ɵqud","pureArrayDef","ɵpad","pureObjectDef","ɵpod","purePipeDef","ɵppd","pipeDef","ɵpid","nodeValue","ɵnov","ngContentDef","ɵncd","unwrapValue","ɵunv","createRendererType2","ɵcrt","createComponentFactory","ɵccf","JitReflector","reflectionCapabilities","ɵReflectionCapabilities","componentModuleUrl","type","cmpMetadata","moduleId","getUrlScheme","syntaxError","ɵstringify","parameters","typeOrFunc","tryAnnotations","annotations","shallowAnnotations","Error","propMetadata","hasLifecycleHook","lcProperty","guards","resolveExternalReference","ref","get","runtime","ERROR_COLLECTOR_TOKEN","InjectionToken","DEFAULT_PACKAGE_URL_PROVIDER","provide","PACKAGE_ROOT_URL","useValue","_NO_RESOURCE_LOADER","url","baseHtmlParser","CompilerImpl","injector","_metadataResolver","templateParser","styleCompiler","viewCompiler","ngModuleCompiler","summaryResolver","compileReflector","compilerConfig","console","_delegate","JitCompiler","getExtraNgModuleProviders","bind","getProviderMetadata","ProviderMeta","Compiler","compileModuleSync","moduleType","compileModuleAsync","compileModuleAndAllComponentsSync","result","ngModuleFactory","componentFactories","compileModuleAndAllComponentsAsync","then","loadAotSummaries","summaries","hasAotSummary","getComponentFactory","component","clearCache","clearCacheFor","COMPILER_PROVIDERS","CompileReflector","ResourceLoader","JitSummaryResolver","deps","SummaryResolver","useExisting","ɵConsole","Lexer","Parser","useClass","HtmlParser","I18NHtmlParser","useFactory","parser","translations","format","config","missingTranslation","MissingTranslationStrategy","Ignore","Optional","Inject","TRANSLATIONS","CompilerConfig","TemplateParser","ElementSchemaRegistry","DirectiveNormalizer","UrlResolver","CompileMetadataResolver","NgModuleResolver","DirectiveResolver","PipeResolver","StaticSymbolCache","StyleCompiler","ViewCompiler","NgModuleCompiler","DomElementSchemaRegistry","JitCompilerFactory","defaultOptions","_defaultOptions","useJit","defaultEncapsulation","Emulated","Warning","createCompiler","options","opts","_mergeOptions","optionsArr","_lastDefined","providers","_mergeArrays","parts","forEach","part","apply","preserveWhitespaces","jitDevMode","isDevMode","args","undefined","platformCoreDynamic","createPlatformFactory","platformCore","COMPILER_OPTIONS","multi","CompilerFactory","ResourceLoaderImpl","_super","resolve","reject","promise","Promise","res","rej","xhr","XMLHttpRequest","open","responseType","onload","response","responseText","status","onerror","send","decorators","Injectable","ctorParameters","INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS","ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS","PLATFORM_ID","ɵPLATFORM_BROWSER_ID","CachedResourceLoader","_this","_cache","ɵglobal","$templateCache","VERSION","Version","RESOURCE_CACHE_PROVIDER","ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a","ɵCompilerImpl","ɵplatformCoreDynamic","ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS","ɵResourceLoaderImpl","defineProperty"],"mappings":";;;;;CAMC,SAAUA,EAAQC,GACC,iBAAZC,SAA0C,oBAAXC,OAAyBF,EAAQC,QAASE,QAAQ,qBAAsBA,QAAQ,iBAAkBA,QAAQ,mBAAoBA,QAAQ,8BAC1J,mBAAXC,QAAyBA,OAAOC,IAAMD,OAAO,qCAAsC,UAAW,oBAAqB,gBAAiB,kBAAmB,6BAA8BJ,GAC3LA,GAASD,EAAOO,GAAKP,EAAOO,OAAUP,EAAOO,GAAGC,2BAA6BR,EAAOO,GAAGE,SAAST,EAAOO,GAAGG,KAAKV,EAAOO,GAAGI,OAAOX,EAAOO,GAAGK,iBAH5I,CAIEC,KAAM,SAAWX,EAAQO,EAASC,EAAKC,EAAOC,GAAmB,aAkBnE,IAAIE,EAAgBC,OAAOC,iBACpBC,wBAA2BC,OAAS,SAAUC,EAAGC,GAAKD,EAAEF,UAAYG,IACvE,SAAUD,EAAGC,GAAK,IAAK,IAAIC,KAAKD,EAAOA,EAAEE,eAAeD,KAAIF,EAAEE,GAAKD,EAAEC,KAEzE,SAASE,EAAUJ,EAAGC,GAElB,SAASI,IAAOX,KAAKY,YAAcN,EADnCL,EAAcK,EAAGC,GAEjBD,EAAEO,UAAkB,OAANN,EAAaL,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010-2018 Google, Inc. https://angular.io/\n * License: MIT\n */\n\n(function (global, factory) {\n\ttypeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/compiler'), require('@angular/core'), require('@angular/common'), require('@angular/platform-browser')) :\n\ttypeof define === 'function' && define.amd ? define('@angular/platform-browser-dynamic', ['exports', '@angular/compiler', '@angular/core', '@angular/common', '@angular/platform-browser'], factory) :\n\t(factory((global.ng = global.ng || {}, global.ng.platformBrowserDynamic = {}),global.ng.compiler,global.ng.core,global.ng.common,global.ng.platformBrowser));\n}(this, (function (exports,compiler,core,common,platformBrowser) { 'use strict';\n\n/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation. All rights reserved.\r\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\nthis file except in compliance with the License. You may obtain a copy of the\r\nLicense at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\nTHIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\nKIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\nWARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\nMERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\nSee the Apache Version 2.0 License for specific language governing permissions\r\nand limitations under the License.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\r\n\r\nfunction __extends(d, b) {\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\nfunction __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\nfunction __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\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 */\nvar MODULE_SUFFIX = '';\nvar builtinExternalReferences = createBuiltinExternalReferencesMap();\nvar JitReflector = /** @class */ (function () {\n function JitReflector() {\n this.builtinExternalReferences = new Map();\n this.reflectionCapabilities = new core.ɵReflectionCapabilities();\n }\n JitReflector.prototype.componentModuleUrl = function (type, cmpMetadata) {\n var moduleId = cmpMetadata.moduleId;\n if (typeof moduleId === 'string') {\n var scheme = compiler.getUrlScheme(moduleId);\n return scheme ? moduleId : \"package:\" + moduleId + MODULE_SUFFIX;\n }\n else if (moduleId !== null && moduleId !== void 0) {\n throw compiler.syntaxError(\"moduleId should be a string in \\\"\" + core.ɵ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 return \"./\" + core.ɵstringify(type);\n };\n JitReflector.prototype.parameters = function (typeOrFunc) {\n return this.reflectionCapabilities.parameters(typeOrFunc);\n };\n JitReflector.prototype.tryAnnotations = function (typeOrFunc) { return this.annotations(typeOrFunc); };\n JitReflector.prototype.annotations = function (typeOrFunc) {\n return this.reflectionCapabilities.annotations(typeOrFunc);\n };\n JitReflector.prototype.shallowAnnotations = function (typeOrFunc) {\n throw new Error('Not supported in JIT mode');\n };\n JitReflector.prototype.propMetadata = function (typeOrFunc) {\n return this.reflectionCapabilities.propMetadata(typeOrFunc);\n };\n JitReflector.prototype.hasLifecycleHook = function (type, lcProperty) {\n return this.reflectionCapabilities.hasLifecycleHook(type, lcProperty);\n };\n JitReflector.prototype.guards = function (type) { return this.reflectionCapabilities.guards(type); };\n JitReflector.prototype.resolveExternalReference = function (ref) {\n return builtinExternalReferences.get(ref) || ref.runtime;\n };\n return JitReflector;\n}());\nfunction createBuiltinExternalReferencesMap() {\n var map = new Map();\n map.set(compiler.Identifiers.ANALYZE_FOR_ENTRY_COMPONENTS, core.ANALYZE_FOR_ENTRY_COMPONENTS);\n map.set(compiler.Identifiers.ElementRef, core.ElementRef);\n map.set(compiler.Identifiers.NgModuleRef, core.NgModuleRef);\n map.set(compiler.Identifiers.ViewContainerRef, core.ViewContainerRef);\n map.set(compiler.Identifiers.ChangeDetectorRef, core.ChangeDetectorRef);\n map.set(compiler.Identifiers.QueryList, core.QueryList);\n map.set(compiler.Identifiers.TemplateRef, core.TemplateRef);\n map.set(compiler.Identifiers.CodegenComponentFactoryResolver, core.ɵCodegenComponentFactoryResolver);\n map.set(compiler.Identifiers.ComponentFactoryResolver, core.ComponentFactoryResolver);\n map.set(compiler.Identifiers.ComponentFactory, core.ComponentFactory);\n map.set(compiler.Identifiers.ComponentRef, core.ComponentRef);\n map.set(compiler.Identifiers.NgModuleFactory, core.NgModuleFactory);\n map.set(compiler.Identifiers.createModuleFactory, core.ɵcmf);\n map.set(compiler.Identifiers.moduleDef, core.ɵmod);\n map.set(compiler.Identifiers.moduleProviderDef, core.ɵmpd);\n map.set(compiler.Identifiers.RegisterModuleFactoryFn, core.ɵregisterModuleFactory);\n map.set(compiler.Identifiers.Injector, core.Injector);\n map.set(compiler.Identifiers.ViewEncapsulation, core.ViewEncapsulation);\n map.set(compiler.Identifiers.ChangeDetectionStrategy, core.ChangeDetectionStrategy);\n map.set(compiler.Identifiers.SecurityContext, core.SecurityContext);\n map.set(compiler.Identifiers.LOCALE_ID, core.LOCALE_ID);\n map.set(compiler.Identifiers.TRANSLATIONS_FORMAT, core.TRANSLATIONS_FORMAT);\n map.set(compiler.Identifiers.inlineInterpolate, core.ɵinlineInterpolate);\n map.set(compiler.Identifiers.interpolate, core.ɵinterpolate);\n map.set(compiler.Identifiers.EMPTY_ARRAY, core.ɵEMPTY_ARRAY);\n map.set(compiler.Identifiers.EMPTY_MAP, core.ɵEMPTY_MAP);\n map.set(compiler.Identifiers.Renderer, core.Renderer);\n map.set(compiler.Identifiers.viewDef, core.ɵvid);\n map.set(compiler.Identifiers.elementDef, core.ɵeld);\n map.set(compiler.Identifiers.anchorDef, core.ɵand);\n map.set(compiler.Identifiers.textDef, core.ɵted);\n map.set(compiler.Identifiers.directiveDef, core.ɵdid);\n map.set(compiler.Identifiers.providerDef, core.ɵprd);\n map.set(compiler.Identifiers.queryDef, core.ɵqud);\n map.set(compiler.Identifiers.pureArrayDef, core.ɵpad);\n map.set(compiler.Identifiers.pureObjectDef, core.ɵpod);\n map.set(compiler.Identifiers.purePipeDef, core.ɵppd);\n map.set(compiler.Identifiers.pipeDef, core.ɵpid);\n map.set(compiler.Identifiers.nodeValue, core.ɵnov);\n map.set(compiler.Identifiers.ngContentDef, core.ɵncd);\n map.set(compiler.Identifiers.unwrapValue, core.ɵunv);\n map.set(compiler.Identifiers.createRendererType2, core.ɵcrt);\n map.set(compiler.Identifiers.createComponentFactory, core.ɵccf);\n return map;\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 */\nvar ERROR_COLLECTOR_TOKEN = new core.InjectionToken('ErrorCollector');\n/**\n * A default provider for {@link PACKAGE_ROOT_URL} that maps to '/'.\n */\nvar DEFAULT_PACKAGE_URL_PROVIDER = {\n provide: core.PACKAGE_ROOT_URL,\n useValue: '/'\n};\nvar _NO_RESOURCE_LOADER = {\n get: function (url) {\n throw new Error(\"No ResourceLoader implementation has been provided. Can't read the url \\\"\" + url + \"\\\"\");\n }\n};\nvar baseHtmlParser = new core.InjectionToken('HtmlParser');\nvar CompilerImpl = /** @class */ (function () {\n function CompilerImpl(injector, _metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler, summaryResolver, compileReflector, compilerConfig, console) {\n this._metadataResolver = _metadataResolver;\n this._delegate = new compiler.JitCompiler(_metadataResolver, templateParser, styleCompiler, viewCompiler, ngModuleCompiler, summaryResolver, compileReflector, compilerConfig, console, this.getExtraNgModuleProviders.bind(this));\n this.injector = injector;\n }\n CompilerImpl.prototype.getExtraNgModuleProviders = function () {\n return [this._metadataResolver.getProviderMetadata(new compiler.ProviderMeta(core.Compiler, { useValue: this }))];\n };\n CompilerImpl.prototype.compileModuleSync = function (moduleType) {\n return this._delegate.compileModuleSync(moduleType);\n };\n CompilerImpl.prototype.compileModuleAsync = function (moduleType) {\n return this._delegate.compileModuleAsync(moduleType);\n };\n CompilerImpl.prototype.compileModuleAndAllComponentsSync = function (moduleType) {\n var result = this._delegate.compileModuleAndAllComponentsSync(moduleType);\n return {\n ngModuleFactory: result.ngModuleFactory,\n componentFactories: result.componentFactories,\n };\n };\n CompilerImpl.prototype.compileModuleAndAllComponentsAsync = function (moduleType) {\n return this._delegate.compileModuleAndAllComponentsAsync(moduleType)\n .then(function (result) {\n return ({\n ngModuleFactory: result.ngModuleFactory,\n componentFactories: result.componentFactories,\n });\n });\n };\n CompilerImpl.prototype.loadAotSummaries = function (summaries) { this._delegate.loadAotSummaries(summaries); };\n CompilerImpl.prototype.hasAotSummary = function (ref) { return this._delegate.hasAotSummary(ref); };\n CompilerImpl.prototype.getComponentFactory = function (component) {\n return this._delegate.getComponentFactory(component);\n };\n CompilerImpl.prototype.clearCache = function () { this._delegate.clearCache(); };\n CompilerImpl.prototype.clearCacheFor = function (type) { this._delegate.clearCacheFor(type); };\n return CompilerImpl;\n}());\n/**\n * A set of providers that provide `JitCompiler` and its dependencies to use for\n * template compilation.\n */\nvar COMPILER_PROVIDERS = [\n { provide: compiler.CompileReflector, useValue: new JitReflector() },\n { provide: compiler.ResourceLoader, useValue: _NO_RESOURCE_LOADER },\n { provide: compiler.JitSummaryResolver, deps: [] },\n { provide: compiler.SummaryResolver, useExisting: compiler.JitSummaryResolver },\n { provide: core.ɵConsole, deps: [] },\n { provide: compiler.Lexer, deps: [] },\n { provide: compiler.Parser, deps: [compiler.Lexer] },\n {\n provide: baseHtmlParser,\n useClass: compiler.HtmlParser,\n deps: [],\n },\n {\n provide: compiler.I18NHtmlParser,\n useFactory: function (parser, translations, format, config, console) {\n translations = translations || '';\n var missingTranslation = translations ? config.missingTranslation : core.MissingTranslationStrategy.Ignore;\n return new compiler.I18NHtmlParser(parser, translations, format, missingTranslation, console);\n },\n deps: [\n baseHtmlParser,\n [new core.Optional(), new core.Inject(core.TRANSLATIONS)],\n [new core.Optional(), new core.Inject(core.TRANSLATIONS_FORMAT)],\n [compiler.CompilerConfig],\n [core.ɵConsole],\n ]\n },\n {\n provide: compiler.HtmlParser,\n useExisting: compiler.I18NHtmlParser,\n },\n {\n provide: compiler.TemplateParser, deps: [compiler.CompilerConfig, compiler.CompileReflector,\n compiler.Parser, compiler.ElementSchemaRegistry,\n compiler.I18NHtmlParser, core.ɵConsole]\n },\n { provide: compiler.DirectiveNormalizer, deps: [compiler.ResourceLoader, compiler.UrlResolver, compiler.HtmlParser, compiler.CompilerConfig] },\n { provide: compiler.CompileMetadataResolver, deps: [compiler.CompilerConfig, compiler.HtmlParser, compiler.NgModuleResolver,\n compiler.DirectiveResolver, compiler.PipeResolver,\n compiler.SummaryResolver,\n compiler.ElementSchemaRegistry,\n compiler.DirectiveNormalizer, core.ɵConsole,\n [core.Optional, compiler.StaticSymbolCache],\n compiler.CompileReflector,\n [core.Optional, ERROR_COLLECTOR_TOKEN]] },\n DEFAULT_PACKAGE_URL_PROVIDER,\n { provide: compiler.StyleCompiler, deps: [compiler.UrlResolver] },\n { provide: compiler.ViewCompiler, deps: [compiler.CompileReflector] },\n { provide: compiler.NgModuleCompiler, deps: [compiler.CompileReflector] },\n { provide: compiler.CompilerConfig, useValue: new compiler.CompilerConfig() },\n { provide: core.Compiler, useClass: CompilerImpl, deps: [core.Injector, compiler.CompileMetadataResolver,\n compiler.TemplateParser, compiler.StyleCompiler,\n compiler.ViewCompiler, compiler.NgModuleCompiler,\n compiler.SummaryResolver, compiler.CompileReflector, compiler.CompilerConfig,\n core.ɵConsole] },\n { provide: compiler.DomElementSchemaRegistry, deps: [] },\n { provide: compiler.ElementSchemaRegistry, useExisting: compiler.DomElementSchemaRegistry },\n { provide: compiler.UrlResolver, deps: [core.PACKAGE_ROOT_URL] },\n { provide: compiler.DirectiveResolver, deps: [compiler.CompileReflector] },\n { provide: compiler.PipeResolver, deps: [compiler.CompileReflector] },\n { provide: compiler.NgModuleResolver, deps: [compiler.CompileReflector] },\n];\n/**\n * @experimental\n */\nvar JitCompilerFactory = /** @class */ (function () {\n /* @internal */\n function JitCompilerFactory(defaultOptions) {\n var compilerOptions = {\n useJit: true,\n defaultEncapsulation: core.ViewEncapsulation.Emulated,\n missingTranslation: core.MissingTranslationStrategy.Warning,\n };\n this._defaultOptions = __spread([compilerOptions], defaultOptions);\n }\n JitCompilerFactory.prototype.createCompiler = function (options) {\n if (options === void 0) { options = []; }\n var opts = _mergeOptions(this._defaultOptions.concat(options));\n var injector = core.Injector.create([\n COMPILER_PROVIDERS, {\n provide: compiler.CompilerConfig,\n useFactory: function () {\n return new compiler.CompilerConfig({\n // let explicit values from the compiler options overwrite options\n // from the app providers\n useJit: opts.useJit,\n jitDevMode: core.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(core.Compiler);\n };\n return JitCompilerFactory;\n}());\nfunction _mergeOptions(optionsArr) {\n return {\n useJit: _lastDefined(optionsArr.map(function (options) { return options.useJit; })),\n defaultEncapsulation: _lastDefined(optionsArr.map(function (options) { return options.defaultEncapsulation; })),\n providers: _mergeArrays(optionsArr.map(function (options) { return options.providers; })),\n missingTranslation: _lastDefined(optionsArr.map(function (options) { return options.missingTranslation; })),\n preserveWhitespaces: _lastDefined(optionsArr.map(function (options) { return options.preserveWhitespaces; })),\n };\n}\nfunction _lastDefined(args) {\n for (var i = args.length - 1; i >= 0; i--) {\n if (args[i] !== undefined) {\n return args[i];\n }\n }\n return undefined;\n}\nfunction _mergeArrays(parts) {\n var result = [];\n parts.forEach(function (part) { return part && result.push.apply(result, __spread(part)); });\n return result;\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 * A platform that included corePlatform and the compiler.\n *\n * @experimental\n */\nvar platformCoreDynamic = core.createPlatformFactory(core.platformCore, 'coreDynamic', [\n { provide: core.COMPILER_OPTIONS, useValue: {}, multi: true },\n { provide: core.CompilerFactory, useClass: JitCompilerFactory, deps: [core.COMPILER_OPTIONS] },\n]);\n\nvar ResourceLoaderImpl = /** @class */ (function (_super) {\n __extends(ResourceLoaderImpl, _super);\n function ResourceLoaderImpl() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n ResourceLoaderImpl.prototype.get = function (url) {\n var resolve;\n var reject;\n var promise = new Promise(function (res, rej) {\n resolve = res;\n reject = rej;\n });\n var xhr = new XMLHttpRequest();\n xhr.open('GET', url, true);\n xhr.responseType = 'text';\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 var response = xhr.response || xhr.responseText;\n // normalize IE9 bug (http://bugs.jquery.com/ticket/1450)\n var status = xhr.status === 1223 ? 204 : xhr.status;\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 if (200 <= status && status <= 300) {\n resolve(response);\n }\n else {\n reject(\"Failed to load \" + url);\n }\n };\n xhr.onerror = function () { reject(\"Failed to load \" + url); };\n xhr.send();\n return promise;\n };\n ResourceLoaderImpl.decorators = [\n { type: core.Injectable }\n ];\n /** @nocollapse */\n ResourceLoaderImpl.ctorParameters = function () { return []; };\n return ResourceLoaderImpl;\n}(compiler.ResourceLoader));\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 */\nvar INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = [\n platformBrowser.ɵINTERNAL_BROWSER_PLATFORM_PROVIDERS,\n {\n provide: core.COMPILER_OPTIONS,\n useValue: { providers: [{ provide: compiler.ResourceLoader, useClass: ResourceLoaderImpl, deps: [] }] },\n multi: true\n },\n { provide: core.PLATFORM_ID, useValue: common.ɵPLATFORM_BROWSER_ID },\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 * 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 */\nvar CachedResourceLoader = /** @class */ (function (_super) {\n __extends(CachedResourceLoader, _super);\n function CachedResourceLoader() {\n var _this = _super.call(this) || this;\n _this._cache = core.ɵglobal.$templateCache;\n if (_this._cache == null) {\n throw new Error('CachedResourceLoader: Template cache was not found in $templateCache.');\n }\n return _this;\n }\n CachedResourceLoader.prototype.get = function (url) {\n if (this._cache.hasOwnProperty(url)) {\n return Promise.resolve(this._cache[url]);\n }\n else {\n return Promise.reject('CachedResourceLoader: Did not find cached template for ' + url);\n }\n };\n return CachedResourceLoader;\n}(compiler.ResourceLoader));\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 * @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 */\nvar VERSION = new core.Version('6.0.0');\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 * @experimental\n */\nvar RESOURCE_CACHE_PROVIDER = [{ provide: compiler.ResourceLoader, useClass: CachedResourceLoader, deps: [] }];\n/**\n *\n */\nvar platformBrowserDynamic = core.createPlatformFactory(platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\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// This file only reexports content of the `src` folder. Keep it that way.\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 * Generated bundle index. Do not edit.\n */\n\nexports.ɵangular_packages_platform_browser_dynamic_platform_browser_dynamic_a = CachedResourceLoader;\nexports.RESOURCE_CACHE_PROVIDER = RESOURCE_CACHE_PROVIDER;\nexports.platformBrowserDynamic = platformBrowserDynamic;\nexports.VERSION = VERSION;\nexports.JitCompilerFactory = JitCompilerFactory;\nexports.ɵCompilerImpl = CompilerImpl;\nexports.ɵplatformCoreDynamic = platformCoreDynamic;\nexports.ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS = INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS;\nexports.ɵResourceLoaderImpl = ResourceLoaderImpl;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n})));\n//# sourceMappingURL=platform-browser-dynamic.umd.js.map\n"]}
|
package/esm2015/src/version.js
CHANGED
|
@@ -13,6 +13,6 @@ import { Version } from '@angular/core';
|
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
*/
|
|
16
|
-
export const /** @type {?} */ VERSION = new Version('6.0.0
|
|
16
|
+
export const /** @type {?} */ VERSION = new Version('6.0.0');
|
|
17
17
|
|
|
18
18
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3BsYXRmb3JtLWJyb3dzZXItZHluYW1pYy9zcmMvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztBQWNBLE9BQU8sRUFBQyxPQUFPLEVBQUMsTUFBTSxlQUFlLENBQUM7Ozs7QUFJdEMsTUFBTSxDQUFDLHVCQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBJbmMuIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG4vKipcbiAqIEBtb2R1bGVcbiAqIEBkZXNjcmlwdGlvblxuICogRW50cnkgcG9pbnQgZm9yIGFsbCBwdWJsaWMgQVBJcyBvZiB0aGUgY29tbW9uIHBhY2thZ2UuXG4gKi9cblxuaW1wb3J0IHtWZXJzaW9ufSBmcm9tICdAYW5ndWxhci9jb3JlJztcbi8qKlxuICpcbiAqL1xuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
|
package/esm5/src/version.js
CHANGED
|
@@ -9,6 +9,6 @@ import { Version } from '@angular/core';
|
|
|
9
9
|
/**
|
|
10
10
|
*
|
|
11
11
|
*/
|
|
12
|
-
export var VERSION = new Version('6.0.0
|
|
12
|
+
export var VERSION = new Version('6.0.0');
|
|
13
13
|
|
|
14
14
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3BsYXRmb3JtLWJyb3dzZXItZHluYW1pYy9zcmMvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBY0EsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLGVBQWUsQ0FBQzs7OztBQUl0QyxNQUFNLENBQUMsSUFBTSxPQUFPLEdBQUcsSUFBSSxPQUFPLENBQUMsbUJBQW1CLENBQUMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQGxpY2Vuc2VcbiAqIENvcHlyaWdodCBHb29nbGUgSW5jLiBBbGwgUmlnaHRzIFJlc2VydmVkLlxuICpcbiAqIFVzZSBvZiB0aGlzIHNvdXJjZSBjb2RlIGlzIGdvdmVybmVkIGJ5IGFuIE1JVC1zdHlsZSBsaWNlbnNlIHRoYXQgY2FuIGJlXG4gKiBmb3VuZCBpbiB0aGUgTElDRU5TRSBmaWxlIGF0IGh0dHBzOi8vYW5ndWxhci5pby9saWNlbnNlXG4gKi9cblxuLyoqXG4gKiBAbW9kdWxlXG4gKiBAZGVzY3JpcHRpb25cbiAqIEVudHJ5IHBvaW50IGZvciBhbGwgcHVibGljIEFQSXMgb2YgdGhlIGNvbW1vbiBwYWNrYWdlLlxuICovXG5cbmltcG9ydCB7VmVyc2lvbn0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG4vKipcbiAqXG4gKi9cbmV4cG9ydCBjb25zdCBWRVJTSU9OID0gbmV3IFZlcnNpb24oJzAuMC4wLVBMQUNFSE9MREVSJyk7XG4iXX0=
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v6.0.0
|
|
2
|
+
* @license Angular v6.0.0
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -575,7 +575,7 @@ class CachedResourceLoader extends ResourceLoader {
|
|
|
575
575
|
/**
|
|
576
576
|
*
|
|
577
577
|
*/
|
|
578
|
-
const VERSION = new Version('6.0.0
|
|
578
|
+
const VERSION = new Version('6.0.0');
|
|
579
579
|
|
|
580
580
|
/**
|
|
581
581
|
* @fileoverview added by tsickle
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform-browser-dynamic.js","sources":["../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/src/compiler_reflector.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/src/compiler_factory.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/src/platform_core_dynamic.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/src/resource_loader/resource_loader_impl.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/src/platform_providers.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/src/version.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/src/platform-browser-dynamic.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/public_api.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/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, 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: ReflectionCapabilities;\n private builtinExternalReferences = new Map<ExternalReference, any>();\n constructor() { this.reflectionCapabilities = new ReflectionCapabilities(); }\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.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}\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 * @experimental\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 * @experimental\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\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 */\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 */\nexport const VERSION = new Version('6.0.0-rc.6');\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 * @experimental\n */\nexport const RESOURCE_CACHE_PROVIDER: Provider[] =\n [{provide: ResourceLoader, useClass: CachedResourceLoader, deps: []}];\n\n/**\n *\n */\nexport const platformBrowserDynamic = createPlatformFactory(\n platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\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 this package.\n */\nexport * from './src/platform-browser-dynamic';\n\n// This file only reexports content of the `src` folder. Keep it that way.\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":";;;;;;;;;;;;;;;;;;;;;;AAQA,AAGO,MAAM,aAAa,GAAG,EAAE,CAAC;AAChC,MAAM,yBAAyB,GAAG,kCAAkC,EAAE,CAAC;AAEvE;IAGE;yCADoC,IAAI,GAAG,EAA0B;QACrD,IAAI,CAAC,sBAAsB,GAAG,IAAIA,uBAAsB,EAAE,CAAC;KAAE;;;;;;IAC7E,kBAAkB,CAAC,IAAS,EAAE,WAAsB;QAClD,uBAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;QAEtC,IAAI,OAAO,QAAQ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O,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC;SAC1C;aAAM;YACL,yBAAqB,OAAO,CAAC,MAAM,CAC/B,yDAAyD,GAAG,GAAG,CAAC,EAAC;SACtE;KACF;CACF;;;;;;;;;;;;;;;;;;;;;;;;;ACvBD;;;AAIA,AAAO,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB,CAAC;;;;;;;;;;;;;ACVvD;;;AAcA,AAAO,MAAM,uBAAuB,GAChC,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,EAAE,EAAC,CAAC,CAAC;;;;AAK1E,AAAO,MAAM,sBAAsB,GAAG,qBAAqB,CACvD,mBAAmB,EAAE,gBAAgB,EAAE,2CAA2C,CAAC;;;;;;;;;;;;;;;;;;AChBvF,AAA+C;;;;;;;;;;;;;;;;;;;ACb/C;;GAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"platform-browser-dynamic.js","sources":["../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/src/compiler_reflector.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/src/compiler_factory.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/src/platform_core_dynamic.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/src/resource_loader/resource_loader_impl.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/src/platform_providers.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/src/resource_loader/resource_loader_cache.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/src/version.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/src/platform-browser-dynamic.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/public_api.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/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, 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: ReflectionCapabilities;\n private builtinExternalReferences = new Map<ExternalReference, any>();\n constructor() { this.reflectionCapabilities = new ReflectionCapabilities(); }\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.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}\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 * @experimental\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 * @experimental\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\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 */\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 */\nexport const VERSION = new Version('6.0.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 * @experimental\n */\nexport const RESOURCE_CACHE_PROVIDER: Provider[] =\n [{provide: ResourceLoader, useClass: CachedResourceLoader, deps: []}];\n\n/**\n *\n */\nexport const platformBrowserDynamic = createPlatformFactory(\n platformCoreDynamic, 'browserDynamic', INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\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 this package.\n */\nexport * from './src/platform-browser-dynamic';\n\n// This file only reexports content of the `src` folder. Keep it that way.\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":";;;;;;;;;;;;;;;;;;;;;;AAQA,AAGO,MAAM,aAAa,GAAG,EAAE,CAAC;AAChC,MAAM,yBAAyB,GAAG,kCAAkC,EAAE,CAAC;AAEvE;IAGE;yCADoC,IAAI,GAAG,EAA0B;QACrD,IAAI,CAAC,sBAAsB,GAAG,IAAIA,uBAAsB,EAAE,CAAC;KAAE;;;;;;IAC7E,kBAAkB,CAAC,IAAS,EAAE,WAAsB;QAClD,uBAAM,QAAQ,GAAG,WAAW,CAAC,QAAQ,CAAC;QAEtC,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE;YAChC,uBAAM,MAAM,GAAG,YAAY,CAAC,QAAQ,CAAC,CAAC;YACtC,OAAO,MAAM,GAAG,QAA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B,yDAAyD,GAAG,GAAG,CAAC,EAAC;SACtE;KACF;CACF;;;;;;;;;;;;;;;;;;;;;;;;;ACvBD;;;AAIA,AAAO,MAAM,OAAO,GAAG,IAAI,OAAO,CAAC,mBAAmB,CAAC;;;;;;;;;;;;;ACVvD;;;AAcA,AAAO,MAAM,uBAAuB,GAChC,CAAC,EAAC,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,oBAAoB,EAAE,IAAI,EAAE,EAAE,EAAC,CAAC,CAAC;;;;AAK1E,AAAO,MAAM,sBAAsB,GAAG,qBAAqB,CACvD,mBAAmB,EAAE,gBAAgB,EAAE,2CAA2C,CAAC;;;;;;;;;;;;;;;;;;AChBvF,AAA+C;;;;;;;;;;;;;;;;;;;ACb/C;;GAEG;;;;"}
|
package/fesm2015/testing.js
CHANGED
package/fesm2015/testing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"testing.js","sources":["../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/testing/src/dom_test_component_renderer.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/testing/src/metadata_overrider.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/testing/src/compiler_factory.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/testing/src/platform_core_dynamic_testing.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/testing/src/testing.ts","../../../../../../../../../../execroot/angular/bazel-out/k8-fastbuild/bin/packages/platform-browser-dynamic/testing/testing.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 {Inject, Injectable} from '@angular/core';\nimport {TestComponentRenderer} from '@angular/core/testing';\nimport {DOCUMENT, ɵgetDOM as getDOM} from '@angular/platform-browser';\n\n/**\n * A DOM based implementation of the TestComponentRenderer.\n */\n@Injectable()\nexport class DOMTestComponentRenderer extends TestComponentRenderer {\n constructor(@Inject(DOCUMENT) private _doc: any /** TODO #9100 */) { super(); }\n\n insertRootElement(rootElId: string) {\n const rootEl = <HTMLElement>getDOM().firstChild(\n getDOM().content(getDOM().createTemplate(`<div id=\"${rootElId}\"></div>`)));\n\n // TODO(juliemr): can/should this be optional?\n const oldRoots = getDOM().querySelectorAll(this._doc, '[id^=root]');\n for (let i = 0; i < oldRoots.length; i++) {\n getDOM().remove(oldRoots[i]);\n }\n getDOM().appendChild(this._doc.body, rootEl);\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 {ɵstringify as stringify} from '@angular/core';\nimport {MetadataOverride} from '@angular/core/testing';\n\ntype StringMap = {\n [key: string]: any\n};\n\nlet _nextReferenceId = 0;\n\nexport class MetadataOverrider {\n private _references = new Map<any, string>();\n /**\n * Creates a new instance for the given metadata class\n * based on an old instance and overrides.\n */\n overrideMetadata<C extends T, T>(\n metadataClass: {new (options: T): C;}, oldMetadata: C, override: MetadataOverride<T>): C {\n const props: StringMap = {};\n if (oldMetadata) {\n _valueProps(oldMetadata).forEach((prop) => props[prop] = (<any>oldMetadata)[prop]);\n }\n\n if (override.set) {\n if (override.remove || override.add) {\n throw new Error(`Cannot set and add/remove ${stringify(metadataClass)} at the same time!`);\n }\n setMetadata(props, override.set);\n }\n if (override.remove) {\n removeMetadata(props, override.remove, this._references);\n }\n if (override.add) {\n addMetadata(props, override.add);\n }\n return new metadataClass(<any>props);\n }\n}\n\nfunction removeMetadata(metadata: StringMap, remove: any, references: Map<any, string>) {\n const removeObjects = new Set<string>();\n for (const prop in remove) {\n const removeValue = remove[prop];\n if (removeValue instanceof Array) {\n removeValue.forEach(\n (value: any) => { removeObjects.add(_propHashKey(prop, value, references)); });\n } else {\n removeObjects.add(_propHashKey(prop, removeValue, references));\n }\n }\n\n for (const prop in metadata) {\n const propValue = metadata[prop];\n if (propValue instanceof Array) {\n metadata[prop] = propValue.filter(\n (value: any) => !removeObjects.has(_propHashKey(prop, value, references)));\n } else {\n if (removeObjects.has(_propHashKey(prop, propValue, references))) {\n metadata[prop] = undefined;\n }\n }\n }\n}\n\nfunction addMetadata(metadata: StringMap, add: any) {\n for (const prop in add) {\n const addValue = add[prop];\n const propValue = metadata[prop];\n if (propValue != null && propValue instanceof Array) {\n metadata[prop] = propValue.concat(addValue);\n } else {\n metadata[prop] = addValue;\n }\n }\n}\n\nfunction setMetadata(metadata: StringMap, set: any) {\n for (const prop in set) {\n metadata[prop] = set[prop];\n }\n}\n\nfunction _propHashKey(propName: any, propValue: any, references: Map<any, string>): string {\n const replacer = (key: any, value: any) => {\n if (typeof value === 'function') {\n value = _serializeReference(value, references);\n }\n return value;\n };\n\n return `${propName}:${JSON.stringify(propValue, replacer)}`;\n}\n\nfunction _serializeReference(ref: any, references: Map<any, string>): string {\n let id = references.get(ref);\n if (!id) {\n id = `${stringify(ref)}${_nextReferenceId++}`;\n references.set(ref, id);\n }\n return id;\n}\n\n\nfunction _valueProps(obj: any): string[] {\n const props: string[] = [];\n // regular public props\n Object.keys(obj).forEach((prop) => {\n if (!prop.startsWith('_')) {\n props.push(prop);\n }\n });\n\n // getters\n let proto = obj;\n while (proto = Object.getPrototypeOf(proto)) {\n Object.keys(proto).forEach((protoProp) => {\n const desc = Object.getOwnPropertyDescriptor(proto, protoProp);\n if (!protoProp.startsWith('_') && desc && 'get' in desc) {\n props.push(protoProp);\n }\n });\n }\n return props;\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 {CompileReflector, DirectiveResolver, ERROR_COMPONENT_TYPE, NgModuleResolver, PipeResolver} from '@angular/compiler';\nimport {MockDirectiveResolver, MockNgModuleResolver, MockPipeResolver} from '@angular/compiler/testing';\nimport {Compiler, CompilerFactory, CompilerOptions, Component, ComponentFactory, Directive, Injectable, Injector, ModuleWithComponentFactories, NgModule, NgModuleFactory, Pipe, PlatformRef, StaticProvider, Type, createPlatformFactory, ɵstringify} from '@angular/core';\nimport {MetadataOverride, ɵTestingCompiler as TestingCompiler, ɵTestingCompilerFactory as TestingCompilerFactory} from '@angular/core/testing';\nimport {ɵCompilerImpl as CompilerImpl, ɵplatformCoreDynamic as platformCoreDynamic} from '@angular/platform-browser-dynamic';\n\nimport {MetadataOverrider} from './metadata_overrider';\n\nexport const COMPILER_PROVIDERS: StaticProvider[] = [\n {provide: MockPipeResolver, deps: [CompileReflector]},\n {provide: PipeResolver, useExisting: MockPipeResolver},\n {provide: MockDirectiveResolver, deps: [CompileReflector]},\n {provide: DirectiveResolver, useExisting: MockDirectiveResolver},\n {provide: MockNgModuleResolver, deps: [CompileReflector]},\n {provide: NgModuleResolver, useExisting: MockNgModuleResolver},\n];\n\nexport class TestingCompilerFactoryImpl implements TestingCompilerFactory {\n constructor(private _injector: Injector, private _compilerFactory: CompilerFactory) {}\n\n createTestingCompiler(options: CompilerOptions[]): TestingCompiler {\n const compiler = <CompilerImpl>this._compilerFactory.createCompiler(options);\n return new TestingCompilerImpl(\n compiler, compiler.injector.get(MockDirectiveResolver),\n compiler.injector.get(MockPipeResolver), compiler.injector.get(MockNgModuleResolver));\n }\n}\n\nexport class TestingCompilerImpl implements TestingCompiler {\n private _overrider = new MetadataOverrider();\n constructor(\n private _compiler: CompilerImpl, private _directiveResolver: MockDirectiveResolver,\n private _pipeResolver: MockPipeResolver, private _moduleResolver: MockNgModuleResolver) {}\n get injector(): Injector { return this._compiler.injector; }\n\n compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T> {\n return this._compiler.compileModuleSync(moduleType);\n }\n\n compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>> {\n return this._compiler.compileModuleAsync(moduleType);\n }\n compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T> {\n return this._compiler.compileModuleAndAllComponentsSync(moduleType);\n }\n\n compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>):\n Promise<ModuleWithComponentFactories<T>> {\n return this._compiler.compileModuleAndAllComponentsAsync(moduleType);\n }\n\n getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {\n return this._compiler.getComponentFactory(component);\n }\n\n checkOverrideAllowed(type: Type<any>) {\n if (this._compiler.hasAotSummary(type)) {\n throw new Error(`${ɵstringify(type)} was AOT compiled, so its metadata cannot be changed.`);\n }\n }\n\n overrideModule(ngModule: Type<any>, override: MetadataOverride<NgModule>): void {\n this.checkOverrideAllowed(ngModule);\n const oldMetadata = this._moduleResolver.resolve(ngModule, false);\n this._moduleResolver.setNgModule(\n ngModule, this._overrider.overrideMetadata(NgModule, oldMetadata, override));\n this.clearCacheFor(ngModule);\n }\n overrideDirective(directive: Type<any>, override: MetadataOverride<Directive>): void {\n this.checkOverrideAllowed(directive);\n const oldMetadata = this._directiveResolver.resolve(directive, false);\n this._directiveResolver.setDirective(\n directive, this._overrider.overrideMetadata(Directive, oldMetadata !, override));\n this.clearCacheFor(directive);\n }\n overrideComponent(component: Type<any>, override: MetadataOverride<Component>): void {\n this.checkOverrideAllowed(component);\n const oldMetadata = this._directiveResolver.resolve(component, false);\n this._directiveResolver.setDirective(\n component, this._overrider.overrideMetadata(Component, oldMetadata !, override));\n this.clearCacheFor(component);\n }\n overridePipe(pipe: Type<any>, override: MetadataOverride<Pipe>): void {\n this.checkOverrideAllowed(pipe);\n const oldMetadata = this._pipeResolver.resolve(pipe, false);\n this._pipeResolver.setPipe(pipe, this._overrider.overrideMetadata(Pipe, oldMetadata, override));\n this.clearCacheFor(pipe);\n }\n loadAotSummaries(summaries: () => any[]) { this._compiler.loadAotSummaries(summaries); }\n clearCache(): void { this._compiler.clearCache(); }\n clearCacheFor(type: Type<any>) { this._compiler.clearCacheFor(type); }\n\n getComponentFromError(error: Error) { return (error as any)[ERROR_COMPONENT_TYPE] || null; }\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, Injector, PlatformRef, StaticProvider, createPlatformFactory} from '@angular/core';\nimport {TestComponentRenderer, ɵTestingCompilerFactory as TestingCompilerFactory} from '@angular/core/testing';\nimport {ɵplatformCoreDynamic as platformCoreDynamic} from '@angular/platform-browser-dynamic';\n\nimport {COMPILER_PROVIDERS, TestingCompilerFactoryImpl} from './compiler_factory';\n\n/**\n * Platform for dynamic tests\n *\n * @experimental\n */\nexport const platformCoreDynamicTesting: (extraProviders?: any[]) => PlatformRef =\n createPlatformFactory(platformCoreDynamic, 'coreDynamicTesting', [\n {provide: COMPILER_OPTIONS, useValue: {providers: COMPILER_PROVIDERS}, multi: true}, {\n provide: TestingCompilerFactory,\n useClass: TestingCompilerFactoryImpl,\n deps: [Injector, CompilerFactory]\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 {NgModule, PlatformRef, StaticProvider, createPlatformFactory} from '@angular/core';\nimport {TestComponentRenderer} from '@angular/core/testing';\nimport {ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from '@angular/platform-browser-dynamic';\nimport {BrowserTestingModule} from '@angular/platform-browser/testing';\n\nimport {DOMTestComponentRenderer} from './dom_test_component_renderer';\nimport {platformCoreDynamicTesting} from './platform_core_dynamic_testing';\n\nexport * from './private_export_testing';\n\n/**\n *\n */\nexport const platformBrowserDynamicTesting = createPlatformFactory(\n platformCoreDynamicTesting, 'browserDynamicTesting',\n INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n\n/**\n * NgModule for testing.\n *\n *\n */\n@NgModule({\n exports: [BrowserTestingModule],\n providers: [\n {provide: TestComponentRenderer, useClass: DOMTestComponentRenderer},\n ]\n})\nexport class BrowserDynamicTestingModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {COMPILER_PROVIDERS as ɵangular_packages_platform_browser_dynamic_testing_testing_a,TestingCompilerFactoryImpl as ɵangular_packages_platform_browser_dynamic_testing_testing_b} from './src/compiler_factory';"],"names":["getDOM","stringify","compiler","platformCoreDynamic","TestingCompilerFactory","INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAQA;;;AAQA,8BAAsC,SAAQ,qBAAqB;;;;IACjE,YAAsC;QAA+B,KAAK,EAAE,CAAC;QAAvC,SAAI,GAAJ,IAAI;KAAqC;;;;;IAE/E,iBAAiB,CAAC,QAAgB;QAChC,uBAAM,MAAM,qBAAgBA,OAAM,EAAE,CAAC,UAAU,CAC3CA,OAAM,EAAE,CAAC,OAAO,CAACA,OAAM,EAAE,CAAC,cAAc,CAAC,YAAY,QAAQ,UAAU,CAAC,CAAC,CAAC,CAAA,CAAC;;QAG/E,uBAAM,QAAQ,GAAGA,OAAM,EAAE,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QACpE,KAAK,qBAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,QAAQ,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YACxCA,OAAM,EAAE,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC;SAC9B;QACDA,OAAM,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;KAC9C;;;YAdF,UAAU;;;;4CAEI,MAAM,SAAC,QAAQ;;;;;;;;;;;;;;ACT9B,AAOA,IAAI,gB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AI,CAAC,CAAC;KAC1B;;;;;IACD,gBAAgB,CAAC,SAAsB,IAAI,IAAI,CAAC,SAAS,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,EAAE;;;;IACxF,UAAU,KAAW,IAAI,CAAC,SAAS,CAAC,UAAU,EAAE,CAAC,EAAE;;;;;IACnD,aAAa,CAAC,IAAe,IAAI,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,EAAE;;;;;IAEtE,qBAAqB,CAAC,KAAY,IAAI,OAAO,mBAAC,KAAY,GAAE,oBAAoB,CAAC,IAAI,IAAI,CAAC,EAAE;CAC7F;;;;;;;;;;;;;AC7FD;;;;;AAWA,AAAO,MAAM,0BAA0B,GACnC,qBAAqB,CAACC,oBAAmB,EAAE,oBAAoB,EAAE;IAC/D,EAAC,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,EAAC,SAAS,EAAE,kBAAkB,EAAC,EAAE,KAAK,EAAE,IAAI,EAAC,EAAE;QACnF,OAAO,EAAEC,uBAAsB;QAC/B,QAAQ,EAAE,0BAA0B;QACpC,IAAI,EAAE,CAAC,QAAQ,EAAE,eAAe,CAAC;KAClC;CACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;AClBN;;;AAaA,AAAO,MAAM,6BAA6B,GAAG,qBAAqB,CAC9D,0BAA0B,EAAE,uBAAuB,EACnDC,4CAA2C,CAAC,CAAC;;;;;;AAajD;;;YANC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,oBAAoB,CAAC;gBAC/B,SAAS,EAAE;oBACT,EAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,wBAAwB,EAAC;iBACrE;aACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnCD;;GAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"testing.js","sources":["../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/testing/src/dom_test_component_renderer.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/testing/src/metadata_overrider.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/testing/src/compiler_factory.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/testing/src/platform_core_dynamic_testing.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/testing/src/testing.ts","../../../../../../../../../../execroot/angular/bazel-out/darwin-fastbuild/bin/packages/platform-browser-dynamic/testing/testing.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 {Inject, Injectable} from '@angular/core';\nimport {TestComponentRenderer} from '@angular/core/testing';\nimport {DOCUMENT, ɵgetDOM as getDOM} from '@angular/platform-browser';\n\n/**\n * A DOM based implementation of the TestComponentRenderer.\n */\n@Injectable()\nexport class DOMTestComponentRenderer extends TestComponentRenderer {\n constructor(@Inject(DOCUMENT) private _doc: any /** TODO #9100 */) { super(); }\n\n insertRootElement(rootElId: string) {\n const rootEl = <HTMLElement>getDOM().firstChild(\n getDOM().content(getDOM().createTemplate(`<div id=\"${rootElId}\"></div>`)));\n\n // TODO(juliemr): can/should this be optional?\n const oldRoots = getDOM().querySelectorAll(this._doc, '[id^=root]');\n for (let i = 0; i < oldRoots.length; i++) {\n getDOM().remove(oldRoots[i]);\n }\n getDOM().appendChild(this._doc.body, rootEl);\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 {ɵstringify as stringify} from '@angular/core';\nimport {MetadataOverride} from '@angular/core/testing';\n\ntype StringMap = {\n [key: string]: any\n};\n\nlet _nextReferenceId = 0;\n\nexport class MetadataOverrider {\n private _references = new Map<any, string>();\n /**\n * Creates a new instance for the given metadata class\n * based on an old instance and overrides.\n */\n overrideMetadata<C extends T, T>(\n metadataClass: {new (options: T): C;}, oldMetadata: C, override: MetadataOverride<T>): C {\n const props: StringMap = {};\n if (oldMetadata) {\n _valueProps(oldMetadata).forEach((prop) => props[prop] = (<any>oldMetadata)[prop]);\n }\n\n if (override.set) {\n if (override.remove || override.add) {\n throw new Error(`Cannot set and add/remove ${stringify(metadataClass)} at the same time!`);\n }\n setMetadata(props, override.set);\n }\n if (override.remove) {\n removeMetadata(props, override.remove, this._references);\n }\n if (override.add) {\n addMetadata(props, override.add);\n }\n return new metadataClass(<any>props);\n }\n}\n\nfunction removeMetadata(metadata: StringMap, remove: any, references: Map<any, string>) {\n const removeObjects = new Set<string>();\n for (const prop in remove) {\n const removeValue = remove[prop];\n if (removeValue instanceof Array) {\n removeValue.forEach(\n (value: any) => { removeObjects.add(_propHashKey(prop, value, references)); });\n } else {\n removeObjects.add(_propHashKey(prop, removeValue, references));\n }\n }\n\n for (const prop in metadata) {\n const propValue = metadata[prop];\n if (propValue instanceof Array) {\n metadata[prop] = propValue.filter(\n (value: any) => !removeObjects.has(_propHashKey(prop, value, references)));\n } else {\n if (removeObjects.has(_propHashKey(prop, propValue, references))) {\n metadata[prop] = undefined;\n }\n }\n }\n}\n\nfunction addMetadata(metadata: StringMap, add: any) {\n for (const prop in add) {\n const addValue = add[prop];\n const propValue = metadata[prop];\n if (propValue != null && propValue instanceof Array) {\n metadata[prop] = propValue.concat(addValue);\n } else {\n metadata[prop] = addValue;\n }\n }\n}\n\nfunction setMetadata(metadata: StringMap, set: any) {\n for (const prop in set) {\n metadata[prop] = set[prop];\n }\n}\n\nfunction _propHashKey(propName: any, propValue: any, references: Map<any, string>): string {\n const replacer = (key: any, value: any) => {\n if (typeof value === 'function') {\n value = _serializeReference(value, references);\n }\n return value;\n };\n\n return `${propName}:${JSON.stringify(propValue, replacer)}`;\n}\n\nfunction _serializeReference(ref: any, references: Map<any, string>): string {\n let id = references.get(ref);\n if (!id) {\n id = `${stringify(ref)}${_nextReferenceId++}`;\n references.set(ref, id);\n }\n return id;\n}\n\n\nfunction _valueProps(obj: any): string[] {\n const props: string[] = [];\n // regular public props\n Object.keys(obj).forEach((prop) => {\n if (!prop.startsWith('_')) {\n props.push(prop);\n }\n });\n\n // getters\n let proto = obj;\n while (proto = Object.getPrototypeOf(proto)) {\n Object.keys(proto).forEach((protoProp) => {\n const desc = Object.getOwnPropertyDescriptor(proto, protoProp);\n if (!protoProp.startsWith('_') && desc && 'get' in desc) {\n props.push(protoProp);\n }\n });\n }\n return props;\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 {CompileReflector, DirectiveResolver, ERROR_COMPONENT_TYPE, NgModuleResolver, PipeResolver} from '@angular/compiler';\nimport {MockDirectiveResolver, MockNgModuleResolver, MockPipeResolver} from '@angular/compiler/testing';\nimport {Compiler, CompilerFactory, CompilerOptions, Component, ComponentFactory, Directive, Injectable, Injector, ModuleWithComponentFactories, NgModule, NgModuleFactory, Pipe, PlatformRef, StaticProvider, Type, createPlatformFactory, ɵstringify} from '@angular/core';\nimport {MetadataOverride, ɵTestingCompiler as TestingCompiler, ɵTestingCompilerFactory as TestingCompilerFactory} from '@angular/core/testing';\nimport {ɵCompilerImpl as CompilerImpl, ɵplatformCoreDynamic as platformCoreDynamic} from '@angular/platform-browser-dynamic';\n\nimport {MetadataOverrider} from './metadata_overrider';\n\nexport const COMPILER_PROVIDERS: StaticProvider[] = [\n {provide: MockPipeResolver, deps: [CompileReflector]},\n {provide: PipeResolver, useExisting: MockPipeResolver},\n {provide: MockDirectiveResolver, deps: [CompileReflector]},\n {provide: DirectiveResolver, useExisting: MockDirectiveResolver},\n {provide: MockNgModuleResolver, deps: [CompileReflector]},\n {provide: NgModuleResolver, useExisting: MockNgModuleResolver},\n];\n\nexport class TestingCompilerFactoryImpl implements TestingCompilerFactory {\n constructor(private _injector: Injector, private _compilerFactory: CompilerFactory) {}\n\n createTestingCompiler(options: CompilerOptions[]): TestingCompiler {\n const compiler = <CompilerImpl>this._compilerFactory.createCompiler(options);\n return new TestingCompilerImpl(\n compiler, compiler.injector.get(MockDirectiveResolver),\n compiler.injector.get(MockPipeResolver), compiler.injector.get(MockNgModuleResolver));\n }\n}\n\nexport class TestingCompilerImpl implements TestingCompiler {\n private _overrider = new MetadataOverrider();\n constructor(\n private _compiler: CompilerImpl, private _directiveResolver: MockDirectiveResolver,\n private _pipeResolver: MockPipeResolver, private _moduleResolver: MockNgModuleResolver) {}\n get injector(): Injector { return this._compiler.injector; }\n\n compileModuleSync<T>(moduleType: Type<T>): NgModuleFactory<T> {\n return this._compiler.compileModuleSync(moduleType);\n }\n\n compileModuleAsync<T>(moduleType: Type<T>): Promise<NgModuleFactory<T>> {\n return this._compiler.compileModuleAsync(moduleType);\n }\n compileModuleAndAllComponentsSync<T>(moduleType: Type<T>): ModuleWithComponentFactories<T> {\n return this._compiler.compileModuleAndAllComponentsSync(moduleType);\n }\n\n compileModuleAndAllComponentsAsync<T>(moduleType: Type<T>):\n Promise<ModuleWithComponentFactories<T>> {\n return this._compiler.compileModuleAndAllComponentsAsync(moduleType);\n }\n\n getComponentFactory<T>(component: Type<T>): ComponentFactory<T> {\n return this._compiler.getComponentFactory(component);\n }\n\n checkOverrideAllowed(type: Type<any>) {\n if (this._compiler.hasAotSummary(type)) {\n throw new Error(`${ɵstringify(type)} was AOT compiled, so its metadata cannot be changed.`);\n }\n }\n\n overrideModule(ngModule: Type<any>, override: MetadataOverride<NgModule>): void {\n this.checkOverrideAllowed(ngModule);\n const oldMetadata = this._moduleResolver.resolve(ngModule, false);\n this._moduleResolver.setNgModule(\n ngModule, this._overrider.overrideMetadata(NgModule, oldMetadata, override));\n this.clearCacheFor(ngModule);\n }\n overrideDirective(directive: Type<any>, override: MetadataOverride<Directive>): void {\n this.checkOverrideAllowed(directive);\n const oldMetadata = this._directiveResolver.resolve(directive, false);\n this._directiveResolver.setDirective(\n directive, this._overrider.overrideMetadata(Directive, oldMetadata !, override));\n this.clearCacheFor(directive);\n }\n overrideComponent(component: Type<any>, override: MetadataOverride<Component>): void {\n this.checkOverrideAllowed(component);\n const oldMetadata = this._directiveResolver.resolve(component, false);\n this._directiveResolver.setDirective(\n component, this._overrider.overrideMetadata(Component, oldMetadata !, override));\n this.clearCacheFor(component);\n }\n overridePipe(pipe: Type<any>, override: MetadataOverride<Pipe>): void {\n this.checkOverrideAllowed(pipe);\n const oldMetadata = this._pipeResolver.resolve(pipe, false);\n this._pipeResolver.setPipe(pipe, this._overrider.overrideMetadata(Pipe, oldMetadata, override));\n this.clearCacheFor(pipe);\n }\n loadAotSummaries(summaries: () => any[]) { this._compiler.loadAotSummaries(summaries); }\n clearCache(): void { this._compiler.clearCache(); }\n clearCacheFor(type: Type<any>) { this._compiler.clearCacheFor(type); }\n\n getComponentFromError(error: Error) { return (error as any)[ERROR_COMPONENT_TYPE] || null; }\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, Injector, PlatformRef, StaticProvider, createPlatformFactory} from '@angular/core';\nimport {TestComponentRenderer, ɵTestingCompilerFactory as TestingCompilerFactory} from '@angular/core/testing';\nimport {ɵplatformCoreDynamic as platformCoreDynamic} from '@angular/platform-browser-dynamic';\n\nimport {COMPILER_PROVIDERS, TestingCompilerFactoryImpl} from './compiler_factory';\n\n/**\n * Platform for dynamic tests\n *\n * @experimental\n */\nexport const platformCoreDynamicTesting: (extraProviders?: any[]) => PlatformRef =\n createPlatformFactory(platformCoreDynamic, 'coreDynamicTesting', [\n {provide: COMPILER_OPTIONS, useValue: {providers: COMPILER_PROVIDERS}, multi: true}, {\n provide: TestingCompilerFactory,\n useClass: TestingCompilerFactoryImpl,\n deps: [Injector, CompilerFactory]\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 {NgModule, PlatformRef, StaticProvider, createPlatformFactory} from '@angular/core';\nimport {TestComponentRenderer} from '@angular/core/testing';\nimport {ɵINTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS as INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS} from '@angular/platform-browser-dynamic';\nimport {BrowserTestingModule} from '@angular/platform-browser/testing';\n\nimport {DOMTestComponentRenderer} from './dom_test_component_renderer';\nimport {platformCoreDynamicTesting} from './platform_core_dynamic_testing';\n\nexport * from './private_export_testing';\n\n/**\n *\n */\nexport const platformBrowserDynamicTesting = createPlatformFactory(\n platformCoreDynamicTesting, 'browserDynamicTesting',\n INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS);\n\n/**\n * NgModule for testing.\n *\n *\n */\n@NgModule({\n exports: [BrowserTestingModule],\n providers: [\n {provide: TestComponentRenderer, useClass: DOMTestComponentRenderer},\n ]\n})\nexport class BrowserDynamicTestingModule {\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n\nexport {COMPILER_PROVIDERS as ɵangular_packages_platform_browser_dynamic_testing_testing_a,TestingCompilerFactoryImpl as ɵangular_packages_platform_browser_dynamic_testing_testing_b} from './src/compiler_factory';"],"names":["getDOM","stringify","compiler","platformCoreDynamic","TestingCompilerFactory","INTERNAL_BROWSER_DYNAMIC_PLATFORM_PROVIDERS"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAQA;;;AAQA,8BAAsC,SAAQ,qBAAqB;;;;IACjE,YAAsC;QAA+B,KAAK,EAAE,CAAC;QAAvC,SAAI,GAAJ,IAAI;KAAqC;;;;;IAE/E,iBAAiB,CAAC,QAAgB;QAChC,uBAAM,MAAM,qBAAgBA,OAAM,EAAE,CAAC,UAAU,CAC3CA,OA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,EAAE,0BAA0B;QACpC,IAAI,EAAE,CAAC,QAAQ,EAAE,eAAe,CAAC;KAClC;CACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;AClBN;;;AAaA,AAAO,MAAM,6BAA6B,GAAG,qBAAqB,CAC9D,0BAA0B,EAAE,uBAAuB,EACnDC,4CAA2C,CAAC,CAAC;;;;;;AAajD;;;YANC,QAAQ,SAAC;gBACR,OAAO,EAAE,CAAC,oBAAoB,CAAC;gBAC/B,SAAS,EAAE;oBACT,EAAC,OAAO,EAAE,qBAAqB,EAAE,QAAQ,EAAE,wBAAwB,EAAC;iBACrE;aACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnCD;;GAEG;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v6.0.0
|
|
2
|
+
* @license Angular v6.0.0
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -431,7 +431,7 @@ var CachedResourceLoader = /** @class */ (function (_super) {
|
|
|
431
431
|
/**
|
|
432
432
|
*
|
|
433
433
|
*/
|
|
434
|
-
var VERSION = new Version('6.0.0
|
|
434
|
+
var VERSION = new Version('6.0.0');
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
437
|
* @license
|