@angular/common 15.1.0-next.1 → 15.1.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.
Files changed (67) hide show
  1. package/esm2020/http/src/client.mjs +5 -5
  2. package/esm2020/http/src/interceptor.mjs +3 -3
  3. package/esm2020/http/src/jsonp.mjs +6 -6
  4. package/esm2020/http/src/module.mjs +12 -12
  5. package/esm2020/http/src/xhr.mjs +3 -3
  6. package/esm2020/http/src/xsrf.mjs +6 -6
  7. package/esm2020/http/testing/src/backend.mjs +3 -3
  8. package/esm2020/http/testing/src/module.mjs +4 -4
  9. package/esm2020/http/testing/src/request.mjs +7 -7
  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 +3 -3
  13. package/esm2020/src/directives/ng_for_of.mjs +12 -12
  14. package/esm2020/src/directives/ng_if.mjs +3 -3
  15. package/esm2020/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
  16. package/esm2020/src/directives/ng_optimized_image/ng_optimized_image.mjs +15 -5
  17. package/esm2020/src/directives/ng_optimized_image/preconnect_link_checker.mjs +3 -3
  18. package/esm2020/src/directives/ng_optimized_image/preload-link-creator.mjs +3 -3
  19. package/esm2020/src/directives/ng_plural.mjs +6 -6
  20. package/esm2020/src/directives/ng_style.mjs +3 -3
  21. package/esm2020/src/directives/ng_switch.mjs +9 -9
  22. package/esm2020/src/directives/ng_template_outlet.mjs +3 -3
  23. package/esm2020/src/dom_adapter.mjs +1 -4
  24. package/esm2020/src/i18n/localization.mjs +6 -6
  25. package/esm2020/src/location/hash_location_strategy.mjs +3 -3
  26. package/esm2020/src/location/index.mjs +2 -2
  27. package/esm2020/src/location/location.mjs +28 -9
  28. package/esm2020/src/location/location_strategy.mjs +6 -6
  29. package/esm2020/src/location/platform_location.mjs +20 -23
  30. package/esm2020/src/pipes/async_pipe.mjs +3 -3
  31. package/esm2020/src/pipes/case_conversion_pipes.mjs +9 -9
  32. package/esm2020/src/pipes/date_pipe.mjs +3 -3
  33. package/esm2020/src/pipes/i18n_plural_pipe.mjs +3 -3
  34. package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
  35. package/esm2020/src/pipes/json_pipe.mjs +3 -3
  36. package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
  37. package/esm2020/src/pipes/number_pipe.mjs +9 -9
  38. package/esm2020/src/pipes/slice_pipe.mjs +3 -3
  39. package/esm2020/src/version.mjs +1 -1
  40. package/esm2020/testing/src/location_mock.mjs +7 -7
  41. package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
  42. package/esm2020/testing/src/mock_platform_location.mjs +3 -3
  43. package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
  44. package/fesm2015/common.mjs +171 -148
  45. package/fesm2015/common.mjs.map +1 -1
  46. package/fesm2015/http/testing.mjs +14 -14
  47. package/fesm2015/http/testing.mjs.map +1 -1
  48. package/fesm2015/http.mjs +35 -35
  49. package/fesm2015/http.mjs.map +1 -1
  50. package/fesm2015/testing.mjs +13 -13
  51. package/fesm2015/testing.mjs.map +1 -1
  52. package/fesm2015/upgrade.mjs +5 -5
  53. package/fesm2020/common.mjs +171 -148
  54. package/fesm2020/common.mjs.map +1 -1
  55. package/fesm2020/http/testing.mjs +14 -14
  56. package/fesm2020/http/testing.mjs.map +1 -1
  57. package/fesm2020/http.mjs +35 -35
  58. package/fesm2020/http.mjs.map +1 -1
  59. package/fesm2020/testing.mjs +13 -13
  60. package/fesm2020/testing.mjs.map +1 -1
  61. package/fesm2020/upgrade.mjs +5 -5
  62. package/http/index.d.ts +2 -2
  63. package/http/testing/index.d.ts +1 -1
  64. package/index.d.ts +37 -32
  65. package/package.json +2 -2
  66. package/testing/index.d.ts +1 -1
  67. package/upgrade/index.d.ts +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v15.0.2
2
+ * @license Angular v15.1.0-next.3
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -18,9 +18,6 @@ let _DOM = null;
18
18
  function getDOM() {
19
19
  return _DOM;
20
20
  }
21
- function setDOM(adapter) {
22
- _DOM = adapter;
23
- }
24
21
  function setRootDomAdapter(adapter) {
25
22
  if (!_DOM) {
26
23
  _DOM = adapter;
@@ -87,9 +84,9 @@ class PlatformLocation {
87
84
  throw new Error('Not implemented');
88
85
  }
89
86
  }
90
- PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
91
- PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PlatformLocation, decorators: [{
87
+ PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
88
+ PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
89
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PlatformLocation, decorators: [{
93
90
  type: Injectable,
94
91
  args: [{
95
92
  providedIn: 'platform',
@@ -111,17 +108,14 @@ const LOCATION_INITIALIZED = new InjectionToken('Location Initialized');
111
108
  * `PlatformLocation` encapsulates all of the direct calls to platform APIs.
112
109
  * This class should not be used directly by an application developer. Instead, use
113
110
  * {@link Location}.
111
+ *
112
+ * @publicApi
114
113
  */
115
114
  class BrowserPlatformLocation extends PlatformLocation {
116
115
  constructor(_doc) {
117
116
  super();
118
117
  this._doc = _doc;
119
- this._init();
120
- }
121
- // This is moved to its own method so that `MockPlatformLocationStrategy` can overwrite it
122
- /** @internal */
123
- _init() {
124
- this.location = window.location;
118
+ this._location = window.location;
125
119
  this._history = window.history;
126
120
  }
127
121
  getBaseHrefFromDOM() {
@@ -138,35 +132,35 @@ class BrowserPlatformLocation extends PlatformLocation {
138
132
  return () => window.removeEventListener('hashchange', fn);
139
133
  }
140
134
  get href() {
141
- return this.location.href;
135
+ return this._location.href;
142
136
  }
143
137
  get protocol() {
144
- return this.location.protocol;
138
+ return this._location.protocol;
145
139
  }
146
140
  get hostname() {
147
- return this.location.hostname;
141
+ return this._location.hostname;
148
142
  }
149
143
  get port() {
150
- return this.location.port;
144
+ return this._location.port;
151
145
  }
152
146
  get pathname() {
153
- return this.location.pathname;
147
+ return this._location.pathname;
154
148
  }
155
149
  get search() {
156
- return this.location.search;
150
+ return this._location.search;
157
151
  }
158
152
  get hash() {
159
- return this.location.hash;
153
+ return this._location.hash;
160
154
  }
161
155
  set pathname(newPath) {
162
- this.location.pathname = newPath;
156
+ this._location.pathname = newPath;
163
157
  }
164
158
  pushState(state, title, url) {
165
159
  if (supportsState()) {
166
160
  this._history.pushState(state, title, url);
167
161
  }
168
162
  else {
169
- this.location.hash = url;
163
+ this._location.hash = url;
170
164
  }
171
165
  }
172
166
  replaceState(state, title, url) {
@@ -174,7 +168,7 @@ class BrowserPlatformLocation extends PlatformLocation {
174
168
  this._history.replaceState(state, title, url);
175
169
  }
176
170
  else {
177
- this.location.hash = url;
171
+ this._location.hash = url;
178
172
  }
179
173
  }
180
174
  forward() {
@@ -190,9 +184,9 @@ class BrowserPlatformLocation extends PlatformLocation {
190
184
  return this._history.state;
191
185
  }
192
186
  }
193
- BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
194
- BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
187
+ BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
188
+ BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
189
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
196
190
  type: Injectable,
197
191
  args: [{
198
192
  providedIn: 'platform',
@@ -311,9 +305,9 @@ class LocationStrategy {
311
305
  throw new Error('Not implemented');
312
306
  }
313
307
  }
314
- LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
315
- LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: LocationStrategy, decorators: [{
308
+ LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
309
+ LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
310
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LocationStrategy, decorators: [{
317
311
  type: Injectable,
318
312
  args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
319
313
  }] });
@@ -421,9 +415,9 @@ class PathLocationStrategy extends LocationStrategy {
421
415
  this._platformLocation.historyGo?.(relativePosition);
422
416
  }
423
417
  }
424
- PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
425
- PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
426
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PathLocationStrategy, decorators: [{
418
+ PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PathLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
419
+ PathLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
420
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PathLocationStrategy, decorators: [{
427
421
  type: Injectable,
428
422
  args: [{ providedIn: 'root' }]
429
423
  }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
@@ -519,9 +513,9 @@ class HashLocationStrategy extends LocationStrategy {
519
513
  this._platformLocation.historyGo?.(relativePosition);
520
514
  }
521
515
  }
522
- HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
523
- HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: HashLocationStrategy });
524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: HashLocationStrategy, decorators: [{
516
+ HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: HashLocationStrategy, deps: [{ token: PlatformLocation }, { token: APP_BASE_HREF, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
517
+ HashLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: HashLocationStrategy });
518
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: HashLocationStrategy, decorators: [{
525
519
  type: Injectable
526
520
  }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
527
521
  type: Optional
@@ -574,8 +568,14 @@ class Location {
574
568
  /** @internal */
575
569
  this._urlChangeSubscription = null;
576
570
  this._locationStrategy = locationStrategy;
577
- const browserBaseHref = this._locationStrategy.getBaseHref();
578
- this._baseHref = stripTrailingSlash(_stripIndexHtml(browserBaseHref));
571
+ const baseHref = this._locationStrategy.getBaseHref();
572
+ // Note: This class's interaction with base HREF does not fully follow the rules
573
+ // outlined in the spec https://www.freesoft.org/CIE/RFC/1808/18.htm.
574
+ // Instead of trying to fix individual bugs with more and more code, we should
575
+ // investigate using the URL constructor and providing the base as a second
576
+ // argument.
577
+ // https://developer.mozilla.org/en-US/docs/Web/API/URL/URL#parameters
578
+ this._basePath = _stripOrigin(stripTrailingSlash(_stripIndexHtml(baseHref)));
579
579
  this._locationStrategy.onPopState((ev) => {
580
580
  this._subject.emit({
581
581
  'url': this.path(true),
@@ -629,7 +629,7 @@ class Location {
629
629
  * @returns The normalized URL string.
630
630
  */
631
631
  normalize(url) {
632
- return Location.stripTrailingSlash(_stripBaseHref(this._baseHref, _stripIndexHtml(url)));
632
+ return Location.stripTrailingSlash(_stripBasePath(this._basePath, _stripIndexHtml(url)));
633
633
  }
634
634
  /**
635
635
  * Normalizes an external URL path.
@@ -772,9 +772,9 @@ Location.joinWithSlash = joinWithSlash;
772
772
  * @returns The URL string, modified if needed.
773
773
  */
774
774
  Location.stripTrailingSlash = stripTrailingSlash;
775
- Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
776
- Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
777
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: Location, decorators: [{
775
+ Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
776
+ Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
777
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: Location, decorators: [{
778
778
  type: Injectable,
779
779
  args: [{
780
780
  providedIn: 'root',
@@ -785,12 +785,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1",
785
785
  function createLocation() {
786
786
  return new Location(ɵɵinject(LocationStrategy));
787
787
  }
788
- function _stripBaseHref(baseHref, url) {
789
- return baseHref && url.startsWith(baseHref) ? url.substring(baseHref.length) : url;
788
+ function _stripBasePath(basePath, url) {
789
+ return basePath && url.startsWith(basePath) ? url.substring(basePath.length) : url;
790
790
  }
791
791
  function _stripIndexHtml(url) {
792
792
  return url.replace(/\/index.html$/, '');
793
793
  }
794
+ function _stripOrigin(baseHref) {
795
+ // DO NOT REFACTOR! Previously, this check looked like this:
796
+ // `/^(https?:)?\/\//.test(baseHref)`, but that resulted in
797
+ // syntactically incorrect code after Closure Compiler minification.
798
+ // This was likely caused by a bug in Closure Compiler, but
799
+ // for now, the check is rewritten to use `new RegExp` instead.
800
+ const isAbsoluteUrl = (new RegExp('^(https?:)?//')).test(baseHref);
801
+ if (isAbsoluteUrl) {
802
+ const [, pathname] = baseHref.split(/\/\/[^\/]+/);
803
+ return pathname;
804
+ }
805
+ return baseHref;
806
+ }
794
807
 
795
808
  /**
796
809
  * @license
@@ -2590,9 +2603,9 @@ function parseIntAutoRadix(text) {
2590
2603
  */
2591
2604
  class NgLocalization {
2592
2605
  }
2593
- NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2594
- NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
2595
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgLocalization, decorators: [{
2606
+ NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2607
+ NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
2608
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocalization, decorators: [{
2596
2609
  type: Injectable,
2597
2610
  args: [{
2598
2611
  providedIn: 'root',
@@ -2647,9 +2660,9 @@ class NgLocaleLocalization extends NgLocalization {
2647
2660
  }
2648
2661
  }
2649
2662
  }
2650
- NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2651
- NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgLocaleLocalization });
2652
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2663
+ NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2664
+ NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocaleLocalization });
2665
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2653
2666
  type: Injectable
2654
2667
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2655
2668
  type: Inject,
@@ -2842,9 +2855,9 @@ class NgClass {
2842
2855
  }
2843
2856
  }
2844
2857
  }
2845
- NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2846
- NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2847
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgClass, decorators: [{
2858
+ NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgClass, deps: [{ token: i0.IterableDiffers }, { token: i0.KeyValueDiffers }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
2859
+ NgClass.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2860
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgClass, decorators: [{
2848
2861
  type: Directive,
2849
2862
  args: [{
2850
2863
  selector: '[ngClass]',
@@ -2963,9 +2976,9 @@ class NgComponentOutlet {
2963
2976
  this._moduleRef.destroy();
2964
2977
  }
2965
2978
  }
2966
- NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2967
- NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgComponentOutlet, isStandalone: true, 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: "15.1.0-next.1", ngImport: i0, type: NgComponentOutlet, decorators: [{
2979
+ NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2980
+ NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgComponentOutlet, isStandalone: true, 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: "15.1.0-next.3", ngImport: i0, type: NgComponentOutlet, decorators: [{
2969
2982
  type: Directive,
2970
2983
  args: [{
2971
2984
  selector: '[ngComponentOutlet]',
@@ -3118,14 +3131,6 @@ class NgForOfContext {
3118
3131
  * @publicApi
3119
3132
  */
3120
3133
  class NgForOf {
3121
- constructor(_viewContainer, _template, _differs) {
3122
- this._viewContainer = _viewContainer;
3123
- this._template = _template;
3124
- this._differs = _differs;
3125
- this._ngForOf = null;
3126
- this._ngForOfDirty = true;
3127
- this._differ = null;
3128
- }
3129
3134
  /**
3130
3135
  * The value of the iterable expression, which can be used as a
3131
3136
  * [template input variable](guide/structural-directives#shorthand).
@@ -3165,6 +3170,14 @@ class NgForOf {
3165
3170
  get ngForTrackBy() {
3166
3171
  return this._trackByFn;
3167
3172
  }
3173
+ constructor(_viewContainer, _template, _differs) {
3174
+ this._viewContainer = _viewContainer;
3175
+ this._template = _template;
3176
+ this._differs = _differs;
3177
+ this._ngForOf = null;
3178
+ this._ngForOfDirty = true;
3179
+ this._differ = null;
3180
+ }
3168
3181
  /**
3169
3182
  * A reference to the template that is stamped out for each item in the iterable.
3170
3183
  * @see [template reference variable](guide/template-reference-variables)
@@ -3255,9 +3268,9 @@ class NgForOf {
3255
3268
  return true;
3256
3269
  }
3257
3270
  }
3258
- NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
3259
- NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
3260
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgForOf, decorators: [{
3271
+ NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgForOf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: i0.IterableDiffers }], target: i0.ɵɵFactoryTarget.Directive });
3272
+ NgForOf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgForOf, isStandalone: true, selector: "[ngFor][ngForOf]", inputs: { ngForOf: "ngForOf", ngForTrackBy: "ngForTrackBy", ngForTemplate: "ngForTemplate" }, ngImport: i0 });
3273
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgForOf, decorators: [{
3261
3274
  type: Directive,
3262
3275
  args: [{
3263
3276
  selector: '[ngFor][ngForOf]',
@@ -3490,9 +3503,9 @@ class NgIf {
3490
3503
  return true;
3491
3504
  }
3492
3505
  }
3493
- NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3494
- NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
3495
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgIf, decorators: [{
3506
+ NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgIf, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
3507
+ NgIf.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
3508
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgIf, decorators: [{
3496
3509
  type: Directive,
3497
3510
  args: [{
3498
3511
  selector: '[ngIf]',
@@ -3663,9 +3676,9 @@ class NgSwitch {
3663
3676
  }
3664
3677
  }
3665
3678
  }
3666
- NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3667
- NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3668
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgSwitch, decorators: [{
3679
+ NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3680
+ NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3681
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitch, decorators: [{
3669
3682
  type: Directive,
3670
3683
  args: [{
3671
3684
  selector: '[ngSwitch]',
@@ -3724,9 +3737,9 @@ class NgSwitchCase {
3724
3737
  this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
3725
3738
  }
3726
3739
  }
3727
- NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3728
- NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3729
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgSwitchCase, decorators: [{
3740
+ NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitchCase, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3741
+ NgSwitchCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3742
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitchCase, decorators: [{
3730
3743
  type: Directive,
3731
3744
  args: [{
3732
3745
  selector: '[ngSwitchCase]',
@@ -3761,9 +3774,9 @@ class NgSwitchDefault {
3761
3774
  ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
3762
3775
  }
3763
3776
  }
3764
- NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3765
- NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
3766
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgSwitchDefault, decorators: [{
3777
+ NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitchDefault, deps: [{ token: i0.ViewContainerRef }, { token: i0.TemplateRef }, { token: NgSwitch, host: true, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
3778
+ NgSwitchDefault.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
3779
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgSwitchDefault, decorators: [{
3767
3780
  type: Directive,
3768
3781
  args: [{
3769
3782
  selector: '[ngSwitchDefault]',
@@ -3847,9 +3860,9 @@ class NgPlural {
3847
3860
  }
3848
3861
  }
3849
3862
  }
3850
- NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3851
- NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgPlural, decorators: [{
3863
+ NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3864
+ NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3865
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgPlural, decorators: [{
3853
3866
  type: Directive,
3854
3867
  args: [{
3855
3868
  selector: '[ngPlural]',
@@ -3885,9 +3898,9 @@ class NgPluralCase {
3885
3898
  ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
3886
3899
  }
3887
3900
  }
3888
- NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
3889
- NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
3890
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgPluralCase, decorators: [{
3901
+ NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgPluralCase, deps: [{ token: 'ngPluralCase', attribute: true }, { token: i0.TemplateRef }, { token: i0.ViewContainerRef }, { token: NgPlural, host: true }], target: i0.ɵɵFactoryTarget.Directive });
3902
+ NgPluralCase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
3903
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgPluralCase, decorators: [{
3891
3904
  type: Directive,
3892
3905
  args: [{
3893
3906
  selector: '[ngPluralCase]',
@@ -3981,9 +3994,9 @@ class NgStyle {
3981
3994
  changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
3982
3995
  }
3983
3996
  }
3984
- NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
3985
- NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3986
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgStyle, decorators: [{
3997
+ NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgStyle, deps: [{ token: i0.ElementRef }, { token: i0.KeyValueDiffers }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
3998
+ NgStyle.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3999
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgStyle, decorators: [{
3987
4000
  type: Directive,
3988
4001
  args: [{
3989
4002
  selector: '[ngStyle]',
@@ -4063,9 +4076,9 @@ class NgTemplateOutlet {
4063
4076
  }
4064
4077
  }
4065
4078
  }
4066
- NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
4067
- NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
4068
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4079
+ NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
4080
+ NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgTemplateOutlet, isStandalone: true, selector: "[ngTemplateOutlet]", inputs: { ngTemplateOutletContext: "ngTemplateOutletContext", ngTemplateOutlet: "ngTemplateOutlet", ngTemplateOutletInjector: "ngTemplateOutletInjector" }, usesOnChanges: true, ngImport: i0 });
4081
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4069
4082
  type: Directive,
4070
4083
  args: [{
4071
4084
  selector: '[ngTemplateOutlet]',
@@ -4237,9 +4250,9 @@ class AsyncPipe {
4237
4250
  }
4238
4251
  }
4239
4252
  }
4240
- AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
4241
- AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
4242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: AsyncPipe, decorators: [{
4253
+ AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
4254
+ AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
4255
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: AsyncPipe, decorators: [{
4243
4256
  type: Pipe,
4244
4257
  args: [{
4245
4258
  name: 'async',
@@ -4280,9 +4293,9 @@ class LowerCasePipe {
4280
4293
  return value.toLowerCase();
4281
4294
  }
4282
4295
  }
4283
- LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4284
- LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
4285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: LowerCasePipe, decorators: [{
4296
+ LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4297
+ LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
4298
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LowerCasePipe, decorators: [{
4286
4299
  type: Pipe,
4287
4300
  args: [{
4288
4301
  name: 'lowercase',
@@ -4325,9 +4338,9 @@ class TitleCasePipe {
4325
4338
  return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
4326
4339
  }
4327
4340
  }
4328
- TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4329
- TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
4330
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: TitleCasePipe, decorators: [{
4341
+ TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4342
+ TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
4343
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: TitleCasePipe, decorators: [{
4331
4344
  type: Pipe,
4332
4345
  args: [{
4333
4346
  name: 'titlecase',
@@ -4352,9 +4365,9 @@ class UpperCasePipe {
4352
4365
  return value.toUpperCase();
4353
4366
  }
4354
4367
  }
4355
- UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4356
- UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
4357
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: UpperCasePipe, decorators: [{
4368
+ UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4369
+ UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
4370
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: UpperCasePipe, decorators: [{
4358
4371
  type: Pipe,
4359
4372
  args: [{
4360
4373
  name: 'uppercase',
@@ -4599,9 +4612,9 @@ class DatePipe {
4599
4612
  }
4600
4613
  }
4601
4614
  }
4602
- DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
4603
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
4604
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DatePipe, decorators: [{
4615
+ DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }, { token: DATE_PIPE_DEFAULT_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
4616
+ DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
4617
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: DatePipe, decorators: [{
4605
4618
  type: Pipe,
4606
4619
  args: [{
4607
4620
  name: 'date',
@@ -4666,9 +4679,9 @@ class I18nPluralPipe {
4666
4679
  return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
4667
4680
  }
4668
4681
  }
4669
- I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4670
- I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
4671
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: I18nPluralPipe, decorators: [{
4682
+ I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4683
+ I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
4684
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nPluralPipe, decorators: [{
4672
4685
  type: Pipe,
4673
4686
  args: [{
4674
4687
  name: 'i18nPlural',
@@ -4722,9 +4735,9 @@ class I18nSelectPipe {
4722
4735
  return '';
4723
4736
  }
4724
4737
  }
4725
- I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4726
- I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
4727
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: I18nSelectPipe, decorators: [{
4738
+ I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4739
+ I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
4740
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: I18nSelectPipe, decorators: [{
4728
4741
  type: Pipe,
4729
4742
  args: [{
4730
4743
  name: 'i18nSelect',
@@ -4763,9 +4776,9 @@ class JsonPipe {
4763
4776
  return JSON.stringify(value, null, 2);
4764
4777
  }
4765
4778
  }
4766
- JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4767
- JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
4768
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: JsonPipe, decorators: [{
4779
+ JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4780
+ JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
4781
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: JsonPipe, decorators: [{
4769
4782
  type: Pipe,
4770
4783
  args: [{
4771
4784
  name: 'json',
@@ -4833,9 +4846,9 @@ class KeyValuePipe {
4833
4846
  return this.keyValues;
4834
4847
  }
4835
4848
  }
4836
- KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4837
- KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
4838
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: KeyValuePipe, decorators: [{
4849
+ KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4850
+ KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
4851
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: KeyValuePipe, decorators: [{
4839
4852
  type: Pipe,
4840
4853
  args: [{
4841
4854
  name: 'keyvalue',
@@ -4968,9 +4981,9 @@ class DecimalPipe {
4968
4981
  }
4969
4982
  }
4970
4983
  }
4971
- DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4972
- DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
4973
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: DecimalPipe, decorators: [{
4984
+ DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4985
+ DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
4986
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: DecimalPipe, decorators: [{
4974
4987
  type: Pipe,
4975
4988
  args: [{
4976
4989
  name: 'number',
@@ -5033,9 +5046,9 @@ class PercentPipe {
5033
5046
  }
5034
5047
  }
5035
5048
  }
5036
- PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
5037
- PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
5038
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PercentPipe, decorators: [{
5049
+ PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
5050
+ PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
5051
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PercentPipe, decorators: [{
5039
5052
  type: Pipe,
5040
5053
  args: [{
5041
5054
  name: 'percent',
@@ -5151,9 +5164,9 @@ class CurrencyPipe {
5151
5164
  }
5152
5165
  }
5153
5166
  }
5154
- CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
5155
- CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
5156
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: CurrencyPipe, decorators: [{
5167
+ CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
5168
+ CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
5169
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: CurrencyPipe, decorators: [{
5157
5170
  type: Pipe,
5158
5171
  args: [{
5159
5172
  name: 'currency',
@@ -5238,9 +5251,9 @@ class SlicePipe {
5238
5251
  return typeof obj === 'string' || Array.isArray(obj);
5239
5252
  }
5240
5253
  }
5241
- SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5242
- SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
5243
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: SlicePipe, decorators: [{
5254
+ SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5255
+ SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
5256
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: SlicePipe, decorators: [{
5244
5257
  type: Pipe,
5245
5258
  args: [{
5246
5259
  name: 'slice',
@@ -5294,10 +5307,10 @@ const COMMON_PIPES = [
5294
5307
  */
5295
5308
  class CommonModule {
5296
5309
  }
5297
- CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5298
- CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.1", ngImport: i0, type: CommonModule, 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], 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] });
5299
- CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: CommonModule });
5300
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: CommonModule, decorators: [{
5310
+ CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5311
+ CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-next.3", ngImport: i0, type: CommonModule, 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], 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] });
5312
+ CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: CommonModule });
5313
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: CommonModule, decorators: [{
5301
5314
  type: NgModule,
5302
5315
  args: [{
5303
5316
  imports: [COMMON_DIRECTIVES, COMMON_PIPES],
@@ -5355,7 +5368,7 @@ function isPlatformWorkerUi(platformId) {
5355
5368
  /**
5356
5369
  * @publicApi
5357
5370
  */
5358
- const VERSION = new Version('15.1.0-next.1');
5371
+ const VERSION = new Version('15.1.0-next.3');
5359
5372
 
5360
5373
  /**
5361
5374
  * @license
@@ -5969,9 +5982,9 @@ class LCPImageObserver {
5969
5982
  this.alreadyWarned.clear();
5970
5983
  }
5971
5984
  }
5972
- LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5973
- LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
5974
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: LCPImageObserver, decorators: [{
5985
+ LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5986
+ LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
5987
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: LCPImageObserver, decorators: [{
5975
5988
  type: Injectable,
5976
5989
  args: [{ providedIn: 'root' }]
5977
5990
  }], ctorParameters: function () { return []; } });
@@ -6097,9 +6110,9 @@ class PreconnectLinkChecker {
6097
6110
  this.alreadySeen.clear();
6098
6111
  }
6099
6112
  }
6100
- PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6101
- PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
6102
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
6113
+ PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6114
+ PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
6115
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
6103
6116
  type: Injectable,
6104
6117
  args: [{ providedIn: 'root' }]
6105
6118
  }], ctorParameters: function () { return []; } });
@@ -6200,9 +6213,9 @@ class PreloadLinkCreator {
6200
6213
  renderer.appendChild(this.document.head, preload);
6201
6214
  }
6202
6215
  }
6203
- PreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6204
- PreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
6205
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: PreloadLinkCreator, decorators: [{
6216
+ PreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6217
+ PreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
6218
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: PreloadLinkCreator, decorators: [{
6206
6219
  type: Injectable,
6207
6220
  args: [{ providedIn: 'root' }]
6208
6221
  }] });
@@ -6261,6 +6274,12 @@ const ASPECT_RATIO_TOLERANCE = .1;
6261
6274
  * into account a typical device pixel ratio). In pixels.
6262
6275
  */
6263
6276
  const OVERSIZED_IMAGE_TOLERANCE = 1000;
6277
+ /**
6278
+ * Used to limit automatic srcset generation of very large sources for
6279
+ * fixed-size images. In pixels.
6280
+ */
6281
+ const FIXED_SRCSET_WIDTH_LIMIT = 1920;
6282
+ const FIXED_SRCSET_HEIGHT_LIMIT = 1080;
6264
6283
  /** Info about built-in loaders we can test for. */
6265
6284
  const BUILT_IN_LOADERS = [imgixLoaderInfo, imageKitLoaderInfo, cloudinaryLoaderInfo];
6266
6285
  const defaultConfig = {
@@ -6516,7 +6535,7 @@ class NgOptimizedImage {
6516
6535
  if (this.ngSrcset) {
6517
6536
  rewrittenSrcset = this.getRewrittenSrcset();
6518
6537
  }
6519
- else if (!this._disableOptimizedSrcset && !this.srcset && this.imageLoader !== noopImageLoader) {
6538
+ else if (this.shouldGenerateAutomaticSrcset()) {
6520
6539
  rewrittenSrcset = this.getAutomaticSrcset();
6521
6540
  }
6522
6541
  if (rewrittenSrcset) {
@@ -6594,6 +6613,10 @@ class NgOptimizedImage {
6594
6613
  const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.imageLoader({ src: this.ngSrc, width: this.width * multiplier })} ${multiplier}x`);
6595
6614
  return finalSrcs.join(', ');
6596
6615
  }
6616
+ shouldGenerateAutomaticSrcset() {
6617
+ return !this._disableOptimizedSrcset && !this.srcset && this.imageLoader !== noopImageLoader &&
6618
+ !(this.width > FIXED_SRCSET_WIDTH_LIMIT || this.height > FIXED_SRCSET_HEIGHT_LIMIT);
6619
+ }
6597
6620
  /** @nodoc */
6598
6621
  ngOnDestroy() {
6599
6622
  if (ngDevMode) {
@@ -6606,9 +6629,9 @@ class NgOptimizedImage {
6606
6629
  this.renderer.setAttribute(this.imgElement, name, value);
6607
6630
  }
6608
6631
  }
6609
- NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6610
- NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.1", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: "ngSrc", ngSrcset: "ngSrcset", sizes: "sizes", width: "width", height: "height", loading: "loading", priority: "priority", disableOptimizedSrcset: "disableOptimizedSrcset", fill: "fill", src: "src", srcset: "srcset" }, host: { properties: { "style.position": "fill ? \"absolute\" : null", "style.width": "fill ? \"100%\" : null", "style.height": "fill ? \"100%\" : null", "style.inset": "fill ? \"0px\" : null" } }, usesOnChanges: true, ngImport: i0 });
6611
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.1", ngImport: i0, type: NgOptimizedImage, decorators: [{
6632
+ NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6633
+ NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.1.0-next.3", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: "ngSrc", ngSrcset: "ngSrcset", sizes: "sizes", width: "width", height: "height", loading: "loading", priority: "priority", disableOptimizedSrcset: "disableOptimizedSrcset", fill: "fill", src: "src", srcset: "srcset" }, host: { properties: { "style.position": "fill ? \"absolute\" : null", "style.width": "fill ? \"100%\" : null", "style.height": "fill ? \"100%\" : null", "style.inset": "fill ? \"0px\" : null" } }, usesOnChanges: true, ngImport: i0 });
6634
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3", ngImport: i0, type: NgOptimizedImage, decorators: [{
6612
6635
  type: Directive,
6613
6636
  args: [{
6614
6637
  standalone: true,
@@ -7019,5 +7042,5 @@ function assertNotMissingBuiltInLoader(ngSrc, imageLoader) {
7019
7042
  * Generated bundle index. Do not edit.
7020
7043
  */
7021
7044
 
7022
- export { APP_BASE_HREF, AsyncPipe, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, IMAGE_CONFIG, IMAGE_LOADER, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgOptimizedImage, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PRECONNECT_CHECK_BLOCKLIST, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, XhrFactory, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, provideCloudflareLoader, provideCloudinaryLoader, provideImageKitLoader, provideImgixLoader, registerLocaleData, BrowserPlatformLocation as ɵBrowserPlatformLocation, DomAdapter as ɵDomAdapter, NullViewportScroller as ɵNullViewportScroller, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, PLATFORM_WORKER_APP_ID as ɵPLATFORM_WORKER_APP_ID, PLATFORM_WORKER_UI_ID as ɵPLATFORM_WORKER_UI_ID, getDOM as ɵgetDOM, parseCookieValue as ɵparseCookieValue, setRootDomAdapter as ɵsetRootDomAdapter };
7045
+ export { APP_BASE_HREF, AsyncPipe, BrowserPlatformLocation, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, IMAGE_CONFIG, IMAGE_LOADER, JsonPipe, KeyValuePipe, LOCATION_INITIALIZED, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgOptimizedImage, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PRECONNECT_CHECK_BLOCKLIST, PathLocationStrategy, PercentPipe, PlatformLocation, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, VERSION, ViewportScroller, WeekDay, XhrFactory, formatCurrency, formatDate, formatNumber, formatPercent, getCurrencySymbol, getLocaleCurrencyCode, getLocaleCurrencyName, getLocaleCurrencySymbol, getLocaleDateFormat, getLocaleDateTimeFormat, getLocaleDayNames, getLocaleDayPeriods, getLocaleDirection, getLocaleEraNames, getLocaleExtraDayPeriodRules, getLocaleExtraDayPeriods, getLocaleFirstDayOfWeek, getLocaleId, getLocaleMonthNames, getLocaleNumberFormat, getLocaleNumberSymbol, getLocalePluralCase, getLocaleTimeFormat, getLocaleWeekEndRange, getNumberOfCurrencyDigits, isPlatformBrowser, isPlatformServer, isPlatformWorkerApp, isPlatformWorkerUi, provideCloudflareLoader, provideCloudinaryLoader, provideImageKitLoader, provideImgixLoader, registerLocaleData, BrowserPlatformLocation as ɵBrowserPlatformLocation, DomAdapter as ɵDomAdapter, NullViewportScroller as ɵNullViewportScroller, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, PLATFORM_WORKER_APP_ID as ɵPLATFORM_WORKER_APP_ID, PLATFORM_WORKER_UI_ID as ɵPLATFORM_WORKER_UI_ID, getDOM as ɵgetDOM, parseCookieValue as ɵparseCookieValue, setRootDomAdapter as ɵsetRootDomAdapter };
7023
7046
  //# sourceMappingURL=common.mjs.map