@angular/platform-server 14.0.0-next.15 → 14.0.0-next.16
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/http.mjs +3 -3
- package/esm2020/src/location.mjs +3 -3
- package/esm2020/src/platform-server.mjs +2 -2
- 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/tokens.mjs +3 -3
- package/esm2020/src/transfer_state.mjs +4 -4
- package/esm2020/src/utils.mjs +56 -12
- package/esm2020/src/version.mjs +1 -1
- package/esm2020/testing/src/server.mjs +4 -4
- package/fesm2015/init.mjs +1 -1
- package/fesm2015/platform-server.mjs +86 -40
- package/fesm2015/platform-server.mjs.map +1 -1
- package/fesm2015/testing.mjs +5 -5
- package/fesm2020/init.mjs +1 -1
- package/fesm2020/platform-server.mjs +84 -40
- package/fesm2020/platform-server.mjs.map +1 -1
- package/fesm2020/testing.mjs +5 -5
- package/index.d.ts +41 -3
- package/init/index.d.ts +1 -1
- package/package.json +7 -7
- package/testing/index.d.ts +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v14.0.0-next.
|
|
2
|
+
* @license Angular v14.0.0-next.16
|
|
3
3
|
* (c) 2010-2022 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
7
|
import { ɵsetRootDomAdapter, DOCUMENT, XhrFactory, PlatformLocation, ɵgetDOM, ɵPLATFORM_SERVER_ID, ViewportScroller, ɵNullViewportScroller } from '@angular/common';
|
|
8
8
|
import * as i0 from '@angular/core';
|
|
9
|
-
import { Injectable, Inject, InjectionToken, Injector, Optional, ViewEncapsulation, RendererStyleFlags2, PLATFORM_ID, PLATFORM_INITIALIZER, ɵALLOW_MULTIPLE_PLATFORMS, RendererFactory2, NgZone, Testability, NgModule, ɵsetDocument, createPlatformFactory, platformCore, APP_ID, ApplicationRef, ɵisPromise, Version } from '@angular/core';
|
|
9
|
+
import { Injectable, Inject, InjectionToken, Injector, Optional, ViewEncapsulation, RendererStyleFlags2, PLATFORM_ID, PLATFORM_INITIALIZER, ɵALLOW_MULTIPLE_PLATFORMS, RendererFactory2, NgZone, Testability, NgModule, ɵsetDocument, createPlatformFactory, platformCore, APP_ID, ApplicationRef, ɵisPromise, importProvidersFrom, ɵbootstrapApplication, 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, EVENT_MANAGER_PLUGINS, BrowserModule, ɵescapeHtml, TransferState } from '@angular/platform-browser';
|
|
12
12
|
import * as domino from 'domino';
|
|
@@ -137,9 +137,9 @@ class PlatformState {
|
|
|
137
137
|
return this._doc;
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
|
-
PlatformState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
141
|
-
PlatformState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
142
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
140
|
+
PlatformState.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: PlatformState, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
141
|
+
PlatformState.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: PlatformState });
|
|
142
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: PlatformState, decorators: [{
|
|
143
143
|
type: Injectable
|
|
144
144
|
}], ctorParameters: function () {
|
|
145
145
|
return [{ type: undefined, decorators: [{
|
|
@@ -162,8 +162,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15",
|
|
|
162
162
|
*/
|
|
163
163
|
const INITIAL_CONFIG = new InjectionToken('Server.INITIAL_CONFIG');
|
|
164
164
|
/**
|
|
165
|
-
* A function that will be executed when calling `renderModuleFactory` or
|
|
166
|
-
* before current platform state is rendered to string.
|
|
165
|
+
* A function that will be executed when calling `renderApplication`, `renderModuleFactory` or
|
|
166
|
+
* `renderModule` just before current platform state is rendered to string.
|
|
167
167
|
*
|
|
168
168
|
* @publicApi
|
|
169
169
|
*/
|
|
@@ -183,9 +183,9 @@ class ServerXhr {
|
|
|
183
183
|
return new xhr2.XMLHttpRequest();
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
ServerXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
187
|
-
ServerXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
188
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
186
|
+
ServerXhr.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerXhr, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
187
|
+
ServerXhr.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerXhr });
|
|
188
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerXhr, decorators: [{
|
|
189
189
|
type: Injectable
|
|
190
190
|
}] });
|
|
191
191
|
class ZoneMacroTaskWrapper {
|
|
@@ -389,9 +389,9 @@ class ServerPlatformLocation {
|
|
|
389
389
|
return undefined;
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
|
-
ServerPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
393
|
-
ServerPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
394
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
392
|
+
ServerPlatformLocation.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerPlatformLocation, deps: [{ token: DOCUMENT }, { token: INITIAL_CONFIG, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
393
|
+
ServerPlatformLocation.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerPlatformLocation });
|
|
394
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerPlatformLocation, decorators: [{
|
|
395
395
|
type: Injectable
|
|
396
396
|
}], ctorParameters: function () {
|
|
397
397
|
return [{ type: undefined, decorators: [{
|
|
@@ -435,9 +435,9 @@ class ServerEventManagerPlugin /* extends EventManagerPlugin which is private */
|
|
|
435
435
|
return this.addEventListener(target, eventName, handler);
|
|
436
436
|
}
|
|
437
437
|
}
|
|
438
|
-
ServerEventManagerPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
439
|
-
ServerEventManagerPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
438
|
+
ServerEventManagerPlugin.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */, deps: [{ token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
439
|
+
ServerEventManagerPlugin.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */ });
|
|
440
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerEventManagerPlugin /* extends EventManagerPlugin which is private */, decorators: [{
|
|
441
441
|
type: Injectable
|
|
442
442
|
}], ctorParameters: function () {
|
|
443
443
|
return [{ type: undefined, decorators: [{
|
|
@@ -492,9 +492,9 @@ class ServerRendererFactory2 {
|
|
|
492
492
|
begin() { }
|
|
493
493
|
end() { }
|
|
494
494
|
}
|
|
495
|
-
ServerRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
496
|
-
ServerRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
497
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
495
|
+
ServerRendererFactory2.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerRendererFactory2, deps: [{ token: i1.EventManager }, { token: i0.NgZone }, { token: DOCUMENT }, { token: i1.ɵSharedStylesHost }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
496
|
+
ServerRendererFactory2.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerRendererFactory2 });
|
|
497
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerRendererFactory2, decorators: [{
|
|
498
498
|
type: Injectable
|
|
499
499
|
}], ctorParameters: function () {
|
|
500
500
|
return [{ type: i1.EventManager }, { type: i0.NgZone }, { type: undefined, decorators: [{
|
|
@@ -747,9 +747,9 @@ class ServerStylesHost extends ɵSharedStylesHost {
|
|
|
747
747
|
this._styleNodes.forEach(styleNode => styleNode.remove());
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
|
-
ServerStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
751
|
-
ServerStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
752
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
750
|
+
ServerStylesHost.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerStylesHost, deps: [{ token: DOCUMENT }, { token: ɵTRANSITION_ID, optional: true }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
751
|
+
ServerStylesHost.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerStylesHost });
|
|
752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerStylesHost, decorators: [{
|
|
753
753
|
type: Injectable
|
|
754
754
|
}], ctorParameters: function () {
|
|
755
755
|
return [{ type: undefined, decorators: [{
|
|
@@ -811,15 +811,15 @@ const SERVER_RENDER_PROVIDERS = [
|
|
|
811
811
|
*/
|
|
812
812
|
class ServerModule {
|
|
813
813
|
}
|
|
814
|
-
ServerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
815
|
-
ServerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
816
|
-
ServerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
814
|
+
ServerModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
815
|
+
ServerModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerModule, imports: [HttpClientModule, NoopAnimationsModule], exports: [BrowserModule] });
|
|
816
|
+
ServerModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerModule, providers: [
|
|
817
817
|
SERVER_RENDER_PROVIDERS,
|
|
818
818
|
SERVER_HTTP_PROVIDERS,
|
|
819
819
|
{ provide: Testability, useValue: null },
|
|
820
820
|
{ provide: ViewportScroller, useClass: ɵNullViewportScroller },
|
|
821
821
|
], imports: [HttpClientModule, NoopAnimationsModule, BrowserModule] });
|
|
822
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
822
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerModule, decorators: [{
|
|
823
823
|
type: NgModule,
|
|
824
824
|
args: [{
|
|
825
825
|
exports: [BrowserModule],
|
|
@@ -875,9 +875,9 @@ function serializeTransferStateFactory(doc, appId, transferStore) {
|
|
|
875
875
|
*/
|
|
876
876
|
class ServerTransferStateModule {
|
|
877
877
|
}
|
|
878
|
-
ServerTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
879
|
-
ServerTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "
|
|
880
|
-
ServerTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
878
|
+
ServerTransferStateModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerTransferStateModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
879
|
+
ServerTransferStateModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerTransferStateModule });
|
|
880
|
+
ServerTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerTransferStateModule, providers: [
|
|
881
881
|
TransferState, {
|
|
882
882
|
provide: BEFORE_APP_SERIALIZED,
|
|
883
883
|
useFactory: serializeTransferStateFactory,
|
|
@@ -885,7 +885,7 @@ ServerTransferStateModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0
|
|
|
885
885
|
multi: true,
|
|
886
886
|
}
|
|
887
887
|
] });
|
|
888
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.
|
|
888
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.16", ngImport: i0, type: ServerTransferStateModule, decorators: [{
|
|
889
889
|
type: NgModule,
|
|
890
890
|
args: [{
|
|
891
891
|
providers: [
|
|
@@ -907,27 +907,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.0-next.15",
|
|
|
907
907
|
* found in the LICENSE file at https://angular.io/license
|
|
908
908
|
*/
|
|
909
909
|
function _getPlatform(platformFactory, options) {
|
|
910
|
-
|
|
910
|
+
var _a;
|
|
911
|
+
const extraProviders = (_a = options.platformProviders) !== null && _a !== void 0 ? _a : [];
|
|
911
912
|
return platformFactory([
|
|
912
913
|
{ provide: INITIAL_CONFIG, useValue: { document: options.document, url: options.url } },
|
|
913
914
|
extraProviders
|
|
914
915
|
]);
|
|
915
916
|
}
|
|
916
|
-
function _render(platform,
|
|
917
|
-
return
|
|
918
|
-
const
|
|
917
|
+
function _render(platform, bootstrapPromise) {
|
|
918
|
+
return bootstrapPromise.then((moduleOrApplicationRef) => {
|
|
919
|
+
const environmentInjector = moduleOrApplicationRef.injector;
|
|
920
|
+
const transitionId = environmentInjector.get(ɵTRANSITION_ID, null);
|
|
919
921
|
if (!transitionId) {
|
|
920
922
|
throw new Error(`renderModule[Factory]() requires the use of BrowserModule.withServerTransition() to ensure
|
|
921
923
|
the server-rendered app can be properly bootstrapped into a client app.`);
|
|
922
924
|
}
|
|
923
|
-
const applicationRef =
|
|
925
|
+
const applicationRef = moduleOrApplicationRef instanceof ApplicationRef ?
|
|
926
|
+
moduleOrApplicationRef :
|
|
927
|
+
environmentInjector.get(ApplicationRef);
|
|
924
928
|
return applicationRef.isStable.pipe((first((isStable) => isStable)))
|
|
925
929
|
.toPromise()
|
|
926
930
|
.then(() => {
|
|
927
931
|
const platformState = platform.injector.get(PlatformState);
|
|
928
932
|
const asyncPromises = [];
|
|
929
933
|
// Run any BEFORE_APP_SERIALIZED callbacks just before rendering to string.
|
|
930
|
-
const callbacks =
|
|
934
|
+
const callbacks = environmentInjector.get(BEFORE_APP_SERIALIZED, null);
|
|
931
935
|
if (callbacks) {
|
|
932
936
|
for (const callback of callbacks) {
|
|
933
937
|
try {
|
|
@@ -971,9 +975,50 @@ the server-rendered app can be properly bootstrapped into a client app.`);
|
|
|
971
975
|
* @publicApi
|
|
972
976
|
*/
|
|
973
977
|
function renderModule(module, options) {
|
|
974
|
-
const
|
|
978
|
+
const { document, url, extraProviders: platformProviders } = options;
|
|
979
|
+
const platform = _getPlatform(platformDynamicServer, { document, url, platformProviders });
|
|
975
980
|
return _render(platform, platform.bootstrapModule(module));
|
|
976
981
|
}
|
|
982
|
+
/**
|
|
983
|
+
* Bootstraps an instance of an Angular application and renders it to a string.
|
|
984
|
+
*
|
|
985
|
+
* Note: the root component passed into this function *must* be a standalone one (should have the
|
|
986
|
+
* `standalone: true` flag in the `@Component` decorator config).
|
|
987
|
+
*
|
|
988
|
+
* ```typescript
|
|
989
|
+
* @Component({
|
|
990
|
+
* standalone: true,
|
|
991
|
+
* template: 'Hello world!'
|
|
992
|
+
* })
|
|
993
|
+
* class RootComponent {}
|
|
994
|
+
*
|
|
995
|
+
* const output: string = await renderApplication(RootComponent, {appId: 'server-app'});
|
|
996
|
+
* ```
|
|
997
|
+
*
|
|
998
|
+
* @param rootComponent A reference to a Standalone Component that should be rendered.
|
|
999
|
+
* @param options Additional configuration for the render operation:
|
|
1000
|
+
* - `appId` - a string identifier of this application. The appId is used to prefix all
|
|
1001
|
+
* server-generated stylings and state keys of the application in TransferState
|
|
1002
|
+
* use-cases.
|
|
1003
|
+
* - `document` - the full document HTML of the page to render, as a string.
|
|
1004
|
+
* - `url` - the URL for the current render request.
|
|
1005
|
+
* - `providers` - set of application level providers for the current render request.
|
|
1006
|
+
* - `platformProviders` - the platform level providers for the current render request.
|
|
1007
|
+
* @returns A Promise, that returns serialized (to a string) rendered page, once resolved.
|
|
1008
|
+
*
|
|
1009
|
+
* @publicApi
|
|
1010
|
+
*/
|
|
1011
|
+
function renderApplication(rootComponent, options) {
|
|
1012
|
+
var _a;
|
|
1013
|
+
const { document, url, platformProviders, appId } = options;
|
|
1014
|
+
const platform = _getPlatform(platformDynamicServer, { document, url, platformProviders });
|
|
1015
|
+
const appProviders = [
|
|
1016
|
+
importProvidersFrom(BrowserModule.withServerTransition({ appId })),
|
|
1017
|
+
importProvidersFrom(ServerModule),
|
|
1018
|
+
...((_a = options.providers) !== null && _a !== void 0 ? _a : []),
|
|
1019
|
+
];
|
|
1020
|
+
return _render(platform, ɵbootstrapApplication({ rootComponent, appProviders }));
|
|
1021
|
+
}
|
|
977
1022
|
/**
|
|
978
1023
|
* Renders a {@link NgModuleFactory} to string.
|
|
979
1024
|
*
|
|
@@ -988,7 +1033,8 @@ function renderModule(module, options) {
|
|
|
988
1033
|
* Use {@link renderModule} API instead.
|
|
989
1034
|
*/
|
|
990
1035
|
function renderModuleFactory(moduleFactory, options) {
|
|
991
|
-
const
|
|
1036
|
+
const { document, url, extraProviders: platformProviders } = options;
|
|
1037
|
+
const platform = _getPlatform(platformServer, { document, url, platformProviders });
|
|
992
1038
|
return _render(platform, platform.bootstrapModuleFactory(moduleFactory));
|
|
993
1039
|
}
|
|
994
1040
|
|
|
@@ -1010,7 +1056,7 @@ function renderModuleFactory(moduleFactory, options) {
|
|
|
1010
1056
|
/**
|
|
1011
1057
|
* @publicApi
|
|
1012
1058
|
*/
|
|
1013
|
-
const VERSION = new Version('14.0.0-next.
|
|
1059
|
+
const VERSION = new Version('14.0.0-next.16');
|
|
1014
1060
|
|
|
1015
1061
|
/**
|
|
1016
1062
|
* @license
|
|
@@ -1041,5 +1087,5 @@ const VERSION = new Version('14.0.0-next.15');
|
|
|
1041
1087
|
* Generated bundle index. Do not edit.
|
|
1042
1088
|
*/
|
|
1043
1089
|
|
|
1044
|
-
export { BEFORE_APP_SERIALIZED, INITIAL_CONFIG, PlatformState, ServerModule, ServerTransferStateModule, VERSION, platformDynamicServer, platformServer, renderModule, renderModuleFactory, INTERNAL_SERVER_PLATFORM_PROVIDERS as ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, SERVER_RENDER_PROVIDERS as ɵSERVER_RENDER_PROVIDERS, ServerRendererFactory2 as ɵServerRendererFactory2, setDomTypes as ɵsetDomTypes };
|
|
1090
|
+
export { BEFORE_APP_SERIALIZED, INITIAL_CONFIG, PlatformState, ServerModule, ServerTransferStateModule, VERSION, platformDynamicServer, platformServer, renderApplication, renderModule, renderModuleFactory, INTERNAL_SERVER_PLATFORM_PROVIDERS as ɵINTERNAL_SERVER_PLATFORM_PROVIDERS, SERVER_RENDER_PROVIDERS as ɵSERVER_RENDER_PROVIDERS, ServerRendererFactory2 as ɵServerRendererFactory2, setDomTypes as ɵsetDomTypes };
|
|
1045
1091
|
//# sourceMappingURL=platform-server.mjs.map
|