@absolutejs/absolute 0.19.0-beta.430 → 0.19.0-beta.432
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 +7 -2
- package/dist/angular/index.js.map +3 -3
- package/dist/build.js +4 -5
- package/dist/build.js.map +3 -3
- package/dist/client/index.js +7 -2
- package/dist/client/index.js.map +3 -3
- package/dist/index.js +10 -6
- package/dist/index.js.map +4 -4
- package/dist/react/index.js +7 -2
- package/dist/react/index.js.map +3 -3
- package/dist/svelte/index.js +7 -2
- package/dist/svelte/index.js.map +3 -3
- package/dist/vue/components/index.js +33 -5
- package/dist/vue/components/index.js.map +3 -3
- package/dist/vue/index.js +42 -10
- package/dist/vue/index.js.map +5 -5
- package/dist/vue/server.js +4 -5
- package/dist/vue/server.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -176641,7 +176641,7 @@ var init_pageHandler3 = __esm(() => {
|
|
|
176641
176641
|
// src/vue/pageHandler.ts
|
|
176642
176642
|
import { readdir as readdir4 } from "fs/promises";
|
|
176643
176643
|
import { basename as basename11, dirname as dirname11 } from "path";
|
|
176644
|
-
var ssrDirty4 = false,
|
|
176644
|
+
var ssrDirty4 = false, isRecord8 = (value) => typeof value === "object" && value !== null, isGenericVueComponent = (value) => typeof value === "function" || isRecord8(value), readHasIslands2 = (value) => {
|
|
176645
176645
|
if (!isRecord8(value))
|
|
176646
176646
|
return false;
|
|
176647
176647
|
const hasIslands = value["__ABSOLUTE_PAGE_HAS_ISLANDS__"];
|
|
@@ -176663,9 +176663,8 @@ var ssrDirty4 = false, hydrateSlotPreamble = "window.__ABS_SLOT_HYDRATION_PENDIN
|
|
|
176663
176663
|
}
|
|
176664
176664
|
}, buildDirtyResponse3 = (headTag, indexPath, maybeProps) => {
|
|
176665
176665
|
const propsScript = `window.__INITIAL_PROPS__=${JSON.stringify(maybeProps ?? {})};`;
|
|
176666
|
-
const hydratedHead = injectSlotPreamble(headTag);
|
|
176667
176666
|
const dirtyFlag = "window.__SSR_DIRTY__=true;";
|
|
176668
|
-
const html = `<!DOCTYPE html><html>${
|
|
176667
|
+
const html = `<!DOCTYPE html><html>${headTag}<body><div id="root"></div>` + `<script>${propsScript}${dirtyFlag}</script>` + `<script type="module" src="${indexPath}"></script>` + `</body></html>`;
|
|
176669
176668
|
return new Response(html, {
|
|
176670
176669
|
headers: { "Content-Type": "text/html" }
|
|
176671
176670
|
});
|
|
@@ -176701,7 +176700,7 @@ var ssrDirty4 = false, hydrateSlotPreamble = "window.__ABS_SLOT_HYDRATION_PENDIN
|
|
|
176701
176700
|
render: () => h2(resolvedPage.component, maybeProps ?? null)
|
|
176702
176701
|
});
|
|
176703
176702
|
const bodyStream = renderToWebStream(app);
|
|
176704
|
-
const head = `<!DOCTYPE html><html>${
|
|
176703
|
+
const head = `<!DOCTYPE html><html>${headTag}<body><div id="root">`;
|
|
176705
176704
|
const tail = `</div><script>window.__INITIAL_PROPS__=${JSON.stringify(maybeProps ?? {})}</script><script type="module" src="${indexPath}"></script></body></html>`;
|
|
176706
176705
|
const stream = new ReadableStream({
|
|
176707
176706
|
start(controller) {
|
|
@@ -179507,5 +179506,5 @@ export {
|
|
|
179507
179506
|
build
|
|
179508
179507
|
};
|
|
179509
179508
|
|
|
179510
|
-
//# debugId=
|
|
179509
|
+
//# debugId=E452691DCBEFAFCD64756E2164756E21
|
|
179511
179510
|
//# sourceMappingURL=build.js.map
|