@angular/common 20.0.0-next.9 → 20.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.0.0-next.9
2
+ * @license Angular v20.0.0-rc.1
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -100,7 +100,7 @@ declare class PathLocationStrategy extends LocationStrategy implements OnDestroy
100
100
  private _baseHref;
101
101
  private _removeListenerFns;
102
102
  constructor(_platformLocation: PlatformLocation, href?: string);
103
- /** @nodoc */
103
+ /** @docs-private */
104
104
  ngOnDestroy(): void;
105
105
  onPopState(fn: LocationChangeListener): void;
106
106
  getBaseHref(): string;
@@ -152,7 +152,7 @@ interface PopStateEvent {
152
152
  */
153
153
  declare class Location implements OnDestroy {
154
154
  constructor(locationStrategy: LocationStrategy);
155
- /** @nodoc */
155
+ /** @docs-private */
156
156
  ngOnDestroy(): void;
157
157
  /**
158
158
  * Normalizes the URL path for this location.
@@ -464,11 +464,11 @@ declare class NgComponentOutlet<T = any> implements OnChanges, DoCheck, OnDestro
464
464
  constructor(_viewContainerRef: ViewContainerRef);
465
465
  private _needToReCreateNgModuleInstance;
466
466
  private _needToReCreateComponentInstance;
467
- /** @nodoc */
467
+ /** @docs-private */
468
468
  ngOnChanges(changes: SimpleChanges): void;
469
- /** @nodoc */
469
+ /** @docs-private */
470
470
  ngDoCheck(): void;
471
- /** @nodoc */
471
+ /** @docs-private */
472
472
  ngOnDestroy(): void;
473
473
  private _applyInputStateDiff;
474
474
  static ɵfac: i0.ɵɵFactoryDeclaration<NgComponentOutlet<any>, never>;
@@ -478,7 +478,8 @@ declare class NgComponentOutlet<T = any> implements OnChanges, DoCheck, OnDestro
478
478
  /**
479
479
  * @publicApi
480
480
  *
481
- * @deprecated The `ngFor` directive is deprecated. Use the `@for` block instead.
481
+ * @deprecated 20.0
482
+ * The `ngFor` directive is deprecated. Use the `@for` block instead.
482
483
  */
483
484
  declare class NgForOfContext<T, U extends NgIterable<T> = NgIterable<T>> {
484
485
  /** Reference to the current item from the collection. */
@@ -609,7 +610,8 @@ declare class NgForOfContext<T, U extends NgIterable<T> = NgIterable<T>> {
609
610
  * @ngModule CommonModule
610
611
  * @publicApi
611
612
  *
612
- * @deprecated Use the `@for` block instead. Intent to remove in v22
613
+ * @deprecated 20.0
614
+ * Use the `@for` block instead. Intent to remove in v22
613
615
  */
614
616
  declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoCheck {
615
617
  private _viewContainer;
@@ -618,6 +620,7 @@ declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoC
618
620
  /**
619
621
  * The value of the iterable expression, which can be used as a
620
622
  * [template input variable](guide/directives/structural-directives#shorthand).
623
+ * @deprecated The `ngFor` directive is deprecated. Use the `@for` block instead.
621
624
  */
622
625
  set ngForOf(ngForOf: (U & NgIterable<T>) | undefined | null);
623
626
  /**
@@ -637,6 +640,7 @@ declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoC
637
640
  * and the iterable is recreated and re-rendered, but most of the data is still the same).
638
641
  *
639
642
  * @see {@link TrackByFunction}
643
+ * @deprecated The `ngFor` directive is deprecated. Use the `@for` block instead.
640
644
  */
641
645
  set ngForTrackBy(fn: TrackByFunction<T>);
642
646
  get ngForTrackBy(): TrackByFunction<T>;
@@ -648,11 +652,12 @@ declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoC
648
652
  /**
649
653
  * A reference to the template that is stamped out for each item in the iterable.
650
654
  * @see [template reference variable](guide/templates/variables#template-reference-variables)
655
+ * @deprecated The `ngFor` directive is deprecated. Use the `@for` block instead.
651
656
  */
652
657
  set ngForTemplate(value: TemplateRef<NgForOfContext<T, U>>);
653
658
  /**
654
659
  * Applies the changes when needed.
655
- * @nodoc
660
+ * @docs-private
656
661
  */
657
662
  ngDoCheck(): void;
658
663
  private _applyChanges;
@@ -806,7 +811,8 @@ declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoC
806
811
  * @ngModule CommonModule
807
812
  * @publicApi
808
813
  *
809
- * @deprecated Use the @if block instead. Intent to remove in v22
814
+ * @deprecated 20.0
815
+ * Use the @if block instead. Intent to remove in v22
810
816
  */
811
817
  declare class NgIf<T = unknown> {
812
818
  private _viewContainer;
@@ -818,14 +824,17 @@ declare class NgIf<T = unknown> {
818
824
  constructor(_viewContainer: ViewContainerRef, templateRef: TemplateRef<NgIfContext<T>>);
819
825
  /**
820
826
  * The Boolean expression to evaluate as the condition for showing a template.
827
+ * @deprecated Use the @if block instead. Intent to remove in v22
821
828
  */
822
829
  set ngIf(condition: T);
823
830
  /**
824
831
  * A template to show if the condition expression evaluates to true.
832
+ * @deprecated Use the @if block instead. Intent to remove in v22
825
833
  */
826
834
  set ngIfThen(templateRef: TemplateRef<NgIfContext<T>> | null);
827
835
  /**
828
836
  * A template to show if the condition expression evaluates to false.
837
+ * @deprecated Use the @if block instead. Intent to remove in v22
829
838
  */
830
839
  set ngIfElse(templateRef: TemplateRef<NgIfContext<T>> | null);
831
840
  private _updateView;
@@ -850,6 +859,9 @@ declare class NgIf<T = unknown> {
850
859
  }
851
860
  /**
852
861
  * @publicApi
862
+ *
863
+ * @deprecated 20.0
864
+ * The ngIf directive is deprecated in favor of the @if block instead.
853
865
  */
854
866
  declare class NgIfContext<T = unknown> {
855
867
  $implicit: T;
@@ -1046,7 +1058,8 @@ declare class SwitchView {
1046
1058
  * @see {@link NgSwitchDefault}
1047
1059
  * @see [Structural Directives](guide/directives/structural-directives)
1048
1060
  *
1049
- * @deprecated Use the @switch block instead. Intent to remove in v22
1061
+ * @deprecated 20.0
1062
+ * Use the @switch block instead. Intent to remove in v22
1050
1063
  */
1051
1064
  declare class NgSwitch {
1052
1065
  private _defaultViews;
@@ -1055,6 +1068,7 @@ declare class NgSwitch {
1055
1068
  private _lastCaseCheckIndex;
1056
1069
  private _lastCasesMatched;
1057
1070
  private _ngSwitch;
1071
+ /** @deprecated Use the @switch block instead. Intent to remove in v22 */
1058
1072
  set ngSwitch(newValue: any);
1059
1073
  private _updateDefaultCases;
1060
1074
  static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitch, never>;
@@ -1092,19 +1106,21 @@ declare class NgSwitch {
1092
1106
  * @see {@link NgSwitch}
1093
1107
  * @see {@link NgSwitchDefault}
1094
1108
  *
1095
- * @deprecated Use the @case block within a @switch block instead. Intent to remove in v22
1109
+ * @deprecated 20.0
1110
+ * Use the @case block within a @switch block instead. Intent to remove in v22
1096
1111
  */
1097
1112
  declare class NgSwitchCase implements DoCheck {
1098
1113
  private ngSwitch;
1099
1114
  private _view;
1100
1115
  /**
1101
1116
  * 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
1102
1118
  */
1103
1119
  ngSwitchCase: any;
1104
1120
  constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
1105
1121
  /**
1106
1122
  * Performs case matching. For internal use only.
1107
- * @nodoc
1123
+ * @docs-private
1108
1124
  */
1109
1125
  ngDoCheck(): void;
1110
1126
  static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitchCase, [null, null, { optional: true; host: true; }]>;
@@ -1123,7 +1139,8 @@ declare class NgSwitchCase implements DoCheck {
1123
1139
  * @see {@link NgSwitch}
1124
1140
  * @see {@link NgSwitchCase}
1125
1141
  *
1126
- * @deprecated Use the @default block within a @switch block instead. Intent to remove in v22
1142
+ * @deprecated 20.0
1143
+ * Use the @default block within a @switch block instead. Intent to remove in v22
1127
1144
  */
1128
1145
  declare class NgSwitchDefault {
1129
1146
  constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
@@ -1,16 +1,15 @@
1
1
  /**
2
- * @license Angular v20.0.0-next.9
2
+ * @license Angular v20.0.0-rc.1
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-96z1HarB.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-B4apSsk3.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, PLATFORM_ID, Injectable, ɵIMAGE_CONFIG as _IMAGE_CONFIG, Renderer2, ElementRef, Injector, DestroyRef, ɵperformanceMarkFeature as _performanceMarkFeature, NgZone, ApplicationRef, booleanAttribute, numberAttribute, ChangeDetectorRef, ɵIMAGE_CONFIG_DEFAULTS as _IMAGE_CONFIG_DEFAULTS, ɵunwrapSafeValue as _unwrapSafeValue, Input, Directive } 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, booleanAttribute, numberAttribute, ChangeDetectorRef, ɵIMAGE_CONFIG_DEFAULTS as _IMAGE_CONFIG_DEFAULTS, ɵunwrapSafeValue as _unwrapSafeValue, Input, Directive } from '@angular/core';
10
10
  export { DOCUMENT, ɵIMAGE_CONFIG as IMAGE_CONFIG } from '@angular/core';
11
- import { isPlatformBrowser } from './xhr-BfNfxNDv.mjs';
12
- export { XhrFactory, isPlatformServer, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, parseCookieValue as ɵparseCookieValue } from './xhr-BfNfxNDv.mjs';
13
- 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-BeT0iJq7.mjs';
11
+ export { XhrFactory, isPlatformBrowser, isPlatformServer, PLATFORM_BROWSER_ID as ɵPLATFORM_BROWSER_ID, PLATFORM_SERVER_ID as ɵPLATFORM_SERVER_ID, parseCookieValue as ɵparseCookieValue } from './xhr-BfNfxNDv.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-DTVjZRwU.mjs';
14
13
  export { PlatformNavigation as ɵPlatformNavigation } from './platform_navigation-B45Jeakb.mjs';
15
14
  import 'rxjs';
16
15
 
@@ -35,7 +34,7 @@ function registerLocaleData(data, localeId, extraData) {
35
34
  /**
36
35
  * @publicApi
37
36
  */
38
- const VERSION = new Version('20.0.0-next.9');
37
+ const VERSION = new Version('20.0.0-rc.1');
39
38
 
40
39
  /**
41
40
  * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
@@ -570,14 +569,12 @@ function assertDevMode(checkName) {
570
569
  class LCPImageObserver {
571
570
  // Map of full image URLs -> original `ngSrc` values.
572
571
  images = new Map();
573
- window = null;
572
+ window = inject(DOCUMENT).defaultView;
574
573
  observer = null;
575
574
  constructor() {
576
- const isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
577
575
  assertDevMode('LCP checker');
578
- const win = inject(DOCUMENT).defaultView;
579
- if (isBrowser && typeof PerformanceObserver !== 'undefined') {
580
- this.window = win;
576
+ if ((typeof ngServerMode === 'undefined' || !ngServerMode) &&
577
+ typeof PerformanceObserver !== 'undefined') {
581
578
  this.observer = this.initPerformanceObserver();
582
579
  }
583
580
  }
@@ -649,10 +646,10 @@ class LCPImageObserver {
649
646
  this.observer.disconnect();
650
647
  this.images.clear();
651
648
  }
652
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.9", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
653
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.9", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
649
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.1", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
650
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-rc.1", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
654
651
  }
655
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.9", ngImport: i0, type: LCPImageObserver, decorators: [{
652
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.1", ngImport: i0, type: LCPImageObserver, decorators: [{
656
653
  type: Injectable,
657
654
  args: [{ providedIn: 'root' }]
658
655
  }], ctorParameters: () => [] });
@@ -770,10 +767,10 @@ class PreconnectLinkChecker {
770
767
  this.preconnectLinks?.clear();
771
768
  this.alreadySeen.clear();
772
769
  }
773
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.9", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
774
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.9", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
770
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.1", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
771
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-rc.1", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
775
772
  }
776
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.9", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
773
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.1", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
777
774
  type: Injectable,
778
775
  args: [{ providedIn: 'root' }]
779
776
  }], ctorParameters: () => [] });
@@ -861,10 +858,10 @@ class PreloadLinkCreator {
861
858
  }
862
859
  renderer.appendChild(this.document.head, preload);
863
860
  }
864
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.9", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
865
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.9", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
861
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.1", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
862
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-rc.1", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
866
863
  }
867
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.9", ngImport: i0, type: PreloadLinkCreator, decorators: [{
864
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.1", ngImport: i0, type: PreloadLinkCreator, decorators: [{
868
865
  type: Injectable,
869
866
  args: [{ providedIn: 'root' }]
870
867
  }] });
@@ -1163,7 +1160,7 @@ class NgOptimizedImage {
1163
1160
  });
1164
1161
  }
1165
1162
  }
1166
- /** @nodoc */
1163
+ /** @docs-private */
1167
1164
  ngOnInit() {
1168
1165
  _performanceMarkFeature('NgOptimizedImage');
1169
1166
  if (ngDevMode) {
@@ -1257,7 +1254,7 @@ class NgOptimizedImage {
1257
1254
  preloadLinkCreator.createPreloadLinkTag(this.renderer, this.getRewrittenSrc(), rewrittenSrcset, this.sizes);
1258
1255
  }
1259
1256
  }
1260
- /** @nodoc */
1257
+ /** @docs-private */
1261
1258
  ngOnChanges(changes) {
1262
1259
  if (ngDevMode) {
1263
1260
  assertNoPostInitInputChange(this, changes, [
@@ -1432,10 +1429,10 @@ class NgOptimizedImage {
1432
1429
  setHostAttribute(name, value) {
1433
1430
  this.renderer.setAttribute(this.imgElement, name, value);
1434
1431
  }
1435
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.9", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1436
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.9", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: ["ngSrc", "ngSrc", unwrapSafeUrl], ngSrcset: "ngSrcset", sizes: "sizes", width: ["width", "width", numberAttribute], height: ["height", "height", numberAttribute], 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 });
1432
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.1", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1433
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-rc.1", type: NgOptimizedImage, isStandalone: true, selector: "img[ngSrc]", inputs: { ngSrc: ["ngSrc", "ngSrc", unwrapSafeUrl], ngSrcset: "ngSrcset", sizes: "sizes", width: ["width", "width", numberAttribute], height: ["height", "height", numberAttribute], 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 });
1437
1434
  }
1438
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.9", ngImport: i0, type: NgOptimizedImage, decorators: [{
1435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.1", ngImport: i0, type: NgOptimizedImage, decorators: [{
1439
1436
  type: Directive,
1440
1437
  args: [{
1441
1438
  selector: 'img[ngSrc]',
@@ -1979,5 +1976,5 @@ function booleanOrUrlAttribute(value) {
1979
1976
  return booleanAttribute(value);
1980
1977
  }
1981
1978
 
1982
- export { IMAGE_LOADER, NgOptimizedImage, PRECONNECT_CHECK_BLOCKLIST, VERSION, ViewportScroller, isPlatformBrowser, provideCloudflareLoader, provideCloudinaryLoader, provideImageKitLoader, provideImgixLoader, provideNetlifyLoader, registerLocaleData, NullViewportScroller as ɵNullViewportScroller };
1979
+ export { IMAGE_LOADER, NgOptimizedImage, PRECONNECT_CHECK_BLOCKLIST, VERSION, ViewportScroller, provideCloudflareLoader, provideCloudinaryLoader, provideImageKitLoader, provideImgixLoader, provideNetlifyLoader, registerLocaleData, NullViewportScroller as ɵNullViewportScroller };
1983
1980
  //# sourceMappingURL=common.mjs.map