@absolutejs/absolute 0.19.0-beta.721 → 0.19.0-beta.723
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/dist/angular/index.js +11 -9
- package/dist/angular/index.js.map +3 -3
- package/dist/angular/server.js +11 -9
- package/dist/angular/server.js.map +3 -3
- package/dist/src/angular/pageHandler.d.ts +1 -4
- package/dist/src/svelte/pageHandler.d.ts +8 -4
- package/dist/svelte/index.js.map +2 -2
- package/dist/svelte/server.js.map +2 -2
- package/package.json +1 -1
package/dist/angular/index.js
CHANGED
|
@@ -13934,17 +13934,19 @@ var resolveRuntimeAngularModulePath = async (pagePath) => {
|
|
|
13934
13934
|
};
|
|
13935
13935
|
var angularSsrContext = new AsyncLocalStorage3;
|
|
13936
13936
|
setSsrContextGetter(() => angularSsrContext.getStore());
|
|
13937
|
-
async function handleAngularPageRequest(
|
|
13937
|
+
async function handleAngularPageRequest(input) {
|
|
13938
13938
|
const requestId = `angular_${Date.now()}_${Math.random().toString(BASE_36_RADIX).substring(2, RANDOM_ID_END_INDEX)}`;
|
|
13939
13939
|
return angularSsrContext.run(requestId, async () => {
|
|
13940
13940
|
await ensureAngularCompiler();
|
|
13941
|
-
|
|
13942
|
-
|
|
13943
|
-
|
|
13944
|
-
const
|
|
13945
|
-
const
|
|
13946
|
-
const
|
|
13947
|
-
const
|
|
13941
|
+
if (!isAngularPageRequestInput(input)) {
|
|
13942
|
+
throw new Error("Angular page handler requires an object input with pagePath and indexPath.");
|
|
13943
|
+
}
|
|
13944
|
+
const resolvedHeadTag = input.headTag ?? "<head></head>";
|
|
13945
|
+
const resolvedIndexPath = input.indexPath;
|
|
13946
|
+
const options = input;
|
|
13947
|
+
const resolvedPagePath = input.pagePath;
|
|
13948
|
+
const maybeProps = input.props;
|
|
13949
|
+
const userProviders = input.providers;
|
|
13948
13950
|
cacheRouteData(resolvedPagePath, {
|
|
13949
13951
|
headTag: resolvedHeadTag,
|
|
13950
13952
|
props: maybeProps
|
|
@@ -14312,5 +14314,5 @@ export {
|
|
|
14312
14314
|
Island
|
|
14313
14315
|
};
|
|
14314
14316
|
|
|
14315
|
-
//# debugId=
|
|
14317
|
+
//# debugId=3CB55B415035DFEF64756E2164756E21
|
|
14316
14318
|
//# sourceMappingURL=index.js.map
|