@angular/common 20.0.0-next.8 → 20.0.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.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v20.0.0-next.8
2
+ * @license Angular v20.0.0-rc.0
3
3
  * (c) 2010-2025 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -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,6 +652,7 @@ 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
  /**
@@ -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,13 +1106,15 @@ 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);
@@ -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,15 +1,14 @@
1
1
  /**
2
- * @license Angular v20.0.0-next.8
2
+ * @license Angular v20.0.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-Cz2TsVI9.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-CflUMSwD.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';
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';
13
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-BeT0iJq7.mjs';
14
13
  export { PlatformNavigation as ɵPlatformNavigation } from './platform_navigation-B45Jeakb.mjs';
15
14
  import 'rxjs';
@@ -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.8');
37
+ const VERSION = new Version('20.0.0-rc.0');
39
38
 
40
39
  /**
41
40
  * Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
@@ -90,8 +89,8 @@ class BrowserViewportScroller {
90
89
  * Sets the scroll position.
91
90
  * @param position The new position in screen coordinates.
92
91
  */
93
- scrollToPosition(position) {
94
- this.window.scrollTo(position[0], position[1]);
92
+ scrollToPosition(position, options) {
93
+ this.window.scrollTo({ ...options, left: position[0], top: position[1] });
95
94
  }
96
95
  /**
97
96
  * Scrolls to an element and attempts to focus the element.
@@ -104,10 +103,10 @@ class BrowserViewportScroller {
104
103
  * @see https://html.spec.whatwg.org/#the-indicated-part-of-the-document
105
104
  * @see https://html.spec.whatwg.org/#scroll-to-fragid
106
105
  */
107
- scrollToAnchor(target) {
106
+ scrollToAnchor(target, options) {
108
107
  const elSelected = findAnchorFromDocument(this.document, target);
109
108
  if (elSelected) {
110
- this.scrollToElement(elSelected);
109
+ this.scrollToElement(elSelected, options);
111
110
  // After scrolling to the element, the spec dictates that we follow the focus steps for the
112
111
  // target. Rather than following the robust steps, simply attempt focus.
113
112
  //
@@ -129,12 +128,16 @@ class BrowserViewportScroller {
129
128
  * The offset can be used when we know that there is a floating header and scrolling naively to an
130
129
  * element (ex: `scrollIntoView`) leaves the element hidden behind the floating header.
131
130
  */
132
- scrollToElement(el) {
131
+ scrollToElement(el, options) {
133
132
  const rect = el.getBoundingClientRect();
134
133
  const left = rect.left + this.window.pageXOffset;
135
134
  const top = rect.top + this.window.pageYOffset;
136
135
  const offset = this.offset();
137
- this.window.scrollTo(left - offset[0], top - offset[1]);
136
+ this.window.scrollTo({
137
+ ...options,
138
+ left: left - offset[0],
139
+ top: top - offset[1],
140
+ });
138
141
  }
139
142
  }
140
143
  function findAnchorFromDocument(document, target) {
@@ -566,14 +569,12 @@ function assertDevMode(checkName) {
566
569
  class LCPImageObserver {
567
570
  // Map of full image URLs -> original `ngSrc` values.
568
571
  images = new Map();
569
- window = null;
572
+ window = inject(DOCUMENT).defaultView;
570
573
  observer = null;
571
574
  constructor() {
572
- const isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
573
575
  assertDevMode('LCP checker');
574
- const win = inject(DOCUMENT).defaultView;
575
- if (isBrowser && typeof PerformanceObserver !== 'undefined') {
576
- this.window = win;
576
+ if ((typeof ngServerMode === 'undefined' || !ngServerMode) &&
577
+ typeof PerformanceObserver !== 'undefined') {
577
578
  this.observer = this.initPerformanceObserver();
578
579
  }
579
580
  }
@@ -645,10 +646,10 @@ class LCPImageObserver {
645
646
  this.observer.disconnect();
646
647
  this.images.clear();
647
648
  }
648
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
649
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
649
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
650
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
650
651
  }
651
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: LCPImageObserver, decorators: [{
652
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: LCPImageObserver, decorators: [{
652
653
  type: Injectable,
653
654
  args: [{ providedIn: 'root' }]
654
655
  }], ctorParameters: () => [] });
@@ -766,10 +767,10 @@ class PreconnectLinkChecker {
766
767
  this.preconnectLinks?.clear();
767
768
  this.alreadySeen.clear();
768
769
  }
769
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
770
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
770
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
771
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
771
772
  }
772
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
773
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
773
774
  type: Injectable,
774
775
  args: [{ providedIn: 'root' }]
775
776
  }], ctorParameters: () => [] });
@@ -857,10 +858,10 @@ class PreloadLinkCreator {
857
858
  }
858
859
  renderer.appendChild(this.document.head, preload);
859
860
  }
860
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
861
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
861
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
862
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
862
863
  }
863
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: PreloadLinkCreator, decorators: [{
864
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: PreloadLinkCreator, decorators: [{
864
865
  type: Injectable,
865
866
  args: [{ providedIn: 'root' }]
866
867
  }] });
@@ -1428,10 +1429,10 @@ class NgOptimizedImage {
1428
1429
  setHostAttribute(name, value) {
1429
1430
  this.renderer.setAttribute(this.imgElement, name, value);
1430
1431
  }
1431
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1432
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.8", 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.0", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1433
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.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], 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 });
1433
1434
  }
1434
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.8", ngImport: i0, type: NgOptimizedImage, decorators: [{
1435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-rc.0", ngImport: i0, type: NgOptimizedImage, decorators: [{
1435
1436
  type: Directive,
1436
1437
  args: [{
1437
1438
  selector: 'img[ngSrc]',
@@ -1975,5 +1976,5 @@ function booleanOrUrlAttribute(value) {
1975
1976
  return booleanAttribute(value);
1976
1977
  }
1977
1978
 
1978
- 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 };
1979
1980
  //# sourceMappingURL=common.mjs.map