@endge/ui-vue 1.0.0-dev → 1.0.0-dev.10
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.
|
@@ -55,22 +55,53 @@ declare var __VLS_1: {
|
|
|
55
55
|
} | null;
|
|
56
56
|
readonly node: {
|
|
57
57
|
priority: number;
|
|
58
|
-
|
|
59
|
-
meta: Record<string, unknown>;
|
|
58
|
+
_childCount: number;
|
|
60
59
|
type: string;
|
|
60
|
+
readonly id: string;
|
|
61
|
+
meta: Record<string, unknown>;
|
|
62
|
+
readonly api: Readonly<unknown>;
|
|
63
|
+
readonly _subtreeSourceIdentity: object;
|
|
64
|
+
readonly node: /*elided*/ any;
|
|
61
65
|
readonly parent: /*elided*/ any | null;
|
|
66
|
+
_hasAncestor: (owner: import('@raphy-js/raph').RaphScope<any>) => boolean;
|
|
62
67
|
readonly children: readonly /*elided*/ any[];
|
|
63
|
-
addChild: (node: import('@raphy-js/raph').RaphNode) => boolean;
|
|
64
|
-
|
|
65
|
-
|
|
68
|
+
addChild: (node: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>) => boolean;
|
|
69
|
+
reorderChildren: (nodes: readonly import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>[]) => void;
|
|
70
|
+
moveChild: (child: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>, before: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime> | null) => void;
|
|
71
|
+
_swapChildren: (first: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>, second: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>) => void;
|
|
72
|
+
_disposeChildren: {
|
|
73
|
+
(): unknown[] | undefined;
|
|
74
|
+
(holders: readonly import('@raphy-js/raph/debug/runtime/ownership/RaphNode').RaphNodeHolder<import('@raphy-js/raph').RaphRuntime>[], start?: number, end?: number): unknown[] | undefined;
|
|
75
|
+
};
|
|
76
|
+
options: (options: Pick<import('@raphy-js/raph').NodeOptions<import('@raphy-js/raph').RaphRuntime>, "meta" | "type" | "priority">) => void;
|
|
77
|
+
touch: (metadata?: unknown) => void;
|
|
66
78
|
remove: () => void;
|
|
67
79
|
dispose: () => void;
|
|
68
|
-
|
|
69
|
-
|
|
80
|
+
_disposeForOwner: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
81
|
+
_disposeWithOutcome: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
70
82
|
_setApi: (api: unknown) => void;
|
|
71
|
-
|
|
83
|
+
_publishCreation: () => void;
|
|
84
|
+
_isPublished: () => boolean;
|
|
85
|
+
_isLinked: () => boolean;
|
|
86
|
+
_collectDescendants: (into: import('@raphy-js/raph').RaphScope<any>[]) => void;
|
|
87
|
+
_countSubtree: (totals: {
|
|
88
|
+
resources: number;
|
|
89
|
+
sources: number;
|
|
90
|
+
}) => void;
|
|
91
|
+
_findNode: (id: string) => import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime> | undefined;
|
|
72
92
|
readonly runtime: {
|
|
93
|
+
readonly reactiveObjects: true;
|
|
94
|
+
readonly selectors: true;
|
|
73
95
|
readonly configuration: {
|
|
96
|
+
readonly adaptiveDependencyIndex: boolean;
|
|
97
|
+
readonly debug?: {
|
|
98
|
+
readonly trace?: false | {
|
|
99
|
+
readonly capacity?: number | undefined;
|
|
100
|
+
readonly context?: import('@raphy-js/raph').RaphTraceContextMode | undefined;
|
|
101
|
+
readonly guards?: import('@raphy-js/raph').RaphTraceGuardMode | undefined;
|
|
102
|
+
readonly include?: readonly import('@raphy-js/raph').RaphTraceKind[] | undefined;
|
|
103
|
+
} | undefined;
|
|
104
|
+
} | undefined;
|
|
74
105
|
readonly id: string;
|
|
75
106
|
readonly kernel: {
|
|
76
107
|
readonly id: string;
|
|
@@ -101,7 +132,9 @@ declare var __VLS_1: {
|
|
|
101
132
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
102
133
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
103
134
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
104
|
-
|
|
135
|
+
batch: <T>(operation: () => T) => T;
|
|
136
|
+
_openSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime) => import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub | undefined;
|
|
137
|
+
_closeSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime, hub: import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub, operationFailed: boolean, operationError: unknown) => void;
|
|
105
138
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
106
139
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
107
140
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -119,74 +152,6 @@ declare var __VLS_1: {
|
|
|
119
152
|
readonly enforceActions: boolean;
|
|
120
153
|
readonly scheduler: import('@raphy-js/raph').RaphSchedulerMode;
|
|
121
154
|
};
|
|
122
|
-
readonly rootScope: {
|
|
123
|
-
readonly id: string;
|
|
124
|
-
readonly runtime: /*elided*/ any;
|
|
125
|
-
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
126
|
-
computed: {
|
|
127
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
128
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
129
|
-
};
|
|
130
|
-
effect: {
|
|
131
|
-
(callback: () => void | import('@raphy-js/raph').Disposer): import('@raphy-js/raph').Disposer;
|
|
132
|
-
(phase: string, callback: () => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').RaphEffectOptions): import('@raphy-js/raph').Disposer;
|
|
133
|
-
};
|
|
134
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: (value: import('@raphy-js/raph').WatchValue<S>, previous: import('@raphy-js/raph').WatchValue<S> | undefined) => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
135
|
-
action: <Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result) => (...args: Args) => Result;
|
|
136
|
-
_assertAlive: () => void;
|
|
137
|
-
readonly reactivity: {
|
|
138
|
-
readonly _effectImmediate: import('@raphy-js/raph/debug/reactivity/types').EffectFactory;
|
|
139
|
-
signal: <T>(initialValue: T) => import('@raphy-js/raph').Signal<T>;
|
|
140
|
-
computed: {
|
|
141
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
142
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
143
|
-
};
|
|
144
|
-
effect: (fn: import('@raphy-js/raph/signals').EffectCallback, onStop?: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
145
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: import('@raphy-js/raph/signals').WatchCallback<S>, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
146
|
-
batch: <T>(fn: () => T) => T;
|
|
147
|
-
untracked: <T>(fn: () => T) => T;
|
|
148
|
-
scope: () => import('@raphy-js/raph/signals').ScopeNode;
|
|
149
|
-
_signalAccess: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').SignalAccess<T>;
|
|
150
|
-
_computedAccess: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').ComputedAccessHandle<T>;
|
|
151
|
-
_ownedSignal: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').Signal<T>>;
|
|
152
|
-
_ownedComputed: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').ReadonlySignal<T>>;
|
|
153
|
-
_startBatch: () => void;
|
|
154
|
-
_endBatch: () => void;
|
|
155
|
-
_isTracking: () => boolean;
|
|
156
|
-
_isFlushingEffects: () => boolean;
|
|
157
|
-
};
|
|
158
|
-
scopeFirstChild: {
|
|
159
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
160
|
-
scopeParent?: {
|
|
161
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
162
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
163
|
-
} | undefined;
|
|
164
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
165
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
166
|
-
} | undefined;
|
|
167
|
-
scopeLastChild: {
|
|
168
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
169
|
-
scopeParent?: {
|
|
170
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
171
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
172
|
-
} | undefined;
|
|
173
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
174
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
175
|
-
} | undefined;
|
|
176
|
-
readonly disposed: boolean;
|
|
177
|
-
readonly active: boolean;
|
|
178
|
-
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
179
|
-
_debugResourceCount: () => number;
|
|
180
|
-
_debugSourceCount: () => number;
|
|
181
|
-
dispose: () => void;
|
|
182
|
-
_own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
183
|
-
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
184
|
-
_adoptSource: <T>(owned: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
185
|
-
_ownSource: (finalizer: import('@raphy-js/raph/debug/reactivity/types').SourceFinalizer) => void;
|
|
186
|
-
};
|
|
187
|
-
readonly root: /*elided*/ any;
|
|
188
|
-
_getReactivity: () => import('@raphy-js/raph/debug/runtime/RuntimeReactivity').RuntimeReactivity;
|
|
189
|
-
readonly id: string;
|
|
190
155
|
readonly kernel: {
|
|
191
156
|
readonly id: string;
|
|
192
157
|
readonly disposed: boolean;
|
|
@@ -216,7 +181,9 @@ declare var __VLS_1: {
|
|
|
216
181
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
217
182
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
218
183
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
219
|
-
|
|
184
|
+
batch: <T>(operation: () => T) => T;
|
|
185
|
+
_openSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime) => import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub | undefined;
|
|
186
|
+
_closeSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime, hub: import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub, operationFailed: boolean, operationError: unknown) => void;
|
|
220
187
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
221
188
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
222
189
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -232,61 +199,30 @@ declare var __VLS_1: {
|
|
|
232
199
|
_removeDerived: (handle: import('@raphy-js/raph').RaphDerivedHandle<any, any>) => void;
|
|
233
200
|
};
|
|
234
201
|
readonly meta: {
|
|
202
|
+
delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
235
203
|
get: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
236
204
|
has: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
237
205
|
set: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
238
206
|
merge: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
239
|
-
delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
240
|
-
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').RaphMetaWatchCallback, options?: import('@raphy-js/raph').RaphMetaWatchOptions) => () => void;
|
|
241
207
|
};
|
|
242
|
-
readonly disposed: boolean;
|
|
243
|
-
readonly graph: {
|
|
244
|
-
parentsOf: (node: import('@raphy-js/raph').RaphNode<unknown>) => ReadonlySet<import('@raphy-js/raph').RaphNode<unknown>>;
|
|
245
|
-
};
|
|
246
|
-
readonly loopEnabled: boolean;
|
|
247
|
-
readonly frame: {
|
|
248
|
-
readonly now: number;
|
|
249
|
-
readonly delta: number;
|
|
250
|
-
readonly elapsed: number;
|
|
251
|
-
readonly frame: number;
|
|
252
|
-
};
|
|
253
|
-
readonly phases: readonly {
|
|
254
|
-
readonly name: string;
|
|
255
|
-
readonly traversal: import('@raphy-js/raph').RaphPhaseTraversal;
|
|
256
|
-
readonly mode?: import('@raphy-js/raph').RaphPhaseMode | undefined;
|
|
257
|
-
readonly routes?: readonly (string | {
|
|
258
|
-
toPlain: () => import('@raphy-js/raph').PlainDataPath;
|
|
259
|
-
toStringPath: () => string;
|
|
260
|
-
toString: () => string;
|
|
261
|
-
segments: () => readonly import('@raphy-js/raph').PathSegment[];
|
|
262
|
-
_asExact: () => import('@raphy-js/raph/debug/path/data-path').ParsedDataPath;
|
|
263
|
-
_asMask: () => import('@raphy-js/raph/debug/path/data-path').ParsedPathMask;
|
|
264
|
-
} | {
|
|
265
|
-
readonly deepOnTail?: boolean | undefined;
|
|
266
|
-
readonly segs: readonly unknown[];
|
|
267
|
-
})[] | undefined;
|
|
268
|
-
readonly nodes?: ((node: import('@raphy-js/raph').RaphNode<any>) => boolean) | undefined;
|
|
269
|
-
readonly each?: ((context: import('@raphy-js/raph').PhaseExecutorContext) => void) | undefined;
|
|
270
|
-
readonly all?: ((contexts: readonly import('@raphy-js/raph').PhaseExecutorContext[]) => void) | undefined;
|
|
271
|
-
}[];
|
|
272
208
|
getDerivedSnapshot: () => ReturnType<import('@raphy-js/raph').RaphKernel["getDerivedSnapshot"]>;
|
|
273
209
|
readonly debug: {
|
|
210
|
+
readonly machines: {
|
|
211
|
+
list: () => readonly import('@raphy-js/raph').RaphMachineDebugSummary[];
|
|
212
|
+
snapshot: (id: string) => import('@raphy-js/raph').RaphMachineDebugSnapshot | undefined;
|
|
213
|
+
};
|
|
214
|
+
readonly trace: {
|
|
215
|
+
clear: () => void;
|
|
216
|
+
read: (options?: import('@raphy-js/raph').RaphTraceReadOptions) => readonly import('@raphy-js/raph').RaphTraceEvent[];
|
|
217
|
+
start: (options?: import('@raphy-js/raph').RaphTraceOptions) => void;
|
|
218
|
+
status: () => import('@raphy-js/raph').RaphTraceStatus;
|
|
219
|
+
stop: () => void;
|
|
220
|
+
};
|
|
221
|
+
getTree: () => import('@raphy-js/raph').RaphDebugTreeNode;
|
|
274
222
|
snapshot: () => import('@raphy-js/raph').RaphDebugSnapshot;
|
|
275
|
-
|
|
276
|
-
};
|
|
277
|
-
signal: <T>(value: T, owner?: import('@raphy-js/raph').RaphScope) => import('@raphy-js/raph').Signal<T>;
|
|
278
|
-
computed: {
|
|
279
|
-
<T>(getter: () => T, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
280
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Signal<T>;
|
|
281
|
-
};
|
|
282
|
-
effect: {
|
|
283
|
-
(callback: () => void | import('@raphy-js/raph').Disposer, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Disposer;
|
|
284
|
-
(phase: string, callback: () => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').RaphEffectOptions, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Disposer;
|
|
285
|
-
};
|
|
286
|
-
watch: {
|
|
287
|
-
(masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: (payload: import('@raphy-js/raph').PathEvents) => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').WatchOptions, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Disposer;
|
|
288
|
-
<S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: (value: import('@raphy-js/raph').WatchValue<S>, previous: import('@raphy-js/raph').WatchValue<S> | undefined) => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').WatchOptions, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Disposer;
|
|
223
|
+
stats: () => import('@raphy-js/raph').RaphDebugStats;
|
|
289
224
|
};
|
|
225
|
+
metaSource: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options?: import('@raphy-js/raph').RaphMetaSourceOptions) => import('@raphy-js/raph').RaphMetaSource;
|
|
290
226
|
path: <T>(path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => import('@raphy-js/raph').PathHandle<T>;
|
|
291
227
|
get: {
|
|
292
228
|
<T = import('@raphy-js/raph').DataObject>(): T | undefined;
|
|
@@ -300,65 +236,195 @@ declare var __VLS_1: {
|
|
|
300
236
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
301
237
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
302
238
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
239
|
+
derive: <TSource, TTarget>(options: import('@raphy-js/raph').DerivedOptions<TSource, TTarget>) => import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>;
|
|
240
|
+
readonly mode: "runtime";
|
|
241
|
+
readonly rootScope: {
|
|
242
|
+
readonly runtime: /*elided*/ any;
|
|
243
|
+
readonly _order: number;
|
|
244
|
+
readonly _isNode: boolean;
|
|
245
|
+
_disposed: boolean;
|
|
246
|
+
_disposing: boolean;
|
|
247
|
+
readonly id: string;
|
|
248
|
+
readonly node: /*elided*/ any | undefined;
|
|
249
|
+
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
250
|
+
computed: {
|
|
251
|
+
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
252
|
+
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
253
|
+
};
|
|
254
|
+
selector: <Key>(source: import('@raphy-js/raph').Signal<Key>, options?: import('@raphy-js/raph').RaphSelectorOptions<Key> | undefined) => import('@raphy-js/raph').RaphSelector<Key>;
|
|
255
|
+
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
256
|
+
bindEffect: (phase: string, body: import('@raphy-js/raph').RaphPhaseBody, options?: import('@raphy-js/raph').RaphEffectOptions) => void;
|
|
257
|
+
effectGroup: <Context>(phase: string, count: number, runSlot: import('@raphy-js/raph').RaphEffectGroupSlot<Context>, context: Context, options?: import('@raphy-js/raph').RaphEffectGroupOptions) => import('@raphy-js/raph').RaphEffectGroup;
|
|
258
|
+
watch: (source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphWatchOptions) => import('@raphy-js/raph').Disposer;
|
|
259
|
+
_registerEffect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options: import('@raphy-js/raph').RaphEffectOptions, taskless: boolean, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
260
|
+
_registerWatch: (source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options: import('@raphy-js/raph').RaphWatchOptions, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
261
|
+
_registerEffectGroup: <Context>(phase: string, count: number, runSlot: import('@raphy-js/raph').RaphEffectGroupSlot<Context>, context: Context, options?: import('@raphy-js/raph').RaphEffectGroupOptions) => ReturnType<import('@raphy-js/raph').RaphRuntime["_effectGroupRegistration"]>;
|
|
262
|
+
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource<import('@raphy-js/raph').RaphRuntime>[]) => import('@raphy-js/raph').RaphAggregate<import('@raphy-js/raph').RaphRuntime>;
|
|
263
|
+
action: {
|
|
264
|
+
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
265
|
+
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
266
|
+
};
|
|
267
|
+
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
268
|
+
dispose: () => void;
|
|
269
|
+
_disposeScopeForOwner: (dispose: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
270
|
+
_disposeWithOutcome: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
271
|
+
_ownCompletedCleanup: (cleanup: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined) => import('@raphy-js/raph').Disposer;
|
|
272
|
+
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
273
|
+
_adoptRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
274
|
+
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
275
|
+
_adoptSourceEntry: (entry: import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry) => void;
|
|
276
|
+
_assertAlive: () => void;
|
|
277
|
+
scopeFirstChild: {
|
|
278
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
279
|
+
scopeParent?: {
|
|
280
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
281
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
282
|
+
} | undefined;
|
|
283
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
284
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
285
|
+
} | undefined;
|
|
286
|
+
scopeLastChild: {
|
|
287
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
288
|
+
scopeParent?: {
|
|
289
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
290
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
291
|
+
} | undefined;
|
|
292
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
293
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
294
|
+
} | undefined;
|
|
295
|
+
readonly disposed: boolean;
|
|
296
|
+
readonly active: boolean;
|
|
297
|
+
_debugResourceCount: () => number;
|
|
298
|
+
_debugSourceCount: () => number;
|
|
299
|
+
_lastOwnedSource: () => import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry | undefined;
|
|
300
|
+
_releaseRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
301
|
+
};
|
|
302
|
+
readonly root: /*elided*/ any;
|
|
303
|
+
readonly frameTick: {
|
|
304
|
+
get: (this: import('@raphy-js/raph').ReadonlySignal<unknown>) => number;
|
|
305
|
+
peek: (this: import('@raphy-js/raph').ReadonlySignal<unknown>) => number;
|
|
306
|
+
};
|
|
307
|
+
_getReactivity: () => import('@raphy-js/raph/debug/runtime/reactivity/RuntimeReactivity').RuntimeReactivity;
|
|
308
|
+
_getWorkGraph: () => import('@raphy-js/raph/debug/runtime/reactivity/RaphWorkGraph').RaphWorkGraph;
|
|
309
|
+
readonly id: string;
|
|
310
|
+
readonly disposed: boolean;
|
|
311
|
+
readonly graph: {
|
|
312
|
+
parentsOf: (node: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>) => ReadonlySet<import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>>;
|
|
313
|
+
};
|
|
314
|
+
readonly loopEnabled: boolean;
|
|
315
|
+
readonly frame: {
|
|
316
|
+
readonly now: number;
|
|
317
|
+
readonly delta: number;
|
|
318
|
+
readonly elapsed: number;
|
|
319
|
+
readonly frame: number;
|
|
320
|
+
};
|
|
321
|
+
readonly phases: readonly {
|
|
322
|
+
readonly name: string;
|
|
323
|
+
readonly process?: ((batch: import('@raphy-js/raph').RaphPhaseBatch<import('@raphy-js/raph').RaphRuntime>) => void) | undefined;
|
|
324
|
+
}[];
|
|
325
|
+
signal: <T>(value: T, owner?: import('@raphy-js/raph').RaphScope<any>) => import('@raphy-js/raph').Signal<T>;
|
|
326
|
+
reactive: <T extends object>(value: T) => T;
|
|
327
|
+
computed: {
|
|
328
|
+
<T>(getter: () => T, owner?: import('@raphy-js/raph').RaphScope<any>): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
329
|
+
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>, owner?: import('@raphy-js/raph').RaphScope<any>): import('@raphy-js/raph').Signal<T>;
|
|
330
|
+
};
|
|
331
|
+
effect: (consumer: import('@raphy-js/raph').RaphScope<any>, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
332
|
+
_effectRegistration: (consumer: import('@raphy-js/raph').RaphScope<any>, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphEffectOptions, startPaused?: boolean, taskless?: boolean, onExecutionFailure?: (error: unknown) => never, isExecutionCancelled?: () => boolean) => import('@raphy-js/raph/debug/runtime/RaphRuntimeBase').RaphPausableRegistration;
|
|
333
|
+
_effectGroupRegistration: (consumer: import('@raphy-js/raph').RaphScope<any>, phaseInput: string, count: number, runSlot: import('@raphy-js/raph').RaphEffectGroupSlot, context: unknown, options?: import('@raphy-js/raph').RaphEffectGroupOptions, startPaused?: boolean) => import('@raphy-js/raph/debug/runtime/phases/RaphPhaseTaskRecord').RaphPhaseTaskRecord;
|
|
334
|
+
_startGroupSlot: (record: import('@raphy-js/raph/debug/runtime/phases/RaphPhaseTaskRecord').RaphPhaseTaskRecord, slot: number, initial: import('@raphy-js/raph').RaphEffectInitialMode, onExecutionFailure?: (error: unknown) => never) => void;
|
|
335
|
+
watch: (consumer: import('@raphy-js/raph').RaphScope<any>, source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphWatchOptions) => import('@raphy-js/raph').Disposer;
|
|
336
|
+
_watchRegistration: (consumer: import('@raphy-js/raph').RaphScope<any>, source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphWatchOptions, startPaused?: boolean, onExecutionFailure?: (error: unknown) => never, isExecutionCancelled?: () => boolean) => import('@raphy-js/raph/debug/runtime/phases/RaphPhaseTaskRecord').RaphPhaseTaskRecord;
|
|
337
|
+
aggregate: (consumer: import('@raphy-js/raph').RaphScope<import('@raphy-js/raph').RaphRuntime>, sources: readonly import('@raphy-js/raph').RaphAggregateSource<import('@raphy-js/raph').RaphRuntime>[]) => import('@raphy-js/raph').RaphAggregate<import('@raphy-js/raph').RaphRuntime>;
|
|
338
|
+
batch: <T>(operation: () => T) => T;
|
|
339
|
+
_batchReactive: <T>(operation: () => T) => T;
|
|
340
|
+
action: {
|
|
341
|
+
<Args extends unknown[], Result>(operation: (...args: Args) => Result, owner?: import('@raphy-js/raph').RaphScope<any>): (...args: Args) => Result;
|
|
342
|
+
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result, owner?: import('@raphy-js/raph').RaphScope<any>): (...args: Args) => Result;
|
|
343
|
+
};
|
|
344
|
+
_invokeAction: <Args extends unknown[], Result>(name: string, owner: import('@raphy-js/raph').RaphScope<any>, operation: (...args: Args) => Result, args: ArrayLike<Args[number]>, receiver?: unknown) => Result;
|
|
306
345
|
untracked: <T>(operation: () => T) => T;
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
346
|
+
_probeReads: (operation: () => void) => boolean;
|
|
347
|
+
scope: (id: string) => import('@raphy-js/raph').RaphScope<import('@raphy-js/raph').RaphRuntime>;
|
|
348
|
+
node: <TApi = void>(options: import('@raphy-js/raph').NodeOptions<import('@raphy-js/raph').RaphRuntime>, setup?: ((node: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>) => TApi) | undefined) => import('@raphy-js/raph').RaphNode<TApi, import('@raphy-js/raph').RaphRuntime>;
|
|
349
|
+
getNode: (id: string) => import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime> | undefined;
|
|
350
|
+
definePhases: (phases: readonly import('@raphy-js/raph').RaphPhase<import('@raphy-js/raph').RaphRuntime>[]) => void;
|
|
351
|
+
addPhase: (phase: import('@raphy-js/raph').RaphPhase<import('@raphy-js/raph').RaphRuntime>) => void;
|
|
312
352
|
clearPhases: () => void;
|
|
313
|
-
|
|
314
|
-
track: (node: import('@raphy-js/raph').RaphNode, masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options?: import('@raphy-js/raph').RaphTrackOptions) => import('@raphy-js/raph').Disposer;
|
|
315
|
-
invalidateNode: (node: import('@raphy-js/raph').RaphNode, phase: string) => void;
|
|
353
|
+
requestExecution: () => void;
|
|
316
354
|
flush: () => void;
|
|
355
|
+
afterFlush: () => Promise<void>;
|
|
317
356
|
acquireLoop: (owner: string) => import('@raphy-js/raph').FrameLoopLease;
|
|
318
357
|
startLoop: () => void;
|
|
319
358
|
stopLoop: () => void;
|
|
320
|
-
derive: <TSource, TTarget>(options: import('@raphy-js/raph').DerivedOptions<TSource, TTarget>) => import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>;
|
|
321
359
|
dispose: () => void;
|
|
322
360
|
_onDisposed: (listener: () => void) => import('@raphy-js/raph').Disposer;
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
361
|
+
_notifyNodeStructure: (node: import('@raphy-js/raph').RaphNode<unknown, any>, structure: import('@raphy-js/raph').RaphStructureCause<import('@raphy-js/raph').RaphRuntime>, oldAncestors: readonly import('@raphy-js/raph').RaphNode<unknown, any>[], newAncestors: readonly import('@raphy-js/raph').RaphNode<unknown, any>[]) => void;
|
|
362
|
+
_hasNodeStructureDemand: (node: import('@raphy-js/raph').RaphNode<unknown, any>) => boolean;
|
|
363
|
+
_hasNodeSubscribers: () => boolean;
|
|
364
|
+
_notifyNodeTouch: (node: import('@raphy-js/raph').RaphNode<unknown, any>, metadata?: unknown) => void;
|
|
365
|
+
_assertNodeReparentAllowed: (node: import('@raphy-js/raph').RaphNode<unknown, any>, newParent: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
366
|
+
_releaseNode: (node: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
367
|
+
_runNodeMutation: <T>(operation: () => T) => T;
|
|
368
|
+
_touchMutationBoundary: () => void;
|
|
369
|
+
_runPhaseTransition: <T>(operation: () => T) => T;
|
|
370
|
+
_beginOwnerDisposal: (node?: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
371
|
+
_endOwnerDisposal: () => void;
|
|
372
|
+
_ownerDisposalCount: () => number;
|
|
373
|
+
_addDisposalSweeper: (sweeper: import('@raphy-js/raph/debug/runtime/reactivity/runtime-reactivity.types').RuntimeDisposalSweeper, due: number) => void;
|
|
374
|
+
_removeDisposalSweeper: (sweeper: import('@raphy-js/raph/debug/runtime/reactivity/runtime-reactivity.types').RuntimeDisposalSweeper) => void;
|
|
375
|
+
_ownerDisposalActive: () => boolean;
|
|
376
|
+
_registerOwner: (owner: import('@raphy-js/raph').RaphScope<any>) => number;
|
|
377
|
+
_unregisterOwner: (owner: import('@raphy-js/raph').RaphScope<any>) => void;
|
|
378
|
+
_addTopOwner: (node: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
379
|
+
_removeTopOwner: (node: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
380
|
+
_assertOwnerRuntime: (owner: import('@raphy-js/raph').RaphScope<any>) => void;
|
|
381
|
+
_beginKernelBatch: () => void;
|
|
382
|
+
_endKernelBatch: () => void;
|
|
383
|
+
_registerMachineDebug: (registration: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphMachineDebugRegistration) => import('@raphy-js/raph').Disposer;
|
|
384
|
+
_hasMachineDebug: (id: string) => boolean;
|
|
385
|
+
_traces: (kind: import('@raphy-js/raph').RaphTraceKind) => boolean;
|
|
386
|
+
_currentTraceCauseId: () => number | undefined;
|
|
387
|
+
_nextTraceOperation: (kind: import('@raphy-js/raph').RaphTraceKind) => number | undefined;
|
|
388
|
+
_hasActiveReactiveContext: () => boolean;
|
|
389
|
+
_recordTrace: (event: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphTraceEventInput) => void;
|
|
390
|
+
_runWithTraceCause: <T>(causeId: number | undefined, operation: () => T) => T;
|
|
391
|
+
_isWriteBatchOpen: () => boolean;
|
|
392
|
+
_enterWrite: () => void;
|
|
393
|
+
_exitWrite: () => void;
|
|
394
|
+
_failWrite: (operationError: unknown) => unknown;
|
|
395
|
+
_applyObjectReadPolicy: (checked: boolean) => void;
|
|
396
|
+
_assertSourceReadable: (owner: import('@raphy-js/raph').RaphScope<any>) => void;
|
|
328
397
|
};
|
|
398
|
+
readonly _order: number;
|
|
399
|
+
readonly _isNode: boolean;
|
|
400
|
+
_disposed: boolean;
|
|
401
|
+
_disposing: boolean;
|
|
329
402
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
330
403
|
computed: {
|
|
331
404
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
332
405
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
333
406
|
};
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
407
|
+
selector: <Key>(source: import('@raphy-js/raph').Signal<Key>, options?: import('@raphy-js/raph').RaphSelectorOptions<Key> | undefined) => import('@raphy-js/raph').RaphSelector<Key>;
|
|
408
|
+
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
409
|
+
bindEffect: (phase: string, body: import('@raphy-js/raph').RaphPhaseBody, options?: import('@raphy-js/raph').RaphEffectOptions) => void;
|
|
410
|
+
effectGroup: <Context>(phase: string, count: number, runSlot: import('@raphy-js/raph').RaphEffectGroupSlot<Context>, context: Context, options?: import('@raphy-js/raph').RaphEffectGroupOptions) => import('@raphy-js/raph').RaphEffectGroup;
|
|
411
|
+
watch: (source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphWatchOptions) => import('@raphy-js/raph').Disposer;
|
|
412
|
+
_registerEffect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options: import('@raphy-js/raph').RaphEffectOptions, taskless: boolean, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
413
|
+
_registerWatch: (source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options: import('@raphy-js/raph').RaphWatchOptions, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
414
|
+
_registerEffectGroup: <Context>(phase: string, count: number, runSlot: import('@raphy-js/raph').RaphEffectGroupSlot<Context>, context: Context, options?: import('@raphy-js/raph').RaphEffectGroupOptions) => ReturnType<import('@raphy-js/raph').RaphRuntime["_effectGroupRegistration"]>;
|
|
415
|
+
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource<import('@raphy-js/raph').RaphRuntime>[]) => import('@raphy-js/raph').RaphAggregate<import('@raphy-js/raph').RaphRuntime>;
|
|
416
|
+
action: {
|
|
417
|
+
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
418
|
+
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
337
419
|
};
|
|
338
|
-
|
|
339
|
-
|
|
420
|
+
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
421
|
+
_disposeScopeForOwner: (dispose: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
422
|
+
_ownCompletedCleanup: (cleanup: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined) => import('@raphy-js/raph').Disposer;
|
|
423
|
+
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
424
|
+
_adoptRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
425
|
+
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
426
|
+
_adoptSourceEntry: (entry: import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry) => void;
|
|
340
427
|
_assertAlive: () => void;
|
|
341
|
-
readonly reactivity: {
|
|
342
|
-
readonly _effectImmediate: import('@raphy-js/raph/debug/reactivity/types').EffectFactory;
|
|
343
|
-
signal: <T>(initialValue: T) => import('@raphy-js/raph').Signal<T>;
|
|
344
|
-
computed: {
|
|
345
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
346
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
347
|
-
};
|
|
348
|
-
effect: (fn: import('@raphy-js/raph/signals').EffectCallback, onStop?: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
349
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: import('@raphy-js/raph/signals').WatchCallback<S>, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
350
|
-
batch: <T>(fn: () => T) => T;
|
|
351
|
-
untracked: <T>(fn: () => T) => T;
|
|
352
|
-
scope: () => import('@raphy-js/raph/signals').ScopeNode;
|
|
353
|
-
_signalAccess: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').SignalAccess<T>;
|
|
354
|
-
_computedAccess: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').ComputedAccessHandle<T>;
|
|
355
|
-
_ownedSignal: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').Signal<T>>;
|
|
356
|
-
_ownedComputed: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').ReadonlySignal<T>>;
|
|
357
|
-
_startBatch: () => void;
|
|
358
|
-
_endBatch: () => void;
|
|
359
|
-
_isTracking: () => boolean;
|
|
360
|
-
_isFlushingEffects: () => boolean;
|
|
361
|
-
};
|
|
362
428
|
scopeFirstChild: {
|
|
363
429
|
dispose: import('@raphy-js/raph').Disposer;
|
|
364
430
|
scopeParent?: {
|
|
@@ -379,13 +445,10 @@ declare var __VLS_1: {
|
|
|
379
445
|
} | undefined;
|
|
380
446
|
readonly disposed: boolean;
|
|
381
447
|
readonly active: boolean;
|
|
382
|
-
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
383
448
|
_debugResourceCount: () => number;
|
|
384
449
|
_debugSourceCount: () => number;
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
_adoptSource: <T>(owned: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
388
|
-
_ownSource: (finalizer: import('@raphy-js/raph/debug/reactivity/types').SourceFinalizer) => void;
|
|
450
|
+
_lastOwnedSource: () => import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry | undefined;
|
|
451
|
+
_releaseRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
389
452
|
} | null;
|
|
390
453
|
readonly basePath: string;
|
|
391
454
|
statePath: (path?: string) => string;
|
|
@@ -953,22 +1016,53 @@ declare var __VLS_1: {
|
|
|
953
1016
|
} | null;
|
|
954
1017
|
readonly node: {
|
|
955
1018
|
priority: number;
|
|
956
|
-
|
|
957
|
-
meta: Record<string, unknown>;
|
|
1019
|
+
_childCount: number;
|
|
958
1020
|
type: string;
|
|
1021
|
+
readonly id: string;
|
|
1022
|
+
meta: Record<string, unknown>;
|
|
1023
|
+
readonly api: Readonly<unknown>;
|
|
1024
|
+
readonly _subtreeSourceIdentity: object;
|
|
1025
|
+
readonly node: /*elided*/ any;
|
|
959
1026
|
readonly parent: /*elided*/ any | null;
|
|
1027
|
+
_hasAncestor: (owner: import('@raphy-js/raph').RaphScope<any>) => boolean;
|
|
960
1028
|
readonly children: readonly /*elided*/ any[];
|
|
961
|
-
addChild: (node: import('@raphy-js/raph').RaphNode) => boolean;
|
|
962
|
-
|
|
963
|
-
|
|
1029
|
+
addChild: (node: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>) => boolean;
|
|
1030
|
+
reorderChildren: (nodes: readonly import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>[]) => void;
|
|
1031
|
+
moveChild: (child: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>, before: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime> | null) => void;
|
|
1032
|
+
_swapChildren: (first: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>, second: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>) => void;
|
|
1033
|
+
_disposeChildren: {
|
|
1034
|
+
(): unknown[] | undefined;
|
|
1035
|
+
(holders: readonly import('@raphy-js/raph/debug/runtime/ownership/RaphNode').RaphNodeHolder<import('@raphy-js/raph').RaphRuntime>[], start?: number, end?: number): unknown[] | undefined;
|
|
1036
|
+
};
|
|
1037
|
+
options: (options: Pick<import('@raphy-js/raph').NodeOptions<import('@raphy-js/raph').RaphRuntime>, "meta" | "type" | "priority">) => void;
|
|
1038
|
+
touch: (metadata?: unknown) => void;
|
|
964
1039
|
remove: () => void;
|
|
965
1040
|
dispose: () => void;
|
|
966
|
-
|
|
967
|
-
|
|
1041
|
+
_disposeForOwner: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
1042
|
+
_disposeWithOutcome: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
968
1043
|
_setApi: (api: unknown) => void;
|
|
969
|
-
|
|
1044
|
+
_publishCreation: () => void;
|
|
1045
|
+
_isPublished: () => boolean;
|
|
1046
|
+
_isLinked: () => boolean;
|
|
1047
|
+
_collectDescendants: (into: import('@raphy-js/raph').RaphScope<any>[]) => void;
|
|
1048
|
+
_countSubtree: (totals: {
|
|
1049
|
+
resources: number;
|
|
1050
|
+
sources: number;
|
|
1051
|
+
}) => void;
|
|
1052
|
+
_findNode: (id: string) => import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime> | undefined;
|
|
970
1053
|
readonly runtime: {
|
|
1054
|
+
readonly reactiveObjects: true;
|
|
1055
|
+
readonly selectors: true;
|
|
971
1056
|
readonly configuration: {
|
|
1057
|
+
readonly adaptiveDependencyIndex: boolean;
|
|
1058
|
+
readonly debug?: {
|
|
1059
|
+
readonly trace?: false | {
|
|
1060
|
+
readonly capacity?: number | undefined;
|
|
1061
|
+
readonly context?: import('@raphy-js/raph').RaphTraceContextMode | undefined;
|
|
1062
|
+
readonly guards?: import('@raphy-js/raph').RaphTraceGuardMode | undefined;
|
|
1063
|
+
readonly include?: readonly import('@raphy-js/raph').RaphTraceKind[] | undefined;
|
|
1064
|
+
} | undefined;
|
|
1065
|
+
} | undefined;
|
|
972
1066
|
readonly id: string;
|
|
973
1067
|
readonly kernel: {
|
|
974
1068
|
readonly id: string;
|
|
@@ -999,7 +1093,9 @@ declare var __VLS_1: {
|
|
|
999
1093
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1000
1094
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1001
1095
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1002
|
-
|
|
1096
|
+
batch: <T>(operation: () => T) => T;
|
|
1097
|
+
_openSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime) => import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub | undefined;
|
|
1098
|
+
_closeSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime, hub: import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub, operationFailed: boolean, operationError: unknown) => void;
|
|
1003
1099
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
1004
1100
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
1005
1101
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -1017,74 +1113,6 @@ declare var __VLS_1: {
|
|
|
1017
1113
|
readonly enforceActions: boolean;
|
|
1018
1114
|
readonly scheduler: import('@raphy-js/raph').RaphSchedulerMode;
|
|
1019
1115
|
};
|
|
1020
|
-
readonly rootScope: {
|
|
1021
|
-
readonly id: string;
|
|
1022
|
-
readonly runtime: /*elided*/ any;
|
|
1023
|
-
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
1024
|
-
computed: {
|
|
1025
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1026
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
1027
|
-
};
|
|
1028
|
-
effect: {
|
|
1029
|
-
(callback: () => void | import('@raphy-js/raph').Disposer): import('@raphy-js/raph').Disposer;
|
|
1030
|
-
(phase: string, callback: () => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').RaphEffectOptions): import('@raphy-js/raph').Disposer;
|
|
1031
|
-
};
|
|
1032
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: (value: import('@raphy-js/raph').WatchValue<S>, previous: import('@raphy-js/raph').WatchValue<S> | undefined) => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
1033
|
-
action: <Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result) => (...args: Args) => Result;
|
|
1034
|
-
_assertAlive: () => void;
|
|
1035
|
-
readonly reactivity: {
|
|
1036
|
-
readonly _effectImmediate: import('@raphy-js/raph/debug/reactivity/types').EffectFactory;
|
|
1037
|
-
signal: <T>(initialValue: T) => import('@raphy-js/raph').Signal<T>;
|
|
1038
|
-
computed: {
|
|
1039
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1040
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
1041
|
-
};
|
|
1042
|
-
effect: (fn: import('@raphy-js/raph/signals').EffectCallback, onStop?: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1043
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: import('@raphy-js/raph/signals').WatchCallback<S>, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
1044
|
-
batch: <T>(fn: () => T) => T;
|
|
1045
|
-
untracked: <T>(fn: () => T) => T;
|
|
1046
|
-
scope: () => import('@raphy-js/raph/signals').ScopeNode;
|
|
1047
|
-
_signalAccess: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').SignalAccess<T>;
|
|
1048
|
-
_computedAccess: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').ComputedAccessHandle<T>;
|
|
1049
|
-
_ownedSignal: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').Signal<T>>;
|
|
1050
|
-
_ownedComputed: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').ReadonlySignal<T>>;
|
|
1051
|
-
_startBatch: () => void;
|
|
1052
|
-
_endBatch: () => void;
|
|
1053
|
-
_isTracking: () => boolean;
|
|
1054
|
-
_isFlushingEffects: () => boolean;
|
|
1055
|
-
};
|
|
1056
|
-
scopeFirstChild: {
|
|
1057
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
1058
|
-
scopeParent?: {
|
|
1059
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1060
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
1061
|
-
} | undefined;
|
|
1062
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
1063
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
1064
|
-
} | undefined;
|
|
1065
|
-
scopeLastChild: {
|
|
1066
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
1067
|
-
scopeParent?: {
|
|
1068
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1069
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
1070
|
-
} | undefined;
|
|
1071
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
1072
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
1073
|
-
} | undefined;
|
|
1074
|
-
readonly disposed: boolean;
|
|
1075
|
-
readonly active: boolean;
|
|
1076
|
-
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1077
|
-
_debugResourceCount: () => number;
|
|
1078
|
-
_debugSourceCount: () => number;
|
|
1079
|
-
dispose: () => void;
|
|
1080
|
-
_own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1081
|
-
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1082
|
-
_adoptSource: <T>(owned: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
1083
|
-
_ownSource: (finalizer: import('@raphy-js/raph/debug/reactivity/types').SourceFinalizer) => void;
|
|
1084
|
-
};
|
|
1085
|
-
readonly root: /*elided*/ any;
|
|
1086
|
-
_getReactivity: () => import('@raphy-js/raph/debug/runtime/RuntimeReactivity').RuntimeReactivity;
|
|
1087
|
-
readonly id: string;
|
|
1088
1116
|
readonly kernel: {
|
|
1089
1117
|
readonly id: string;
|
|
1090
1118
|
readonly disposed: boolean;
|
|
@@ -1114,7 +1142,9 @@ declare var __VLS_1: {
|
|
|
1114
1142
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1115
1143
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1116
1144
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1117
|
-
|
|
1145
|
+
batch: <T>(operation: () => T) => T;
|
|
1146
|
+
_openSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime) => import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub | undefined;
|
|
1147
|
+
_closeSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime, hub: import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub, operationFailed: boolean, operationError: unknown) => void;
|
|
1118
1148
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
1119
1149
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
1120
1150
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -1130,61 +1160,30 @@ declare var __VLS_1: {
|
|
|
1130
1160
|
_removeDerived: (handle: import('@raphy-js/raph').RaphDerivedHandle<any, any>) => void;
|
|
1131
1161
|
};
|
|
1132
1162
|
readonly meta: {
|
|
1163
|
+
delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
1133
1164
|
get: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
1134
1165
|
has: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
1135
1166
|
set: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
1136
1167
|
merge: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
1137
|
-
delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
1138
|
-
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').RaphMetaWatchCallback, options?: import('@raphy-js/raph').RaphMetaWatchOptions) => () => void;
|
|
1139
1168
|
};
|
|
1140
|
-
readonly disposed: boolean;
|
|
1141
|
-
readonly graph: {
|
|
1142
|
-
parentsOf: (node: import('@raphy-js/raph').RaphNode<unknown>) => ReadonlySet<import('@raphy-js/raph').RaphNode<unknown>>;
|
|
1143
|
-
};
|
|
1144
|
-
readonly loopEnabled: boolean;
|
|
1145
|
-
readonly frame: {
|
|
1146
|
-
readonly now: number;
|
|
1147
|
-
readonly delta: number;
|
|
1148
|
-
readonly elapsed: number;
|
|
1149
|
-
readonly frame: number;
|
|
1150
|
-
};
|
|
1151
|
-
readonly phases: readonly {
|
|
1152
|
-
readonly name: string;
|
|
1153
|
-
readonly traversal: import('@raphy-js/raph').RaphPhaseTraversal;
|
|
1154
|
-
readonly mode?: import('@raphy-js/raph').RaphPhaseMode | undefined;
|
|
1155
|
-
readonly routes?: readonly (string | {
|
|
1156
|
-
toPlain: () => import('@raphy-js/raph').PlainDataPath;
|
|
1157
|
-
toStringPath: () => string;
|
|
1158
|
-
toString: () => string;
|
|
1159
|
-
segments: () => readonly import('@raphy-js/raph').PathSegment[];
|
|
1160
|
-
_asExact: () => import('@raphy-js/raph/debug/path/data-path').ParsedDataPath;
|
|
1161
|
-
_asMask: () => import('@raphy-js/raph/debug/path/data-path').ParsedPathMask;
|
|
1162
|
-
} | {
|
|
1163
|
-
readonly deepOnTail?: boolean | undefined;
|
|
1164
|
-
readonly segs: readonly unknown[];
|
|
1165
|
-
})[] | undefined;
|
|
1166
|
-
readonly nodes?: ((node: import('@raphy-js/raph').RaphNode<any>) => boolean) | undefined;
|
|
1167
|
-
readonly each?: ((context: import('@raphy-js/raph').PhaseExecutorContext) => void) | undefined;
|
|
1168
|
-
readonly all?: ((contexts: readonly import('@raphy-js/raph').PhaseExecutorContext[]) => void) | undefined;
|
|
1169
|
-
}[];
|
|
1170
1169
|
getDerivedSnapshot: () => ReturnType<import('@raphy-js/raph').RaphKernel["getDerivedSnapshot"]>;
|
|
1171
1170
|
readonly debug: {
|
|
1171
|
+
readonly machines: {
|
|
1172
|
+
list: () => readonly import('@raphy-js/raph').RaphMachineDebugSummary[];
|
|
1173
|
+
snapshot: (id: string) => import('@raphy-js/raph').RaphMachineDebugSnapshot | undefined;
|
|
1174
|
+
};
|
|
1175
|
+
readonly trace: {
|
|
1176
|
+
clear: () => void;
|
|
1177
|
+
read: (options?: import('@raphy-js/raph').RaphTraceReadOptions) => readonly import('@raphy-js/raph').RaphTraceEvent[];
|
|
1178
|
+
start: (options?: import('@raphy-js/raph').RaphTraceOptions) => void;
|
|
1179
|
+
status: () => import('@raphy-js/raph').RaphTraceStatus;
|
|
1180
|
+
stop: () => void;
|
|
1181
|
+
};
|
|
1182
|
+
getTree: () => import('@raphy-js/raph').RaphDebugTreeNode;
|
|
1172
1183
|
snapshot: () => import('@raphy-js/raph').RaphDebugSnapshot;
|
|
1173
|
-
|
|
1174
|
-
};
|
|
1175
|
-
signal: <T>(value: T, owner?: import('@raphy-js/raph').RaphScope) => import('@raphy-js/raph').Signal<T>;
|
|
1176
|
-
computed: {
|
|
1177
|
-
<T>(getter: () => T, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1178
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Signal<T>;
|
|
1179
|
-
};
|
|
1180
|
-
effect: {
|
|
1181
|
-
(callback: () => void | import('@raphy-js/raph').Disposer, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Disposer;
|
|
1182
|
-
(phase: string, callback: () => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').RaphEffectOptions, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Disposer;
|
|
1183
|
-
};
|
|
1184
|
-
watch: {
|
|
1185
|
-
(masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: (payload: import('@raphy-js/raph').PathEvents) => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').WatchOptions, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Disposer;
|
|
1186
|
-
<S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: (value: import('@raphy-js/raph').WatchValue<S>, previous: import('@raphy-js/raph').WatchValue<S> | undefined) => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').WatchOptions, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Disposer;
|
|
1184
|
+
stats: () => import('@raphy-js/raph').RaphDebugStats;
|
|
1187
1185
|
};
|
|
1186
|
+
metaSource: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options?: import('@raphy-js/raph').RaphMetaSourceOptions) => import('@raphy-js/raph').RaphMetaSource;
|
|
1188
1187
|
path: <T>(path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => import('@raphy-js/raph').PathHandle<T>;
|
|
1189
1188
|
get: {
|
|
1190
1189
|
<T = import('@raphy-js/raph').DataObject>(): T | undefined;
|
|
@@ -1198,65 +1197,195 @@ declare var __VLS_1: {
|
|
|
1198
1197
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1199
1198
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1200
1199
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1200
|
+
derive: <TSource, TTarget>(options: import('@raphy-js/raph').DerivedOptions<TSource, TTarget>) => import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>;
|
|
1201
|
+
readonly mode: "runtime";
|
|
1202
|
+
readonly rootScope: {
|
|
1203
|
+
readonly runtime: /*elided*/ any;
|
|
1204
|
+
readonly _order: number;
|
|
1205
|
+
readonly _isNode: boolean;
|
|
1206
|
+
_disposed: boolean;
|
|
1207
|
+
_disposing: boolean;
|
|
1208
|
+
readonly id: string;
|
|
1209
|
+
readonly node: /*elided*/ any | undefined;
|
|
1210
|
+
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
1211
|
+
computed: {
|
|
1212
|
+
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1213
|
+
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
1214
|
+
};
|
|
1215
|
+
selector: <Key>(source: import('@raphy-js/raph').Signal<Key>, options?: import('@raphy-js/raph').RaphSelectorOptions<Key> | undefined) => import('@raphy-js/raph').RaphSelector<Key>;
|
|
1216
|
+
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
1217
|
+
bindEffect: (phase: string, body: import('@raphy-js/raph').RaphPhaseBody, options?: import('@raphy-js/raph').RaphEffectOptions) => void;
|
|
1218
|
+
effectGroup: <Context>(phase: string, count: number, runSlot: import('@raphy-js/raph').RaphEffectGroupSlot<Context>, context: Context, options?: import('@raphy-js/raph').RaphEffectGroupOptions) => import('@raphy-js/raph').RaphEffectGroup;
|
|
1219
|
+
watch: (source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphWatchOptions) => import('@raphy-js/raph').Disposer;
|
|
1220
|
+
_registerEffect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options: import('@raphy-js/raph').RaphEffectOptions, taskless: boolean, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
1221
|
+
_registerWatch: (source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options: import('@raphy-js/raph').RaphWatchOptions, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
1222
|
+
_registerEffectGroup: <Context>(phase: string, count: number, runSlot: import('@raphy-js/raph').RaphEffectGroupSlot<Context>, context: Context, options?: import('@raphy-js/raph').RaphEffectGroupOptions) => ReturnType<import('@raphy-js/raph').RaphRuntime["_effectGroupRegistration"]>;
|
|
1223
|
+
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource<import('@raphy-js/raph').RaphRuntime>[]) => import('@raphy-js/raph').RaphAggregate<import('@raphy-js/raph').RaphRuntime>;
|
|
1224
|
+
action: {
|
|
1225
|
+
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1226
|
+
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1227
|
+
};
|
|
1228
|
+
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1229
|
+
dispose: () => void;
|
|
1230
|
+
_disposeScopeForOwner: (dispose: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
1231
|
+
_disposeWithOutcome: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
1232
|
+
_ownCompletedCleanup: (cleanup: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined) => import('@raphy-js/raph').Disposer;
|
|
1233
|
+
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1234
|
+
_adoptRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
1235
|
+
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
1236
|
+
_adoptSourceEntry: (entry: import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry) => void;
|
|
1237
|
+
_assertAlive: () => void;
|
|
1238
|
+
scopeFirstChild: {
|
|
1239
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
1240
|
+
scopeParent?: {
|
|
1241
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1242
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
1243
|
+
} | undefined;
|
|
1244
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
1245
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
1246
|
+
} | undefined;
|
|
1247
|
+
scopeLastChild: {
|
|
1248
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
1249
|
+
scopeParent?: {
|
|
1250
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1251
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
1252
|
+
} | undefined;
|
|
1253
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
1254
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
1255
|
+
} | undefined;
|
|
1256
|
+
readonly disposed: boolean;
|
|
1257
|
+
readonly active: boolean;
|
|
1258
|
+
_debugResourceCount: () => number;
|
|
1259
|
+
_debugSourceCount: () => number;
|
|
1260
|
+
_lastOwnedSource: () => import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry | undefined;
|
|
1261
|
+
_releaseRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
1262
|
+
};
|
|
1263
|
+
readonly root: /*elided*/ any;
|
|
1264
|
+
readonly frameTick: {
|
|
1265
|
+
get: (this: import('@raphy-js/raph').ReadonlySignal<unknown>) => number;
|
|
1266
|
+
peek: (this: import('@raphy-js/raph').ReadonlySignal<unknown>) => number;
|
|
1267
|
+
};
|
|
1268
|
+
_getReactivity: () => import('@raphy-js/raph/debug/runtime/reactivity/RuntimeReactivity').RuntimeReactivity;
|
|
1269
|
+
_getWorkGraph: () => import('@raphy-js/raph/debug/runtime/reactivity/RaphWorkGraph').RaphWorkGraph;
|
|
1270
|
+
readonly id: string;
|
|
1271
|
+
readonly disposed: boolean;
|
|
1272
|
+
readonly graph: {
|
|
1273
|
+
parentsOf: (node: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>) => ReadonlySet<import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>>;
|
|
1274
|
+
};
|
|
1275
|
+
readonly loopEnabled: boolean;
|
|
1276
|
+
readonly frame: {
|
|
1277
|
+
readonly now: number;
|
|
1278
|
+
readonly delta: number;
|
|
1279
|
+
readonly elapsed: number;
|
|
1280
|
+
readonly frame: number;
|
|
1281
|
+
};
|
|
1282
|
+
readonly phases: readonly {
|
|
1283
|
+
readonly name: string;
|
|
1284
|
+
readonly process?: ((batch: import('@raphy-js/raph').RaphPhaseBatch<import('@raphy-js/raph').RaphRuntime>) => void) | undefined;
|
|
1285
|
+
}[];
|
|
1286
|
+
signal: <T>(value: T, owner?: import('@raphy-js/raph').RaphScope<any>) => import('@raphy-js/raph').Signal<T>;
|
|
1287
|
+
reactive: <T extends object>(value: T) => T;
|
|
1288
|
+
computed: {
|
|
1289
|
+
<T>(getter: () => T, owner?: import('@raphy-js/raph').RaphScope<any>): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1290
|
+
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>, owner?: import('@raphy-js/raph').RaphScope<any>): import('@raphy-js/raph').Signal<T>;
|
|
1291
|
+
};
|
|
1292
|
+
effect: (consumer: import('@raphy-js/raph').RaphScope<any>, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
1293
|
+
_effectRegistration: (consumer: import('@raphy-js/raph').RaphScope<any>, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphEffectOptions, startPaused?: boolean, taskless?: boolean, onExecutionFailure?: (error: unknown) => never, isExecutionCancelled?: () => boolean) => import('@raphy-js/raph/debug/runtime/RaphRuntimeBase').RaphPausableRegistration;
|
|
1294
|
+
_effectGroupRegistration: (consumer: import('@raphy-js/raph').RaphScope<any>, phaseInput: string, count: number, runSlot: import('@raphy-js/raph').RaphEffectGroupSlot, context: unknown, options?: import('@raphy-js/raph').RaphEffectGroupOptions, startPaused?: boolean) => import('@raphy-js/raph/debug/runtime/phases/RaphPhaseTaskRecord').RaphPhaseTaskRecord;
|
|
1295
|
+
_startGroupSlot: (record: import('@raphy-js/raph/debug/runtime/phases/RaphPhaseTaskRecord').RaphPhaseTaskRecord, slot: number, initial: import('@raphy-js/raph').RaphEffectInitialMode, onExecutionFailure?: (error: unknown) => never) => void;
|
|
1296
|
+
watch: (consumer: import('@raphy-js/raph').RaphScope<any>, source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphWatchOptions) => import('@raphy-js/raph').Disposer;
|
|
1297
|
+
_watchRegistration: (consumer: import('@raphy-js/raph').RaphScope<any>, source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphWatchOptions, startPaused?: boolean, onExecutionFailure?: (error: unknown) => never, isExecutionCancelled?: () => boolean) => import('@raphy-js/raph/debug/runtime/phases/RaphPhaseTaskRecord').RaphPhaseTaskRecord;
|
|
1298
|
+
aggregate: (consumer: import('@raphy-js/raph').RaphScope<import('@raphy-js/raph').RaphRuntime>, sources: readonly import('@raphy-js/raph').RaphAggregateSource<import('@raphy-js/raph').RaphRuntime>[]) => import('@raphy-js/raph').RaphAggregate<import('@raphy-js/raph').RaphRuntime>;
|
|
1299
|
+
batch: <T>(operation: () => T) => T;
|
|
1300
|
+
_batchReactive: <T>(operation: () => T) => T;
|
|
1301
|
+
action: {
|
|
1302
|
+
<Args extends unknown[], Result>(operation: (...args: Args) => Result, owner?: import('@raphy-js/raph').RaphScope<any>): (...args: Args) => Result;
|
|
1303
|
+
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result, owner?: import('@raphy-js/raph').RaphScope<any>): (...args: Args) => Result;
|
|
1304
|
+
};
|
|
1305
|
+
_invokeAction: <Args extends unknown[], Result>(name: string, owner: import('@raphy-js/raph').RaphScope<any>, operation: (...args: Args) => Result, args: ArrayLike<Args[number]>, receiver?: unknown) => Result;
|
|
1204
1306
|
untracked: <T>(operation: () => T) => T;
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1307
|
+
_probeReads: (operation: () => void) => boolean;
|
|
1308
|
+
scope: (id: string) => import('@raphy-js/raph').RaphScope<import('@raphy-js/raph').RaphRuntime>;
|
|
1309
|
+
node: <TApi = void>(options: import('@raphy-js/raph').NodeOptions<import('@raphy-js/raph').RaphRuntime>, setup?: ((node: import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime>) => TApi) | undefined) => import('@raphy-js/raph').RaphNode<TApi, import('@raphy-js/raph').RaphRuntime>;
|
|
1310
|
+
getNode: (id: string) => import('@raphy-js/raph').RaphNode<unknown, import('@raphy-js/raph').RaphRuntime> | undefined;
|
|
1311
|
+
definePhases: (phases: readonly import('@raphy-js/raph').RaphPhase<import('@raphy-js/raph').RaphRuntime>[]) => void;
|
|
1312
|
+
addPhase: (phase: import('@raphy-js/raph').RaphPhase<import('@raphy-js/raph').RaphRuntime>) => void;
|
|
1210
1313
|
clearPhases: () => void;
|
|
1211
|
-
|
|
1212
|
-
track: (node: import('@raphy-js/raph').RaphNode, masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options?: import('@raphy-js/raph').RaphTrackOptions) => import('@raphy-js/raph').Disposer;
|
|
1213
|
-
invalidateNode: (node: import('@raphy-js/raph').RaphNode, phase: string) => void;
|
|
1314
|
+
requestExecution: () => void;
|
|
1214
1315
|
flush: () => void;
|
|
1316
|
+
afterFlush: () => Promise<void>;
|
|
1215
1317
|
acquireLoop: (owner: string) => import('@raphy-js/raph').FrameLoopLease;
|
|
1216
1318
|
startLoop: () => void;
|
|
1217
1319
|
stopLoop: () => void;
|
|
1218
|
-
derive: <TSource, TTarget>(options: import('@raphy-js/raph').DerivedOptions<TSource, TTarget>) => import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>;
|
|
1219
1320
|
dispose: () => void;
|
|
1220
1321
|
_onDisposed: (listener: () => void) => import('@raphy-js/raph').Disposer;
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1322
|
+
_notifyNodeStructure: (node: import('@raphy-js/raph').RaphNode<unknown, any>, structure: import('@raphy-js/raph').RaphStructureCause<import('@raphy-js/raph').RaphRuntime>, oldAncestors: readonly import('@raphy-js/raph').RaphNode<unknown, any>[], newAncestors: readonly import('@raphy-js/raph').RaphNode<unknown, any>[]) => void;
|
|
1323
|
+
_hasNodeStructureDemand: (node: import('@raphy-js/raph').RaphNode<unknown, any>) => boolean;
|
|
1324
|
+
_hasNodeSubscribers: () => boolean;
|
|
1325
|
+
_notifyNodeTouch: (node: import('@raphy-js/raph').RaphNode<unknown, any>, metadata?: unknown) => void;
|
|
1326
|
+
_assertNodeReparentAllowed: (node: import('@raphy-js/raph').RaphNode<unknown, any>, newParent: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
1327
|
+
_releaseNode: (node: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
1328
|
+
_runNodeMutation: <T>(operation: () => T) => T;
|
|
1329
|
+
_touchMutationBoundary: () => void;
|
|
1330
|
+
_runPhaseTransition: <T>(operation: () => T) => T;
|
|
1331
|
+
_beginOwnerDisposal: (node?: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
1332
|
+
_endOwnerDisposal: () => void;
|
|
1333
|
+
_ownerDisposalCount: () => number;
|
|
1334
|
+
_addDisposalSweeper: (sweeper: import('@raphy-js/raph/debug/runtime/reactivity/runtime-reactivity.types').RuntimeDisposalSweeper, due: number) => void;
|
|
1335
|
+
_removeDisposalSweeper: (sweeper: import('@raphy-js/raph/debug/runtime/reactivity/runtime-reactivity.types').RuntimeDisposalSweeper) => void;
|
|
1336
|
+
_ownerDisposalActive: () => boolean;
|
|
1337
|
+
_registerOwner: (owner: import('@raphy-js/raph').RaphScope<any>) => number;
|
|
1338
|
+
_unregisterOwner: (owner: import('@raphy-js/raph').RaphScope<any>) => void;
|
|
1339
|
+
_addTopOwner: (node: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
1340
|
+
_removeTopOwner: (node: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
1341
|
+
_assertOwnerRuntime: (owner: import('@raphy-js/raph').RaphScope<any>) => void;
|
|
1342
|
+
_beginKernelBatch: () => void;
|
|
1343
|
+
_endKernelBatch: () => void;
|
|
1344
|
+
_registerMachineDebug: (registration: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphMachineDebugRegistration) => import('@raphy-js/raph').Disposer;
|
|
1345
|
+
_hasMachineDebug: (id: string) => boolean;
|
|
1346
|
+
_traces: (kind: import('@raphy-js/raph').RaphTraceKind) => boolean;
|
|
1347
|
+
_currentTraceCauseId: () => number | undefined;
|
|
1348
|
+
_nextTraceOperation: (kind: import('@raphy-js/raph').RaphTraceKind) => number | undefined;
|
|
1349
|
+
_hasActiveReactiveContext: () => boolean;
|
|
1350
|
+
_recordTrace: (event: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphTraceEventInput) => void;
|
|
1351
|
+
_runWithTraceCause: <T>(causeId: number | undefined, operation: () => T) => T;
|
|
1352
|
+
_isWriteBatchOpen: () => boolean;
|
|
1353
|
+
_enterWrite: () => void;
|
|
1354
|
+
_exitWrite: () => void;
|
|
1355
|
+
_failWrite: (operationError: unknown) => unknown;
|
|
1356
|
+
_applyObjectReadPolicy: (checked: boolean) => void;
|
|
1357
|
+
_assertSourceReadable: (owner: import('@raphy-js/raph').RaphScope<any>) => void;
|
|
1226
1358
|
};
|
|
1359
|
+
readonly _order: number;
|
|
1360
|
+
readonly _isNode: boolean;
|
|
1361
|
+
_disposed: boolean;
|
|
1362
|
+
_disposing: boolean;
|
|
1227
1363
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
1228
1364
|
computed: {
|
|
1229
1365
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1230
1366
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
1231
1367
|
};
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1368
|
+
selector: <Key>(source: import('@raphy-js/raph').Signal<Key>, options?: import('@raphy-js/raph').RaphSelectorOptions<Key> | undefined) => import('@raphy-js/raph').RaphSelector<Key>;
|
|
1369
|
+
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
1370
|
+
bindEffect: (phase: string, body: import('@raphy-js/raph').RaphPhaseBody, options?: import('@raphy-js/raph').RaphEffectOptions) => void;
|
|
1371
|
+
effectGroup: <Context>(phase: string, count: number, runSlot: import('@raphy-js/raph').RaphEffectGroupSlot<Context>, context: Context, options?: import('@raphy-js/raph').RaphEffectGroupOptions) => import('@raphy-js/raph').RaphEffectGroup;
|
|
1372
|
+
watch: (source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options?: import('@raphy-js/raph').RaphWatchOptions) => import('@raphy-js/raph').Disposer;
|
|
1373
|
+
_registerEffect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options: import('@raphy-js/raph').RaphEffectOptions, taskless: boolean, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
1374
|
+
_registerWatch: (source: import('@raphy-js/raph').RaphWatchSource<import('@raphy-js/raph').RaphRuntime>, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect<import('@raphy-js/raph').RaphRuntime>, options: import('@raphy-js/raph').RaphWatchOptions, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
1375
|
+
_registerEffectGroup: <Context>(phase: string, count: number, runSlot: import('@raphy-js/raph').RaphEffectGroupSlot<Context>, context: Context, options?: import('@raphy-js/raph').RaphEffectGroupOptions) => ReturnType<import('@raphy-js/raph').RaphRuntime["_effectGroupRegistration"]>;
|
|
1376
|
+
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource<import('@raphy-js/raph').RaphRuntime>[]) => import('@raphy-js/raph').RaphAggregate<import('@raphy-js/raph').RaphRuntime>;
|
|
1377
|
+
action: {
|
|
1378
|
+
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1379
|
+
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1235
1380
|
};
|
|
1236
|
-
|
|
1237
|
-
|
|
1381
|
+
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1382
|
+
_disposeScopeForOwner: (dispose: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
1383
|
+
_ownCompletedCleanup: (cleanup: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined) => import('@raphy-js/raph').Disposer;
|
|
1384
|
+
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1385
|
+
_adoptRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
1386
|
+
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
1387
|
+
_adoptSourceEntry: (entry: import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry) => void;
|
|
1238
1388
|
_assertAlive: () => void;
|
|
1239
|
-
readonly reactivity: {
|
|
1240
|
-
readonly _effectImmediate: import('@raphy-js/raph/debug/reactivity/types').EffectFactory;
|
|
1241
|
-
signal: <T>(initialValue: T) => import('@raphy-js/raph').Signal<T>;
|
|
1242
|
-
computed: {
|
|
1243
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1244
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
1245
|
-
};
|
|
1246
|
-
effect: (fn: import('@raphy-js/raph/signals').EffectCallback, onStop?: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1247
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: import('@raphy-js/raph/signals').WatchCallback<S>, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
1248
|
-
batch: <T>(fn: () => T) => T;
|
|
1249
|
-
untracked: <T>(fn: () => T) => T;
|
|
1250
|
-
scope: () => import('@raphy-js/raph/signals').ScopeNode;
|
|
1251
|
-
_signalAccess: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').SignalAccess<T>;
|
|
1252
|
-
_computedAccess: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').ComputedAccessHandle<T>;
|
|
1253
|
-
_ownedSignal: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').Signal<T>>;
|
|
1254
|
-
_ownedComputed: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').ReadonlySignal<T>>;
|
|
1255
|
-
_startBatch: () => void;
|
|
1256
|
-
_endBatch: () => void;
|
|
1257
|
-
_isTracking: () => boolean;
|
|
1258
|
-
_isFlushingEffects: () => boolean;
|
|
1259
|
-
};
|
|
1260
1389
|
scopeFirstChild: {
|
|
1261
1390
|
dispose: import('@raphy-js/raph').Disposer;
|
|
1262
1391
|
scopeParent?: {
|
|
@@ -1277,13 +1406,10 @@ declare var __VLS_1: {
|
|
|
1277
1406
|
} | undefined;
|
|
1278
1407
|
readonly disposed: boolean;
|
|
1279
1408
|
readonly active: boolean;
|
|
1280
|
-
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1281
1409
|
_debugResourceCount: () => number;
|
|
1282
1410
|
_debugSourceCount: () => number;
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
_adoptSource: <T>(owned: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
1286
|
-
_ownSource: (finalizer: import('@raphy-js/raph/debug/reactivity/types').SourceFinalizer) => void;
|
|
1411
|
+
_lastOwnedSource: () => import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry | undefined;
|
|
1412
|
+
_releaseRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
1287
1413
|
} | null;
|
|
1288
1414
|
readonly basePath: string;
|
|
1289
1415
|
statePath: (path?: string) => string;
|