@angular/core 7.2.7 → 7.2.11

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.
Files changed (39) hide show
  1. package/bundles/core-testing.umd.js +1 -1
  2. package/bundles/core-testing.umd.js.map +1 -1
  3. package/bundles/core-testing.umd.min.js +1 -1
  4. package/bundles/core-testing.umd.min.js.map +1 -1
  5. package/bundles/core.umd.js +16 -15
  6. package/bundles/core.umd.js.map +1 -1
  7. package/bundles/core.umd.min.js +2 -2
  8. package/bundles/core.umd.min.js.map +1 -1
  9. package/core.metadata.json +1 -1
  10. package/esm2015/src/change_detection/constants.js +2 -1
  11. package/esm2015/src/metadata/directives.js +2 -2
  12. package/esm2015/src/metadata/ng_module.js +3 -1
  13. package/esm2015/src/metadata/resource_loading.js +11 -11
  14. package/esm2015/src/metadata.js +1 -1
  15. package/esm2015/src/render3/jit/compiler_facade.js +2 -2
  16. package/esm2015/src/render3/styling/class_and_style_bindings.js +2 -2
  17. package/esm2015/src/version.js +1 -1
  18. package/esm5/src/change_detection/constants.js +2 -1
  19. package/esm5/src/metadata/directives.js +2 -2
  20. package/esm5/src/metadata/ng_module.js +1 -1
  21. package/esm5/src/metadata/resource_loading.js +11 -11
  22. package/esm5/src/metadata.js +1 -1
  23. package/esm5/src/render3/jit/compiler_facade.js +2 -2
  24. package/esm5/src/render3/styling/class_and_style_bindings.js +2 -2
  25. package/esm5/src/version.js +1 -1
  26. package/fesm2015/core.js +16 -15
  27. package/fesm2015/core.js.map +1 -1
  28. package/fesm2015/testing.js +1 -1
  29. package/fesm5/core.js +16 -15
  30. package/fesm5/core.js.map +1 -1
  31. package/fesm5/testing.js +1 -1
  32. package/package.json +1 -1
  33. package/src/change_detection/constants.d.ts +1 -0
  34. package/src/metadata/directives.d.ts +76 -69
  35. package/src/metadata/ng_module.d.ts +4 -2
  36. package/src/metadata/resource_loading.d.ts +10 -10
  37. package/src/metadata.d.ts +1 -1
  38. package/testing/src/resolvers.d.ts +1 -1
  39. package/testing.d.ts +1 -1
@@ -23,5 +23,5 @@ export { Version };
23
23
  /**
24
24
  * @publicApi
25
25
  */
26
- export var VERSION = new Version('7.2.7');
26
+ export var VERSION = new Version('7.2.11');
27
27
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL2NvcmUvc3JjL3ZlcnNpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7OztHQU1HO0FBRUg7Ozs7R0FJRztBQUNIO0lBS0UsaUJBQW1CLElBQVk7UUFBWixTQUFJLEdBQUosSUFBSSxDQUFRO1FBQzdCLElBQUksQ0FBQyxLQUFLLEdBQUcsSUFBSSxDQUFDLEtBQUssQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMsQ0FBQztRQUNoQyxJQUFJLENBQUMsS0FBSyxHQUFHLElBQUksQ0FBQyxLQUFLLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDLENBQUM7UUFDaEMsSUFBSSxDQUFDLEtBQUssR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDLEtBQUssQ0FBQyxDQUFDLENBQUMsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDbEQsQ0FBQztJQUNILGNBQUM7QUFBRCxDQUFDLEFBVkQsSUFVQzs7QUFFRDs7R0FFRztBQUNILE1BQU0sQ0FBQyxJQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBJbmMuIEFsbCBSaWdodHMgUmVzZXJ2ZWQuXG4gKlxuICogVXNlIG9mIHRoaXMgc291cmNlIGNvZGUgaXMgZ292ZXJuZWQgYnkgYW4gTUlULXN0eWxlIGxpY2Vuc2UgdGhhdCBjYW4gYmVcbiAqIGZvdW5kIGluIHRoZSBMSUNFTlNFIGZpbGUgYXQgaHR0cHM6Ly9hbmd1bGFyLmlvL2xpY2Vuc2VcbiAqL1xuXG4vKipcbiAqIEBkZXNjcmlwdGlvbiBSZXByZXNlbnRzIHRoZSB2ZXJzaW9uIG9mIEFuZ3VsYXJcbiAqXG4gKiBAcHVibGljQXBpXG4gKi9cbmV4cG9ydCBjbGFzcyBWZXJzaW9uIHtcbiAgcHVibGljIHJlYWRvbmx5IG1ham9yOiBzdHJpbmc7XG4gIHB1YmxpYyByZWFkb25seSBtaW5vcjogc3RyaW5nO1xuICBwdWJsaWMgcmVhZG9ubHkgcGF0Y2g6IHN0cmluZztcblxuICBjb25zdHJ1Y3RvcihwdWJsaWMgZnVsbDogc3RyaW5nKSB7XG4gICAgdGhpcy5tYWpvciA9IGZ1bGwuc3BsaXQoJy4nKVswXTtcbiAgICB0aGlzLm1pbm9yID0gZnVsbC5zcGxpdCgnLicpWzFdO1xuICAgIHRoaXMucGF0Y2ggPSBmdWxsLnNwbGl0KCcuJykuc2xpY2UoMikuam9pbignLicpO1xuICB9XG59XG5cbi8qKlxuICogQHB1YmxpY0FwaVxuICovXG5leHBvcnQgY29uc3QgVkVSU0lPTiA9IG5ldyBWZXJzaW9uKCcwLjAuMC1QTEFDRUhPTERFUicpO1xuIl19
package/fesm2015/core.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v7.2.7
2
+ * @license Angular v7.2.11
3
3
  * (c) 2010-2019 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -510,6 +510,7 @@ const ChangeDetectionStrategy = {
510
510
  * Use the `CheckOnce` strategy, meaning that automatic change detection is deactivated
511
511
  * until reactivated by setting the strategy to `Default` (`CheckAlways`).
512
512
  * Change detection can still be explicitly invoked.
513
+ * This strategy applies to all child directives and cannot be overridden.
513
514
  */
514
515
  OnPush: 0,
515
516
  /**
@@ -761,18 +762,18 @@ function resolveForwardRef(type) {
761
762
  * selector: 'my-comp',
762
763
  * templateUrl: 'my-comp.html', // This requires asynchronous resolution
763
764
  * })
764
- * class MyComponnent{
765
+ * class MyComponent{
765
766
  * }
766
767
  *
767
- * // Calling `renderComponent` will fail because `MyComponent`'s `\@Compenent.templateUrl`
768
- * // needs to be resolved because `renderComponent` is synchronous process.
769
- * // renderComponent(MyComponent);
768
+ * // Calling `renderComponent` will fail because `renderComponent` is a synchronous process
769
+ * // and `MyComponent`'s `\@Component.templateUrl` needs to be resolved asynchronously.
770
770
  *
771
- * // Calling `resolveComponentResources` will resolve `\@Compenent.templateUrl` into
772
- * // `\@Compenent.template`, which would allow `renderComponent` to proceed in synchronous manner.
773
- * // Use browser's `fetch` function as the default resource resolution strategy.
771
+ * // Calling `resolveComponentResources()` will resolve `\@Component.templateUrl` into
772
+ * // `\@Component.template`, which allows `renderComponent` to proceed in a synchronous manner.
773
+ *
774
+ * // Use browser's `fetch()` function as the default resource resolution strategy.
774
775
  * resolveComponentResources(fetch).then(() => {
775
- * // After resolution all URLs have been converted into strings.
776
+ * // After resolution all URLs have been converted into `template` strings.
776
777
  * renderComponent(MyComponent);
777
778
  * });
778
779
  *
@@ -781,8 +782,8 @@ function resolveForwardRef(type) {
781
782
  * NOTE: In AOT the resolution happens during compilation, and so there should be no need
782
783
  * to call this method outside JIT mode.
783
784
  *
784
- * @param {?} resourceResolver a function which is responsible to returning a `Promise` of the resolved
785
- * URL. Browser's `fetch` method is a good default implementation.
785
+ * @param {?} resourceResolver a function which is responsible for returning a `Promise` to the
786
+ * contents of the resolved URL. Browser's `fetch()` method is a good default implementation.
786
787
  * @return {?}
787
788
  */
788
789
  function resolveComponentResources(resourceResolver) {
@@ -2027,7 +2028,7 @@ function findComponentView(lView) {
2027
2028
  */
2028
2029
  function getCompilerFacade() {
2029
2030
  /** @type {?} */
2030
- const globalNg = _global.ng;
2031
+ const globalNg = _global['ng'];
2031
2032
  if (!globalNg || !globalNg.ɵcompilerFacade) {
2032
2033
  throw new Error(`Angular JIT compilation failed: '@angular/compiler' not loaded!\n` +
2033
2034
  ` - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n` +
@@ -6455,7 +6456,7 @@ function updateStylingMap(context, classesInput, stylesInput, directiveRef) {
6455
6456
  (/** @type {?} */ (((/** @type {?} */ (classesInput))))).value :
6456
6457
  classesInput;
6457
6458
  /** @type {?} */
6458
- const stylesValue = stylesPlayerBuilder ? (/** @type {?} */ (stylesInput)).value : stylesInput;
6459
+ const stylesValue = stylesPlayerBuilder ? (/** @type {?} */ (stylesInput))['value'] : stylesInput;
6459
6460
  // early exit (this is what's done to avoid using ctx.bind() to cache the value)
6460
6461
  /** @type {?} */
6461
6462
  const ignoreAllClassUpdates = limitToSingleClasses(context) || classesValue === NO_CHANGE ||
@@ -13813,7 +13814,7 @@ class Version {
13813
13814
  * \@publicApi
13814
13815
  * @type {?}
13815
13816
  */
13816
- const VERSION = new Version('7.2.7');
13817
+ const VERSION = new Version('7.2.11');
13817
13818
 
13818
13819
  /**
13819
13820
  * @fileoverview added by tsickle
@@ -19463,7 +19464,7 @@ const initializeBaseDef = (target) => {
19463
19464
  }
19464
19465
  };
19465
19466
  /**
19466
- * Does the work of creating the `ngBaseDef` property for the \@Input and \@Output decorators.
19467
+ * Does the work of creating the `ngBaseDef` property for the `Input` and `Output` decorators.
19467
19468
  * \@param key "inputs" or "outputs"
19468
19469
  * @type {?}
19469
19470
  */