@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',
@@ -311,9 +311,9 @@ class LocationStrategy {
311
311
  throw new Error('Not implemented');
312
312
  }
313
313
  }
314
- LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
315
- LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: provideLocationStrategy });
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LocationStrategy, decorators: [{
314
+ LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
315
+ LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: provideLocationStrategy });
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LocationStrategy, decorators: [{
317
317
  type: Injectable,
318
318
  args: [{ providedIn: 'root', useFactory: provideLocationStrategy }]
319
319
  }] });
@@ -428,9 +428,9 @@ class PathLocationStrategy extends LocationStrategy {
428
428
  this._platformLocation.historyGo?.(relativePosition);
429
429
  }
430
430
  }
431
- 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 });
432
- PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PathLocationStrategy });
433
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PathLocationStrategy, decorators: [{
431
+ 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 });
432
+ PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PathLocationStrategy });
433
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PathLocationStrategy, decorators: [{
434
434
  type: Injectable
435
435
  }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
436
436
  type: Optional
@@ -522,9 +522,9 @@ class HashLocationStrategy extends LocationStrategy {
522
522
  this._platformLocation.historyGo?.(relativePosition);
523
523
  }
524
524
  }
525
- 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 });
526
- HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: HashLocationStrategy });
527
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: HashLocationStrategy, decorators: [{
525
+ 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 });
526
+ HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: HashLocationStrategy });
527
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: HashLocationStrategy, decorators: [{
528
528
  type: Injectable
529
529
  }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
530
530
  type: Optional
@@ -574,6 +574,8 @@ class Location {
574
574
  this._subject = new EventEmitter();
575
575
  /** @internal */
576
576
  this._urlChangeListeners = [];
577
+ /** @internal */
578
+ this._urlChangeSubscription = null;
577
579
  this._platformStrategy = platformStrategy;
578
580
  const browserBaseHref = this._platformStrategy.getBaseHref();
579
581
  this._platformLocation = platformLocation;
@@ -587,6 +589,11 @@ class Location {
587
589
  });
588
590
  });
589
591
  }
592
+ /** @nodoc */
593
+ ngOnDestroy() {
594
+ this._urlChangeSubscription?.unsubscribe();
595
+ this._urlChangeListeners = [];
596
+ }
590
597
  /**
591
598
  * Normalizes the URL path for this location.
592
599
  *
@@ -702,6 +709,7 @@ class Location {
702
709
  * framework that are not detectible through "popstate" or "hashchange" events.
703
710
  *
704
711
  * @param fn The change handler function, which take a URL and a location history state.
712
+ * @returns A function that, when executed, unregisters a URL change listener.
705
713
  */
706
714
  onUrlChange(fn) {
707
715
  this._urlChangeListeners.push(fn);
@@ -710,6 +718,14 @@ class Location {
710
718
  this._notifyUrlChangeListeners(v.url, v.state);
711
719
  });
712
720
  }
721
+ return () => {
722
+ const fnIndex = this._urlChangeListeners.indexOf(fn);
723
+ this._urlChangeListeners.splice(fnIndex, 1);
724
+ if (this._urlChangeListeners.length === 0) {
725
+ this._urlChangeSubscription?.unsubscribe();
726
+ this._urlChangeSubscription = null;
727
+ }
728
+ };
713
729
  }
714
730
  /** @internal */
715
731
  _notifyUrlChangeListeners(url = '', state) {
@@ -760,9 +776,9 @@ Location.joinWithSlash = joinWithSlash;
760
776
  * @returns The URL string, modified if needed.
761
777
  */
762
778
  Location.stripTrailingSlash = stripTrailingSlash;
763
- 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 });
764
- Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
765
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: Location, decorators: [{
779
+ 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 });
780
+ Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
781
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: Location, decorators: [{
766
782
  type: Injectable,
767
783
  args: [{
768
784
  providedIn: 'root',
@@ -1434,7 +1450,7 @@ function getNumberOfCurrencyDigits(code) {
1434
1450
  * Use of this source code is governed by an MIT-style license that can be
1435
1451
  * found in the LICENSE file at https://angular.io/license
1436
1452
  */
1437
- const ISO8601_DATE_REGEX = /^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;
1453
+ const ISO8601_DATE_REGEX = /^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;
1438
1454
  // 1 2 3 4 5 6 7 8 9 10 11
1439
1455
  const NAMED_FORMATS = {};
1440
1456
  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]*)/;
@@ -1513,9 +1529,9 @@ function formatDate(value, format, locale, timezone) {
1513
1529
  let text = '';
1514
1530
  parts.forEach(value => {
1515
1531
  const dateFormatter = getDateFormatter(value);
1516
- text += dateFormatter ?
1517
- dateFormatter(date, locale, dateTimezoneOffset) :
1518
- value === '\'\'' ? '\'' : value.replace(/(^'|'$)/g, '').replace(/''/g, '\'');
1532
+ text += dateFormatter ? dateFormatter(date, locale, dateTimezoneOffset) :
1533
+ value === '\'\'' ? '\'' :
1534
+ value.replace(/(^'|'$)/g, '').replace(/''/g, '\'');
1519
1535
  });
1520
1536
  return text;
1521
1537
  }
@@ -1631,13 +1647,13 @@ function padNumber(num, digits, minusSign = '-', trim, negWrap) {
1631
1647
  strNum = '0' + strNum;
1632
1648
  }
1633
1649
  if (trim) {
1634
- strNum = strNum.substr(strNum.length - digits);
1650
+ strNum = strNum.slice(strNum.length - digits);
1635
1651
  }
1636
1652
  return neg + strNum;
1637
1653
  }
1638
1654
  function formatFractionalSeconds(milliseconds, digits) {
1639
1655
  const strMs = padNumber(milliseconds, 3);
1640
- return strMs.substr(0, digits);
1656
+ return strMs.substring(0, digits);
1641
1657
  }
1642
1658
  /**
1643
1659
  * Returns a date formatter that transforms a date into its locale digit representation
@@ -2385,7 +2401,7 @@ function parseNumberFormat(format, minusSign = '-') {
2385
2401
  positive.substring(0, positive.lastIndexOf(ZERO_CHAR) + 1),
2386
2402
  positive.substring(positive.lastIndexOf(ZERO_CHAR) + 1)
2387
2403
  ], integer = positiveParts[0], fraction = positiveParts[1] || '';
2388
- p.posPre = integer.substr(0, integer.indexOf(DIGIT_CHAR));
2404
+ p.posPre = integer.substring(0, integer.indexOf(DIGIT_CHAR));
2389
2405
  for (let i = 0; i < fraction.length; i++) {
2390
2406
  const ch = fraction.charAt(i);
2391
2407
  if (ch === ZERO_CHAR) {
@@ -2403,8 +2419,8 @@ function parseNumberFormat(format, minusSign = '-') {
2403
2419
  p.lgSize = (groups[2] || groups[1]) ? (groups[2] || groups[1]).length : 0;
2404
2420
  if (negative) {
2405
2421
  const trunkLen = positive.length - p.posPre.length - p.posSuf.length, pos = negative.indexOf(DIGIT_CHAR);
2406
- p.negPre = negative.substr(0, pos).replace(/'/g, '');
2407
- p.negSuf = negative.substr(pos + trunkLen).replace(/'/g, '');
2422
+ p.negPre = negative.substring(0, pos).replace(/'/g, '');
2423
+ p.negSuf = negative.slice(pos + trunkLen).replace(/'/g, '');
2408
2424
  }
2409
2425
  else {
2410
2426
  p.negPre = minusSign + p.posPre;
@@ -2578,9 +2594,9 @@ function parseIntAutoRadix(text) {
2578
2594
  */
2579
2595
  class NgLocalization {
2580
2596
  }
2581
- NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2582
- 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 }] });
2583
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgLocalization, decorators: [{
2597
+ NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2598
+ 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 }] });
2599
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgLocalization, decorators: [{
2584
2600
  type: Injectable,
2585
2601
  args: [{
2586
2602
  providedIn: 'root',
@@ -2635,9 +2651,9 @@ class NgLocaleLocalization extends NgLocalization {
2635
2651
  }
2636
2652
  }
2637
2653
  }
2638
- NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2639
- NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgLocaleLocalization });
2640
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2654
+ 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 });
2655
+ NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgLocaleLocalization });
2656
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2641
2657
  type: Injectable
2642
2658
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2643
2659
  type: Inject,
@@ -2830,9 +2846,9 @@ class NgClass {
2830
2846
  }
2831
2847
  }
2832
2848
  }
2833
- 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 });
2834
- NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgClass, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2835
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgClass, decorators: [{
2849
+ 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 });
2850
+ 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 });
2851
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgClass, decorators: [{
2836
2852
  type: Directive,
2837
2853
  args: [{ selector: '[ngClass]' }]
2838
2854
  }], ctorParameters: function () { return [{ type: i0.IterableDiffers }, { type: i0.KeyValueDiffers }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { klass: [{
@@ -2869,9 +2885,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
2869
2885
  * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content
2870
2886
  * section of the component, if it exists.
2871
2887
  *
2872
- * * `ngComponentOutletNgModuleFactory`: Optional module factory to allow loading another
2888
+ * * `ngComponentOutletNgModule`: Optional NgModule class reference to allow loading another
2873
2889
  * module dynamically, then loading a component from that module.
2874
2890
  *
2891
+ * * `ngComponentOutletNgModuleFactory`: Deprecated config option that allows providing optional
2892
+ * NgModule factory to allow loading another module dynamically, then loading a component from that
2893
+ * module. Use `ngComponentOutletNgModule` instead.
2894
+ *
2875
2895
  * ### Syntax
2876
2896
  *
2877
2897
  * Simple
@@ -2887,10 +2907,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
2887
2907
  * </ng-container>
2888
2908
  * ```
2889
2909
  *
2890
- * Customized ngModuleFactory
2910
+ * Customized NgModule reference
2891
2911
  * ```
2892
2912
  * <ng-container *ngComponentOutlet="componentTypeExpression;
2893
- * ngModuleFactory: moduleFactory;">
2913
+ * ngModule: ngModuleClass;">
2894
2914
  * </ng-container>
2895
2915
  * ```
2896
2916
  *
@@ -2908,30 +2928,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
2908
2928
  class NgComponentOutlet {
2909
2929
  constructor(_viewContainerRef) {
2910
2930
  this._viewContainerRef = _viewContainerRef;
2911
- this._componentRef = null;
2912
- this._moduleRef = null;
2913
2931
  }
2914
2932
  /** @nodoc */
2915
2933
  ngOnChanges(changes) {
2916
- this._viewContainerRef.clear();
2917
- this._componentRef = null;
2934
+ const { _viewContainerRef: viewContainerRef, ngComponentOutletNgModule: ngModule, ngComponentOutletNgModuleFactory: ngModuleFactory, } = this;
2935
+ viewContainerRef.clear();
2936
+ this._componentRef = undefined;
2918
2937
  if (this.ngComponentOutlet) {
2919
- const elInjector = this.ngComponentOutletInjector || this._viewContainerRef.parentInjector;
2920
- if (changes['ngComponentOutletNgModuleFactory']) {
2938
+ const injector = this.ngComponentOutletInjector || viewContainerRef.parentInjector;
2939
+ if (changes['ngComponentOutletNgModule'] || changes['ngComponentOutletNgModuleFactory']) {
2921
2940
  if (this._moduleRef)
2922
2941
  this._moduleRef.destroy();
2923
- if (this.ngComponentOutletNgModuleFactory) {
2924
- const parentModule = elInjector.get(NgModuleRef);
2925
- this._moduleRef = this.ngComponentOutletNgModuleFactory.create(parentModule.injector);
2942
+ if (ngModule) {
2943
+ this._moduleRef = createNgModuleRef(ngModule, getParentInjector(injector));
2944
+ }
2945
+ else if (ngModuleFactory) {
2946
+ this._moduleRef = ngModuleFactory.create(getParentInjector(injector));
2926
2947
  }
2927
2948
  else {
2928
- this._moduleRef = null;
2949
+ this._moduleRef = undefined;
2929
2950
  }
2930
2951
  }
2931
- const componentFactoryResolver = this._moduleRef ? this._moduleRef.componentFactoryResolver :
2932
- elInjector.get(ComponentFactoryResolver);
2933
- const componentFactory = componentFactoryResolver.resolveComponentFactory(this.ngComponentOutlet);
2934
- this._componentRef = this._viewContainerRef.createComponent(componentFactory, this._viewContainerRef.length, elInjector, this.ngComponentOutletContent);
2952
+ this._componentRef = viewContainerRef.createComponent(this.ngComponentOutlet, {
2953
+ index: viewContainerRef.length,
2954
+ injector,
2955
+ ngModuleRef: this._moduleRef,
2956
+ projectableNodes: this.ngComponentOutletContent,
2957
+ });
2935
2958
  }
2936
2959
  }
2937
2960
  /** @nodoc */
@@ -2940,9 +2963,9 @@ class NgComponentOutlet {
2940
2963
  this._moduleRef.destroy();
2941
2964
  }
2942
2965
  }
2943
- NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2944
- 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 });
2945
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgComponentOutlet, decorators: [{
2966
+ 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 });
2967
+ 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 });
2968
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgComponentOutlet, decorators: [{
2946
2969
  type: Directive,
2947
2970
  args: [{ selector: '[ngComponentOutlet]' }]
2948
2971
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngComponentOutlet: [{
@@ -2951,9 +2974,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImpor
2951
2974
  type: Input
2952
2975
  }], ngComponentOutletContent: [{
2953
2976
  type: Input
2977
+ }], ngComponentOutletNgModule: [{
2978
+ type: Input
2954
2979
  }], ngComponentOutletNgModuleFactory: [{
2955
2980
  type: Input
2956
2981
  }] } });
2982
+ // Helper function that returns an Injector instance of a parent NgModule.
2983
+ function getParentInjector(injector) {
2984
+ const parentNgModule = injector.get(NgModuleRef);
2985
+ return parentNgModule.injector;
2986
+ }
2957
2987
 
2958
2988
  /**
2959
2989
  * @license
@@ -3216,9 +3246,9 @@ class NgForOf {
3216
3246
  return true;
3217
3247
  }
3218
3248
  }
3219
- 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 });
3220
- 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 });
3221
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgForOf, decorators: [{
3249
+ 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 });
3250
+ 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 });
3251
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgForOf, decorators: [{
3222
3252
  type: Directive,
3223
3253
  args: [{ selector: '[ngFor][ngForOf]' }]
3224
3254
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: i0.IterableDiffers }]; }, propDecorators: { ngForOf: [{
@@ -3448,9 +3478,9 @@ class NgIf {
3448
3478
  return true;
3449
3479
  }
3450
3480
  }
3451
- 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 });
3452
- 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 });
3453
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgIf, decorators: [{
3481
+ 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 });
3482
+ 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 });
3483
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgIf, decorators: [{
3454
3484
  type: Directive,
3455
3485
  args: [{ selector: '[ngIf]' }]
3456
3486
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }]; }, propDecorators: { ngIf: [{
@@ -3618,9 +3648,9 @@ class NgSwitch {
3618
3648
  }
3619
3649
  }
3620
3650
  }
3621
- NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3622
- NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgSwitch, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3623
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgSwitch, decorators: [{
3651
+ NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3652
+ NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgSwitch, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3653
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgSwitch, decorators: [{
3624
3654
  type: Directive,
3625
3655
  args: [{ selector: '[ngSwitch]' }]
3626
3656
  }], propDecorators: { ngSwitch: [{
@@ -3676,9 +3706,9 @@ class NgSwitchCase {
3676
3706
  this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
3677
3707
  }
3678
3708
  }
3679
- 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 });
3680
- NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3681
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgSwitchCase, decorators: [{
3709
+ 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 });
3710
+ NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgSwitchCase, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3711
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgSwitchCase, decorators: [{
3682
3712
  type: Directive,
3683
3713
  args: [{ selector: '[ngSwitchCase]' }]
3684
3714
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{
@@ -3710,9 +3740,9 @@ class NgSwitchDefault {
3710
3740
  ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
3711
3741
  }
3712
3742
  }
3713
- 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 });
3714
- NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgSwitchDefault, selector: "[ngSwitchDefault]", ngImport: i0 });
3715
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgSwitchDefault, decorators: [{
3743
+ 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 });
3744
+ NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgSwitchDefault, selector: "[ngSwitchDefault]", ngImport: i0 });
3745
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgSwitchDefault, decorators: [{
3716
3746
  type: Directive,
3717
3747
  args: [{ selector: '[ngSwitchDefault]' }]
3718
3748
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.TemplateRef }, { type: NgSwitch, decorators: [{
@@ -3793,9 +3823,9 @@ class NgPlural {
3793
3823
  }
3794
3824
  }
3795
3825
  }
3796
- NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3797
- NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgPlural, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3798
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgPlural, decorators: [{
3826
+ 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 });
3827
+ NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgPlural, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3828
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgPlural, decorators: [{
3799
3829
  type: Directive,
3800
3830
  args: [{ selector: '[ngPlural]' }]
3801
3831
  }], ctorParameters: function () { return [{ type: NgLocalization }]; }, propDecorators: { ngPlural: [{
@@ -3828,9 +3858,9 @@ class NgPluralCase {
3828
3858
  ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
3829
3859
  }
3830
3860
  }
3831
- 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 });
3832
- NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgPluralCase, selector: "[ngPluralCase]", ngImport: i0 });
3833
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgPluralCase, decorators: [{
3861
+ 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 });
3862
+ NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgPluralCase, selector: "[ngPluralCase]", ngImport: i0 });
3863
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgPluralCase, decorators: [{
3834
3864
  type: Directive,
3835
3865
  args: [{ selector: '[ngPluralCase]' }]
3836
3866
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -3921,9 +3951,9 @@ class NgStyle {
3921
3951
  changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
3922
3952
  }
3923
3953
  }
3924
- 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 });
3925
- NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.0", type: NgStyle, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3926
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgStyle, decorators: [{
3954
+ 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 });
3955
+ NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "14.0.0-next.10", type: NgStyle, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3956
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgStyle, decorators: [{
3927
3957
  type: Directive,
3928
3958
  args: [{ selector: '[ngStyle]' }]
3929
3959
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.KeyValueDiffers }, { type: i0.Renderer2 }]; }, propDecorators: { ngStyle: [{
@@ -3977,32 +4007,40 @@ class NgTemplateOutlet {
3977
4007
  * A string defining the template reference and optionally the context object for the template.
3978
4008
  */
3979
4009
  this.ngTemplateOutlet = null;
4010
+ /** Injector to be used within the embedded view. */
4011
+ this.ngTemplateOutletInjector = null;
3980
4012
  }
3981
4013
  /** @nodoc */
3982
4014
  ngOnChanges(changes) {
3983
- if (changes['ngTemplateOutlet']) {
4015
+ if (changes['ngTemplateOutlet'] || changes['ngTemplateOutletInjector']) {
3984
4016
  const viewContainerRef = this._viewContainerRef;
3985
4017
  if (this._viewRef) {
3986
4018
  viewContainerRef.remove(viewContainerRef.indexOf(this._viewRef));
3987
4019
  }
3988
- this._viewRef = this.ngTemplateOutlet ?
3989
- viewContainerRef.createEmbeddedView(this.ngTemplateOutlet, this.ngTemplateOutletContext) :
3990
- null;
4020
+ if (this.ngTemplateOutlet) {
4021
+ const { ngTemplateOutlet: template, ngTemplateOutletContext: context, ngTemplateOutletInjector: injector } = this;
4022
+ this._viewRef = viewContainerRef.createEmbeddedView(template, context, injector ? { injector } : undefined);
4023
+ }
4024
+ else {
4025
+ this._viewRef = null;
4026
+ }
3991
4027
  }
3992
4028
  else if (this._viewRef && changes['ngTemplateOutletContext'] && this.ngTemplateOutletContext) {
3993
4029
  this._viewRef.context = this.ngTemplateOutletContext;
3994
4030
  }
3995
4031
  }
3996
4032
  }
3997
- NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
3998
- 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 });
3999
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4033
+ 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 });
4034
+ 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 });
4035
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4000
4036
  type: Directive,
4001
4037
  args: [{ selector: '[ngTemplateOutlet]' }]
4002
4038
  }], ctorParameters: function () { return [{ type: i0.ViewContainerRef }]; }, propDecorators: { ngTemplateOutletContext: [{
4003
4039
  type: Input
4004
4040
  }], ngTemplateOutlet: [{
4005
4041
  type: Input
4042
+ }], ngTemplateOutletInjector: [{
4043
+ type: Input
4006
4044
  }] } });
4007
4045
 
4008
4046
  /**
@@ -4159,9 +4197,9 @@ class AsyncPipe {
4159
4197
  }
4160
4198
  }
4161
4199
  }
4162
- AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
4163
- AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AsyncPipe, name: "async", pure: false });
4164
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: AsyncPipe, decorators: [{
4200
+ 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 });
4201
+ AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: AsyncPipe, name: "async", pure: false });
4202
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: AsyncPipe, decorators: [{
4165
4203
  type: Pipe,
4166
4204
  args: [{ name: 'async', pure: false }]
4167
4205
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; } });
@@ -4198,9 +4236,9 @@ class LowerCasePipe {
4198
4236
  return value.toLowerCase();
4199
4237
  }
4200
4238
  }
4201
- LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4202
- LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LowerCasePipe, name: "lowercase" });
4203
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: LowerCasePipe, decorators: [{
4239
+ LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4240
+ LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LowerCasePipe, name: "lowercase" });
4241
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: LowerCasePipe, decorators: [{
4204
4242
  type: Pipe,
4205
4243
  args: [{ name: 'lowercase' }]
4206
4244
  }] });
@@ -4237,12 +4275,12 @@ class TitleCasePipe {
4237
4275
  if (typeof value !== 'string') {
4238
4276
  throw invalidPipeArgumentError(TitleCasePipe, value);
4239
4277
  }
4240
- return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.substr(1).toLowerCase()));
4278
+ return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
4241
4279
  }
4242
4280
  }
4243
- TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4244
- TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TitleCasePipe, name: "titlecase" });
4245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: TitleCasePipe, decorators: [{
4281
+ TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4282
+ TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: TitleCasePipe, name: "titlecase" });
4283
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: TitleCasePipe, decorators: [{
4246
4284
  type: Pipe,
4247
4285
  args: [{ name: 'titlecase' }]
4248
4286
  }] });
@@ -4264,9 +4302,9 @@ class UpperCasePipe {
4264
4302
  return value.toUpperCase();
4265
4303
  }
4266
4304
  }
4267
- UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4268
- UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: UpperCasePipe, name: "uppercase" });
4269
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: UpperCasePipe, decorators: [{
4305
+ UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4306
+ UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: UpperCasePipe, name: "uppercase" });
4307
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: UpperCasePipe, decorators: [{
4270
4308
  type: Pipe,
4271
4309
  args: [{ name: 'uppercase' }]
4272
4310
  }] });
@@ -4458,9 +4496,9 @@ class DatePipe {
4458
4496
  }
4459
4497
  }
4460
4498
  }
4461
- 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 });
4462
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DatePipe, name: "date" });
4463
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DatePipe, decorators: [{
4499
+ 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 });
4500
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: DatePipe, name: "date" });
4501
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: DatePipe, decorators: [{
4464
4502
  type: Pipe,
4465
4503
  args: [{ name: 'date', pure: true }]
4466
4504
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -4516,9 +4554,9 @@ class I18nPluralPipe {
4516
4554
  return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
4517
4555
  }
4518
4556
  }
4519
- I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4520
- I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nPluralPipe, name: "i18nPlural" });
4521
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nPluralPipe, decorators: [{
4557
+ 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 });
4558
+ I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: I18nPluralPipe, name: "i18nPlural" });
4559
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: I18nPluralPipe, decorators: [{
4522
4560
  type: Pipe,
4523
4561
  args: [{ name: 'i18nPlural', pure: true }]
4524
4562
  }], ctorParameters: function () { return [{ type: NgLocalization }]; } });
@@ -4568,9 +4606,9 @@ class I18nSelectPipe {
4568
4606
  return '';
4569
4607
  }
4570
4608
  }
4571
- I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4572
- I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nSelectPipe, name: "i18nSelect" });
4573
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: I18nSelectPipe, decorators: [{
4609
+ I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4610
+ I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: I18nSelectPipe, name: "i18nSelect" });
4611
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: I18nSelectPipe, decorators: [{
4574
4612
  type: Pipe,
4575
4613
  args: [{ name: 'i18nSelect', pure: true }]
4576
4614
  }] });
@@ -4605,9 +4643,9 @@ class JsonPipe {
4605
4643
  return JSON.stringify(value, null, 2);
4606
4644
  }
4607
4645
  }
4608
- JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4609
- JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: JsonPipe, name: "json", pure: false });
4610
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: JsonPipe, decorators: [{
4646
+ JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4647
+ JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: JsonPipe, name: "json", pure: false });
4648
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: JsonPipe, decorators: [{
4611
4649
  type: Pipe,
4612
4650
  args: [{ name: 'json', pure: false }]
4613
4651
  }] });
@@ -4671,9 +4709,9 @@ class KeyValuePipe {
4671
4709
  return this.keyValues;
4672
4710
  }
4673
4711
  }
4674
- KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4675
- KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: KeyValuePipe, name: "keyvalue", pure: false });
4676
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: KeyValuePipe, decorators: [{
4712
+ 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 });
4713
+ KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: KeyValuePipe, name: "keyvalue", pure: false });
4714
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: KeyValuePipe, decorators: [{
4677
4715
  type: Pipe,
4678
4716
  args: [{ name: 'keyvalue', pure: false }]
4679
4717
  }], ctorParameters: function () { return [{ type: i0.KeyValueDiffers }]; } });
@@ -4802,9 +4840,9 @@ class DecimalPipe {
4802
4840
  }
4803
4841
  }
4804
4842
  }
4805
- DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4806
- DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DecimalPipe, name: "number" });
4807
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: DecimalPipe, decorators: [{
4843
+ 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 });
4844
+ DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: DecimalPipe, name: "number" });
4845
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: DecimalPipe, decorators: [{
4808
4846
  type: Pipe,
4809
4847
  args: [{ name: 'number' }]
4810
4848
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -4864,9 +4902,9 @@ class PercentPipe {
4864
4902
  }
4865
4903
  }
4866
4904
  }
4867
- PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4868
- PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PercentPipe, name: "percent" });
4869
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: PercentPipe, decorators: [{
4905
+ 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 });
4906
+ PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PercentPipe, name: "percent" });
4907
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: PercentPipe, decorators: [{
4870
4908
  type: Pipe,
4871
4909
  args: [{ name: 'percent' }]
4872
4910
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -4979,9 +5017,9 @@ class CurrencyPipe {
4979
5017
  }
4980
5018
  }
4981
5019
  }
4982
- 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 });
4983
- CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CurrencyPipe, name: "currency" });
4984
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CurrencyPipe, decorators: [{
5020
+ 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 });
5021
+ CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CurrencyPipe, name: "currency" });
5022
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CurrencyPipe, decorators: [{
4985
5023
  type: Pipe,
4986
5024
  args: [{ name: 'currency' }]
4987
5025
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
@@ -5063,9 +5101,9 @@ class SlicePipe {
5063
5101
  return typeof obj === 'string' || Array.isArray(obj);
5064
5102
  }
5065
5103
  }
5066
- SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5067
- SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SlicePipe, name: "slice", pure: false });
5068
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: SlicePipe, decorators: [{
5104
+ SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5105
+ SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: SlicePipe, name: "slice", pure: false });
5106
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: SlicePipe, decorators: [{
5069
5107
  type: Pipe,
5070
5108
  args: [{ name: 'slice', pure: false }]
5071
5109
  }] });
@@ -5120,10 +5158,10 @@ const COMMON_PIPES = [
5120
5158
  */
5121
5159
  class CommonModule {
5122
5160
  }
5123
- CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5124
- 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] });
5125
- CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CommonModule });
5126
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.0", ngImport: i0, type: CommonModule, decorators: [{
5161
+ CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5162
+ 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] });
5163
+ CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CommonModule });
5164
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.10", ngImport: i0, type: CommonModule, decorators: [{
5127
5165
  type: NgModule,
5128
5166
  args: [{
5129
5167
  declarations: [COMMON_DIRECTIVES, COMMON_PIPES],
@@ -5181,7 +5219,7 @@ function isPlatformWorkerUi(platformId) {
5181
5219
  /**
5182
5220
  * @publicApi
5183
5221
  */
5184
- const VERSION = new Version('13.3.0');
5222
+ const VERSION = new Version('14.0.0-next.10');
5185
5223
 
5186
5224
  /**
5187
5225
  * @license