sia-reactor 0.0.36 → 0.0.38

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.
@@ -1,5 +1,5 @@
1
- import { R as Reactive } from './index-CTfsGm3B.js';
2
- import { T as TimeTravelModule } from './index-Ck9UPQ6r.js';
1
+ import { R as Reactive } from './index-BsH8KkqG.js';
2
+ import { T as TimeTravelModule } from './index-D4DGBS2N.js';
3
3
 
4
4
  /** Reactive options for the TimeTravel overlay instance. */
5
5
  interface TimeTravelConsoleConfig {
@@ -12,7 +12,7 @@ interface TimeTravelConsoleConfig {
12
12
  /** Initial open state applied when the overlay is created. */
13
13
  startOpen: boolean;
14
14
  /** Container element that owns the overlay layer and dock. */
15
- container: HTMLElement;
15
+ container?: HTMLElement;
16
16
  }
17
17
  /**
18
18
  * - Vanilla overlay controller for visual time-travel controls and timeline I/O.
@@ -1,5 +1,5 @@
1
- import { R as Reactive } from './index-CTfsGm3B.cjs';
2
- import { T as TimeTravelModule } from './index-BH-xZx9q.cjs';
1
+ import { R as Reactive } from './index-BsH8KkqG.cjs';
2
+ import { T as TimeTravelModule } from './index-DBx4TIVW.cjs';
3
3
 
4
4
  /** Reactive options for the TimeTravel overlay instance. */
5
5
  interface TimeTravelConsoleConfig {
@@ -12,7 +12,7 @@ interface TimeTravelConsoleConfig {
12
12
  /** Initial open state applied when the overlay is created. */
13
13
  startOpen: boolean;
14
14
  /** Container element that owns the overlay layer and dock. */
15
- container: HTMLElement;
15
+ container?: HTMLElement;
16
16
  }
17
17
  /**
18
18
  * - Vanilla overlay controller for visual time-travel controls and timeline I/O.
@@ -58,7 +58,7 @@ try {
58
58
  isDevEnv = process.env.NODE_ENV !== "production";
59
59
  } catch (e) {
60
60
  }
61
- var CTX = {
61
+ var CTX_BUILD = {
62
62
  /** Flag indicating whether the application is running in development mode. */
63
63
  isDevEnv,
64
64
  /** Flag indicating whether an operation is bypassing checks so reactors can allow all writes. */
@@ -79,6 +79,7 @@ var CTX = {
79
79
  batchingFunction: RTR_BATCH
80
80
  }
81
81
  };
82
+ var CTX = globalThis[/* @__PURE__ */ Symbol.for("S.I.A_CTX")] ??= CTX_BUILD;
82
83
 
83
84
  // src/ts/utils/obj.ts
84
85
  var arrRegex = /^([^\[\]]+)\[(\d+)\]$/;
@@ -1,7 +1,7 @@
1
- import { E as EffectOptions, d as Reactor, R as Reactive, I as ReactorBuild, J as DeepReadonly, W as WildPaths, a as PathValue } from '../index-CTfsGm3B.cjs';
1
+ import { E as EffectOptions, d as Reactor, R as Reactive, J as ReactorBuild, K as DeepReadonly, W as WildPaths, a as PathValue } from '../index-BsH8KkqG.cjs';
2
2
  import { useLayoutEffect } from 'react';
3
- import { T as TimeTravelModule } from '../index-BH-xZx9q.cjs';
4
- import { a as TimeTravelConsoleConfig } from '../TimeTravelConsole-C3w0XcIv.cjs';
3
+ import { T as TimeTravelModule } from '../index-DBx4TIVW.cjs';
4
+ import { a as TimeTravelConsoleConfig } from '../TimeTravelConsole-nYAqg57U.cjs';
5
5
 
6
6
  /**
7
7
  * Subscribes a component to desired Reactor state and returns it.
@@ -1,7 +1,7 @@
1
- import { E as EffectOptions, d as Reactor, R as Reactive, I as ReactorBuild, J as DeepReadonly, W as WildPaths, a as PathValue } from '../index-CTfsGm3B.js';
1
+ import { E as EffectOptions, d as Reactor, R as Reactive, J as ReactorBuild, K as DeepReadonly, W as WildPaths, a as PathValue } from '../index-BsH8KkqG.js';
2
2
  import { useLayoutEffect } from 'react';
3
- import { T as TimeTravelModule } from '../index-Ck9UPQ6r.js';
4
- import { a as TimeTravelConsoleConfig } from '../TimeTravelConsole-BpS9Fsqz.js';
3
+ import { T as TimeTravelModule } from '../index-D4DGBS2N.js';
4
+ import { a as TimeTravelConsoleConfig } from '../TimeTravelConsole-DSifvt2z.js';
5
5
 
6
6
  /**
7
7
  * Subscribes a component to desired Reactor state and returns it.
@@ -2,18 +2,16 @@ import {
2
2
  Autotracker,
3
3
  TimeTravelConsole,
4
4
  withTracker
5
- } from "../chunk-LZZ4AHVE.js";
6
- import "../chunk-SPVWCBIV.js";
7
- import {
8
- getReactor
9
- } from "../chunk-PTNZ442E.js";
5
+ } from "../chunk-GDTGCQ2Q.js";
6
+ import "../chunk-FOD32N6J.js";
10
7
  import "../chunk-ORK3EGB6.js";
11
8
  import {
12
9
  CTX,
13
10
  NIL,
14
11
  NOOP,
15
- getPath
16
- } from "../chunk-SHWIAQD2.js";
12
+ getPath,
13
+ getReactor
14
+ } from "../chunk-DCUPDG7B.js";
17
15
 
18
16
  // src/ts/adapters/react/hooks/useReactor.ts
19
17
  import { useRef, useCallback, useSyncExternalStore, useMemo } from "react";