@absolutejs/absolute 0.19.0-beta.1065 → 0.19.0-beta.1067
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 -2
- package/dist/build.js.map +5 -5
- package/dist/dev/client/handlers/html.ts +53 -11
- package/dist/dev/client/handlers/svelte.ts +20 -0
- package/dist/index.js +17 -2
- package/dist/index.js.map +5 -5
- package/dist/src/dev/clientManager.d.ts +1 -0
- package/dist/types/globals.d.ts +1 -0
- 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-YKumpV/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-YKumpV/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-YKumpV/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
|
@@ -13004,6 +13004,14 @@ if (isHMR) {
|
|
|
13004
13004
|
if (typeof window !== "undefined") {
|
|
13005
13005
|
window.__SVELTE_COMPONENT__ = component;
|
|
13006
13006
|
window.__SVELTE_UNMOUNT__ = function() { if (component) { unmount(component); } };
|
|
13007
|
+
window.__SVELTE_REMOUNT__ = function(props) {
|
|
13008
|
+
if (typeof window.__SVELTE_UNMOUNT__ === "function") {
|
|
13009
|
+
try { window.__SVELTE_UNMOUNT__(); } catch (err) { /* ignore */ }
|
|
13010
|
+
}
|
|
13011
|
+
component = mount(Component, { target, props });
|
|
13012
|
+
window.__SVELTE_COMPONENT__ = component;
|
|
13013
|
+
window.__SVELTE_UNMOUNT__ = function() { if (component) { unmount(component); } };
|
|
13014
|
+
};
|
|
13007
13015
|
window.__ABS_SLOT_HYDRATION_PENDING__ = shouldHydrate;
|
|
13008
13016
|
var releaseStreamingSlots = function() {
|
|
13009
13017
|
window.__ABS_SLOT_HYDRATION_PENDING__ = false;
|
|
@@ -25611,6 +25619,11 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, runSequent
|
|
|
25611
25619
|
for (const file4 of svelteFiles) {
|
|
25612
25620
|
state.fileHashes.set(resolve40(file4), computeFileHash(file4));
|
|
25613
25621
|
}
|
|
25622
|
+
const surgicallyHandled = state.svelteSurgicallyHandled ?? new Set;
|
|
25623
|
+
for (const file4 of svelteFiles) {
|
|
25624
|
+
surgicallyHandled.add(resolve40(file4));
|
|
25625
|
+
}
|
|
25626
|
+
state.svelteSurgicallyHandled = surgicallyHandled;
|
|
25614
25627
|
const serverDuration = Date.now() - startTime;
|
|
25615
25628
|
await runSequentially(svelteFiles, (changedFile) => broadcastSvelteModuleUpdate(state, changedFile, svelteFiles, serverDuration));
|
|
25616
25629
|
scheduleSvelteBundleRebuild(state, svelteFiles, config)();
|
|
@@ -26380,7 +26393,8 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, runSequent
|
|
|
26380
26393
|
if (isCssOnlyChange && svelteCssFiles.length > 0) {
|
|
26381
26394
|
handleSvelteCssOnlyUpdate(state, svelteCssFiles, manifest, duration);
|
|
26382
26395
|
}
|
|
26383
|
-
|
|
26396
|
+
const surgicallyHandled = state.svelteSurgicallyHandled;
|
|
26397
|
+
pagesToUpdate.filter((sveltePagePath) => !surgicallyHandled?.has(resolve40(sveltePagePath))).forEach((sveltePagePath) => {
|
|
26384
26398
|
broadcastSveltePageUpdate(state, sveltePagePath, manifest, duration);
|
|
26385
26399
|
});
|
|
26386
26400
|
}, handleAngularCssOnlyUpdate = (state, angularCssFiles, manifest, duration) => {
|
|
@@ -26666,6 +26680,7 @@ var moduleServerPromise, getModuleServer = () => moduleServerPromise, runSequent
|
|
|
26666
26680
|
});
|
|
26667
26681
|
return files.every((f2) => handled.has(f2));
|
|
26668
26682
|
}, performFullRebuild = async (state, config, affectedFrameworks, filesToRebuild, startTime, onRebuildComplete) => {
|
|
26683
|
+
state.svelteSurgicallyHandled = undefined;
|
|
26669
26684
|
const hasManifest = Object.keys(state.manifest).length > 0;
|
|
26670
26685
|
const files = filesToRebuild ?? [];
|
|
26671
26686
|
let allHandled = files.length > 0 && hasManifest;
|
|
@@ -27614,5 +27629,5 @@ export {
|
|
|
27614
27629
|
build
|
|
27615
27630
|
};
|
|
27616
27631
|
|
|
27617
|
-
//# debugId=
|
|
27632
|
+
//# debugId=0D8CDACD22DE51B364756E2164756E21
|
|
27618
27633
|
//# sourceMappingURL=build.js.map
|