@angular/platform-server 15.1.0-next.3 → 15.1.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/esm2020/src/domino_adapter.mjs +2 -2
- package/esm2020/src/http.mjs +3 -3
- package/esm2020/src/location.mjs +3 -3
- package/esm2020/src/platform_state.mjs +3 -3
- package/esm2020/src/server.mjs +4 -4
- package/esm2020/src/server_events.mjs +3 -3
- package/esm2020/src/server_renderer.mjs +3 -3
- package/esm2020/src/styles_host.mjs +3 -3
- package/esm2020/src/transfer_state.mjs +4 -4
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/server.mjs +4 -4
- package/fesm2015/init.mjs +8 -25
- package/fesm2015/init.mjs.map +1 -1
- package/fesm2015/platform-server.mjs +34 -141
- package/fesm2015/platform-server.mjs.map +1 -1
- package/fesm2015/testing.mjs +12 -29
- package/fesm2015/testing.mjs.map +1 -1
- package/fesm2020/init.mjs +8 -25
- package/fesm2020/init.mjs.map +1 -1
- package/fesm2020/platform-server.mjs +34 -141
- package/fesm2020/platform-server.mjs.map +1 -1
- package/fesm2020/testing.mjs +12 -29
- package/fesm2020/testing.mjs.map +1 -1
- package/index.d.ts +1 -1
- package/init/index.d.ts +1 -1
- package/package.json +7 -7
- package/testing/index.d.ts +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { ɵsetRootDomAdapter as setRootDomAdapter } from '@angular/common';
|
|
9
9
|
import { ɵBrowserDomAdapter as BrowserDomAdapter } from '@angular/platform-browser';
|
|
10
|
-
import
|
|
10
|
+
import domino from 'domino';
|
|
11
11
|
export function setDomTypes() {
|
|
12
12
|
// Make all Domino types available in the global env.
|
|
13
13
|
Object.assign(global, domino.impl);
|
|
@@ -87,4 +87,4 @@ export class DominoAdapter extends BrowserDomAdapter {
|
|
|
87
87
|
throw new Error('getCookie has not been implemented');
|
|
88
88
|
}
|
|
89
89
|
}
|
|
90
|
-
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byB0aGUgd2luZG93IGFsc28uXG4gICAgY29uc3QgZG9jID0gZWwub3duZXJEb2N1bWVudCB8fCBlbDtcbiAgICBjb25zdCB3aW4gPSAoZG9jIGFzIGFueSkuZGVmYXVsdFZpZXc7XG4gICAgaWYgKHdpbikge1xuICAgICAgd2luLmRpc3BhdGNoRXZlbnQoZXZ0KTtcbiAgICB9XG4gIH1cblxuICBvdmVycmlkZSBnZXRVc2VyQWdlbnQoKTogc3RyaW5nIHtcbiAgICByZXR1cm4gJ0Zha2UgdXNlciBhZ2VudCc7XG4gIH1cblxuICBvdmVycmlkZSBnZXRDb29raWUobmFtZTogc3RyaW5nKTogc3RyaW5nIHtcbiAgICB0aHJvdyBuZXcgRXJyb3IoJ2dldENvb2tpZSBoYXMgbm90IGJlZW4gaW1wbGVtZW50ZWQnKTtcbiAgfVxufVxuIl19
|
package/esm2020/src/http.mjs
CHANGED
|
@@ -19,9 +19,9 @@ export class ServerXhr {
|
|
|
19
19
|
return new xhr2.XMLHttpRequest();
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
ServerXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
23
|
-
ServerXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
24
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
22
|
+
ServerXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
23
|
+
ServerXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerXhr });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerXhr, decorators: [{
|
|
25
25
|
type: Injectable
|
|
26
26
|
}] });
|
|
27
27
|
export class ZoneMacroTaskWrapper {
|
package/esm2020/src/location.mjs
CHANGED
|
@@ -106,9 +106,9 @@ export class ServerPlatformLocation {
|
|
|
106
106
|
return undefined;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
ServerPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
110
|
-
ServerPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
109
|
+
ServerPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerPlatformLocation, deps: [{ token: DOCUMENT }, { token: INITIAL_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
110
|
+
ServerPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerPlatformLocation });
|
|
111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerPlatformLocation, decorators: [{
|
|
112
112
|
type: Injectable
|
|
113
113
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
114
114
|
type: Inject,
|
|
@@ -31,9 +31,9 @@ export class PlatformState {
|
|
|
31
31
|
return this._doc;
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
|
-
PlatformState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
35
|
-
PlatformState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
36
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
34
|
+
PlatformState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: PlatformState, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
35
|
+
PlatformState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: PlatformState });
|
|
36
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: PlatformState, decorators: [{
|
|
37
37
|
type: Injectable
|
|
38
38
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
39
39
|
type: Inject,
|
package/esm2020/src/server.mjs
CHANGED
|
@@ -60,9 +60,9 @@ export const SERVER_RENDER_PROVIDERS = [
|
|
|
60
60
|
*/
|
|
61
61
|
export class ServerModule {
|
|
62
62
|
}
|
|
63
|
-
ServerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
64
|
-
ServerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-
|
|
65
|
-
ServerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-
|
|
63
|
+
ServerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
64
|
+
ServerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerModule, imports: [HttpClientModule, NoopAnimationsModule], exports: [BrowserModule] });
|
|
65
|
+
ServerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerModule, providers: [
|
|
66
66
|
TRANSFER_STATE_SERIALIZATION_PROVIDERS,
|
|
67
67
|
SERVER_RENDER_PROVIDERS,
|
|
68
68
|
SERVER_HTTP_PROVIDERS,
|
|
@@ -70,7 +70,7 @@ ServerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
70
70
|
{ provide: TESTABILITY, useValue: null },
|
|
71
71
|
{ provide: ViewportScroller, useClass: NullViewportScroller },
|
|
72
72
|
], imports: [HttpClientModule, NoopAnimationsModule, BrowserModule] });
|
|
73
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerModule, decorators: [{
|
|
74
74
|
type: NgModule,
|
|
75
75
|
args: [{
|
|
76
76
|
exports: [BrowserModule],
|
|
@@ -28,9 +28,9 @@ export class ServerEventManagerPlugin /* extends EventManagerPlugin which is pri
|
|
|
28
28
|
return this.addEventListener(target, eventName, handler);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
|
-
ServerEventManagerPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
32
|
-
ServerEventManagerPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
33
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
31
|
+
ServerEventManagerPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
32
|
+
ServerEventManagerPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */ });
|
|
33
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */, decorators: [{
|
|
34
34
|
type: Injectable
|
|
35
35
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
36
36
|
type: Inject,
|
|
@@ -50,9 +50,9 @@ export class ServerRendererFactory2 {
|
|
|
50
50
|
begin() { }
|
|
51
51
|
end() { }
|
|
52
52
|
}
|
|
53
|
-
ServerRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
54
|
-
ServerRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
55
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
53
|
+
ServerRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerRendererFactory2, deps: [{ token: i1.EventManager }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i1.ɵSharedStylesHost }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
54
|
+
ServerRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerRendererFactory2 });
|
|
55
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerRendererFactory2, decorators: [{
|
|
56
56
|
type: Injectable
|
|
57
57
|
}], ctorParameters: function () { return [{ type: i1.EventManager }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
58
58
|
type: Inject,
|
|
@@ -35,9 +35,9 @@ export class ServerStylesHost extends SharedStylesHost {
|
|
|
35
35
|
this._styleNodes.forEach(styleNode => styleNode.remove());
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
ServerStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
39
|
-
ServerStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
38
|
+
ServerStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerStylesHost, deps: [{ token: DOCUMENT }, { token: ɵTRANSITION_ID, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
39
|
+
ServerStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerStylesHost });
|
|
40
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerStylesHost, decorators: [{
|
|
41
41
|
type: Injectable
|
|
42
42
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
43
43
|
type: Inject,
|
|
@@ -46,10 +46,10 @@ function serializeTransferStateFactory(doc, appId, transferStore) {
|
|
|
46
46
|
*/
|
|
47
47
|
export class ServerTransferStateModule {
|
|
48
48
|
}
|
|
49
|
-
ServerTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
50
|
-
ServerTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-
|
|
51
|
-
ServerTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
49
|
+
ServerTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
50
|
+
ServerTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTransferStateModule });
|
|
51
|
+
ServerTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTransferStateModule });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTransferStateModule, decorators: [{
|
|
53
53
|
type: NgModule,
|
|
54
54
|
args: [{}]
|
|
55
55
|
}] });
|
package/esm2020/src/version.mjs
CHANGED
|
@@ -14,5 +14,5 @@ import { Version } from '@angular/core';
|
|
|
14
14
|
/**
|
|
15
15
|
* @publicApi
|
|
16
16
|
*/
|
|
17
|
-
export const VERSION = new Version('15.1.0-
|
|
17
|
+
export const VERSION = new Version('15.1.0-rc.0');
|
|
18
18
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3BsYXRmb3JtLXNlcnZlci9zcmMvdmVyc2lvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7Ozs7O0dBTUc7QUFFSDs7OztHQUlHO0FBRUgsT0FBTyxFQUFDLE9BQU8sRUFBQyxNQUFNLGVBQWUsQ0FBQztBQUV0Qzs7R0FFRztBQUNILE1BQU0sQ0FBQyxNQUFNLE9BQU8sR0FBRyxJQUFJLE9BQU8sQ0FBQyxtQkFBbUIsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBAbGljZW5zZVxuICogQ29weXJpZ2h0IEdvb2dsZSBMTEMgQWxsIFJpZ2h0cyBSZXNlcnZlZC5cbiAqXG4gKiBVc2Ugb2YgdGhpcyBzb3VyY2UgY29kZSBpcyBnb3Zlcm5lZCBieSBhbiBNSVQtc3R5bGUgbGljZW5zZSB0aGF0IGNhbiBiZVxuICogZm91bmQgaW4gdGhlIExJQ0VOU0UgZmlsZSBhdCBodHRwczovL2FuZ3VsYXIuaW8vbGljZW5zZVxuICovXG5cbi8qKlxuICogQG1vZHVsZVxuICogQGRlc2NyaXB0aW9uXG4gKiBFbnRyeSBwb2ludCBmb3IgYWxsIHB1YmxpYyBBUElzIG9mIHRoZSBwbGF0Zm9ybS1zZXJ2ZXIgcGFja2FnZS5cbiAqL1xuXG5pbXBvcnQge1ZlcnNpb259IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG4vKipcbiAqIEBwdWJsaWNBcGlcbiAqL1xuZXhwb3J0IGNvbnN0IFZFUlNJT04gPSBuZXcgVmVyc2lvbignMC4wLjAtUExBQ0VIT0xERVInKTtcbiJdfQ==
|
|
@@ -23,10 +23,10 @@ export const platformServerTesting = createPlatformFactory(platformCoreDynamicTe
|
|
|
23
23
|
*/
|
|
24
24
|
export class ServerTestingModule {
|
|
25
25
|
}
|
|
26
|
-
ServerTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
27
|
-
ServerTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-
|
|
28
|
-
ServerTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
26
|
+
ServerTestingModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTestingModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
27
|
+
ServerTestingModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTestingModule, imports: [NoopAnimationsModule], exports: [BrowserDynamicTestingModule] });
|
|
28
|
+
ServerTestingModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTestingModule, providers: SERVER_RENDER_PROVIDERS, imports: [NoopAnimationsModule, BrowserDynamicTestingModule] });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTestingModule, decorators: [{
|
|
30
30
|
type: NgModule,
|
|
31
31
|
args: [{
|
|
32
32
|
exports: [BrowserDynamicTestingModule],
|
package/fesm2015/init.mjs
CHANGED
|
@@ -1,18 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.1.0-
|
|
2
|
+
* @license Angular v15.1.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { ɵsetDomTypes } from '@angular/platform-server';
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* @license
|
|
11
|
-
* Copyright Google LLC All Rights Reserved.
|
|
12
|
-
*
|
|
13
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
14
|
-
* found in the LICENSE file at https://angular.io/license
|
|
15
|
-
*/
|
|
16
9
|
/**
|
|
17
10
|
* Apply the necessary shims to make DOM globals (such as `Element`, `HTMLElement`, etc.) available
|
|
18
11
|
* on the environment.
|
|
@@ -22,29 +15,19 @@ function applyShims() {
|
|
|
22
15
|
}
|
|
23
16
|
|
|
24
17
|
/**
|
|
25
|
-
* @
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
29
|
-
* found in the LICENSE file at https://angular.io/license
|
|
18
|
+
* @module
|
|
19
|
+
* @description
|
|
20
|
+
* Entry point for all initialization APIs of the platform-server package.
|
|
30
21
|
*/
|
|
31
22
|
applyShims();
|
|
32
23
|
|
|
33
24
|
/**
|
|
34
|
-
* @
|
|
35
|
-
*
|
|
36
|
-
*
|
|
37
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
38
|
-
* found in the LICENSE file at https://angular.io/license
|
|
25
|
+
* @module
|
|
26
|
+
* @description
|
|
27
|
+
* Entry point for all public APIs of this package.
|
|
39
28
|
*/
|
|
40
29
|
|
|
41
|
-
|
|
42
|
-
* @license
|
|
43
|
-
* Copyright Google LLC All Rights Reserved.
|
|
44
|
-
*
|
|
45
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
46
|
-
* found in the LICENSE file at https://angular.io/license
|
|
47
|
-
*/
|
|
30
|
+
// This file is not used to build this module. It is only used during editing
|
|
48
31
|
|
|
49
32
|
/**
|
|
50
33
|
* Generated bundle index. Do not edit.
|
package/fesm2015/init.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"init.mjs","sources":["../../../../../../packages/platform-server/init/src/shims.ts","../../../../../../packages/platform-server/init/src/init.ts","../../../../../../packages/platform-server/init/public_api.ts","../../../../../../packages/platform-server/init/index.ts","../../../../../../packages/platform-server/init/init.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {ɵsetDomTypes} from '@angular/platform-server';\n\n/**\n * Apply the necessary shims to make DOM globals (such as `Element`, `HTMLElement`, etc.) available\n * on the environment.\n */\nexport function applyShims(): void {\n ɵsetDomTypes();\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all initialization APIs of the platform-server package.\n */\n\nimport {applyShims} from './shims';\n\napplyShims();\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\nexport * from './src/init';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// This file is not used to build this module. It is only used during editing\n// by the TypeScript language service and during build for verifcation. `ngc`\n// replaces this file with production index.ts when it rewrites private symbol\n// names.\n\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"init.mjs","sources":["../../../../../../packages/platform-server/init/src/shims.ts","../../../../../../packages/platform-server/init/src/init.ts","../../../../../../packages/platform-server/init/public_api.ts","../../../../../../packages/platform-server/init/index.ts","../../../../../../packages/platform-server/init/init.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\nimport {ɵsetDomTypes} from '@angular/platform-server';\n\n/**\n * Apply the necessary shims to make DOM globals (such as `Element`, `HTMLElement`, etc.) available\n * on the environment.\n */\nexport function applyShims(): void {\n ɵsetDomTypes();\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all initialization APIs of the platform-server package.\n */\n\nimport {applyShims} from './shims';\n\napplyShims();\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n/**\n * @module\n * @description\n * Entry point for all public APIs of this package.\n */\nexport * from './src/init';\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\n// This file is not used to build this module. It is only used during editing\n// by the TypeScript language service and during build for verifcation. `ngc`\n// replaces this file with production index.ts when it rewrites private symbol\n// names.\n\nexport * from './public_api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;AASA;;;AAGG;SACa,UAAU,GAAA;AACxB,IAAA,YAAY,EAAE,CAAC;AACjB;;ACPA;;;;AAIG;AAIH,UAAU,EAAE;;ACRZ;;;;AAIG;;ACJH;;ACRA;;AAEG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v15.1.0-
|
|
2
|
+
* @license Angular v15.1.0-rc.0
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -9,7 +9,7 @@ import * as i0 from '@angular/core';
|
|
|
9
9
|
import { Injectable, Inject, InjectionToken, inject, EnvironmentInjector, Optional, ViewEncapsulation, RendererStyleFlags2, APP_ID, NgModule, Injector, PLATFORM_ID, PLATFORM_INITIALIZER, ɵALLOW_MULTIPLE_PLATFORMS, RendererFactory2, NgZone, Testability, ɵTESTABILITY, ɵsetDocument, createPlatformFactory, platformCore, Renderer2, ApplicationRef, ɵisPromise, importProvidersFrom, ɵinternalCreateApplication, Version } from '@angular/core';
|
|
10
10
|
import * as i1 from '@angular/platform-browser';
|
|
11
11
|
import { ɵBrowserDomAdapter, ɵflattenStyles, ɵNAMESPACE_URIS, ɵshimContentAttribute, ɵshimHostAttribute, ɵSharedStylesHost, ɵTRANSITION_ID, TransferState, ɵescapeHtml, EVENT_MANAGER_PLUGINS, BrowserModule } from '@angular/platform-browser';
|
|
12
|
-
import
|
|
12
|
+
import domino from 'domino';
|
|
13
13
|
import { ɵAnimationEngine } from '@angular/animations/browser';
|
|
14
14
|
import { ɵHttpInterceptorHandler, HttpBackend, HttpHandler, HttpClientModule } from '@angular/common/http';
|
|
15
15
|
import { ɵplatformCoreDynamic } from '@angular/platform-browser-dynamic';
|
|
@@ -20,13 +20,6 @@ import * as url from 'url';
|
|
|
20
20
|
import { DomElementSchemaRegistry } from '@angular/compiler';
|
|
21
21
|
import { first } from 'rxjs/operators';
|
|
22
22
|
|
|
23
|
-
/**
|
|
24
|
-
* @license
|
|
25
|
-
* Copyright Google LLC All Rights Reserved.
|
|
26
|
-
*
|
|
27
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
28
|
-
* found in the LICENSE file at https://angular.io/license
|
|
29
|
-
*/
|
|
30
23
|
function setDomTypes() {
|
|
31
24
|
// Make all Domino types available in the global env.
|
|
32
25
|
Object.assign(global, domino.impl);
|
|
@@ -108,13 +101,6 @@ class DominoAdapter extends ɵBrowserDomAdapter {
|
|
|
108
101
|
}
|
|
109
102
|
}
|
|
110
103
|
|
|
111
|
-
/**
|
|
112
|
-
* @license
|
|
113
|
-
* Copyright Google LLC All Rights Reserved.
|
|
114
|
-
*
|
|
115
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
116
|
-
* found in the LICENSE file at https://angular.io/license
|
|
117
|
-
*/
|
|
118
104
|
/**
|
|
119
105
|
* Representation of the current platform state.
|
|
120
106
|
*
|
|
@@ -137,9 +123,9 @@ class PlatformState {
|
|
|
137
123
|
return this._doc;
|
|
138
124
|
}
|
|
139
125
|
}
|
|
140
|
-
PlatformState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
141
|
-
PlatformState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
126
|
+
PlatformState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: PlatformState, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
127
|
+
PlatformState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: PlatformState });
|
|
128
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: PlatformState, decorators: [{
|
|
143
129
|
type: Injectable
|
|
144
130
|
}], ctorParameters: function () {
|
|
145
131
|
return [{ type: undefined, decorators: [{
|
|
@@ -148,13 +134,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
148
134
|
}] }];
|
|
149
135
|
} });
|
|
150
136
|
|
|
151
|
-
/**
|
|
152
|
-
* @license
|
|
153
|
-
* Copyright Google LLC All Rights Reserved.
|
|
154
|
-
*
|
|
155
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
156
|
-
* found in the LICENSE file at https://angular.io/license
|
|
157
|
-
*/
|
|
158
137
|
/**
|
|
159
138
|
* The DI token for setting the initial config for the platform.
|
|
160
139
|
*
|
|
@@ -169,13 +148,6 @@ const INITIAL_CONFIG = new InjectionToken('Server.INITIAL_CONFIG');
|
|
|
169
148
|
*/
|
|
170
149
|
const BEFORE_APP_SERIALIZED = new InjectionToken('Server.RENDER_MODULE_HOOK');
|
|
171
150
|
|
|
172
|
-
/**
|
|
173
|
-
* @license
|
|
174
|
-
* Copyright Google LLC All Rights Reserved.
|
|
175
|
-
*
|
|
176
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
177
|
-
* found in the LICENSE file at https://angular.io/license
|
|
178
|
-
*/
|
|
179
151
|
// @see https://www.w3.org/Protocols/HTTP/1.1/draft-ietf-http-v11-spec-01#URI-syntax
|
|
180
152
|
const isAbsoluteUrl = /^[a-zA-Z\-\+.]+:\/\//;
|
|
181
153
|
class ServerXhr {
|
|
@@ -183,9 +155,9 @@ class ServerXhr {
|
|
|
183
155
|
return new xhr2.XMLHttpRequest();
|
|
184
156
|
}
|
|
185
157
|
}
|
|
186
|
-
ServerXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
187
|
-
ServerXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
158
|
+
ServerXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
159
|
+
ServerXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerXhr });
|
|
160
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerXhr, decorators: [{
|
|
189
161
|
type: Injectable
|
|
190
162
|
}] });
|
|
191
163
|
class ZoneMacroTaskWrapper {
|
|
@@ -286,13 +258,6 @@ const SERVER_HTTP_PROVIDERS = [
|
|
|
286
258
|
}
|
|
287
259
|
];
|
|
288
260
|
|
|
289
|
-
/**
|
|
290
|
-
* @license
|
|
291
|
-
* Copyright Google LLC All Rights Reserved.
|
|
292
|
-
*
|
|
293
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
294
|
-
* found in the LICENSE file at https://angular.io/license
|
|
295
|
-
*/
|
|
296
261
|
function parseUrl(urlStr) {
|
|
297
262
|
const parsedUrl = url.parse(urlStr);
|
|
298
263
|
return {
|
|
@@ -388,9 +353,9 @@ class ServerPlatformLocation {
|
|
|
388
353
|
return undefined;
|
|
389
354
|
}
|
|
390
355
|
}
|
|
391
|
-
ServerPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
392
|
-
ServerPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
393
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
356
|
+
ServerPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerPlatformLocation, deps: [{ token: DOCUMENT }, { token: INITIAL_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
357
|
+
ServerPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerPlatformLocation });
|
|
358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerPlatformLocation, decorators: [{
|
|
394
359
|
type: Injectable
|
|
395
360
|
}], ctorParameters: function () {
|
|
396
361
|
return [{ type: undefined, decorators: [{
|
|
@@ -407,13 +372,6 @@ function scheduleMicroTask(fn) {
|
|
|
407
372
|
Zone.current.scheduleMicroTask('scheduleMicrotask', fn);
|
|
408
373
|
}
|
|
409
374
|
|
|
410
|
-
/**
|
|
411
|
-
* @license
|
|
412
|
-
* Copyright Google LLC All Rights Reserved.
|
|
413
|
-
*
|
|
414
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
415
|
-
* found in the LICENSE file at https://angular.io/license
|
|
416
|
-
*/
|
|
417
375
|
class ServerEventManagerPlugin /* extends EventManagerPlugin which is private */ {
|
|
418
376
|
constructor(doc) {
|
|
419
377
|
this.doc = doc;
|
|
@@ -434,9 +392,9 @@ class ServerEventManagerPlugin /* extends EventManagerPlugin which is private */
|
|
|
434
392
|
return this.addEventListener(target, eventName, handler);
|
|
435
393
|
}
|
|
436
394
|
}
|
|
437
|
-
ServerEventManagerPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
438
|
-
ServerEventManagerPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
439
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
395
|
+
ServerEventManagerPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
396
|
+
ServerEventManagerPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */ });
|
|
397
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */, decorators: [{
|
|
440
398
|
type: Injectable
|
|
441
399
|
}], ctorParameters: function () {
|
|
442
400
|
return [{ type: undefined, decorators: [{
|
|
@@ -445,13 +403,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
445
403
|
}] }];
|
|
446
404
|
} });
|
|
447
405
|
|
|
448
|
-
/**
|
|
449
|
-
* @license
|
|
450
|
-
* Copyright Google LLC All Rights Reserved.
|
|
451
|
-
*
|
|
452
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
453
|
-
* found in the LICENSE file at https://angular.io/license
|
|
454
|
-
*/
|
|
455
406
|
const EMPTY_ARRAY = [];
|
|
456
407
|
const DEFAULT_SCHEMA = new DomElementSchemaRegistry();
|
|
457
408
|
class ServerRendererFactory2 {
|
|
@@ -491,9 +442,9 @@ class ServerRendererFactory2 {
|
|
|
491
442
|
begin() { }
|
|
492
443
|
end() { }
|
|
493
444
|
}
|
|
494
|
-
ServerRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
495
|
-
ServerRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
445
|
+
ServerRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerRendererFactory2, deps: [{ token: i1.EventManager }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i1.ɵSharedStylesHost }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
446
|
+
ServerRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerRendererFactory2 });
|
|
447
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerRendererFactory2, decorators: [{
|
|
497
448
|
type: Injectable
|
|
498
449
|
}], ctorParameters: function () {
|
|
499
450
|
return [{ type: i1.EventManager }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
@@ -719,13 +670,6 @@ function _writeStyleAttribute(element, styleMap) {
|
|
|
719
670
|
}
|
|
720
671
|
}
|
|
721
672
|
|
|
722
|
-
/**
|
|
723
|
-
* @license
|
|
724
|
-
* Copyright Google LLC All Rights Reserved.
|
|
725
|
-
*
|
|
726
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
727
|
-
* found in the LICENSE file at https://angular.io/license
|
|
728
|
-
*/
|
|
729
673
|
class ServerStylesHost extends ɵSharedStylesHost {
|
|
730
674
|
constructor(doc, transitionId) {
|
|
731
675
|
super();
|
|
@@ -752,9 +696,9 @@ class ServerStylesHost extends ɵSharedStylesHost {
|
|
|
752
696
|
this._styleNodes.forEach(styleNode => styleNode.remove());
|
|
753
697
|
}
|
|
754
698
|
}
|
|
755
|
-
ServerStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
756
|
-
ServerStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-
|
|
757
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
699
|
+
ServerStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerStylesHost, deps: [{ token: DOCUMENT }, { token: ɵTRANSITION_ID, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
700
|
+
ServerStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerStylesHost });
|
|
701
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerStylesHost, decorators: [{
|
|
758
702
|
type: Injectable
|
|
759
703
|
}], ctorParameters: function () {
|
|
760
704
|
return [{ type: undefined, decorators: [{
|
|
@@ -768,13 +712,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-next.3",
|
|
|
768
712
|
}] }];
|
|
769
713
|
} });
|
|
770
714
|
|
|
771
|
-
/**
|
|
772
|
-
* @license
|
|
773
|
-
* Copyright Google LLC All Rights Reserved.
|
|
774
|
-
*
|
|
775
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
776
|
-
* found in the LICENSE file at https://angular.io/license
|
|
777
|
-
*/
|
|
778
715
|
const TRANSFER_STATE_SERIALIZATION_PROVIDERS = [{
|
|
779
716
|
provide: BEFORE_APP_SERIALIZED,
|
|
780
717
|
useFactory: serializeTransferStateFactory,
|
|
@@ -811,21 +748,14 @@ function serializeTransferStateFactory(doc, appId, transferStore) {
|
|
|
811
748
|
*/
|
|
812
749
|
class ServerTransferStateModule {
|
|
813
750
|
}
|
|
814
|
-
ServerTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
815
|
-
ServerTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-
|
|
816
|
-
ServerTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-
|
|
817
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
751
|
+
ServerTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
752
|
+
ServerTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTransferStateModule });
|
|
753
|
+
ServerTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTransferStateModule });
|
|
754
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerTransferStateModule, decorators: [{
|
|
818
755
|
type: NgModule,
|
|
819
756
|
args: [{}]
|
|
820
757
|
}] });
|
|
821
758
|
|
|
822
|
-
/**
|
|
823
|
-
* @license
|
|
824
|
-
* Copyright Google LLC All Rights Reserved.
|
|
825
|
-
*
|
|
826
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
827
|
-
* found in the LICENSE file at https://angular.io/license
|
|
828
|
-
*/
|
|
829
759
|
const INTERNAL_SERVER_PLATFORM_PROVIDERS = [
|
|
830
760
|
{ provide: DOCUMENT, useFactory: _document, deps: [Injector] },
|
|
831
761
|
{ provide: PLATFORM_ID, useValue: ɵPLATFORM_SERVER_ID },
|
|
@@ -864,9 +794,9 @@ const SERVER_RENDER_PROVIDERS = [
|
|
|
864
794
|
*/
|
|
865
795
|
class ServerModule {
|
|
866
796
|
}
|
|
867
|
-
ServerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-
|
|
868
|
-
ServerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-
|
|
869
|
-
ServerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-
|
|
797
|
+
ServerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
798
|
+
ServerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerModule, imports: [HttpClientModule, NoopAnimationsModule], exports: [BrowserModule] });
|
|
799
|
+
ServerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerModule, providers: [
|
|
870
800
|
TRANSFER_STATE_SERIALIZATION_PROVIDERS,
|
|
871
801
|
SERVER_RENDER_PROVIDERS,
|
|
872
802
|
SERVER_HTTP_PROVIDERS,
|
|
@@ -874,7 +804,7 @@ ServerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
|
874
804
|
{ provide: ɵTESTABILITY, useValue: null },
|
|
875
805
|
{ provide: ViewportScroller, useClass: ɵNullViewportScroller },
|
|
876
806
|
], imports: [HttpClientModule, NoopAnimationsModule, BrowserModule] });
|
|
877
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-
|
|
807
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.0-rc.0", ngImport: i0, type: ServerModule, decorators: [{
|
|
878
808
|
type: NgModule,
|
|
879
809
|
args: [{
|
|
880
810
|
exports: [BrowserModule],
|
|
@@ -914,13 +844,6 @@ const platformServer = createPlatformFactory(platformCore, 'server', INTERNAL_SE
|
|
|
914
844
|
*/
|
|
915
845
|
const platformDynamicServer = createPlatformFactory(ɵplatformCoreDynamic, 'serverDynamic', INTERNAL_SERVER_PLATFORM_PROVIDERS);
|
|
916
846
|
|
|
917
|
-
/**
|
|
918
|
-
* @license
|
|
919
|
-
* Copyright Google LLC All Rights Reserved.
|
|
920
|
-
*
|
|
921
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
922
|
-
* found in the LICENSE file at https://angular.io/license
|
|
923
|
-
*/
|
|
924
847
|
function _getPlatform(platformFactory, options) {
|
|
925
848
|
var _a;
|
|
926
849
|
const extraProviders = (_a = options.platformProviders) !== null && _a !== void 0 ? _a : [];
|
|
@@ -1100,49 +1023,19 @@ function renderModuleFactory(moduleFactory, options) {
|
|
|
1100
1023
|
}
|
|
1101
1024
|
|
|
1102
1025
|
/**
|
|
1103
|
-
* @
|
|
1104
|
-
*
|
|
1105
|
-
*
|
|
1106
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1107
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1108
|
-
*/
|
|
1109
|
-
|
|
1110
|
-
/**
|
|
1111
|
-
* @license
|
|
1112
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1113
|
-
*
|
|
1114
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1115
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1026
|
+
* @module
|
|
1027
|
+
* @description
|
|
1028
|
+
* Entry point for all public APIs of the platform-server package.
|
|
1116
1029
|
*/
|
|
1117
1030
|
/**
|
|
1118
1031
|
* @publicApi
|
|
1119
1032
|
*/
|
|
1120
|
-
const VERSION = new Version('15.1.0-
|
|
1121
|
-
|
|
1122
|
-
/**
|
|
1123
|
-
* @license
|
|
1124
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1125
|
-
*
|
|
1126
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1127
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1128
|
-
*/
|
|
1033
|
+
const VERSION = new Version('15.1.0-rc.0');
|
|
1129
1034
|
|
|
1130
|
-
|
|
1131
|
-
* @license
|
|
1132
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1133
|
-
*
|
|
1134
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1135
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1136
|
-
*/
|
|
1035
|
+
/// <reference types="node" />
|
|
1137
1036
|
// This file only reexports content of the `src` folder. Keep it that way.
|
|
1138
1037
|
|
|
1139
|
-
|
|
1140
|
-
* @license
|
|
1141
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1142
|
-
*
|
|
1143
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1144
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1145
|
-
*/
|
|
1038
|
+
// This file is not used to build this module. It is only used during editing
|
|
1146
1039
|
|
|
1147
1040
|
/**
|
|
1148
1041
|
* Generated bundle index. Do not edit.
|