@angular/common 19.2.9 → 19.2.11
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.
- package/{common_module.d-C8_X2MOZ.d.ts → common_module.d-NEF7UaHr.d.ts} +8 -8
- package/fesm2022/common.mjs +18 -18
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/{common_module-CBrzkrmd.mjs → common_module-Dx7dWex5.mjs} +127 -96
- package/fesm2022/common_module-Dx7dWex5.mjs.map +1 -0
- package/fesm2022/dom_tokens-rA0ACyx7.mjs +1 -1
- package/fesm2022/http/testing.mjs +9 -9
- package/fesm2022/http.mjs +3 -3
- package/fesm2022/{location-DpBxd_aX.mjs → location-Dq4mJT-A.mjs} +19 -19
- package/fesm2022/location-Dq4mJT-A.mjs.map +1 -0
- package/fesm2022/{module-BHk9jdTn.mjs → module-CYx9OwZ_.mjs} +40 -45
- package/fesm2022/{module-BHk9jdTn.mjs.map → module-CYx9OwZ_.mjs.map} +1 -1
- package/fesm2022/platform_navigation-B45Jeakb.mjs +4 -4
- package/fesm2022/testing.mjs +15 -15
- package/fesm2022/testing.mjs.map +1 -1
- package/fesm2022/upgrade.mjs +7 -7
- package/fesm2022/xhr-BfNfxNDv.mjs +1 -1
- package/http/index.d.ts +1 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +10 -10
- package/module.d-CnjH8Dlt.d.ts +1 -1
- package/package.json +2 -2
- package/platform_location.d-Lbv6Ueec.d.ts +1 -1
- package/testing/index.d.ts +2 -2
- package/upgrade/index.d.ts +2 -2
- package/xhr.d-D_1kTQR5.d.ts +1 -1
- package/fesm2022/common_module-CBrzkrmd.mjs.map +0 -1
- package/fesm2022/location-DpBxd_aX.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.11
|
|
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
|
-
/** @
|
|
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
|
-
/** @
|
|
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
|
-
/** @
|
|
467
|
+
/** @docs-private */
|
|
468
468
|
ngOnChanges(changes: SimpleChanges): void;
|
|
469
|
-
/** @
|
|
469
|
+
/** @docs-private */
|
|
470
470
|
ngDoCheck(): void;
|
|
471
|
-
/** @
|
|
471
|
+
/** @docs-private */
|
|
472
472
|
ngOnDestroy(): void;
|
|
473
473
|
private _applyInputStateDiff;
|
|
474
474
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgComponentOutlet<any>, never>;
|
|
@@ -648,7 +648,7 @@ declare class NgForOf<T, U extends NgIterable<T> = NgIterable<T>> implements DoC
|
|
|
648
648
|
set ngForTemplate(value: TemplateRef<NgForOfContext<T, U>>);
|
|
649
649
|
/**
|
|
650
650
|
* Applies the changes when needed.
|
|
651
|
-
* @
|
|
651
|
+
* @docs-private
|
|
652
652
|
*/
|
|
653
653
|
ngDoCheck(): void;
|
|
654
654
|
private _applyChanges;
|
|
@@ -1096,7 +1096,7 @@ declare class NgSwitchCase implements DoCheck {
|
|
|
1096
1096
|
constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef<Object>, ngSwitch: NgSwitch);
|
|
1097
1097
|
/**
|
|
1098
1098
|
* Performs case matching. For internal use only.
|
|
1099
|
-
* @
|
|
1099
|
+
* @docs-private
|
|
1100
1100
|
*/
|
|
1101
1101
|
ngDoCheck(): void;
|
|
1102
1102
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgSwitchCase, [null, null, { optional: true; host: true; }]>;
|
package/fesm2022/common.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v19.2.
|
|
2
|
+
* @license Angular v19.2.11
|
|
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-
|
|
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-Dx7dWex5.mjs';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
9
|
import { ɵregisterLocaleData as _registerLocaleData, Version, ɵɵdefineInjectable as __defineInjectable, inject, 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';
|
|
10
10
|
export { ɵIMAGE_CONFIG as IMAGE_CONFIG } from '@angular/core';
|
|
11
11
|
import { isPlatformBrowser } from './xhr-BfNfxNDv.mjs';
|
|
12
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
13
|
import { DOCUMENT } from './dom_tokens-rA0ACyx7.mjs';
|
|
14
|
-
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-
|
|
14
|
+
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-Dq4mJT-A.mjs';
|
|
15
15
|
export { PlatformNavigation as ɵPlatformNavigation } from './platform_navigation-B45Jeakb.mjs';
|
|
16
16
|
import 'rxjs';
|
|
17
17
|
|
|
@@ -36,7 +36,7 @@ function registerLocaleData(data, localeId, extraData) {
|
|
|
36
36
|
/**
|
|
37
37
|
* @publicApi
|
|
38
38
|
*/
|
|
39
|
-
const VERSION = new Version('19.2.
|
|
39
|
+
const VERSION = new Version('19.2.11');
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
|
|
@@ -646,10 +646,10 @@ class LCPImageObserver {
|
|
|
646
646
|
this.observer.disconnect();
|
|
647
647
|
this.images.clear();
|
|
648
648
|
}
|
|
649
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
650
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
649
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
650
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
|
|
651
651
|
}
|
|
652
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
652
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
653
653
|
type: Injectable,
|
|
654
654
|
args: [{ providedIn: 'root' }]
|
|
655
655
|
}], ctorParameters: () => [] });
|
|
@@ -767,10 +767,10 @@ class PreconnectLinkChecker {
|
|
|
767
767
|
this.preconnectLinks?.clear();
|
|
768
768
|
this.alreadySeen.clear();
|
|
769
769
|
}
|
|
770
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
771
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
770
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
771
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
|
|
772
772
|
}
|
|
773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
774
774
|
type: Injectable,
|
|
775
775
|
args: [{ providedIn: 'root' }]
|
|
776
776
|
}], ctorParameters: () => [] });
|
|
@@ -858,10 +858,10 @@ class PreloadLinkCreator {
|
|
|
858
858
|
}
|
|
859
859
|
renderer.appendChild(this.document.head, preload);
|
|
860
860
|
}
|
|
861
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
862
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.
|
|
861
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
862
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
|
|
863
863
|
}
|
|
864
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
864
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
865
865
|
type: Injectable,
|
|
866
866
|
args: [{ providedIn: 'root' }]
|
|
867
867
|
}] });
|
|
@@ -1164,7 +1164,7 @@ class NgOptimizedImage {
|
|
|
1164
1164
|
});
|
|
1165
1165
|
}
|
|
1166
1166
|
}
|
|
1167
|
-
/** @
|
|
1167
|
+
/** @docs-private */
|
|
1168
1168
|
ngOnInit() {
|
|
1169
1169
|
_performanceMarkFeature('NgOptimizedImage');
|
|
1170
1170
|
if (ngDevMode) {
|
|
@@ -1258,7 +1258,7 @@ class NgOptimizedImage {
|
|
|
1258
1258
|
preloadLinkCreator.createPreloadLinkTag(this.renderer, this.getRewrittenSrc(), rewrittenSrcset, this.sizes);
|
|
1259
1259
|
}
|
|
1260
1260
|
}
|
|
1261
|
-
/** @
|
|
1261
|
+
/** @docs-private */
|
|
1262
1262
|
ngOnChanges(changes) {
|
|
1263
1263
|
if (ngDevMode) {
|
|
1264
1264
|
assertNoPostInitInputChange(this, changes, [
|
|
@@ -1433,10 +1433,10 @@ class NgOptimizedImage {
|
|
|
1433
1433
|
setHostAttribute(name, value) {
|
|
1434
1434
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
1435
1435
|
}
|
|
1436
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.
|
|
1437
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.
|
|
1436
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1437
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "19.2.11", 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 });
|
|
1438
1438
|
}
|
|
1439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.
|
|
1439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.11", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
1440
1440
|
type: Directive,
|
|
1441
1441
|
args: [{
|
|
1442
1442
|
selector: 'img[ngSrc]',
|