@endge/ui-vue 1.0.0-dev.4 → 1.0.0-dev.5
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.
|
@@ -37,6 +37,8 @@ export declare class EndgeVueTooltipManager {
|
|
|
37
37
|
private _reasons;
|
|
38
38
|
private _openTimer;
|
|
39
39
|
private _closeTimer;
|
|
40
|
+
private _detachTimer;
|
|
41
|
+
private _detachedAnchor;
|
|
40
42
|
private _generation;
|
|
41
43
|
private _disposed;
|
|
42
44
|
private readonly _defaults;
|
|
@@ -44,7 +46,10 @@ export declare class EndgeVueTooltipManager {
|
|
|
44
46
|
private readonly _raphScope;
|
|
45
47
|
constructor(adapterId: string, defaults: EndgeTooltipConfiguration);
|
|
46
48
|
activate(request: EndgeVueTooltipRequest, reason: EndgeTooltipActivationReason): void;
|
|
47
|
-
deactivate(ownerId: string, reason: EndgeTooltipActivationReason): void;
|
|
49
|
+
deactivate(ownerId: string, reason: EndgeTooltipActivationReason, anchor?: HTMLElement): void;
|
|
50
|
+
detachTrigger(ownerId: string, anchor: HTMLElement): void;
|
|
51
|
+
reattachIfHovered(ownerId: string, anchor: HTMLElement, createRequest: (anchor: HTMLElement) => EndgeVueTooltipRequest): void;
|
|
52
|
+
refreshTrigger(ownerId: string, anchor: HTMLElement, createRequest: (anchor: HTMLElement) => EndgeVueTooltipRequest): void;
|
|
48
53
|
close(ownerId?: string): void;
|
|
49
54
|
dispose(): void;
|
|
50
55
|
private _show;
|
|
@@ -55,6 +60,7 @@ export declare class EndgeVueTooltipManager {
|
|
|
55
60
|
private _resolvePolicy;
|
|
56
61
|
private _clearOpenTimer;
|
|
57
62
|
private _clearCloseTimer;
|
|
63
|
+
private _clearDetachTimer;
|
|
58
64
|
}
|
|
59
65
|
export declare const EndgeVueTooltipManagerKey: InjectionKey<EndgeVueTooltipManager>;
|
|
60
|
-
export declare function attachEndgeTooltipTriggerAttrs(attrs: Record<string, unknown>, manager: EndgeVueTooltipManager | null, createRequest: (anchor: HTMLElement) => EndgeVueTooltipRequest): void;
|
|
66
|
+
export declare function attachEndgeTooltipTriggerAttrs(attrs: Record<string, unknown>, manager: EndgeVueTooltipManager | null, ownerId: string, createRequest: (anchor: HTMLElement) => EndgeVueTooltipRequest): void;
|
|
@@ -55,23 +55,39 @@ 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;
|
|
64
66
|
readonly children: readonly /*elided*/ any[];
|
|
65
67
|
addChild: (node: import('@raphy-js/raph').RaphNode) => boolean;
|
|
66
68
|
reorderChildren: (nodes: readonly import('@raphy-js/raph').RaphNode[]) => void;
|
|
69
|
+
moveChild: (child: import('@raphy-js/raph').RaphNode, before: import('@raphy-js/raph').RaphNode | null) => void;
|
|
70
|
+
_swapChildren: (first: import('@raphy-js/raph').RaphNode, second: import('@raphy-js/raph').RaphNode) => void;
|
|
71
|
+
_disposeChildren: {
|
|
72
|
+
(): unknown[] | undefined;
|
|
73
|
+
(holders: readonly import('@raphy-js/raph/debug/runtime/ownership/RaphNode').RaphNodeHolder[], start?: number, end?: number): unknown[] | undefined;
|
|
74
|
+
};
|
|
67
75
|
options: (options: Pick<import('@raphy-js/raph').NodeOptions, "meta" | "priority" | "type">) => void;
|
|
68
76
|
touch: (metadata?: unknown) => void;
|
|
69
77
|
remove: () => void;
|
|
70
78
|
dispose: () => void;
|
|
79
|
+
_disposeForOwner: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
80
|
+
_disposeWithOutcome: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
71
81
|
_setApi: (api: unknown) => void;
|
|
72
82
|
_publishCreation: () => void;
|
|
73
83
|
_isPublished: () => boolean;
|
|
74
|
-
|
|
84
|
+
_isLinked: () => boolean;
|
|
85
|
+
_collectDescendants: (into: import('@raphy-js/raph').RaphScope[]) => void;
|
|
86
|
+
_countSubtree: (totals: {
|
|
87
|
+
resources: number;
|
|
88
|
+
sources: number;
|
|
89
|
+
}) => void;
|
|
90
|
+
_findNode: (id: string) => import('@raphy-js/raph').RaphNode | undefined;
|
|
75
91
|
readonly runtime: {
|
|
76
92
|
readonly mode: "runtime";
|
|
77
93
|
readonly configuration: {
|
|
@@ -115,6 +131,8 @@ declare var __VLS_1: {
|
|
|
115
131
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
116
132
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
117
133
|
batch: <T>(operation: () => T) => T;
|
|
134
|
+
_openSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime) => import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub | undefined;
|
|
135
|
+
_closeSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime, hub: import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub, operationFailed: boolean, operationError: unknown) => void;
|
|
118
136
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
119
137
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
120
138
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -133,18 +151,24 @@ declare var __VLS_1: {
|
|
|
133
151
|
readonly scheduler: import('@raphy-js/raph').RaphSchedulerMode;
|
|
134
152
|
};
|
|
135
153
|
readonly rootScope: {
|
|
136
|
-
readonly id: string;
|
|
137
154
|
readonly runtime: /*elided*/ any;
|
|
138
|
-
readonly
|
|
139
|
-
readonly
|
|
155
|
+
readonly _order: number;
|
|
156
|
+
readonly _isNode: boolean;
|
|
157
|
+
readonly id: string;
|
|
140
158
|
readonly node: /*elided*/ any | undefined;
|
|
141
159
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
142
160
|
computed: {
|
|
143
161
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
144
162
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
145
163
|
};
|
|
164
|
+
selector: <Key>(source: import('@raphy-js/raph').Signal<Key>, options?: import('@raphy-js/raph').RaphSelectorOptions<Key>) => import('@raphy-js/raph').RaphSelector<Key>;
|
|
146
165
|
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
166
|
+
bindEffect: (phase: string, body: import('@raphy-js/raph').RaphPhaseBody, options?: import('@raphy-js/raph').RaphEffectOptions) => void;
|
|
167
|
+
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;
|
|
147
168
|
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;
|
|
169
|
+
_registerEffect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options: import('@raphy-js/raph').RaphEffectOptions, taskless: boolean, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
170
|
+
_registerWatch: (source: import('@raphy-js/raph').RaphWatchSource, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options: import('@raphy-js/raph').RaphWatchOptions, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
171
|
+
_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"]>;
|
|
148
172
|
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
149
173
|
action: {
|
|
150
174
|
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
@@ -152,11 +176,38 @@ declare var __VLS_1: {
|
|
|
152
176
|
};
|
|
153
177
|
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
154
178
|
dispose: () => void;
|
|
179
|
+
_disposeScopeForOwner: (dispose: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
180
|
+
_disposeWithOutcome: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
181
|
+
_ownCompletedCleanup: (cleanup: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined) => import('@raphy-js/raph').Disposer;
|
|
155
182
|
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
183
|
+
_adoptRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
156
184
|
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
185
|
+
_adoptSourceEntry: (entry: import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry) => void;
|
|
186
|
+
_assertAlive: () => void;
|
|
187
|
+
scopeFirstChild: {
|
|
188
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
189
|
+
scopeParent?: {
|
|
190
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
191
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
192
|
+
} | undefined;
|
|
193
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
194
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
195
|
+
} | undefined;
|
|
196
|
+
scopeLastChild: {
|
|
197
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
198
|
+
scopeParent?: {
|
|
199
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
200
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
201
|
+
} | undefined;
|
|
202
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
203
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
204
|
+
} | undefined;
|
|
205
|
+
readonly disposed: boolean;
|
|
206
|
+
readonly active: boolean;
|
|
157
207
|
_debugResourceCount: () => number;
|
|
158
208
|
_debugSourceCount: () => number;
|
|
159
|
-
|
|
209
|
+
_lastOwnedSource: () => import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry | undefined;
|
|
210
|
+
_releaseRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
160
211
|
};
|
|
161
212
|
readonly root: /*elided*/ any;
|
|
162
213
|
readonly frameTick: {
|
|
@@ -196,6 +247,8 @@ declare var __VLS_1: {
|
|
|
196
247
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
197
248
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
198
249
|
batch: <T>(operation: () => T) => T;
|
|
250
|
+
_openSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime) => import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub | undefined;
|
|
251
|
+
_closeSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime, hub: import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub, operationFailed: boolean, operationError: unknown) => void;
|
|
199
252
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
200
253
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
201
254
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -256,9 +309,11 @@ declare var __VLS_1: {
|
|
|
256
309
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Signal<T>;
|
|
257
310
|
};
|
|
258
311
|
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;
|
|
312
|
+
_effectRegistration: (consumer: import('@raphy-js/raph').RaphScope, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions, startPaused?: boolean, taskless?: boolean, onExecutionFailure?: (error: unknown) => never, isExecutionCancelled?: () => boolean) => import('@raphy-js/raph/debug/runtime/RaphRuntime').RaphPausableRegistration;
|
|
313
|
+
_effectGroupRegistration: (consumer: import('@raphy-js/raph').RaphScope, 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;
|
|
314
|
+
_startGroupSlot: (record: import('@raphy-js/raph/debug/runtime/phases/RaphPhaseTaskRecord').RaphPhaseTaskRecord, slot: number, initial: import('@raphy-js/raph').RaphEffectInitialMode, onExecutionFailure?: (error: unknown) => never) => void;
|
|
260
315
|
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/
|
|
316
|
+
_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, onExecutionFailure?: (error: unknown) => never, isExecutionCancelled?: () => boolean) => import('@raphy-js/raph/debug/runtime/phases/RaphPhaseTaskRecord').RaphPhaseTaskRecord;
|
|
262
317
|
aggregate: (consumer: import('@raphy-js/raph').RaphScope, sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
263
318
|
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
319
|
path: <T>(path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => import('@raphy-js/raph').PathHandle<T>;
|
|
@@ -297,16 +352,24 @@ declare var __VLS_1: {
|
|
|
297
352
|
dispose: () => void;
|
|
298
353
|
_onDisposed: (listener: () => void) => import('@raphy-js/raph').Disposer;
|
|
299
354
|
_notifyNodeStructure: (node: import('@raphy-js/raph').RaphNode, structure: import('@raphy-js/raph').RaphStructureCause, oldAncestors: readonly import('@raphy-js/raph').RaphNode[], newAncestors: readonly import('@raphy-js/raph').RaphNode[]) => void;
|
|
355
|
+
_hasNodeStructureDemand: (node: import('@raphy-js/raph').RaphNode) => boolean;
|
|
356
|
+
_hasNodeSubscribers: () => boolean;
|
|
300
357
|
_notifyNodeTouch: (node: import('@raphy-js/raph').RaphNode, metadata?: unknown) => void;
|
|
301
358
|
_assertNodeReparentAllowed: (node: import('@raphy-js/raph').RaphNode, newParent: import('@raphy-js/raph').RaphNode) => void;
|
|
302
359
|
_releaseNode: (node: import('@raphy-js/raph').RaphNode) => void;
|
|
303
360
|
_runNodeMutation: <T>(operation: () => T) => T;
|
|
361
|
+
_touchMutationBoundary: () => void;
|
|
304
362
|
_runPhaseTransition: <T>(operation: () => T) => T;
|
|
305
|
-
_beginOwnerDisposal: () => void;
|
|
363
|
+
_beginOwnerDisposal: (node?: import('@raphy-js/raph').RaphNode) => void;
|
|
306
364
|
_endOwnerDisposal: () => void;
|
|
365
|
+
_ownerDisposalCount: () => number;
|
|
366
|
+
_addDisposalSweeper: (sweeper: import('@raphy-js/raph/debug/runtime/reactivity/runtime-reactivity.types').RuntimeDisposalSweeper, due: number) => void;
|
|
367
|
+
_removeDisposalSweeper: (sweeper: import('@raphy-js/raph/debug/runtime/reactivity/runtime-reactivity.types').RuntimeDisposalSweeper) => void;
|
|
307
368
|
_ownerDisposalActive: () => boolean;
|
|
308
|
-
_registerOwner: (owner: import('@raphy-js/raph').RaphScope) =>
|
|
369
|
+
_registerOwner: (owner: import('@raphy-js/raph').RaphScope) => number;
|
|
309
370
|
_unregisterOwner: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
371
|
+
_addTopOwner: (node: import('@raphy-js/raph').RaphNode) => void;
|
|
372
|
+
_removeTopOwner: (node: import('@raphy-js/raph').RaphNode) => void;
|
|
310
373
|
_assertOwnerRuntime: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
311
374
|
_beginKernelBatch: () => void;
|
|
312
375
|
_endKernelBatch: () => void;
|
|
@@ -318,28 +381,63 @@ declare var __VLS_1: {
|
|
|
318
381
|
_hasActiveReactiveContext: () => boolean;
|
|
319
382
|
_recordTrace: (event: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphTraceEventInput) => void;
|
|
320
383
|
_runWithTraceCause: <T>(causeId: number | undefined, operation: () => T) => T;
|
|
384
|
+
_enterWrite: () => void;
|
|
385
|
+
_exitWrite: () => void;
|
|
386
|
+
_failWrite: (operationError: unknown) => unknown;
|
|
321
387
|
_assertSourceReadable: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
322
388
|
};
|
|
323
|
-
readonly
|
|
324
|
-
readonly
|
|
389
|
+
readonly _order: number;
|
|
390
|
+
readonly _isNode: boolean;
|
|
325
391
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
326
392
|
computed: {
|
|
327
393
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
328
394
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
329
395
|
};
|
|
396
|
+
selector: <Key>(source: import('@raphy-js/raph').Signal<Key>, options?: import('@raphy-js/raph').RaphSelectorOptions<Key>) => import('@raphy-js/raph').RaphSelector<Key>;
|
|
330
397
|
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
398
|
+
bindEffect: (phase: string, body: import('@raphy-js/raph').RaphPhaseBody, options?: import('@raphy-js/raph').RaphEffectOptions) => void;
|
|
399
|
+
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;
|
|
331
400
|
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;
|
|
401
|
+
_registerEffect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options: import('@raphy-js/raph').RaphEffectOptions, taskless: boolean, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
402
|
+
_registerWatch: (source: import('@raphy-js/raph').RaphWatchSource, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options: import('@raphy-js/raph').RaphWatchOptions, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
403
|
+
_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"]>;
|
|
332
404
|
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
333
405
|
action: {
|
|
334
406
|
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
335
407
|
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
336
408
|
};
|
|
337
409
|
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
410
|
+
_disposeScopeForOwner: (dispose: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
411
|
+
_ownCompletedCleanup: (cleanup: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined) => import('@raphy-js/raph').Disposer;
|
|
338
412
|
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
413
|
+
_adoptRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
339
414
|
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
415
|
+
_adoptSourceEntry: (entry: import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry) => void;
|
|
416
|
+
_assertAlive: () => void;
|
|
417
|
+
scopeFirstChild: {
|
|
418
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
419
|
+
scopeParent?: {
|
|
420
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
421
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
422
|
+
} | undefined;
|
|
423
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
424
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
425
|
+
} | undefined;
|
|
426
|
+
scopeLastChild: {
|
|
427
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
428
|
+
scopeParent?: {
|
|
429
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
430
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
431
|
+
} | undefined;
|
|
432
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
433
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
434
|
+
} | undefined;
|
|
435
|
+
readonly disposed: boolean;
|
|
436
|
+
readonly active: boolean;
|
|
340
437
|
_debugResourceCount: () => number;
|
|
341
438
|
_debugSourceCount: () => number;
|
|
342
|
-
|
|
439
|
+
_lastOwnedSource: () => import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry | undefined;
|
|
440
|
+
_releaseRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
343
441
|
} | null;
|
|
344
442
|
readonly basePath: string;
|
|
345
443
|
statePath: (path?: string) => string;
|
|
@@ -907,23 +1005,39 @@ declare var __VLS_1: {
|
|
|
907
1005
|
} | null;
|
|
908
1006
|
readonly node: {
|
|
909
1007
|
priority: number;
|
|
910
|
-
|
|
911
|
-
meta: Record<string, unknown>;
|
|
1008
|
+
_childCount: number;
|
|
912
1009
|
type: string;
|
|
913
|
-
readonly
|
|
1010
|
+
readonly id: string;
|
|
1011
|
+
meta: Record<string, unknown>;
|
|
1012
|
+
readonly api: Readonly<unknown>;
|
|
1013
|
+
readonly _subtreeSourceIdentity: object;
|
|
914
1014
|
readonly node: /*elided*/ any;
|
|
915
1015
|
readonly parent: /*elided*/ any | null;
|
|
916
1016
|
readonly children: readonly /*elided*/ any[];
|
|
917
1017
|
addChild: (node: import('@raphy-js/raph').RaphNode) => boolean;
|
|
918
1018
|
reorderChildren: (nodes: readonly import('@raphy-js/raph').RaphNode[]) => void;
|
|
1019
|
+
moveChild: (child: import('@raphy-js/raph').RaphNode, before: import('@raphy-js/raph').RaphNode | null) => void;
|
|
1020
|
+
_swapChildren: (first: import('@raphy-js/raph').RaphNode, second: import('@raphy-js/raph').RaphNode) => void;
|
|
1021
|
+
_disposeChildren: {
|
|
1022
|
+
(): unknown[] | undefined;
|
|
1023
|
+
(holders: readonly import('@raphy-js/raph/debug/runtime/ownership/RaphNode').RaphNodeHolder[], start?: number, end?: number): unknown[] | undefined;
|
|
1024
|
+
};
|
|
919
1025
|
options: (options: Pick<import('@raphy-js/raph').NodeOptions, "meta" | "priority" | "type">) => void;
|
|
920
1026
|
touch: (metadata?: unknown) => void;
|
|
921
1027
|
remove: () => void;
|
|
922
1028
|
dispose: () => void;
|
|
1029
|
+
_disposeForOwner: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
1030
|
+
_disposeWithOutcome: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
923
1031
|
_setApi: (api: unknown) => void;
|
|
924
1032
|
_publishCreation: () => void;
|
|
925
1033
|
_isPublished: () => boolean;
|
|
926
|
-
|
|
1034
|
+
_isLinked: () => boolean;
|
|
1035
|
+
_collectDescendants: (into: import('@raphy-js/raph').RaphScope[]) => void;
|
|
1036
|
+
_countSubtree: (totals: {
|
|
1037
|
+
resources: number;
|
|
1038
|
+
sources: number;
|
|
1039
|
+
}) => void;
|
|
1040
|
+
_findNode: (id: string) => import('@raphy-js/raph').RaphNode | undefined;
|
|
927
1041
|
readonly runtime: {
|
|
928
1042
|
readonly mode: "runtime";
|
|
929
1043
|
readonly configuration: {
|
|
@@ -967,6 +1081,8 @@ declare var __VLS_1: {
|
|
|
967
1081
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
968
1082
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
969
1083
|
batch: <T>(operation: () => T) => T;
|
|
1084
|
+
_openSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime) => import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub | undefined;
|
|
1085
|
+
_closeSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime, hub: import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub, operationFailed: boolean, operationError: unknown) => void;
|
|
970
1086
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
971
1087
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
972
1088
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -985,18 +1101,24 @@ declare var __VLS_1: {
|
|
|
985
1101
|
readonly scheduler: import('@raphy-js/raph').RaphSchedulerMode;
|
|
986
1102
|
};
|
|
987
1103
|
readonly rootScope: {
|
|
988
|
-
readonly id: string;
|
|
989
1104
|
readonly runtime: /*elided*/ any;
|
|
990
|
-
readonly
|
|
991
|
-
readonly
|
|
1105
|
+
readonly _order: number;
|
|
1106
|
+
readonly _isNode: boolean;
|
|
1107
|
+
readonly id: string;
|
|
992
1108
|
readonly node: /*elided*/ any | undefined;
|
|
993
1109
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
994
1110
|
computed: {
|
|
995
1111
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
996
1112
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
997
1113
|
};
|
|
1114
|
+
selector: <Key>(source: import('@raphy-js/raph').Signal<Key>, options?: import('@raphy-js/raph').RaphSelectorOptions<Key>) => import('@raphy-js/raph').RaphSelector<Key>;
|
|
998
1115
|
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
1116
|
+
bindEffect: (phase: string, body: import('@raphy-js/raph').RaphPhaseBody, options?: import('@raphy-js/raph').RaphEffectOptions) => void;
|
|
1117
|
+
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;
|
|
999
1118
|
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;
|
|
1119
|
+
_registerEffect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options: import('@raphy-js/raph').RaphEffectOptions, taskless: boolean, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
1120
|
+
_registerWatch: (source: import('@raphy-js/raph').RaphWatchSource, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options: import('@raphy-js/raph').RaphWatchOptions, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
1121
|
+
_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"]>;
|
|
1000
1122
|
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
1001
1123
|
action: {
|
|
1002
1124
|
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
@@ -1004,11 +1126,38 @@ declare var __VLS_1: {
|
|
|
1004
1126
|
};
|
|
1005
1127
|
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1006
1128
|
dispose: () => void;
|
|
1129
|
+
_disposeScopeForOwner: (dispose: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
1130
|
+
_disposeWithOutcome: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
1131
|
+
_ownCompletedCleanup: (cleanup: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined) => import('@raphy-js/raph').Disposer;
|
|
1007
1132
|
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1133
|
+
_adoptRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
1008
1134
|
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
1135
|
+
_adoptSourceEntry: (entry: import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry) => void;
|
|
1136
|
+
_assertAlive: () => void;
|
|
1137
|
+
scopeFirstChild: {
|
|
1138
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
1139
|
+
scopeParent?: {
|
|
1140
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1141
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
1142
|
+
} | undefined;
|
|
1143
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
1144
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
1145
|
+
} | undefined;
|
|
1146
|
+
scopeLastChild: {
|
|
1147
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
1148
|
+
scopeParent?: {
|
|
1149
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1150
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
1151
|
+
} | undefined;
|
|
1152
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
1153
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
1154
|
+
} | undefined;
|
|
1155
|
+
readonly disposed: boolean;
|
|
1156
|
+
readonly active: boolean;
|
|
1009
1157
|
_debugResourceCount: () => number;
|
|
1010
1158
|
_debugSourceCount: () => number;
|
|
1011
|
-
|
|
1159
|
+
_lastOwnedSource: () => import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry | undefined;
|
|
1160
|
+
_releaseRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
1012
1161
|
};
|
|
1013
1162
|
readonly root: /*elided*/ any;
|
|
1014
1163
|
readonly frameTick: {
|
|
@@ -1048,6 +1197,8 @@ declare var __VLS_1: {
|
|
|
1048
1197
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1049
1198
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1050
1199
|
batch: <T>(operation: () => T) => T;
|
|
1200
|
+
_openSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime) => import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub | undefined;
|
|
1201
|
+
_closeSoleRuntimeBatch: (runtime: import('@raphy-js/raph').RaphKernelRuntime, hub: import('@raphy-js/raph/debug/path/storage/PathEventHub').PathEventHub, operationFailed: boolean, operationError: unknown) => void;
|
|
1051
1202
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
1052
1203
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
1053
1204
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -1108,9 +1259,11 @@ declare var __VLS_1: {
|
|
|
1108
1259
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Signal<T>;
|
|
1109
1260
|
};
|
|
1110
1261
|
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;
|
|
1262
|
+
_effectRegistration: (consumer: import('@raphy-js/raph').RaphScope, phaseInput: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions, startPaused?: boolean, taskless?: boolean, onExecutionFailure?: (error: unknown) => never, isExecutionCancelled?: () => boolean) => import('@raphy-js/raph/debug/runtime/RaphRuntime').RaphPausableRegistration;
|
|
1263
|
+
_effectGroupRegistration: (consumer: import('@raphy-js/raph').RaphScope, 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;
|
|
1264
|
+
_startGroupSlot: (record: import('@raphy-js/raph/debug/runtime/phases/RaphPhaseTaskRecord').RaphPhaseTaskRecord, slot: number, initial: import('@raphy-js/raph').RaphEffectInitialMode, onExecutionFailure?: (error: unknown) => never) => void;
|
|
1112
1265
|
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/
|
|
1266
|
+
_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, onExecutionFailure?: (error: unknown) => never, isExecutionCancelled?: () => boolean) => import('@raphy-js/raph/debug/runtime/phases/RaphPhaseTaskRecord').RaphPhaseTaskRecord;
|
|
1114
1267
|
aggregate: (consumer: import('@raphy-js/raph').RaphScope, sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
1115
1268
|
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
1269
|
path: <T>(path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => import('@raphy-js/raph').PathHandle<T>;
|
|
@@ -1149,16 +1302,24 @@ declare var __VLS_1: {
|
|
|
1149
1302
|
dispose: () => void;
|
|
1150
1303
|
_onDisposed: (listener: () => void) => import('@raphy-js/raph').Disposer;
|
|
1151
1304
|
_notifyNodeStructure: (node: import('@raphy-js/raph').RaphNode, structure: import('@raphy-js/raph').RaphStructureCause, oldAncestors: readonly import('@raphy-js/raph').RaphNode[], newAncestors: readonly import('@raphy-js/raph').RaphNode[]) => void;
|
|
1305
|
+
_hasNodeStructureDemand: (node: import('@raphy-js/raph').RaphNode) => boolean;
|
|
1306
|
+
_hasNodeSubscribers: () => boolean;
|
|
1152
1307
|
_notifyNodeTouch: (node: import('@raphy-js/raph').RaphNode, metadata?: unknown) => void;
|
|
1153
1308
|
_assertNodeReparentAllowed: (node: import('@raphy-js/raph').RaphNode, newParent: import('@raphy-js/raph').RaphNode) => void;
|
|
1154
1309
|
_releaseNode: (node: import('@raphy-js/raph').RaphNode) => void;
|
|
1155
1310
|
_runNodeMutation: <T>(operation: () => T) => T;
|
|
1311
|
+
_touchMutationBoundary: () => void;
|
|
1156
1312
|
_runPhaseTransition: <T>(operation: () => T) => T;
|
|
1157
|
-
_beginOwnerDisposal: () => void;
|
|
1313
|
+
_beginOwnerDisposal: (node?: import('@raphy-js/raph').RaphNode) => void;
|
|
1158
1314
|
_endOwnerDisposal: () => void;
|
|
1315
|
+
_ownerDisposalCount: () => number;
|
|
1316
|
+
_addDisposalSweeper: (sweeper: import('@raphy-js/raph/debug/runtime/reactivity/runtime-reactivity.types').RuntimeDisposalSweeper, due: number) => void;
|
|
1317
|
+
_removeDisposalSweeper: (sweeper: import('@raphy-js/raph/debug/runtime/reactivity/runtime-reactivity.types').RuntimeDisposalSweeper) => void;
|
|
1159
1318
|
_ownerDisposalActive: () => boolean;
|
|
1160
|
-
_registerOwner: (owner: import('@raphy-js/raph').RaphScope) =>
|
|
1319
|
+
_registerOwner: (owner: import('@raphy-js/raph').RaphScope) => number;
|
|
1161
1320
|
_unregisterOwner: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
1321
|
+
_addTopOwner: (node: import('@raphy-js/raph').RaphNode) => void;
|
|
1322
|
+
_removeTopOwner: (node: import('@raphy-js/raph').RaphNode) => void;
|
|
1162
1323
|
_assertOwnerRuntime: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
1163
1324
|
_beginKernelBatch: () => void;
|
|
1164
1325
|
_endKernelBatch: () => void;
|
|
@@ -1170,28 +1331,63 @@ declare var __VLS_1: {
|
|
|
1170
1331
|
_hasActiveReactiveContext: () => boolean;
|
|
1171
1332
|
_recordTrace: (event: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphTraceEventInput) => void;
|
|
1172
1333
|
_runWithTraceCause: <T>(causeId: number | undefined, operation: () => T) => T;
|
|
1334
|
+
_enterWrite: () => void;
|
|
1335
|
+
_exitWrite: () => void;
|
|
1336
|
+
_failWrite: (operationError: unknown) => unknown;
|
|
1173
1337
|
_assertSourceReadable: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
1174
1338
|
};
|
|
1175
|
-
readonly
|
|
1176
|
-
readonly
|
|
1339
|
+
readonly _order: number;
|
|
1340
|
+
readonly _isNode: boolean;
|
|
1177
1341
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
1178
1342
|
computed: {
|
|
1179
1343
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1180
1344
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
1181
1345
|
};
|
|
1346
|
+
selector: <Key>(source: import('@raphy-js/raph').Signal<Key>, options?: import('@raphy-js/raph').RaphSelectorOptions<Key>) => import('@raphy-js/raph').RaphSelector<Key>;
|
|
1182
1347
|
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
1348
|
+
bindEffect: (phase: string, body: import('@raphy-js/raph').RaphPhaseBody, options?: import('@raphy-js/raph').RaphEffectOptions) => void;
|
|
1349
|
+
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;
|
|
1183
1350
|
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;
|
|
1351
|
+
_registerEffect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options: import('@raphy-js/raph').RaphEffectOptions, taskless: boolean, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
1352
|
+
_registerWatch: (source: import('@raphy-js/raph').RaphWatchSource, phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options: import('@raphy-js/raph').RaphWatchOptions, onExecutionFailure: (error: unknown) => never, isExecutionCancelled?: () => boolean) => void;
|
|
1353
|
+
_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"]>;
|
|
1184
1354
|
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
1185
1355
|
action: {
|
|
1186
1356
|
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1187
1357
|
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1188
1358
|
};
|
|
1189
1359
|
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1360
|
+
_disposeScopeForOwner: (dispose: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined;
|
|
1361
|
+
_ownCompletedCleanup: (cleanup: () => import('@raphy-js/raph/debug/reactivity/disposal').DisposalFailure | undefined) => import('@raphy-js/raph').Disposer;
|
|
1190
1362
|
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1363
|
+
_adoptRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
1191
1364
|
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
1365
|
+
_adoptSourceEntry: (entry: import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry) => void;
|
|
1366
|
+
_assertAlive: () => void;
|
|
1367
|
+
scopeFirstChild: {
|
|
1368
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
1369
|
+
scopeParent?: {
|
|
1370
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1371
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
1372
|
+
} | undefined;
|
|
1373
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
1374
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
1375
|
+
} | undefined;
|
|
1376
|
+
scopeLastChild: {
|
|
1377
|
+
dispose: import('@raphy-js/raph').Disposer;
|
|
1378
|
+
scopeParent?: {
|
|
1379
|
+
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1380
|
+
scopeLastChild?: /*elided*/ any | undefined;
|
|
1381
|
+
} | undefined;
|
|
1382
|
+
scopePrevious?: /*elided*/ any | undefined;
|
|
1383
|
+
scopeNext?: /*elided*/ any | undefined;
|
|
1384
|
+
} | undefined;
|
|
1385
|
+
readonly disposed: boolean;
|
|
1386
|
+
readonly active: boolean;
|
|
1192
1387
|
_debugResourceCount: () => number;
|
|
1193
1388
|
_debugSourceCount: () => number;
|
|
1194
|
-
|
|
1389
|
+
_lastOwnedSource: () => import('@raphy-js/raph/debug/reactivity/scope').OwnedSourceEntry | undefined;
|
|
1390
|
+
_releaseRecord: (entry: import('@raphy-js/raph/debug/reactivity/types').OwnedResource) => void;
|
|
1195
1391
|
} | null;
|
|
1196
1392
|
readonly basePath: string;
|
|
1197
1393
|
statePath: (path?: string) => string;
|