@absolutejs/absolute 0.19.0-beta.360 → 0.19.0-beta.361

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.
@@ -0,0 +1,15 @@
1
+ // @bun
2
+ var __require = import.meta.require;
3
+
4
+ // .angular-partial-tmp/src/core/streamingSlotRegistrar.ts
5
+ var registrar = null;
6
+ var setStreamingSlotRegistrar = (nextRegistrar) => {
7
+ registrar = nextRegistrar;
8
+ };
9
+ var registerStreamingSlot = (slot) => {
10
+ registrar?.(slot);
11
+ };
12
+ export {
13
+ setStreamingSlotRegistrar,
14
+ registerStreamingSlot
15
+ };
@@ -1,6 +1,15 @@
1
1
  // @bun
2
2
  var __require = import.meta.require;
3
3
 
4
+ // .angular-partial-tmp/src/core/streamingSlotRegistrar.ts
5
+ var registrar = null;
6
+ var setStreamingSlotRegistrar = (nextRegistrar) => {
7
+ registrar = nextRegistrar;
8
+ };
9
+ var registerStreamingSlot = (slot) => {
10
+ registrar?.(slot);
11
+ };
12
+
4
13
  // .angular-partial-tmp/src/core/streamingSlotRegistry.ts
5
14
  var asyncLocalStorage;
6
15
  var isServerRuntime = () => typeof process !== "undefined" && typeof process.versions?.node === "string";
@@ -15,7 +24,7 @@ var ensureAsyncLocalStorage = async () => {
15
24
  asyncLocalStorage = new mod.AsyncLocalStorage;
16
25
  return asyncLocalStorage;
17
26
  };
18
- var registerStreamingSlot = (slot) => {
27
+ var registerStreamingSlot2 = (slot) => {
19
28
  if (!asyncLocalStorage)
20
29
  return;
21
30
  const store = asyncLocalStorage.getStore();
@@ -23,6 +32,7 @@ var registerStreamingSlot = (slot) => {
23
32
  return;
24
33
  store.set(slot.id, slot);
25
34
  };
35
+ setStreamingSlotRegistrar(registerStreamingSlot2);
26
36
  var runWithStreamingSlotRegistry = async (task) => {
27
37
  const storage = await ensureAsyncLocalStorage();
28
38
  if (!storage) {
@@ -41,6 +51,5 @@ var runWithStreamingSlotRegistry = async (task) => {
41
51
  });
42
52
  };
43
53
  export {
44
- runWithStreamingSlotRegistry,
45
- registerStreamingSlot
54
+ runWithStreamingSlotRegistry
46
55
  };
@@ -1,6 +1,6 @@
1
1
  import '@angular/compiler';
2
2
  import { Component, input } from '@angular/core';
3
- import { registerStreamingSlot } from './core/streamingSlotRegistry.js';
3
+ import { registerStreamingSlot } from './core/streamingSlotRegistrar.js';
4
4
  import * as i0 from "@angular/core";
5
5
  export class StreamSlotComponent {
6
6
  constructor() {
@@ -11266,6 +11266,15 @@ var appendStreamingSlotPatchesToStream = (stream, slots = [], {
11266
11266
  });
11267
11267
  };
11268
11268
 
11269
+ // src/core/streamingSlotRegistrar.ts
11270
+ var registrar = null;
11271
+ var setStreamingSlotRegistrar = (nextRegistrar) => {
11272
+ registrar = nextRegistrar;
11273
+ };
11274
+ var registerStreamingSlot = (slot) => {
11275
+ registrar?.(slot);
11276
+ };
11277
+
11269
11278
  // src/core/streamingSlotRegistry.ts
11270
11279
  var asyncLocalStorage;
11271
11280
  var isServerRuntime = () => typeof process !== "undefined" && typeof process.versions?.node === "string";
@@ -11280,7 +11289,7 @@ var ensureAsyncLocalStorage = async () => {
11280
11289
  asyncLocalStorage = new mod.AsyncLocalStorage;
11281
11290
  return asyncLocalStorage;
11282
11291
  };
11283
- var registerStreamingSlot = (slot) => {
11292
+ var registerStreamingSlot2 = (slot) => {
11284
11293
  if (!asyncLocalStorage)
11285
11294
  return;
11286
11295
  const store = asyncLocalStorage.getStore();
@@ -11288,6 +11297,7 @@ var registerStreamingSlot = (slot) => {
11288
11297
  return;
11289
11298
  store.set(slot.id, slot);
11290
11299
  };
11300
+ setStreamingSlotRegistrar(registerStreamingSlot2);
11291
11301
  var runWithStreamingSlotRegistry = async (task) => {
11292
11302
  const storage = await ensureAsyncLocalStorage();
11293
11303
  if (!storage) {
@@ -11772,5 +11782,5 @@ export {
11772
11782
  DeferSlotComponent
11773
11783
  };
11774
11784
 
11775
- //# debugId=E3B90A185E8EDC0564756E2164756E21
11785
+ //# debugId=DD09A3D70BA7C71264756E2164756E21
11776
11786
  //# sourceMappingURL=index.js.map