@absolutejs/absolute 0.19.0-beta.423 → 0.19.0-beta.424

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.
@@ -169199,7 +169199,7 @@ ${registrations}
169199
169199
  ({ tsLibDir } = cached);
169200
169200
  cached.lastUsed = Date.now();
169201
169201
  } else {
169202
- const tsPath = __require.resolve("typescript");
169202
+ const tsPath = __require.resolve("/home/alexkahn/abs/absolutejs/node_modules/typescript/lib/typescript.js");
169203
169203
  const tsRootDir = dirname(tsPath);
169204
169204
  tsLibDir = tsRootDir.endsWith("lib") ? tsRootDir : resolve(tsRootDir, "lib");
169205
169205
  const config = readConfiguration("./tsconfig.json");
@@ -180700,6 +180700,11 @@ var streamSwapRuntime = () => {
180700
180700
  const consumers = window.__ABS_SLOT_CONSUMERS__;
180701
180701
  const pending = window.__ABS_SLOT_PENDING__;
180702
180702
  const canApplyImmediately = () => window.__ABS_SLOT_HYDRATION_PENDING__ !== true;
180703
+ const isAngularDeferPayload = (payload) => {
180704
+ if (!payload || typeof payload !== "object")
180705
+ return false;
180706
+ return payload.kind === "angular-defer";
180707
+ };
180703
180708
  const resolveHtml = (payload) => {
180704
180709
  if (!payload || typeof payload !== "object") {
180705
180710
  return typeof payload === "string" ? payload : "";
@@ -180723,6 +180728,10 @@ var streamSwapRuntime = () => {
180723
180728
  return;
180724
180729
  }
180725
180730
  }
180731
+ if (isAngularDeferPayload(payload)) {
180732
+ pending[id] = payload;
180733
+ return;
180734
+ }
180726
180735
  const node = document.getElementById(`slot-${id}`);
180727
180736
  if (!node) {
180728
180737
  pending[id] = payload;
@@ -181919,9 +181928,7 @@ StreamSlotComponent = __legacyDecorateClassTS([
181919
181928
  ], StreamSlotComponent);
181920
181929
 
181921
181930
  // src/angular/index.ts
181922
- var handleAngularPageRequest2 = wrapPageHandlerWithStreamingSlots(handleAngularPageRequest, {
181923
- runtimePreludeScript: "window.__ABS_SLOT_HYDRATION_PENDING__ = true;"
181924
- });
181931
+ var handleAngularPageRequest2 = wrapPageHandlerWithStreamingSlots(handleAngularPageRequest);
181925
181932
  export {
181926
181933
  renderIsland,
181927
181934
  handleAngularPageRequest2 as handleAngularPageRequest,
@@ -181937,5 +181944,5 @@ export {
181937
181944
  DeferErrorTemplateDirective
181938
181945
  };
181939
181946
 
181940
- //# debugId=F985A10B96E2618164756E2164756E21
181947
+ //# debugId=A8D79B27DEE8C9BE64756E2164756E21
181941
181948
  //# sourceMappingURL=index.js.map