@angular/common 13.3.0 → 14.0.0-next.10

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 (66) hide show
  1. package/common.d.ts +25 -12
  2. package/esm2020/http/src/client.mjs +3 -3
  3. package/esm2020/http/src/interceptor.mjs +3 -3
  4. package/esm2020/http/src/jsonp.mjs +15 -7
  5. package/esm2020/http/src/module.mjs +15 -15
  6. package/esm2020/http/src/xhr.mjs +3 -3
  7. package/esm2020/http/src/xsrf.mjs +6 -6
  8. package/esm2020/http/testing/src/backend.mjs +3 -3
  9. package/esm2020/http/testing/src/module.mjs +4 -4
  10. package/esm2020/src/common_module.mjs +4 -4
  11. package/esm2020/src/directives/ng_class.mjs +3 -3
  12. package/esm2020/src/directives/ng_component_outlet.mjs +36 -22
  13. package/esm2020/src/directives/ng_for_of.mjs +3 -3
  14. package/esm2020/src/directives/ng_if.mjs +3 -3
  15. package/esm2020/src/directives/ng_plural.mjs +6 -6
  16. package/esm2020/src/directives/ng_style.mjs +3 -3
  17. package/esm2020/src/directives/ng_switch.mjs +9 -9
  18. package/esm2020/src/directives/ng_template_outlet.mjs +16 -8
  19. package/esm2020/src/dom_adapter.mjs +1 -1
  20. package/esm2020/src/i18n/format_date.mjs +7 -7
  21. package/esm2020/src/i18n/format_number.mjs +4 -4
  22. package/esm2020/src/i18n/localization.mjs +6 -6
  23. package/esm2020/src/location/hash_location_strategy.mjs +3 -3
  24. package/esm2020/src/location/location.mjs +20 -4
  25. package/esm2020/src/location/location_strategy.mjs +6 -6
  26. package/esm2020/src/location/platform_location.mjs +6 -6
  27. package/esm2020/src/pipes/async_pipe.mjs +3 -3
  28. package/esm2020/src/pipes/case_conversion_pipes.mjs +11 -11
  29. package/esm2020/src/pipes/date_pipe.mjs +3 -3
  30. package/esm2020/src/pipes/i18n_plural_pipe.mjs +3 -3
  31. package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
  32. package/esm2020/src/pipes/json_pipe.mjs +3 -3
  33. package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
  34. package/esm2020/src/pipes/number_pipe.mjs +9 -9
  35. package/esm2020/src/pipes/slice_pipe.mjs +3 -3
  36. package/esm2020/src/version.mjs +1 -1
  37. package/esm2020/testing/src/location_mock.mjs +18 -4
  38. package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
  39. package/esm2020/testing/src/mock_platform_location.mjs +3 -3
  40. package/esm2020/upgrade/src/location_shim.mjs +3 -3
  41. package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
  42. package/fesm2015/common.mjs +174 -134
  43. package/fesm2015/common.mjs.map +1 -1
  44. package/fesm2015/http/testing.mjs +8 -8
  45. package/fesm2015/http/testing.mjs.map +1 -1
  46. package/fesm2015/http.mjs +45 -37
  47. package/fesm2015/http.mjs.map +1 -1
  48. package/fesm2015/testing.mjs +26 -10
  49. package/fesm2015/testing.mjs.map +1 -1
  50. package/fesm2015/upgrade.mjs +7 -7
  51. package/fesm2015/upgrade.mjs.map +1 -1
  52. package/fesm2020/common.mjs +172 -134
  53. package/fesm2020/common.mjs.map +1 -1
  54. package/fesm2020/http/testing.mjs +8 -8
  55. package/fesm2020/http/testing.mjs.map +1 -1
  56. package/fesm2020/http.mjs +45 -37
  57. package/fesm2020/http.mjs.map +1 -1
  58. package/fesm2020/testing.mjs +24 -10
  59. package/fesm2020/testing.mjs.map +1 -1
  60. package/fesm2020/upgrade.mjs +7 -7
  61. package/fesm2020/upgrade.mjs.map +1 -1
  62. package/http/http.d.ts +1 -1
  63. package/http/testing/testing.d.ts +1 -1
  64. package/package.json +3 -3
  65. package/testing/testing.d.ts +3 -2
  66. package/upgrade/upgrade.d.ts +1 -1
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Angular v13.3.0
2
+ * @license Angular v14.0.0-next.10
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import * as i0 from '@angular/core';
8
- import { InjectionToken, Injectable, ɵɵinject, Inject, Optional, EventEmitter, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵisListLikeIterable, ɵstringify, Directive, Input, NgModuleRef, ComponentFactoryResolver, Host, ɵRuntimeError, Attribute, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable } from '@angular/core';
8
+ import { InjectionToken, Injectable, ɵɵinject, Inject, Optional, EventEmitter, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵisListLikeIterable, ɵstringify, Directive, Input, createNgModuleRef, NgModuleRef, Host, ɵRuntimeError, Attribute, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable } from '@angular/core';
9
9
 
10
10
  /**
11
11
  * @license
@@ -87,9 +87,9 @@ class PlatformLocation {
87
87
  throw new Error('Not implemented');
88
88
  }
89
89
  }
90
- PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
91
- PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PlatformLocation, decorators: [{
90
+ PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
91
+ PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PlatformLocation, decorators: [{
93
93
  type: Injectable,
94
94
  args: [{
95
95
  providedIn: 'platform',
@@ -190,9 +190,9 @@ class BrowserPlatformLocation extends PlatformLocation {
190
190
  return this._history.state;
191
191
  }
192
192
  }
193
- BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
194
- BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
193
+ BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
194
+ BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
195
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
196
196
  type: Injectable,
197
197
  args: [{
198
198
  providedIn: 'platform',
@@ -313,9 +313,9 @@ class LocationStrategy {
313
313
  throw new Error('Not implemented');
314
314
  }
315
315
  }
316
- LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
317
- LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: provideLocationStrategy });
318
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LocationStrategy, decorators: [{
316
+ LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
317
+ LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: provideLocationStrategy });
318
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LocationStrategy, decorators: [{
319
319
  type: Injectable,
320
320
  args: [{ providedIn: 'root', useFactory: provideLocationStrategy }]
321
321
  }] });
@@ -431,9 +431,9 @@ class PathLocationStrategy extends LocationStrategy {
431
431
  (_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
432
432
  }
433
433
  }
434
- PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
435
- PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PathLocationStrategy });
436
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PathLocationStrategy, decorators: [{
434
+ PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
435
+ PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PathLocationStrategy });
436
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PathLocationStrategy, decorators: [{
437
437
  type: Injectable
438
438
  }], ctorParameters: function () {
439
439
  return [{ type: PlatformLocation }, { type: undefined, decorators: [{
@@ -528,9 +528,9 @@ class HashLocationStrategy extends LocationStrategy {
528
528
  (_b = (_a = this._platformLocation).historyGo) === null || _b === void 0 ? void 0 : _b.call(_a, relativePosition);
529
529
  }
530
530
  }
531
- HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
532
- HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: HashLocationStrategy });
533
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: HashLocationStrategy, decorators: [{
531
+ HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
532
+ HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: HashLocationStrategy });
533
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: HashLocationStrategy, decorators: [{
534
534
  type: Injectable
535
535
  }], ctorParameters: function () {
536
536
  return [{ type: PlatformLocation }, { type: undefined, decorators: [{
@@ -582,6 +582,8 @@ class Location {
582
582
  this._subject = new EventEmitter();
583
583
  /** @internal */
584
584
  this._urlChangeListeners = [];
585
+ /** @internal */
586
+ this._urlChangeSubscription = null;
585
587
  this._platformStrategy = platformStrategy;
586
588
  const browserBaseHref = this._platformStrategy.getBaseHref();
587
589
  this._platformLocation = platformLocation;
@@ -595,6 +597,12 @@ class Location {
595
597
  });
596
598
  });
597
599
  }
600
+ /** @nodoc */
601
+ ngOnDestroy() {
602
+ var _a;
603
+ (_a = this._urlChangeSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
604
+ this._urlChangeListeners = [];
605
+ }
598
606
  /**
599
607
  * Normalizes the URL path for this location.
600
608
  *
@@ -711,6 +719,7 @@ class Location {
711
719
  * framework that are not detectible through "popstate" or "hashchange" events.
712
720
  *
713
721
  * @param fn The change handler function, which take a URL and a location history state.
722
+ * @returns A function that, when executed, unregisters a URL change listener.
714
723
  */
715
724
  onUrlChange(fn) {
716
725
  this._urlChangeListeners.push(fn);
@@ -719,6 +728,15 @@ class Location {
719
728
  this._notifyUrlChangeListeners(v.url, v.state);
720
729
  });
721
730
  }
731
+ return () => {
732
+ var _a;
733
+ const fnIndex = this._urlChangeListeners.indexOf(fn);
734
+ this._urlChangeListeners.splice(fnIndex, 1);
735
+ if (this._urlChangeListeners.length === 0) {
736
+ (_a = this._urlChangeSubscription) === null || _a === void 0 ? void 0 : _a.unsubscribe();
737
+ this._urlChangeSubscription = null;
738
+ }
739
+ };
722
740
  }
723
741
  /** @internal */
724
742
  _notifyUrlChangeListeners(url = '', state) {
@@ -769,9 +787,9 @@ Location.joinWithSlash = joinWithSlash;
769
787
  * @returns The URL string, modified if needed.
770
788
  */
771
789
  Location.stripTrailingSlash = stripTrailingSlash;
772
- Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }, { token: PlatformLocation }], target: i0.ɵɵFactoryTarget.Injectable });
773
- Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
774
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: Location, decorators: [{
790
+ Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }, { token: PlatformLocation }], target: i0.ɵɵFactoryTarget.Injectable });
791
+ Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
792
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: Location, decorators: [{
775
793
  type: Injectable,
776
794
  args: [{
777
795
  providedIn: 'root',
@@ -1443,7 +1461,7 @@ function getNumberOfCurrencyDigits(code) {
1443
1461
  * Use of this source code is governed by an MIT-style license that can be
1444
1462
  * found in the LICENSE file at https://angular.io/license
1445
1463
  */
1446
- const ISO8601_DATE_REGEX = /^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;
1464
+ const ISO8601_DATE_REGEX = /^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;
1447
1465
  // 1 2 3 4 5 6 7 8 9 10 11
1448
1466
  const NAMED_FORMATS = {};
1449
1467
  const DATE_FORMATS_SPLIT = /((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;
@@ -1522,9 +1540,9 @@ function formatDate(value, format, locale, timezone) {
1522
1540
  let text = '';
1523
1541
  parts.forEach(value => {
1524
1542
  const dateFormatter = getDateFormatter(value);
1525
- text += dateFormatter ?
1526
- dateFormatter(date, locale, dateTimezoneOffset) :
1527
- value === '\'\'' ? '\'' : value.replace(/(^'|'$)/g, '').replace(/''/g, '\'');
1543
+ text += dateFormatter ? dateFormatter(date, locale, dateTimezoneOffset) :
1544
+ value === '\'\'' ? '\'' :
1545
+ value.replace(/(^'|'$)/g, '').replace(/''/g, '\'');
1528
1546
  });
1529
1547
  return text;
1530
1548
  }
@@ -1640,13 +1658,13 @@ function padNumber(num, digits, minusSign = '-', trim, negWrap) {
1640
1658
  strNum = '0' + strNum;
1641
1659
  }
1642
1660
  if (trim) {
1643
- strNum = strNum.substr(strNum.length - digits);
1661
+ strNum = strNum.slice(strNum.length - digits);
1644
1662
  }
1645
1663
  return neg + strNum;
1646
1664
  }
1647
1665
  function formatFractionalSeconds(milliseconds, digits) {
1648
1666
  const strMs = padNumber(milliseconds, 3);
1649
- return strMs.substr(0, digits);
1667
+ return strMs.substring(0, digits);
1650
1668
  }
1651
1669
  /**
1652
1670
  * Returns a date formatter that transforms a date into its locale digit representation
@@ -2394,7 +2412,7 @@ function parseNumberFormat(format, minusSign = '-') {
2394
2412
  positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1),
2395
2413
  positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)
2396
2414
  ], integer = positiveParts[0], fraction = positiveParts[1] || '';
2397
- p.posPre = integer.substr(0, integer.indexOf(DIGIT_CHAR));
2415
+ p.posPre = integer.substring(0, integer.indexOf(DIGIT_CHAR));
2398
2416
  for (let i = 0; i < fraction.length; i++) {
2399
2417
  const ch = fraction.charAt(i);
2400
2418
  if (ch === ZERO_CHAR) {
@@ -2412,8 +2430,8 @@ function parseNumberFormat(format, minusSign = '-') {
2412
2430
  p.lgSize = (groups[2] || groups[1]) ? (groups[2] || groups[1]).length : 0;
2413
2431
  if (negative) {
2414
2432
  const trunkLen = positive.length - p.posPre.length - p.posSuf.length, pos = negative.indexOf(DIGIT_CHAR);
2415
- p.negPre = negative.substr(0, pos).replace(/'/g, '');
2416
- p.negSuf = negative.substr(pos + trunkLen).replace(/'/g, '');
2433
+ p.negPre = negative.substring(0, pos).replace(/'/g, '');
2434
+ p.negSuf = negative.slice(pos + trunkLen).replace(/'/g, '');
2417
2435
  }
2418
2436
  else {
2419
2437
  p.negPre = minusSign + p.posPre;
@@ -2587,9 +2605,9 @@ function parseIntAutoRadix(text) {
2587
2605
  */
2588
2606
  class NgLocalization {
2589
2607
  }
2590
- NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2591
- NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
2592
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgLocalization, decorators: [{
2608
+ NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2609
+ NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
2610
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgLocalization, decorators: [{
2593
2611
  type: Injectable,
2594
2612
  args: [{
2595
2613
  providedIn: 'root',
@@ -2644,9 +2662,9 @@ class NgLocaleLocalization extends NgLocalization {
2644
2662
  }
2645
2663
  }
2646
2664
  }
2647
- NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2648
- NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgLocaleLocalization });
2649
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2665
+ NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2666
+ NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgLocaleLocalization });
2667
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2650
2668
  type: Injectable
2651
2669
  }], ctorParameters: function () {
2652
2670
  return [{ type: undefined, decorators: [{
@@ -2841,9 +2859,9 @@ class NgClass {
2841
2859
  }
2842
2860
  }
2843
2861
  }
2844
- NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2845
- NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgClass, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2846
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgClass, decorators: [{
2862
+ NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2863
+ NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgClass, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2864
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgClass, decorators: [{
2847
2865
  type: Directive,
2848
2866
  args: [{ selector: '[ngClass]' }]
2849
2867
  }], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { klass: [{
@@ -2880,9 +2898,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
2880
2898
  * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content
2881
2899
  * section of the component, if it exists.
2882
2900
  *
2883
- * * `ngComponentOutletNgModuleFactory`: Optional module factory to allow loading another
2901
+ * * `ngComponentOutletNgModule`: Optional NgModule class reference to allow loading another
2884
2902
  * module dynamically, then loading a component from that module.
2885
2903
  *
2904
+ * * `ngComponentOutletNgModuleFactory`: Deprecated config option that allows providing optional
2905
+ * NgModule factory to allow loading another module dynamically, then loading a component from that
2906
+ * module. Use `ngComponentOutletNgModule` instead.
2907
+ *
2886
2908
  * ### Syntax
2887
2909
  *
2888
2910
  * Simple
@@ -2898,10 +2920,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
2898
2920
  * </ng-container>
2899
2921
  * ```
2900
2922
  *
2901
- * Customized ngModuleFactory
2923
+ * Customized NgModule reference
2902
2924
  * ```
2903
2925
  * <ng-container *ngComponentOutlet="componentTypeExpression;
2904
- * ngModuleFactory: moduleFactory;">
2926
+ * ngModule: ngModuleClass;">
2905
2927
  * </ng-container>
2906
2928
  * ```
2907
2929
  *
@@ -2919,30 +2941,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
2919
2941
  class NgComponentOutlet {
2920
2942
  constructor(_viewContainerRef) {
2921
2943
  this._viewContainerRef = _viewContainerRef;
2922
- this._componentRef = null;
2923
- this._moduleRef = null;
2924
2944
  }
2925
2945
  /** @nodoc */
2926
2946
  ngOnChanges(changes) {
2927
- this._viewContainerRef.clear();
2928
- this._componentRef = null;
2947
+ const { _viewContainerRef: viewContainerRef, ngComponentOutletNgModule: ngModule, ngComponentOutletNgModuleFactory: ngModuleFactory, } = this;
2948
+ viewContainerRef.clear();
2949
+ this._componentRef = undefined;
2929
2950
  if (this.ngComponentOutlet) {
2930
- const elInjector = this.ngComponentOutletInjector || this._viewContainerRef.parentInjector;
2931
- if (changes['ngComponentOutletNgModuleFactory']) {
2951
+ const injector = this.ngComponentOutletInjector || viewContainerRef.parentInjector;
2952
+ if (changes['ngComponentOutletNgModule'] || changes['ngComponentOutletNgModuleFactory']) {
2932
2953
  if (this._moduleRef)
2933
2954
  this._moduleRef.destroy();
2934
- if (this.ngComponentOutletNgModuleFactory) {
2935
- const parentModule = elInjector.get(NgModuleRef);
2936
- this._moduleRef = this.ngComponentOutletNgModuleFactory.create(parentModule.injector);
2955
+ if (ngModule) {
2956
+ this._moduleRef = createNgModuleRef(ngModule, getParentInjector(injector));
2957
+ }
2958
+ else if (ngModuleFactory) {
2959
+ this._moduleRef = ngModuleFactory.create(getParentInjector(injector));
2937
2960
  }
2938
2961
  else {
2939
- this._moduleRef = null;
2962
+ this._moduleRef = undefined;
2940
2963
  }
2941
2964
  }
2942
- const componentFactoryResolver = this._moduleRef ? this._moduleRef.componentFactoryResolver :
2943
- elInjector.get(ComponentFactoryResolver);
2944
- const componentFactory = componentFactoryResolver.resolveComponentFactory(this.ngComponentOutlet);
2945
- this._componentRef = this._viewContainerRef.createComponent(componentFactory, this._viewContainerRef.length, elInjector, this.ngComponentOutletContent);
2965
+ this._componentRef = viewContainerRef.createComponent(this.ngComponentOutlet, {
2966
+ index: viewContainerRef.length,
2967
+ injector,
2968
+ ngModuleRef: this._moduleRef,
2969
+ projectableNodes: this.ngComponentOutletContent,
2970
+ });
2946
2971
  }
2947
2972
  }
2948
2973
  /** @nodoc */
@@ -2951,9 +2976,9 @@ class NgComponentOutlet {
2951
2976
  this._moduleRef.destroy();
2952
2977
  }
2953
2978
  }
2954
- NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2955
- NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 });
2956
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgComponentOutlet, decorators: [{
2979
+ NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2980
+ NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: { ngComponentOutlet: "ngComponentOutlet", ngComponentOutletInjector: "ngComponentOutletInjector", ngComponentOutletContent: "ngComponentOutletContent", ngComponentOutletNgModule: "ngComponentOutletNgModule", ngComponentOutletNgModuleFactory: "ngComponentOutletNgModuleFactory" }, usesOnChanges: true, ngImport: i0 });
2981
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgComponentOutlet, decorators: [{
2957
2982
  type: Directive,
2958
2983
  args: [{ selector: '[ngComponentOutlet]' }]
2959
2984
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngComponentOutlet: [{
@@ -2962,9 +2987,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
2962
2987
  type: Input
2963
2988
  }], ngComponentOutletContent: [{
2964
2989
  type: Input
2990
+ }], ngComponentOutletNgModule: [{
2991
+ type: Input
2965
2992
  }], ngComponentOutletNgModuleFactory: [{
2966
2993
  type: Input
2967
2994
  }] } });
2995
+ // Helper function that returns an Injector instance of a parent NgModule.
2996
+ function getParentInjector(injector) {
2997
+ const parentNgModule = injector.get(NgModuleRef);
2998
+ return parentNgModule.injector;
2999
+ }
2968
3000
 
2969
3001
  /**
2970
3002
  * @license
@@ -3227,9 +3259,9 @@ class NgForOf {
3227
3259
  return true;
3228
3260
  }
3229
3261
  }
3230
- NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
3231
- NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
3232
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgForOf, decorators: [{
3262
+ NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
3263
+ NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgForOf, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
3264
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgForOf, decorators: [{
3233
3265
  type: Directive,
3234
3266
  args: [{ selector: '[ngFor][ngForOf]' }]
3235
3267
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { ngForOf: [{
@@ -3459,9 +3491,9 @@ class NgIf {
3459
3491
  return true;
3460
3492
  }
3461
3493
  }
3462
- NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3463
- NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgIf, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
3464
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgIf, decorators: [{
3494
+ NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3495
+ NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgIf, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
3496
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgIf, decorators: [{
3465
3497
  type: Directive,
3466
3498
  args: [{ selector: '[ngIf]' }]
3467
3499
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngIf: [{
@@ -3629,9 +3661,9 @@ class NgSwitch {
3629
3661
  }
3630
3662
  }
3631
3663
  }
3632
- NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3633
- NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgSwitch, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3634
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgSwitch, decorators: [{
3664
+ NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3665
+ NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgSwitch, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3666
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgSwitch, decorators: [{
3635
3667
  type: Directive,
3636
3668
  args: [{ selector: '[ngSwitch]' }]
3637
3669
  }], propDecorators: { ngSwitch: [{
@@ -3687,9 +3719,9 @@ class NgSwitchCase {
3687
3719
  this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
3688
3720
  }
3689
3721
  }
3690
- NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3691
- NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3692
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgSwitchCase, decorators: [{
3722
+ NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3723
+ NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3724
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgSwitchCase, decorators: [{
3693
3725
  type: Directive,
3694
3726
  args: [{ selector: '[ngSwitchCase]' }]
3695
3727
  }], ctorParameters: function () {
@@ -3723,9 +3755,9 @@ class NgSwitchDefault {
3723
3755
  ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
3724
3756
  }
3725
3757
  }
3726
- NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3727
- NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgSwitchDefault, selector: "[ngSwitchDefault]", ngImport: i0 });
3728
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgSwitchDefault, decorators: [{
3758
+ NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3759
+ NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgSwitchDefault, selector: "[ngSwitchDefault]", ngImport: i0 });
3760
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgSwitchDefault, decorators: [{
3729
3761
  type: Directive,
3730
3762
  args: [{ selector: '[ngSwitchDefault]' }]
3731
3763
  }], ctorParameters: function () {
@@ -3808,9 +3840,9 @@ class NgPlural {
3808
3840
  }
3809
3841
  }
3810
3842
  }
3811
- NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3812
- NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgPlural, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3813
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgPlural, decorators: [{
3843
+ NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3844
+ NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgPlural, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgPlural, decorators: [{
3814
3846
  type: Directive,
3815
3847
  args: [{ selector: '[ngPlural]' }]
3816
3848
  }], ctorParameters: function () { return [{ type: NgLocalization }]; }, propDecorators: { ngPlural: [{
@@ -3843,9 +3875,9 @@ class NgPluralCase {
3843
3875
  ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
3844
3876
  }
3845
3877
  }
3846
- NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
3847
- NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgPluralCase, selector: "[ngPluralCase]", ngImport: i0 });
3848
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgPluralCase, decorators: [{
3878
+ NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
3879
+ NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgPluralCase, selector: "[ngPluralCase]", ngImport: i0 });
3880
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgPluralCase, decorators: [{
3849
3881
  type: Directive,
3850
3882
  args: [{ selector: '[ngPluralCase]' }]
3851
3883
  }], ctorParameters: function () {
@@ -3938,9 +3970,9 @@ class NgStyle {
3938
3970
  changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
3939
3971
  }
3940
3972
  }
3941
- NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
3942
- NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgStyle, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3943
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgStyle, decorators: [{
3973
+ NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
3974
+ NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgStyle, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3975
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgStyle, decorators: [{
3944
3976
  type: Directive,
3945
3977
  args: [{ selector: '[ngStyle]' }]
3946
3978
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { ngStyle: [{
@@ -3994,32 +4026,40 @@ class NgTemplateOutlet {
3994
4026
  * A string defining the template reference and optionally the context object for the template.
3995
4027
  */
3996
4028
  this.ngTemplateOutlet = null;
4029
+ /** Injector to be used within the embedded view. */
4030
+ this.ngTemplateOutletInjector = null;
3997
4031
  }
3998
4032
  /** @nodoc */
3999
4033
  ngOnChanges(changes) {
4000
- if (changes['ngTemplateOutlet']) {
4034
+ if (changes['ngTemplateOutlet'] || changes['ngTemplateOutletInjector']) {
4001
4035
  const viewContainerRef = this._viewContainerRef;
4002
4036
  if (this._viewRef) {
4003
4037
  viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));
4004
4038
  }
4005
- this._viewRef = this.ngTemplateOutlet ?
4006
- viewContainerRef.createEmbeddedView(this.ngTemplateOutlet, this.ngTemplateOutletContext) :
4007
- null;
4039
+ if (this.ngTemplateOutlet) {
4040
+ const { ngTemplateOutlet: template, ngTemplateOutletContext: context, ngTemplateOutletInjector: injector } = this;
4041
+ this._viewRef = viewContainerRef.createEmbeddedView(template, context, injector ? { injector } : undefined);
4042
+ }
4043
+ else {
4044
+ this._viewRef = null;
4045
+ }
4008
4046
  }
4009
4047
  else if (this._viewRef && changes['ngTemplateOutletContext'] && this.ngTemplateOutletContext) {
4010
4048
  this._viewRef.context = this.ngTemplateOutletContext;
4011
4049
  }
4012
4050
  }
4013
4051
  }
4014
- NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
4015
- NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet" }, usesOnChanges: true, ngImport: i0 });
4016
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4052
+ NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
4053
+ NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
4054
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4017
4055
  type: Directive,
4018
4056
  args: [{ selector: '[ngTemplateOutlet]' }]
4019
4057
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngTemplateOutletContext: [{
4020
4058
  type: Input
4021
4059
  }], ngTemplateOutlet: [{
4022
4060
  type: Input
4061
+ }], ngTemplateOutletInjector: [{
4062
+ type: Input
4023
4063
  }] } });
4024
4064
 
4025
4065
  /**
@@ -4176,9 +4216,9 @@ class AsyncPipe {
4176
4216
  }
4177
4217
  }
4178
4218
  }
4179
- AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
4180
- AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AsyncPipe, name: "async", pure: false });
4181
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AsyncPipe, decorators: [{
4219
+ AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
4220
+ AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: AsyncPipe, name: "async", pure: false });
4221
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: AsyncPipe, decorators: [{
4182
4222
  type: Pipe,
4183
4223
  args: [{ name: 'async', pure: false }]
4184
4224
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
@@ -4215,9 +4255,9 @@ class LowerCasePipe {
4215
4255
  return value.toLowerCase();
4216
4256
  }
4217
4257
  }
4218
- LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4219
- LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LowerCasePipe, name: "lowercase" });
4220
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LowerCasePipe, decorators: [{
4258
+ LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4259
+ LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LowerCasePipe, name: "lowercase" });
4260
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LowerCasePipe, decorators: [{
4221
4261
  type: Pipe,
4222
4262
  args: [{ name: 'lowercase' }]
4223
4263
  }] });
@@ -4254,12 +4294,12 @@ class TitleCasePipe {
4254
4294
  if (typeof value !== 'string') {
4255
4295
  throw invalidPipeArgumentError(TitleCasePipe, value);
4256
4296
  }
4257
- return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.substr(1).toLowerCase()));
4297
+ return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
4258
4298
  }
4259
4299
  }
4260
- TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4261
- TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TitleCasePipe, name: "titlecase" });
4262
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TitleCasePipe, decorators: [{
4300
+ TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4301
+ TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: TitleCasePipe, name: "titlecase" });
4302
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: TitleCasePipe, decorators: [{
4263
4303
  type: Pipe,
4264
4304
  args: [{ name: 'titlecase' }]
4265
4305
  }] });
@@ -4281,9 +4321,9 @@ class UpperCasePipe {
4281
4321
  return value.toUpperCase();
4282
4322
  }
4283
4323
  }
4284
- UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4285
- UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: UpperCasePipe, name: "uppercase" });
4286
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: UpperCasePipe, decorators: [{
4324
+ UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4325
+ UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: UpperCasePipe, name: "uppercase" });
4326
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: UpperCasePipe, decorators: [{
4287
4327
  type: Pipe,
4288
4328
  args: [{ name: 'uppercase' }]
4289
4329
  }] });
@@ -4476,9 +4516,9 @@ class DatePipe {
4476
4516
  }
4477
4517
  }
4478
4518
  }
4479
- DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
4480
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DatePipe, name: "date" });
4481
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DatePipe, decorators: [{
4519
+ DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
4520
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: DatePipe, name: "date" });
4521
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: DatePipe, decorators: [{
4482
4522
  type: Pipe,
4483
4523
  args: [{ name: 'date', pure: true }]
4484
4524
  }], ctorParameters: function () {
@@ -4536,9 +4576,9 @@ class I18nPluralPipe {
4536
4576
  return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
4537
4577
  }
4538
4578
  }
4539
- I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4540
- I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nPluralPipe, name: "i18nPlural" });
4541
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nPluralPipe, decorators: [{
4579
+ I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4580
+ I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: I18nPluralPipe, name: "i18nPlural" });
4581
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: I18nPluralPipe, decorators: [{
4542
4582
  type: Pipe,
4543
4583
  args: [{ name: 'i18nPlural', pure: true }]
4544
4584
  }], ctorParameters: function () { return [{ type: NgLocalization }]; } });
@@ -4588,9 +4628,9 @@ class I18nSelectPipe {
4588
4628
  return '';
4589
4629
  }
4590
4630
  }
4591
- I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4592
- I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nSelectPipe, name: "i18nSelect" });
4593
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nSelectPipe, decorators: [{
4631
+ I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4632
+ I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: I18nSelectPipe, name: "i18nSelect" });
4633
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: I18nSelectPipe, decorators: [{
4594
4634
  type: Pipe,
4595
4635
  args: [{ name: 'i18nSelect', pure: true }]
4596
4636
  }] });
@@ -4625,9 +4665,9 @@ class JsonPipe {
4625
4665
  return JSON.stringify(value, null, 2);
4626
4666
  }
4627
4667
  }
4628
- JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4629
- JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: JsonPipe, name: "json", pure: false });
4630
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: JsonPipe, decorators: [{
4668
+ JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4669
+ JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: JsonPipe, name: "json", pure: false });
4670
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: JsonPipe, decorators: [{
4631
4671
  type: Pipe,
4632
4672
  args: [{ name: 'json', pure: false }]
4633
4673
  }] });
@@ -4691,9 +4731,9 @@ class KeyValuePipe {
4691
4731
  return this.keyValues;
4692
4732
  }
4693
4733
  }
4694
- KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4695
- KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: KeyValuePipe, name: "keyvalue", pure: false });
4696
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: KeyValuePipe, decorators: [{
4734
+ KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4735
+ KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: KeyValuePipe, name: "keyvalue", pure: false });
4736
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: KeyValuePipe, decorators: [{
4697
4737
  type: Pipe,
4698
4738
  args: [{ name: 'keyvalue', pure: false }]
4699
4739
  }], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }]; } });
@@ -4822,9 +4862,9 @@ class DecimalPipe {
4822
4862
  }
4823
4863
  }
4824
4864
  }
4825
- DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4826
- DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DecimalPipe, name: "number" });
4827
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DecimalPipe, decorators: [{
4865
+ DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4866
+ DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: DecimalPipe, name: "number" });
4867
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: DecimalPipe, decorators: [{
4828
4868
  type: Pipe,
4829
4869
  args: [{ name: 'number' }]
4830
4870
  }], ctorParameters: function () {
@@ -4886,9 +4926,9 @@ class PercentPipe {
4886
4926
  }
4887
4927
  }
4888
4928
  }
4889
- PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4890
- PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PercentPipe, name: "percent" });
4891
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PercentPipe, decorators: [{
4929
+ PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4930
+ PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PercentPipe, name: "percent" });
4931
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PercentPipe, decorators: [{
4892
4932
  type: Pipe,
4893
4933
  args: [{ name: 'percent' }]
4894
4934
  }], ctorParameters: function () {
@@ -5003,9 +5043,9 @@ class CurrencyPipe {
5003
5043
  }
5004
5044
  }
5005
5045
  }
5006
- CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
5007
- CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CurrencyPipe, name: "currency" });
5008
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CurrencyPipe, decorators: [{
5046
+ CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
5047
+ CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CurrencyPipe, name: "currency" });
5048
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CurrencyPipe, decorators: [{
5009
5049
  type: Pipe,
5010
5050
  args: [{ name: 'currency' }]
5011
5051
  }], ctorParameters: function () {
@@ -5089,9 +5129,9 @@ class SlicePipe {
5089
5129
  return typeof obj === 'string' || Array.isArray(obj);
5090
5130
  }
5091
5131
  }
5092
- SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5093
- SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SlicePipe, name: "slice", pure: false });
5094
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SlicePipe, decorators: [{
5132
+ SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5133
+ SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: SlicePipe, name: "slice", pure: false });
5134
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: SlicePipe, decorators: [{
5095
5135
  type: Pipe,
5096
5136
  args: [{ name: 'slice', pure: false }]
5097
5137
  }] });
@@ -5146,10 +5186,10 @@ const COMMON_PIPES = [
5146
5186
  */
5147
5187
  class CommonModule {
5148
5188
  }
5149
- CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5150
- CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CommonModule, declarations: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] });
5151
- CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CommonModule });
5152
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CommonModule, decorators: [{
5189
+ CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5190
+ CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CommonModule, declarations: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe], exports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe] });
5191
+ CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CommonModule });
5192
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CommonModule, decorators: [{
5153
5193
  type: NgModule,
5154
5194
  args: [{
5155
5195
  declarations: [COMMON_DIRECTIVES, COMMON_PIPES],
@@ -5207,7 +5247,7 @@ function isPlatformWorkerUi(platformId) {
5207
5247
  /**
5208
5248
  * @publicApi
5209
5249
  */
5210
- const VERSION = new Version('13.3.0');
5250
+ const VERSION = new Version('14.0.0-next.10');
5211
5251
 
5212
5252
  /**
5213
5253
  * @license