@alwatr/signal 5.1.0 → 5.2.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.
- package/CHANGELOG.md +21 -0
- package/dist/core/computed-signal.d.ts +32 -5
- package/dist/core/computed-signal.d.ts.map +1 -1
- package/dist/core/effect-signal.d.ts +24 -2
- package/dist/core/effect-signal.d.ts.map +1 -1
- package/dist/core/event-signal.d.ts +4 -0
- package/dist/core/event-signal.d.ts.map +1 -1
- package/dist/core/signal-base.d.ts +16 -8
- package/dist/core/signal-base.d.ts.map +1 -1
- package/dist/core/state-signal.d.ts +8 -0
- package/dist/core/state-signal.d.ts.map +1 -1
- package/dist/main.cjs +128 -62
- package/dist/main.cjs.map +2 -2
- package/dist/main.mjs +128 -62
- package/dist/main.mjs.map +2 -2
- package/dist/type.d.ts +29 -5
- package/dist/type.d.ts.map +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,27 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.2.0](https://github.com/Alwatr/flux/compare/v5.1.0...v5.2.0) (2025-09-15)
|
|
7
|
+
|
|
8
|
+
### ✨ Features
|
|
9
|
+
|
|
10
|
+
* Add comprehensive documentation to the repository ([d5569e6](https://github.com/Alwatr/flux/commit/d5569e63acd0aa926c34d9a61b2fff5139b9d3cc))
|
|
11
|
+
* Update EffectSignalConfig to allow optional signalId and add documentation ([6aab97e](https://github.com/Alwatr/flux/commit/6aab97e6e223f822f66cacb78c9d194fa5e2df9d))
|
|
12
|
+
|
|
13
|
+
### 🐛 Bug Fixes
|
|
14
|
+
|
|
15
|
+
* Refactor logger initialization and ensure checkDestroyed_ is called in relevant methods ([a17884d](https://github.com/Alwatr/flux/commit/a17884d5df097d62353e5b4110d3a83a5ae093b3))
|
|
16
|
+
|
|
17
|
+
### 🔨 Code Refactoring
|
|
18
|
+
|
|
19
|
+
* Ensure isRunning__ is reset when destroyed during delay in EffectSignal ([ff9a590](https://github.com/Alwatr/flux/commit/ff9a5905f7875e7dcb675cbdbb44869b0743e954))
|
|
20
|
+
* Improve signal management by consolidating destruction checks and enhancing logging ([8765ba2](https://github.com/Alwatr/flux/commit/8765ba2f701f10db89ef11a3045065442360d193))
|
|
21
|
+
* Remove unnecessary binding of notify_ in EventSignal constructor ([eb3be32](https://github.com/Alwatr/flux/commit/eb3be3211b13c21aa4f5c16a37f5c9fc59144951))
|
|
22
|
+
* Simplify ComputedSignal implementation and improve logging for lifecycle methods ([bc35e91](https://github.com/Alwatr/flux/commit/bc35e91d5871669cc22c6c92ee2b83c4d940194e))
|
|
23
|
+
* Simplify EffectSignal implementation and improve logging for lifecycle methods ([a5cad04](https://github.com/Alwatr/flux/commit/a5cad04469efd929e2ce7da42b371d4c054e5eaf))
|
|
24
|
+
* Simplify EventSignal logger initialization and constructor ([b515315](https://github.com/Alwatr/flux/commit/b515315428e8ba0c70a7ef5ede49916e899b6fcd))
|
|
25
|
+
* Update logger step identifiers for recalculation in ComputedSignal ([8de799f](https://github.com/Alwatr/flux/commit/8de799f40d90c2cdc3440d90bc1f2b6ce22f7013))
|
|
26
|
+
|
|
6
27
|
## [5.1.0](https://github.com/Alwatr/flux/compare/v5.0.0...v5.1.0) (2025-09-14)
|
|
7
28
|
|
|
8
29
|
### ✨ Features
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StateSignal } from './state-signal.js';
|
|
2
|
-
import type { ComputedSignalConfig, IReadonlySignal, SubscribeResult } from '../type.js';
|
|
2
|
+
import type { ComputedSignalConfig, IReadonlySignal, SubscribeResult, SubscribeOptions } from '../type.js';
|
|
3
3
|
/**
|
|
4
4
|
* A read-only signal that derives its value from a set of dependency signals.
|
|
5
5
|
*
|
|
@@ -11,7 +11,6 @@ import type { ComputedSignalConfig, IReadonlySignal, SubscribeResult } from '../
|
|
|
11
11
|
* needed to prevent memory leaks from its subscriptions to dependency signals.
|
|
12
12
|
*
|
|
13
13
|
* @template T The type of the computed value.
|
|
14
|
-
* @implements {IComputedSignal<T>}
|
|
15
14
|
*
|
|
16
15
|
* @example
|
|
17
16
|
* // --- Create dependency signals ---
|
|
@@ -41,7 +40,14 @@ import type { ComputedSignalConfig, IReadonlySignal, SubscribeResult } from '../
|
|
|
41
40
|
*/
|
|
42
41
|
export declare class ComputedSignal<T> implements IReadonlySignal<T> {
|
|
43
42
|
protected config_: ComputedSignalConfig<T>;
|
|
43
|
+
/**
|
|
44
|
+
* The unique identifier for this signal instance.
|
|
45
|
+
*/
|
|
44
46
|
readonly signalId: string;
|
|
47
|
+
/**
|
|
48
|
+
* The logger instance for this signal.
|
|
49
|
+
* @protected
|
|
50
|
+
*/
|
|
45
51
|
protected readonly logger_: import("@alwatr/logger").AlwatrLogger;
|
|
46
52
|
/**
|
|
47
53
|
* The internal `StateSignal` that holds the computed value.
|
|
@@ -49,7 +55,15 @@ export declare class ComputedSignal<T> implements IReadonlySignal<T> {
|
|
|
49
55
|
* @protected
|
|
50
56
|
*/
|
|
51
57
|
protected readonly internalSignal_: StateSignal<T>;
|
|
52
|
-
|
|
58
|
+
/**
|
|
59
|
+
* A list of subscriptions to dependency signals.
|
|
60
|
+
* @private
|
|
61
|
+
*/
|
|
62
|
+
private readonly dependencySubscriptions__;
|
|
63
|
+
/**
|
|
64
|
+
* A flag to prevent concurrent recalculations.
|
|
65
|
+
* @private
|
|
66
|
+
*/
|
|
53
67
|
private isRecalculating__;
|
|
54
68
|
constructor(config_: ComputedSignalConfig<T>);
|
|
55
69
|
/**
|
|
@@ -66,8 +80,21 @@ export declare class ComputedSignal<T> implements IReadonlySignal<T> {
|
|
|
66
80
|
* @returns `true` if the signal is destroyed, `false` otherwise.
|
|
67
81
|
*/
|
|
68
82
|
get isDestroyed(): boolean;
|
|
69
|
-
|
|
70
|
-
|
|
83
|
+
/**
|
|
84
|
+
* Subscribes a listener to this signal.
|
|
85
|
+
* The listener will be called whenever the computed value changes.
|
|
86
|
+
*
|
|
87
|
+
* @param callback The function to be called with the new value.
|
|
88
|
+
* @param options Subscription options.
|
|
89
|
+
* @returns A `SubscribeResult` object with an `unsubscribe` method.
|
|
90
|
+
*/
|
|
91
|
+
subscribe(callback: (value: T) => void, options?: SubscribeOptions): SubscribeResult;
|
|
92
|
+
/**
|
|
93
|
+
* Returns a Promise that resolves with the next computed value.
|
|
94
|
+
*
|
|
95
|
+
* @returns A Promise that resolves with the next value.
|
|
96
|
+
*/
|
|
97
|
+
untilNext(): Promise<T>;
|
|
71
98
|
/**
|
|
72
99
|
* Permanently disposes of the computed signal.
|
|
73
100
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"computed-signal.d.ts","sourceRoot":"","sources":["../../src/core/computed-signal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,EAAC,oBAAoB,EAAE,eAAe,EAAE,eAAe,EAAC,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"computed-signal.d.ts","sourceRoot":"","sources":["../../src/core/computed-signal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE9C,OAAO,KAAK,EAAC,oBAAoB,EAAE,eAAe,EAAE,eAAe,EAAE,gBAAgB,EAAC,MAAM,YAAY,CAAC;AAEzG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,qBAAa,cAAc,CAAC,CAAC,CAAE,YAAW,eAAe,CAAC,CAAC,CAAC;IAmCvC,SAAS,CAAC,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC;IAlC7D;;OAEG;IACH,SAAgB,QAAQ,SAAyB;IAEjD;;;OAGG;IACH,SAAS,CAAC,QAAQ,CAAC,OAAO,wCAAqD;IAE/E;;;;OAIG;IACH,SAAS,CAAC,QAAQ,CAAC,eAAe,iBAG/B;IAEH;;;OAGG;IAEH,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAyB;IAEnE;;;OAGG;IACH,OAAO,CAAC,iBAAiB,CAAS;gBAEL,OAAO,EAAE,oBAAoB,CAAC,CAAC,CAAC;IAU7D;;;;;;OAMG;IACH,IAAW,KAAK,IAAI,CAAC,CAEpB;IAED;;;;OAIG;IACH,IAAW,WAAW,IAAI,OAAO,CAEhC;IAED;;;;;;;OAOG;IACI,SAAS,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,IAAI,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,eAAe;IAI3F;;;;OAIG;IACI,SAAS,IAAI,OAAO,CAAC,CAAC,CAAC;IAI9B;;;;;;;;OAQG;IACI,OAAO,IAAI,IAAI;IAqBtB;;;;;;;OAOG;cACa,YAAY,IAAI,OAAO,CAAC,IAAI,CAAC;CAwC9C"}
|
|
@@ -19,6 +19,7 @@ import type { EffectSignalConfig, IEffectSignal } from '../type.js';
|
|
|
19
19
|
*
|
|
20
20
|
* // --- Create an effect ---
|
|
21
21
|
* const analyticsEffect = new EffectSignal({
|
|
22
|
+
* signalId: 'analytics-effect',
|
|
22
23
|
* deps: [counter, user],
|
|
23
24
|
* run: () => {
|
|
24
25
|
* console.log(`Analytics: User '${user.value}' clicked ${counter.value} times.`);
|
|
@@ -39,13 +40,34 @@ import type { EffectSignalConfig, IEffectSignal } from '../type.js';
|
|
|
39
40
|
*/
|
|
40
41
|
export declare class EffectSignal implements IEffectSignal {
|
|
41
42
|
protected config_: EffectSignalConfig;
|
|
43
|
+
/**
|
|
44
|
+
* The unique identifier for this signal instance.
|
|
45
|
+
*/
|
|
46
|
+
readonly signalId: string;
|
|
47
|
+
/**
|
|
48
|
+
* The logger instance for this signal.
|
|
49
|
+
* @protected
|
|
50
|
+
*/
|
|
42
51
|
protected readonly logger_: import("@alwatr/logger").AlwatrLogger;
|
|
43
|
-
|
|
52
|
+
/**
|
|
53
|
+
* A list of subscriptions to dependency signals.
|
|
54
|
+
* @private
|
|
55
|
+
*/
|
|
56
|
+
private readonly dependencySubscriptions__;
|
|
57
|
+
/**
|
|
58
|
+
* A flag to prevent concurrent executions of the effect.
|
|
59
|
+
* @private
|
|
60
|
+
*/
|
|
44
61
|
private isRunning__;
|
|
62
|
+
/**
|
|
63
|
+
* A flag indicating whether the effect has been destroyed.
|
|
64
|
+
* @private
|
|
65
|
+
*/
|
|
45
66
|
private isDestroyed__;
|
|
46
67
|
/**
|
|
47
68
|
* Indicates whether the effect signal has been destroyed.
|
|
48
|
-
* A destroyed signal
|
|
69
|
+
* A destroyed signal will no longer execute its effect and cannot be reused.
|
|
70
|
+
*
|
|
49
71
|
* @returns `true` if the signal is destroyed, `false` otherwise.
|
|
50
72
|
*/
|
|
51
73
|
get isDestroyed(): boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"effect-signal.d.ts","sourceRoot":"","sources":["../../src/core/effect-signal.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,kBAAkB,EAAE,aAAa,EAAkB,MAAM,YAAY,CAAC;AAEnF
|
|
1
|
+
{"version":3,"file":"effect-signal.d.ts","sourceRoot":"","sources":["../../src/core/effect-signal.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAC,kBAAkB,EAAE,aAAa,EAAkB,MAAM,YAAY,CAAC;AAEnF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,qBAAa,YAAa,YAAW,aAAa;IAwC7B,SAAS,CAAC,OAAO,EAAE,kBAAkB;IAvCxD;;OAEG;IACH,SAAgB,QAAQ,SAAkH;IAE1I;;;OAGG;IACH,SAAS,CAAC,QAAQ,CAAC,OAAO,wCAAmD;IAE7E;;;OAGG;IACH,OAAO,CAAC,QAAQ,CAAC,yBAAyB,CAAyB;IAEnE;;;OAGG;IACH,OAAO,CAAC,WAAW,CAAS;IAE5B;;;OAGG;IACH,OAAO,CAAC,aAAa,CAAS;IAE9B;;;;;OAKG;IACH,IAAW,WAAW,IAAI,OAAO,CAEhC;gBAE4B,OAAO,EAAE,kBAAkB;IAiBxD;;;;;;;OAOG;cACa,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;IAmCrC;;;;;;OAMG;IACI,OAAO,IAAI,IAAI;CAmBvB"}
|
|
@@ -28,6 +28,10 @@ import type { SignalConfig } from '../type.js';
|
|
|
28
28
|
* onAppReady.dispatch(); // Notifies the listener.
|
|
29
29
|
*/
|
|
30
30
|
export declare class EventSignal<T = void> extends SignalBase<T> {
|
|
31
|
+
/**
|
|
32
|
+
* The logger instance for this signal.
|
|
33
|
+
* @protected
|
|
34
|
+
*/
|
|
31
35
|
protected logger_: import("@alwatr/logger").AlwatrLogger;
|
|
32
36
|
constructor(config: SignalConfig);
|
|
33
37
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event-signal.d.ts","sourceRoot":"","sources":["../../src/core/event-signal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,YAAY,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAAa,WAAW,CAAC,CAAC,GAAG,IAAI,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAC;IACtD,SAAS,CAAC,OAAO,wCAAkD;gBAEhD,MAAM,EAAE,YAAY;IAKvC;;;;;;OAMG;IACI,QAAQ,CAAC,OAAO,EAAE,CAAC,GAAG,IAAI;
|
|
1
|
+
{"version":3,"file":"event-signal.d.ts","sourceRoot":"","sources":["../../src/core/event-signal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,YAAY,CAAC;AAE7C;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAAa,WAAW,CAAC,CAAC,GAAG,IAAI,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAC;IACtD;;;OAGG;IACH,SAAS,CAAC,OAAO,wCAAkD;gBAEhD,MAAM,EAAE,YAAY;IAKvC;;;;;;OAMG;IACI,QAAQ,CAAC,OAAO,EAAE,CAAC,GAAG,IAAI;CAMlC"}
|
|
@@ -2,35 +2,43 @@ import type { Observer_, SubscribeOptions, SubscribeResult, ListenerCallback, Si
|
|
|
2
2
|
import type { AlwatrLogger } from '@alwatr/logger';
|
|
3
3
|
/**
|
|
4
4
|
* An abstract base class for signal implementations.
|
|
5
|
+
* It provides the core functionality for managing subscriptions (observers).
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
-
* It handles adding, removing, and notifying listeners. The responsibility of *when* to notify
|
|
8
|
-
* is left to the concrete subclasses (`StateSignal`, `EventSignal`, etc.).
|
|
9
|
-
*
|
|
10
|
-
* @template T The type of data the signal will handle.
|
|
7
|
+
* @template T The type of data that the signal holds or dispatches.
|
|
11
8
|
*/
|
|
12
9
|
export declare abstract class SignalBase<T> {
|
|
13
10
|
protected config_: SignalConfig;
|
|
14
11
|
/**
|
|
15
|
-
* The unique identifier for this signal instance.
|
|
12
|
+
* The unique identifier for this signal instance.
|
|
13
|
+
* Useful for debugging and logging.
|
|
16
14
|
*/
|
|
17
15
|
readonly signalId: string;
|
|
16
|
+
/**
|
|
17
|
+
* The logger instance for this signal.
|
|
18
|
+
* @protected
|
|
19
|
+
*/
|
|
18
20
|
protected abstract logger_: AlwatrLogger;
|
|
19
21
|
/**
|
|
20
22
|
* The list of observers (listeners) subscribed to this signal.
|
|
21
23
|
* @protected
|
|
22
24
|
*/
|
|
23
25
|
protected readonly observers_: Observer_<T>[];
|
|
24
|
-
|
|
26
|
+
/**
|
|
27
|
+
* A flag indicating whether the signal has been destroyed.
|
|
28
|
+
* @private
|
|
29
|
+
*/
|
|
30
|
+
private isDestroyed__;
|
|
25
31
|
/**
|
|
26
32
|
* Indicates whether the signal has been destroyed.
|
|
27
33
|
* A destroyed signal cannot be used and will throw an error if interacted with.
|
|
34
|
+
*
|
|
28
35
|
* @returns `true` if the signal is destroyed, `false` otherwise.
|
|
29
36
|
*/
|
|
30
37
|
get isDestroyed(): boolean;
|
|
31
38
|
constructor(config_: SignalConfig);
|
|
32
39
|
/**
|
|
33
40
|
* Removes a specific observer from the observers list.
|
|
41
|
+
*
|
|
34
42
|
* @param observer The observer instance to remove.
|
|
35
43
|
* @protected
|
|
36
44
|
*/
|
|
@@ -82,6 +90,6 @@ export declare abstract class SignalBase<T> {
|
|
|
82
90
|
* This is a safeguard to prevent interaction with a defunct signal.
|
|
83
91
|
* @protected
|
|
84
92
|
*/
|
|
85
|
-
protected checkDestroyed_
|
|
93
|
+
protected checkDestroyed_(): void;
|
|
86
94
|
}
|
|
87
95
|
//# sourceMappingURL=signal-base.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signal-base.d.ts","sourceRoot":"","sources":["../../src/core/signal-base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAE,gBAAgB,EAAE,eAAe,EAAE,gBAAgB,EAAE,YAAY,EAAC,MAAM,YAAY,CAAC;AAC7G,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAGjD
|
|
1
|
+
{"version":3,"file":"signal-base.d.ts","sourceRoot":"","sources":["../../src/core/signal-base.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAE,gBAAgB,EAAE,eAAe,EAAE,gBAAgB,EAAE,YAAY,EAAC,MAAM,YAAY,CAAC;AAC7G,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,gBAAgB,CAAC;AAGjD;;;;;GAKG;AACH,8BAAsB,UAAU,CAAC,CAAC;IAmCb,SAAS,CAAC,OAAO,EAAE,YAAY;IAlClD;;;OAGG;IACH,SAAgB,QAAQ,SAAyB;IAEjD;;;OAGG;IACH,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;IAEzC;;;OAGG;IACH,SAAS,CAAC,QAAQ,CAAC,UAAU,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAM;IAEnD;;;OAGG;IACH,OAAO,CAAC,aAAa,CAAS;IAE9B;;;;;OAKG;IACH,IAAW,WAAW,IAAI,OAAO,CAEhC;gBAE4B,OAAO,EAAE,YAAY;IAElD;;;;;OAKG;IACH,SAAS,CAAC,eAAe,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,GAAG,IAAI;IAcvD;;;;;;;;OAQG;IACI,SAAS,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,OAAO,CAAC,EAAE,gBAAgB,GAAG,eAAe;IAoB5F;;;;;;;;OAQG;IACH,SAAS,CAAC,OAAO,CAAC,KAAK,EAAE,CAAC,GAAG,IAAI;IA6BjC;;;;;;;;;;;;OAYG;IACI,SAAS,IAAI,OAAO,CAAC,CAAC,CAAC;IAY9B;;;;;;OAMG;IACI,OAAO,IAAI,IAAI;IAYtB;;;;OAIG;IACH,SAAS,CAAC,eAAe,IAAI,IAAI;CAMlC"}
|
|
@@ -34,7 +34,15 @@ import type { StateSignalConfig, ListenerCallback, SubscribeOptions, SubscribeRe
|
|
|
34
34
|
* subscription.unsubscribe();
|
|
35
35
|
*/
|
|
36
36
|
export declare class StateSignal<T> extends SignalBase<T> implements IReadonlySignal<T> {
|
|
37
|
+
/**
|
|
38
|
+
* The current value of the signal.
|
|
39
|
+
* @private
|
|
40
|
+
*/
|
|
37
41
|
private value__;
|
|
42
|
+
/**
|
|
43
|
+
* The logger instance for this signal.
|
|
44
|
+
* @protected
|
|
45
|
+
*/
|
|
38
46
|
protected logger_: import("@alwatr/logger").AlwatrLogger;
|
|
39
47
|
constructor(config: StateSignalConfig<T>);
|
|
40
48
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"state-signal.d.ts","sourceRoot":"","sources":["../../src/core/state-signal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,OAAO,KAAK,EAAC,iBAAiB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe,EAAC,MAAM,YAAY,CAAC;AAExH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAa,WAAW,CAAC,CAAC,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAE,YAAW,eAAe,CAAC,CAAC,CAAC;IAC7E,OAAO,CAAC,OAAO,CAAI;
|
|
1
|
+
{"version":3,"file":"state-signal.d.ts","sourceRoot":"","sources":["../../src/core/state-signal.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,UAAU,EAAC,MAAM,kBAAkB,CAAC;AAE5C,OAAO,KAAK,EAAC,iBAAiB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,eAAe,EAAE,eAAe,EAAC,MAAM,YAAY,CAAC;AAExH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,qBAAa,WAAW,CAAC,CAAC,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAE,YAAW,eAAe,CAAC,CAAC,CAAC;IAC7E;;;OAGG;IACH,OAAO,CAAC,OAAO,CAAI;IAEnB;;;OAGG;IACH,SAAS,CAAC,OAAO,wCAAkD;gBAEhD,MAAM,EAAE,iBAAiB,CAAC,CAAC,CAAC;IAM/C;;;;;;;OAOG;IACH,IAAW,KAAK,IAAI,CAAC,CAGpB;IAED;;;;;;;;;;;;;;OAcG;IACI,GAAG,CAAC,QAAQ,EAAE,CAAC,GAAG,IAAI;IAe7B;;;;;;;;;;;;;;OAcG;IACI,MAAM,CAAC,OAAO,EAAE,CAAC,aAAa,EAAE,CAAC,KAAK,CAAC,GAAG,IAAI;IAQrD;;;;;;;;;OASG;IACa,SAAS,CAAC,QAAQ,EAAE,gBAAgB,CAAC,CAAC,CAAC,EAAE,OAAO,GAAE,gBAAqB,GAAG,eAAe;IAwBzG;;;OAGG;IACa,OAAO,IAAI,IAAI;CAIhC"}
|