@angular/language-service 6.0.3 → 6.0.7
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v6.0.
|
|
2
|
+
* @license Angular v6.0.7
|
|
3
3
|
* (c) 2010-2018 Google, Inc. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -17,7 +17,7 @@ var $deferred,$resolved,$provided,$reflect={defineMetadata:function(){},getOwnMe
|
|
|
17
17
|
*
|
|
18
18
|
* Use of this source code is governed by an MIT-style license that can be
|
|
19
19
|
* found in the LICENSE file at https://angular.io/license
|
|
20
|
-
*/!function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"}(b||(b={})),function(t){t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore"}(w||(w={}));var j=/-+([a-z0-9])/g;function L(t,e){return F(t,":",e)}function F(t,e,n){var r=t.indexOf(e);return-1==r?n:[t.slice(0,r).trim(),t.slice(r+1).trim()]}function V(t,e,n){return Array.isArray(t)?e.visitArray(t,n):function r(t){return"object"==typeof t&&null!==t&&Object.getPrototypeOf(t)===Q}(t)?e.visitStringMap(t,n):null==t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t?e.visitPrimitive(t,n):e.visitOther(t,n)}function H(t){return null!==t&&void 0!==t}function B(t){return void 0===t?null:t}var q=function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return t.map(function(t){return V(t,n,e)})},t.prototype.visitStringMap=function(t,e){var n=this,r={};return Object.keys(t).forEach(function(i){r[i]=V(t[i],n,e)}),r},t.prototype.visitPrimitive=function(t,e){return t},t.prototype.visitOther=function(t,e){return t},t}(),K=function(t,e){return J(t)?t.then(e):e(t)};function U(t){throw new Error("Internal Error: "+t)}function z(t,e){var n=Error(t);return n[W]=!0,e&&(n[G]=e),n}var W="ngSyntaxError",G="ngParseErrors";function X(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}var Q=Object.getPrototypeOf({});function Y(t){for(var e="",n=0;n<t.length;n++){var r=t.charCodeAt(n);if(r>=55296&&r<=56319&&t.length>n+1){var i=t.charCodeAt(n+1);i>=56320&&i<=57343&&(n++,r=(r-55296<<10)+i-56320+65536)}r<=127?e+=String.fromCharCode(r):r<=2047?e+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?e+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(e+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return e}function Z(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(Z).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function $(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")?t():t}function J(t){return!!t&&"function"==typeof t.then}new function tt(t){this.full=t;var e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}("6.0.
|
|
20
|
+
*/!function(t){t[t.NONE=0]="NONE",t[t.HTML=1]="HTML",t[t.STYLE=2]="STYLE",t[t.SCRIPT=3]="SCRIPT",t[t.URL=4]="URL",t[t.RESOURCE_URL=5]="RESOURCE_URL"}(b||(b={})),function(t){t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore"}(w||(w={}));var j=/-+([a-z0-9])/g;function L(t,e){return F(t,":",e)}function F(t,e,n){var r=t.indexOf(e);return-1==r?n:[t.slice(0,r).trim(),t.slice(r+1).trim()]}function V(t,e,n){return Array.isArray(t)?e.visitArray(t,n):function r(t){return"object"==typeof t&&null!==t&&Object.getPrototypeOf(t)===Q}(t)?e.visitStringMap(t,n):null==t||"string"==typeof t||"number"==typeof t||"boolean"==typeof t?e.visitPrimitive(t,n):e.visitOther(t,n)}function H(t){return null!==t&&void 0!==t}function B(t){return void 0===t?null:t}var q=function(){function t(){}return t.prototype.visitArray=function(t,e){var n=this;return t.map(function(t){return V(t,n,e)})},t.prototype.visitStringMap=function(t,e){var n=this,r={};return Object.keys(t).forEach(function(i){r[i]=V(t[i],n,e)}),r},t.prototype.visitPrimitive=function(t,e){return t},t.prototype.visitOther=function(t,e){return t},t}(),K=function(t,e){return J(t)?t.then(e):e(t)};function U(t){throw new Error("Internal Error: "+t)}function z(t,e){var n=Error(t);return n[W]=!0,e&&(n[G]=e),n}var W="ngSyntaxError",G="ngParseErrors";function X(t){return t.replace(/([.*+?^=!:${}()|[\]\/\\])/g,"\\$1")}var Q=Object.getPrototypeOf({});function Y(t){for(var e="",n=0;n<t.length;n++){var r=t.charCodeAt(n);if(r>=55296&&r<=56319&&t.length>n+1){var i=t.charCodeAt(n+1);i>=56320&&i<=57343&&(n++,r=(r-55296<<10)+i-56320+65536)}r<=127?e+=String.fromCharCode(r):r<=2047?e+=String.fromCharCode(r>>6&31|192,63&r|128):r<=65535?e+=String.fromCharCode(r>>12|224,r>>6&63|128,63&r|128):r<=2097151&&(e+=String.fromCharCode(r>>18&7|240,r>>12&63|128,r>>6&63|128,63&r|128))}return e}function Z(t){if("string"==typeof t)return t;if(t instanceof Array)return"["+t.map(Z).join(", ")+"]";if(null==t)return""+t;if(t.overriddenName)return""+t.overriddenName;if(t.name)return""+t.name;var e=t.toString();if(null==e)return""+e;var n=e.indexOf("\n");return-1===n?e:e.substring(0,n)}function $(t){return"function"==typeof t&&t.hasOwnProperty("__forward_ref__")?t():t}function J(t){return!!t&&"function"==typeof t.then}new function tt(t){this.full=t;var e=t.split(".");this.major=e[0],this.minor=e[1],this.patch=e.slice(2).join(".")}("6.0.7");var et,nt=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitText(this,e)},t}(),rt=function(){function t(t,e,n){this.value=t,this.ngContentIndex=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitBoundText(this,e)},t}(),it=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitAttr(this,e)},t}(),ot=function(){function t(t,e,n,r,i,o){this.name=t,this.type=e,this.securityContext=n,this.value=r,this.unit=i,this.sourceSpan=o,this.isAnimation=this.type===dt.Animation}return t.prototype.visit=function(t,e){return t.visitElementProperty(this,e)},t}(),st=function(){function t(e,n,r,i,o){this.name=e,this.target=n,this.phase=r,this.handler=i,this.sourceSpan=o,this.fullName=t.calcFullName(this.name,this.target,this.phase),this.isAnimation=!!this.phase}return t.calcFullName=function(t,e,n){return e?e+":"+t:n?"@"+t+"."+n:t},t.prototype.visit=function(t,e){return t.visitEvent(this,e)},t}(),at=function(){function t(t,e,n,r){this.name=t,this.value=e,this.originalValue=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitReference(this,e)},t}(),ut=function(){function t(t,e,n){this.name=t,this.value=e,this.sourceSpan=n}return t.prototype.visit=function(t,e){return t.visitVariable(this,e)},t}(),ct=function(){function t(t,e,n,r,i,o,s,a,u,c,l,p,h){this.name=t,this.attrs=e,this.inputs=n,this.outputs=r,this.references=i,this.directives=o,this.providers=s,this.hasViewContainer=a,this.queryMatches=u,this.children=c,this.ngContentIndex=l,this.sourceSpan=p,this.endSourceSpan=h}return t.prototype.visit=function(t,e){return t.visitElement(this,e)},t}(),lt=function(){function t(t,e,n,r,i,o,s,a,u,c,l){this.attrs=t,this.outputs=e,this.references=n,this.variables=r,this.directives=i,this.providers=o,this.hasViewContainer=s,this.queryMatches=a,this.children=u,this.ngContentIndex=c,this.sourceSpan=l}return t.prototype.visit=function(t,e){return t.visitEmbeddedTemplate(this,e)},t}(),pt=function(){function t(t,e,n,r){this.directiveName=t,this.templateName=e,this.value=n,this.sourceSpan=r}return t.prototype.visit=function(t,e){return t.visitDirectiveProperty(this,e)},t}(),ht=function(){function t(t,e,n,r,i,o){this.directive=t,this.inputs=e,this.hostProperties=n,this.hostEvents=r,this.contentQueryStartId=i,this.sourceSpan=o}return t.prototype.visit=function(t,e){return t.visitDirective(this,e)},t}(),ft=function(){function t(t,e,n,r,i,o,s,a){this.token=t,this.multiProvider=e,this.eager=n,this.providers=r,this.providerType=i,this.lifecycleHooks=o,this.sourceSpan=s,this.isModule=a}return t.prototype.visit=function(t,e){return null},t}();
|
|
21
21
|
/**
|
|
22
22
|
* @license
|
|
23
23
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -235,7 +235,7 @@ var he,fe="select",de="link",ve="rel",ye="href",me="stylesheet",ge="style",_e="s
|
|
|
235
235
|
*
|
|
236
236
|
* Use of this source code is governed by an MIT-style license that can be
|
|
237
237
|
* found in the LICENSE file at https://angular.io/license
|
|
238
|
-
*/(e))}(t,n,e)})}(this._reflector,r.reference)}},t.prototype._getFactoryMetadata=function(t,e){return void 0===e&&(e=null),{reference:t=$(t),diDeps:this._getDependenciesMetadata(t,e)}},t.prototype.getPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||this._reportError(z("Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe "+As(t)+"."),t),e||null},t.prototype.getPipeSummary=function(t){var e=this._loadSummary(t,Ct.Pipe);return e||this._reportError(z("Illegal state: Could not load the summary for pipe "+As(t)+"."),t),e},t.prototype.getOrLoadPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||(e=this._loadPipeMetadata(t)),e},t.prototype._loadPipeMetadata=function(t){t=$(t);var e=this._pipeResolver.resolve(t),n=new It({type:this._getTypeMetadata(t),name:e.name,pure:!!e.pure});return this._pipeCache.set(t,n),this._summaryCache.set(t,n.toSummary()),n},t.prototype._getDependenciesMetadata=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=!1,o=(e||this._reflector.parameters(t)||[]).map(function(t){var e=!1,n=!1,o=!1,s=!1,a=!1,u=null;return Array.isArray(t)?t.forEach(function(t){I.isTypeOf(t)?n=!0:k.isTypeOf(t)?o=!0:M.isTypeOf(t)?s=!0:O.isTypeOf(t)?a=!0:d.isTypeOf(t)?(e=!0,u=t.attributeName):h.isTypeOf(t)?u=t.token:f.isTypeOf(t)||t instanceof wt?u=t:Cs(t)&&null==u&&(u=t)}):u=t,null==u?(i=!0,null):{isAttribute:e,isHost:n,isSelf:o,isSkipSelf:s,isOptional:a,token:r._getTokenMetadata(u)}});if(i){var s=o.map(function(t){return t?As(t.token):"?"}).join(", "),a="Can't resolve all parameters for "+As(t)+": ("+s+").";n||this._config.strictInjectionParameters?this._reportError(z(a),t):this._console.warn("Warning: "+a+" This will become an error in Angular v6.x")}return o},t.prototype._getTokenMetadata=function(t){return"string"==typeof(t=$(t))?{value:t}:{identifier:{reference:t}}},t.prototype._getProvidersMetadata=function(t,e,n,r,i){var o=this;return void 0===r&&(r=[]),t.forEach(function(s,a){if(Array.isArray(s))o._getProvidersMetadata(s,e,n,r);else{var u=void 0;if((s=$(s))&&"object"==typeof s&&s.hasOwnProperty("provide"))o._validateProvider(s),u=new Lt(s.provide,s);else{if(!Cs(s)){if(void 0===s)return void o._reportError(z("Encountered undefined provider! Usually this means you have a circular dependencies (might be caused by using 'barrel' index.ts files."));var l=t.reduce(function(t,e,n){return n<a?t.push(""+As(e)):n==a?t.push("?"+As(e)+"?"):n==a+1&&t.push("..."),t},[]).join(", ");return void o._reportError(z("Invalid "+(n||"provider")+" - only instances of Provider and Type are allowed, got: ["+l+"]"),i)}u=new Lt(s,{useClass:s})}u.token===o._reflector.resolveExternalReference(oo.ANALYZE_FOR_ENTRY_COMPONENTS)?e.push.apply(e,c(o._getEntryComponentsFromProvider(u,i))):r.push(o.getProviderMetadata(u))}}),r},t.prototype._validateProvider=function(t){t.hasOwnProperty("useClass")&&null==t.useClass&&this._reportError(z("Invalid provider for "+As(t.provide)+". useClass cannot be "+t.useClass+".\n Usually it happens when:\n 1. There's a circular dependency (might be caused by using index.ts (barrel) files).\n 2. Class was used before it was declared. Use forwardRef in this case."))},t.prototype._getEntryComponentsFromProvider=function(t,e){var n=this,r=[],i=[];return t.useFactory||t.useExisting||t.useClass?(this._reportError(z("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!"),e),[]):t.multi?(function o(t,e){V(t,new Ts,e)}(t.useValue,i),i.forEach(function(t){var e=n._getEntryComponentMetadata(t.reference,!1);e&&r.push(e)}),r):(this._reportError(z("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!"),e),[])},t.prototype._getEntryComponentMetadata=function(t,e){void 0===e&&(e=!0);var n=this.getNonNormalizedDirectiveMetadata(t);if(n&&n.metadata.isComponent)return{componentType:t,componentFactory:n.metadata.componentFactory};var r=this._loadSummary(t,Ct.Directive);if(r&&r.isComponent)return{componentType:t,componentFactory:r.componentFactory};if(e)throw z(t.name+" cannot be used as an entry component.");return null},t.prototype._getInjectableTypeMetadata=function(t,e){void 0===e&&(e=null);var n=this._loadSummary(t,Ct.Injectable);return n?n.type:this._getTypeMetadata(t,e)},t.prototype.getProviderMetadata=function(t){var e=void 0,n=null,r=null,i=this._getTokenMetadata(t.token);return t.useClass?(e=(n=this._getInjectableTypeMetadata(t.useClass,t.dependencies)).diDeps,t.token===t.useClass&&(i={identifier:n})):t.useFactory&&(e=(r=this._getFactoryMetadata(t.useFactory,t.dependencies)).diDeps),{token:i,useClass:n,useValue:t.useValue,useFactory:r,useExisting:t.useExisting?this._getTokenMetadata(t.useExisting):void 0,deps:e,multi:t.multi}},t.prototype._getQueriesMetadata=function(t,e,n){var r=this,i=[];return Object.keys(t).forEach(function(o){var s=t[o];s.isViewQuery===e&&i.push(r._getQueryMetadata(s,o,n))}),i},t.prototype._queryVarBindings=function(t){return t.split(/\s*,\s*/)},t.prototype._getQueryMetadata=function(t,e,n){var r,i=this;return"string"==typeof t.selector?r=this._queryVarBindings(t.selector).map(function(t){return i._getTokenMetadata(t)}):t.selector?r=[this._getTokenMetadata(t.selector)]:(this._reportError(z("Can't construct a query for the property \""+e+'" of "'+As(n)+"\" since the query selector wasn't defined."),n),r=[]),{selectors:r,first:t.first,descendants:t.descendants,propertyName:e,read:t.read?this._getTokenMetadata(t.read):null}},t.prototype._reportError=function(t,e,n){if(!this._errorCollector)throw t;this._errorCollector(t,e),n&&this._errorCollector(t,n)},t}();function Ss(t){return function e(t){return t?Array.from(new Set(t)):[]}(function t(e,n){if(void 0===n&&(n=[]),e)for(var r=0;r<e.length;r++){var i=$(e[r]);Array.isArray(i)?t(i,n):n.push(i)}return n}(t))}function Cs(t){return t instanceof wt||t instanceof R}var Ts=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.visitOther=function(t,e){e.push({reference:t})},e}(q);function As(t){return t instanceof wt?t.name+" in "+t.filePath:Z(t)}var Ps=function(t){function e(e,n){return t.call(this,n,e)||this}return o(e,t),e}(pr),Ns=function Ns(t,e){var n=this;this.reflector=t,this.component=e,this.errors=[],this.viewQueries=function r(t){var e=1,n=new Map;return t.viewQueries&&t.viewQueries.forEach(function(t){return Ms(n,{meta:t,queryId:e++})}),n}(e),this.viewProviders=new Map,e.viewProviders.forEach(function(t){null==n.viewProviders.get(Nt(t.token))&&n.viewProviders.set(Nt(t.token),!0)})},Os=function(){function t(t,e,n,r,i,o,s,a,u){var c=this;this.viewContext=t,this._parent=e,this._isViewRoot=n,this._directiveAsts=r,this._sourceSpan=u,this._transformedProviders=new Map,this._seenProviders=new Map,this._queriedTokens=new Map,this.transformedHasViewContainer=!1,this._attrs={},i.forEach(function(t){return c._attrs[t.name]=t.value});var l=r.map(function(t){return t.directive});if(this._allProviders=function p(t,e,n){var r=new Map;return t.forEach(function(t){ks([{token:{identifier:t.type},useClass:t.type}],t.isComponent?et.Component:et.Directive,!0,e,n,r,!1)}),t.filter(function(t){return t.isComponent}).concat(t.filter(function(t){return!t.isComponent})).forEach(function(t){ks(t.providers,et.PublicService,!1,e,n,r,!1),ks(t.viewProviders,et.PrivateService,!1,e,n,r,!1)}),r}(l,u,t.errors),this._contentQueries=function h(t,e){var n=t,r=new Map;return e.forEach(function(t,e){t.queries&&t.queries.forEach(function(t){return Ms(r,{meta:t,queryId:n++})})}),r}(a,l),Array.from(this._allProviders.values()).forEach(function(t){c._addQueryReadsTo(t.token,t.token,c._queriedTokens)}),s){var f=ao(this.viewContext.reflector,oo.TemplateRef);this._addQueryReadsTo(f,f,this._queriedTokens)}o.forEach(function(t){var e=t.value||ao(c.viewContext.reflector,oo.ElementRef);c._addQueryReadsTo({value:t.name},e,c._queriedTokens)}),this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(oo.ViewContainerRef))&&(this.transformedHasViewContainer=!0),Array.from(this._allProviders.values()).forEach(function(t){(t.eager||c._queriedTokens.get(Nt(t.token)))&&c._getOrCreateLocalProvider(t.providerType,t.token,!0)})}return t.prototype.afterElement=function(){var t=this;Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.providerType,e.token,!1)})},Object.defineProperty(t.prototype,"transformProviders",{get:function(){var t=[],e=[];return this._transformedProviders.forEach(function(n){n.eager?e.push(n):t.push(n)}),t.concat(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transformedDirectiveAsts",{get:function(){var t=this.transformProviders.map(function(t){return t.token.identifier}),e=this._directiveAsts.slice();return e.sort(function(e,n){return t.indexOf(e.directive.type)-t.indexOf(n.directive.type)}),e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryMatches",{get:function(){var t=[];return this._queriedTokens.forEach(function(e){t.push.apply(t,c(e))}),t},enumerable:!0,configurable:!0}),t.prototype._addQueryReadsTo=function(t,e,n){this._getQueriesFor(t).forEach(function(t){var r=t.meta.read||e,i=Nt(r),o=n.get(i);o||n.set(i,o=[]),o.push({queryId:t.queryId,value:r})})},t.prototype._getQueriesFor=function(t){for(var e,n=[],r=this,i=0;null!==r;)(e=r._contentQueries.get(Nt(t)))&&n.push.apply(n,c(e.filter(function(t){return t.meta.descendants||i<=1}))),r._directiveAsts.length>0&&i++,r=r._parent;return(e=this.viewContext.viewQueries.get(Nt(t)))&&n.push.apply(n,c(e)),n},t.prototype._getOrCreateLocalProvider=function(t,e,n){var r=this,i=this._allProviders.get(Nt(e));if(!i||(t===et.Directive||t===et.PublicService)&&i.providerType===et.PrivateService||(t===et.PrivateService||t===et.PublicService)&&i.providerType===et.Builtin)return null;var o=this._transformedProviders.get(Nt(e));if(o)return o;if(null!=this._seenProviders.get(Nt(e)))return this.viewContext.errors.push(new Ps("Cannot instantiate cyclic dependency! "+Pt(e),this._sourceSpan)),null;this._seenProviders.set(Nt(e),!0);var s=i.providers.map(function(t){var e=t.useValue,o=t.useExisting,s=void 0;if(null!=t.useExisting){var a=r._getDependency(i.providerType,{token:t.useExisting},n);null!=a.token?o=a.token:(o=null,e=a.value)}else t.useFactory?s=(t.deps||t.useFactory.diDeps).map(function(t){return r._getDependency(i.providerType,t,n)}):t.useClass&&(s=(t.deps||t.useClass.diDeps).map(function(t){return r._getDependency(i.providerType,t,n)}));return function u(t,e){return{token:t.token,useClass:t.useClass,useExisting:e.useExisting,useFactory:t.useFactory,useValue:e.useValue,deps:e.deps,multi:t.multi}}(t,{useExisting:o,useValue:e,deps:s})});return o=function a(t,e){return new ft(t.token,t.multiProvider,t.eager||e.eager,e.providers,t.providerType,t.lifecycleHooks,t.sourceSpan,t.isModule)}(i,{eager:n,providers:s}),this._transformedProviders.set(Nt(e),o),o},t.prototype._getLocalDependency=function(t,e,n){if(void 0===n&&(n=!1),e.isAttribute){var r=this._attrs[e.token.value];return{isValue:!0,value:null==r?null:r}}if(null!=e.token){if(t===et.Directive||t===et.Component){if(Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.Renderer)||Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.ElementRef)||Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.ChangeDetectorRef)||Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.TemplateRef))return e;Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.Injector))return e;if(null!=this._getOrCreateLocalProvider(t,e.token,n))return e}return null},t.prototype._getDependency=function(t,e,n){void 0===n&&(n=!1);var r=this,i=n,o=null;if(e.isSkipSelf||(o=this._getLocalDependency(t,e,n)),e.isSelf)!o&&e.isOptional&&(o={isValue:!0,value:null});else{for(;!o&&r._parent;){var s=r;r=r._parent,s._isViewRoot&&(i=!1),o=r._getLocalDependency(et.PublicService,e,i)}o||(o=!e.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===Nt(e.token)||null!=this.viewContext.viewProviders.get(Nt(e.token))?e:e.isOptional?{isValue:!0,value:null}:null)}return o||this.viewContext.errors.push(new Ps("No provider for "+Pt(e.token),this._sourceSpan)),o},t}();function ks(t,e,n,r,i,o,s){t.forEach(function(t){var a=o.get(Nt(t.token));null!=a&&!!a.multiProvider!=!!t.multi&&i.push(new Ps("Mixing multi and non multi provider is not possible for token "+Pt(a.token),r)),a?(t.multi||(a.providers.length=0),a.providers.push(t)):(a=new ft(t.token,!!t.multi,n||!(t.useClass||t.useExisting||t.useFactory),[t],e,t.token.identifier&&t.token.identifier.lifecycleHooks?t.token.identifier.lifecycleHooks:[],r,s),o.set(Nt(t.token),a))})}function Ms(t,e){e.meta.selectors.forEach(function(n){var r=t.get(Nt(n));r||(r=[],t.set(Nt(n),r)),r.push(e)})}
|
|
238
|
+
*/(e))}(t,n,e)})}(this._reflector,r.reference)}},t.prototype._getFactoryMetadata=function(t,e){return void 0===e&&(e=null),{reference:t=$(t),diDeps:this._getDependenciesMetadata(t,e)}},t.prototype.getPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||this._reportError(z("Illegal state: getPipeMetadata can only be called after loadNgModuleDirectiveAndPipeMetadata for a module that declares it. Pipe "+As(t)+"."),t),e||null},t.prototype.getPipeSummary=function(t){var e=this._loadSummary(t,Ct.Pipe);return e||this._reportError(z("Illegal state: Could not load the summary for pipe "+As(t)+"."),t),e},t.prototype.getOrLoadPipeMetadata=function(t){var e=this._pipeCache.get(t);return e||(e=this._loadPipeMetadata(t)),e},t.prototype._loadPipeMetadata=function(t){t=$(t);var e=this._pipeResolver.resolve(t),n=new It({type:this._getTypeMetadata(t),name:e.name,pure:!!e.pure});return this._pipeCache.set(t,n),this._summaryCache.set(t,n.toSummary()),n},t.prototype._getDependenciesMetadata=function(t,e,n){var r=this;void 0===n&&(n=!0);var i=!1,o=(e||this._reflector.parameters(t)||[]).map(function(t){var e=!1,n=!1,o=!1,s=!1,a=!1,u=null;return Array.isArray(t)?t.forEach(function(t){I.isTypeOf(t)?n=!0:k.isTypeOf(t)?o=!0:M.isTypeOf(t)?s=!0:O.isTypeOf(t)?a=!0:d.isTypeOf(t)?(e=!0,u=t.attributeName):h.isTypeOf(t)?u=t.token:f.isTypeOf(t)||t instanceof wt?u=t:Cs(t)&&null==u&&(u=t)}):u=t,null==u?(i=!0,null):{isAttribute:e,isHost:n,isSelf:o,isSkipSelf:s,isOptional:a,token:r._getTokenMetadata(u)}});if(i){var s=o.map(function(t){return t?As(t.token):"?"}).join(", "),a="Can't resolve all parameters for "+As(t)+": ("+s+").";n||this._config.strictInjectionParameters?this._reportError(z(a),t):this._console.warn("Warning: "+a+" This will become an error in Angular v6.x")}return o},t.prototype._getTokenMetadata=function(t){return"string"==typeof(t=$(t))?{value:t}:{identifier:{reference:t}}},t.prototype._getProvidersMetadata=function(t,e,n,r,i){var o=this;return void 0===r&&(r=[]),t.forEach(function(s,a){if(Array.isArray(s))o._getProvidersMetadata(s,e,n,r);else{var u=void 0;if((s=$(s))&&"object"==typeof s&&s.hasOwnProperty("provide"))o._validateProvider(s),u=new Lt(s.provide,s);else{if(!Cs(s)){if(void 0===s)return void o._reportError(z("Encountered undefined provider! Usually this means you have a circular dependencies. This might be caused by using 'barrel' index.ts files."));var l=t.reduce(function(t,e,n){return n<a?t.push(""+As(e)):n==a?t.push("?"+As(e)+"?"):n==a+1&&t.push("..."),t},[]).join(", ");return void o._reportError(z("Invalid "+(n||"provider")+" - only instances of Provider and Type are allowed, got: ["+l+"]"),i)}u=new Lt(s,{useClass:s})}u.token===o._reflector.resolveExternalReference(oo.ANALYZE_FOR_ENTRY_COMPONENTS)?e.push.apply(e,c(o._getEntryComponentsFromProvider(u,i))):r.push(o.getProviderMetadata(u))}}),r},t.prototype._validateProvider=function(t){t.hasOwnProperty("useClass")&&null==t.useClass&&this._reportError(z("Invalid provider for "+As(t.provide)+". useClass cannot be "+t.useClass+".\n Usually it happens when:\n 1. There's a circular dependency (might be caused by using index.ts (barrel) files).\n 2. Class was used before it was declared. Use forwardRef in this case."))},t.prototype._getEntryComponentsFromProvider=function(t,e){var n=this,r=[],i=[];return t.useFactory||t.useExisting||t.useClass?(this._reportError(z("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports useValue!"),e),[]):t.multi?(function o(t,e){V(t,new Ts,e)}(t.useValue,i),i.forEach(function(t){var e=n._getEntryComponentMetadata(t.reference,!1);e&&r.push(e)}),r):(this._reportError(z("The ANALYZE_FOR_ENTRY_COMPONENTS token only supports 'multi = true'!"),e),[])},t.prototype._getEntryComponentMetadata=function(t,e){void 0===e&&(e=!0);var n=this.getNonNormalizedDirectiveMetadata(t);if(n&&n.metadata.isComponent)return{componentType:t,componentFactory:n.metadata.componentFactory};var r=this._loadSummary(t,Ct.Directive);if(r&&r.isComponent)return{componentType:t,componentFactory:r.componentFactory};if(e)throw z(t.name+" cannot be used as an entry component.");return null},t.prototype._getInjectableTypeMetadata=function(t,e){void 0===e&&(e=null);var n=this._loadSummary(t,Ct.Injectable);return n?n.type:this._getTypeMetadata(t,e)},t.prototype.getProviderMetadata=function(t){var e=void 0,n=null,r=null,i=this._getTokenMetadata(t.token);return t.useClass?(e=(n=this._getInjectableTypeMetadata(t.useClass,t.dependencies)).diDeps,t.token===t.useClass&&(i={identifier:n})):t.useFactory&&(e=(r=this._getFactoryMetadata(t.useFactory,t.dependencies)).diDeps),{token:i,useClass:n,useValue:t.useValue,useFactory:r,useExisting:t.useExisting?this._getTokenMetadata(t.useExisting):void 0,deps:e,multi:t.multi}},t.prototype._getQueriesMetadata=function(t,e,n){var r=this,i=[];return Object.keys(t).forEach(function(o){var s=t[o];s.isViewQuery===e&&i.push(r._getQueryMetadata(s,o,n))}),i},t.prototype._queryVarBindings=function(t){return t.split(/\s*,\s*/)},t.prototype._getQueryMetadata=function(t,e,n){var r,i=this;return"string"==typeof t.selector?r=this._queryVarBindings(t.selector).map(function(t){return i._getTokenMetadata(t)}):t.selector?r=[this._getTokenMetadata(t.selector)]:(this._reportError(z("Can't construct a query for the property \""+e+'" of "'+As(n)+"\" since the query selector wasn't defined."),n),r=[]),{selectors:r,first:t.first,descendants:t.descendants,propertyName:e,read:t.read?this._getTokenMetadata(t.read):null}},t.prototype._reportError=function(t,e,n){if(!this._errorCollector)throw t;this._errorCollector(t,e),n&&this._errorCollector(t,n)},t}();function Ss(t){return function e(t){return t?Array.from(new Set(t)):[]}(function t(e,n){if(void 0===n&&(n=[]),e)for(var r=0;r<e.length;r++){var i=$(e[r]);Array.isArray(i)?t(i,n):n.push(i)}return n}(t))}function Cs(t){return t instanceof wt||t instanceof R}var Ts=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return o(e,t),e.prototype.visitOther=function(t,e){e.push({reference:t})},e}(q);function As(t){return t instanceof wt?t.name+" in "+t.filePath:Z(t)}var Ps=function(t){function e(e,n){return t.call(this,n,e)||this}return o(e,t),e}(pr),Ns=function Ns(t,e){var n=this;this.reflector=t,this.component=e,this.errors=[],this.viewQueries=function r(t){var e=1,n=new Map;return t.viewQueries&&t.viewQueries.forEach(function(t){return Ms(n,{meta:t,queryId:e++})}),n}(e),this.viewProviders=new Map,e.viewProviders.forEach(function(t){null==n.viewProviders.get(Nt(t.token))&&n.viewProviders.set(Nt(t.token),!0)})},Os=function(){function t(t,e,n,r,i,o,s,a,u){var c=this;this.viewContext=t,this._parent=e,this._isViewRoot=n,this._directiveAsts=r,this._sourceSpan=u,this._transformedProviders=new Map,this._seenProviders=new Map,this._queriedTokens=new Map,this.transformedHasViewContainer=!1,this._attrs={},i.forEach(function(t){return c._attrs[t.name]=t.value});var l=r.map(function(t){return t.directive});if(this._allProviders=function p(t,e,n){var r=new Map;return t.forEach(function(t){ks([{token:{identifier:t.type},useClass:t.type}],t.isComponent?et.Component:et.Directive,!0,e,n,r,!1)}),t.filter(function(t){return t.isComponent}).concat(t.filter(function(t){return!t.isComponent})).forEach(function(t){ks(t.providers,et.PublicService,!1,e,n,r,!1),ks(t.viewProviders,et.PrivateService,!1,e,n,r,!1)}),r}(l,u,t.errors),this._contentQueries=function h(t,e){var n=t,r=new Map;return e.forEach(function(t,e){t.queries&&t.queries.forEach(function(t){return Ms(r,{meta:t,queryId:n++})})}),r}(a,l),Array.from(this._allProviders.values()).forEach(function(t){c._addQueryReadsTo(t.token,t.token,c._queriedTokens)}),s){var f=ao(this.viewContext.reflector,oo.TemplateRef);this._addQueryReadsTo(f,f,this._queriedTokens)}o.forEach(function(t){var e=t.value||ao(c.viewContext.reflector,oo.ElementRef);c._addQueryReadsTo({value:t.name},e,c._queriedTokens)}),this._queriedTokens.get(this.viewContext.reflector.resolveExternalReference(oo.ViewContainerRef))&&(this.transformedHasViewContainer=!0),Array.from(this._allProviders.values()).forEach(function(t){(t.eager||c._queriedTokens.get(Nt(t.token)))&&c._getOrCreateLocalProvider(t.providerType,t.token,!0)})}return t.prototype.afterElement=function(){var t=this;Array.from(this._allProviders.values()).forEach(function(e){t._getOrCreateLocalProvider(e.providerType,e.token,!1)})},Object.defineProperty(t.prototype,"transformProviders",{get:function(){var t=[],e=[];return this._transformedProviders.forEach(function(n){n.eager?e.push(n):t.push(n)}),t.concat(e)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"transformedDirectiveAsts",{get:function(){var t=this.transformProviders.map(function(t){return t.token.identifier}),e=this._directiveAsts.slice();return e.sort(function(e,n){return t.indexOf(e.directive.type)-t.indexOf(n.directive.type)}),e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"queryMatches",{get:function(){var t=[];return this._queriedTokens.forEach(function(e){t.push.apply(t,c(e))}),t},enumerable:!0,configurable:!0}),t.prototype._addQueryReadsTo=function(t,e,n){this._getQueriesFor(t).forEach(function(t){var r=t.meta.read||e,i=Nt(r),o=n.get(i);o||n.set(i,o=[]),o.push({queryId:t.queryId,value:r})})},t.prototype._getQueriesFor=function(t){for(var e,n=[],r=this,i=0;null!==r;)(e=r._contentQueries.get(Nt(t)))&&n.push.apply(n,c(e.filter(function(t){return t.meta.descendants||i<=1}))),r._directiveAsts.length>0&&i++,r=r._parent;return(e=this.viewContext.viewQueries.get(Nt(t)))&&n.push.apply(n,c(e)),n},t.prototype._getOrCreateLocalProvider=function(t,e,n){var r=this,i=this._allProviders.get(Nt(e));if(!i||(t===et.Directive||t===et.PublicService)&&i.providerType===et.PrivateService||(t===et.PrivateService||t===et.PublicService)&&i.providerType===et.Builtin)return null;var o=this._transformedProviders.get(Nt(e));if(o)return o;if(null!=this._seenProviders.get(Nt(e)))return this.viewContext.errors.push(new Ps("Cannot instantiate cyclic dependency! "+Pt(e),this._sourceSpan)),null;this._seenProviders.set(Nt(e),!0);var s=i.providers.map(function(t){var e=t.useValue,o=t.useExisting,s=void 0;if(null!=t.useExisting){var a=r._getDependency(i.providerType,{token:t.useExisting},n);null!=a.token?o=a.token:(o=null,e=a.value)}else t.useFactory?s=(t.deps||t.useFactory.diDeps).map(function(t){return r._getDependency(i.providerType,t,n)}):t.useClass&&(s=(t.deps||t.useClass.diDeps).map(function(t){return r._getDependency(i.providerType,t,n)}));return function u(t,e){return{token:t.token,useClass:t.useClass,useExisting:e.useExisting,useFactory:t.useFactory,useValue:e.useValue,deps:e.deps,multi:t.multi}}(t,{useExisting:o,useValue:e,deps:s})});return o=function a(t,e){return new ft(t.token,t.multiProvider,t.eager||e.eager,e.providers,t.providerType,t.lifecycleHooks,t.sourceSpan,t.isModule)}(i,{eager:n,providers:s}),this._transformedProviders.set(Nt(e),o),o},t.prototype._getLocalDependency=function(t,e,n){if(void 0===n&&(n=!1),e.isAttribute){var r=this._attrs[e.token.value];return{isValue:!0,value:null==r?null:r}}if(null!=e.token){if(t===et.Directive||t===et.Component){if(Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.Renderer)||Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.ElementRef)||Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.ChangeDetectorRef)||Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.TemplateRef))return e;Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.ViewContainerRef)&&(this.transformedHasViewContainer=!0)}if(Nt(e.token)===this.viewContext.reflector.resolveExternalReference(oo.Injector))return e;if(null!=this._getOrCreateLocalProvider(t,e.token,n))return e}return null},t.prototype._getDependency=function(t,e,n){void 0===n&&(n=!1);var r=this,i=n,o=null;if(e.isSkipSelf||(o=this._getLocalDependency(t,e,n)),e.isSelf)!o&&e.isOptional&&(o={isValue:!0,value:null});else{for(;!o&&r._parent;){var s=r;r=r._parent,s._isViewRoot&&(i=!1),o=r._getLocalDependency(et.PublicService,e,i)}o||(o=!e.isHost||this.viewContext.component.isHost||this.viewContext.component.type.reference===Nt(e.token)||null!=this.viewContext.viewProviders.get(Nt(e.token))?e:e.isOptional?{isValue:!0,value:null}:null)}return o||this.viewContext.errors.push(new Ps("No provider for "+Pt(e.token),this._sourceSpan)),o},t}();function ks(t,e,n,r,i,o,s){t.forEach(function(t){var a=o.get(Nt(t.token));null!=a&&!!a.multiProvider!=!!t.multi&&i.push(new Ps("Mixing multi and non multi provider is not possible for token "+Pt(a.token),r)),a?(t.multi||(a.providers.length=0),a.providers.push(t)):(a=new ft(t.token,!!t.multi,n||!(t.useClass||t.useExisting||t.useFactory),[t],e,t.token.identifier&&t.token.identifier.lifecycleHooks?t.token.identifier.lifecycleHooks:[],r,s),o.set(Nt(t.token),a))})}function Ms(t,e){e.meta.selectors.forEach(function(n){var r=t.get(Nt(n));r||(r=[],t.set(Nt(n),r)),r.push(e)})}
|
|
239
239
|
/**
|
|
240
240
|
* @license
|
|
241
241
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -745,7 +745,7 @@ function Zl(t){return t.__forward_ref__=Zl,t.toString=function(){return Ul(this(
|
|
|
745
745
|
* Use of this source code is governed by an MIT-style license that can be
|
|
746
746
|
* found in the LICENSE file at https://angular.io/license
|
|
747
747
|
*/
|
|
748
|
-
var Dp=function tt(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},jp=new Dp("6.0.
|
|
748
|
+
var Dp=function tt(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")},jp=new Dp("6.0.7"),Lp="ngDebugContext",Fp="ngOriginalError",Vp="ngErrorLogger";function Hp(t){return t[Lp]}function Bp(t){return t[Fp]}function qp(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];t.error.apply(t,c(e))}
|
|
749
749
|
/**
|
|
750
750
|
* @license
|
|
751
751
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -812,7 +812,7 @@ function jv(t){return!!t&&"function"==typeof t.then}
|
|
|
812
812
|
*
|
|
813
813
|
* Use of this source code is governed by an MIT-style license that can be
|
|
814
814
|
* found in the LICENSE file at https://angular.io/license
|
|
815
|
-
*/!function(t){function e(e,n,r){var i=t.call(this,e)||this;i.observables=n,i.project=r,i.toRespond=[];var o=n.length;i.values=new Array(o);for(var s=0;s<o;s++)i.toRespond.push(s);for(s=0;s<o;s++){var a=n[s];i.add(nd(i,a,a,s))}return i}Rv(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e;var o=this.toRespond;if(o.length>0){var s=o.indexOf(n);-1!==s&&o.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Dv(arguments[e]));return t}([t],this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)}}(zf);var Lv=new Cl("Application Initializer"),Fv=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();jv(i)&&e.push(i)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t.decorators=[{type:Ip}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:Jl,args:[Lv]},{type:tp}]}]},t}(),Vv={provide:new Cl("AppId"),useFactory:function Hv(){return""+Bv()+Bv()+Bv()},deps:[]};function Bv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}new Cl("Platform Initializer");var qv=new Cl("Platform ID"),Kv=new Cl("appBootstrapListener"),Uv=(new Cl("Application Packages Root URL"),function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t.decorators=[{type:Ip}],t
|
|
815
|
+
*/!function(t){function e(e,n,r){var i=t.call(this,e)||this;i.observables=n,i.project=r,i.toRespond=[];var o=n.length;i.values=new Array(o);for(var s=0;s<o;s++)i.toRespond.push(s);for(s=0;s<o;s++){var a=n[s];i.add(nd(i,a,a,s))}return i}Rv(e,t),e.prototype.notifyNext=function(t,e,n,r,i){this.values[n]=e;var o=this.toRespond;if(o.length>0){var s=o.indexOf(n);-1!==s&&o.splice(s,1)}},e.prototype.notifyComplete=function(){},e.prototype._next=function(t){if(0===this.toRespond.length){var e=function(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(Dv(arguments[e]));return t}([t],this.values);this.project?this._tryProject(e):this.destination.next(e)}},e.prototype._tryProject=function(t){var e;try{e=this.project.apply(this,t)}catch(t){return void this.destination.error(t)}this.destination.next(e)}}(zf);var Lv=new Cl("Application Initializer"),Fv=function(){function t(t){var e=this;this.appInits=t,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(t,n){e.resolve=t,e.reject=n})}return t.prototype.runInitializers=function(){var t=this;if(!this.initialized){var e=[],n=function(){t.done=!0,t.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();jv(i)&&e.push(i)}Promise.all(e).then(function(){n()}).catch(function(e){t.reject(e)}),0===e.length&&n(),this.initialized=!0}},t.decorators=[{type:Ip}],t.ctorParameters=function(){return[{type:Array,decorators:[{type:Jl,args:[Lv]},{type:tp}]}]},t}(),Vv={provide:new Cl("AppId"),useFactory:function Hv(){return""+Bv()+Bv()+Bv()},deps:[]};function Bv(){return String.fromCharCode(97+Math.floor(25*Math.random()))}new Cl("Platform Initializer");var qv=new Cl("Platform ID"),Kv=new Cl("appBootstrapListener"),Uv=(new Cl("Application Packages Root URL"),function(){function t(){}return t.prototype.log=function(t){console.log(t)},t.prototype.warn=function(t){console.warn(t)},t.decorators=[{type:Ip}],t}());
|
|
816
816
|
/**
|
|
817
817
|
* @license
|
|
818
818
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -820,7 +820,7 @@ function jv(t){return!!t&&"function"==typeof t.then}
|
|
|
820
820
|
* Use of this source code is governed by an MIT-style license that can be
|
|
821
821
|
* found in the LICENSE file at https://angular.io/license
|
|
822
822
|
*/
|
|
823
|
-
function zv(){throw new Error("Runtime compiler is not loaded")}var Wv,Gv,Xv=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw zv()},t.prototype.compileModuleAsync=function(t){throw zv()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw zv()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw zv()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.decorators=[{type:Ip}],t
|
|
823
|
+
function zv(){throw new Error("Runtime compiler is not loaded")}var Wv,Gv,Xv=function(){function t(){}return t.prototype.compileModuleSync=function(t){throw zv()},t.prototype.compileModuleAsync=function(t){throw zv()},t.prototype.compileModuleAndAllComponentsSync=function(t){throw zv()},t.prototype.compileModuleAndAllComponentsAsync=function(t){throw zv()},t.prototype.clearCache=function(){},t.prototype.clearCacheFor=function(t){},t.decorators=[{type:Ip}],t}(),Qv=(new Cl("compilerOptions"),function Qv(){}),Yv=function Yv(){},Zv=function Zv(){},$v=function(){function t(){}return t.prototype.resolveComponentFactory=function(t){
|
|
824
824
|
/**
|
|
825
825
|
* @license
|
|
826
826
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -978,7 +978,7 @@ function mm(t){var e,n,r={};try{for(var i=a(t.split(",")),o=i.next();!o.done;o=i
|
|
|
978
978
|
*
|
|
979
979
|
* Use of this source code is governed by an MIT-style license that can be
|
|
980
980
|
* found in the LICENSE file at https://angular.io/license
|
|
981
|
-
*/(33554432&e.flags&&32&i.flags?o.componentView:t,i,s,a,r)}return!0}var pg=new Object,hg=Fm(up),fg=Fm(sp),dg=Fm(ey);function vg(t,e,n){void 0===n&&(n=up.THROW_IF_NOT_FOUND);var r=Sp(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var i=e.tokenKey;switch(i){case hg:case fg:case dg:return t}var o=t._def.providersByKey[i];if(o){var s=t._providers[o.index];return void 0===s&&(s=t._providers[o.index]=yg(t,o)),s===pg?void 0:s}if(e.token.ngInjectableDef&&function a(t,e){return null!=e.providedIn&&(function n(t,e){return t._def.modules.indexOf(e)>-1}(t,e.providedIn)||"root"===e.providedIn&&t._def.isRoot)}(t,e.token.ngInjectableDef)){var u=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:e.token.ngInjectableDef.factory,deps:[],index:u,token:e.token},t._providers[u]=pg,t._providers[u]=yg(t,t._def.providersByKey[e.tokenKey])}return t._parent.get(e.token,n)}finally{Sp(r)}}function yg(t,e){var n;switch(201347067&e.flags){case 512:n=function r(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(vg(t,n[0]));case 2:return new e(vg(t,n[0]),vg(t,n[1]));case 3:return new e(vg(t,n[0]),vg(t,n[1]),vg(t,n[2]));default:for(var i=new Array(r),o=0;o<r;o++)i[o]=vg(t,n[o]);return new(e.bind.apply(e,c([void 0],i)))}}(t,e.value,e.deps);break;case 1024:n=function i(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(vg(t,n[0]));case 2:return e(vg(t,n[0]),vg(t,n[1]));case 3:return e(vg(t,n[0]),vg(t,n[1]),vg(t,n[2]));default:for(var i=Array(r),o=0;o<r;o++)i[o]=vg(t,n[o]);return e.apply(void 0,c(i))}}(t,e.value,e.deps);break;case 2048:n=vg(t,e.deps[0]);break;case 256:n=e.value}return n===pg||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?pg:n}function mg(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,wg(n,e),Mm.dirtyParentQueries(r),_g(r),r}function gg(t,e,n){var r=e?Gm(e,e.def.lastRenderRootNode):t.renderElement;tg(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function _g(t){tg(t,3,null,null,void 0)}function bg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function wg(t,e){e>=t.length-1?t.pop():t.splice(e,1)}
|
|
981
|
+
*/(33554432&e.flags&&32&i.flags?o.componentView:t,i,s,a,r)}return!0}var pg=new Object,hg=Fm(up),fg=Fm(sp),dg=Fm(ey);function vg(t,e,n){void 0===n&&(n=up.THROW_IF_NOT_FOUND);var r=Sp(t);try{if(8&e.flags)return e.token;if(2&e.flags&&(n=null),1&e.flags)return t._parent.get(e.token,n);var i=e.tokenKey;switch(i){case hg:case fg:case dg:return t}var o=t._def.providersByKey[i];if(o){var s=t._providers[o.index];return void 0===s&&(s=t._providers[o.index]=yg(t,o)),s===pg?void 0:s}if(e.token.ngInjectableDef&&function a(t,e){return null!=e.providedIn&&(function n(t,e){return t._def.modules.indexOf(e)>-1}(t,e.providedIn)||"root"===e.providedIn&&t._def.isRoot)}(t,e.token.ngInjectableDef)){var u=t._providers.length;return t._def.providersByKey[e.tokenKey]={flags:5120,value:e.token.ngInjectableDef.factory,deps:[],index:u,token:e.token},t._providers[u]=pg,t._providers[u]=yg(t,t._def.providersByKey[e.tokenKey])}return 4&e.flags?n:t._parent.get(e.token,n)}finally{Sp(r)}}function yg(t,e){var n;switch(201347067&e.flags){case 512:n=function r(t,e,n){var r=n.length;switch(r){case 0:return new e;case 1:return new e(vg(t,n[0]));case 2:return new e(vg(t,n[0]),vg(t,n[1]));case 3:return new e(vg(t,n[0]),vg(t,n[1]),vg(t,n[2]));default:for(var i=new Array(r),o=0;o<r;o++)i[o]=vg(t,n[o]);return new(e.bind.apply(e,c([void 0],i)))}}(t,e.value,e.deps);break;case 1024:n=function i(t,e,n){var r=n.length;switch(r){case 0:return e();case 1:return e(vg(t,n[0]));case 2:return e(vg(t,n[0]),vg(t,n[1]));case 3:return e(vg(t,n[0]),vg(t,n[1]),vg(t,n[2]));default:for(var i=Array(r),o=0;o<r;o++)i[o]=vg(t,n[o]);return e.apply(void 0,c(i))}}(t,e.value,e.deps);break;case 2048:n=vg(t,e.deps[0]);break;case 256:n=e.value}return n===pg||null==n||"object"!=typeof n||131072&e.flags||"function"!=typeof n.ngOnDestroy||(e.flags|=131072),void 0===n?pg:n}function mg(t,e){var n=t.viewContainer._embeddedViews;if((null==e||e>=n.length)&&(e=n.length-1),e<0)return null;var r=n[e];return r.viewContainerParent=null,wg(n,e),Mm.dirtyParentQueries(r),_g(r),r}function gg(t,e,n){var r=e?Gm(e,e.def.lastRenderRootNode):t.renderElement;tg(n,2,n.renderer.parentNode(r),n.renderer.nextSibling(r),void 0)}function _g(t){tg(t,3,null,null,void 0)}function bg(t,e,n){e>=t.length?t.push(n):t.splice(e,0,n)}function wg(t,e){e>=t.length-1?t.pop():t.splice(e,1)}
|
|
982
982
|
/**
|
|
983
983
|
* @license
|
|
984
984
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1115,7 +1115,7 @@ function e(t,n,r){1===t.lifecycleStage&&(vb(t.directives,n.initHooks,n.checkHook
|
|
|
1115
1115
|
*
|
|
1116
1116
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1117
1117
|
* found in the LICENSE file at https://angular.io/license
|
|
1118
|
-
*/(n,i):{message:n.message,span:i}})||[]},t.prototype.getDeclarationFromNode=function(t,e){if(e.kind==r.SyntaxKind.ClassDeclaration&&e.decorators&&e.name)try{for(var n=a(e.decorators),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.expression&&o.expression.kind==r.SyntaxKind.CallExpression){var s=e;if(s.name){var u=o.expression.expression;if(this.checker.getTypeAtLocation(u)){var c=this.reflector.getStaticSymbol(t.fileName,s.name.text);try{if(this.resolver.isDirective(c)){var l=this.resolver.getNonNormalizedDirectiveMetadata(c).metadata;return{type:c,declarationSpan:p=iw(u),metadata:l,errors:this.getCollectedErrors(p,t)}}}catch(e){var p;if(e.message)return this.collectError(e,t.fileName),{type:c,declarationSpan:p=iw(u),errors:this.getCollectedErrors(p,t)}}}}}}}catch(t){h={error:t}}finally{try{i&&!i.done&&(f=n.return)&&f.call(n)}finally{if(h)throw h.error}}var h,f},t.prototype.stringOf=function(t){switch(t.kind){case r.SyntaxKind.NoSubstitutionTemplateLiteral:case r.SyntaxKind.StringLiteral:return t.text}},t.prototype.findNode=function(t,e){return function t(n){if(e>=n.getStart()&&e<n.getEnd())return r.forEachChild(n,t)||n}(t)},t.missingTemplate=[void 0,void 0],t}();function iw(t){return{start:t.getStart(),end:t.getEnd()}}var ow=new WeakMap,sw=new Dp("6.0.
|
|
1118
|
+
*/(n,i):{message:n.message,span:i}})||[]},t.prototype.getDeclarationFromNode=function(t,e){if(e.kind==r.SyntaxKind.ClassDeclaration&&e.decorators&&e.name)try{for(var n=a(e.decorators),i=n.next();!i.done;i=n.next()){var o=i.value;if(o.expression&&o.expression.kind==r.SyntaxKind.CallExpression){var s=e;if(s.name){var u=o.expression.expression;if(this.checker.getTypeAtLocation(u)){var c=this.reflector.getStaticSymbol(t.fileName,s.name.text);try{if(this.resolver.isDirective(c)){var l=this.resolver.getNonNormalizedDirectiveMetadata(c).metadata;return{type:c,declarationSpan:p=iw(u),metadata:l,errors:this.getCollectedErrors(p,t)}}}catch(e){var p;if(e.message)return this.collectError(e,t.fileName),{type:c,declarationSpan:p=iw(u),errors:this.getCollectedErrors(p,t)}}}}}}}catch(t){h={error:t}}finally{try{i&&!i.done&&(f=n.return)&&f.call(n)}finally{if(h)throw h.error}}var h,f},t.prototype.stringOf=function(t){switch(t.kind){case r.SyntaxKind.NoSubstitutionTemplateLiteral:case r.SyntaxKind.StringLiteral:return t.text}},t.prototype.findNode=function(t,e){return function t(n){if(e>=n.getStart()&&e<n.getEnd())return r.forEachChild(n,t)||n}(t)},t.missingTemplate=[void 0,void 0],t}();function iw(t){return{start:t.getStart(),end:t.getEnd()}}var ow=new WeakMap,sw=new Dp("6.0.7");
|
|
1119
1119
|
/**
|
|
1120
1120
|
* @license
|
|
1121
1121
|
* Copyright Google Inc. All Rights Reserved.
|
package/package.json
CHANGED
package/src/version.js
CHANGED
|
@@ -22,6 +22,6 @@
|
|
|
22
22
|
* Entry point for all public APIs of the common package.
|
|
23
23
|
*/
|
|
24
24
|
var core_1 = require("@angular/core");
|
|
25
|
-
exports.VERSION = new core_1.Version('6.0.
|
|
25
|
+
exports.VERSION = new core_1.Version('6.0.7');
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2xhbmd1YWdlLXNlcnZpY2Uvc3JjL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HOzs7Ozs7Ozs7Ozs7SUFFSDs7OztPQUlHO0lBRUgsc0NBQXNDO0lBRXpCLFFBQUEsT0FBTyxHQUFHLElBQUksY0FBTyxDQUFDLG1CQUFtQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21tb24gcGFja2FnZS5cbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcwLjAuMC1QTEFDRUhPTERFUicpO1xuIl19
|