@endge/ui-vue 1.0.0-dev.4 → 1.0.1-dev.12
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/dist/ui/overlay/tooltip/endge-tooltip-manager.d.ts +8 -2
- package/dist/ui/render/entities/EndgePage.vue.d.ts +400 -182
- package/dist/vue.js +2700 -2605
- package/package.json +7 -6
|
@@ -55,25 +55,43 @@ 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;
|
|
61
|
-
readonly
|
|
60
|
+
readonly id: string;
|
|
61
|
+
meta: Record<string, unknown>;
|
|
62
|
+
readonly api: Readonly<unknown>;
|
|
63
|
+
readonly _subtreeSourceIdentity: object;
|
|
62
64
|
readonly node: /*elided*/ any;
|
|
63
65
|
readonly parent: /*elided*/ any | null;
|
|
66
|
+
_hasAncestor: (owner: import('@raphy-js/raph').RaphScope<any>) => boolean;
|
|
64
67
|
readonly children: readonly /*elided*/ any[];
|
|
65
|
-
addChild: (node: import('@raphy-js/raph').RaphNode) => boolean;
|
|
66
|
-
reorderChildren: (nodes: readonly import('@raphy-js/raph').RaphNode[]) => void;
|
|
67
|
-
|
|
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;
|
|
68
77
|
touch: (metadata?: unknown) => void;
|
|
69
78
|
remove: () => void;
|
|
70
79
|
dispose: () => void;
|
|
80
|
+
_disposeForOwner: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
81
|
+
_disposeWithOutcome: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
71
82
|
_setApi: (api: unknown) => void;
|
|
72
83
|
_publishCreation: () => void;
|
|
73
84
|
_isPublished: () => boolean;
|
|
74
|
-
|
|
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;
|
|
75
92
|
readonly runtime: {
|
|
76
|
-
readonly
|
|
93
|
+
readonly reactiveObjects: true;
|
|
94
|
+
readonly selectors: true;
|
|
77
95
|
readonly configuration: {
|
|
78
96
|
readonly adaptiveDependencyIndex: boolean;
|
|
79
97
|
readonly debug?: {
|
|
@@ -115,6 +133,8 @@ declare var __VLS_1: {
|
|
|
115
133
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
116
134
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
117
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;
|
|
118
138
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
119
139
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
120
140
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -132,40 +152,6 @@ declare var __VLS_1: {
|
|
|
132
152
|
readonly enforceActions: boolean;
|
|
133
153
|
readonly scheduler: import('@raphy-js/raph').RaphSchedulerMode;
|
|
134
154
|
};
|
|
135
|
-
readonly rootScope: {
|
|
136
|
-
readonly id: string;
|
|
137
|
-
readonly runtime: /*elided*/ any;
|
|
138
|
-
readonly disposed: boolean;
|
|
139
|
-
readonly active: boolean;
|
|
140
|
-
readonly node: /*elided*/ any | undefined;
|
|
141
|
-
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
142
|
-
computed: {
|
|
143
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
144
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
145
|
-
};
|
|
146
|
-
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
147
|
-
watch: (source: import('@raphy-js/raph').RaphWatchSource, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphWatchOptions) => import('@raphy-js/raph').Disposer;
|
|
148
|
-
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
149
|
-
action: {
|
|
150
|
-
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
151
|
-
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
152
|
-
};
|
|
153
|
-
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
154
|
-
dispose: () => void;
|
|
155
|
-
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
156
|
-
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
157
|
-
_debugResourceCount: () => number;
|
|
158
|
-
_debugSourceCount: () => number;
|
|
159
|
-
_assertAlive: () => void;
|
|
160
|
-
};
|
|
161
|
-
readonly root: /*elided*/ any;
|
|
162
|
-
readonly frameTick: {
|
|
163
|
-
get: (this: import('@raphy-js/raph').ReadonlySignal<unknown>) => number;
|
|
164
|
-
peek: (this: import('@raphy-js/raph').ReadonlySignal<unknown>) => number;
|
|
165
|
-
};
|
|
166
|
-
_getReactivity: () => import('@raphy-js/raph/debug/runtime/reactivity/RuntimeReactivity').RuntimeReactivity;
|
|
167
|
-
_getWorkGraph: () => import('@raphy-js/raph/debug/runtime/reactivity/RaphWorkGraph').RaphWorkGraph;
|
|
168
|
-
readonly id: string;
|
|
169
155
|
readonly kernel: {
|
|
170
156
|
readonly id: string;
|
|
171
157
|
readonly disposed: boolean;
|
|
@@ -196,6 +182,8 @@ declare var __VLS_1: {
|
|
|
196
182
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
197
183
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
198
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;
|
|
199
187
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
200
188
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
201
189
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -210,21 +198,6 @@ declare var __VLS_1: {
|
|
|
210
198
|
_recomputeDerived: <TSource, TTarget>(handle: import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>) => void;
|
|
211
199
|
_removeDerived: (handle: import('@raphy-js/raph').RaphDerivedHandle<any, any>) => void;
|
|
212
200
|
};
|
|
213
|
-
readonly disposed: boolean;
|
|
214
|
-
readonly graph: {
|
|
215
|
-
parentsOf: (node: import('@raphy-js/raph').RaphNode<unknown>) => ReadonlySet<import('@raphy-js/raph').RaphNode<unknown>>;
|
|
216
|
-
};
|
|
217
|
-
readonly loopEnabled: boolean;
|
|
218
|
-
readonly frame: {
|
|
219
|
-
readonly now: number;
|
|
220
|
-
readonly delta: number;
|
|
221
|
-
readonly elapsed: number;
|
|
222
|
-
readonly frame: number;
|
|
223
|
-
};
|
|
224
|
-
readonly phases: readonly {
|
|
225
|
-
readonly name: string;
|
|
226
|
-
readonly process?: ((batch: import('@raphy-js/raph').RaphPhaseBatch) => void) | undefined;
|
|
227
|
-
}[];
|
|
228
201
|
readonly meta: {
|
|
229
202
|
delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
230
203
|
get: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
@@ -249,17 +222,6 @@ declare var __VLS_1: {
|
|
|
249
222
|
snapshot: () => import('@raphy-js/raph').RaphDebugSnapshot;
|
|
250
223
|
stats: () => import('@raphy-js/raph').RaphDebugStats;
|
|
251
224
|
};
|
|
252
|
-
signal: <T>(value: T, owner?: import('@raphy-js/raph').RaphScope) => import('@raphy-js/raph').Signal<T>;
|
|
253
|
-
reactive: <T extends object>(value: T) => T;
|
|
254
|
-
computed: {
|
|
255
|
-
<T>(getter: () => T, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
256
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Signal<T>;
|
|
257
|
-
};
|
|
258
|
-
effect: (consumer: import('@raphy-js/raph').RaphScope, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
259
|
-
_effectRegistration: (consumer: import('@raphy-js/raph').RaphScope, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions, startPaused?: boolean) => import('@raphy-js/raph/debug/runtime/RaphRuntime').RaphPausableRegistration;
|
|
260
|
-
watch: (consumer: import('@raphy-js/raph').RaphScope, source: import('@raphy-js/raph').RaphWatchSource, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphWatchOptions) => import('@raphy-js/raph').Disposer;
|
|
261
|
-
_watchRegistration: (consumer: import('@raphy-js/raph').RaphScope, source: import('@raphy-js/raph').RaphWatchSource, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphWatchOptions, startPaused?: boolean) => import('@raphy-js/raph/debug/runtime/RaphRuntime').RaphPausableRegistration;
|
|
262
|
-
aggregate: (consumer: import('@raphy-js/raph').RaphScope, sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
263
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;
|
|
264
226
|
path: <T>(path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => import('@raphy-js/raph').PathHandle<T>;
|
|
265
227
|
get: {
|
|
@@ -274,18 +236,119 @@ declare var __VLS_1: {
|
|
|
274
236
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
275
237
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
276
238
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
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>;
|
|
277
338
|
batch: <T>(operation: () => T) => T;
|
|
278
339
|
_batchReactive: <T>(operation: () => T) => T;
|
|
279
340
|
action: {
|
|
280
|
-
<Args extends unknown[], Result>(operation: (...args: Args) => Result, owner?: import('@raphy-js/raph').RaphScope): (...args: Args) => Result;
|
|
281
|
-
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result, owner?: import('@raphy-js/raph').RaphScope): (...args: Args) => Result;
|
|
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;
|
|
282
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;
|
|
283
345
|
untracked: <T>(operation: () => T) => T;
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
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;
|
|
289
352
|
clearPhases: () => void;
|
|
290
353
|
requestExecution: () => void;
|
|
291
354
|
flush: () => void;
|
|
@@ -293,21 +356,28 @@ declare var __VLS_1: {
|
|
|
293
356
|
acquireLoop: (owner: string) => import('@raphy-js/raph').FrameLoopLease;
|
|
294
357
|
startLoop: () => void;
|
|
295
358
|
stopLoop: () => void;
|
|
296
|
-
derive: <TSource, TTarget>(options: import('@raphy-js/raph').DerivedOptions<TSource, TTarget>) => import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>;
|
|
297
359
|
dispose: () => void;
|
|
298
360
|
_onDisposed: (listener: () => void) => import('@raphy-js/raph').Disposer;
|
|
299
|
-
_notifyNodeStructure: (node: import('@raphy-js/raph').RaphNode, structure: import('@raphy-js/raph').RaphStructureCause
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
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;
|
|
303
367
|
_runNodeMutation: <T>(operation: () => T) => T;
|
|
368
|
+
_touchMutationBoundary: () => void;
|
|
304
369
|
_runPhaseTransition: <T>(operation: () => T) => T;
|
|
305
|
-
_beginOwnerDisposal: () => void;
|
|
370
|
+
_beginOwnerDisposal: (node?: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
306
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;
|
|
307
375
|
_ownerDisposalActive: () => boolean;
|
|
308
|
-
_registerOwner: (owner: import('@raphy-js/raph').RaphScope) =>
|
|
309
|
-
_unregisterOwner: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
310
|
-
|
|
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;
|
|
311
381
|
_beginKernelBatch: () => void;
|
|
312
382
|
_endKernelBatch: () => void;
|
|
313
383
|
_registerMachineDebug: (registration: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphMachineDebugRegistration) => import('@raphy-js/raph').Disposer;
|
|
@@ -318,28 +388,67 @@ declare var __VLS_1: {
|
|
|
318
388
|
_hasActiveReactiveContext: () => boolean;
|
|
319
389
|
_recordTrace: (event: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphTraceEventInput) => void;
|
|
320
390
|
_runWithTraceCause: <T>(causeId: number | undefined, operation: () => T) => T;
|
|
321
|
-
|
|
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;
|
|
322
397
|
};
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
398
|
+
readonly _order: number;
|
|
399
|
+
readonly _isNode: boolean;
|
|
400
|
+
_disposed: boolean;
|
|
401
|
+
_disposing: boolean;
|
|
325
402
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
326
403
|
computed: {
|
|
327
404
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
328
405
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
329
406
|
};
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
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>;
|
|
333
416
|
action: {
|
|
334
417
|
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
335
418
|
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
336
419
|
};
|
|
337
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;
|
|
338
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;
|
|
339
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;
|
|
427
|
+
_assertAlive: () => void;
|
|
428
|
+
scopeFirstChild: {
|
|
429
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
430
|
+
scopeParent?: {
|
|
431
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
432
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
433
|
+
} | undefined;
|
|
434
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
435
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
436
|
+
} | undefined;
|
|
437
|
+
scopeLastChild: {
|
|
438
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
439
|
+
scopeParent?: {
|
|
440
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
441
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
442
|
+
} | undefined;
|
|
443
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
444
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
445
|
+
} | undefined;
|
|
446
|
+
readonly disposed: boolean;
|
|
447
|
+
readonly active: boolean;
|
|
340
448
|
_debugResourceCount: () => number;
|
|
341
449
|
_debugSourceCount: () => number;
|
|
342
|
-
|
|
450
|
+
_lastOwnedSource: () => import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry | undefined;
|
|
451
|
+
_releaseRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
343
452
|
} | null;
|
|
344
453
|
readonly basePath: string;
|
|
345
454
|
statePath: (path?: string) => string;
|
|
@@ -907,25 +1016,43 @@ declare var __VLS_1: {
|
|
|
907
1016
|
} | null;
|
|
908
1017
|
readonly node: {
|
|
909
1018
|
priority: number;
|
|
910
|
-
|
|
911
|
-
meta: Record<string, unknown>;
|
|
1019
|
+
_childCount: number;
|
|
912
1020
|
type: string;
|
|
913
|
-
readonly
|
|
1021
|
+
readonly id: string;
|
|
1022
|
+
meta: Record<string, unknown>;
|
|
1023
|
+
readonly api: Readonly<unknown>;
|
|
1024
|
+
readonly _subtreeSourceIdentity: object;
|
|
914
1025
|
readonly node: /*elided*/ any;
|
|
915
1026
|
readonly parent: /*elided*/ any | null;
|
|
1027
|
+
_hasAncestor: (owner: import('@raphy-js/raph').RaphScope<any>) => boolean;
|
|
916
1028
|
readonly children: readonly /*elided*/ any[];
|
|
917
|
-
addChild: (node: import('@raphy-js/raph').RaphNode) => boolean;
|
|
918
|
-
reorderChildren: (nodes: readonly import('@raphy-js/raph').RaphNode[]) => void;
|
|
919
|
-
|
|
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;
|
|
920
1038
|
touch: (metadata?: unknown) => void;
|
|
921
1039
|
remove: () => void;
|
|
922
1040
|
dispose: () => void;
|
|
1041
|
+
_disposeForOwner: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
1042
|
+
_disposeWithOutcome: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
923
1043
|
_setApi: (api: unknown) => void;
|
|
924
1044
|
_publishCreation: () => void;
|
|
925
1045
|
_isPublished: () => boolean;
|
|
926
|
-
|
|
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;
|
|
927
1053
|
readonly runtime: {
|
|
928
|
-
readonly
|
|
1054
|
+
readonly reactiveObjects: true;
|
|
1055
|
+
readonly selectors: true;
|
|
929
1056
|
readonly configuration: {
|
|
930
1057
|
readonly adaptiveDependencyIndex: boolean;
|
|
931
1058
|
readonly debug?: {
|
|
@@ -967,6 +1094,8 @@ declare var __VLS_1: {
|
|
|
967
1094
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
968
1095
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
969
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;
|
|
970
1099
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
971
1100
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
972
1101
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -984,40 +1113,6 @@ declare var __VLS_1: {
|
|
|
984
1113
|
readonly enforceActions: boolean;
|
|
985
1114
|
readonly scheduler: import('@raphy-js/raph').RaphSchedulerMode;
|
|
986
1115
|
};
|
|
987
|
-
readonly rootScope: {
|
|
988
|
-
readonly id: string;
|
|
989
|
-
readonly runtime: /*elided*/ any;
|
|
990
|
-
readonly disposed: boolean;
|
|
991
|
-
readonly active: boolean;
|
|
992
|
-
readonly node: /*elided*/ any | undefined;
|
|
993
|
-
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
994
|
-
computed: {
|
|
995
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
996
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
997
|
-
};
|
|
998
|
-
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
999
|
-
watch: (source: import('@raphy-js/raph').RaphWatchSource, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphWatchOptions) => import('@raphy-js/raph').Disposer;
|
|
1000
|
-
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
1001
|
-
action: {
|
|
1002
|
-
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1003
|
-
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1004
|
-
};
|
|
1005
|
-
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1006
|
-
dispose: () => void;
|
|
1007
|
-
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1008
|
-
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
1009
|
-
_debugResourceCount: () => number;
|
|
1010
|
-
_debugSourceCount: () => number;
|
|
1011
|
-
_assertAlive: () => void;
|
|
1012
|
-
};
|
|
1013
|
-
readonly root: /*elided*/ any;
|
|
1014
|
-
readonly frameTick: {
|
|
1015
|
-
get: (this: import('@raphy-js/raph').ReadonlySignal<unknown>) => number;
|
|
1016
|
-
peek: (this: import('@raphy-js/raph').ReadonlySignal<unknown>) => number;
|
|
1017
|
-
};
|
|
1018
|
-
_getReactivity: () => import('@raphy-js/raph/debug/runtime/reactivity/RuntimeReactivity').RuntimeReactivity;
|
|
1019
|
-
_getWorkGraph: () => import('@raphy-js/raph/debug/runtime/reactivity/RaphWorkGraph').RaphWorkGraph;
|
|
1020
|
-
readonly id: string;
|
|
1021
1116
|
readonly kernel: {
|
|
1022
1117
|
readonly id: string;
|
|
1023
1118
|
readonly disposed: boolean;
|
|
@@ -1048,6 +1143,8 @@ declare var __VLS_1: {
|
|
|
1048
1143
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1049
1144
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1050
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;
|
|
1051
1148
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
1052
1149
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
1053
1150
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -1062,21 +1159,6 @@ declare var __VLS_1: {
|
|
|
1062
1159
|
_recomputeDerived: <TSource, TTarget>(handle: import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>) => void;
|
|
1063
1160
|
_removeDerived: (handle: import('@raphy-js/raph').RaphDerivedHandle<any, any>) => void;
|
|
1064
1161
|
};
|
|
1065
|
-
readonly disposed: boolean;
|
|
1066
|
-
readonly graph: {
|
|
1067
|
-
parentsOf: (node: import('@raphy-js/raph').RaphNode<unknown>) => ReadonlySet<import('@raphy-js/raph').RaphNode<unknown>>;
|
|
1068
|
-
};
|
|
1069
|
-
readonly loopEnabled: boolean;
|
|
1070
|
-
readonly frame: {
|
|
1071
|
-
readonly now: number;
|
|
1072
|
-
readonly delta: number;
|
|
1073
|
-
readonly elapsed: number;
|
|
1074
|
-
readonly frame: number;
|
|
1075
|
-
};
|
|
1076
|
-
readonly phases: readonly {
|
|
1077
|
-
readonly name: string;
|
|
1078
|
-
readonly process?: ((batch: import('@raphy-js/raph').RaphPhaseBatch) => void) | undefined;
|
|
1079
|
-
}[];
|
|
1080
1162
|
readonly meta: {
|
|
1081
1163
|
delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
1082
1164
|
get: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
@@ -1101,17 +1183,6 @@ declare var __VLS_1: {
|
|
|
1101
1183
|
snapshot: () => import('@raphy-js/raph').RaphDebugSnapshot;
|
|
1102
1184
|
stats: () => import('@raphy-js/raph').RaphDebugStats;
|
|
1103
1185
|
};
|
|
1104
|
-
signal: <T>(value: T, owner?: import('@raphy-js/raph').RaphScope) => import('@raphy-js/raph').Signal<T>;
|
|
1105
|
-
reactive: <T extends object>(value: T) => T;
|
|
1106
|
-
computed: {
|
|
1107
|
-
<T>(getter: () => T, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1108
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Signal<T>;
|
|
1109
|
-
};
|
|
1110
|
-
effect: (consumer: import('@raphy-js/raph').RaphScope, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
1111
|
-
_effectRegistration: (consumer: import('@raphy-js/raph').RaphScope, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions, startPaused?: boolean) => import('@raphy-js/raph/debug/runtime/RaphRuntime').RaphPausableRegistration;
|
|
1112
|
-
watch: (consumer: import('@raphy-js/raph').RaphScope, source: import('@raphy-js/raph').RaphWatchSource, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphWatchOptions) => import('@raphy-js/raph').Disposer;
|
|
1113
|
-
_watchRegistration: (consumer: import('@raphy-js/raph').RaphScope, source: import('@raphy-js/raph').RaphWatchSource, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphWatchOptions, startPaused?: boolean) => import('@raphy-js/raph/debug/runtime/RaphRuntime').RaphPausableRegistration;
|
|
1114
|
-
aggregate: (consumer: import('@raphy-js/raph').RaphScope, sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
1115
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;
|
|
1116
1187
|
path: <T>(path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => import('@raphy-js/raph').PathHandle<T>;
|
|
1117
1188
|
get: {
|
|
@@ -1126,18 +1197,119 @@ declare var __VLS_1: {
|
|
|
1126
1197
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1127
1198
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1128
1199
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
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>;
|
|
1129
1299
|
batch: <T>(operation: () => T) => T;
|
|
1130
1300
|
_batchReactive: <T>(operation: () => T) => T;
|
|
1131
1301
|
action: {
|
|
1132
|
-
<Args extends unknown[], Result>(operation: (...args: Args) => Result, owner?: import('@raphy-js/raph').RaphScope): (...args: Args) => Result;
|
|
1133
|
-
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result, owner?: import('@raphy-js/raph').RaphScope): (...args: Args) => Result;
|
|
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;
|
|
1134
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;
|
|
1135
1306
|
untracked: <T>(operation: () => T) => T;
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
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;
|
|
1141
1313
|
clearPhases: () => void;
|
|
1142
1314
|
requestExecution: () => void;
|
|
1143
1315
|
flush: () => void;
|
|
@@ -1145,21 +1317,28 @@ declare var __VLS_1: {
|
|
|
1145
1317
|
acquireLoop: (owner: string) => import('@raphy-js/raph').FrameLoopLease;
|
|
1146
1318
|
startLoop: () => void;
|
|
1147
1319
|
stopLoop: () => void;
|
|
1148
|
-
derive: <TSource, TTarget>(options: import('@raphy-js/raph').DerivedOptions<TSource, TTarget>) => import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>;
|
|
1149
1320
|
dispose: () => void;
|
|
1150
1321
|
_onDisposed: (listener: () => void) => import('@raphy-js/raph').Disposer;
|
|
1151
|
-
_notifyNodeStructure: (node: import('@raphy-js/raph').RaphNode, structure: import('@raphy-js/raph').RaphStructureCause
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
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;
|
|
1155
1328
|
_runNodeMutation: <T>(operation: () => T) => T;
|
|
1329
|
+
_touchMutationBoundary: () => void;
|
|
1156
1330
|
_runPhaseTransition: <T>(operation: () => T) => T;
|
|
1157
|
-
_beginOwnerDisposal: () => void;
|
|
1331
|
+
_beginOwnerDisposal: (node?: import('@raphy-js/raph').RaphNode<unknown, any>) => void;
|
|
1158
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;
|
|
1159
1336
|
_ownerDisposalActive: () => boolean;
|
|
1160
|
-
_registerOwner: (owner: import('@raphy-js/raph').RaphScope) =>
|
|
1161
|
-
_unregisterOwner: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
1162
|
-
|
|
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;
|
|
1163
1342
|
_beginKernelBatch: () => void;
|
|
1164
1343
|
_endKernelBatch: () => void;
|
|
1165
1344
|
_registerMachineDebug: (registration: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphMachineDebugRegistration) => import('@raphy-js/raph').Disposer;
|
|
@@ -1170,28 +1349,67 @@ declare var __VLS_1: {
|
|
|
1170
1349
|
_hasActiveReactiveContext: () => boolean;
|
|
1171
1350
|
_recordTrace: (event: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphTraceEventInput) => void;
|
|
1172
1351
|
_runWithTraceCause: <T>(causeId: number | undefined, operation: () => T) => T;
|
|
1173
|
-
|
|
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;
|
|
1174
1358
|
};
|
|
1175
|
-
readonly
|
|
1176
|
-
readonly
|
|
1359
|
+
readonly _order: number;
|
|
1360
|
+
readonly _isNode: boolean;
|
|
1361
|
+
_disposed: boolean;
|
|
1362
|
+
_disposing: boolean;
|
|
1177
1363
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
1178
1364
|
computed: {
|
|
1179
1365
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1180
1366
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
1181
1367
|
};
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
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>;
|
|
1185
1377
|
action: {
|
|
1186
1378
|
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1187
1379
|
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1188
1380
|
};
|
|
1189
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;
|
|
1190
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;
|
|
1191
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;
|
|
1388
|
+
_assertAlive: () => void;
|
|
1389
|
+
scopeFirstChild: {
|
|
1390
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
1391
|
+
scopeParent?: {
|
|
1392
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1393
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
1394
|
+
} | undefined;
|
|
1395
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
1396
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
1397
|
+
} | undefined;
|
|
1398
|
+
scopeLastChild: {
|
|
1399
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
1400
|
+
scopeParent?: {
|
|
1401
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1402
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
1403
|
+
} | undefined;
|
|
1404
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
1405
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
1406
|
+
} | undefined;
|
|
1407
|
+
readonly disposed: boolean;
|
|
1408
|
+
readonly active: boolean;
|
|
1192
1409
|
_debugResourceCount: () => number;
|
|
1193
1410
|
_debugSourceCount: () => number;
|
|
1194
|
-
|
|
1411
|
+
_lastOwnedSource: () => import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry | undefined;
|
|
1412
|
+
_releaseRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
1195
1413
|
} | null;
|
|
1196
1414
|
readonly basePath: string;
|
|
1197
1415
|
statePath: (path?: string) => string;
|