@angular/common 14.2.11 → 14.3.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.
- package/esm2020/http/src/client.mjs +3 -3
- package/esm2020/http/src/interceptor.mjs +3 -3
- package/esm2020/http/src/jsonp.mjs +6 -6
- package/esm2020/http/src/module.mjs +15 -15
- package/esm2020/http/src/xhr.mjs +3 -3
- package/esm2020/http/src/xsrf.mjs +6 -6
- package/esm2020/http/testing/src/backend.mjs +3 -3
- package/esm2020/http/testing/src/module.mjs +4 -4
- package/esm2020/src/common_module.mjs +4 -4
- package/esm2020/src/directives/ng_class.mjs +3 -3
- package/esm2020/src/directives/ng_component_outlet.mjs +3 -3
- package/esm2020/src/directives/ng_for_of.mjs +3 -3
- package/esm2020/src/directives/ng_if.mjs +3 -3
- package/esm2020/src/directives/ng_optimized_image/image_loaders/cloudflare_loader.mjs +1 -6
- package/esm2020/src/directives/ng_optimized_image/image_loaders/cloudinary_loader.mjs +15 -6
- package/esm2020/src/directives/ng_optimized_image/image_loaders/image_loader.mjs +3 -8
- package/esm2020/src/directives/ng_optimized_image/image_loaders/imagekit_loader.mjs +15 -6
- package/esm2020/src/directives/ng_optimized_image/image_loaders/imgix_loader.mjs +15 -6
- package/esm2020/src/directives/ng_optimized_image/index.mjs +2 -2
- package/esm2020/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
- package/esm2020/src/directives/ng_optimized_image/ng_optimized_image.mjs +307 -53
- package/esm2020/src/directives/ng_optimized_image/preconnect_link_checker.mjs +10 -12
- package/esm2020/src/directives/ng_optimized_image/preload-link-creator.mjs +75 -0
- package/esm2020/src/directives/ng_optimized_image/tokens.mjs +24 -0
- package/esm2020/src/directives/ng_plural.mjs +6 -6
- package/esm2020/src/directives/ng_style.mjs +3 -3
- package/esm2020/src/directives/ng_switch.mjs +9 -9
- package/esm2020/src/directives/ng_template_outlet.mjs +3 -3
- package/esm2020/src/errors.mjs +1 -1
- package/esm2020/src/i18n/localization.mjs +6 -6
- package/esm2020/src/location/hash_location_strategy.mjs +3 -3
- package/esm2020/src/location/location.mjs +3 -3
- package/esm2020/src/location/location_strategy.mjs +6 -6
- package/esm2020/src/location/platform_location.mjs +6 -6
- package/esm2020/src/pipes/async_pipe.mjs +3 -3
- package/esm2020/src/pipes/case_conversion_pipes.mjs +9 -9
- package/esm2020/src/pipes/date_pipe.mjs +3 -3
- package/esm2020/src/pipes/i18n_plural_pipe.mjs +3 -3
- package/esm2020/src/pipes/i18n_select_pipe.mjs +3 -3
- package/esm2020/src/pipes/json_pipe.mjs +3 -3
- package/esm2020/src/pipes/keyvalue_pipe.mjs +3 -3
- package/esm2020/src/pipes/number_pipe.mjs +9 -9
- package/esm2020/src/pipes/slice_pipe.mjs +3 -3
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/location_mock.mjs +3 -3
- package/esm2020/testing/src/mock_location_strategy.mjs +3 -3
- package/esm2020/testing/src/mock_platform_location.mjs +3 -3
- package/esm2020/upgrade/src/location_upgrade_module.mjs +4 -4
- package/fesm2015/common.mjs +707 -347
- package/fesm2015/common.mjs.map +1 -1
- package/fesm2015/http/testing.mjs +8 -8
- package/fesm2015/http.mjs +37 -37
- package/fesm2015/testing.mjs +10 -10
- package/fesm2015/upgrade.mjs +5 -5
- package/fesm2020/common.mjs +705 -346
- package/fesm2020/common.mjs.map +1 -1
- package/fesm2020/http/testing.mjs +8 -8
- package/fesm2020/http.mjs +37 -37
- package/fesm2020/testing.mjs +10 -10
- package/fesm2020/upgrade.mjs +5 -5
- package/http/index.d.ts +1 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +58 -55
- package/package.json +2 -2
- package/testing/index.d.ts +1 -1
- package/upgrade/index.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.
|
|
2
|
+
* @license Angular v14.3.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -330,9 +330,9 @@ class HttpClientTestingBackend {
|
|
|
330
330
|
}
|
|
331
331
|
}
|
|
332
332
|
}
|
|
333
|
-
HttpClientTestingBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
334
|
-
HttpClientTestingBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
333
|
+
HttpClientTestingBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
334
|
+
HttpClientTestingBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientTestingBackend });
|
|
335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
|
|
336
336
|
type: Injectable
|
|
337
337
|
}] });
|
|
338
338
|
function describeRequest(testRequest) {
|
|
@@ -357,14 +357,14 @@ function describeRequest(testRequest) {
|
|
|
357
357
|
*/
|
|
358
358
|
class HttpClientTestingModule {
|
|
359
359
|
}
|
|
360
|
-
HttpClientTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
361
|
-
HttpClientTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
362
|
-
HttpClientTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
360
|
+
HttpClientTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
361
|
+
HttpClientTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] });
|
|
362
|
+
HttpClientTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientTestingModule, providers: [
|
|
363
363
|
HttpClientTestingBackend,
|
|
364
364
|
{ provide: HttpBackend, useExisting: HttpClientTestingBackend },
|
|
365
365
|
{ provide: HttpTestingController, useExisting: HttpClientTestingBackend },
|
|
366
366
|
], imports: [HttpClientModule] });
|
|
367
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
367
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientTestingModule, decorators: [{
|
|
368
368
|
type: NgModule,
|
|
369
369
|
args: [{
|
|
370
370
|
imports: [
|
package/fesm2020/http.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.
|
|
2
|
+
* @license Angular v14.3.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1415,9 +1415,9 @@ class HttpClient {
|
|
|
1415
1415
|
return this.request('PUT', url, addBody(options, body));
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
|
-
HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1419
|
-
HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1420
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1418
|
+
HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1419
|
+
HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClient });
|
|
1420
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClient, decorators: [{
|
|
1421
1421
|
type: Injectable
|
|
1422
1422
|
}], ctorParameters: function () { return [{ type: HttpHandler }]; } });
|
|
1423
1423
|
|
|
@@ -1454,9 +1454,9 @@ class NoopInterceptor {
|
|
|
1454
1454
|
return next.handle(req);
|
|
1455
1455
|
}
|
|
1456
1456
|
}
|
|
1457
|
-
NoopInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1458
|
-
NoopInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1459
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1457
|
+
NoopInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NoopInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1458
|
+
NoopInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NoopInterceptor });
|
|
1459
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: NoopInterceptor, decorators: [{
|
|
1460
1460
|
type: Injectable
|
|
1461
1461
|
}] });
|
|
1462
1462
|
|
|
@@ -1652,9 +1652,9 @@ class JsonpClientBackend {
|
|
|
1652
1652
|
foreignDocument.adoptNode(script);
|
|
1653
1653
|
}
|
|
1654
1654
|
}
|
|
1655
|
-
JsonpClientBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1656
|
-
JsonpClientBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1657
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1655
|
+
JsonpClientBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1656
|
+
JsonpClientBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: JsonpClientBackend });
|
|
1657
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: JsonpClientBackend, decorators: [{
|
|
1658
1658
|
type: Injectable
|
|
1659
1659
|
}], ctorParameters: function () { return [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{
|
|
1660
1660
|
type: Inject,
|
|
@@ -1687,9 +1687,9 @@ class JsonpInterceptor {
|
|
|
1687
1687
|
return next.handle(req);
|
|
1688
1688
|
}
|
|
1689
1689
|
}
|
|
1690
|
-
JsonpInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1691
|
-
JsonpInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1692
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1690
|
+
JsonpInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: JsonpInterceptor, deps: [{ token: JsonpClientBackend }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1691
|
+
JsonpInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: JsonpInterceptor });
|
|
1692
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: JsonpInterceptor, decorators: [{
|
|
1693
1693
|
type: Injectable
|
|
1694
1694
|
}], ctorParameters: function () { return [{ type: JsonpClientBackend }]; } });
|
|
1695
1695
|
|
|
@@ -1965,9 +1965,9 @@ class HttpXhrBackend {
|
|
|
1965
1965
|
});
|
|
1966
1966
|
}
|
|
1967
1967
|
}
|
|
1968
|
-
HttpXhrBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
1969
|
-
HttpXhrBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
1970
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
1968
|
+
HttpXhrBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpXhrBackend, deps: [{ token: i1.XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1969
|
+
HttpXhrBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpXhrBackend });
|
|
1970
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpXhrBackend, decorators: [{
|
|
1971
1971
|
type: Injectable
|
|
1972
1972
|
}], ctorParameters: function () { return [{ type: i1.XhrFactory }]; } });
|
|
1973
1973
|
|
|
@@ -2015,9 +2015,9 @@ class HttpXsrfCookieExtractor {
|
|
|
2015
2015
|
return this.lastToken;
|
|
2016
2016
|
}
|
|
2017
2017
|
}
|
|
2018
|
-
HttpXsrfCookieExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2019
|
-
HttpXsrfCookieExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
2020
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2018
|
+
HttpXsrfCookieExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2019
|
+
HttpXsrfCookieExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpXsrfCookieExtractor });
|
|
2020
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{
|
|
2021
2021
|
type: Injectable
|
|
2022
2022
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
2023
2023
|
type: Inject,
|
|
@@ -2055,9 +2055,9 @@ class HttpXsrfInterceptor {
|
|
|
2055
2055
|
return next.handle(req);
|
|
2056
2056
|
}
|
|
2057
2057
|
}
|
|
2058
|
-
HttpXsrfInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2059
|
-
HttpXsrfInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
2060
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2058
|
+
HttpXsrfInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: HttpXsrfTokenExtractor }, { token: XSRF_HEADER_NAME }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2059
|
+
HttpXsrfInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpXsrfInterceptor });
|
|
2060
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{
|
|
2061
2061
|
type: Injectable
|
|
2062
2062
|
}], ctorParameters: function () { return [{ type: HttpXsrfTokenExtractor }, { type: undefined, decorators: [{
|
|
2063
2063
|
type: Inject,
|
|
@@ -2094,9 +2094,9 @@ class HttpInterceptingHandler {
|
|
|
2094
2094
|
return this.chain.handle(req);
|
|
2095
2095
|
}
|
|
2096
2096
|
}
|
|
2097
|
-
HttpInterceptingHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2098
|
-
HttpInterceptingHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
2099
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2097
|
+
HttpInterceptingHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpInterceptingHandler, deps: [{ token: HttpBackend }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2098
|
+
HttpInterceptingHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpInterceptingHandler });
|
|
2099
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpInterceptingHandler, decorators: [{
|
|
2100
2100
|
type: Injectable
|
|
2101
2101
|
}], ctorParameters: function () { return [{ type: HttpBackend }, { type: i0.Injector }]; } });
|
|
2102
2102
|
/**
|
|
@@ -2169,16 +2169,16 @@ class HttpClientXsrfModule {
|
|
|
2169
2169
|
};
|
|
2170
2170
|
}
|
|
2171
2171
|
}
|
|
2172
|
-
HttpClientXsrfModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2173
|
-
HttpClientXsrfModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
2174
|
-
HttpClientXsrfModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
2172
|
+
HttpClientXsrfModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2173
|
+
HttpClientXsrfModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HttpClientXsrfModule });
|
|
2174
|
+
HttpClientXsrfModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientXsrfModule, providers: [
|
|
2175
2175
|
HttpXsrfInterceptor,
|
|
2176
2176
|
{ provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
|
|
2177
2177
|
{ provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
|
|
2178
2178
|
{ provide: XSRF_COOKIE_NAME, useValue: 'XSRF-TOKEN' },
|
|
2179
2179
|
{ provide: XSRF_HEADER_NAME, useValue: 'X-XSRF-TOKEN' },
|
|
2180
2180
|
] });
|
|
2181
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2181
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
|
|
2182
2182
|
type: NgModule,
|
|
2183
2183
|
args: [{
|
|
2184
2184
|
providers: [
|
|
@@ -2201,9 +2201,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImpo
|
|
|
2201
2201
|
*/
|
|
2202
2202
|
class HttpClientModule {
|
|
2203
2203
|
}
|
|
2204
|
-
HttpClientModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2205
|
-
HttpClientModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
2206
|
-
HttpClientModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
2204
|
+
HttpClientModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2205
|
+
HttpClientModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HttpClientModule, imports: [HttpClientXsrfModule] });
|
|
2206
|
+
HttpClientModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientModule, providers: [
|
|
2207
2207
|
HttpClient,
|
|
2208
2208
|
{ provide: HttpHandler, useClass: HttpInterceptingHandler },
|
|
2209
2209
|
HttpXhrBackend,
|
|
@@ -2212,7 +2212,7 @@ HttpClientModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
2212
2212
|
cookieName: 'XSRF-TOKEN',
|
|
2213
2213
|
headerName: 'X-XSRF-TOKEN',
|
|
2214
2214
|
})] });
|
|
2215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientModule, decorators: [{
|
|
2216
2216
|
type: NgModule,
|
|
2217
2217
|
args: [{
|
|
2218
2218
|
/**
|
|
@@ -2249,14 +2249,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.11", ngImpo
|
|
|
2249
2249
|
*/
|
|
2250
2250
|
class HttpClientJsonpModule {
|
|
2251
2251
|
}
|
|
2252
|
-
HttpClientJsonpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
2253
|
-
HttpClientJsonpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
2254
|
-
HttpClientJsonpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
2252
|
+
HttpClientJsonpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2253
|
+
HttpClientJsonpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: HttpClientJsonpModule });
|
|
2254
|
+
HttpClientJsonpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientJsonpModule, providers: [
|
|
2255
2255
|
JsonpClientBackend,
|
|
2256
2256
|
{ provide: JsonpCallbackContext, useFactory: jsonpCallbackContext },
|
|
2257
2257
|
{ provide: HTTP_INTERCEPTORS, useClass: JsonpInterceptor, multi: true },
|
|
2258
2258
|
] });
|
|
2259
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
2259
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
|
|
2260
2260
|
type: NgModule,
|
|
2261
2261
|
args: [{
|
|
2262
2262
|
providers: [
|
package/fesm2020/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.
|
|
2
|
+
* @license Angular v14.3.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -210,9 +210,9 @@ class SpyLocation {
|
|
|
210
210
|
this._historyIndex = this._history.length - 1;
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
|
-
SpyLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
214
|
-
SpyLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
215
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
213
|
+
SpyLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
214
|
+
SpyLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpyLocation });
|
|
215
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SpyLocation, decorators: [{
|
|
216
216
|
type: Injectable
|
|
217
217
|
}] });
|
|
218
218
|
class LocationState {
|
|
@@ -299,9 +299,9 @@ class MockLocationStrategy extends LocationStrategy {
|
|
|
299
299
|
return this.stateChanges[(this.stateChanges.length || 1) - 1];
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
|
-
MockLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
303
|
-
MockLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
304
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
302
|
+
MockLocationStrategy.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
303
|
+
MockLocationStrategy.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MockLocationStrategy });
|
|
304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MockLocationStrategy, decorators: [{
|
|
305
305
|
type: Injectable
|
|
306
306
|
}], ctorParameters: function () { return []; } });
|
|
307
307
|
class _MockPopStateEvent {
|
|
@@ -487,9 +487,9 @@ class MockPlatformLocation {
|
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
489
|
}
|
|
490
|
-
MockPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
491
|
-
MockPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.
|
|
492
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
490
|
+
MockPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
491
|
+
MockPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MockPlatformLocation });
|
|
492
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: MockPlatformLocation, decorators: [{
|
|
493
493
|
type: Injectable
|
|
494
494
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
495
495
|
type: Inject,
|
package/fesm2020/upgrade.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.
|
|
2
|
+
* @license Angular v14.3.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -881,10 +881,10 @@ class LocationUpgradeModule {
|
|
|
881
881
|
};
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
|
-
LocationUpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.
|
|
885
|
-
LocationUpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.
|
|
886
|
-
LocationUpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.
|
|
887
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.
|
|
884
|
+
LocationUpgradeModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
885
|
+
LocationUpgradeModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.3.0", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
|
|
886
|
+
LocationUpgradeModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] });
|
|
887
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LocationUpgradeModule, decorators: [{
|
|
888
888
|
type: NgModule,
|
|
889
889
|
args: [{ imports: [CommonModule] }]
|
|
890
890
|
}] });
|
package/http/index.d.ts
CHANGED
package/http/testing/index.d.ts
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.
|
|
2
|
+
* @license Angular v14.3.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1101,7 +1101,6 @@ declare namespace i9 {
|
|
|
1101
1101
|
* @see `ImageLoader`
|
|
1102
1102
|
* @see `NgOptimizedImage`
|
|
1103
1103
|
* @publicApi
|
|
1104
|
-
* @developerPreview
|
|
1105
1104
|
*/
|
|
1106
1105
|
export declare const IMAGE_LOADER: InjectionToken<ImageLoader>;
|
|
1107
1106
|
|
|
@@ -1110,7 +1109,6 @@ export declare const IMAGE_LOADER: InjectionToken<ImageLoader>;
|
|
|
1110
1109
|
* NgOptimizedImage directive to produce full image URL based on the image name and its width.
|
|
1111
1110
|
*
|
|
1112
1111
|
* @publicApi
|
|
1113
|
-
* @developerPreview
|
|
1114
1112
|
*/
|
|
1115
1113
|
export declare type ImageLoader = (config: ImageLoaderConfig) => string;
|
|
1116
1114
|
|
|
@@ -1120,7 +1118,6 @@ export declare type ImageLoader = (config: ImageLoaderConfig) => string;
|
|
|
1120
1118
|
* @see `ImageLoader`
|
|
1121
1119
|
* @see `NgOptimizedImage`
|
|
1122
1120
|
* @publicApi
|
|
1123
|
-
* @developerPreview
|
|
1124
1121
|
*/
|
|
1125
1122
|
export declare interface ImageLoaderConfig {
|
|
1126
1123
|
/**
|
|
@@ -1131,6 +1128,12 @@ export declare interface ImageLoaderConfig {
|
|
|
1131
1128
|
* Width of the requested image (to be used when generating srcset).
|
|
1132
1129
|
*/
|
|
1133
1130
|
width?: number;
|
|
1131
|
+
/**
|
|
1132
|
+
* Additional user-provided parameters for use by the ImageLoader.
|
|
1133
|
+
*/
|
|
1134
|
+
loaderParams?: {
|
|
1135
|
+
[key: string]: any;
|
|
1136
|
+
};
|
|
1134
1137
|
}
|
|
1135
1138
|
|
|
1136
1139
|
/**
|
|
@@ -2018,6 +2021,7 @@ export declare abstract class NgLocalization {
|
|
|
2018
2021
|
*
|
|
2019
2022
|
* In addition, the directive:
|
|
2020
2023
|
* - Generates appropriate asset URLs if a corresponding `ImageLoader` function is provided
|
|
2024
|
+
* - Automatically generates a srcset
|
|
2021
2025
|
* - Requires that `width` and `height` are set
|
|
2022
2026
|
* - Warns if `width` or `height` have been set incorrectly
|
|
2023
2027
|
* - Warns if the image will be visually distorted when rendered
|
|
@@ -2103,13 +2107,15 @@ export declare abstract class NgLocalization {
|
|
|
2103
2107
|
* ```
|
|
2104
2108
|
*
|
|
2105
2109
|
* @publicApi
|
|
2106
|
-
* @developerPreview
|
|
2107
2110
|
*/
|
|
2108
2111
|
export declare class NgOptimizedImage implements OnInit, OnChanges, OnDestroy {
|
|
2109
2112
|
private imageLoader;
|
|
2113
|
+
private config;
|
|
2110
2114
|
private renderer;
|
|
2111
2115
|
private imgElement;
|
|
2112
2116
|
private injector;
|
|
2117
|
+
private readonly isServer;
|
|
2118
|
+
private readonly preloadLinkChecker;
|
|
2113
2119
|
private lcpObserver;
|
|
2114
2120
|
/**
|
|
2115
2121
|
* Calculate the rewritten `src` once and store it.
|
|
@@ -2118,17 +2124,6 @@ export declare class NgOptimizedImage implements OnInit, OnChanges, OnDestroy {
|
|
|
2118
2124
|
* instance that might be already destroyed).
|
|
2119
2125
|
*/
|
|
2120
2126
|
private _renderedSrc;
|
|
2121
|
-
/**
|
|
2122
|
-
* Previously, the `rawSrc` attribute was used to activate the directive.
|
|
2123
|
-
* The attribute was renamed to `ngSrc` and this input just produces an error,
|
|
2124
|
-
* suggesting to switch to `ngSrc` instead.
|
|
2125
|
-
*
|
|
2126
|
-
* This error should be removed in v15.
|
|
2127
|
-
*
|
|
2128
|
-
* @nodoc
|
|
2129
|
-
* @deprecated Use `ngSrc` instead.
|
|
2130
|
-
*/
|
|
2131
|
-
set rawSrc(value: string);
|
|
2132
2127
|
/**
|
|
2133
2128
|
* Name of the source image.
|
|
2134
2129
|
* Image name will be processed by the image loader and the final URL will be applied as the `src`
|
|
@@ -2148,13 +2143,21 @@ export declare class NgOptimizedImage implements OnInit, OnChanges, OnDestroy {
|
|
|
2148
2143
|
*/
|
|
2149
2144
|
ngSrcset: string;
|
|
2150
2145
|
/**
|
|
2151
|
-
* The
|
|
2146
|
+
* The base `sizes` attribute passed through to the `<img>` element.
|
|
2147
|
+
* Providing sizes causes the image to create an automatic responsive srcset.
|
|
2148
|
+
*/
|
|
2149
|
+
sizes?: string;
|
|
2150
|
+
/**
|
|
2151
|
+
* For responsive images: the intrinsic width of the image in pixels.
|
|
2152
|
+
* For fixed size images: the desired rendered width of the image in pixels.
|
|
2152
2153
|
*/
|
|
2153
2154
|
set width(value: string | number | undefined);
|
|
2154
2155
|
get width(): number | undefined;
|
|
2155
2156
|
private _width?;
|
|
2156
2157
|
/**
|
|
2157
|
-
*
|
|
2158
|
+
* For responsive images: the intrinsic height of the image in pixels.
|
|
2159
|
+
* For fixed size images: the desired rendered height of the image in pixels.* The intrinsic
|
|
2160
|
+
* height of the image in pixels.
|
|
2158
2161
|
*/
|
|
2159
2162
|
set height(value: string | number | undefined);
|
|
2160
2163
|
get height(): number | undefined;
|
|
@@ -2172,17 +2175,46 @@ export declare class NgOptimizedImage implements OnInit, OnChanges, OnDestroy {
|
|
|
2172
2175
|
set priority(value: string | boolean | undefined);
|
|
2173
2176
|
get priority(): boolean;
|
|
2174
2177
|
private _priority;
|
|
2178
|
+
/**
|
|
2179
|
+
* Data to pass through to custom loaders.
|
|
2180
|
+
*/
|
|
2181
|
+
loaderParams?: {
|
|
2182
|
+
[key: string]: any;
|
|
2183
|
+
};
|
|
2184
|
+
/**
|
|
2185
|
+
* Disables automatic srcset generation for this image.
|
|
2186
|
+
*/
|
|
2187
|
+
set disableOptimizedSrcset(value: string | boolean | undefined);
|
|
2188
|
+
get disableOptimizedSrcset(): boolean;
|
|
2189
|
+
private _disableOptimizedSrcset;
|
|
2190
|
+
/**
|
|
2191
|
+
* Sets the image to "fill mode", which eliminates the height/width requirement and adds
|
|
2192
|
+
* styles such that the image fills its containing element.
|
|
2193
|
+
*
|
|
2194
|
+
* @developerPreview
|
|
2195
|
+
*/
|
|
2196
|
+
set fill(value: string | boolean | undefined);
|
|
2197
|
+
get fill(): boolean;
|
|
2198
|
+
private _fill;
|
|
2199
|
+
/** @nodoc */
|
|
2175
2200
|
ngOnInit(): void;
|
|
2176
2201
|
private setHostAttributes;
|
|
2202
|
+
/** @nodoc */
|
|
2177
2203
|
ngOnChanges(changes: SimpleChanges): void;
|
|
2204
|
+
private callImageLoader;
|
|
2178
2205
|
private getLoadingBehavior;
|
|
2179
2206
|
private getFetchPriority;
|
|
2180
2207
|
private getRewrittenSrc;
|
|
2181
2208
|
private getRewrittenSrcset;
|
|
2209
|
+
private getAutomaticSrcset;
|
|
2210
|
+
private getResponsiveSrcset;
|
|
2211
|
+
private getFixedSrcset;
|
|
2212
|
+
private shouldGenerateAutomaticSrcset;
|
|
2213
|
+
/** @nodoc */
|
|
2182
2214
|
ngOnDestroy(): void;
|
|
2183
2215
|
private setHostAttribute;
|
|
2184
2216
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgOptimizedImage, never>;
|
|
2185
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NgOptimizedImage, "img[ngSrc]
|
|
2217
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NgOptimizedImage, "img[ngSrc]", never, { "ngSrc": "ngSrc"; "ngSrcset": "ngSrcset"; "sizes": "sizes"; "width": "width"; "height": "height"; "loading": "loading"; "priority": "priority"; "loaderParams": "loaderParams"; "disableOptimizedSrcset": "disableOptimizedSrcset"; "fill": "fill"; "src": "src"; "srcset": "srcset"; }, {}, never, never, true>;
|
|
2186
2218
|
}
|
|
2187
2219
|
|
|
2188
2220
|
/**
|
|
@@ -2765,23 +2797,22 @@ declare interface PopStateEvent_2 {
|
|
|
2765
2797
|
export { PopStateEvent_2 as PopStateEvent }
|
|
2766
2798
|
|
|
2767
2799
|
/**
|
|
2768
|
-
*
|
|
2800
|
+
* Injection token to configure which origins should be excluded
|
|
2769
2801
|
* from the preconnect checks. It can either be a single string or an array of strings
|
|
2770
2802
|
* to represent a group of origins, for example:
|
|
2771
2803
|
*
|
|
2772
2804
|
* ```typescript
|
|
2773
|
-
* {provide: PRECONNECT_CHECK_BLOCKLIST,
|
|
2805
|
+
* {provide: PRECONNECT_CHECK_BLOCKLIST, useValue: 'https://your-domain.com'}
|
|
2774
2806
|
* ```
|
|
2775
2807
|
*
|
|
2776
2808
|
* or:
|
|
2777
2809
|
*
|
|
2778
2810
|
* ```typescript
|
|
2779
|
-
* {provide: PRECONNECT_CHECK_BLOCKLIST,
|
|
2811
|
+
* {provide: PRECONNECT_CHECK_BLOCKLIST,
|
|
2780
2812
|
* useValue: ['https://your-domain-1.com', 'https://your-domain-2.com']}
|
|
2781
2813
|
* ```
|
|
2782
2814
|
*
|
|
2783
2815
|
* @publicApi
|
|
2784
|
-
* @developerPreview
|
|
2785
2816
|
*/
|
|
2786
2817
|
export declare const PRECONNECT_CHECK_BLOCKLIST: InjectionToken<(string | string[])[]>;
|
|
2787
2818
|
|
|
@@ -2792,18 +2823,11 @@ export declare const PRECONNECT_CHECK_BLOCKLIST: InjectionToken<(string | string
|
|
|
2792
2823
|
* Cloudflare Image Resizing; it will not work with Cloudflare Images or Cloudflare Polish.
|
|
2793
2824
|
*
|
|
2794
2825
|
* @param path Your domain name, e.g. https://mysite.com
|
|
2795
|
-
* @param options An object with extra configuration:
|
|
2796
|
-
* - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
|
|
2797
|
-
* should verify that there is a corresponding `<link rel="preconnect">`
|
|
2798
|
-
* present in the document's `<head>`.
|
|
2799
2826
|
* @returns Provider that provides an ImageLoader function
|
|
2800
2827
|
*
|
|
2801
2828
|
* @publicApi
|
|
2802
|
-
* @developerPreview
|
|
2803
2829
|
*/
|
|
2804
|
-
export declare const provideCloudflareLoader: (path: string
|
|
2805
|
-
ensurePreconnect?: boolean | undefined;
|
|
2806
|
-
}) => Provider[];
|
|
2830
|
+
export declare const provideCloudflareLoader: (path: string) => Provider[];
|
|
2807
2831
|
|
|
2808
2832
|
/**
|
|
2809
2833
|
* Function that generates an ImageLoader for Cloudinary and turns it into an Angular provider.
|
|
@@ -2813,18 +2837,11 @@ export declare const provideCloudflareLoader: (path: string, options?: {
|
|
|
2813
2837
|
* https://res.cloudinary.com/mysite
|
|
2814
2838
|
* https://mysite.cloudinary.com
|
|
2815
2839
|
* https://subdomain.mysite.com
|
|
2816
|
-
* @param options An object with extra configuration:
|
|
2817
|
-
* - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
|
|
2818
|
-
* should verify that there is a corresponding `<link rel="preconnect">`
|
|
2819
|
-
* present in the document's `<head>`.
|
|
2820
2840
|
* @returns Set of providers to configure the Cloudinary loader.
|
|
2821
2841
|
*
|
|
2822
2842
|
* @publicApi
|
|
2823
|
-
* @developerPreview
|
|
2824
2843
|
*/
|
|
2825
|
-
export declare const provideCloudinaryLoader: (path: string
|
|
2826
|
-
ensurePreconnect?: boolean | undefined;
|
|
2827
|
-
}) => Provider[];
|
|
2844
|
+
export declare const provideCloudinaryLoader: (path: string) => Provider[];
|
|
2828
2845
|
|
|
2829
2846
|
/**
|
|
2830
2847
|
* Function that generates an ImageLoader for ImageKit and turns it into an Angular provider.
|
|
@@ -2833,36 +2850,22 @@ export declare const provideCloudinaryLoader: (path: string, options?: {
|
|
|
2833
2850
|
* This URL should match one of the following formats:
|
|
2834
2851
|
* https://ik.imagekit.io/myaccount
|
|
2835
2852
|
* https://subdomain.mysite.com
|
|
2836
|
-
* @param options An object with extra configuration:
|
|
2837
|
-
* - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
|
|
2838
|
-
* should verify that there is a corresponding `<link rel="preconnect">`
|
|
2839
|
-
* present in the document's `<head>`.
|
|
2840
2853
|
* @returns Set of providers to configure the ImageKit loader.
|
|
2841
2854
|
*
|
|
2842
2855
|
* @publicApi
|
|
2843
|
-
* @developerPreview
|
|
2844
2856
|
*/
|
|
2845
|
-
export declare const provideImageKitLoader: (path: string
|
|
2846
|
-
ensurePreconnect?: boolean | undefined;
|
|
2847
|
-
}) => Provider[];
|
|
2857
|
+
export declare const provideImageKitLoader: (path: string) => Provider[];
|
|
2848
2858
|
|
|
2849
2859
|
/**
|
|
2850
2860
|
* Function that generates an ImageLoader for Imgix and turns it into an Angular provider.
|
|
2851
2861
|
*
|
|
2852
2862
|
* @param path path to the desired Imgix origin,
|
|
2853
2863
|
* e.g. https://somepath.imgix.net or https://images.mysite.com
|
|
2854
|
-
* @param options An object with extra configuration:
|
|
2855
|
-
* - `ensurePreconnect`: boolean flag indicating whether the NgOptimizedImage directive
|
|
2856
|
-
* should verify that there is a corresponding `<link rel="preconnect">`
|
|
2857
|
-
* present in the document's `<head>`.
|
|
2858
2864
|
* @returns Set of providers to configure the Imgix loader.
|
|
2859
2865
|
*
|
|
2860
2866
|
* @publicApi
|
|
2861
|
-
* @developerPreview
|
|
2862
2867
|
*/
|
|
2863
|
-
export declare const provideImgixLoader: (path: string
|
|
2864
|
-
ensurePreconnect?: boolean | undefined;
|
|
2865
|
-
}) => Provider[];
|
|
2868
|
+
export declare const provideImgixLoader: (path: string) => Provider[];
|
|
2866
2869
|
|
|
2867
2870
|
|
|
2868
2871
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/common",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.3.0",
|
|
4
4
|
"description": "Angular - commonly needed directives and services",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@angular/core": "14.
|
|
66
|
+
"@angular/core": "14.3.0",
|
|
67
67
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
68
68
|
},
|
|
69
69
|
"repository": {
|
package/testing/index.d.ts
CHANGED
package/upgrade/index.d.ts
CHANGED