@oscarpalmer/mora 0.26.0 → 0.27.0

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.
Files changed (41) hide show
  1. package/dist/batch.d.mts +14 -0
  2. package/dist/{batch.js → batch.mjs} +13 -3
  3. package/dist/constants-Cy6_M9Vk.d.mts +20 -0
  4. package/dist/constants.d.mts +2 -0
  5. package/dist/{constants.js → constants.mjs} +2 -0
  6. package/dist/effect-BkupB1p9.d.mts +17 -0
  7. package/dist/effect.d.mts +2 -0
  8. package/dist/{effect.js → effect.mjs} +11 -4
  9. package/dist/helpers/is.d.mts +45 -0
  10. package/dist/helpers/is.mjs +55 -0
  11. package/dist/helpers/proxy.d.mts +14 -0
  12. package/dist/helpers/{proxy.js → proxy.mjs} +6 -4
  13. package/dist/helpers/value.d.mts +8 -0
  14. package/dist/helpers/{value.js → value.mjs} +4 -2
  15. package/dist/index.d.mts +7 -0
  16. package/dist/index.mjs +8 -0
  17. package/dist/models-QwNga87R.d.mts +148 -0
  18. package/dist/models.d.mts +2 -0
  19. package/dist/models.mjs +1 -0
  20. package/dist/{mora.full.js → mora.full.mjs} +68 -49
  21. package/dist/subscription.d.mts +2 -0
  22. package/dist/{subscription.js → subscription.mjs} +2 -0
  23. package/dist/value/array.d.mts +140 -0
  24. package/dist/value/{array.js → array.mjs} +80 -18
  25. package/dist/value/computed.d.mts +2 -0
  26. package/dist/value/{computed.js → computed.mjs} +16 -5
  27. package/dist/value/reactive.d.mts +2 -0
  28. package/dist/value/{reactive.js → reactive.mjs} +25 -2
  29. package/dist/value/signal.d.mts +2 -0
  30. package/dist/value/signal.mjs +43 -0
  31. package/dist/value/store.d.mts +97 -0
  32. package/dist/value/{store.js → store.mjs} +25 -7
  33. package/package.json +41 -35
  34. package/src/constants.ts +1 -6
  35. package/src/helpers/is.ts +1 -1
  36. package/src/value/array.ts +6 -6
  37. package/src/value/store.ts +1 -1
  38. package/dist/helpers/is.js +0 -23
  39. package/dist/index.js +0 -8
  40. package/dist/models.js +0 -0
  41. package/dist/value/signal.js +0 -24
@@ -0,0 +1,14 @@
1
+ //#region src/batch.d.ts
2
+ declare function flushHandlers(): void;
3
+ /**
4
+ * Start batching effects
5
+ *
6
+ * _(Use {@link stopBatch} to flush and run batched effects)_
7
+ */
8
+ declare function startBatch(): void;
9
+ /**
10
+ * Stop batching effects and flush _(run)_ them
11
+ */
12
+ declare function stopBatch(): void;
13
+ //#endregion
14
+ export { flushHandlers, startBatch, stopBatch };
@@ -1,6 +1,7 @@
1
- import { BATCH } from "./constants.js";
2
- import { runEffect } from "./effect.js";
3
- import { isEffect } from "./helpers/is.js";
1
+ import { BATCH } from "./constants.mjs";
2
+ import { runEffect } from "./effect.mjs";
3
+ import { isEffect } from "./helpers/is.mjs";
4
+ //#region src/batch.ts
4
5
  function flushHandlers() {
5
6
  while (BATCH.depth === 0 && BATCH.handlers.size > 0) {
6
7
  const handlers = [...BATCH.handlers];
@@ -9,11 +10,20 @@ function flushHandlers() {
9
10
  else handler.callback(handler.state.value);
10
11
  }
11
12
  }
13
+ /**
14
+ * Start batching effects
15
+ *
16
+ * _(Use {@link stopBatch} to flush and run batched effects)_
17
+ */
12
18
  function startBatch() {
13
19
  BATCH.depth += 1;
14
20
  }
21
+ /**
22
+ * Stop batching effects and flush _(run)_ them
23
+ */
15
24
  function stopBatch() {
16
25
  if (BATCH.depth > 0) BATCH.depth -= 1;
17
26
  flushHandlers();
18
27
  }
28
+ //#endregion
19
29
  export { flushHandlers, startBatch, stopBatch };
@@ -0,0 +1,20 @@
1
+ import { n as Batch, t as Active } from "./models-QwNga87R.mjs";
2
+
3
+ //#region src/constants.d.ts
4
+ declare const ACTIVE: Active;
5
+ declare const ARRAY_THRESHOLD = 100;
6
+ declare const ARRAY_OFFSET = 25;
7
+ declare const ARRAY_PEEK = 10;
8
+ declare const BATCH: Batch;
9
+ declare const METHODS_AFFECTING_LENGTH: Set<string>;
10
+ declare const METHODS_UPDATE: Set<string>;
11
+ declare const NAME_ARRAY = "array";
12
+ declare const NAME_COMPUTED = "computed";
13
+ declare const NAME_EFFECT = "effect";
14
+ declare const NAME_MORA = "$mora";
15
+ declare const NAME_SIGNAL = "signal";
16
+ declare const NAME_STORE = "store";
17
+ declare const NAME_ALL: Set<string>;
18
+ declare const PROPERTY_LENGTH = "length";
19
+ //#endregion
20
+ export { BATCH as a, NAME_ALL as c, NAME_EFFECT as d, NAME_MORA as f, PROPERTY_LENGTH as h, ARRAY_THRESHOLD as i, NAME_ARRAY as l, NAME_STORE as m, ARRAY_OFFSET as n, METHODS_AFFECTING_LENGTH as o, NAME_SIGNAL as p, ARRAY_PEEK as r, METHODS_UPDATE as s, ACTIVE as t, NAME_COMPUTED as u };
@@ -0,0 +1,2 @@
1
+ import { a as BATCH, c as NAME_ALL, d as NAME_EFFECT, f as NAME_MORA, h as PROPERTY_LENGTH, i as ARRAY_THRESHOLD, l as NAME_ARRAY, m as NAME_STORE, n as ARRAY_OFFSET, o as METHODS_AFFECTING_LENGTH, p as NAME_SIGNAL, r as ARRAY_PEEK, s as METHODS_UPDATE, t as ACTIVE, u as NAME_COMPUTED } from "./constants-Cy6_M9Vk.mjs";
2
+ export { ACTIVE, ARRAY_OFFSET, ARRAY_PEEK, ARRAY_THRESHOLD, BATCH, METHODS_AFFECTING_LENGTH, METHODS_UPDATE, NAME_ALL, NAME_ARRAY, NAME_COMPUTED, NAME_EFFECT, NAME_MORA, NAME_SIGNAL, NAME_STORE, PROPERTY_LENGTH };
@@ -1,3 +1,4 @@
1
+ //#region src/constants.ts
1
2
  const ACTIVE = {};
2
3
  const ARRAY_THRESHOLD = 100;
3
4
  const ARRAY_OFFSET = 25;
@@ -33,4 +34,5 @@ const NAME_ALL = new Set([
33
34
  NAME_STORE
34
35
  ]);
35
36
  const PROPERTY_LENGTH = "length";
37
+ //#endregion
36
38
  export { ACTIVE, ARRAY_OFFSET, ARRAY_PEEK, ARRAY_THRESHOLD, BATCH, METHODS_AFFECTING_LENGTH, METHODS_UPDATE, NAME_ALL, NAME_ARRAY, NAME_COMPUTED, NAME_EFFECT, NAME_MORA, NAME_SIGNAL, NAME_STORE, PROPERTY_LENGTH };
@@ -0,0 +1,17 @@
1
+ import { GenericCallback } from "@oscarpalmer/atoms/models";
2
+
3
+ //#region src/effect.d.ts
4
+ declare class Effect {
5
+ private readonly $mora;
6
+ private readonly state;
7
+ constructor(callback: GenericCallback);
8
+ }
9
+ declare function runEffect(effect: Effect): void;
10
+ /**
11
+ * Create an effect
12
+ * @param callback Callback for handling signal effects
13
+ * @returns Effect
14
+ */
15
+ declare function effect(callback: GenericCallback): Effect;
16
+ //#endregion
17
+ export { effect as n, runEffect as r, Effect as t };
@@ -0,0 +1,2 @@
1
+ import { n as effect, r as runEffect, t as Effect } from "./effect-BkupB1p9.mjs";
2
+ export { Effect, effect, runEffect };
@@ -1,4 +1,5 @@
1
- import { ACTIVE, NAME_EFFECT, NAME_MORA } from "./constants.js";
1
+ import { ACTIVE, NAME_EFFECT, NAME_MORA } from "./constants.mjs";
2
+ //#region src/effect.ts
2
3
  var Effect = class {
3
4
  constructor(callback) {
4
5
  Object.defineProperty(this, NAME_MORA, { value: NAME_EFFECT });
@@ -6,16 +7,22 @@ var Effect = class {
6
7
  runEffect(this);
7
8
  }
8
9
  };
9
- function runEffect(effect$1) {
10
+ function runEffect(effect) {
10
11
  const previousEffect = ACTIVE.effect;
11
- ACTIVE.effect = effect$1;
12
+ ACTIVE.effect = effect;
12
13
  try {
13
- effect$1.state.callback();
14
+ effect.state.callback();
14
15
  } finally {
15
16
  ACTIVE.effect = previousEffect;
16
17
  }
17
18
  }
19
+ /**
20
+ * Create an effect
21
+ * @param callback Callback for handling signal effects
22
+ * @returns Effect
23
+ */
18
24
  function effect(callback) {
19
25
  return typeof callback === "function" ? new Effect(callback) : void 0;
20
26
  }
27
+ //#endregion
21
28
  export { Effect, effect, runEffect };
@@ -0,0 +1,45 @@
1
+ import { t as Effect } from "../effect-BkupB1p9.mjs";
2
+ import { d as Signal, h as Reactive, p as Computed } from "../models-QwNga87R.mjs";
3
+ import { ReactiveArray } from "../value/array.mjs";
4
+ import { Store } from "../value/store.mjs";
5
+ import { PlainObject } from "@oscarpalmer/atoms/models";
6
+
7
+ //#region src/helpers/is.d.ts
8
+ /**
9
+ * Is the value a reactive array?
10
+ * @param value Value to check
11
+ * @returns True if value is a {@link ReactiveArray}
12
+ */
13
+ declare function isArray<Item>(value: unknown): value is ReactiveArray<Item>;
14
+ /**
15
+ * Is the value a computed signal?
16
+ * @param value Value to check
17
+ * @returns True if value is a {@link Computed}
18
+ */
19
+ declare function isComputed<Value>(value: unknown): value is Computed<Value>;
20
+ /**
21
+ * Is the value an effect?
22
+ * @param value Value to check
23
+ * @returns True if value is an {@link Effect}
24
+ */
25
+ declare function isEffect(value: unknown): value is Effect;
26
+ /**
27
+ * Is the value reactive?
28
+ * @param value Value to check
29
+ * @returns True if value is a {@link Reactive}
30
+ */
31
+ declare function isReactive<Value, Equal = Value>(value: unknown): value is Reactive<Value, Equal>;
32
+ /**
33
+ * Is the value a signal?
34
+ * @param value Value to check
35
+ * @returns True if value is a {@link Signal}
36
+ */
37
+ declare function isSignal<Value>(value: unknown): value is Signal<Value>;
38
+ /**
39
+ * Is the value a reactive store?
40
+ * @param value Value to check
41
+ * @returns True if value is a {@link Store}
42
+ */
43
+ declare function isStore<Value extends PlainObject>(value: unknown): value is Store<Value>;
44
+ //#endregion
45
+ export { isArray, isComputed, isEffect, isReactive, isSignal, isStore };
@@ -0,0 +1,55 @@
1
+ import { NAME_ALL, NAME_ARRAY, NAME_COMPUTED, NAME_EFFECT, NAME_SIGNAL, NAME_STORE } from "../constants.mjs";
2
+ //#region src/helpers/is.ts
3
+ /**
4
+ * Is the value a reactive array?
5
+ * @param value Value to check
6
+ * @returns True if value is a {@link ReactiveArray}
7
+ */
8
+ function isArray(value) {
9
+ return isMora(value, NAME_ARRAY);
10
+ }
11
+ /**
12
+ * Is the value a computed signal?
13
+ * @param value Value to check
14
+ * @returns True if value is a {@link Computed}
15
+ */
16
+ function isComputed(value) {
17
+ return isMora(value, NAME_COMPUTED);
18
+ }
19
+ /**
20
+ * Is the value an effect?
21
+ * @param value Value to check
22
+ * @returns True if value is an {@link Effect}
23
+ */
24
+ function isEffect(value) {
25
+ return isMora(value, NAME_EFFECT);
26
+ }
27
+ function isMora(value, name) {
28
+ return typeof value === "object" && value != null && "$mora" in value && (typeof name === "string" ? value["$mora"] === name : name.has(value["$mora"]));
29
+ }
30
+ /**
31
+ * Is the value reactive?
32
+ * @param value Value to check
33
+ * @returns True if value is a {@link Reactive}
34
+ */
35
+ function isReactive(value) {
36
+ return isMora(value, NAME_ALL);
37
+ }
38
+ /**
39
+ * Is the value a signal?
40
+ * @param value Value to check
41
+ * @returns True if value is a {@link Signal}
42
+ */
43
+ function isSignal(value) {
44
+ return isMora(value, NAME_SIGNAL);
45
+ }
46
+ /**
47
+ * Is the value a reactive store?
48
+ * @param value Value to check
49
+ * @returns True if value is a {@link Store}
50
+ */
51
+ function isStore(value) {
52
+ return isMora(value, NAME_STORE);
53
+ }
54
+ //#endregion
55
+ export { isArray, isComputed, isEffect, isReactive, isSignal, isStore };
@@ -0,0 +1,14 @@
1
+ import { c as ReactiveState, l as SetValueInProxyParameters, p as Computed } from "../models-QwNga87R.mjs";
2
+ import { ReactiveArray } from "../value/array.mjs";
3
+ import { Store } from "../value/store.mjs";
4
+ import { ArrayOrPlainObject, Key, PlainObject } from "@oscarpalmer/atoms/models";
5
+
6
+ //#region src/helpers/proxy.d.ts
7
+ declare function emityProxyValues<Value>(state: ReactiveState<Value, Value>, mapped: Map<Key, Computed<unknown>>): void;
8
+ declare function emityProxyValues<Value>(state: ReactiveState<Value[], Value>, mapped: Map<Key, Computed<unknown>>): void;
9
+ declare function getReactiveValueInProxy<Value>(array: ReactiveArray<Value>, mapped: Map<Key, Computed<unknown>>, index: number, isArray: true): Computed<unknown>;
10
+ declare function getReactiveValueInProxy<Value extends PlainObject>(store: Store<Value>, mapped: Map<Key, Computed<unknown>>, key: Key, isArray: false): Computed<unknown>;
11
+ declare function setProxyValue(proxy: ArrayOrPlainObject, value: ArrayOrPlainObject): void;
12
+ declare function setValueInProxy<Value extends ArrayOrPlainObject, Equal>(parameters: SetValueInProxyParameters<Value, Equal>): boolean;
13
+ //#endregion
14
+ export { emityProxyValues, getReactiveValueInProxy, setProxyValue, setValueInProxy };
@@ -1,7 +1,8 @@
1
- import { PROPERTY_LENGTH } from "../constants.js";
2
- import { startBatch, stopBatch } from "../batch.js";
3
- import { computed } from "../value/computed.js";
4
- import { emitValue } from "./value.js";
1
+ import "../constants.mjs";
2
+ import { startBatch, stopBatch } from "../batch.mjs";
3
+ import { computed } from "../value/computed.mjs";
4
+ import { emitValue } from "./value.mjs";
5
+ //#region src/helpers/proxy.ts
5
6
  function emityProxyValues(state, mapped) {
6
7
  const values = [...mapped.values()];
7
8
  const { length } = values;
@@ -45,4 +46,5 @@ function setValueInProxy(parameters) {
45
46
  }
46
47
  return true;
47
48
  }
49
+ //#endregion
48
50
  export { emityProxyValues, getReactiveValueInProxy, setProxyValue, setValueInProxy };
@@ -0,0 +1,8 @@
1
+ import { c as ReactiveState } from "../models-QwNga87R.mjs";
2
+
3
+ //#region src/helpers/value.d.ts
4
+ declare function emitValue<Value>(state: ReactiveState<Value, never>): void;
5
+ declare function equalArrays<Value>(state: ReactiveState<Value[], Value>, first: Value[], second: Value[]): boolean;
6
+ declare function getValue<Value>(state: ReactiveState<Value, never>): Value;
7
+ //#endregion
8
+ export { emitValue, equalArrays, getValue };
@@ -1,5 +1,6 @@
1
- import { ACTIVE, ARRAY_OFFSET, ARRAY_PEEK, ARRAY_THRESHOLD, BATCH } from "../constants.js";
2
- import { flushHandlers } from "../batch.js";
1
+ import { ACTIVE, BATCH } from "../constants.mjs";
2
+ import { flushHandlers } from "../batch.mjs";
3
+ //#region src/helpers/value.ts
3
4
  function emitValue(state) {
4
5
  for (const computed of state.computeds) computed.effect.dirty = true;
5
6
  for (const effect of state.effects) BATCH.handlers.add(effect);
@@ -24,4 +25,5 @@ function getValue(state) {
24
25
  if (ACTIVE.effect != null) state.effects.add(ACTIVE.effect);
25
26
  return state.value;
26
27
  }
28
+ //#endregion
27
29
  export { emitValue, equalArrays, getValue };
@@ -0,0 +1,7 @@
1
+ import { startBatch, stopBatch } from "./batch.mjs";
2
+ import { n as effect, t as Effect } from "./effect-BkupB1p9.mjs";
3
+ import { d as Signal, f as signal, h as Reactive, m as computed, p as Computed, u as Unsubscribe } from "./models-QwNga87R.mjs";
4
+ import { ReactiveArray, array } from "./value/array.mjs";
5
+ import { Store, store } from "./value/store.mjs";
6
+ import { isArray, isComputed, isEffect, isReactive, isSignal } from "./helpers/is.mjs";
7
+ export { type Computed, type Effect, type Reactive, type ReactiveArray, type Signal, type Store, type Unsubscribe, array, computed, effect, isArray, isComputed, isEffect, isReactive, isSignal, signal, startBatch, stopBatch, store };
package/dist/index.mjs ADDED
@@ -0,0 +1,8 @@
1
+ import { effect } from "./effect.mjs";
2
+ import { isArray, isComputed, isEffect, isReactive, isSignal } from "./helpers/is.mjs";
3
+ import { startBatch, stopBatch } from "./batch.mjs";
4
+ import { computed } from "./value/computed.mjs";
5
+ import { signal } from "./value/signal.mjs";
6
+ import { array } from "./value/array.mjs";
7
+ import { store } from "./value/store.mjs";
8
+ export { array, computed, effect, isArray, isComputed, isEffect, isReactive, isSignal, signal, startBatch, stopBatch, store };
@@ -0,0 +1,148 @@
1
+ import { t as Effect } from "./effect-BkupB1p9.mjs";
2
+ import { GenericCallback } from "@oscarpalmer/atoms/models";
3
+
4
+ //#region src/subscription.d.ts
5
+ declare class Subscription {
6
+ callback: GenericCallback;
7
+ state: ReactiveState<unknown, never>;
8
+ constructor(state: ReactiveState<unknown, never>, callback: GenericCallback);
9
+ destroy(): void;
10
+ }
11
+ declare function noop(): void;
12
+ declare function subscribe<Value>(state: ReactiveState<Value, never>, callback: (value: Value) => void): Unsubscribe;
13
+ declare function unsubscribe<Value>(state: ReactiveState<Value, never>, callback: (value: Value) => void): void;
14
+ //#endregion
15
+ //#region src/value/reactive.d.ts
16
+ declare abstract class Reactive<Value, Equal = Value> {
17
+ protected readonly state: ReactiveState<Value, Equal>;
18
+ constructor(name: string, value: Value, options?: ReactiveOptions<Equal>);
19
+ /**
20
+ * Get the value
21
+ * @return Current value
22
+ */
23
+ abstract get(): Value;
24
+ /**
25
+ * Get the value _(without reactivity)_
26
+ * @return Current value
27
+ */
28
+ peek(): Value;
29
+ /**
30
+ * Subscribe to changes
31
+ * @param callback Callback for changes
32
+ * @return Unsubscribe callback
33
+ */
34
+ subscribe(callback: (value: Value) => void): Unsubscribe;
35
+ /**
36
+ * JSON representation of the value
37
+ * @return JSON value
38
+ */
39
+ toJSON(): Value;
40
+ /**
41
+ * String representation of the value
42
+ * @return Value as string
43
+ */
44
+ toString(): string;
45
+ /**
46
+ * Unsubscribe from changes
47
+ * @param callback Callback to unsubscribe
48
+ */
49
+ unsubscribe(callback: (value: Value) => void): void;
50
+ }
51
+ //#endregion
52
+ //#region src/value/computed.d.ts
53
+ declare class Computed<Value> extends Reactive<Value> {
54
+ private readonly effect;
55
+ constructor(callback: () => Value, options?: ReactiveOptions<Value>);
56
+ /**
57
+ * @inheritdoc
58
+ */
59
+ get(): Value;
60
+ }
61
+ /**
62
+ * Create a computed value
63
+ * @param callback Callback to compute the value
64
+ * @param options Reactivity options
65
+ * @returns Computed value
66
+ */
67
+ declare function computed<Value>(callback: () => Value, options?: ReactiveOptions<Value>): Computed<Value>;
68
+ //#endregion
69
+ //#region src/value/signal.d.ts
70
+ declare class Signal<Value> extends Reactive<Value> {
71
+ constructor(value: Value, options?: ReactiveOptions<Value>);
72
+ /**
73
+ * @inheritdoc
74
+ */
75
+ get(): Value;
76
+ /**
77
+ * Set the value
78
+ * @param value New value
79
+ */
80
+ set(value: Value): void;
81
+ /**
82
+ * Update the value _(based on the current value)_
83
+ * @param callback Callback to update the value
84
+ */
85
+ update(callback: (value: Value) => Value): void;
86
+ }
87
+ /**
88
+ * Create a reactive value
89
+ * @param value Initial value
90
+ * @param options Reactivity options
91
+ * @returns Reactive value
92
+ */
93
+ declare function signal<Value>(value: Value, options?: ReactiveOptions<Value>): Signal<Value>;
94
+ //#endregion
95
+ //#region src/models.d.ts
96
+ type Active = {
97
+ computed?: Computed<unknown>;
98
+ effect?: Effect;
99
+ };
100
+ type Batch = {
101
+ depth: number;
102
+ handlers: Set<Effect | Subscription>;
103
+ };
104
+ type ComputedEffect = {
105
+ dirty: boolean;
106
+ instance: Effect;
107
+ };
108
+ type EffectState = {
109
+ callback: GenericCallback;
110
+ };
111
+ type InternalComputed = {
112
+ readonly effect: ComputedEffect;
113
+ readonly state: ReactiveState<unknown, unknown>;
114
+ };
115
+ type InternalEffect = {
116
+ state: EffectState;
117
+ };
118
+ type ReactiveOptions<Value> = {
119
+ /**
120
+ * Method for comparing values for equality
121
+ * @param first First value
122
+ * @param second Second value
123
+ * @returns Are the values equal?
124
+ * @default Object.is
125
+ */
126
+ equal?: (first: Value, second: Value) => boolean;
127
+ };
128
+ type ReactiveState<Value, Equal> = {
129
+ computeds: Set<Computed<unknown>>;
130
+ effects: Set<Effect>;
131
+ equal: (first: Equal, second: Equal) => boolean;
132
+ subscriptions: Map<GenericCallback, Subscription>;
133
+ value: Value;
134
+ };
135
+ type SetValueInProxyParameters<Value, Equal> = {
136
+ target: Value;
137
+ property: PropertyKey;
138
+ value: unknown;
139
+ state: ReactiveState<Value, Equal>;
140
+ isArray: boolean;
141
+ length?: Signal<number>;
142
+ };
143
+ /**
144
+ * Unsubscribe from changes
145
+ */
146
+ type Unsubscribe = () => void;
147
+ //#endregion
148
+ export { noop as _, InternalComputed as a, ReactiveState as c, Signal as d, signal as f, Subscription as g, Reactive as h, EffectState as i, SetValueInProxyParameters as l, computed as m, Batch as n, InternalEffect as o, Computed as p, ComputedEffect as r, ReactiveOptions as s, Active as t, Unsubscribe as u, subscribe as v, unsubscribe as y };
@@ -0,0 +1,2 @@
1
+ import { a as InternalComputed, c as ReactiveState, i as EffectState, l as SetValueInProxyParameters, n as Batch, o as InternalEffect, r as ComputedEffect, s as ReactiveOptions, t as Active, u as Unsubscribe } from "./models-QwNga87R.mjs";
2
+ export { Active, Batch, ComputedEffect, EffectState, InternalComputed, InternalEffect, ReactiveOptions, ReactiveState, SetValueInProxyParameters, Unsubscribe };
@@ -0,0 +1 @@
1
+ export {};