@angular/common 21.2.0-next.2 → 21.2.0-next.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Angular v21.2.0-next.2
2
+ * @license Angular v21.2.0-next.3
3
3
  * (c) 2010-2026 Google LLC. https://angular.dev/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import * as i0 from '@angular/core';
8
- import { Injectable, Optional, Inject, ɵfindLocaleData as _findLocaleData, ɵLocaleDataIndex as _LocaleDataIndex, ɵgetLocaleCurrencyCode as _getLocaleCurrencyCode, ɵgetLocalePluralCase as _getLocalePluralCase, ɵRuntimeError as _RuntimeError, ɵformatRuntimeError as _formatRuntimeError, inject, LOCALE_ID, ɵstringify as _stringify, Directive, Input, createNgModule, NgModuleRef, Host, Attribute, RendererStyleFlags2, ɵINTERNAL_APPLICATION_ERROR_HANDLER as _INTERNAL_APPLICATION_ERROR_HANDLER, ɵisPromise as _isPromise, ɵisSubscribable as _isSubscribable, Pipe, untracked, InjectionToken, DEFAULT_CURRENCY_CODE, NgModule } from '@angular/core';
8
+ import { Injectable, Optional, Inject, ɵfindLocaleData as _findLocaleData, ɵLocaleDataIndex as _LocaleDataIndex, ɵgetLocaleCurrencyCode as _getLocaleCurrencyCode, ɵgetLocalePluralCase as _getLocalePluralCase, ɵRuntimeError as _RuntimeError, ɵformatRuntimeError as _formatRuntimeError, inject, LOCALE_ID, ɵstringify as _stringify, Directive, Input, createNgModule, NgModuleRef, Host, Attribute, RendererStyleFlags2, Injector, ɵINTERNAL_APPLICATION_ERROR_HANDLER as _INTERNAL_APPLICATION_ERROR_HANDLER, ɵisPromise as _isPromise, ɵisSubscribable as _isSubscribable, Pipe, untracked, InjectionToken, DEFAULT_CURRENCY_CODE, NgModule } from '@angular/core';
9
9
  import { LocationStrategy, joinWithSlash, normalizeQueryParams, APP_BASE_HREF } from './_location-chunk.mjs';
10
10
  import { PlatformLocation } from './_platform_location-chunk.mjs';
11
11
 
@@ -61,7 +61,7 @@ class HashLocationStrategy extends LocationStrategy {
61
61
  }
62
62
  static ɵfac = i0.ɵɵngDeclareFactory({
63
63
  minVersion: "12.0.0",
64
- version: "21.2.0-next.2",
64
+ version: "21.2.0-next.3",
65
65
  ngImport: i0,
66
66
  type: HashLocationStrategy,
67
67
  deps: [{
@@ -74,14 +74,14 @@ class HashLocationStrategy extends LocationStrategy {
74
74
  });
75
75
  static ɵprov = i0.ɵɵngDeclareInjectable({
76
76
  minVersion: "12.0.0",
77
- version: "21.2.0-next.2",
77
+ version: "21.2.0-next.3",
78
78
  ngImport: i0,
79
79
  type: HashLocationStrategy
80
80
  });
81
81
  }
82
82
  i0.ɵɵngDeclareClassMetadata({
83
83
  minVersion: "12.0.0",
84
- version: "21.2.0-next.2",
84
+ version: "21.2.0-next.3",
85
85
  ngImport: i0,
86
86
  type: HashLocationStrategy,
87
87
  decorators: [{
@@ -1272,7 +1272,7 @@ function parseIntAutoRadix(text) {
1272
1272
  class NgLocalization {
1273
1273
  static ɵfac = i0.ɵɵngDeclareFactory({
1274
1274
  minVersion: "12.0.0",
1275
- version: "21.2.0-next.2",
1275
+ version: "21.2.0-next.3",
1276
1276
  ngImport: i0,
1277
1277
  type: NgLocalization,
1278
1278
  deps: [],
@@ -1280,7 +1280,7 @@ class NgLocalization {
1280
1280
  });
1281
1281
  static ɵprov = i0.ɵɵngDeclareInjectable({
1282
1282
  minVersion: "12.0.0",
1283
- version: "21.2.0-next.2",
1283
+ version: "21.2.0-next.3",
1284
1284
  ngImport: i0,
1285
1285
  type: NgLocalization,
1286
1286
  providedIn: 'root',
@@ -1289,7 +1289,7 @@ class NgLocalization {
1289
1289
  }
1290
1290
  i0.ɵɵngDeclareClassMetadata({
1291
1291
  minVersion: "12.0.0",
1292
- version: "21.2.0-next.2",
1292
+ version: "21.2.0-next.3",
1293
1293
  ngImport: i0,
1294
1294
  type: NgLocalization,
1295
1295
  decorators: [{
@@ -1339,7 +1339,7 @@ class NgLocaleLocalization extends NgLocalization {
1339
1339
  }
1340
1340
  static ɵfac = i0.ɵɵngDeclareFactory({
1341
1341
  minVersion: "12.0.0",
1342
- version: "21.2.0-next.2",
1342
+ version: "21.2.0-next.3",
1343
1343
  ngImport: i0,
1344
1344
  type: NgLocaleLocalization,
1345
1345
  deps: [{
@@ -1349,14 +1349,14 @@ class NgLocaleLocalization extends NgLocalization {
1349
1349
  });
1350
1350
  static ɵprov = i0.ɵɵngDeclareInjectable({
1351
1351
  minVersion: "12.0.0",
1352
- version: "21.2.0-next.2",
1352
+ version: "21.2.0-next.3",
1353
1353
  ngImport: i0,
1354
1354
  type: NgLocaleLocalization
1355
1355
  });
1356
1356
  }
1357
1357
  i0.ɵɵngDeclareClassMetadata({
1358
1358
  minVersion: "12.0.0",
1359
- version: "21.2.0-next.2",
1359
+ version: "21.2.0-next.3",
1360
1360
  ngImport: i0,
1361
1361
  type: NgLocaleLocalization,
1362
1362
  decorators: [{
@@ -1456,7 +1456,7 @@ class NgClass {
1456
1456
  }
1457
1457
  static ɵfac = i0.ɵɵngDeclareFactory({
1458
1458
  minVersion: "12.0.0",
1459
- version: "21.2.0-next.2",
1459
+ version: "21.2.0-next.3",
1460
1460
  ngImport: i0,
1461
1461
  type: NgClass,
1462
1462
  deps: [{
@@ -1468,7 +1468,7 @@ class NgClass {
1468
1468
  });
1469
1469
  static ɵdir = i0.ɵɵngDeclareDirective({
1470
1470
  minVersion: "14.0.0",
1471
- version: "21.2.0-next.2",
1471
+ version: "21.2.0-next.3",
1472
1472
  type: NgClass,
1473
1473
  isStandalone: true,
1474
1474
  selector: "[ngClass]",
@@ -1481,7 +1481,7 @@ class NgClass {
1481
1481
  }
1482
1482
  i0.ɵɵngDeclareClassMetadata({
1483
1483
  minVersion: "12.0.0",
1484
- version: "21.2.0-next.2",
1484
+ version: "21.2.0-next.3",
1485
1485
  ngImport: i0,
1486
1486
  type: NgClass,
1487
1487
  decorators: [{
@@ -1580,7 +1580,7 @@ class NgComponentOutlet {
1580
1580
  }
1581
1581
  static ɵfac = i0.ɵɵngDeclareFactory({
1582
1582
  minVersion: "12.0.0",
1583
- version: "21.2.0-next.2",
1583
+ version: "21.2.0-next.3",
1584
1584
  ngImport: i0,
1585
1585
  type: NgComponentOutlet,
1586
1586
  deps: [{
@@ -1590,7 +1590,7 @@ class NgComponentOutlet {
1590
1590
  });
1591
1591
  static ɵdir = i0.ɵɵngDeclareDirective({
1592
1592
  minVersion: "14.0.0",
1593
- version: "21.2.0-next.2",
1593
+ version: "21.2.0-next.3",
1594
1594
  type: NgComponentOutlet,
1595
1595
  isStandalone: true,
1596
1596
  selector: "[ngComponentOutlet]",
@@ -1609,7 +1609,7 @@ class NgComponentOutlet {
1609
1609
  }
1610
1610
  i0.ɵɵngDeclareClassMetadata({
1611
1611
  minVersion: "12.0.0",
1612
- version: "21.2.0-next.2",
1612
+ version: "21.2.0-next.3",
1613
1613
  ngImport: i0,
1614
1614
  type: NgComponentOutlet,
1615
1615
  decorators: [{
@@ -1758,7 +1758,7 @@ class NgForOf {
1758
1758
  }
1759
1759
  static ɵfac = i0.ɵɵngDeclareFactory({
1760
1760
  minVersion: "12.0.0",
1761
- version: "21.2.0-next.2",
1761
+ version: "21.2.0-next.3",
1762
1762
  ngImport: i0,
1763
1763
  type: NgForOf,
1764
1764
  deps: [{
@@ -1772,7 +1772,7 @@ class NgForOf {
1772
1772
  });
1773
1773
  static ɵdir = i0.ɵɵngDeclareDirective({
1774
1774
  minVersion: "14.0.0",
1775
- version: "21.2.0-next.2",
1775
+ version: "21.2.0-next.3",
1776
1776
  type: NgForOf,
1777
1777
  isStandalone: true,
1778
1778
  selector: "[ngFor][ngForOf]",
@@ -1786,7 +1786,7 @@ class NgForOf {
1786
1786
  }
1787
1787
  i0.ɵɵngDeclareClassMetadata({
1788
1788
  minVersion: "12.0.0",
1789
- version: "21.2.0-next.2",
1789
+ version: "21.2.0-next.3",
1790
1790
  ngImport: i0,
1791
1791
  type: NgForOf,
1792
1792
  decorators: [{
@@ -1874,7 +1874,7 @@ class NgIf {
1874
1874
  }
1875
1875
  static ɵfac = i0.ɵɵngDeclareFactory({
1876
1876
  minVersion: "12.0.0",
1877
- version: "21.2.0-next.2",
1877
+ version: "21.2.0-next.3",
1878
1878
  ngImport: i0,
1879
1879
  type: NgIf,
1880
1880
  deps: [{
@@ -1886,7 +1886,7 @@ class NgIf {
1886
1886
  });
1887
1887
  static ɵdir = i0.ɵɵngDeclareDirective({
1888
1888
  minVersion: "14.0.0",
1889
- version: "21.2.0-next.2",
1889
+ version: "21.2.0-next.3",
1890
1890
  type: NgIf,
1891
1891
  isStandalone: true,
1892
1892
  selector: "[ngIf]",
@@ -1900,7 +1900,7 @@ class NgIf {
1900
1900
  }
1901
1901
  i0.ɵɵngDeclareClassMetadata({
1902
1902
  minVersion: "12.0.0",
1903
- version: "21.2.0-next.2",
1903
+ version: "21.2.0-next.3",
1904
1904
  ngImport: i0,
1905
1905
  type: NgIf,
1906
1906
  decorators: [{
@@ -2000,7 +2000,7 @@ class NgSwitch {
2000
2000
  }
2001
2001
  static ɵfac = i0.ɵɵngDeclareFactory({
2002
2002
  minVersion: "12.0.0",
2003
- version: "21.2.0-next.2",
2003
+ version: "21.2.0-next.3",
2004
2004
  ngImport: i0,
2005
2005
  type: NgSwitch,
2006
2006
  deps: [],
@@ -2008,7 +2008,7 @@ class NgSwitch {
2008
2008
  });
2009
2009
  static ɵdir = i0.ɵɵngDeclareDirective({
2010
2010
  minVersion: "14.0.0",
2011
- version: "21.2.0-next.2",
2011
+ version: "21.2.0-next.3",
2012
2012
  type: NgSwitch,
2013
2013
  isStandalone: true,
2014
2014
  selector: "[ngSwitch]",
@@ -2020,7 +2020,7 @@ class NgSwitch {
2020
2020
  }
2021
2021
  i0.ɵɵngDeclareClassMetadata({
2022
2022
  minVersion: "12.0.0",
2023
- version: "21.2.0-next.2",
2023
+ version: "21.2.0-next.3",
2024
2024
  ngImport: i0,
2025
2025
  type: NgSwitch,
2026
2026
  decorators: [{
@@ -2052,7 +2052,7 @@ class NgSwitchCase {
2052
2052
  }
2053
2053
  static ɵfac = i0.ɵɵngDeclareFactory({
2054
2054
  minVersion: "12.0.0",
2055
- version: "21.2.0-next.2",
2055
+ version: "21.2.0-next.3",
2056
2056
  ngImport: i0,
2057
2057
  type: NgSwitchCase,
2058
2058
  deps: [{
@@ -2068,7 +2068,7 @@ class NgSwitchCase {
2068
2068
  });
2069
2069
  static ɵdir = i0.ɵɵngDeclareDirective({
2070
2070
  minVersion: "14.0.0",
2071
- version: "21.2.0-next.2",
2071
+ version: "21.2.0-next.3",
2072
2072
  type: NgSwitchCase,
2073
2073
  isStandalone: true,
2074
2074
  selector: "[ngSwitchCase]",
@@ -2080,7 +2080,7 @@ class NgSwitchCase {
2080
2080
  }
2081
2081
  i0.ɵɵngDeclareClassMetadata({
2082
2082
  minVersion: "12.0.0",
2083
- version: "21.2.0-next.2",
2083
+ version: "21.2.0-next.3",
2084
2084
  ngImport: i0,
2085
2085
  type: NgSwitchCase,
2086
2086
  decorators: [{
@@ -2116,7 +2116,7 @@ class NgSwitchDefault {
2116
2116
  }
2117
2117
  static ɵfac = i0.ɵɵngDeclareFactory({
2118
2118
  minVersion: "12.0.0",
2119
- version: "21.2.0-next.2",
2119
+ version: "21.2.0-next.3",
2120
2120
  ngImport: i0,
2121
2121
  type: NgSwitchDefault,
2122
2122
  deps: [{
@@ -2132,7 +2132,7 @@ class NgSwitchDefault {
2132
2132
  });
2133
2133
  static ɵdir = i0.ɵɵngDeclareDirective({
2134
2134
  minVersion: "14.0.0",
2135
- version: "21.2.0-next.2",
2135
+ version: "21.2.0-next.3",
2136
2136
  type: NgSwitchDefault,
2137
2137
  isStandalone: true,
2138
2138
  selector: "[ngSwitchDefault]",
@@ -2141,7 +2141,7 @@ class NgSwitchDefault {
2141
2141
  }
2142
2142
  i0.ɵɵngDeclareClassMetadata({
2143
2143
  minVersion: "12.0.0",
2144
- version: "21.2.0-next.2",
2144
+ version: "21.2.0-next.3",
2145
2145
  ngImport: i0,
2146
2146
  type: NgSwitchDefault,
2147
2147
  decorators: [{
@@ -2197,7 +2197,7 @@ class NgPlural {
2197
2197
  }
2198
2198
  static ɵfac = i0.ɵɵngDeclareFactory({
2199
2199
  minVersion: "12.0.0",
2200
- version: "21.2.0-next.2",
2200
+ version: "21.2.0-next.3",
2201
2201
  ngImport: i0,
2202
2202
  type: NgPlural,
2203
2203
  deps: [{
@@ -2207,7 +2207,7 @@ class NgPlural {
2207
2207
  });
2208
2208
  static ɵdir = i0.ɵɵngDeclareDirective({
2209
2209
  minVersion: "14.0.0",
2210
- version: "21.2.0-next.2",
2210
+ version: "21.2.0-next.3",
2211
2211
  type: NgPlural,
2212
2212
  isStandalone: true,
2213
2213
  selector: "[ngPlural]",
@@ -2219,7 +2219,7 @@ class NgPlural {
2219
2219
  }
2220
2220
  i0.ɵɵngDeclareClassMetadata({
2221
2221
  minVersion: "12.0.0",
2222
- version: "21.2.0-next.2",
2222
+ version: "21.2.0-next.3",
2223
2223
  ngImport: i0,
2224
2224
  type: NgPlural,
2225
2225
  decorators: [{
@@ -2246,7 +2246,7 @@ class NgPluralCase {
2246
2246
  }
2247
2247
  static ɵfac = i0.ɵɵngDeclareFactory({
2248
2248
  minVersion: "12.0.0",
2249
- version: "21.2.0-next.2",
2249
+ version: "21.2.0-next.3",
2250
2250
  ngImport: i0,
2251
2251
  type: NgPluralCase,
2252
2252
  deps: [{
@@ -2264,7 +2264,7 @@ class NgPluralCase {
2264
2264
  });
2265
2265
  static ɵdir = i0.ɵɵngDeclareDirective({
2266
2266
  minVersion: "14.0.0",
2267
- version: "21.2.0-next.2",
2267
+ version: "21.2.0-next.3",
2268
2268
  type: NgPluralCase,
2269
2269
  isStandalone: true,
2270
2270
  selector: "[ngPluralCase]",
@@ -2273,7 +2273,7 @@ class NgPluralCase {
2273
2273
  }
2274
2274
  i0.ɵɵngDeclareClassMetadata({
2275
2275
  minVersion: "12.0.0",
2276
- version: "21.2.0-next.2",
2276
+ version: "21.2.0-next.3",
2277
2277
  ngImport: i0,
2278
2278
  type: NgPluralCase,
2279
2279
  decorators: [{
@@ -2341,7 +2341,7 @@ class NgStyle {
2341
2341
  }
2342
2342
  static ɵfac = i0.ɵɵngDeclareFactory({
2343
2343
  minVersion: "12.0.0",
2344
- version: "21.2.0-next.2",
2344
+ version: "21.2.0-next.3",
2345
2345
  ngImport: i0,
2346
2346
  type: NgStyle,
2347
2347
  deps: [{
@@ -2355,7 +2355,7 @@ class NgStyle {
2355
2355
  });
2356
2356
  static ɵdir = i0.ɵɵngDeclareDirective({
2357
2357
  minVersion: "14.0.0",
2358
- version: "21.2.0-next.2",
2358
+ version: "21.2.0-next.3",
2359
2359
  type: NgStyle,
2360
2360
  isStandalone: true,
2361
2361
  selector: "[ngStyle]",
@@ -2367,7 +2367,7 @@ class NgStyle {
2367
2367
  }
2368
2368
  i0.ɵɵngDeclareClassMetadata({
2369
2369
  minVersion: "12.0.0",
2370
- version: "21.2.0-next.2",
2370
+ version: "21.2.0-next.3",
2371
2371
  ngImport: i0,
2372
2372
  type: NgStyle,
2373
2373
  decorators: [{
@@ -2397,6 +2397,7 @@ class NgTemplateOutlet {
2397
2397
  ngTemplateOutletContext = null;
2398
2398
  ngTemplateOutlet = null;
2399
2399
  ngTemplateOutletInjector = null;
2400
+ injector = inject(Injector);
2400
2401
  constructor(_viewContainerRef) {
2401
2402
  this._viewContainerRef = _viewContainerRef;
2402
2403
  }
@@ -2412,10 +2413,16 @@ class NgTemplateOutlet {
2412
2413
  }
2413
2414
  const viewContext = this._createContextForwardProxy();
2414
2415
  this._viewRef = viewContainerRef.createEmbeddedView(this.ngTemplateOutlet, viewContext, {
2415
- injector: this.ngTemplateOutletInjector ?? undefined
2416
+ injector: this._getInjector()
2416
2417
  });
2417
2418
  }
2418
2419
  }
2420
+ _getInjector() {
2421
+ if (this.ngTemplateOutletInjector === 'outlet') {
2422
+ return this.injector;
2423
+ }
2424
+ return this.ngTemplateOutletInjector ?? undefined;
2425
+ }
2419
2426
  _shouldRecreateView(changes) {
2420
2427
  return !!changes['ngTemplateOutlet'] || !!changes['ngTemplateOutletInjector'];
2421
2428
  }
@@ -2437,7 +2444,7 @@ class NgTemplateOutlet {
2437
2444
  }
2438
2445
  static ɵfac = i0.ɵɵngDeclareFactory({
2439
2446
  minVersion: "12.0.0",
2440
- version: "21.2.0-next.2",
2447
+ version: "21.2.0-next.3",
2441
2448
  ngImport: i0,
2442
2449
  type: NgTemplateOutlet,
2443
2450
  deps: [{
@@ -2447,7 +2454,7 @@ class NgTemplateOutlet {
2447
2454
  });
2448
2455
  static ɵdir = i0.ɵɵngDeclareDirective({
2449
2456
  minVersion: "14.0.0",
2450
- version: "21.2.0-next.2",
2457
+ version: "21.2.0-next.3",
2451
2458
  type: NgTemplateOutlet,
2452
2459
  isStandalone: true,
2453
2460
  selector: "[ngTemplateOutlet]",
@@ -2462,7 +2469,7 @@ class NgTemplateOutlet {
2462
2469
  }
2463
2470
  i0.ɵɵngDeclareClassMetadata({
2464
2471
  minVersion: "12.0.0",
2465
- version: "21.2.0-next.2",
2472
+ version: "21.2.0-next.3",
2466
2473
  ngImport: i0,
2467
2474
  type: NgTemplateOutlet,
2468
2475
  decorators: [{
@@ -2585,7 +2592,7 @@ class AsyncPipe {
2585
2592
  }
2586
2593
  static ɵfac = i0.ɵɵngDeclareFactory({
2587
2594
  minVersion: "12.0.0",
2588
- version: "21.2.0-next.2",
2595
+ version: "21.2.0-next.3",
2589
2596
  ngImport: i0,
2590
2597
  type: AsyncPipe,
2591
2598
  deps: [{
@@ -2595,7 +2602,7 @@ class AsyncPipe {
2595
2602
  });
2596
2603
  static ɵpipe = i0.ɵɵngDeclarePipe({
2597
2604
  minVersion: "14.0.0",
2598
- version: "21.2.0-next.2",
2605
+ version: "21.2.0-next.3",
2599
2606
  ngImport: i0,
2600
2607
  type: AsyncPipe,
2601
2608
  isStandalone: true,
@@ -2605,7 +2612,7 @@ class AsyncPipe {
2605
2612
  }
2606
2613
  i0.ɵɵngDeclareClassMetadata({
2607
2614
  minVersion: "12.0.0",
2608
- version: "21.2.0-next.2",
2615
+ version: "21.2.0-next.3",
2609
2616
  ngImport: i0,
2610
2617
  type: AsyncPipe,
2611
2618
  decorators: [{
@@ -2623,14 +2630,12 @@ i0.ɵɵngDeclareClassMetadata({
2623
2630
  class LowerCasePipe {
2624
2631
  transform(value) {
2625
2632
  if (value == null) return null;
2626
- if (typeof value !== 'string') {
2627
- throw invalidPipeArgumentError(LowerCasePipe, value);
2628
- }
2633
+ assertPipeArgument(LowerCasePipe, value);
2629
2634
  return value.toLowerCase();
2630
2635
  }
2631
2636
  static ɵfac = i0.ɵɵngDeclareFactory({
2632
2637
  minVersion: "12.0.0",
2633
- version: "21.2.0-next.2",
2638
+ version: "21.2.0-next.3",
2634
2639
  ngImport: i0,
2635
2640
  type: LowerCasePipe,
2636
2641
  deps: [],
@@ -2638,7 +2643,7 @@ class LowerCasePipe {
2638
2643
  });
2639
2644
  static ɵpipe = i0.ɵɵngDeclarePipe({
2640
2645
  minVersion: "14.0.0",
2641
- version: "21.2.0-next.2",
2646
+ version: "21.2.0-next.3",
2642
2647
  ngImport: i0,
2643
2648
  type: LowerCasePipe,
2644
2649
  isStandalone: true,
@@ -2647,7 +2652,7 @@ class LowerCasePipe {
2647
2652
  }
2648
2653
  i0.ɵɵngDeclareClassMetadata({
2649
2654
  minVersion: "12.0.0",
2650
- version: "21.2.0-next.2",
2655
+ version: "21.2.0-next.3",
2651
2656
  ngImport: i0,
2652
2657
  type: LowerCasePipe,
2653
2658
  decorators: [{
@@ -2661,14 +2666,12 @@ const unicodeWordMatch = /(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1
2661
2666
  class TitleCasePipe {
2662
2667
  transform(value) {
2663
2668
  if (value == null) return null;
2664
- if (typeof value !== 'string') {
2665
- throw invalidPipeArgumentError(TitleCasePipe, value);
2666
- }
2669
+ assertPipeArgument(TitleCasePipe, value);
2667
2670
  return value.replace(unicodeWordMatch, txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase());
2668
2671
  }
2669
2672
  static ɵfac = i0.ɵɵngDeclareFactory({
2670
2673
  minVersion: "12.0.0",
2671
- version: "21.2.0-next.2",
2674
+ version: "21.2.0-next.3",
2672
2675
  ngImport: i0,
2673
2676
  type: TitleCasePipe,
2674
2677
  deps: [],
@@ -2676,7 +2679,7 @@ class TitleCasePipe {
2676
2679
  });
2677
2680
  static ɵpipe = i0.ɵɵngDeclarePipe({
2678
2681
  minVersion: "14.0.0",
2679
- version: "21.2.0-next.2",
2682
+ version: "21.2.0-next.3",
2680
2683
  ngImport: i0,
2681
2684
  type: TitleCasePipe,
2682
2685
  isStandalone: true,
@@ -2685,7 +2688,7 @@ class TitleCasePipe {
2685
2688
  }
2686
2689
  i0.ɵɵngDeclareClassMetadata({
2687
2690
  minVersion: "12.0.0",
2688
- version: "21.2.0-next.2",
2691
+ version: "21.2.0-next.3",
2689
2692
  ngImport: i0,
2690
2693
  type: TitleCasePipe,
2691
2694
  decorators: [{
@@ -2698,14 +2701,12 @@ i0.ɵɵngDeclareClassMetadata({
2698
2701
  class UpperCasePipe {
2699
2702
  transform(value) {
2700
2703
  if (value == null) return null;
2701
- if (typeof value !== 'string') {
2702
- throw invalidPipeArgumentError(UpperCasePipe, value);
2703
- }
2704
+ assertPipeArgument(UpperCasePipe, value);
2704
2705
  return value.toUpperCase();
2705
2706
  }
2706
2707
  static ɵfac = i0.ɵɵngDeclareFactory({
2707
2708
  minVersion: "12.0.0",
2708
- version: "21.2.0-next.2",
2709
+ version: "21.2.0-next.3",
2709
2710
  ngImport: i0,
2710
2711
  type: UpperCasePipe,
2711
2712
  deps: [],
@@ -2713,7 +2714,7 @@ class UpperCasePipe {
2713
2714
  });
2714
2715
  static ɵpipe = i0.ɵɵngDeclarePipe({
2715
2716
  minVersion: "14.0.0",
2716
- version: "21.2.0-next.2",
2717
+ version: "21.2.0-next.3",
2717
2718
  ngImport: i0,
2718
2719
  type: UpperCasePipe,
2719
2720
  isStandalone: true,
@@ -2722,7 +2723,7 @@ class UpperCasePipe {
2722
2723
  }
2723
2724
  i0.ɵɵngDeclareClassMetadata({
2724
2725
  minVersion: "12.0.0",
2725
- version: "21.2.0-next.2",
2726
+ version: "21.2.0-next.3",
2726
2727
  ngImport: i0,
2727
2728
  type: UpperCasePipe,
2728
2729
  decorators: [{
@@ -2732,6 +2733,11 @@ i0.ɵɵngDeclareClassMetadata({
2732
2733
  }]
2733
2734
  }]
2734
2735
  });
2736
+ function assertPipeArgument(pipe, value) {
2737
+ if (typeof value !== 'string') {
2738
+ throw invalidPipeArgumentError(pipe, value);
2739
+ }
2740
+ }
2735
2741
 
2736
2742
  const DEFAULT_DATE_FORMAT = 'mediumDate';
2737
2743
 
@@ -2758,7 +2764,7 @@ class DatePipe {
2758
2764
  }
2759
2765
  static ɵfac = i0.ɵɵngDeclareFactory({
2760
2766
  minVersion: "12.0.0",
2761
- version: "21.2.0-next.2",
2767
+ version: "21.2.0-next.3",
2762
2768
  ngImport: i0,
2763
2769
  type: DatePipe,
2764
2770
  deps: [{
@@ -2774,7 +2780,7 @@ class DatePipe {
2774
2780
  });
2775
2781
  static ɵpipe = i0.ɵɵngDeclarePipe({
2776
2782
  minVersion: "14.0.0",
2777
- version: "21.2.0-next.2",
2783
+ version: "21.2.0-next.3",
2778
2784
  ngImport: i0,
2779
2785
  type: DatePipe,
2780
2786
  isStandalone: true,
@@ -2783,7 +2789,7 @@ class DatePipe {
2783
2789
  }
2784
2790
  i0.ɵɵngDeclareClassMetadata({
2785
2791
  minVersion: "12.0.0",
2786
- version: "21.2.0-next.2",
2792
+ version: "21.2.0-next.3",
2787
2793
  ngImport: i0,
2788
2794
  type: DatePipe,
2789
2795
  decorators: [{
@@ -2833,7 +2839,7 @@ class I18nPluralPipe {
2833
2839
  }
2834
2840
  static ɵfac = i0.ɵɵngDeclareFactory({
2835
2841
  minVersion: "12.0.0",
2836
- version: "21.2.0-next.2",
2842
+ version: "21.2.0-next.3",
2837
2843
  ngImport: i0,
2838
2844
  type: I18nPluralPipe,
2839
2845
  deps: [{
@@ -2843,7 +2849,7 @@ class I18nPluralPipe {
2843
2849
  });
2844
2850
  static ɵpipe = i0.ɵɵngDeclarePipe({
2845
2851
  minVersion: "14.0.0",
2846
- version: "21.2.0-next.2",
2852
+ version: "21.2.0-next.3",
2847
2853
  ngImport: i0,
2848
2854
  type: I18nPluralPipe,
2849
2855
  isStandalone: true,
@@ -2852,7 +2858,7 @@ class I18nPluralPipe {
2852
2858
  }
2853
2859
  i0.ɵɵngDeclareClassMetadata({
2854
2860
  minVersion: "12.0.0",
2855
- version: "21.2.0-next.2",
2861
+ version: "21.2.0-next.3",
2856
2862
  ngImport: i0,
2857
2863
  type: I18nPluralPipe,
2858
2864
  decorators: [{
@@ -2882,7 +2888,7 @@ class I18nSelectPipe {
2882
2888
  }
2883
2889
  static ɵfac = i0.ɵɵngDeclareFactory({
2884
2890
  minVersion: "12.0.0",
2885
- version: "21.2.0-next.2",
2891
+ version: "21.2.0-next.3",
2886
2892
  ngImport: i0,
2887
2893
  type: I18nSelectPipe,
2888
2894
  deps: [],
@@ -2890,7 +2896,7 @@ class I18nSelectPipe {
2890
2896
  });
2891
2897
  static ɵpipe = i0.ɵɵngDeclarePipe({
2892
2898
  minVersion: "14.0.0",
2893
- version: "21.2.0-next.2",
2899
+ version: "21.2.0-next.3",
2894
2900
  ngImport: i0,
2895
2901
  type: I18nSelectPipe,
2896
2902
  isStandalone: true,
@@ -2899,7 +2905,7 @@ class I18nSelectPipe {
2899
2905
  }
2900
2906
  i0.ɵɵngDeclareClassMetadata({
2901
2907
  minVersion: "12.0.0",
2902
- version: "21.2.0-next.2",
2908
+ version: "21.2.0-next.3",
2903
2909
  ngImport: i0,
2904
2910
  type: I18nSelectPipe,
2905
2911
  decorators: [{
@@ -2916,7 +2922,7 @@ class JsonPipe {
2916
2922
  }
2917
2923
  static ɵfac = i0.ɵɵngDeclareFactory({
2918
2924
  minVersion: "12.0.0",
2919
- version: "21.2.0-next.2",
2925
+ version: "21.2.0-next.3",
2920
2926
  ngImport: i0,
2921
2927
  type: JsonPipe,
2922
2928
  deps: [],
@@ -2924,7 +2930,7 @@ class JsonPipe {
2924
2930
  });
2925
2931
  static ɵpipe = i0.ɵɵngDeclarePipe({
2926
2932
  minVersion: "14.0.0",
2927
- version: "21.2.0-next.2",
2933
+ version: "21.2.0-next.3",
2928
2934
  ngImport: i0,
2929
2935
  type: JsonPipe,
2930
2936
  isStandalone: true,
@@ -2934,7 +2940,7 @@ class JsonPipe {
2934
2940
  }
2935
2941
  i0.ɵɵngDeclareClassMetadata({
2936
2942
  minVersion: "12.0.0",
2937
- version: "21.2.0-next.2",
2943
+ version: "21.2.0-next.3",
2938
2944
  ngImport: i0,
2939
2945
  type: JsonPipe,
2940
2946
  decorators: [{
@@ -2983,7 +2989,7 @@ class KeyValuePipe {
2983
2989
  }
2984
2990
  static ɵfac = i0.ɵɵngDeclareFactory({
2985
2991
  minVersion: "12.0.0",
2986
- version: "21.2.0-next.2",
2992
+ version: "21.2.0-next.3",
2987
2993
  ngImport: i0,
2988
2994
  type: KeyValuePipe,
2989
2995
  deps: [{
@@ -2993,7 +2999,7 @@ class KeyValuePipe {
2993
2999
  });
2994
3000
  static ɵpipe = i0.ɵɵngDeclarePipe({
2995
3001
  minVersion: "14.0.0",
2996
- version: "21.2.0-next.2",
3002
+ version: "21.2.0-next.3",
2997
3003
  ngImport: i0,
2998
3004
  type: KeyValuePipe,
2999
3005
  isStandalone: true,
@@ -3003,7 +3009,7 @@ class KeyValuePipe {
3003
3009
  }
3004
3010
  i0.ɵɵngDeclareClassMetadata({
3005
3011
  minVersion: "12.0.0",
3006
- version: "21.2.0-next.2",
3012
+ version: "21.2.0-next.3",
3007
3013
  ngImport: i0,
3008
3014
  type: KeyValuePipe,
3009
3015
  decorators: [{
@@ -3054,7 +3060,7 @@ class DecimalPipe {
3054
3060
  }
3055
3061
  static ɵfac = i0.ɵɵngDeclareFactory({
3056
3062
  minVersion: "12.0.0",
3057
- version: "21.2.0-next.2",
3063
+ version: "21.2.0-next.3",
3058
3064
  ngImport: i0,
3059
3065
  type: DecimalPipe,
3060
3066
  deps: [{
@@ -3064,7 +3070,7 @@ class DecimalPipe {
3064
3070
  });
3065
3071
  static ɵpipe = i0.ɵɵngDeclarePipe({
3066
3072
  minVersion: "14.0.0",
3067
- version: "21.2.0-next.2",
3073
+ version: "21.2.0-next.3",
3068
3074
  ngImport: i0,
3069
3075
  type: DecimalPipe,
3070
3076
  isStandalone: true,
@@ -3073,7 +3079,7 @@ class DecimalPipe {
3073
3079
  }
3074
3080
  i0.ɵɵngDeclareClassMetadata({
3075
3081
  minVersion: "12.0.0",
3076
- version: "21.2.0-next.2",
3082
+ version: "21.2.0-next.3",
3077
3083
  ngImport: i0,
3078
3084
  type: DecimalPipe,
3079
3085
  decorators: [{
@@ -3107,7 +3113,7 @@ class PercentPipe {
3107
3113
  }
3108
3114
  static ɵfac = i0.ɵɵngDeclareFactory({
3109
3115
  minVersion: "12.0.0",
3110
- version: "21.2.0-next.2",
3116
+ version: "21.2.0-next.3",
3111
3117
  ngImport: i0,
3112
3118
  type: PercentPipe,
3113
3119
  deps: [{
@@ -3117,7 +3123,7 @@ class PercentPipe {
3117
3123
  });
3118
3124
  static ɵpipe = i0.ɵɵngDeclarePipe({
3119
3125
  minVersion: "14.0.0",
3120
- version: "21.2.0-next.2",
3126
+ version: "21.2.0-next.3",
3121
3127
  ngImport: i0,
3122
3128
  type: PercentPipe,
3123
3129
  isStandalone: true,
@@ -3126,7 +3132,7 @@ class PercentPipe {
3126
3132
  }
3127
3133
  i0.ɵɵngDeclareClassMetadata({
3128
3134
  minVersion: "12.0.0",
3129
- version: "21.2.0-next.2",
3135
+ version: "21.2.0-next.3",
3130
3136
  ngImport: i0,
3131
3137
  type: PercentPipe,
3132
3138
  decorators: [{
@@ -3176,7 +3182,7 @@ class CurrencyPipe {
3176
3182
  }
3177
3183
  static ɵfac = i0.ɵɵngDeclareFactory({
3178
3184
  minVersion: "12.0.0",
3179
- version: "21.2.0-next.2",
3185
+ version: "21.2.0-next.3",
3180
3186
  ngImport: i0,
3181
3187
  type: CurrencyPipe,
3182
3188
  deps: [{
@@ -3188,7 +3194,7 @@ class CurrencyPipe {
3188
3194
  });
3189
3195
  static ɵpipe = i0.ɵɵngDeclarePipe({
3190
3196
  minVersion: "14.0.0",
3191
- version: "21.2.0-next.2",
3197
+ version: "21.2.0-next.3",
3192
3198
  ngImport: i0,
3193
3199
  type: CurrencyPipe,
3194
3200
  isStandalone: true,
@@ -3197,7 +3203,7 @@ class CurrencyPipe {
3197
3203
  }
3198
3204
  i0.ɵɵngDeclareClassMetadata({
3199
3205
  minVersion: "12.0.0",
3200
- version: "21.2.0-next.2",
3206
+ version: "21.2.0-next.3",
3201
3207
  ngImport: i0,
3202
3208
  type: CurrencyPipe,
3203
3209
  decorators: [{
@@ -3244,7 +3250,7 @@ class SlicePipe {
3244
3250
  }
3245
3251
  static ɵfac = i0.ɵɵngDeclareFactory({
3246
3252
  minVersion: "12.0.0",
3247
- version: "21.2.0-next.2",
3253
+ version: "21.2.0-next.3",
3248
3254
  ngImport: i0,
3249
3255
  type: SlicePipe,
3250
3256
  deps: [],
@@ -3252,7 +3258,7 @@ class SlicePipe {
3252
3258
  });
3253
3259
  static ɵpipe = i0.ɵɵngDeclarePipe({
3254
3260
  minVersion: "14.0.0",
3255
- version: "21.2.0-next.2",
3261
+ version: "21.2.0-next.3",
3256
3262
  ngImport: i0,
3257
3263
  type: SlicePipe,
3258
3264
  isStandalone: true,
@@ -3262,7 +3268,7 @@ class SlicePipe {
3262
3268
  }
3263
3269
  i0.ɵɵngDeclareClassMetadata({
3264
3270
  minVersion: "12.0.0",
3265
- version: "21.2.0-next.2",
3271
+ version: "21.2.0-next.3",
3266
3272
  ngImport: i0,
3267
3273
  type: SlicePipe,
3268
3274
  decorators: [{
@@ -3279,7 +3285,7 @@ const COMMON_PIPES = [AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePi
3279
3285
  class CommonModule {
3280
3286
  static ɵfac = i0.ɵɵngDeclareFactory({
3281
3287
  minVersion: "12.0.0",
3282
- version: "21.2.0-next.2",
3288
+ version: "21.2.0-next.3",
3283
3289
  ngImport: i0,
3284
3290
  type: CommonModule,
3285
3291
  deps: [],
@@ -3287,7 +3293,7 @@ class CommonModule {
3287
3293
  });
3288
3294
  static ɵmod = i0.ɵɵngDeclareNgModule({
3289
3295
  minVersion: "14.0.0",
3290
- version: "21.2.0-next.2",
3296
+ version: "21.2.0-next.3",
3291
3297
  ngImport: i0,
3292
3298
  type: CommonModule,
3293
3299
  imports: [NgClass, NgComponentOutlet, NgForOf, NgIf, NgTemplateOutlet, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgPlural, NgPluralCase, AsyncPipe, UpperCasePipe, LowerCasePipe, JsonPipe, SlicePipe, DecimalPipe, PercentPipe, TitleCasePipe, CurrencyPipe, DatePipe, I18nPluralPipe, I18nSelectPipe, KeyValuePipe],
@@ -3295,14 +3301,14 @@ class CommonModule {
3295
3301
  });
3296
3302
  static ɵinj = i0.ɵɵngDeclareInjector({
3297
3303
  minVersion: "12.0.0",
3298
- version: "21.2.0-next.2",
3304
+ version: "21.2.0-next.3",
3299
3305
  ngImport: i0,
3300
3306
  type: CommonModule
3301
3307
  });
3302
3308
  }
3303
3309
  i0.ɵɵngDeclareClassMetadata({
3304
3310
  minVersion: "12.0.0",
3305
- version: "21.2.0-next.2",
3311
+ version: "21.2.0-next.3",
3306
3312
  ngImport: i0,
3307
3313
  type: CommonModule,
3308
3314
  decorators: [{