@absolutejs/absolute 0.19.0-beta.1058 → 0.19.0-beta.1059
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/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/src/utils/spaRouteCss.d.ts +1 -1
- package/dist/vue/index.js +8 -2
- package/dist/vue/index.js.map +3 -3
- package/dist/vue/server.js +8 -2
- package/dist/vue/server.js.map +3 -3
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-CM0bVp/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-CM0bVp/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
48
48
|
getWarningController()?.maybeWarn(primitiveName);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
// .angular-partial-tmp-
|
|
51
|
+
// .angular-partial-tmp-CM0bVp/src/core/streamingSlotRegistry.ts
|
|
52
52
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
53
53
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
54
54
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** Resolve
|
|
1
|
+
/** Resolve SPA child route compiled CSS for a request.
|
|
2
2
|
* Returns the CSS text (possibly empty) so the page handler can
|
|
3
3
|
* inline it alongside the parent page's own sibling CSS. */
|
|
4
4
|
export declare const resolveSpaChildCss: (siblingJsPath: string | undefined, requestUrl: string | undefined) => Promise<string>;
|
package/dist/vue/index.js
CHANGED
|
@@ -4053,7 +4053,13 @@ var resolveSpaChildCss = async (siblingJsPath, requestUrl) => {
|
|
|
4053
4053
|
const matched = findMatchingRoute(routes, pathname);
|
|
4054
4054
|
if (!matched)
|
|
4055
4055
|
return "";
|
|
4056
|
-
|
|
4056
|
+
const cssPaths = [
|
|
4057
|
+
matched.cssPath,
|
|
4058
|
+
...routes.map((route) => route.cssPath)
|
|
4059
|
+
].filter((cssPath, index, all) => cssPath && all.indexOf(cssPath) === index);
|
|
4060
|
+
const chunks = await Promise.all(cssPaths.map((cssPath) => readChildCss(cssPath, sideManifestPath)));
|
|
4061
|
+
return chunks.filter(Boolean).join(`
|
|
4062
|
+
`);
|
|
4057
4063
|
};
|
|
4058
4064
|
|
|
4059
4065
|
// src/core/islandPageContext.ts
|
|
@@ -5237,5 +5243,5 @@ export {
|
|
|
5237
5243
|
Image
|
|
5238
5244
|
};
|
|
5239
5245
|
|
|
5240
|
-
//# debugId=
|
|
5246
|
+
//# debugId=8A1F2DBFD8ABED0064756E2164756E21
|
|
5241
5247
|
//# sourceMappingURL=index.js.map
|