@angular/common 14.0.0-next.4 → 14.0.0-next.5
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.d.ts +6 -2
- package/esm2020/http/src/client.mjs +3 -3
- package/esm2020/http/src/interceptor.mjs +3 -3
- package/esm2020/http/src/jsonp.mjs +24 -27
- 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 +5 -11
- 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_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 +16 -8
- package/esm2020/src/i18n/localization.mjs +14 -4
- 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 +121 -108
- package/fesm2015/common.mjs.map +1 -1
- package/fesm2015/http/testing.mjs +8 -8
- package/fesm2015/http.mjs +54 -57
- package/fesm2015/http.mjs.map +1 -1
- package/fesm2015/testing.mjs +10 -10
- package/fesm2015/upgrade.mjs +5 -5
- package/fesm2020/common.mjs +121 -108
- package/fesm2020/common.mjs.map +1 -1
- package/fesm2020/http/testing.mjs +8 -8
- package/fesm2020/http.mjs +54 -57
- package/fesm2020/http.mjs.map +1 -1
- package/fesm2020/testing.mjs +10 -10
- package/fesm2020/upgrade.mjs +5 -5
- package/http/http.d.ts +2 -1
- package/http/testing/testing.d.ts +1 -1
- package/package.json +2 -2
- package/testing/testing.d.ts +1 -1
- package/upgrade/upgrade.d.ts +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.0-next.
|
|
2
|
+
* @license Angular v14.0.0-next.5
|
|
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.0.0-next.
|
|
334
|
-
HttpClientTestingBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
335
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
333
|
+
HttpClientTestingBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientTestingBackend, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
334
|
+
HttpClientTestingBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientTestingBackend });
|
|
335
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientTestingBackend, decorators: [{
|
|
336
336
|
type: Injectable
|
|
337
337
|
}] });
|
|
338
338
|
function describeRequest(testRequest) {
|
|
@@ -357,16 +357,16 @@ function describeRequest(testRequest) {
|
|
|
357
357
|
*/
|
|
358
358
|
class HttpClientTestingModule {
|
|
359
359
|
}
|
|
360
|
-
HttpClientTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
361
|
-
HttpClientTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
362
|
-
HttpClientTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
360
|
+
HttpClientTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
361
|
+
HttpClientTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientTestingModule, imports: [HttpClientModule] });
|
|
362
|
+
HttpClientTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientTestingModule, providers: [
|
|
363
363
|
HttpClientTestingBackend,
|
|
364
364
|
{ provide: HttpBackend, useExisting: HttpClientTestingBackend },
|
|
365
365
|
{ provide: HttpTestingController, useExisting: HttpClientTestingBackend },
|
|
366
366
|
], imports: [[
|
|
367
367
|
HttpClientModule,
|
|
368
368
|
]] });
|
|
369
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
369
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientTestingModule, decorators: [{
|
|
370
370
|
type: NgModule,
|
|
371
371
|
args: [{
|
|
372
372
|
imports: [
|
package/fesm2015/http.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.0-next.
|
|
2
|
+
* @license Angular v14.0.0-next.5
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -1399,9 +1399,9 @@ class HttpClient {
|
|
|
1399
1399
|
return this.request('PUT', url, addBody(options, body));
|
|
1400
1400
|
}
|
|
1401
1401
|
}
|
|
1402
|
-
HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1403
|
-
HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1404
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1402
|
+
HttpClient.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClient, deps: [{ token: HttpHandler }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1403
|
+
HttpClient.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClient });
|
|
1404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClient, decorators: [{
|
|
1405
1405
|
type: Injectable
|
|
1406
1406
|
}], ctorParameters: function () { return [{ type: HttpHandler }]; } });
|
|
1407
1407
|
|
|
@@ -1438,9 +1438,9 @@ class NoopInterceptor {
|
|
|
1438
1438
|
return next.handle(req);
|
|
1439
1439
|
}
|
|
1440
1440
|
}
|
|
1441
|
-
NoopInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1442
|
-
NoopInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1443
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1441
|
+
NoopInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NoopInterceptor, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1442
|
+
NoopInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NoopInterceptor });
|
|
1443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: NoopInterceptor, decorators: [{
|
|
1444
1444
|
type: Injectable
|
|
1445
1445
|
}] });
|
|
1446
1446
|
|
|
@@ -1456,6 +1456,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.4",
|
|
|
1456
1456
|
// from that. The next id to be assigned is tracked in a global variable here that
|
|
1457
1457
|
// is shared among all applications on the page.
|
|
1458
1458
|
let nextRequestId = 0;
|
|
1459
|
+
/**
|
|
1460
|
+
* When a pending <script> is unsubscribed we'll move it to this document, so it won't be
|
|
1461
|
+
* executed.
|
|
1462
|
+
*/
|
|
1463
|
+
let foreignDocument;
|
|
1459
1464
|
// Error text given when a JSONP script is injected, but doesn't invoke the callback
|
|
1460
1465
|
// passed in its URL.
|
|
1461
1466
|
const JSONP_ERR_NO_CALLBACK = 'JSONP injected script did not invoke callback.';
|
|
@@ -1526,19 +1531,12 @@ class JsonpClientBackend {
|
|
|
1526
1531
|
let body = null;
|
|
1527
1532
|
// Whether the response callback has been called.
|
|
1528
1533
|
let finished = false;
|
|
1529
|
-
// Whether the request has been cancelled (and thus any other callbacks)
|
|
1530
|
-
// should be ignored.
|
|
1531
|
-
let cancelled = false;
|
|
1532
1534
|
// Set the response callback in this.callbackMap (which will be the window
|
|
1533
1535
|
// object in the browser. The script being loaded via the <script> tag will
|
|
1534
1536
|
// eventually call this callback.
|
|
1535
1537
|
this.callbackMap[callback] = (data) => {
|
|
1536
1538
|
// Data has been received from the JSONP script. Firstly, delete this callback.
|
|
1537
1539
|
delete this.callbackMap[callback];
|
|
1538
|
-
// Next, make sure the request wasn't cancelled in the meantime.
|
|
1539
|
-
if (cancelled) {
|
|
1540
|
-
return;
|
|
1541
|
-
}
|
|
1542
1540
|
// Set state to indicate data was received.
|
|
1543
1541
|
body = data;
|
|
1544
1542
|
finished = true;
|
|
@@ -1560,10 +1558,6 @@ class JsonpClientBackend {
|
|
|
1560
1558
|
// If something went wrong, onLoad() may run without the response callback
|
|
1561
1559
|
// having been invoked.
|
|
1562
1560
|
const onLoad = (event) => {
|
|
1563
|
-
// Do nothing if the request has been cancelled.
|
|
1564
|
-
if (cancelled) {
|
|
1565
|
-
return;
|
|
1566
|
-
}
|
|
1567
1561
|
// We wrap it in an extra Promise, to ensure the microtask
|
|
1568
1562
|
// is scheduled after the loaded endpoint has executed any potential microtask itself,
|
|
1569
1563
|
// which is not guaranteed in Internet Explorer and EdgeHTML. See issue #39496
|
|
@@ -1598,10 +1592,6 @@ class JsonpClientBackend {
|
|
|
1598
1592
|
// a Javascript error. It emits the error via the Observable error channel as
|
|
1599
1593
|
// a HttpErrorResponse.
|
|
1600
1594
|
const onError = (error) => {
|
|
1601
|
-
// If the request was already cancelled, no need to emit anything.
|
|
1602
|
-
if (cancelled) {
|
|
1603
|
-
return;
|
|
1604
|
-
}
|
|
1605
1595
|
cleanup();
|
|
1606
1596
|
// Wrap the error in a HttpErrorResponse.
|
|
1607
1597
|
observer.error(new HttpErrorResponse({
|
|
@@ -1620,20 +1610,27 @@ class JsonpClientBackend {
|
|
|
1620
1610
|
observer.next({ type: HttpEventType.Sent });
|
|
1621
1611
|
// Cancellation handler.
|
|
1622
1612
|
return () => {
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
node.removeEventListener('load', onLoad);
|
|
1627
|
-
node.removeEventListener('error', onError);
|
|
1613
|
+
if (!finished) {
|
|
1614
|
+
this.removeListeners(node);
|
|
1615
|
+
}
|
|
1628
1616
|
// And finally, clean up the page.
|
|
1629
1617
|
cleanup();
|
|
1630
1618
|
};
|
|
1631
1619
|
});
|
|
1632
1620
|
}
|
|
1621
|
+
removeListeners(script) {
|
|
1622
|
+
// Issue #34818
|
|
1623
|
+
// Changing <script>'s ownerDocument will prevent it from execution.
|
|
1624
|
+
// https://html.spec.whatwg.org/multipage/scripting.html#execute-the-script-block
|
|
1625
|
+
if (!foreignDocument) {
|
|
1626
|
+
foreignDocument = this.document.implementation.createHTMLDocument();
|
|
1627
|
+
}
|
|
1628
|
+
foreignDocument.adoptNode(script);
|
|
1629
|
+
}
|
|
1633
1630
|
}
|
|
1634
|
-
JsonpClientBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1635
|
-
JsonpClientBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1636
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1631
|
+
JsonpClientBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: JsonpClientBackend, deps: [{ token: JsonpCallbackContext }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1632
|
+
JsonpClientBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: JsonpClientBackend });
|
|
1633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: JsonpClientBackend, decorators: [{
|
|
1637
1634
|
type: Injectable
|
|
1638
1635
|
}], ctorParameters: function () {
|
|
1639
1636
|
return [{ type: JsonpCallbackContext }, { type: undefined, decorators: [{
|
|
@@ -1668,9 +1665,9 @@ class JsonpInterceptor {
|
|
|
1668
1665
|
return next.handle(req);
|
|
1669
1666
|
}
|
|
1670
1667
|
}
|
|
1671
|
-
JsonpInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1672
|
-
JsonpInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1673
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1668
|
+
JsonpInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: JsonpInterceptor, deps: [{ token: JsonpClientBackend }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1669
|
+
JsonpInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: JsonpInterceptor });
|
|
1670
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: JsonpInterceptor, decorators: [{
|
|
1674
1671
|
type: Injectable
|
|
1675
1672
|
}], ctorParameters: function () { return [{ type: JsonpClientBackend }]; } });
|
|
1676
1673
|
|
|
@@ -1939,9 +1936,9 @@ class HttpXhrBackend {
|
|
|
1939
1936
|
});
|
|
1940
1937
|
}
|
|
1941
1938
|
}
|
|
1942
|
-
HttpXhrBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1943
|
-
HttpXhrBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1944
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1939
|
+
HttpXhrBackend.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpXhrBackend, deps: [{ token: i1.XhrFactory }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1940
|
+
HttpXhrBackend.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpXhrBackend });
|
|
1941
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpXhrBackend, decorators: [{
|
|
1945
1942
|
type: Injectable
|
|
1946
1943
|
}], ctorParameters: function () { return [{ type: i1.XhrFactory }]; } });
|
|
1947
1944
|
|
|
@@ -1989,9 +1986,9 @@ class HttpXsrfCookieExtractor {
|
|
|
1989
1986
|
return this.lastToken;
|
|
1990
1987
|
}
|
|
1991
1988
|
}
|
|
1992
|
-
HttpXsrfCookieExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1993
|
-
HttpXsrfCookieExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1994
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
1989
|
+
HttpXsrfCookieExtractor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpXsrfCookieExtractor, deps: [{ token: DOCUMENT }, { token: PLATFORM_ID }, { token: XSRF_COOKIE_NAME }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1990
|
+
HttpXsrfCookieExtractor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpXsrfCookieExtractor });
|
|
1991
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpXsrfCookieExtractor, decorators: [{
|
|
1995
1992
|
type: Injectable
|
|
1996
1993
|
}], ctorParameters: function () {
|
|
1997
1994
|
return [{ type: undefined, decorators: [{
|
|
@@ -2031,9 +2028,9 @@ class HttpXsrfInterceptor {
|
|
|
2031
2028
|
return next.handle(req);
|
|
2032
2029
|
}
|
|
2033
2030
|
}
|
|
2034
|
-
HttpXsrfInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2035
|
-
HttpXsrfInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2036
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2031
|
+
HttpXsrfInterceptor.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpXsrfInterceptor, deps: [{ token: HttpXsrfTokenExtractor }, { token: XSRF_HEADER_NAME }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2032
|
+
HttpXsrfInterceptor.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpXsrfInterceptor });
|
|
2033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpXsrfInterceptor, decorators: [{
|
|
2037
2034
|
type: Injectable
|
|
2038
2035
|
}], ctorParameters: function () {
|
|
2039
2036
|
return [{ type: HttpXsrfTokenExtractor }, { type: undefined, decorators: [{
|
|
@@ -2072,9 +2069,9 @@ class HttpInterceptingHandler {
|
|
|
2072
2069
|
return this.chain.handle(req);
|
|
2073
2070
|
}
|
|
2074
2071
|
}
|
|
2075
|
-
HttpInterceptingHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2076
|
-
HttpInterceptingHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2077
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2072
|
+
HttpInterceptingHandler.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpInterceptingHandler, deps: [{ token: HttpBackend }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2073
|
+
HttpInterceptingHandler.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpInterceptingHandler });
|
|
2074
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpInterceptingHandler, decorators: [{
|
|
2078
2075
|
type: Injectable
|
|
2079
2076
|
}], ctorParameters: function () { return [{ type: HttpBackend }, { type: i0.Injector }]; } });
|
|
2080
2077
|
/**
|
|
@@ -2147,16 +2144,16 @@ class HttpClientXsrfModule {
|
|
|
2147
2144
|
};
|
|
2148
2145
|
}
|
|
2149
2146
|
}
|
|
2150
|
-
HttpClientXsrfModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2151
|
-
HttpClientXsrfModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2152
|
-
HttpClientXsrfModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2147
|
+
HttpClientXsrfModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientXsrfModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2148
|
+
HttpClientXsrfModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientXsrfModule });
|
|
2149
|
+
HttpClientXsrfModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientXsrfModule, providers: [
|
|
2153
2150
|
HttpXsrfInterceptor,
|
|
2154
2151
|
{ provide: HTTP_INTERCEPTORS, useExisting: HttpXsrfInterceptor, multi: true },
|
|
2155
2152
|
{ provide: HttpXsrfTokenExtractor, useClass: HttpXsrfCookieExtractor },
|
|
2156
2153
|
{ provide: XSRF_COOKIE_NAME, useValue: 'XSRF-TOKEN' },
|
|
2157
2154
|
{ provide: XSRF_HEADER_NAME, useValue: 'X-XSRF-TOKEN' },
|
|
2158
2155
|
] });
|
|
2159
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2156
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientXsrfModule, decorators: [{
|
|
2160
2157
|
type: NgModule,
|
|
2161
2158
|
args: [{
|
|
2162
2159
|
providers: [
|
|
@@ -2179,9 +2176,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.4",
|
|
|
2179
2176
|
*/
|
|
2180
2177
|
class HttpClientModule {
|
|
2181
2178
|
}
|
|
2182
|
-
HttpClientModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2183
|
-
HttpClientModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2184
|
-
HttpClientModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2179
|
+
HttpClientModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2180
|
+
HttpClientModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientModule, imports: [HttpClientXsrfModule] });
|
|
2181
|
+
HttpClientModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientModule, providers: [
|
|
2185
2182
|
HttpClient,
|
|
2186
2183
|
{ provide: HttpHandler, useClass: HttpInterceptingHandler },
|
|
2187
2184
|
HttpXhrBackend,
|
|
@@ -2192,7 +2189,7 @@ HttpClientModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", versio
|
|
|
2192
2189
|
headerName: 'X-XSRF-TOKEN',
|
|
2193
2190
|
}),
|
|
2194
2191
|
]] });
|
|
2195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2192
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientModule, decorators: [{
|
|
2196
2193
|
type: NgModule,
|
|
2197
2194
|
args: [{
|
|
2198
2195
|
/**
|
|
@@ -2229,14 +2226,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.4",
|
|
|
2229
2226
|
*/
|
|
2230
2227
|
class HttpClientJsonpModule {
|
|
2231
2228
|
}
|
|
2232
|
-
HttpClientJsonpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2233
|
-
HttpClientJsonpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2234
|
-
HttpClientJsonpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2229
|
+
HttpClientJsonpModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientJsonpModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2230
|
+
HttpClientJsonpModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientJsonpModule });
|
|
2231
|
+
HttpClientJsonpModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientJsonpModule, providers: [
|
|
2235
2232
|
JsonpClientBackend,
|
|
2236
2233
|
{ provide: JsonpCallbackContext, useFactory: jsonpCallbackContext },
|
|
2237
2234
|
{ provide: HTTP_INTERCEPTORS, useClass: JsonpInterceptor, multi: true },
|
|
2238
2235
|
] });
|
|
2239
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
2236
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.5", ngImport: i0, type: HttpClientJsonpModule, decorators: [{
|
|
2240
2237
|
type: NgModule,
|
|
2241
2238
|
args: [{
|
|
2242
2239
|
providers: [
|