@absolutejs/absolute 0.19.0-beta.815 → 0.19.0-beta.817
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 +17 -3
- package/dist/build.js.map +4 -4
- package/dist/cli/index.js +17 -0
- package/dist/index.js +17 -3
- package/dist/index.js.map +4 -4
- package/dist/src/cli/scripts/eslint.d.ts +1 -4
- package/dist/src/vue/pageHandler.d.ts +5 -0
- package/dist/vue/index.js +25 -3
- package/dist/vue/index.js.map +3 -3
- package/dist/vue/server.js +25 -3
- package/dist/vue/server.js.map +3 -3
- package/package.json +9 -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-Ykh1sf/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-Ykh1sf/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-Ykh1sf/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
|
@@ -10450,7 +10450,7 @@ if (typeof __VUE_HMR_RUNTIME__ !== 'undefined') {
|
|
|
10450
10450
|
] : [];
|
|
10451
10451
|
await write2(indexOutputFile, [
|
|
10452
10452
|
...vueHmrImports,
|
|
10453
|
-
`import Comp from "${relative8(dirname10(indexOutputFile), clientOutputFile).replace(/\\/g, "/")}";`,
|
|
10453
|
+
`import Comp, * as PageModule from "${relative8(dirname10(indexOutputFile), clientOutputFile).replace(/\\/g, "/")}";`,
|
|
10454
10454
|
'import { createSSRApp, createApp } from "vue";',
|
|
10455
10455
|
"",
|
|
10456
10456
|
"// HMR State Preservation: Check for preserved state from HMR",
|
|
@@ -10485,7 +10485,21 @@ if (typeof __VUE_HMR_RUNTIME__ !== 'undefined') {
|
|
|
10485
10485
|
'const isSsrDirty = typeof window !== "undefined" && window.__SSR_DIRTY__;',
|
|
10486
10486
|
'const shouldHydrate = typeof window === "undefined" ? false : !(isHMR || isSsrDirty);',
|
|
10487
10487
|
"const app = shouldHydrate ? createSSRApp(Comp, mergedProps) : createApp(Comp, mergedProps);",
|
|
10488
|
-
|
|
10488
|
+
"",
|
|
10489
|
+
"// Optional setupApp hook \u2014 page modules can export `setupApp(app, { url, isServer })`",
|
|
10490
|
+
"// to attach plugins like vue-router that require app.use() before mount.",
|
|
10491
|
+
"// On the client we pass the current location.pathname + search as `url` and",
|
|
10492
|
+
"// `isServer: false` so the same hook works in both environments.",
|
|
10493
|
+
"async function bootstrapApp() {",
|
|
10494
|
+
' if (typeof PageModule.setupApp === "function") {',
|
|
10495
|
+
' const clientUrl = typeof window !== "undefined"',
|
|
10496
|
+
" ? window.location.pathname + window.location.search",
|
|
10497
|
+
' : "/";',
|
|
10498
|
+
" await PageModule.setupApp(app, { url: clientUrl, isServer: false });",
|
|
10499
|
+
" }",
|
|
10500
|
+
' app.mount("#root");',
|
|
10501
|
+
"}",
|
|
10502
|
+
"bootstrapApp();",
|
|
10489
10503
|
"",
|
|
10490
10504
|
"// Store app instance for HMR - used for manual component updates",
|
|
10491
10505
|
'if (typeof window !== "undefined") {',
|
|
@@ -18194,5 +18208,5 @@ export {
|
|
|
18194
18208
|
build
|
|
18195
18209
|
};
|
|
18196
18210
|
|
|
18197
|
-
//# debugId=
|
|
18211
|
+
//# debugId=19C9BAC158FD3F3A64756E2164756E21
|
|
18198
18212
|
//# sourceMappingURL=build.js.map
|