@angular/language-service 6.0.6 → 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.6
2
+ * @license Angular v6.0.7
3
3
  * (c) 2010-2018 Google, Inc. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -390,7 +390,7 @@ var Version = /** @class */ (function () {
390
390
  * @description
391
391
  * Entry point for all public APIs of the common package.
392
392
  */
393
- var VERSION = new Version('6.0.6');
393
+ var VERSION = new Version('6.0.7');
394
394
 
395
395
  /**
396
396
  * @license
@@ -23021,9 +23021,7 @@ var ChangeDetectorStatus;
23021
23021
  * found in the LICENSE file at https://angular.io/license
23022
23022
  */
23023
23023
  /**
23024
- * Directive decorator and metadata.
23025
- *
23026
- * @Annotation
23024
+ * Type of the Component metadata.
23027
23025
  */
23028
23026
  var Directive = makeDecorator('Directive', function (dir) {
23029
23027
  if (dir === void 0) { dir = {}; }
@@ -23032,6 +23030,89 @@ var Directive = makeDecorator('Directive', function (dir) {
23032
23030
  /**
23033
23031
  * Component decorator and metadata.
23034
23032
  *
23033
+ * @usageNotes
23034
+ *
23035
+ * ### Using animations
23036
+ *
23037
+ * The following snippet shows an animation trigger in a component's
23038
+ * metadata. The trigger is attached to an element in the component's
23039
+ * template, using "@_trigger_name_", and a state expression that is evaluated
23040
+ * at run time to determine whether the animation should start.
23041
+ *
23042
+ * ```typescript
23043
+ * @Component({
23044
+ * selector: 'animation-cmp',
23045
+ * templateUrl: 'animation-cmp.html',
23046
+ * animations: [
23047
+ * trigger('myTriggerName', [
23048
+ * state('on', style({ opacity: 1 }),
23049
+ * state('off', style({ opacity: 0 }),
23050
+ * transition('on => off', [
23051
+ * animate("1s")
23052
+ * ])
23053
+ * ])
23054
+ * ]
23055
+ * })
23056
+ * ```
23057
+ *
23058
+ * ```html
23059
+ * <!-- animation-cmp.html -->
23060
+ * <div @myTriggerName="expression">...</div>
23061
+ * ```
23062
+ *
23063
+ * ### Preserving whitespace
23064
+ *
23065
+ * Removing whitespace can greatly reduce AOT-generated code size, and speed up view creation.
23066
+ * As of Angular 6, default for `preserveWhitespaces` is false (whitespace is removed).
23067
+ * To change the default setting for all components in your application, set
23068
+ * the `preserveWhitespaces` option of the AOT compiler.
23069
+ *
23070
+ * Current implementation removes whitespace characters as follows:
23071
+ * - Trims all whitespaces at the beginning and the end of a template.
23072
+ * - Removes whitespace-only text nodes. For example,
23073
+ * `<button>Action 1</button> <button>Action 2</button>` becomes
23074
+ * `<button>Action 1</button><button>Action 2</button>`.
23075
+ * - Replaces a series of whitespace characters in text nodes with a single space.
23076
+ * For example, `<span>\n some text\n</span>` becomes `<span> some text </span>`.
23077
+ * - Does NOT alter text nodes inside HTML tags such as `<pre>` or `<textarea>`,
23078
+ * where whitespace characters are significant.
23079
+ *
23080
+ * Note that these transformations can influence DOM nodes layout, although impact
23081
+ * should be minimal.
23082
+ *
23083
+ * You can override the default behavior to preserve whitespace characters
23084
+ * in certain fragments of a template. For example, you can exclude an entire
23085
+ * DOM sub-tree by using the `ngPreserveWhitespaces` attribute:
23086
+ *
23087
+ * ```html
23088
+ * <div ngPreserveWhitespaces>
23089
+ * whitespaces are preserved here
23090
+ * <span> and here </span>
23091
+ * </div>
23092
+ * ```
23093
+ *
23094
+ * You can force a single space to be preserved in a text node by using `&ngsp;`,
23095
+ * which is replaced with a space character by Angular's template
23096
+ * compiler:
23097
+ *
23098
+ * ```html
23099
+ * <a>Spaces</a>&ngsp;<a>between</a>&ngsp;<a>links.</a>
23100
+ * <!-->compiled to be equivalent to:</>
23101
+ * <a>Spaces</a> <a>between</a> <a>links.</a>
23102
+ * ```
23103
+ *
23104
+ * Note that sequences of `&ngsp;` are still collapsed to just one space character when
23105
+ * the `preserveWhitespaces` option is set to `false`.
23106
+ *
23107
+ * ```html
23108
+ * <a>before</a>&ngsp;&ngsp;&ngsp;<a>after</a>
23109
+ * <!-->compiled to be equivalent to:</>
23110
+ * <a>Spaces</a> <a>between</a> <a>links.</a>
23111
+ * ```
23112
+ *
23113
+ * To preserve sequences of whitespace characters, use the
23114
+ * `ngPreserveWhitespaces` attribute.
23115
+ *
23035
23116
  * @Annotation
23036
23117
  */
23037
23118
  var Component = makeDecorator('Component', function (c) {
@@ -23039,37 +23120,54 @@ var Component = makeDecorator('Component', function (c) {
23039
23120
  return (__assign({ changeDetection: ChangeDetectionStrategy$1.Default }, c));
23040
23121
  }, Directive);
23041
23122
  /**
23042
- * Pipe decorator and metadata.
23043
23123
  *
23044
- * Use the `@Pipe` annotation to declare that a given class is a pipe. A pipe
23045
- * class must also implement `PipeTransform` interface.
23046
- *
23047
- * To use the pipe include a reference to the pipe class in
23048
- * `NgModule.declarations`.
23049
23124
  *
23050
23125
  * @Annotation
23051
23126
  */
23052
23127
  var Pipe = makeDecorator('Pipe', function (p) { return (__assign({ pure: true }, p)); });
23053
23128
  /**
23054
- * Input decorator and metadata.
23055
23129
  *
23056
23130
  * @Annotation
23057
23131
  */
23058
23132
  var Input = makePropDecorator('Input', function (bindingPropertyName) { return ({ bindingPropertyName: bindingPropertyName }); });
23059
23133
  /**
23060
- * Output decorator and metadata.
23061
23134
  *
23062
23135
  * @Annotation
23063
23136
  */
23064
23137
  var Output = makePropDecorator('Output', function (bindingPropertyName) { return ({ bindingPropertyName: bindingPropertyName }); });
23065
23138
  /**
23066
- * HostBinding decorator and metadata.
23067
23139
  *
23068
23140
  * @Annotation
23069
23141
  */
23070
23142
  var HostBinding = makePropDecorator('HostBinding', function (hostPropertyName) { return ({ hostPropertyName: hostPropertyName }); });
23071
23143
  /**
23072
- * HostListener decorator and metadata.
23144
+ * Binds a CSS event to a host listener and supplies configuration metadata.
23145
+ * Angular invokes the supplied handler method when the host element emits the specified event,
23146
+ * and updates the bound element with the result.
23147
+ * If the handler method returns false, applies `preventDefault` on the bound element.
23148
+ *
23149
+ * @usageNotes
23150
+ *
23151
+ * The following example declares a directive
23152
+ * that attaches a click listener to a button and counts clicks.
23153
+ *
23154
+ * ```
23155
+ * @Directive({selector: 'button[counting]'})
23156
+ * class CountClicks {
23157
+ * numberOfClicks = 0;
23158
+ *
23159
+ * @HostListener('click', ['$event.target'])
23160
+ * onClick(btn) {
23161
+ * console.log('button', btn, 'number of clicks:', this.numberOfClicks++);
23162
+ * }
23163
+ * }
23164
+ *
23165
+ * @Component({
23166
+ * selector: 'app',
23167
+ * template: '<button counting>Increment</button>',
23168
+ * })
23169
+ * class App {}
23170
+ * ```
23073
23171
  *
23074
23172
  * @Annotation
23075
23173
  */
@@ -23983,27 +24081,32 @@ var Injectable = makeDecorator('Injectable', undefined, undefined, undefined, fu
23983
24081
  * found in the LICENSE file at https://angular.io/license
23984
24082
  */
23985
24083
  /**
23986
- * Defines a schema that will allow:
23987
- * - any non-Angular elements with a `-` in their name,
23988
- * - any properties on elements with a `-` in their name which is the common rule for custom
23989
- * elements.
24084
+ * Defines a schema that allows an NgModule to contain the following:
24085
+ * - Non-Angular elements named with dash case (`-`).
24086
+ * - Element properties named with dash case (`-`).
24087
+ * Dash case is the naming convention for custom elements.
23990
24088
  *
23991
24089
  *
23992
24090
  */
23993
24091
 
23994
24092
  /**
23995
- * Defines a schema that will allow any property on any element.
24093
+ * Defines a schema that allows any property on any element.
23996
24094
  *
23997
24095
  * @experimental
23998
24096
  */
23999
24097
 
24000
24098
  /**
24001
- * NgModule decorator and metadata.
24002
- *
24099
+ * Decorator that marks the following class as an NgModule, and supplies
24100
+ * configuration metadata for it.
24003
24101
  *
24004
24102
  * @Annotation
24005
24103
  */
24006
- var NgModule = makeDecorator('NgModule', function (ngModule) { return ngModule; }, undefined, undefined, function (moduleType, metadata) {
24104
+ var NgModule = makeDecorator('NgModule', function (ngModule) { return ngModule; }, undefined, undefined,
24105
+ /**
24106
+ * Decorator that marks the following class as an NgModule, and supplies
24107
+ * configuration metadata for it.
24108
+ */
24109
+ function (moduleType, metadata) {
24007
24110
  var imports = (metadata && metadata.imports) || [];
24008
24111
  if (metadata && metadata.exports) {
24009
24112
  imports = __spread(imports, [metadata.exports]);
@@ -24081,7 +24184,7 @@ var Version$1 = /** @class */ (function () {
24081
24184
  }
24082
24185
  return Version;
24083
24186
  }());
24084
- var VERSION$2 = new Version$1('6.0.6');
24187
+ var VERSION$2 = new Version$1('6.0.7');
24085
24188
 
24086
24189
  /**
24087
24190
  * @license
@@ -48218,7 +48321,7 @@ function create(info /* ts.server.PluginCreateInfo */) {
48218
48321
  * @description
48219
48322
  * Entry point for all public APIs of the common package.
48220
48323
  */
48221
- var VERSION$3 = new Version$1('6.0.6');
48324
+ var VERSION$3 = new Version$1('6.0.7');
48222
48325
 
48223
48326
  /**
48224
48327
  * @license
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v6.0.6
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.6");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}();
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.
@@ -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.6"),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))}
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.
@@ -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.6");
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular/language-service",
3
- "version": "6.0.6",
3
+ "version": "6.0.7",
4
4
  "description": "Angular - language services",
5
5
  "main": "./bundles/language-service.umd.js",
6
6
  "module": "./fesm5/language-service.js",
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.6');
25
+ exports.VERSION = new core_1.Version('6.0.7');
26
26
  });
27
27
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2xhbmd1YWdlLXNlcnZpY2Uvc3JjL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HOzs7Ozs7Ozs7Ozs7SUFFSDs7OztPQUlHO0lBRUgsc0NBQXNDO0lBRXpCLFFBQUEsT0FBTyxHQUFHLElBQUksY0FBTyxDQUFDLG1CQUFtQixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKipcbiAqIEBsaWNlbnNlXG4gKiBDb3B5cmlnaHQgR29vZ2xlIEluYy4gQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBjb21tb24gcGFja2FnZS5cbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcwLjAuMC1QTEFDRUhPTERFUicpO1xuIl19