@angular/common 20.1.0-next.2 → 20.1.0-rc.0

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 (35) hide show
  1. package/{common_module.d-Cpp8wYHt.d.ts → common_module.d.d.ts} +17 -13
  2. package/fesm2022/common.mjs +31 -20
  3. package/fesm2022/common.mjs.map +1 -1
  4. package/fesm2022/{common_module-D4mHDfs1.mjs → common_module.mjs} +105 -97
  5. package/fesm2022/common_module.mjs.map +1 -0
  6. package/fesm2022/http/testing.mjs +10 -13
  7. package/fesm2022/http/testing.mjs.map +1 -1
  8. package/fesm2022/http.mjs +29 -17
  9. package/fesm2022/http.mjs.map +1 -1
  10. package/fesm2022/{location-BIEtBxGx.mjs → location.mjs} +17 -17
  11. package/fesm2022/location.mjs.map +1 -0
  12. package/fesm2022/{module-CBsxN_3E.mjs → module.mjs} +215 -51
  13. package/fesm2022/module.mjs.map +1 -0
  14. package/fesm2022/{platform_navigation-B45Jeakb.mjs → platform_navigation.mjs} +5 -5
  15. package/fesm2022/platform_navigation.mjs.map +1 -0
  16. package/fesm2022/testing.mjs +15 -15
  17. package/fesm2022/testing.mjs.map +1 -1
  18. package/fesm2022/upgrade.mjs +7 -7
  19. package/fesm2022/upgrade.mjs.map +1 -1
  20. package/fesm2022/{xhr-CEmSPUGj.mjs → xhr.mjs} +2 -2
  21. package/fesm2022/xhr.mjs.map +1 -0
  22. package/http/index.d.ts +641 -5
  23. package/http/testing/index.d.ts +2 -2
  24. package/index.d.ts +6 -6
  25. package/{module.d-yNBsZ8gb.d.ts → module.d.d.ts} +71 -1
  26. package/package.json +2 -2
  27. package/{platform_location.d-Lbv6Ueec.d.ts → platform_location.d.d.ts} +1 -1
  28. package/testing/index.d.ts +2 -2
  29. package/upgrade/index.d.ts +3 -3
  30. package/{xhr.d-D_1kTQR5.d.ts → xhr.d.d.ts} +1 -1
  31. package/fesm2022/common_module-D4mHDfs1.mjs.map +0 -1
  32. package/fesm2022/location-BIEtBxGx.mjs.map +0 -1
  33. package/fesm2022/module-CBsxN_3E.mjs.map +0 -1
  34. package/fesm2022/platform_navigation-B45Jeakb.mjs.map +0 -1
  35. package/fesm2022/xhr-CEmSPUGj.mjs.map +0 -1
@@ -1,13 +1,13 @@
1
1
  /**
2
- * @license Angular v20.1.0-next.2
2
+ * @license Angular v20.1.0-rc.0
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
7
  import * as i0 from '@angular/core';
8
- import { InjectionToken, OnDestroy, DoCheck, ElementRef, Renderer2, OnChanges, Type, Injector, NgModuleFactory, ViewContainerRef, SimpleChanges, NgIterable, TrackByFunction, TemplateRef, IterableDiffers, KeyValueDiffers, PipeTransform, ChangeDetectorRef } from '@angular/core';
8
+ import { InjectionToken, OnDestroy, DoCheck, ElementRef, Renderer2, OnChanges, Type, Injector, EnvironmentInjector, NgModuleFactory, ViewContainerRef, SimpleChanges, NgIterable, TrackByFunction, TemplateRef, IterableDiffers, KeyValueDiffers, PipeTransform, ChangeDetectorRef } from '@angular/core';
9
9
  import { SubscriptionLike, Observable, Subscribable } from 'rxjs';
10
- import { LocationChangeListener, PlatformLocation } from './platform_location.d-Lbv6Ueec.js';
10
+ import { LocationChangeListener, PlatformLocation } from './platform_location.d.js';
11
11
 
12
12
  /**
13
13
  * Enables the `Location` service to read route state from the browser's URL.
@@ -386,6 +386,9 @@ declare class NgClass implements DoCheck {
386
386
  * * `ngComponentOutletInjector`: Optional custom {@link Injector} that will be used as parent for
387
387
  * the Component. Defaults to the injector of the current view container.
388
388
  *
389
+ * * `ngComponentOutletEnvironmentInjector`: Optional custom {@link EnvironmentInjector} which will
390
+ * provide the component's environment.
391
+ *
389
392
  * * `ngComponentOutletContent`: Optional list of projectable nodes to insert into the content
390
393
  * section of the component, if it exists.
391
394
  *
@@ -442,6 +445,7 @@ declare class NgComponentOutlet<T = any> implements OnChanges, DoCheck, OnDestro
442
445
  ngComponentOutlet: Type<any> | null;
443
446
  ngComponentOutletInputs?: Record<string, unknown>;
444
447
  ngComponentOutletInjector?: Injector;
448
+ ngComponentOutletEnvironmentInjector?: EnvironmentInjector;
445
449
  ngComponentOutletContent?: any[][];
446
450
  ngComponentOutletNgModule?: Type<any>;
447
451
  /**
@@ -472,7 +476,7 @@ declare class NgComponentOutlet<T = any> implements OnChanges, DoCheck, OnDestro
472
476
  ngOnDestroy(): void;
473
477
  private _applyInputStateDiff;
474
478
  static ɵfac: i0.ɵɵFactoryDeclaration<NgComponentOutlet<any>, never>;
475
- static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet<any>, "[ngComponentOutlet]", ["ngComponentOutlet"], { "ngComponentOutlet": { "alias": "ngComponentOutlet"; "required": false; }; "ngComponentOutletInputs": { "alias": "ngComponentOutletInputs"; "required": false; }; "ngComponentOutletInjector": { "alias": "ngComponentOutletInjector"; "required": false; }; "ngComponentOutletContent": { "alias": "ngComponentOutletContent"; "required": false; }; "ngComponentOutletNgModule": { "alias": "ngComponentOutletNgModule"; "required": false; }; "ngComponentOutletNgModuleFactory": { "alias": "ngComponentOutletNgModuleFactory"; "required": false; }; }, {}, never, never, true, never>;
479
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgComponentOutlet<any>, "[ngComponentOutlet]", ["ngComponentOutlet"], { "ngComponentOutlet": { "alias": "ngComponentOutlet"; "required": false; }; "ngComponentOutletInputs": { "alias": "ngComponentOutletInputs"; "required": false; }; "ngComponentOutletInjector": { "alias": "ngComponentOutletInjector"; "required": false; }; "ngComponentOutletEnvironmentInjector": { "alias": "ngComponentOutletEnvironmentInjector"; "required": false; }; "ngComponentOutletContent": { "alias": "ngComponentOutletContent"; "required": false; }; "ngComponentOutletNgModule": { "alias": "ngComponentOutletNgModule"; "required": false; }; "ngComponentOutletNgModuleFactory": { "alias": "ngComponentOutletNgModuleFactory"; "required": false; }; }, {}, never, never, true, never>;
476
480
  }
477
481
 
478
482
  /**
@@ -812,7 +816,7 @@ declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoC
812
816
  * @publicApi
813
817
  *
814
818
  * @deprecated 20.0
815
- * Use the @if block instead. Intent to remove in v22
819
+ * Use the `@if` block instead. Intent to remove in v22
816
820
  */
817
821
  declare class NgIf<T = unknown> {
818
822
  private _viewContainer;
@@ -824,17 +828,17 @@ declare class NgIf<T = unknown> {
824
828
  constructor(_viewContainer: ViewContainerRef, templateRef: TemplateRef<NgIfContext<T>>);
825
829
  /**
826
830
  * The Boolean expression to evaluate as the condition for showing a template.
827
- * @deprecated Use the @if block instead. Intent to remove in v22
831
+ * @deprecated Use the `@if` block instead. Intent to remove in v22
828
832
  */
829
833
  set ngIf(condition: T);
830
834
  /**
831
835
  * A template to show if the condition expression evaluates to true.
832
- * @deprecated Use the @if block instead. Intent to remove in v22
836
+ * @deprecated Use the `@if` block instead. Intent to remove in v22
833
837
  */
834
838
  set ngIfThen(templateRef: TemplateRef<NgIfContext<T>> | null);
835
839
  /**
836
840
  * A template to show if the condition expression evaluates to false.
837
- * @deprecated Use the @if block instead. Intent to remove in v22
841
+ * @deprecated Use the `@if` block instead. Intent to remove in v22
838
842
  */
839
843
  set ngIfElse(templateRef: TemplateRef<NgIfContext<T>> | null);
840
844
  private _updateView;
@@ -1059,7 +1063,7 @@ declare class SwitchView {
1059
1063
  * @see [Structural Directives](guide/directives/structural-directives)
1060
1064
  *
1061
1065
  * @deprecated 20.0
1062
- * Use the @switch block instead. Intent to remove in v22
1066
+ * Use the `@switch` block instead. Intent to remove in v22
1063
1067
  */
1064
1068
  declare class NgSwitch {
1065
1069
  private _defaultViews;
@@ -1068,7 +1072,7 @@ declare class NgSwitch {
1068
1072
  private _lastCaseCheckIndex;
1069
1073
  private _lastCasesMatched;
1070
1074
  private _ngSwitch;
1071
- /** @deprecated Use the @switch block instead. Intent to remove in v22 */
1075
+ /** @deprecated Use the `@switch` block instead. Intent to remove in v22 */
1072
1076
  set ngSwitch(newValue: any);
1073
1077
  private _updateDefaultCases;
1074
1078
  static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitch, never>;
@@ -1107,14 +1111,14 @@ declare class NgSwitch {
1107
1111
  * @see {@link NgSwitchDefault}
1108
1112
  *
1109
1113
  * @deprecated 20.0
1110
- * Use the @case block within a @switch block instead. Intent to remove in v22
1114
+ * Use the `@case` block within a `@switch` block instead. Intent to remove in v22
1111
1115
  */
1112
1116
  declare class NgSwitchCase implements DoCheck {
1113
1117
  private ngSwitch;
1114
1118
  private _view;
1115
1119
  /**
1116
1120
  * Stores the HTML template to be selected on match.
1117
- * @deprecated Use the @case block within a @switch block instead. Intent to remove in v22
1121
+ * @deprecated Use the `@case` block within a `@switch` block instead. Intent to remove in v22
1118
1122
  */
1119
1123
  ngSwitchCase: any;
1120
1124
  constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
@@ -1140,7 +1144,7 @@ declare class NgSwitchCase implements DoCheck {
1140
1144
  * @see {@link NgSwitchCase}
1141
1145
  *
1142
1146
  * @deprecated 20.0
1143
- * Use the @default block within a @switch block instead. Intent to remove in v22
1147
+ * Use the `@default` block within a `@switch` block instead. Intent to remove in v22
1144
1148
  */
1145
1149
  declare class NgSwitchDefault {
1146
1150
  constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
@@ -1,16 +1,16 @@
1
1
  /**
2
- * @license Angular v20.1.0-next.2
2
+ * @license Angular v20.1.0-rc.0
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
6
6
 
7
- export { AsyncPipe, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, JsonPipe, KeyValuePipe, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PercentPipe, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, WeekDay, 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 } from './common_module-D4mHDfs1.mjs';
7
+ export { AsyncPipe, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DatePipe, DecimalPipe, FormStyle, FormatWidth, HashLocationStrategy, I18nPluralPipe, I18nSelectPipe, JsonPipe, KeyValuePipe, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf as NgFor, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, NumberFormatStyle, NumberSymbol, PercentPipe, Plural, SlicePipe, TitleCasePipe, TranslationWidth, UpperCasePipe, WeekDay, 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 } from './common_module.mjs';
8
8
  import * as i0 from '@angular/core';
9
- import { ɵregisterLocaleData as _registerLocaleData, Version, ɵɵdefineInjectable as __defineInjectable, inject, DOCUMENT, InjectionToken, ɵRuntimeError as _RuntimeError, ɵformatRuntimeError as _formatRuntimeError, Injectable, ɵIMAGE_CONFIG as _IMAGE_CONFIG, Renderer2, ElementRef, Injector, DestroyRef, ɵperformanceMarkFeature as _performanceMarkFeature, NgZone, ApplicationRef, numberAttribute, booleanAttribute, Directive, Input, ɵIMAGE_CONFIG_DEFAULTS as _IMAGE_CONFIG_DEFAULTS, ɵunwrapSafeValue as _unwrapSafeValue, ChangeDetectorRef } from '@angular/core';
9
+ import { ɵregisterLocaleData as _registerLocaleData, Version, ɵɵdefineInjectable as __defineInjectable, inject, DOCUMENT, ɵformatRuntimeError as _formatRuntimeError, InjectionToken, ɵRuntimeError as _RuntimeError, Injectable, ɵIMAGE_CONFIG as _IMAGE_CONFIG, Renderer2, ElementRef, Injector, DestroyRef, ɵperformanceMarkFeature as _performanceMarkFeature, NgZone, ApplicationRef, numberAttribute, booleanAttribute, Directive, Input, ɵIMAGE_CONFIG_DEFAULTS as _IMAGE_CONFIG_DEFAULTS, ɵunwrapSafeValue as _unwrapSafeValue, ChangeDetectorRef } from '@angular/core';
10
10
  export { DOCUMENT, ɵIMAGE_CONFIG as IMAGE_CONFIG } from '@angular/core';
11
- export { XhrFactory, parseCookieValue as ɵparseCookieValue } from './xhr-CEmSPUGj.mjs';
12
- export { APP_BASE_HREF, BrowserPlatformLocation, LOCATION_INITIALIZED, Location, LocationStrategy, PathLocationStrategy, PlatformLocation, DomAdapter as ɵDomAdapter, getDOM as ɵgetDOM, normalizeQueryParams as ɵnormalizeQueryParams, setRootDomAdapter as ɵsetRootDomAdapter } from './location-BIEtBxGx.mjs';
13
- export { PlatformNavigation as ɵPlatformNavigation } from './platform_navigation-B45Jeakb.mjs';
11
+ export { XhrFactory, parseCookieValue as ɵparseCookieValue } from './xhr.mjs';
12
+ export { APP_BASE_HREF, BrowserPlatformLocation, LOCATION_INITIALIZED, Location, LocationStrategy, PathLocationStrategy, PlatformLocation, DomAdapter as ɵDomAdapter, getDOM as ɵgetDOM, normalizeQueryParams as ɵnormalizeQueryParams, setRootDomAdapter as ɵsetRootDomAdapter } from './location.mjs';
13
+ export { PlatformNavigation as ɵPlatformNavigation } from './platform_navigation.mjs';
14
14
  import 'rxjs';
15
15
 
16
16
  /**
@@ -51,7 +51,7 @@ function isPlatformServer(platformId) {
51
51
  /**
52
52
  * @publicApi
53
53
  */
54
- const VERSION = new Version('20.1.0-next.2');
54
+ const VERSION = new Version('20.1.0-rc.0');
55
55
 
56
56
  /**
57
57
  * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
@@ -137,7 +137,18 @@ class BrowserViewportScroller {
137
137
  * Disables automatic scroll restoration provided by the browser.
138
138
  */
139
139
  setHistoryScrollRestoration(scrollRestoration) {
140
- this.window.history.scrollRestoration = scrollRestoration;
140
+ try {
141
+ this.window.history.scrollRestoration = scrollRestoration;
142
+ }
143
+ catch {
144
+ console.warn(_formatRuntimeError(2400 /* RuntimeErrorCode.SCROLL_RESTORATION_UNSUPPORTED */, ngDevMode &&
145
+ 'Failed to set `window.history.scrollRestoration`. ' +
146
+ 'This may occur when:\n' +
147
+ '• The script is running inside a sandboxed iframe\n' +
148
+ '• The window is partially navigated or inactive\n' +
149
+ '• The script is executed in an untrusted or special context (e.g., test runners, browser extensions, or content previews)\n' +
150
+ 'Scroll position may not be preserved across navigation.'));
151
+ }
141
152
  }
142
153
  /**
143
154
  * Scrolls to an element using the native offset and the specified offset set on this scroller.
@@ -663,10 +674,10 @@ class LCPImageObserver {
663
674
  this.observer.disconnect();
664
675
  this.images.clear();
665
676
  }
666
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
667
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
677
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-rc.0", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
678
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0-rc.0", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
668
679
  }
669
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: LCPImageObserver, decorators: [{
680
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-rc.0", ngImport: i0, type: LCPImageObserver, decorators: [{
670
681
  type: Injectable,
671
682
  args: [{ providedIn: 'root' }]
672
683
  }], ctorParameters: () => [] });
@@ -784,10 +795,10 @@ class PreconnectLinkChecker {
784
795
  this.preconnectLinks?.clear();
785
796
  this.alreadySeen.clear();
786
797
  }
787
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
788
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
798
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
799
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
789
800
  }
790
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
801
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
791
802
  type: Injectable,
792
803
  args: [{ providedIn: 'root' }]
793
804
  }], ctorParameters: () => [] });
@@ -875,10 +886,10 @@ class PreloadLinkCreator {
875
886
  }
876
887
  renderer.appendChild(this.document.head, preload);
877
888
  }
878
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
879
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
889
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-rc.0", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
890
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0-rc.0", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
880
891
  }
881
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: PreloadLinkCreator, decorators: [{
892
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-rc.0", ngImport: i0, type: PreloadLinkCreator, decorators: [{
882
893
  type: Injectable,
883
894
  args: [{ providedIn: 'root' }]
884
895
  }] });
@@ -1472,10 +1483,10 @@ class NgOptimizedImage {
1472
1483
  setHostAttribute(name, value) {
1473
1484
  this.renderer.setAttribute(this.imgElement, name, value);
1474
1485
  }
1475
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1476
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.1.0-next.2", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: ["ngSrc", "ngSrc", unwrapSafeUrl], ngSrcset: "ngSrcset", sizes: "sizes", width: ["width", "width", numberAttribute], height: ["height", "height", numberAttribute], decoding: "decoding", loading: "loading", priority: ["priority", "priority", booleanAttribute], loaderParams: "loaderParams", disableOptimizedSrcset: ["disableOptimizedSrcset", "disableOptimizedSrcset", booleanAttribute], fill: ["fill", "fill", booleanAttribute], placeholder: ["placeholder", "placeholder", booleanOrUrlAttribute], placeholderConfig: "placeholderConfig", src: "src", srcset: "srcset" }, host: { properties: { "style.position": "fill ? \"absolute\" : null", "style.width": "fill ? \"100%\" : null", "style.height": "fill ? \"100%\" : null", "style.inset": "fill ? \"0\" : null", "style.background-size": "placeholder ? \"cover\" : null", "style.background-position": "placeholder ? \"50% 50%\" : null", "style.background-repeat": "placeholder ? \"no-repeat\" : null", "style.background-image": "placeholder ? generatePlaceholder(placeholder) : null", "style.filter": "placeholder && shouldBlurPlaceholder(placeholderConfig) ? \"blur(15px)\" : null" } }, usesOnChanges: true, ngImport: i0 });
1486
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-rc.0", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1487
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.1.0-rc.0", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: ["ngSrc", "ngSrc", unwrapSafeUrl], ngSrcset: "ngSrcset", sizes: "sizes", width: ["width", "width", numberAttribute], height: ["height", "height", numberAttribute], decoding: "decoding", loading: "loading", priority: ["priority", "priority", booleanAttribute], loaderParams: "loaderParams", disableOptimizedSrcset: ["disableOptimizedSrcset", "disableOptimizedSrcset", booleanAttribute], fill: ["fill", "fill", booleanAttribute], placeholder: ["placeholder", "placeholder", booleanOrUrlAttribute], placeholderConfig: "placeholderConfig", src: "src", srcset: "srcset" }, host: { properties: { "style.position": "fill ? \"absolute\" : null", "style.width": "fill ? \"100%\" : null", "style.height": "fill ? \"100%\" : null", "style.inset": "fill ? \"0\" : null", "style.background-size": "placeholder ? \"cover\" : null", "style.background-position": "placeholder ? \"50% 50%\" : null", "style.background-repeat": "placeholder ? \"no-repeat\" : null", "style.background-image": "placeholder ? generatePlaceholder(placeholder) : null", "style.filter": "placeholder && shouldBlurPlaceholder(placeholderConfig) ? \"blur(15px)\" : null" } }, usesOnChanges: true, ngImport: i0 });
1477
1488
  }
1478
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: NgOptimizedImage, decorators: [{
1489
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-rc.0", ngImport: i0, type: NgOptimizedImage, decorators: [{
1479
1490
  type: Directive,
1480
1491
  args: [{
1481
1492
  selector: 'img[ngSrc]',