@angular/common 17.3.0-next.0 → 17.3.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.
- package/esm2022/http/src/client.mjs +3 -3
- package/esm2022/http/src/fetch.mjs +3 -3
- package/esm2022/http/src/interceptor.mjs +3 -3
- package/esm2022/http/src/jsonp.mjs +6 -6
- package/esm2022/http/src/module.mjs +12 -12
- package/esm2022/http/src/xhr.mjs +3 -3
- package/esm2022/http/src/xsrf.mjs +6 -6
- package/esm2022/http/testing/src/backend.mjs +3 -3
- package/esm2022/http/testing/src/module.mjs +4 -4
- package/esm2022/src/common_module.mjs +4 -4
- package/esm2022/src/directives/ng_class.mjs +3 -3
- package/esm2022/src/directives/ng_component_outlet.mjs +3 -3
- package/esm2022/src/directives/ng_for_of.mjs +3 -3
- package/esm2022/src/directives/ng_if.mjs +3 -3
- package/esm2022/src/directives/ng_optimized_image/lcp_image_observer.mjs +3 -3
- package/esm2022/src/directives/ng_optimized_image/ng_optimized_image.mjs +3 -3
- package/esm2022/src/directives/ng_optimized_image/preconnect_link_checker.mjs +3 -3
- package/esm2022/src/directives/ng_optimized_image/preload-link-creator.mjs +3 -3
- package/esm2022/src/directives/ng_plural.mjs +6 -6
- package/esm2022/src/directives/ng_style.mjs +3 -3
- package/esm2022/src/directives/ng_switch.mjs +9 -9
- package/esm2022/src/directives/ng_template_outlet.mjs +3 -3
- package/esm2022/src/i18n/locale_data_api.mjs +21 -19
- package/esm2022/src/i18n/localization.mjs +6 -6
- package/esm2022/src/location/hash_location_strategy.mjs +3 -3
- package/esm2022/src/location/location.mjs +3 -3
- package/esm2022/src/location/location_strategy.mjs +6 -6
- package/esm2022/src/location/platform_location.mjs +6 -6
- package/esm2022/src/navigation/platform_navigation.mjs +3 -3
- package/esm2022/src/pipes/async_pipe.mjs +18 -8
- package/esm2022/src/pipes/case_conversion_pipes.mjs +9 -9
- package/esm2022/src/pipes/date_pipe.mjs +3 -3
- package/esm2022/src/pipes/i18n_plural_pipe.mjs +3 -3
- package/esm2022/src/pipes/i18n_select_pipe.mjs +3 -3
- package/esm2022/src/pipes/json_pipe.mjs +3 -3
- package/esm2022/src/pipes/keyvalue_pipe.mjs +3 -3
- package/esm2022/src/pipes/number_pipe.mjs +9 -9
- package/esm2022/src/pipes/slice_pipe.mjs +3 -3
- package/esm2022/src/version.mjs +1 -1
- package/esm2022/testing/src/location_mock.mjs +3 -3
- package/esm2022/testing/src/mock_location_strategy.mjs +3 -3
- package/esm2022/testing/src/mock_platform_location.mjs +6 -6
- package/esm2022/upgrade/src/location_upgrade_module.mjs +4 -4
- package/fesm2022/common.mjs +151 -139
- package/fesm2022/common.mjs.map +1 -1
- package/fesm2022/http/testing.mjs +8 -8
- package/fesm2022/http.mjs +37 -37
- package/fesm2022/testing.mjs +16 -16
- package/fesm2022/upgrade.mjs +5 -5
- package/http/index.d.ts +1 -1
- package/http/testing/index.d.ts +1 -1
- package/index.d.ts +22 -18
- 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 v17.3.0-
|
|
2
|
+
* @license Angular v17.3.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -311,10 +311,10 @@ class HttpClientTestingBackend {
|
|
|
311
311
|
return `Match by function: ${matcher.name}`;
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
315
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
314
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
315
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientTestingBackend }); }
|
|
316
316
|
}
|
|
317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
|
|
318
318
|
type: Injectable
|
|
319
319
|
}] });
|
|
320
320
|
function describeRequest(testRequest) {
|
|
@@ -339,11 +339,11 @@ function provideHttpClientTesting() {
|
|
|
339
339
|
* @publicApi
|
|
340
340
|
*/
|
|
341
341
|
class HttpClientTestingModule {
|
|
342
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
343
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0-
|
|
344
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0-
|
|
342
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
343
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] }); }
|
|
344
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientTestingModule, providers: [provideHttpClientTesting()], imports: [HttpClientModule] }); }
|
|
345
345
|
}
|
|
346
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientTestingModule, decorators: [{
|
|
347
347
|
type: NgModule,
|
|
348
348
|
args: [{
|
|
349
349
|
imports: [HttpClientModule],
|
package/fesm2022/http.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.3.0-
|
|
2
|
+
* @license Angular v17.3.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1445,10 +1445,10 @@ class HttpClient {
|
|
|
1445
1445
|
put(url, body, options = {}) {
|
|
1446
1446
|
return this.request('PUT', url, addBody(options, body));
|
|
1447
1447
|
}
|
|
1448
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
1449
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
1448
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1449
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClient }); }
|
|
1450
1450
|
}
|
|
1451
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
1451
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClient, decorators: [{
|
|
1452
1452
|
type: Injectable
|
|
1453
1453
|
}], ctorParameters: () => [{ type: HttpHandler }] });
|
|
1454
1454
|
|
|
@@ -1654,10 +1654,10 @@ class FetchBackend {
|
|
|
1654
1654
|
}
|
|
1655
1655
|
return chunksAll;
|
|
1656
1656
|
}
|
|
1657
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
1658
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
1657
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: FetchBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1658
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: FetchBackend }); }
|
|
1659
1659
|
}
|
|
1660
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
1660
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: FetchBackend, decorators: [{
|
|
1661
1661
|
type: Injectable
|
|
1662
1662
|
}] });
|
|
1663
1663
|
/**
|
|
@@ -1786,10 +1786,10 @@ class HttpInterceptorHandler extends HttpHandler {
|
|
|
1786
1786
|
const taskId = this.pendingTasks.add();
|
|
1787
1787
|
return this.chain(initialRequest, (downstreamRequest) => this.backend.handle(downstreamRequest)).pipe(finalize(() => this.pendingTasks.remove(taskId)));
|
|
1788
1788
|
}
|
|
1789
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
1790
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
1789
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpInterceptorHandler, deps: [{ token: HttpBackend }, { token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1790
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpInterceptorHandler }); }
|
|
1791
1791
|
}
|
|
1792
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
1792
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpInterceptorHandler, decorators: [{
|
|
1793
1793
|
type: Injectable
|
|
1794
1794
|
}], ctorParameters: () => [{ type: HttpBackend }, { type: i0.EnvironmentInjector }] });
|
|
1795
1795
|
|
|
@@ -1989,10 +1989,10 @@ class JsonpClientBackend {
|
|
|
1989
1989
|
foreignDocument ??= this.document.implementation.createHTMLDocument();
|
|
1990
1990
|
foreignDocument.adoptNode(script);
|
|
1991
1991
|
}
|
|
1992
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
1993
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
1992
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1993
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: JsonpClientBackend }); }
|
|
1994
1994
|
}
|
|
1995
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
1995
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: JsonpClientBackend, decorators: [{
|
|
1996
1996
|
type: Injectable
|
|
1997
1997
|
}], ctorParameters: () => [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{
|
|
1998
1998
|
type: Inject,
|
|
@@ -2030,10 +2030,10 @@ class JsonpInterceptor {
|
|
|
2030
2030
|
intercept(initialRequest, next) {
|
|
2031
2031
|
return runInInjectionContext(this.injector, () => jsonpInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
|
|
2032
2032
|
}
|
|
2033
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
2034
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
2033
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: JsonpInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2034
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: JsonpInterceptor }); }
|
|
2035
2035
|
}
|
|
2036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
2036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: JsonpInterceptor, decorators: [{
|
|
2037
2037
|
type: Injectable
|
|
2038
2038
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
2039
2039
|
|
|
@@ -2313,10 +2313,10 @@ class HttpXhrBackend {
|
|
|
2313
2313
|
});
|
|
2314
2314
|
}));
|
|
2315
2315
|
}
|
|
2316
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
2317
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
2316
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpXhrBackend, deps: [{ token: i1.XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2317
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpXhrBackend }); }
|
|
2318
2318
|
}
|
|
2319
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
2319
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpXhrBackend, decorators: [{
|
|
2320
2320
|
type: Injectable
|
|
2321
2321
|
}], ctorParameters: () => [{ type: i1.XhrFactory }] });
|
|
2322
2322
|
|
|
@@ -2365,10 +2365,10 @@ class HttpXsrfCookieExtractor {
|
|
|
2365
2365
|
}
|
|
2366
2366
|
return this.lastToken;
|
|
2367
2367
|
}
|
|
2368
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
2369
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
2368
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2369
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpXsrfCookieExtractor }); }
|
|
2370
2370
|
}
|
|
2371
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
2371
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{
|
|
2372
2372
|
type: Injectable
|
|
2373
2373
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
2374
2374
|
type: Inject,
|
|
@@ -2411,10 +2411,10 @@ class HttpXsrfInterceptor {
|
|
|
2411
2411
|
intercept(initialRequest, next) {
|
|
2412
2412
|
return runInInjectionContext(this.injector, () => xsrfInterceptorFn(initialRequest, (downstreamRequest) => next.handle(downstreamRequest)));
|
|
2413
2413
|
}
|
|
2414
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
2415
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
2414
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: i0.EnvironmentInjector }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
2415
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpXsrfInterceptor }); }
|
|
2416
2416
|
}
|
|
2417
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
2417
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{
|
|
2418
2418
|
type: Injectable
|
|
2419
2419
|
}], ctorParameters: () => [{ type: i0.EnvironmentInjector }] });
|
|
2420
2420
|
|
|
@@ -2682,9 +2682,9 @@ class HttpClientXsrfModule {
|
|
|
2682
2682
|
providers: withXsrfConfiguration(options).ɵproviders,
|
|
2683
2683
|
};
|
|
2684
2684
|
}
|
|
2685
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
2686
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0-
|
|
2687
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0-
|
|
2685
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2686
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientXsrfModule }); }
|
|
2687
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientXsrfModule, providers: [
|
|
2688
2688
|
HttpXsrfInterceptor,
|
|
2689
2689
|
{ provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
|
|
2690
2690
|
{ provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
|
|
@@ -2695,7 +2695,7 @@ class HttpClientXsrfModule {
|
|
|
2695
2695
|
{ provide: XSRF_ENABLED, useValue: true },
|
|
2696
2696
|
] }); }
|
|
2697
2697
|
}
|
|
2698
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
2698
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
|
|
2699
2699
|
type: NgModule,
|
|
2700
2700
|
args: [{
|
|
2701
2701
|
providers: [
|
|
@@ -2720,11 +2720,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-next.0",
|
|
|
2720
2720
|
* @publicApi
|
|
2721
2721
|
*/
|
|
2722
2722
|
class HttpClientModule {
|
|
2723
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
2724
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0-
|
|
2725
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0-
|
|
2723
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2724
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientModule }); }
|
|
2725
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientModule, providers: [provideHttpClient(withInterceptorsFromDi())] }); }
|
|
2726
2726
|
}
|
|
2727
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
2727
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientModule, decorators: [{
|
|
2728
2728
|
type: NgModule,
|
|
2729
2729
|
args: [{
|
|
2730
2730
|
/**
|
|
@@ -2743,11 +2743,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-next.0",
|
|
|
2743
2743
|
* @publicApi
|
|
2744
2744
|
*/
|
|
2745
2745
|
class HttpClientJsonpModule {
|
|
2746
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
2747
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0-
|
|
2748
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0-
|
|
2746
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2747
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientJsonpModule }); }
|
|
2748
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientJsonpModule, providers: [withJsonpSupport().ɵproviders] }); }
|
|
2749
2749
|
}
|
|
2750
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
2750
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
|
|
2751
2751
|
type: NgModule,
|
|
2752
2752
|
args: [{
|
|
2753
2753
|
providers: [withJsonpSupport().ɵproviders],
|
package/fesm2022/testing.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.3.0-
|
|
2
|
+
* @license Angular v17.3.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -14,10 +14,10 @@ import { Subject } from 'rxjs';
|
|
|
14
14
|
* implementations.
|
|
15
15
|
*/
|
|
16
16
|
class PlatformNavigation {
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
18
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
17
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: PlatformNavigation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
18
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: PlatformNavigation, providedIn: 'platform', useFactory: () => window.navigation }); }
|
|
19
19
|
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: PlatformNavigation, decorators: [{
|
|
21
21
|
type: Injectable,
|
|
22
22
|
args: [{ providedIn: 'platform', useFactory: () => window.navigation }]
|
|
23
23
|
}] });
|
|
@@ -888,10 +888,10 @@ class MockPlatformLocation {
|
|
|
888
888
|
});
|
|
889
889
|
}
|
|
890
890
|
}
|
|
891
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
892
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
891
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: MockPlatformLocation, deps: [{ token: MOCK_PLATFORM_LOCATION_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
892
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: MockPlatformLocation }); }
|
|
893
893
|
}
|
|
894
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
894
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: MockPlatformLocation, decorators: [{
|
|
895
895
|
type: Injectable
|
|
896
896
|
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
897
897
|
type: Inject,
|
|
@@ -962,10 +962,10 @@ class FakeNavigationPlatformLocation {
|
|
|
962
962
|
getState() {
|
|
963
963
|
return this._platformNavigation.currentEntry.getHistoryState();
|
|
964
964
|
}
|
|
965
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
966
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
965
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: FakeNavigationPlatformLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
966
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: FakeNavigationPlatformLocation }); }
|
|
967
967
|
}
|
|
968
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: FakeNavigationPlatformLocation, decorators: [{
|
|
969
969
|
type: Injectable
|
|
970
970
|
}], ctorParameters: () => [] });
|
|
971
971
|
|
|
@@ -1137,10 +1137,10 @@ class SpyLocation {
|
|
|
1137
1137
|
this._history.push(new LocationState(path, query, state));
|
|
1138
1138
|
this._historyIndex = this._history.length - 1;
|
|
1139
1139
|
}
|
|
1140
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
1141
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
1140
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: SpyLocation, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1141
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: SpyLocation }); }
|
|
1142
1142
|
}
|
|
1143
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
1143
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: SpyLocation, decorators: [{
|
|
1144
1144
|
type: Injectable
|
|
1145
1145
|
}] });
|
|
1146
1146
|
class LocationState {
|
|
@@ -1219,10 +1219,10 @@ class MockLocationStrategy extends LocationStrategy {
|
|
|
1219
1219
|
getState() {
|
|
1220
1220
|
return this.stateChanges[(this.stateChanges.length || 1) - 1];
|
|
1221
1221
|
}
|
|
1222
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
1223
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-
|
|
1222
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: MockLocationStrategy, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1223
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: MockLocationStrategy }); }
|
|
1224
1224
|
}
|
|
1225
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
1225
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: MockLocationStrategy, decorators: [{
|
|
1226
1226
|
type: Injectable
|
|
1227
1227
|
}], ctorParameters: () => [] });
|
|
1228
1228
|
class _MockPopStateEvent {
|
package/fesm2022/upgrade.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v17.3.0-
|
|
2
|
+
* @license Angular v17.3.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -841,11 +841,11 @@ class LocationUpgradeModule {
|
|
|
841
841
|
],
|
|
842
842
|
};
|
|
843
843
|
}
|
|
844
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-
|
|
845
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0-
|
|
846
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0-
|
|
844
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: LocationUpgradeModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
845
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "17.3.0-rc.0", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] }); }
|
|
846
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: LocationUpgradeModule, imports: [CommonModule] }); }
|
|
847
847
|
}
|
|
848
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-
|
|
848
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.0-rc.0", ngImport: i0, type: LocationUpgradeModule, decorators: [{
|
|
849
849
|
type: NgModule,
|
|
850
850
|
args: [{ imports: [CommonModule] }]
|
|
851
851
|
}] });
|
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 v17.3.0-
|
|
2
|
+
* @license Angular v17.3.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -89,6 +89,7 @@ export declare const APP_BASE_HREF: InjectionToken<string>;
|
|
|
89
89
|
export declare class AsyncPipe implements OnDestroy, PipeTransform {
|
|
90
90
|
private _ref;
|
|
91
91
|
private _latestValue;
|
|
92
|
+
private markForCheckOnValueUpdate;
|
|
92
93
|
private _subscription;
|
|
93
94
|
private _obj;
|
|
94
95
|
private _strategy;
|
|
@@ -900,7 +901,7 @@ export declare function getLocaleNumberFormat(locale: string, type: NumberFormat
|
|
|
900
901
|
/**
|
|
901
902
|
* Retrieves a localized number symbol that can be used to replace placeholders in number formats.
|
|
902
903
|
* @param locale The locale code.
|
|
903
|
-
* @param symbol The symbol to localize.
|
|
904
|
+
* @param symbol The symbol to localize. Must be one of `NumberSymbol`.
|
|
904
905
|
* @returns The character for the localized symbol.
|
|
905
906
|
* @see {@link NumberSymbol}
|
|
906
907
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
@@ -2823,81 +2824,84 @@ export declare enum NumberFormatStyle {
|
|
|
2823
2824
|
* @see [Internationalization (i18n) Guide](/guide/i18n-overview)
|
|
2824
2825
|
*
|
|
2825
2826
|
* @publicApi
|
|
2827
|
+
* @object-literal-as-enum
|
|
2826
2828
|
*/
|
|
2827
|
-
export declare
|
|
2829
|
+
export declare const NumberSymbol: {
|
|
2828
2830
|
/**
|
|
2829
2831
|
* Decimal separator.
|
|
2830
2832
|
* For `en-US`, the dot character.
|
|
2831
2833
|
* Example: 2,345`.`67
|
|
2832
2834
|
*/
|
|
2833
|
-
Decimal
|
|
2835
|
+
readonly Decimal: 0;
|
|
2834
2836
|
/**
|
|
2835
2837
|
* Grouping separator, typically for thousands.
|
|
2836
2838
|
* For `en-US`, the comma character.
|
|
2837
2839
|
* Example: 2`,`345.67
|
|
2838
2840
|
*/
|
|
2839
|
-
Group
|
|
2841
|
+
readonly Group: 1;
|
|
2840
2842
|
/**
|
|
2841
2843
|
* List-item separator.
|
|
2842
2844
|
* Example: "one, two, and three"
|
|
2843
2845
|
*/
|
|
2844
|
-
List
|
|
2846
|
+
readonly List: 2;
|
|
2845
2847
|
/**
|
|
2846
2848
|
* Sign for percentage (out of 100).
|
|
2847
2849
|
* Example: 23.4%
|
|
2848
2850
|
*/
|
|
2849
|
-
PercentSign
|
|
2851
|
+
readonly PercentSign: 3;
|
|
2850
2852
|
/**
|
|
2851
2853
|
* Sign for positive numbers.
|
|
2852
2854
|
* Example: +23
|
|
2853
2855
|
*/
|
|
2854
|
-
PlusSign
|
|
2856
|
+
readonly PlusSign: 4;
|
|
2855
2857
|
/**
|
|
2856
2858
|
* Sign for negative numbers.
|
|
2857
2859
|
* Example: -23
|
|
2858
2860
|
*/
|
|
2859
|
-
MinusSign
|
|
2861
|
+
readonly MinusSign: 5;
|
|
2860
2862
|
/**
|
|
2861
2863
|
* Computer notation for exponential value (n times a power of 10).
|
|
2862
2864
|
* Example: 1.2E3
|
|
2863
2865
|
*/
|
|
2864
|
-
Exponential
|
|
2866
|
+
readonly Exponential: 6;
|
|
2865
2867
|
/**
|
|
2866
2868
|
* Human-readable format of exponential.
|
|
2867
2869
|
* Example: 1.2x103
|
|
2868
2870
|
*/
|
|
2869
|
-
SuperscriptingExponent
|
|
2871
|
+
readonly SuperscriptingExponent: 7;
|
|
2870
2872
|
/**
|
|
2871
2873
|
* Sign for permille (out of 1000).
|
|
2872
2874
|
* Example: 23.4‰
|
|
2873
2875
|
*/
|
|
2874
|
-
PerMille
|
|
2876
|
+
readonly PerMille: 8;
|
|
2875
2877
|
/**
|
|
2876
2878
|
* Infinity, can be used with plus and minus.
|
|
2877
2879
|
* Example: ∞, +∞, -∞
|
|
2878
2880
|
*/
|
|
2879
|
-
Infinity
|
|
2881
|
+
readonly Infinity: 9;
|
|
2880
2882
|
/**
|
|
2881
2883
|
* Not a number.
|
|
2882
2884
|
* Example: NaN
|
|
2883
2885
|
*/
|
|
2884
|
-
NaN
|
|
2886
|
+
readonly NaN: 10;
|
|
2885
2887
|
/**
|
|
2886
2888
|
* Symbol used between time units.
|
|
2887
2889
|
* Example: 10:52
|
|
2888
2890
|
*/
|
|
2889
|
-
TimeSeparator
|
|
2891
|
+
readonly TimeSeparator: 11;
|
|
2890
2892
|
/**
|
|
2891
2893
|
* Decimal separator for currency values (fallback to `Decimal`).
|
|
2892
2894
|
* Example: $2,345.67
|
|
2893
2895
|
*/
|
|
2894
|
-
CurrencyDecimal
|
|
2896
|
+
readonly CurrencyDecimal: 12;
|
|
2895
2897
|
/**
|
|
2896
2898
|
* Group separator for currency values (fallback to `Group`).
|
|
2897
2899
|
* Example: $2,345.67
|
|
2898
2900
|
*/
|
|
2899
|
-
CurrencyGroup
|
|
2900
|
-
}
|
|
2901
|
+
readonly CurrencyGroup: 13;
|
|
2902
|
+
};
|
|
2903
|
+
|
|
2904
|
+
export declare type NumberSymbol = (typeof NumberSymbol)[keyof typeof NumberSymbol];
|
|
2901
2905
|
|
|
2902
2906
|
/**
|
|
2903
2907
|
* @description
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/common",
|
|
3
|
-
"version": "17.3.0-
|
|
3
|
+
"version": "17.3.0-rc.0",
|
|
4
4
|
"description": "Angular - commonly needed directives and services",
|
|
5
5
|
"author": "angular",
|
|
6
6
|
"license": "MIT",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
"peerDependencies": {
|
|
57
|
-
"@angular/core": "17.3.0-
|
|
57
|
+
"@angular/core": "17.3.0-rc.0",
|
|
58
58
|
"rxjs": "^6.5.3 || ^7.4.0"
|
|
59
59
|
},
|
|
60
60
|
"repository": {
|
package/testing/index.d.ts
CHANGED
package/upgrade/index.d.ts
CHANGED