@angular/common 20.0.0-next.5 → 20.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.
- package/{common_module.d-BP8xLQft.d.ts → common_module.d-1Ij4nFjY.d.ts} +4 -4
- package/fesm2022/common.mjs +19 -19
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/{common_module-DXqIruqL.mjs → common_module-Cz2TsVI9.mjs} +91 -91
- package/fesm2022/{common_module-DXqIruqL.mjs.map → common_module-Cz2TsVI9.mjs.map} +1 -1
- package/fesm2022/http/testing.mjs +10 -10
- package/fesm2022/http.mjs +4 -4
- package/fesm2022/{location-DL4aRLmc.mjs → location-BeT0iJq7.mjs} +18 -18
- package/fesm2022/{location-DL4aRLmc.mjs.map → location-BeT0iJq7.mjs.map} +1 -1
- package/fesm2022/{module-TRKGK7nU.mjs → module-C4LakRc7.mjs} +47 -47
- package/fesm2022/{module-TRKGK7nU.mjs.map → module-C4LakRc7.mjs.map} +1 -1
- package/fesm2022/{platform_navigation-2iCIwKiv.mjs → platform_navigation-B45Jeakb.mjs} +6 -6
- package/fesm2022/{platform_navigation-2iCIwKiv.mjs.map → platform_navigation-B45Jeakb.mjs.map} +1 -1
- package/fesm2022/testing.mjs +15 -15
- package/fesm2022/upgrade.mjs +7 -7
- package/fesm2022/{xhr-BdgfMvBr.mjs → xhr-BfNfxNDv.mjs} +3 -3
- package/fesm2022/{xhr-BdgfMvBr.mjs.map → xhr-BfNfxNDv.mjs.map} +1 -1
- package/http/index.d.ts +4 -4
- package/http/testing/index.d.ts +2 -2
- package/index.d.ts +6 -6
- package/{module.d-BJA_GXII.d.ts → module.d-CnjH8Dlt.d.ts} +3 -3
- package/package.json +2 -2
- package/{platform_location.d-BWJDgVlg.d.ts → platform_location.d-Lbv6Ueec.d.ts} +3 -3
- package/testing/index.d.ts +2 -2
- package/upgrade/index.d.ts +3 -3
- package/{xhr.d-Bbgj1reV.d.ts → xhr.d-D_1kTQR5.d.ts} +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-next.
|
|
2
|
+
* @license Angular v20.0.0-next.6
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
8
|
import { InjectionToken, OnDestroy, DoCheck, ElementRef, Renderer2, OnChanges, Type, Injector, NgModuleFactory, ViewContainerRef, SimpleChanges, NgIterable, TrackByFunction, TemplateRef, IterableDiffers, KeyValueDiffers, PipeTransform, ChangeDetectorRef } from '@angular/core';
|
|
9
9
|
import { SubscriptionLike, Observable, Subscribable } from 'rxjs';
|
|
10
|
-
import {
|
|
10
|
+
import { LocationChangeListener, PlatformLocation } from './platform_location.d-Lbv6Ueec.js';
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* Enables the `Location` service to read route state from the browser's URL.
|
|
@@ -1943,5 +1943,5 @@ declare class CommonModule {
|
|
|
1943
1943
|
static ɵinj: i0.ɵɵInjectorDeclaration<CommonModule>;
|
|
1944
1944
|
}
|
|
1945
1945
|
|
|
1946
|
-
export { AsyncPipe
|
|
1947
|
-
export type { DatePipeConfig
|
|
1946
|
+
export { APP_BASE_HREF, AsyncPipe, CommonModule, CurrencyPipe, DATE_PIPE_DEFAULT_OPTIONS, DATE_PIPE_DEFAULT_TIMEZONE, DatePipe, DecimalPipe, I18nPluralPipe, I18nSelectPipe, JsonPipe, KeyValuePipe, Location, LocationStrategy, LowerCasePipe, NgClass, NgComponentOutlet, NgForOf, NgForOfContext, NgIf, NgIfContext, NgLocaleLocalization, NgLocalization, NgPlural, NgPluralCase, NgStyle, NgSwitch, NgSwitchCase, NgSwitchDefault, NgTemplateOutlet, PathLocationStrategy, PercentPipe, SlicePipe, TitleCasePipe, UpperCasePipe };
|
|
1947
|
+
export type { DatePipeConfig, KeyValue, PopStateEvent };
|
package/fesm2022/common.mjs
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.0.0-next.
|
|
2
|
+
* @license Angular v20.0.0-next.6
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
export {
|
|
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';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
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';
|
|
10
10
|
export { DOCUMENT, ɵIMAGE_CONFIG as IMAGE_CONFIG } from '@angular/core';
|
|
11
|
-
import {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
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';
|
|
14
|
+
export { PlatformNavigation as ɵPlatformNavigation } from './platform_navigation-B45Jeakb.mjs';
|
|
15
15
|
import 'rxjs';
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -35,7 +35,7 @@ function registerLocaleData(data, localeId, extraData) {
|
|
|
35
35
|
/**
|
|
36
36
|
* @publicApi
|
|
37
37
|
*/
|
|
38
|
-
const VERSION = new Version('20.0.0-next.
|
|
38
|
+
const VERSION = new Version('20.0.0-next.6');
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
41
|
* Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
|
|
@@ -645,10 +645,10 @@ class LCPImageObserver {
|
|
|
645
645
|
this.observer.disconnect();
|
|
646
646
|
this.images.clear();
|
|
647
647
|
}
|
|
648
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
649
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
648
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: LCPImageObserver, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
649
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: LCPImageObserver, providedIn: 'root' });
|
|
650
650
|
}
|
|
651
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
651
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
652
652
|
type: Injectable,
|
|
653
653
|
args: [{ providedIn: 'root' }]
|
|
654
654
|
}], 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: "20.0.0-next.
|
|
771
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
770
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: PreconnectLinkChecker, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
771
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: PreconnectLinkChecker, providedIn: 'root' });
|
|
772
772
|
}
|
|
773
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
773
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
774
774
|
type: Injectable,
|
|
775
775
|
args: [{ providedIn: 'root' }]
|
|
776
776
|
}], ctorParameters: () => [] });
|
|
@@ -857,10 +857,10 @@ class PreloadLinkCreator {
|
|
|
857
857
|
}
|
|
858
858
|
renderer.appendChild(this.document.head, preload);
|
|
859
859
|
}
|
|
860
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
861
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
860
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: PreloadLinkCreator, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
861
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: PreloadLinkCreator, providedIn: 'root' });
|
|
862
862
|
}
|
|
863
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
863
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
864
864
|
type: Injectable,
|
|
865
865
|
args: [{ providedIn: 'root' }]
|
|
866
866
|
}] });
|
|
@@ -1428,10 +1428,10 @@ class NgOptimizedImage {
|
|
|
1428
1428
|
setHostAttribute(name, value) {
|
|
1429
1429
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
1430
1430
|
}
|
|
1431
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1432
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.
|
|
1431
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: NgOptimizedImage, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
1432
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.0.0-next.6", 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
1433
|
}
|
|
1434
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.
|
|
1434
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.0-next.6", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
1435
1435
|
type: Directive,
|
|
1436
1436
|
args: [{
|
|
1437
1437
|
selector: 'img[ngSrc]',
|