@angular/common 15.0.0-next.4 → 15.0.0-next.6

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 (81) hide show
  1. package/esm2020/http/public_api.mjs +6 -3
  2. package/esm2020/http/src/backend.mjs +1 -1
  3. package/esm2020/http/src/client.mjs +3 -3
  4. package/esm2020/http/src/interceptor.mjs +65 -20
  5. package/esm2020/http/src/jsonp.mjs +38 -18
  6. package/esm2020/http/src/module.mjs +40 -116
  7. package/esm2020/http/src/provider.mjs +129 -0
  8. package/esm2020/http/src/xhr.mjs +3 -3
  9. package/esm2020/http/src/xsrf.mjs +42 -33
  10. package/esm2020/http/testing/public_api.mjs +2 -1
  11. package/esm2020/http/testing/src/backend.mjs +3 -3
  12. package/esm2020/http/testing/src/module.mjs +9 -14
  13. package/esm2020/http/testing/src/provider.mjs +18 -0
  14. package/esm2020/src/common.mjs +2 -2
  15. package/esm2020/src/common_module.mjs +4 -4
  16. package/esm2020/src/directives/ng_class.mjs +3 -3
  17. package/esm2020/src/directives/ng_component_outlet.mjs +3 -3
  18. package/esm2020/src/directives/ng_for_of.mjs +3 -3
  19. package/esm2020/src/directives/ng_if.mjs +3 -3
  20. package/esm2020/src/directives/ng_optimized_image/image_loaders/cloudflare_loader.mjs +1 -5
  21. package/esm2020/src/directives/ng_optimized_image/image_loaders/cloudinary_loader.mjs +1 -5
  22. package/esm2020/src/directives/ng_optimized_image/image_loaders/image_loader.mjs +2 -6
  23. package/esm2020/src/directives/ng_optimized_image/image_loaders/imagekit_loader.mjs +1 -5
  24. package/esm2020/src/directives/ng_optimized_image/image_loaders/imgix_loader.mjs +1 -5
  25. package/esm2020/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
  26. package/esm2020/src/directives/ng_optimized_image/ng_optimized_image.mjs +156 -11
  27. package/esm2020/src/directives/ng_optimized_image/preconnect_link_checker.mjs +9 -10
  28. package/esm2020/src/directives/ng_optimized_image/preload-link-creator.mjs +74 -0
  29. package/esm2020/src/directives/ng_optimized_image/tokens.mjs +24 -0
  30. package/esm2020/src/directives/ng_plural.mjs +6 -6
  31. package/esm2020/src/directives/ng_style.mjs +3 -3
  32. package/esm2020/src/directives/ng_switch.mjs +9 -9
  33. package/esm2020/src/directives/ng_template_outlet.mjs +3 -3
  34. package/esm2020/src/errors.mjs +1 -1
  35. package/esm2020/src/i18n/localization.mjs +6 -6
  36. package/esm2020/src/location/hash_location_strategy.mjs +3 -3
  37. package/esm2020/src/location/location.mjs +3 -3
  38. package/esm2020/src/location/location_strategy.mjs +6 -6
  39. package/esm2020/src/location/platform_location.mjs +6 -6
  40. package/esm2020/src/pipes/async_pipe.mjs +3 -3
  41. package/esm2020/src/pipes/case_conversion_pipes.mjs +9 -9
  42. package/esm2020/src/pipes/date_pipe.mjs +50 -7
  43. package/esm2020/src/pipes/date_pipe_config.mjs +13 -0
  44. package/esm2020/src/pipes/i18n_plural_pipe.mjs +5 -5
  45. package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
  46. package/esm2020/src/pipes/index.mjs +3 -3
  47. package/esm2020/src/pipes/json_pipe.mjs +3 -3
  48. package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
  49. package/esm2020/src/pipes/number_pipe.mjs +9 -9
  50. package/esm2020/src/pipes/slice_pipe.mjs +3 -3
  51. package/esm2020/src/version.mjs +1 -1
  52. package/esm2020/testing/src/location_mock.mjs +3 -3
  53. package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
  54. package/esm2020/testing/src/mock_platform_location.mjs +3 -3
  55. package/esm2020/testing/src/provide_location_mocks.mjs +24 -0
  56. package/esm2020/testing/src/testing.mjs +2 -1
  57. package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
  58. package/fesm2015/common.mjs +578 -306
  59. package/fesm2015/common.mjs.map +1 -1
  60. package/fesm2015/http/testing.mjs +27 -16
  61. package/fesm2015/http/testing.mjs.map +1 -1
  62. package/fesm2015/http.mjs +295 -174
  63. package/fesm2015/http.mjs.map +1 -1
  64. package/fesm2015/testing.mjs +33 -12
  65. package/fesm2015/testing.mjs.map +1 -1
  66. package/fesm2015/upgrade.mjs +5 -5
  67. package/fesm2020/common.mjs +575 -304
  68. package/fesm2020/common.mjs.map +1 -1
  69. package/fesm2020/http/testing.mjs +27 -16
  70. package/fesm2020/http/testing.mjs.map +1 -1
  71. package/fesm2020/http.mjs +294 -172
  72. package/fesm2020/http.mjs.map +1 -1
  73. package/fesm2020/testing.mjs +33 -12
  74. package/fesm2020/testing.mjs.map +1 -1
  75. package/fesm2020/upgrade.mjs +5 -5
  76. package/http/index.d.ts +87 -30
  77. package/http/testing/index.d.ts +4 -1
  78. package/index.d.ts +97 -39
  79. package/package.json +3 -3
  80. package/testing/index.d.ts +11 -1
  81. package/upgrade/index.d.ts +1 -1
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license Angular v15.0.0-next.4
2
+ * @license Angular v15.0.0-next.6
3
3
  * (c) 2010-2022 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import * as i0 from '@angular/core';
8
- import { InjectionToken, Injectable, ɵɵinject, Inject, inject, Optional, EventEmitter, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵisListLikeIterable, ɵstringify, Directive, Input, createNgModule, NgModuleRef, ɵRuntimeError, Host, Attribute, RendererStyleFlags2, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable, ɵformatRuntimeError, Renderer2, ElementRef, Injector, NgZone } from '@angular/core';
8
+ import { InjectionToken, Injectable, ɵɵinject, Inject, inject, Optional, EventEmitter, ɵfindLocaleData, ɵLocaleDataIndex, ɵgetLocaleCurrencyCode, ɵgetLocalePluralCase, LOCALE_ID, ɵregisterLocaleData, ɵisListLikeIterable, ɵstringify, Directive, Input, createNgModule, NgModuleRef, ɵRuntimeError, Host, Attribute, RendererStyleFlags2, ɵisPromise, ɵisSubscribable, Pipe, DEFAULT_CURRENCY_CODE, NgModule, Version, ɵɵdefineInjectable, ɵformatRuntimeError, Renderer2, ElementRef, Injector, PLATFORM_ID, NgZone } from '@angular/core';
9
9
 
10
10
  /**
11
11
  * @license
@@ -87,9 +87,9 @@ class PlatformLocation {
87
87
  throw new Error('Not implemented');
88
88
  }
89
89
  }
90
- PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
91
- PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
92
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PlatformLocation, decorators: [{
90
+ PlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
91
+ PlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PlatformLocation, providedIn: 'platform', useFactory: useBrowserPlatformLocation });
92
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PlatformLocation, decorators: [{
93
93
  type: Injectable,
94
94
  args: [{
95
95
  providedIn: 'platform',
@@ -190,9 +190,9 @@ class BrowserPlatformLocation extends PlatformLocation {
190
190
  return this._history.state;
191
191
  }
192
192
  }
193
- BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
194
- BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
195
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
193
+ BrowserPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: BrowserPlatformLocation, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
194
+ BrowserPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: BrowserPlatformLocation, providedIn: 'platform', useFactory: createBrowserPlatformLocation });
195
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: BrowserPlatformLocation, decorators: [{
196
196
  type: Injectable,
197
197
  args: [{
198
198
  providedIn: 'platform',
@@ -311,9 +311,9 @@ class LocationStrategy {
311
311
  throw new Error('Not implemented');
312
312
  }
313
313
  }
314
- LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
315
- LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
316
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LocationStrategy, decorators: [{
314
+ LocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: LocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
315
+ LocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: LocationStrategy, providedIn: 'root', useFactory: () => inject(PathLocationStrategy) });
316
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: LocationStrategy, decorators: [{
317
317
  type: Injectable,
318
318
  args: [{ providedIn: 'root', useFactory: () => inject(PathLocationStrategy) }]
319
319
  }] });
@@ -421,9 +421,9 @@ class PathLocationStrategy extends LocationStrategy {
421
421
  this._platformLocation.historyGo?.(relativePosition);
422
422
  }
423
423
  }
424
- PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", 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.0.0-next.4", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
426
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PathLocationStrategy, decorators: [{
424
+ PathLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", 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.0.0-next.6", ngImport: i0, type: PathLocationStrategy, providedIn: 'root' });
426
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PathLocationStrategy, decorators: [{
427
427
  type: Injectable,
428
428
  args: [{ providedIn: 'root' }]
429
429
  }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
@@ -519,9 +519,9 @@ class HashLocationStrategy extends LocationStrategy {
519
519
  this._platformLocation.historyGo?.(relativePosition);
520
520
  }
521
521
  }
522
- HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", 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.0.0-next.4", ngImport: i0, type: HashLocationStrategy });
524
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: HashLocationStrategy, decorators: [{
522
+ HashLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", 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.0.0-next.6", ngImport: i0, type: HashLocationStrategy });
524
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: HashLocationStrategy, decorators: [{
525
525
  type: Injectable
526
526
  }], ctorParameters: function () { return [{ type: PlatformLocation }, { type: undefined, decorators: [{
527
527
  type: Optional
@@ -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.0.0-next.4", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
776
- Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
777
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: Location, decorators: [{
775
+ Location.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: Location, deps: [{ token: LocationStrategy }], target: i0.ɵɵFactoryTarget.Injectable });
776
+ Location.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: Location, providedIn: 'root', useFactory: createLocation });
777
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: Location, decorators: [{
778
778
  type: Injectable,
779
779
  args: [{
780
780
  providedIn: 'root',
@@ -2590,9 +2590,9 @@ function parseIntAutoRadix(text) {
2590
2590
  */
2591
2591
  class NgLocalization {
2592
2592
  }
2593
- NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2594
- NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
2595
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocalization, decorators: [{
2593
+ NgLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgLocalization, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
2594
+ NgLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgLocalization, providedIn: 'root', useFactory: (locale) => new NgLocaleLocalization(locale), deps: [{ token: LOCALE_ID }] });
2595
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgLocalization, decorators: [{
2596
2596
  type: Injectable,
2597
2597
  args: [{
2598
2598
  providedIn: 'root',
@@ -2647,9 +2647,9 @@ class NgLocaleLocalization extends NgLocalization {
2647
2647
  }
2648
2648
  }
2649
2649
  }
2650
- NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2651
- NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocaleLocalization });
2652
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2650
+ NgLocaleLocalization.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgLocaleLocalization, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Injectable });
2651
+ NgLocaleLocalization.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgLocaleLocalization });
2652
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgLocaleLocalization, decorators: [{
2653
2653
  type: Injectable
2654
2654
  }], ctorParameters: function () { return [{ type: undefined, decorators: [{
2655
2655
  type: Inject,
@@ -2842,9 +2842,9 @@ class NgClass {
2842
2842
  }
2843
2843
  }
2844
2844
  }
2845
- NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", 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.0.0-next.4", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2847
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgClass, decorators: [{
2845
+ NgClass.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", 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.0.0-next.6", type: NgClass, isStandalone: true, selector: "[ngClass]", inputs: { klass: ["class", "klass"], ngClass: "ngClass" }, ngImport: i0 });
2847
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgClass, decorators: [{
2848
2848
  type: Directive,
2849
2849
  args: [{
2850
2850
  selector: '[ngClass]',
@@ -2963,9 +2963,9 @@ class NgComponentOutlet {
2963
2963
  this._moduleRef.destroy();
2964
2964
  }
2965
2965
  }
2966
- NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2967
- NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", 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.0.0-next.4", ngImport: i0, type: NgComponentOutlet, decorators: [{
2966
+ NgComponentOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgComponentOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
2967
+ NgComponentOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.6", 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.0.0-next.6", ngImport: i0, type: NgComponentOutlet, decorators: [{
2969
2969
  type: Directive,
2970
2970
  args: [{
2971
2971
  selector: '[ngComponentOutlet]',
@@ -3255,9 +3255,9 @@ class NgForOf {
3255
3255
  return true;
3256
3256
  }
3257
3257
  }
3258
- NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", 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.0.0-next.4", 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.0.0-next.4", ngImport: i0, type: NgForOf, decorators: [{
3258
+ NgForOf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", 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.0.0-next.6", 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.0.0-next.6", ngImport: i0, type: NgForOf, decorators: [{
3261
3261
  type: Directive,
3262
3262
  args: [{
3263
3263
  selector: '[ngFor][ngForOf]',
@@ -3490,9 +3490,9 @@ class NgIf {
3490
3490
  return true;
3491
3491
  }
3492
3492
  }
3493
- NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", 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.0.0-next.4", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
3495
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgIf, decorators: [{
3493
+ NgIf.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", 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.0.0-next.6", type: NgIf, isStandalone: true, selector: "[ngIf]", inputs: { ngIf: "ngIf", ngIfThen: "ngIfThen", ngIfElse: "ngIfElse" }, ngImport: i0 });
3495
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgIf, decorators: [{
3496
3496
  type: Directive,
3497
3497
  args: [{
3498
3498
  selector: '[ngIf]',
@@ -3663,9 +3663,9 @@ class NgSwitch {
3663
3663
  }
3664
3664
  }
3665
3665
  }
3666
- NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3667
- NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3668
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgSwitch, decorators: [{
3666
+ NgSwitch.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgSwitch, deps: [], target: i0.ɵɵFactoryTarget.Directive });
3667
+ NgSwitch.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.6", type: NgSwitch, isStandalone: true, selector: "[ngSwitch]", inputs: { ngSwitch: "ngSwitch" }, ngImport: i0 });
3668
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgSwitch, decorators: [{
3669
3669
  type: Directive,
3670
3670
  args: [{
3671
3671
  selector: '[ngSwitch]',
@@ -3724,9 +3724,9 @@ class NgSwitchCase {
3724
3724
  this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase));
3725
3725
  }
3726
3726
  }
3727
- NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", 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.0.0-next.4", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3729
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgSwitchCase, decorators: [{
3727
+ NgSwitchCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", 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.0.0-next.6", type: NgSwitchCase, isStandalone: true, selector: "[ngSwitchCase]", inputs: { ngSwitchCase: "ngSwitchCase" }, ngImport: i0 });
3729
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgSwitchCase, decorators: [{
3730
3730
  type: Directive,
3731
3731
  args: [{
3732
3732
  selector: '[ngSwitchCase]',
@@ -3761,9 +3761,9 @@ class NgSwitchDefault {
3761
3761
  ngSwitch._addDefault(new SwitchView(viewContainer, templateRef));
3762
3762
  }
3763
3763
  }
3764
- NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", 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.0.0-next.4", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
3766
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgSwitchDefault, decorators: [{
3764
+ NgSwitchDefault.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", 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.0.0-next.6", type: NgSwitchDefault, isStandalone: true, selector: "[ngSwitchDefault]", ngImport: i0 });
3766
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgSwitchDefault, decorators: [{
3767
3767
  type: Directive,
3768
3768
  args: [{
3769
3769
  selector: '[ngSwitchDefault]',
@@ -3847,9 +3847,9 @@ class NgPlural {
3847
3847
  }
3848
3848
  }
3849
3849
  }
3850
- NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3851
- NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3852
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgPlural, decorators: [{
3850
+ NgPlural.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgPlural, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Directive });
3851
+ NgPlural.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.6", type: NgPlural, isStandalone: true, selector: "[ngPlural]", inputs: { ngPlural: "ngPlural" }, ngImport: i0 });
3852
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgPlural, decorators: [{
3853
3853
  type: Directive,
3854
3854
  args: [{
3855
3855
  selector: '[ngPlural]',
@@ -3885,9 +3885,9 @@ class NgPluralCase {
3885
3885
  ngPlural.addCase(isANumber ? `=${value}` : value, new SwitchView(viewContainer, template));
3886
3886
  }
3887
3887
  }
3888
- NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", 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.0.0-next.4", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
3890
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgPluralCase, decorators: [{
3888
+ NgPluralCase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", 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.0.0-next.6", type: NgPluralCase, isStandalone: true, selector: "[ngPluralCase]", ngImport: i0 });
3890
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgPluralCase, decorators: [{
3891
3891
  type: Directive,
3892
3892
  args: [{
3893
3893
  selector: '[ngPluralCase]',
@@ -3981,9 +3981,9 @@ class NgStyle {
3981
3981
  changes.forEachChangedItem((record) => this._setStyle(record.key, record.currentValue));
3982
3982
  }
3983
3983
  }
3984
- NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", 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.0.0-next.4", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3986
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgStyle, decorators: [{
3984
+ NgStyle.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", 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.0.0-next.6", type: NgStyle, isStandalone: true, selector: "[ngStyle]", inputs: { ngStyle: "ngStyle" }, ngImport: i0 });
3986
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgStyle, decorators: [{
3987
3987
  type: Directive,
3988
3988
  args: [{
3989
3989
  selector: '[ngStyle]',
@@ -4063,9 +4063,9 @@ class NgTemplateOutlet {
4063
4063
  }
4064
4064
  }
4065
4065
  }
4066
- NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
4067
- NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", 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.0.0-next.4", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4066
+ NgTemplateOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgTemplateOutlet, deps: [{ token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
4067
+ NgTemplateOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.6", 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.0.0-next.6", ngImport: i0, type: NgTemplateOutlet, decorators: [{
4069
4069
  type: Directive,
4070
4070
  args: [{
4071
4071
  selector: '[ngTemplateOutlet]',
@@ -4237,9 +4237,9 @@ class AsyncPipe {
4237
4237
  }
4238
4238
  }
4239
4239
  }
4240
- AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
4241
- AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
4242
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: AsyncPipe, decorators: [{
4240
+ AsyncPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: AsyncPipe, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Pipe });
4241
+ AsyncPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.6", ngImport: i0, type: AsyncPipe, isStandalone: true, name: "async", pure: false });
4242
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: AsyncPipe, decorators: [{
4243
4243
  type: Pipe,
4244
4244
  args: [{
4245
4245
  name: 'async',
@@ -4280,9 +4280,9 @@ class LowerCasePipe {
4280
4280
  return value.toLowerCase();
4281
4281
  }
4282
4282
  }
4283
- LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4284
- LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
4285
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LowerCasePipe, decorators: [{
4283
+ LowerCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: LowerCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4284
+ LowerCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.6", ngImport: i0, type: LowerCasePipe, isStandalone: true, name: "lowercase" });
4285
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: LowerCasePipe, decorators: [{
4286
4286
  type: Pipe,
4287
4287
  args: [{
4288
4288
  name: 'lowercase',
@@ -4325,9 +4325,9 @@ class TitleCasePipe {
4325
4325
  return value.replace(unicodeWordMatch, (txt => txt[0].toUpperCase() + txt.slice(1).toLowerCase()));
4326
4326
  }
4327
4327
  }
4328
- TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4329
- TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
4330
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: TitleCasePipe, decorators: [{
4328
+ TitleCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: TitleCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4329
+ TitleCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.6", ngImport: i0, type: TitleCasePipe, isStandalone: true, name: "titlecase" });
4330
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: TitleCasePipe, decorators: [{
4331
4331
  type: Pipe,
4332
4332
  args: [{
4333
4333
  name: 'titlecase',
@@ -4352,9 +4352,9 @@ class UpperCasePipe {
4352
4352
  return value.toUpperCase();
4353
4353
  }
4354
4354
  }
4355
- UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4356
- UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
4357
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: UpperCasePipe, decorators: [{
4355
+ UpperCasePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: UpperCasePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4356
+ UpperCasePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.6", ngImport: i0, type: UpperCasePipe, isStandalone: true, name: "uppercase" });
4357
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: UpperCasePipe, decorators: [{
4358
4358
  type: Pipe,
4359
4359
  args: [{
4360
4360
  name: 'uppercase',
@@ -4362,6 +4362,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4",
4362
4362
  }]
4363
4363
  }] });
4364
4364
 
4365
+ /**
4366
+ * @license
4367
+ * Copyright Google LLC All Rights Reserved.
4368
+ *
4369
+ * Use of this source code is governed by an MIT-style license that can be
4370
+ * found in the LICENSE file at https://angular.io/license
4371
+ */
4372
+ /**
4373
+ * The default date format of Angular date pipe, which corresponds to the following format:
4374
+ * `'MMM d,y'` (e.g. `Jun 15, 2015`)
4375
+ */
4376
+ const DEFAULT_DATE_FORMAT = 'mediumDate';
4377
+
4365
4378
  /**
4366
4379
  * @license
4367
4380
  * Copyright Google LLC All Rights Reserved.
@@ -4372,8 +4385,42 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4",
4372
4385
  /**
4373
4386
  * Optionally-provided default timezone to use for all instances of `DatePipe` (such as `'+0430'`).
4374
4387
  * If the value isn't provided, the `DatePipe` will use the end-user's local system timezone.
4388
+ *
4389
+ * @deprecated use DATE_PIPE_DEFAULT_OPTIONS token to configure DatePipe
4375
4390
  */
4376
4391
  const DATE_PIPE_DEFAULT_TIMEZONE = new InjectionToken('DATE_PIPE_DEFAULT_TIMEZONE');
4392
+ /**
4393
+ * DI token that allows to provide default configuration for the `DatePipe` instances in an
4394
+ * application. The value is an object which can include the following fields:
4395
+ * - `dateFormat`: configures the default date format. If not provided, the `DatePipe`
4396
+ * will use the 'mediumDate' as a value.
4397
+ * - `timezone`: configures the default timezone. If not provided, the `DatePipe` will
4398
+ * use the end-user's local system timezone.
4399
+ *
4400
+ * @see `DatePipeConfig`
4401
+ *
4402
+ * @usageNotes
4403
+ *
4404
+ * Various date pipe default values can be overwritten by providing this token with
4405
+ * the value that has this interface.
4406
+ *
4407
+ * For example:
4408
+ *
4409
+ * Override the default date format by providing a value using the token:
4410
+ * ```typescript
4411
+ * providers: [
4412
+ * {provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: {dateFormat: 'shortDate'}}
4413
+ * ]
4414
+ * ```
4415
+ *
4416
+ * Override the default timezone by providing a value using the token:
4417
+ * ```typescript
4418
+ * providers: [
4419
+ * {provide: DATE_PIPE_DEFAULT_OPTIONS, useValue: {timezone: '-1200'}}
4420
+ * ]
4421
+ * ```
4422
+ */
4423
+ const DATE_PIPE_DEFAULT_OPTIONS = new InjectionToken('DATE_PIPE_DEFAULT_OPTIONS');
4377
4424
  // clang-format off
4378
4425
  /**
4379
4426
  * @ngModule CommonModule
@@ -4534,24 +4581,27 @@ const DATE_PIPE_DEFAULT_TIMEZONE = new InjectionToken('DATE_PIPE_DEFAULT_TIMEZON
4534
4581
  */
4535
4582
  // clang-format on
4536
4583
  class DatePipe {
4537
- constructor(locale, defaultTimezone) {
4584
+ constructor(locale, defaultTimezone, defaultOptions) {
4538
4585
  this.locale = locale;
4539
4586
  this.defaultTimezone = defaultTimezone;
4587
+ this.defaultOptions = defaultOptions;
4540
4588
  }
4541
- transform(value, format = 'mediumDate', timezone, locale) {
4589
+ transform(value, format, timezone, locale) {
4542
4590
  if (value == null || value === '' || value !== value)
4543
4591
  return null;
4544
4592
  try {
4545
- return formatDate(value, format, locale || this.locale, timezone ?? this.defaultTimezone ?? undefined);
4593
+ const _format = format ?? this.defaultOptions?.dateFormat ?? DEFAULT_DATE_FORMAT;
4594
+ const _timezone = timezone ?? this.defaultOptions?.timezone ?? this.defaultTimezone ?? undefined;
4595
+ return formatDate(value, _format, locale || this.locale, _timezone);
4546
4596
  }
4547
4597
  catch (error) {
4548
4598
  throw invalidPipeArgumentError(DatePipe, error.message);
4549
4599
  }
4550
4600
  }
4551
4601
  }
4552
- DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: DatePipe, deps: [{ token: LOCALE_ID }, { token: DATE_PIPE_DEFAULT_TIMEZONE, optional: true }], target: i0.ɵɵFactoryTarget.Pipe });
4553
- DatePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
4554
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: DatePipe, decorators: [{
4602
+ DatePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", 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.0.0-next.6", ngImport: i0, type: DatePipe, isStandalone: true, name: "date" });
4604
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: DatePipe, decorators: [{
4555
4605
  type: Pipe,
4556
4606
  args: [{
4557
4607
  name: 'date',
@@ -4566,6 +4616,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4",
4566
4616
  args: [DATE_PIPE_DEFAULT_TIMEZONE]
4567
4617
  }, {
4568
4618
  type: Optional
4619
+ }] }, { type: undefined, decorators: [{
4620
+ type: Inject,
4621
+ args: [DATE_PIPE_DEFAULT_OPTIONS]
4622
+ }, {
4623
+ type: Optional
4569
4624
  }] }]; } });
4570
4625
 
4571
4626
  /**
@@ -4597,7 +4652,7 @@ class I18nPluralPipe {
4597
4652
  /**
4598
4653
  * @param value the number to be formatted
4599
4654
  * @param pluralMap an object that mimics the ICU format, see
4600
- * http://userguide.icu-project.org/formatparse/messages.
4655
+ * https://unicode-org.github.io/icu/userguide/format_parse/messages/.
4601
4656
  * @param locale a `string` defining the locale to use (uses the current {@link LOCALE_ID} by
4602
4657
  * default).
4603
4658
  */
@@ -4611,9 +4666,9 @@ class I18nPluralPipe {
4611
4666
  return pluralMap[key].replace(_INTERPOLATION_REGEXP, value.toString());
4612
4667
  }
4613
4668
  }
4614
- I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4615
- I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
4616
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nPluralPipe, decorators: [{
4669
+ I18nPluralPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: I18nPluralPipe, deps: [{ token: NgLocalization }], target: i0.ɵɵFactoryTarget.Pipe });
4670
+ I18nPluralPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.6", ngImport: i0, type: I18nPluralPipe, isStandalone: true, name: "i18nPlural" });
4671
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: I18nPluralPipe, decorators: [{
4617
4672
  type: Pipe,
4618
4673
  args: [{
4619
4674
  name: 'i18nPlural',
@@ -4667,9 +4722,9 @@ class I18nSelectPipe {
4667
4722
  return '';
4668
4723
  }
4669
4724
  }
4670
- I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4671
- I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
4672
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: I18nSelectPipe, decorators: [{
4725
+ I18nSelectPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: I18nSelectPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4726
+ I18nSelectPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.6", ngImport: i0, type: I18nSelectPipe, isStandalone: true, name: "i18nSelect" });
4727
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: I18nSelectPipe, decorators: [{
4673
4728
  type: Pipe,
4674
4729
  args: [{
4675
4730
  name: 'i18nSelect',
@@ -4708,9 +4763,9 @@ class JsonPipe {
4708
4763
  return JSON.stringify(value, null, 2);
4709
4764
  }
4710
4765
  }
4711
- JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4712
- JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
4713
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: JsonPipe, decorators: [{
4766
+ JsonPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: JsonPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
4767
+ JsonPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.6", ngImport: i0, type: JsonPipe, isStandalone: true, name: "json", pure: false });
4768
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: JsonPipe, decorators: [{
4714
4769
  type: Pipe,
4715
4770
  args: [{
4716
4771
  name: 'json',
@@ -4778,9 +4833,9 @@ class KeyValuePipe {
4778
4833
  return this.keyValues;
4779
4834
  }
4780
4835
  }
4781
- KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4782
- KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
4783
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: KeyValuePipe, decorators: [{
4836
+ KeyValuePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: KeyValuePipe, deps: [{ token: i0.KeyValueDiffers }], target: i0.ɵɵFactoryTarget.Pipe });
4837
+ KeyValuePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.6", ngImport: i0, type: KeyValuePipe, isStandalone: true, name: "keyvalue", pure: false });
4838
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: KeyValuePipe, decorators: [{
4784
4839
  type: Pipe,
4785
4840
  args: [{
4786
4841
  name: 'keyvalue',
@@ -4913,9 +4968,9 @@ class DecimalPipe {
4913
4968
  }
4914
4969
  }
4915
4970
  }
4916
- DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4917
- DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
4918
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: DecimalPipe, decorators: [{
4971
+ DecimalPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: DecimalPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4972
+ DecimalPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.6", ngImport: i0, type: DecimalPipe, isStandalone: true, name: "number" });
4973
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: DecimalPipe, decorators: [{
4919
4974
  type: Pipe,
4920
4975
  args: [{
4921
4976
  name: 'number',
@@ -4978,9 +5033,9 @@ class PercentPipe {
4978
5033
  }
4979
5034
  }
4980
5035
  }
4981
- PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
4982
- PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
4983
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PercentPipe, decorators: [{
5036
+ PercentPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PercentPipe, deps: [{ token: LOCALE_ID }], target: i0.ɵɵFactoryTarget.Pipe });
5037
+ PercentPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.6", ngImport: i0, type: PercentPipe, isStandalone: true, name: "percent" });
5038
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PercentPipe, decorators: [{
4984
5039
  type: Pipe,
4985
5040
  args: [{
4986
5041
  name: 'percent',
@@ -5096,9 +5151,9 @@ class CurrencyPipe {
5096
5151
  }
5097
5152
  }
5098
5153
  }
5099
- CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CurrencyPipe, deps: [{ token: LOCALE_ID }, { token: DEFAULT_CURRENCY_CODE }], target: i0.ɵɵFactoryTarget.Pipe });
5100
- CurrencyPipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
5101
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CurrencyPipe, decorators: [{
5154
+ CurrencyPipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", 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.0.0-next.6", ngImport: i0, type: CurrencyPipe, isStandalone: true, name: "currency" });
5156
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: CurrencyPipe, decorators: [{
5102
5157
  type: Pipe,
5103
5158
  args: [{
5104
5159
  name: 'currency',
@@ -5183,9 +5238,9 @@ class SlicePipe {
5183
5238
  return typeof obj === 'string' || Array.isArray(obj);
5184
5239
  }
5185
5240
  }
5186
- SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5187
- SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.4", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
5188
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: SlicePipe, decorators: [{
5241
+ SlicePipe.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: SlicePipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe });
5242
+ SlicePipe.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "15.0.0-next.6", ngImport: i0, type: SlicePipe, isStandalone: true, name: "slice", pure: false });
5243
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: SlicePipe, decorators: [{
5189
5244
  type: Pipe,
5190
5245
  args: [{
5191
5246
  name: 'slice',
@@ -5239,10 +5294,10 @@ const COMMON_PIPES = [
5239
5294
  */
5240
5295
  class CommonModule {
5241
5296
  }
5242
- CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5243
- CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.4", 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] });
5244
- CommonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CommonModule });
5245
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: CommonModule, decorators: [{
5297
+ CommonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: CommonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
5298
+ CommonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.0-next.6", 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.0.0-next.6", ngImport: i0, type: CommonModule });
5300
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: CommonModule, decorators: [{
5246
5301
  type: NgModule,
5247
5302
  args: [{
5248
5303
  imports: [COMMON_DIRECTIVES, COMMON_PIPES],
@@ -5300,7 +5355,7 @@ function isPlatformWorkerUi(platformId) {
5300
5355
  /**
5301
5356
  * @publicApi
5302
5357
  */
5303
- const VERSION = new Version('15.0.0-next.4');
5358
+ const VERSION = new Version('15.0.0-next.6');
5304
5359
 
5305
5360
  /**
5306
5361
  * @license
@@ -5525,38 +5580,6 @@ class NullViewportScroller {
5525
5580
  class XhrFactory {
5526
5581
  }
5527
5582
 
5528
- /**
5529
- * @license
5530
- * Copyright Google LLC All Rights Reserved.
5531
- *
5532
- * Use of this source code is governed by an MIT-style license that can be
5533
- * found in the LICENSE file at https://angular.io/license
5534
- */
5535
- /**
5536
- * Asserts that the application is in development mode. Throws an error if the application is in
5537
- * production mode. This assert can be used to make sure that there is no dev-mode code invoked in
5538
- * the prod mode accidentally.
5539
- */
5540
- function assertDevMode(checkName) {
5541
- if (!ngDevMode) {
5542
- throw new ɵRuntimeError(2958 /* RuntimeErrorCode.UNEXPECTED_DEV_MODE_CHECK_IN_PROD_MODE */, `Unexpected invocation of the ${checkName} in the prod mode. ` +
5543
- `Please make sure that the prod mode is enabled for production builds.`);
5544
- }
5545
- }
5546
-
5547
- /**
5548
- * @license
5549
- * Copyright Google LLC All Rights Reserved.
5550
- *
5551
- * Use of this source code is governed by an MIT-style license that can be
5552
- * found in the LICENSE file at https://angular.io/license
5553
- */
5554
- // Assembles directive details string, useful for error messages.
5555
- function imgDirectiveDetails(ngSrc, includeNgSrc = true) {
5556
- const ngSrcInfo = includeNgSrc ? `(activated on an <img> element with the \`ngSrc="${ngSrc}"\`) ` : '';
5557
- return `The NgOptimizedImage directive ${ngSrcInfo}has detected that`;
5558
- }
5559
-
5560
5583
  /**
5561
5584
  * @license
5562
5585
  * Copyright Google LLC All Rights Reserved.
@@ -5599,138 +5622,6 @@ function normalizeSrc(src) {
5599
5622
  return src.startsWith('/') ? src.slice(1) : src;
5600
5623
  }
5601
5624
 
5602
- /**
5603
- * @license
5604
- * Copyright Google LLC All Rights Reserved.
5605
- *
5606
- * Use of this source code is governed by an MIT-style license that can be
5607
- * found in the LICENSE file at https://angular.io/license
5608
- */
5609
- // Set of origins that are always excluded from the preconnect checks.
5610
- const INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', '0.0.0.0']);
5611
- /**
5612
- * Multi-provider injection token to configure which origins should be excluded
5613
- * from the preconnect checks. It can either be a single string or an array of strings
5614
- * to represent a group of origins, for example:
5615
- *
5616
- * ```typescript
5617
- * {provide: PRECONNECT_CHECK_BLOCKLIST, multi: true, useValue: 'https://your-domain.com'}
5618
- * ```
5619
- *
5620
- * or:
5621
- *
5622
- * ```typescript
5623
- * {provide: PRECONNECT_CHECK_BLOCKLIST, multi: true,
5624
- * useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}
5625
- * ```
5626
- *
5627
- * @publicApi
5628
- * @developerPreview
5629
- */
5630
- const PRECONNECT_CHECK_BLOCKLIST = new InjectionToken('PRECONNECT_CHECK_BLOCKLIST');
5631
- /**
5632
- * Contains the logic to detect whether an image, marked with the "priority" attribute
5633
- * has a corresponding `<link rel="preconnect">` tag in the `document.head`.
5634
- *
5635
- * Note: this is a dev-mode only class, which should not appear in prod bundles,
5636
- * thus there is no `ngDevMode` use in the code.
5637
- */
5638
- class PreconnectLinkChecker {
5639
- constructor() {
5640
- this.document = inject(DOCUMENT);
5641
- /**
5642
- * Set of <link rel="preconnect"> tags found on this page.
5643
- * The `null` value indicates that there was no DOM query operation performed.
5644
- */
5645
- this.preconnectLinks = null;
5646
- /*
5647
- * Keep track of all already seen origin URLs to avoid repeating the same check.
5648
- */
5649
- this.alreadySeen = new Set();
5650
- this.window = null;
5651
- this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST);
5652
- assertDevMode('preconnect link checker');
5653
- const win = this.document.defaultView;
5654
- if (typeof win !== 'undefined') {
5655
- this.window = win;
5656
- }
5657
- const blocklist = inject(PRECONNECT_CHECK_BLOCKLIST, { optional: true });
5658
- if (blocklist) {
5659
- this.populateBlocklist(blocklist);
5660
- }
5661
- }
5662
- populateBlocklist(origins) {
5663
- if (Array.isArray(origins)) {
5664
- deepForEach(origins, origin => {
5665
- this.blocklist.add(extractHostname(origin));
5666
- });
5667
- }
5668
- else {
5669
- throw new ɵRuntimeError(2957 /* RuntimeErrorCode.INVALID_PRECONNECT_CHECK_BLOCKLIST */, `The blocklist for the preconnect check was not provided as an array. ` +
5670
- `Check that the \`PRECONNECT_CHECK_BLOCKLIST\` token is configured as a \`multi: true\` provider.`);
5671
- }
5672
- }
5673
- /**
5674
- * Checks that a preconnect resource hint exists in the head fo rthe
5675
- * given src.
5676
- *
5677
- * @param rewrittenSrc src formatted with loader
5678
- * @param originalNgSrc ngSrc value
5679
- */
5680
- assertPreconnect(rewrittenSrc, originalNgSrc) {
5681
- if (!this.window)
5682
- return;
5683
- const imgUrl = getUrl(rewrittenSrc, this.window);
5684
- if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin))
5685
- return;
5686
- // Register this origin as seen, so we don't check it again later.
5687
- this.alreadySeen.add(imgUrl.origin);
5688
- if (!this.preconnectLinks) {
5689
- // Note: we query for preconnect links only *once* and cache the results
5690
- // for the entire lifespan of an application, since it's unlikely that the
5691
- // list would change frequently. This allows to make sure there are no
5692
- // performance implications of making extra DOM lookups for each image.
5693
- this.preconnectLinks = this.queryPreconnectLinks();
5694
- }
5695
- if (!this.preconnectLinks.has(imgUrl.origin)) {
5696
- console.warn(ɵformatRuntimeError(2956 /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */, `${imgDirectiveDetails(originalNgSrc)} there is no preconnect tag present for this ` +
5697
- `image. Preconnecting to the origin(s) that serve priority images ensures that these ` +
5698
- `images are delivered as soon as possible. To fix this, please add the following ` +
5699
- `element into the <head> of the document:\n` +
5700
- ` <link rel="preconnect" href="${imgUrl.origin}">`));
5701
- }
5702
- }
5703
- queryPreconnectLinks() {
5704
- const preconnectUrls = new Set();
5705
- const selector = 'link[rel=preconnect]';
5706
- const links = Array.from(this.document.querySelectorAll(selector));
5707
- for (let link of links) {
5708
- const url = getUrl(link.href, this.window);
5709
- preconnectUrls.add(url.origin);
5710
- }
5711
- return preconnectUrls;
5712
- }
5713
- ngOnDestroy() {
5714
- this.preconnectLinks?.clear();
5715
- this.alreadySeen.clear();
5716
- }
5717
- }
5718
- PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5719
- PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
5720
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
5721
- type: Injectable,
5722
- args: [{ providedIn: 'root' }]
5723
- }], ctorParameters: function () { return []; } });
5724
- /**
5725
- * Invokes a callback for each element in the array. Also invokes a callback
5726
- * recursively for each nested array.
5727
- */
5728
- function deepForEach(input, fn) {
5729
- for (let value of input) {
5730
- Array.isArray(value) ? deepForEach(value, fn) : fn(value);
5731
- }
5732
- }
5733
-
5734
5625
  /**
5735
5626
  * @license
5736
5627
  * Copyright Google LLC All Rights Reserved.
@@ -5768,7 +5659,7 @@ const IMAGE_LOADER = new InjectionToken('ImageLoader', {
5768
5659
  * @returns a set of DI providers corresponding to the configured image loader
5769
5660
  */
5770
5661
  function createImageLoader(buildUrlFn, exampleUrls) {
5771
- return function provideImageLoader(path, options = { ensurePreconnect: true }) {
5662
+ return function provideImageLoader(path) {
5772
5663
  if (!isValidPath(path)) {
5773
5664
  throwInvalidPathError(path, exampleUrls || []);
5774
5665
  }
@@ -5787,9 +5678,6 @@ function createImageLoader(buildUrlFn, exampleUrls) {
5787
5678
  return buildUrlFn(path, { ...config, src: normalizeSrc(config.src) });
5788
5679
  };
5789
5680
  const providers = [{ provide: IMAGE_LOADER, useValue: loaderFn }];
5790
- if (ngDevMode && options.ensurePreconnect === false) {
5791
- providers.push({ provide: PRECONNECT_CHECK_BLOCKLIST, useValue: [path], multi: true });
5792
- }
5793
5681
  return providers;
5794
5682
  };
5795
5683
  }
@@ -5821,10 +5709,6 @@ function throwUnexpectedAbsoluteUrlError(path, url) {
5821
5709
  * Cloudflare Image Resizing; it will not work with Cloudflare Images or Cloudflare Polish.
5822
5710
  *
5823
5711
  * @param path Your domain name, e.g. https://mysite.com
5824
- * @param options An object with extra configuration:
5825
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
5826
- * should verify that there is a corresponding `<link rel="preconnect">`
5827
- * present in the document's `<head>`.
5828
5712
  * @returns Provider that provides an ImageLoader function
5829
5713
  *
5830
5714
  * @publicApi
@@ -5856,10 +5740,6 @@ function createCloudflareUrl(path, config) {
5856
5740
  * https://res.cloudinary.com/mysite
5857
5741
  * https://mysite.cloudinary.com
5858
5742
  * https://subdomain.mysite.com
5859
- * @param options An object with extra configuration:
5860
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
5861
- * should verify that there is a corresponding `<link rel="preconnect">`
5862
- * present in the document's `<head>`.
5863
5743
  * @returns Set of providers to configure the Cloudinary loader.
5864
5744
  *
5865
5745
  * @publicApi
@@ -5897,10 +5777,6 @@ function createCloudinaryUrl(path, config) {
5897
5777
  * This URL should match one of the following formats:
5898
5778
  * https://ik.imagekit.io/myaccount
5899
5779
  * https://subdomain.mysite.com
5900
- * @param options An object with extra configuration:
5901
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
5902
- * should verify that there is a corresponding `<link rel="preconnect">`
5903
- * present in the document's `<head>`.
5904
5780
  * @returns Set of providers to configure the ImageKit loader.
5905
5781
  *
5906
5782
  * @publicApi
@@ -5929,10 +5805,6 @@ function createImagekitUrl(path, config) {
5929
5805
  *
5930
5806
  * @param path path to the desired Imgix origin,
5931
5807
  * e.g. https://somepath.imgix.net or https://images.mysite.com
5932
- * @param options An object with extra configuration:
5933
- * - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
5934
- * should verify that there is a corresponding `<link rel="preconnect">`
5935
- * present in the document's `<head>`.
5936
5808
  * @returns Set of providers to configure the Imgix loader.
5937
5809
  *
5938
5810
  * @publicApi
@@ -5949,6 +5821,38 @@ function createImgixUrl(path, config) {
5949
5821
  return url.href;
5950
5822
  }
5951
5823
 
5824
+ /**
5825
+ * @license
5826
+ * Copyright Google LLC All Rights Reserved.
5827
+ *
5828
+ * Use of this source code is governed by an MIT-style license that can be
5829
+ * found in the LICENSE file at https://angular.io/license
5830
+ */
5831
+ // Assembles directive details string, useful for error messages.
5832
+ function imgDirectiveDetails(ngSrc, includeNgSrc = true) {
5833
+ const ngSrcInfo = includeNgSrc ? `(activated on an <img> element with the \`ngSrc="${ngSrc}"\`) ` : '';
5834
+ return `The NgOptimizedImage directive ${ngSrcInfo}has detected that`;
5835
+ }
5836
+
5837
+ /**
5838
+ * @license
5839
+ * Copyright Google LLC All Rights Reserved.
5840
+ *
5841
+ * Use of this source code is governed by an MIT-style license that can be
5842
+ * found in the LICENSE file at https://angular.io/license
5843
+ */
5844
+ /**
5845
+ * Asserts that the application is in development mode. Throws an error if the application is in
5846
+ * production mode. This assert can be used to make sure that there is no dev-mode code invoked in
5847
+ * the prod mode accidentally.
5848
+ */
5849
+ function assertDevMode(checkName) {
5850
+ if (!ngDevMode) {
5851
+ throw new ɵRuntimeError(2958 /* RuntimeErrorCode.UNEXPECTED_DEV_MODE_CHECK_IN_PROD_MODE */, `Unexpected invocation of the ${checkName} in the prod mode. ` +
5852
+ `Please make sure that the prod mode is enabled for production builds.`);
5853
+ }
5854
+ }
5855
+
5952
5856
  /**
5953
5857
  * @license
5954
5858
  * Copyright Google LLC All Rights Reserved.
@@ -6028,9 +5932,9 @@ class LCPImageObserver {
6028
5932
  this.alreadyWarned.clear();
6029
5933
  }
6030
5934
  }
6031
- LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6032
- LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
6033
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: LCPImageObserver, decorators: [{
5935
+ LCPImageObserver.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
5936
+ LCPImageObserver.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
5937
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: LCPImageObserver, decorators: [{
6034
5938
  type: Injectable,
6035
5939
  args: [{ providedIn: 'root' }]
6036
5940
  }], ctorParameters: function () { return []; } });
@@ -6042,6 +5946,230 @@ function logMissingPriorityWarning(ngSrc) {
6042
5946
  `To fix this, add the "priority" attribute.`));
6043
5947
  }
6044
5948
 
5949
+ /**
5950
+ * @license
5951
+ * Copyright Google LLC All Rights Reserved.
5952
+ *
5953
+ * Use of this source code is governed by an MIT-style license that can be
5954
+ * found in the LICENSE file at https://angular.io/license
5955
+ */
5956
+ // Set of origins that are always excluded from the preconnect checks.
5957
+ const INTERNAL_PRECONNECT_CHECK_BLOCKLIST = new Set(['localhost', '127.0.0.1', '0.0.0.0']);
5958
+ /**
5959
+ * Injection token to configure which origins should be excluded
5960
+ * from the preconnect checks. It can either be a single string or an array of strings
5961
+ * to represent a group of origins, for example:
5962
+ *
5963
+ * ```typescript
5964
+ * {provide: PRECONNECT_CHECK_BLOCKLIST, useValue: 'https://your-domain.com'}
5965
+ * ```
5966
+ *
5967
+ * or:
5968
+ *
5969
+ * ```typescript
5970
+ * {provide: PRECONNECT_CHECK_BLOCKLIST,
5971
+ * useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}
5972
+ * ```
5973
+ *
5974
+ * @publicApi
5975
+ * @developerPreview
5976
+ */
5977
+ const PRECONNECT_CHECK_BLOCKLIST = new InjectionToken('PRECONNECT_CHECK_BLOCKLIST');
5978
+ /**
5979
+ * Contains the logic to detect whether an image, marked with the "priority" attribute
5980
+ * has a corresponding `<link rel="preconnect">` tag in the `document.head`.
5981
+ *
5982
+ * Note: this is a dev-mode only class, which should not appear in prod bundles,
5983
+ * thus there is no `ngDevMode` use in the code.
5984
+ */
5985
+ class PreconnectLinkChecker {
5986
+ constructor() {
5987
+ this.document = inject(DOCUMENT);
5988
+ /**
5989
+ * Set of <link rel="preconnect"> tags found on this page.
5990
+ * The `null` value indicates that there was no DOM query operation performed.
5991
+ */
5992
+ this.preconnectLinks = null;
5993
+ /*
5994
+ * Keep track of all already seen origin URLs to avoid repeating the same check.
5995
+ */
5996
+ this.alreadySeen = new Set();
5997
+ this.window = null;
5998
+ this.blocklist = new Set(INTERNAL_PRECONNECT_CHECK_BLOCKLIST);
5999
+ assertDevMode('preconnect link checker');
6000
+ const win = this.document.defaultView;
6001
+ if (typeof win !== 'undefined') {
6002
+ this.window = win;
6003
+ }
6004
+ const blocklist = inject(PRECONNECT_CHECK_BLOCKLIST, { optional: true });
6005
+ if (blocklist) {
6006
+ this.populateBlocklist(blocklist);
6007
+ }
6008
+ }
6009
+ populateBlocklist(origins) {
6010
+ if (Array.isArray(origins)) {
6011
+ deepForEach(origins, origin => {
6012
+ this.blocklist.add(extractHostname(origin));
6013
+ });
6014
+ }
6015
+ else {
6016
+ this.blocklist.add(extractHostname(origins));
6017
+ }
6018
+ }
6019
+ /**
6020
+ * Checks that a preconnect resource hint exists in the head fo rthe
6021
+ * given src.
6022
+ *
6023
+ * @param rewrittenSrc src formatted with loader
6024
+ * @param originalNgSrc ngSrc value
6025
+ */
6026
+ assertPreconnect(rewrittenSrc, originalNgSrc) {
6027
+ if (!this.window)
6028
+ return;
6029
+ const imgUrl = getUrl(rewrittenSrc, this.window);
6030
+ if (this.blocklist.has(imgUrl.hostname) || this.alreadySeen.has(imgUrl.origin))
6031
+ return;
6032
+ // Register this origin as seen, so we don't check it again later.
6033
+ this.alreadySeen.add(imgUrl.origin);
6034
+ if (!this.preconnectLinks) {
6035
+ // Note: we query for preconnect links only *once* and cache the results
6036
+ // for the entire lifespan of an application, since it's unlikely that the
6037
+ // list would change frequently. This allows to make sure there are no
6038
+ // performance implications of making extra DOM lookups for each image.
6039
+ this.preconnectLinks = this.queryPreconnectLinks();
6040
+ }
6041
+ if (!this.preconnectLinks.has(imgUrl.origin)) {
6042
+ console.warn(ɵformatRuntimeError(2956 /* RuntimeErrorCode.PRIORITY_IMG_MISSING_PRECONNECT_TAG */, `${imgDirectiveDetails(originalNgSrc)} there is no preconnect tag present for this ` +
6043
+ `image. Preconnecting to the origin(s) that serve priority images ensures that these ` +
6044
+ `images are delivered as soon as possible. To fix this, please add the following ` +
6045
+ `element into the <head> of the document:\n` +
6046
+ ` <link rel="preconnect" href="${imgUrl.origin}">`));
6047
+ }
6048
+ }
6049
+ queryPreconnectLinks() {
6050
+ const preconnectUrls = new Set();
6051
+ const selector = 'link[rel=preconnect]';
6052
+ const links = Array.from(this.document.querySelectorAll(selector));
6053
+ for (let link of links) {
6054
+ const url = getUrl(link.href, this.window);
6055
+ preconnectUrls.add(url.origin);
6056
+ }
6057
+ return preconnectUrls;
6058
+ }
6059
+ ngOnDestroy() {
6060
+ this.preconnectLinks?.clear();
6061
+ this.alreadySeen.clear();
6062
+ }
6063
+ }
6064
+ PreconnectLinkChecker.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6065
+ PreconnectLinkChecker.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
6066
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
6067
+ type: Injectable,
6068
+ args: [{ providedIn: 'root' }]
6069
+ }], ctorParameters: function () { return []; } });
6070
+ /**
6071
+ * Invokes a callback for each element in the array. Also invokes a callback
6072
+ * recursively for each nested array.
6073
+ */
6074
+ function deepForEach(input, fn) {
6075
+ for (let value of input) {
6076
+ Array.isArray(value) ? deepForEach(value, fn) : fn(value);
6077
+ }
6078
+ }
6079
+
6080
+ /**
6081
+ * @license
6082
+ * Copyright Google LLC All Rights Reserved.
6083
+ *
6084
+ * Use of this source code is governed by an MIT-style license that can be
6085
+ * found in the LICENSE file at https://angular.io/license
6086
+ */
6087
+ /**
6088
+ * In SSR scenarios, a preload `<link>` element is generated for priority images.
6089
+ * Having a large number of preload tags may negatively affect the performance,
6090
+ * so we warn developers (by throwing an error) if the number of preloaded images
6091
+ * is above a certain threshold. This const specifies this threshold.
6092
+ */
6093
+ const DEFAULT_PRELOADED_IMAGES_LIMIT = 5;
6094
+ /**
6095
+ * Helps to keep track of priority images that already have a corresponding
6096
+ * preload tag (to avoid generating multiple preload tags with the same URL).
6097
+ *
6098
+ * This Set tracks the original src passed into the `ngSrc` input not the src after it has been
6099
+ * run through the specified `IMAGE_LOADER`.
6100
+ */
6101
+ const PRELOADED_IMAGES = new InjectionToken('NG_OPTIMIZED_PRELOADED_IMAGES', { providedIn: 'root', factory: () => new Set() });
6102
+
6103
+ /**
6104
+ * @license
6105
+ * Copyright Google LLC All Rights Reserved.
6106
+ *
6107
+ * Use of this source code is governed by an MIT-style license that can be
6108
+ * found in the LICENSE file at https://angular.io/license
6109
+ */
6110
+ /**
6111
+ * @description Contains the logic needed to track and add preload link tags to the `<head>` tag. It
6112
+ * will also track what images have already had preload link tags added so as to not duplicate link
6113
+ * tags.
6114
+ *
6115
+ * In dev mode this service will validate that the number of preloaded images does not exceed the
6116
+ * configured default preloaded images limit: {@link DEFAULT_PRELOADED_IMAGES_LIMIT}.
6117
+ */
6118
+ class PreloadLinkCreator {
6119
+ constructor() {
6120
+ this.preloadedImages = inject(PRELOADED_IMAGES);
6121
+ this.document = inject(DOCUMENT);
6122
+ }
6123
+ /**
6124
+ * @description Add a preload `<link>` to the `<head>` of the `index.html` that is served from the
6125
+ * server while using Angular Universal and SSR to kick off image loads for high priority images.
6126
+ *
6127
+ * The `sizes` (passed in from the user) and `srcset` (parsed and formatted from `ngSrcset`)
6128
+ * properties used to set the corresponding attributes, `imagesizes` and `imagesrcset`
6129
+ * respectively, on the preload `<link>` tag so that the correctly sized image is preloaded from
6130
+ * the CDN.
6131
+ *
6132
+ * {@link https://web.dev/preload-responsive-images/#imagesrcset-and-imagesizes}
6133
+ *
6134
+ * @param renderer The `Renderer2` passed in from the directive
6135
+ * @param src The original src of the image that is set on the `ngSrc` input.
6136
+ * @param srcset The parsed and formatted srcset created from the `ngSrcset` input
6137
+ * @param sizes The value of the `sizes` attribute passed in to the `<img>` tag
6138
+ */
6139
+ createPreloadLinkTag(renderer, src, srcset, sizes) {
6140
+ if (ngDevMode) {
6141
+ if (this.preloadedImages.size >= DEFAULT_PRELOADED_IMAGES_LIMIT) {
6142
+ throw new ɵRuntimeError(2961 /* RuntimeErrorCode.TOO_MANY_PRELOADED_IMAGES */, ngDevMode &&
6143
+ `The \`NgOptimizedImage\` directive has detected that more than ` +
6144
+ `${DEFAULT_PRELOADED_IMAGES_LIMIT} images were marked as priority. ` +
6145
+ `This might negatively affect an overall performance of the page. ` +
6146
+ `To fix this, remove the "priority" attribute from images with less priority.`);
6147
+ }
6148
+ }
6149
+ if (this.preloadedImages.has(src)) {
6150
+ return;
6151
+ }
6152
+ this.preloadedImages.add(src);
6153
+ const preload = renderer.createElement('link');
6154
+ renderer.setAttribute(preload, 'as', 'image');
6155
+ renderer.setAttribute(preload, 'href', src);
6156
+ renderer.setAttribute(preload, 'rel', 'preload');
6157
+ if (sizes) {
6158
+ renderer.setAttribute(preload, 'imageSizes', sizes);
6159
+ }
6160
+ if (srcset) {
6161
+ renderer.setAttribute(preload, 'imageSrcset', srcset);
6162
+ }
6163
+ renderer.appendChild(this.document.head, preload);
6164
+ }
6165
+ }
6166
+ PreloadLinkCreator.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
6167
+ PreloadLinkCreator.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
6168
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: PreloadLinkCreator, decorators: [{
6169
+ type: Injectable,
6170
+ args: [{ providedIn: 'root' }]
6171
+ }] });
6172
+
6045
6173
  /**
6046
6174
  * @license
6047
6175
  * Copyright Google LLC All Rights Reserved.
@@ -6078,6 +6206,14 @@ const ABSOLUTE_SRCSET_DENSITY_CAP = 3;
6078
6206
  * only throw based on the slightly more conservative ABSOLUTE_SRCSET_DENSITY_CAP.
6079
6207
  */
6080
6208
  const RECOMMENDED_SRCSET_DENSITY_CAP = 2;
6209
+ /**
6210
+ * Used in generating automatic density-based srcsets
6211
+ */
6212
+ const DENSITY_SRCSET_MULTIPLIERS = [1, 2];
6213
+ /**
6214
+ * Used to determine which breakpoints to use on full-width images
6215
+ */
6216
+ const VIEWPORT_BREAKPOINT_CUTOFF = 640;
6081
6217
  /**
6082
6218
  * Used to determine whether two aspect ratios are similar in value.
6083
6219
  */
@@ -6088,6 +6224,17 @@ const ASPECT_RATIO_TOLERANCE = .1;
6088
6224
  * into account a typical device pixel ratio). In pixels.
6089
6225
  */
6090
6226
  const OVERSIZED_IMAGE_TOLERANCE = 1000;
6227
+ const defaultConfig = {
6228
+ breakpoints: [16, 32, 48, 64, 96, 128, 256, 384, 640, 750, 828, 1080, 1200, 1920, 2048, 3840],
6229
+ };
6230
+ /**
6231
+ * Injection token that configures the image optimized image functionality.
6232
+ *
6233
+ * @see `NgOptimizedImage`
6234
+ * @publicApi
6235
+ * @developerPreview
6236
+ */
6237
+ const IMAGE_CONFIG = new InjectionToken('ImageConfig', { providedIn: 'root', factory: () => defaultConfig });
6091
6238
  /**
6092
6239
  * Directive that improves image loading performance by enforcing best practices.
6093
6240
  *
@@ -6099,6 +6246,7 @@ const OVERSIZED_IMAGE_TOLERANCE = 1000;
6099
6246
  *
6100
6247
  * In addition, the directive:
6101
6248
  * - Generates appropriate asset URLs if a corresponding `ImageLoader` function is provided
6249
+ * - Automatically generates a srcset
6102
6250
  * - Requires that `width` and `height` are set
6103
6251
  * - Warns if `width` or `height` have been set incorrectly
6104
6252
  * - Warns if the image will be visually distorted when rendered
@@ -6189,9 +6337,12 @@ const OVERSIZED_IMAGE_TOLERANCE = 1000;
6189
6337
  class NgOptimizedImage {
6190
6338
  constructor() {
6191
6339
  this.imageLoader = inject(IMAGE_LOADER);
6340
+ this.config = processConfig(inject(IMAGE_CONFIG));
6192
6341
  this.renderer = inject(Renderer2);
6193
6342
  this.imgElement = inject(ElementRef).nativeElement;
6194
6343
  this.injector = inject(Injector);
6344
+ this.isServer = isPlatformServer(inject(PLATFORM_ID));
6345
+ this.preloadLinkChecker = inject(PreloadLinkCreator);
6195
6346
  // a LCP image observer - should be injected only in the dev mode
6196
6347
  this.lcpObserver = ngDevMode ? this.injector.get(LCPImageObserver) : null;
6197
6348
  /**
@@ -6202,6 +6353,8 @@ class NgOptimizedImage {
6202
6353
  */
6203
6354
  this._renderedSrc = null;
6204
6355
  this._priority = false;
6356
+ this._disableOptimizedSrcset = false;
6357
+ this._fill = false;
6205
6358
  }
6206
6359
  /**
6207
6360
  * Previously, the `rawSrc` attribute was used to activate the directive.
@@ -6251,17 +6404,46 @@ class NgOptimizedImage {
6251
6404
  get priority() {
6252
6405
  return this._priority;
6253
6406
  }
6407
+ /**
6408
+ * Disables automatic srcset generation for this image.
6409
+ */
6410
+ set disableOptimizedSrcset(value) {
6411
+ this._disableOptimizedSrcset = inputToBoolean(value);
6412
+ }
6413
+ get disableOptimizedSrcset() {
6414
+ return this._disableOptimizedSrcset;
6415
+ }
6416
+ /**
6417
+ * Sets the image to "fill mode," which eliminates the height/width requirement and adds
6418
+ * styles such that the image fills its containing element.
6419
+ */
6420
+ set fill(value) {
6421
+ this._fill = inputToBoolean(value);
6422
+ }
6423
+ get fill() {
6424
+ return this._fill;
6425
+ }
6254
6426
  ngOnInit() {
6255
6427
  if (ngDevMode) {
6256
6428
  assertNonEmptyInput(this, 'ngSrc', this.ngSrc);
6257
6429
  assertValidNgSrcset(this, this.ngSrcset);
6258
6430
  assertNoConflictingSrc(this);
6259
- assertNoConflictingSrcset(this);
6431
+ if (this.ngSrcset) {
6432
+ assertNoConflictingSrcset(this);
6433
+ }
6260
6434
  assertNotBase64Image(this);
6261
6435
  assertNotBlobUrl(this);
6262
- assertNonEmptyWidthAndHeight(this);
6436
+ if (this.fill) {
6437
+ assertEmptyWidthAndHeight(this);
6438
+ }
6439
+ else {
6440
+ assertNonEmptyWidthAndHeight(this);
6441
+ }
6263
6442
  assertValidLoadingInput(this);
6264
6443
  assertNoImageDistortion(this, this.imgElement, this.renderer);
6444
+ if (!this.ngSrcset) {
6445
+ assertNoComplexSizes(this);
6446
+ }
6265
6447
  if (this.priority) {
6266
6448
  const checker = this.injector.get(PreconnectLinkChecker);
6267
6449
  checker.assertPreconnect(this.getRewrittenSrc(), this.ngSrc);
@@ -6283,15 +6465,36 @@ class NgOptimizedImage {
6283
6465
  setHostAttributes() {
6284
6466
  // Must set width/height explicitly in case they are bound (in which case they will
6285
6467
  // only be reflected and not found by the browser)
6286
- this.setHostAttribute('width', this.width.toString());
6287
- this.setHostAttribute('height', this.height.toString());
6468
+ if (this.fill) {
6469
+ if (!this.sizes) {
6470
+ this.sizes = '100vw';
6471
+ }
6472
+ }
6473
+ else {
6474
+ this.setHostAttribute('width', this.width.toString());
6475
+ this.setHostAttribute('height', this.height.toString());
6476
+ }
6288
6477
  this.setHostAttribute('loading', this.getLoadingBehavior());
6289
6478
  this.setHostAttribute('fetchpriority', this.getFetchPriority());
6290
6479
  // The `src` and `srcset` attributes should be set last since other attributes
6291
6480
  // could affect the image's loading behavior.
6292
- this.setHostAttribute('src', this.getRewrittenSrc());
6481
+ const rewrittenSrc = this.getRewrittenSrc();
6482
+ this.setHostAttribute('src', rewrittenSrc);
6483
+ let rewrittenSrcset = undefined;
6484
+ if (this.sizes) {
6485
+ this.setHostAttribute('sizes', this.sizes);
6486
+ }
6293
6487
  if (this.ngSrcset) {
6294
- this.setHostAttribute('srcset', this.getRewrittenSrcset());
6488
+ rewrittenSrcset = this.getRewrittenSrcset();
6489
+ }
6490
+ else if (!this._disableOptimizedSrcset && !this.srcset) {
6491
+ rewrittenSrcset = this.getAutomaticSrcset();
6492
+ }
6493
+ if (rewrittenSrcset) {
6494
+ this.setHostAttribute('srcset', rewrittenSrcset);
6495
+ }
6496
+ if (this.isServer && this.priority) {
6497
+ this.preloadLinkChecker.createPreloadLinkTag(this.renderer, rewrittenSrc, rewrittenSrcset, this.sizes);
6295
6498
  }
6296
6499
  }
6297
6500
  ngOnChanges(changes) {
@@ -6328,6 +6531,29 @@ class NgOptimizedImage {
6328
6531
  });
6329
6532
  return finalSrcs.join(', ');
6330
6533
  }
6534
+ getAutomaticSrcset() {
6535
+ if (this.sizes) {
6536
+ return this.getResponsiveSrcset();
6537
+ }
6538
+ else {
6539
+ return this.getFixedSrcset();
6540
+ }
6541
+ }
6542
+ getResponsiveSrcset() {
6543
+ const { breakpoints } = this.config;
6544
+ let filteredBreakpoints = breakpoints;
6545
+ if (this.sizes?.trim() === '100vw') {
6546
+ // Since this is a full-screen-width image, our srcset only needs to include
6547
+ // breakpoints with full viewport widths.
6548
+ filteredBreakpoints = breakpoints.filter(bp => bp >= VIEWPORT_BREAKPOINT_CUTOFF);
6549
+ }
6550
+ const finalSrcs = filteredBreakpoints.map(bp => `${this.imageLoader({ src: this.ngSrc, width: bp })} ${bp}w`);
6551
+ return finalSrcs.join(', ');
6552
+ }
6553
+ getFixedSrcset() {
6554
+ const finalSrcs = DENSITY_SRCSET_MULTIPLIERS.map(multiplier => `${this.imageLoader({ src: this.ngSrc, width: this.width * multiplier })} ${multiplier}x`);
6555
+ return finalSrcs.join(', ');
6556
+ }
6331
6557
  ngOnDestroy() {
6332
6558
  if (ngDevMode) {
6333
6559
  if (!this.priority && this._renderedSrc !== null && this.lcpObserver !== null) {
@@ -6339,13 +6565,19 @@ class NgOptimizedImage {
6339
6565
  this.renderer.setAttribute(this.imgElement, name, value);
6340
6566
  }
6341
6567
  }
6342
- NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6343
- NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.4", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc],img[rawSrc]", inputs: { rawSrc: "rawSrc", ngSrc: "ngSrc", ngSrcset: "ngSrcset", width: "width", height: "height", loading: "loading", priority: "priority", src: "src", srcset: "srcset" }, usesOnChanges: true, ngImport: i0 });
6344
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4", ngImport: i0, type: NgOptimizedImage, decorators: [{
6568
+ NgOptimizedImage.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
6569
+ NgOptimizedImage.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.0.0-next.6", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc],img[rawSrc]", inputs: { rawSrc: "rawSrc", 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 });
6570
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.6", ngImport: i0, type: NgOptimizedImage, decorators: [{
6345
6571
  type: Directive,
6346
6572
  args: [{
6347
6573
  standalone: true,
6348
6574
  selector: 'img[ngSrc],img[rawSrc]',
6575
+ host: {
6576
+ '[style.position]': 'fill ? "absolute" : null',
6577
+ '[style.width]': 'fill ? "100%" : null',
6578
+ '[style.height]': 'fill ? "100%" : null',
6579
+ '[style.inset]': 'fill ? "0px" : null'
6580
+ }
6349
6581
  }]
6350
6582
  }], propDecorators: { rawSrc: [{
6351
6583
  type: Input
@@ -6353,6 +6585,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4",
6353
6585
  type: Input
6354
6586
  }], ngSrcset: [{
6355
6587
  type: Input
6588
+ }], sizes: [{
6589
+ type: Input
6356
6590
  }], width: [{
6357
6591
  type: Input
6358
6592
  }], height: [{
@@ -6361,6 +6595,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0-next.4",
6361
6595
  type: Input
6362
6596
  }], priority: [{
6363
6597
  type: Input
6598
+ }], disableOptimizedSrcset: [{
6599
+ type: Input
6600
+ }], fill: [{
6601
+ type: Input
6364
6602
  }], src: [{
6365
6603
  type: Input
6366
6604
  }], srcset: [{
@@ -6379,6 +6617,16 @@ function inputToInteger(value) {
6379
6617
  function inputToBoolean(value) {
6380
6618
  return value != null && `${value}` !== 'false';
6381
6619
  }
6620
+ /**
6621
+ * Sorts provided config breakpoints and uses defaults.
6622
+ */
6623
+ function processConfig(config) {
6624
+ let sortedBreakpoints = {};
6625
+ if (config.breakpoints) {
6626
+ sortedBreakpoints.breakpoints = config.breakpoints.sort((a, b) => a - b);
6627
+ }
6628
+ return Object.assign({}, defaultConfig, config, sortedBreakpoints);
6629
+ }
6382
6630
  /***** Assert functions *****/
6383
6631
  /**
6384
6632
  * Verifies that there is no `src` set on a host element.
@@ -6417,6 +6665,18 @@ function assertNotBase64Image(dir) {
6417
6665
  `by removing \`ngSrc\` and using a standard \`src\` attribute instead.`);
6418
6666
  }
6419
6667
  }
6668
+ /**
6669
+ * Verifies that the 'sizes' only includes responsive values.
6670
+ */
6671
+ function assertNoComplexSizes(dir) {
6672
+ let sizes = dir.sizes;
6673
+ if (sizes?.match(/((\)|,)\s|^)\d+px/)) {
6674
+ throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc, false)} \`sizes\` was set to a string including ` +
6675
+ `pixel values. For automatic \`srcset\` generation, \`sizes\` must only include responsive ` +
6676
+ `values, such as \`sizes="50vw"\` or \`sizes="(min-width: 768px) 50vw, 100vw"\`. ` +
6677
+ `To fix this, modify the \`sizes\` attribute, or provide your own \`ngSrcset\` value directly.`);
6678
+ }
6679
+ }
6420
6680
  /**
6421
6681
  * Verifies that the `ngSrc` is not a Blob URL.
6422
6682
  */
@@ -6596,6 +6856,17 @@ function assertNonEmptyWidthAndHeight(dir) {
6596
6856
  `To fix this, include "width" and "height" attributes on the image tag.`);
6597
6857
  }
6598
6858
  }
6859
+ /**
6860
+ * Verifies that width and height are not set. Used in fill mode, where those attributes don't make
6861
+ * sense.
6862
+ */
6863
+ function assertEmptyWidthAndHeight(dir) {
6864
+ if (dir.width || dir.height) {
6865
+ throw new ɵRuntimeError(2952 /* RuntimeErrorCode.INVALID_INPUT */, `${imgDirectiveDetails(dir.ngSrc)} the attributes \`height\` and/or \`width\` are present ` +
6866
+ `along with the \`fill\` attribute. Because \`fill\` mode causes an image to fill its containing ` +
6867
+ `element, the size attributes have no effect and should be removed.`);
6868
+ }
6869
+ }
6599
6870
  /**
6600
6871
  * Verifies that the `loading` attribute is set to a valid input &
6601
6872
  * is not used on priority images.
@@ -6653,5 +6924,5 @@ function assertValidLoadingInput(dir) {
6653
6924
  * Generated bundle index. Do not edit.
6654
6925
  */
6655
6926
 
6656
- export { APP_BASE_HREF, AsyncPipe, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, 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 };
6927
+ export { APP_BASE_HREF, AsyncPipe, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DOCUMENT, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, 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 };
6657
6928
  //# sourceMappingURL=common.mjs.map