blob: af540e204b0c9dfe5e6314a02df7a0bce8bfdf3f [file] [log] [blame]
{"version":3,"sources":["packages/compiler/compiler-testing.umd.js"],"names":["global","factory","exports","module","require","define","amd","self","ng","compiler","testing","this","extendStatics","d","b","Object","setPrototypeOf","__proto__","Array","p","hasOwnProperty","__extends","__","constructor","prototype","create","MockResourceLoader","_super","_this","apply","arguments","_expectations","_definitions","Map","_requests","get","url","request","_PendingRequest","push","getPromise","hasPendingRequests","length","expect","response","expectation","_Expectation","when","set","flush","Error","_processRequest","shift","verifyNoOutstandingExpectations","urls","i","join","remove","list","el","index","indexOf","splice","complete","has","ResourceLoader","promise","Promise","res","rej","resolve","reject","MockSchemaRegistry","existingProperties","attrPropMapping","existingElements","invalidProperties","invalidAttributes","hasProperty","tagName","property","schemas","value","hasElement","schemaMetas","toLowerCase","allKnownElementNames","keys","securityContext","selector","isAttribute","core","SecurityContext","NONE","getMappedPropName","attrName","getDefaultComponentElementName","validateProperty","name","error","msg","validateAttribute","normalizeAnimationStyleProperty","propName","normalizeAnimationStyleValue","camelCaseProp","userProvidedProp","val","toString","MockDirectiveResolver","reflector","call","_directives","type","throwIfNotFound","setDirective","metadata","DirectiveResolver","MockNgModuleResolver","_ngModules","setNgModule","NgModuleResolver","MockPipeResolver","refector","_pipes","setPipe","PipeResolver","defineProperty"],"mappings":";;;;;CAMC,SAAUA,EAAQC,GACI,iBAAZC,SAA0C,oBAAXC,OAAyBF,EAAQC,QAASE,QAAQ,sBACtE,mBAAXC,QAAyBA,OAAOC,IAAMD,OAAO,4BAA6B,CAAC,UAAW,qBAAsBJ,GACzFA,IAAzBD,EAASA,GAAUO,MAAsBC,GAAKR,EAAOQ,IAAM,GAAIR,EAAOQ,GAAGC,SAAWT,EAAOQ,GAAGC,UAAY,GAAIT,EAAOQ,GAAGC,SAASC,QAAU,IAAKV,EAAOQ,GAAGC,UAH/J,CAIEE,KAAM,SAAUT,EAASO,GAAY,aAkBnC,IAAIG,EAAgB,SAASC,EAAGC,GAI5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Z,EAAMG,GAAYzG,KAAKiH,OAAO5E,IAAIiE,EAAMG,IAOvFM,EAAiBlG,UAAU8C,QAAU,SAAU2C,EAAMC,QACzB,IAApBA,IAA8BA,GAAkB,GACpD,IAAIE,EAAWzG,KAAKiH,OAAOzF,IAAI8E,GAI/B,OAHKG,IACDA,EAAWzF,EAAOH,UAAU8C,QAAQyC,KAAKpG,KAAMsG,EAAMC,IAElDE,GAEJM,EAzB0B,CA0BnCjH,EAASqH;;;;;;;;;;;;;;;;;;;;;;AA+BX5H,EAAQwB,mBAAqBA,EAC7BxB,EAAQsE,mBAAqBA,EAC7BtE,EAAQ2G,sBAAwBA,EAChC3G,EAAQoH,qBAAuBA,EAC/BpH,EAAQwH,iBAAmBA,EAE3B3G,OAAOgH,eAAe7H,EAAS,aAAc,CAAEgF,OAAO","sourcesContent":["/**\n * @license Angular v8.1.1\n * (c) 2010-2019 Google LLC. https://angular.io/\n * License: MIT\n */\n\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/compiler')) :\n typeof define === 'function' && define.amd ? define('@angular/compiler/testing', ['exports', '@angular/compiler'], factory) :\n (global = global || self, factory((global.ng = global.ng || {}, global.ng.compiler = global.ng.compiler || {}, global.ng.compiler.testing = {}), global.ng.compiler));\n}(this, function (exports, compiler) { 'use strict';\n\n /*! *****************************************************************************\r\n Copyright (c) Microsoft Corporation. All rights reserved.\r\n Licensed under the Apache License, Version 2.0 (the \"License\"); you may not use\r\n this file except in compliance with the License. You may obtain a copy of the\r\n License at http://www.apache.org/licenses/LICENSE-2.0\r\n\r\n THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\r\n KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED\r\n WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,\r\n MERCHANTABLITY OR NON-INFRINGEMENT.\r\n\r\n See the Apache Version 2.0 License for specific language governing permissions\r\n and limitations under the License.\r\n ***************************************************************************** */\r\n /* global Reflect, Promise */\r\n\r\n var extendStatics = function(d, b) {\r\n 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 return extendStatics(d, b);\r\n };\r\n\r\n function __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 }\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 mock implementation of {@link ResourceLoader} that allows outgoing requests to be mocked\n * and responded to within a single test, without going to the network.\n */\n var MockResourceLoader = /** @class */ (function (_super) {\n __extends(MockResourceLoader, _super);\n function MockResourceLoader() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this._expectations = [];\n _this._definitions = new Map();\n _this._requests = [];\n return _this;\n }\n MockResourceLoader.prototype.get = function (url) {\n var request = new _PendingRequest(url);\n this._requests.push(request);\n return request.getPromise();\n };\n MockResourceLoader.prototype.hasPendingRequests = function () { return !!this._requests.length; };\n /**\n * Add an expectation for the given URL. Incoming requests will be checked against\n * the next expectation (in FIFO order). The `verifyNoOutstandingExpectations` method\n * can be used to check if any expectations have not yet been met.\n *\n * The response given will be returned if the expectation matches.\n */\n MockResourceLoader.prototype.expect = function (url, response) {\n var expectation = new _Expectation(url, response);\n this._expectations.push(expectation);\n };\n /**\n * Add a definition for the given URL to return the given response. Unlike expectations,\n * definitions have no order and will satisfy any matching request at any time. Also\n * unlike expectations, unused definitions do not cause `verifyNoOutstandingExpectations`\n * to return an error.\n */\n MockResourceLoader.prototype.when = function (url, response) { this._definitions.set(url, response); };\n /**\n * Process pending requests and verify there are no outstanding expectations. Also fails\n * if no requests are pending.\n */\n MockResourceLoader.prototype.flush = function () {\n if (this._requests.length === 0) {\n throw new Error('No pending requests to flush');\n }\n do {\n this._processRequest(this._requests.shift());\n } while (this._requests.length > 0);\n this.verifyNoOutstandingExpectations();\n };\n /**\n * Throw an exception if any expectations have not been satisfied.\n */\n MockResourceLoader.prototype.verifyNoOutstandingExpectations = function () {\n if (this._expectations.length === 0)\n return;\n var urls = [];\n for (var i = 0; i < this._expectations.length; i++) {\n var expectation = this._expectations[i];\n urls.push(expectation.url);\n }\n throw new Error(\"Unsatisfied requests: \" + urls.join(', '));\n };\n MockResourceLoader.prototype._processRequest = function (request) {\n var url = request.url;\n if (this._expectations.length > 0) {\n var expectation = this._expectations[0];\n if (expectation.url == url) {\n remove(this._expectations, expectation);\n request.complete(expectation.response);\n return;\n }\n }\n if (this._definitions.has(url)) {\n var response = this._definitions.get(url);\n request.complete(response == null ? null : response);\n return;\n }\n throw new Error(\"Unexpected request \" + url);\n };\n return MockResourceLoader;\n }(compiler.ResourceLoader));\n var _PendingRequest = /** @class */ (function () {\n function _PendingRequest(url) {\n var _this = this;\n this.url = url;\n this.promise = new Promise(function (res, rej) {\n _this.resolve = res;\n _this.reject = rej;\n });\n }\n _PendingRequest.prototype.complete = function (response) {\n if (response == null) {\n this.reject(\"Failed to load \" + this.url);\n }\n else {\n this.resolve(response);\n }\n };\n _PendingRequest.prototype.getPromise = function () { return this.promise; };\n return _PendingRequest;\n }());\n var _Expectation = /** @class */ (function () {\n function _Expectation(url, response) {\n this.url = url;\n this.response = response;\n }\n return _Expectation;\n }());\n function remove(list, el) {\n var index = list.indexOf(el);\n if (index > -1) {\n list.splice(index, 1);\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 var MockSchemaRegistry = /** @class */ (function () {\n function MockSchemaRegistry(existingProperties, attrPropMapping, existingElements, invalidProperties, invalidAttributes) {\n this.existingProperties = existingProperties;\n this.attrPropMapping = attrPropMapping;\n this.existingElements = existingElements;\n this.invalidProperties = invalidProperties;\n this.invalidAttributes = invalidAttributes;\n }\n MockSchemaRegistry.prototype.hasProperty = function (tagName, property, schemas) {\n var value = this.existingProperties[property];\n return value === void 0 ? true : value;\n };\n MockSchemaRegistry.prototype.hasElement = function (tagName, schemaMetas) {\n var value = this.existingElements[tagName.toLowerCase()];\n return value === void 0 ? true : value;\n };\n MockSchemaRegistry.prototype.allKnownElementNames = function () { return Object.keys(this.existingElements); };\n MockSchemaRegistry.prototype.securityContext = function (selector, property, isAttribute) {\n return compiler.core.SecurityContext.NONE;\n };\n MockSchemaRegistry.prototype.getMappedPropName = function (attrName) { return this.attrPropMapping[attrName] || attrName; };\n MockSchemaRegistry.prototype.getDefaultComponentElementName = function () { return 'ng-component'; };\n MockSchemaRegistry.prototype.validateProperty = function (name) {\n if (this.invalidProperties.indexOf(name) > -1) {\n return { error: true, msg: \"Binding to property '\" + name + \"' is disallowed for security reasons\" };\n }\n else {\n return { error: false };\n }\n };\n MockSchemaRegistry.prototype.validateAttribute = function (name) {\n if (this.invalidAttributes.indexOf(name) > -1) {\n return {\n error: true,\n msg: \"Binding to attribute '\" + name + \"' is disallowed for security reasons\"\n };\n }\n else {\n return { error: false };\n }\n };\n MockSchemaRegistry.prototype.normalizeAnimationStyleProperty = function (propName) { return propName; };\n MockSchemaRegistry.prototype.normalizeAnimationStyleValue = function (camelCaseProp, userProvidedProp, val) {\n return { error: null, value: val.toString() };\n };\n return MockSchemaRegistry;\n }());\n\n /**\n * An implementation of {@link DirectiveResolver} that allows overriding\n * various properties of directives.\n */\n var MockDirectiveResolver = /** @class */ (function (_super) {\n __extends(MockDirectiveResolver, _super);\n function MockDirectiveResolver(reflector) {\n var _this = _super.call(this, reflector) || this;\n _this._directives = new Map();\n return _this;\n }\n MockDirectiveResolver.prototype.resolve = function (type, throwIfNotFound) {\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n return this._directives.get(type) || _super.prototype.resolve.call(this, type, throwIfNotFound);\n };\n /**\n * Overrides the {@link core.Directive} for a directive.\n */\n MockDirectiveResolver.prototype.setDirective = function (type, metadata) {\n this._directives.set(type, metadata);\n };\n return MockDirectiveResolver;\n }(compiler.DirectiveResolver));\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 var MockNgModuleResolver = /** @class */ (function (_super) {\n __extends(MockNgModuleResolver, _super);\n function MockNgModuleResolver(reflector) {\n var _this = _super.call(this, reflector) || this;\n _this._ngModules = new Map();\n return _this;\n }\n /**\n * Overrides the {@link NgModule} for a module.\n */\n MockNgModuleResolver.prototype.setNgModule = function (type, metadata) {\n this._ngModules.set(type, metadata);\n };\n /**\n * Returns the {@link NgModule} for a module:\n * - Set the {@link NgModule} to the overridden view when it exists or fallback to the\n * default\n * `NgModuleResolver`, see `setNgModule`.\n */\n MockNgModuleResolver.prototype.resolve = function (type, throwIfNotFound) {\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n return this._ngModules.get(type) || _super.prototype.resolve.call(this, type, throwIfNotFound);\n };\n return MockNgModuleResolver;\n }(compiler.NgModuleResolver));\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 var MockPipeResolver = /** @class */ (function (_super) {\n __extends(MockPipeResolver, _super);\n function MockPipeResolver(refector) {\n var _this = _super.call(this, refector) || this;\n _this._pipes = new Map();\n return _this;\n }\n /**\n * Overrides the {@link Pipe} for a pipe.\n */\n MockPipeResolver.prototype.setPipe = function (type, metadata) { this._pipes.set(type, metadata); };\n /**\n * Returns the {@link Pipe} for a pipe:\n * - Set the {@link Pipe} to the overridden view when it exists or fallback to the\n * default\n * `PipeResolver`, see `setPipe`.\n */\n MockPipeResolver.prototype.resolve = function (type, throwIfNotFound) {\n if (throwIfNotFound === void 0) { throwIfNotFound = true; }\n var metadata = this._pipes.get(type);\n if (!metadata) {\n metadata = _super.prototype.resolve.call(this, type, throwIfNotFound);\n }\n return metadata;\n };\n return MockPipeResolver;\n }(compiler.PipeResolver));\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 // 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\n exports.MockResourceLoader = MockResourceLoader;\n exports.MockSchemaRegistry = MockSchemaRegistry;\n exports.MockDirectiveResolver = MockDirectiveResolver;\n exports.MockNgModuleResolver = MockNgModuleResolver;\n exports.MockPipeResolver = MockPipeResolver;\n\n Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n//# sourceMappingURL=compiler-testing.umd.js.map\n"]}