@angular/common 20.1.0-next.1 → 20.1.0-next.2
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-Cpp8wYHt.d.ts +1 -1
- package/fesm2022/common.mjs +14 -14
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/common_module-D4mHDfs1.mjs +86 -86
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http.mjs +1 -1
- package/fesm2022/location-BIEtBxGx.mjs +16 -16
- package/fesm2022/module-CBsxN_3E.mjs +37 -37
- package/fesm2022/platform_navigation-B45Jeakb.mjs +4 -4
- package/fesm2022/testing.mjs +13 -13
- package/fesm2022/upgrade.mjs +5 -5
- package/fesm2022/xhr-CEmSPUGj.mjs +1 -1
- package/http/index.d.ts +1 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +1 -1
- package/module.d-yNBsZ8gb.d.ts +1 -1
- package/package.json +2 -2
- package/platform_location.d-Lbv6Ueec.d.ts +1 -1
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
- package/xhr.d-D_1kTQR5.d.ts +1 -1
package/fesm2022/common.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v20.1.0-next.
|
|
2
|
+
* @license Angular v20.1.0-next.2
|
|
3
3
|
* (c) 2010-2025 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -51,7 +51,7 @@ function isPlatformServer(platformId) {
|
|
|
51
51
|
/**
|
|
52
52
|
* @publicApi
|
|
53
53
|
*/
|
|
54
|
-
const VERSION = new Version('20.1.0-next.
|
|
54
|
+
const VERSION = new Version('20.1.0-next.2');
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
57
|
* Defines a scroll position manager. Implemented by `BrowserViewportScroller`.
|
|
@@ -663,10 +663,10 @@ class LCPImageObserver {
|
|
|
663
663
|
this.observer.disconnect();
|
|
664
664
|
this.images.clear();
|
|
665
665
|
}
|
|
666
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-next.
|
|
667
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0-next.
|
|
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' });
|
|
668
668
|
}
|
|
669
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.
|
|
669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: LCPImageObserver, decorators: [{
|
|
670
670
|
type: Injectable,
|
|
671
671
|
args: [{ providedIn: 'root' }]
|
|
672
672
|
}], ctorParameters: () => [] });
|
|
@@ -784,10 +784,10 @@ class PreconnectLinkChecker {
|
|
|
784
784
|
this.preconnectLinks?.clear();
|
|
785
785
|
this.alreadySeen.clear();
|
|
786
786
|
}
|
|
787
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-next.
|
|
788
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0-next.
|
|
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' });
|
|
789
789
|
}
|
|
790
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.
|
|
790
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: PreconnectLinkChecker, decorators: [{
|
|
791
791
|
type: Injectable,
|
|
792
792
|
args: [{ providedIn: 'root' }]
|
|
793
793
|
}], ctorParameters: () => [] });
|
|
@@ -875,10 +875,10 @@ class PreloadLinkCreator {
|
|
|
875
875
|
}
|
|
876
876
|
renderer.appendChild(this.document.head, preload);
|
|
877
877
|
}
|
|
878
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-next.
|
|
879
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.1.0-next.
|
|
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' });
|
|
880
880
|
}
|
|
881
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.
|
|
881
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: PreloadLinkCreator, decorators: [{
|
|
882
882
|
type: Injectable,
|
|
883
883
|
args: [{ providedIn: 'root' }]
|
|
884
884
|
}] });
|
|
@@ -1472,10 +1472,10 @@ class NgOptimizedImage {
|
|
|
1472
1472
|
setHostAttribute(name, value) {
|
|
1473
1473
|
this.renderer.setAttribute(this.imgElement, name, value);
|
|
1474
1474
|
}
|
|
1475
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.0-next.
|
|
1476
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "16.1.0", version: "20.1.0-next.
|
|
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 });
|
|
1477
1477
|
}
|
|
1478
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.
|
|
1478
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.0-next.2", ngImport: i0, type: NgOptimizedImage, decorators: [{
|
|
1479
1479
|
type: Directive,
|
|
1480
1480
|
args: [{
|
|
1481
1481
|
selector: 'img[ngSrc]',
|