@absolutejs/absolute 0.19.0-beta.1056 → 0.19.0-beta.1058
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/build.js +14 -8
- package/dist/build.js.map +4 -4
- package/dist/index.js +14 -8
- package/dist/index.js.map +4 -4
- package/dist/vue/index.js +80 -78
- package/dist/vue/index.js.map +3 -3
- package/dist/vue/server.js +17 -15
- 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-CjvJaz/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-CjvJaz/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-CjvJaz/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";
|
package/dist/build.js
CHANGED
|
@@ -13829,12 +13829,6 @@ if (typeof __VUE_HMR_RUNTIME__ !== 'undefined') {
|
|
|
13829
13829
|
" }",
|
|
13830
13830
|
"});",
|
|
13831
13831
|
"",
|
|
13832
|
-
"// During HMR or after SSR dirty, use createApp (fresh mount) to avoid hydration mismatch with stale DOM",
|
|
13833
|
-
'const isHMR = typeof window !== "undefined" && sessionStorage.getItem("__HMR_ACTIVE__");',
|
|
13834
|
-
'const isSsrDirty = typeof window !== "undefined" && window.__SSR_DIRTY__;',
|
|
13835
|
-
'const shouldHydrate = typeof window === "undefined" ? false : !(isHMR || isSsrDirty);',
|
|
13836
|
-
"const app = shouldHydrate ? createSSRApp(Comp, mergedProps) : createApp(Comp, mergedProps);",
|
|
13837
|
-
"",
|
|
13838
13832
|
"// `setupApp` hook. Reflect.get hides the lookup from Bun's",
|
|
13839
13833
|
"// static analyzer so non-SPA pages without it don't trigger",
|
|
13840
13834
|
'// "always undefined" warnings. Pages that export `routes`',
|
|
@@ -13844,6 +13838,17 @@ if (typeof __VUE_HMR_RUNTIME__ !== 'undefined') {
|
|
|
13844
13838
|
"// provide/inject symbols match between the router and the",
|
|
13845
13839
|
"// page's `useRoute()` calls.",
|
|
13846
13840
|
'const setupAppHook = Reflect.get(PageModule, "setupApp");',
|
|
13841
|
+
'const hasSpaRoutes = Array.isArray(Reflect.get(PageModule, "routes"));',
|
|
13842
|
+
"",
|
|
13843
|
+
"// During HMR, after SSR dirty, or for routed SPA shells, use",
|
|
13844
|
+
"// createApp (fresh mount) to avoid hydration attaching event",
|
|
13845
|
+
"// listeners to stale SSR nodes. The router still handles",
|
|
13846
|
+
"// client-side navigation after mount.",
|
|
13847
|
+
'const isHMR = typeof window !== "undefined" && sessionStorage.getItem("__HMR_ACTIVE__");',
|
|
13848
|
+
'const isSsrDirty = typeof window !== "undefined" && window.__SSR_DIRTY__;',
|
|
13849
|
+
'const shouldHydrate = typeof window === "undefined" ? false : !(isHMR || isSsrDirty || hasSpaRoutes);',
|
|
13850
|
+
"const app = shouldHydrate ? createSSRApp(Comp, mergedProps) : createApp(Comp, mergedProps);",
|
|
13851
|
+
"",
|
|
13847
13852
|
"async function bootstrapApp() {",
|
|
13848
13853
|
' if (typeof setupAppHook === "function") {',
|
|
13849
13854
|
' const clientUrl = typeof window !== "undefined"',
|
|
@@ -21150,7 +21155,8 @@ ${content.slice(firstUseIdx)}`;
|
|
|
21150
21155
|
const childArtifact = serverJsByPascalName.get(childName);
|
|
21151
21156
|
if (!childArtifact)
|
|
21152
21157
|
return [];
|
|
21153
|
-
const
|
|
21158
|
+
const absoluteCssPath = childArtifact.path.replace(/\.js$/, ".css");
|
|
21159
|
+
const cssPath = relative14(dirname18(parentArtifact.path), absoluteCssPath);
|
|
21154
21160
|
return [{ cssPath, path }];
|
|
21155
21161
|
});
|
|
21156
21162
|
if (entries.length === 0)
|
|
@@ -27617,5 +27623,5 @@ export {
|
|
|
27617
27623
|
build
|
|
27618
27624
|
};
|
|
27619
27625
|
|
|
27620
|
-
//# debugId=
|
|
27626
|
+
//# debugId=FECCAE4098E91EE764756E2164756E21
|
|
27621
27627
|
//# sourceMappingURL=build.js.map
|