@endge/ui-vue 0.37.0-dev → 1.0.0-dev.2
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 +1 -0
- package/dist/ui/render/entities/EndgePage.vue.d.ts +210 -302
- package/dist/vue.js +1068 -1073
- package/package.json +6 -6
|
@@ -58,19 +58,32 @@ declare var __VLS_1: {
|
|
|
58
58
|
readonly api: Readonly<unknown>;
|
|
59
59
|
meta: Record<string, unknown>;
|
|
60
60
|
type: string;
|
|
61
|
+
readonly _subtreeSourceIdentity: Readonly<{}>;
|
|
62
|
+
readonly node: /*elided*/ any;
|
|
61
63
|
readonly parent: /*elided*/ any | null;
|
|
62
64
|
readonly children: readonly /*elided*/ any[];
|
|
63
65
|
addChild: (node: import('@raphy-js/raph').RaphNode) => boolean;
|
|
66
|
+
reorderChildren: (nodes: readonly import('@raphy-js/raph').RaphNode[]) => void;
|
|
64
67
|
options: (options: Pick<import('@raphy-js/raph').NodeOptions, "meta" | "priority" | "type">) => void;
|
|
65
|
-
|
|
68
|
+
touch: (metadata?: unknown) => void;
|
|
66
69
|
remove: () => void;
|
|
67
70
|
dispose: () => void;
|
|
68
|
-
observeData: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options: import('@raphy-js/raph').RaphObserveDataOptions) => import('@raphy-js/raph').Disposer;
|
|
69
|
-
track: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options?: import('@raphy-js/raph').RaphTrackOptions) => import('@raphy-js/raph').Disposer;
|
|
70
71
|
_setApi: (api: unknown) => void;
|
|
72
|
+
_publishCreation: () => void;
|
|
73
|
+
_isPublished: () => boolean;
|
|
71
74
|
readonly id: string;
|
|
72
75
|
readonly runtime: {
|
|
76
|
+
readonly mode: "runtime";
|
|
73
77
|
readonly configuration: {
|
|
78
|
+
readonly adaptiveDependencyIndex: boolean;
|
|
79
|
+
readonly debug?: {
|
|
80
|
+
readonly trace?: false | {
|
|
81
|
+
readonly capacity?: number | undefined;
|
|
82
|
+
readonly context?: import('@raphy-js/raph').RaphTraceContextMode | undefined;
|
|
83
|
+
readonly guards?: import('@raphy-js/raph').RaphTraceGuardMode | undefined;
|
|
84
|
+
readonly include?: readonly import('@raphy-js/raph').RaphTraceKind[] | undefined;
|
|
85
|
+
} | undefined;
|
|
86
|
+
} | undefined;
|
|
74
87
|
readonly id: string;
|
|
75
88
|
readonly kernel: {
|
|
76
89
|
readonly id: string;
|
|
@@ -101,7 +114,7 @@ declare var __VLS_1: {
|
|
|
101
114
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
102
115
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
103
116
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
104
|
-
|
|
117
|
+
batch: <T>(operation: () => T) => T;
|
|
105
118
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
106
119
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
107
120
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -122,70 +135,36 @@ declare var __VLS_1: {
|
|
|
122
135
|
readonly rootScope: {
|
|
123
136
|
readonly id: string;
|
|
124
137
|
readonly runtime: /*elided*/ any;
|
|
138
|
+
readonly disposed: boolean;
|
|
139
|
+
readonly active: boolean;
|
|
140
|
+
readonly node: /*elided*/ any | undefined;
|
|
125
141
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
126
142
|
computed: {
|
|
127
143
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
128
144
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
129
145
|
};
|
|
130
|
-
effect:
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
_assertAlive: () => void;
|
|
137
|
-
readonly reactivity: {
|
|
138
|
-
readonly _effectImmediate: import('@raphy-js/raph/debug/reactivity/types').EffectFactory;
|
|
139
|
-
signal: <T>(initialValue: T) => import('@raphy-js/raph').Signal<T>;
|
|
140
|
-
computed: {
|
|
141
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
142
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
143
|
-
};
|
|
144
|
-
effect: (fn: import('@raphy-js/raph/signals').EffectCallback, onStop?: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
145
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: import('@raphy-js/raph/signals').WatchCallback<S>, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
146
|
-
batch: <T>(fn: () => T) => T;
|
|
147
|
-
untracked: <T>(fn: () => T) => T;
|
|
148
|
-
scope: () => import('@raphy-js/raph/signals').ScopeNode;
|
|
149
|
-
_signalAccess: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').SignalAccess<T>;
|
|
150
|
-
_computedAccess: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').ComputedAccessHandle<T>;
|
|
151
|
-
_ownedSignal: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').Signal<T>>;
|
|
152
|
-
_ownedComputed: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').ReadonlySignal<T>>;
|
|
153
|
-
_startBatch: () => void;
|
|
154
|
-
_endBatch: () => void;
|
|
155
|
-
_isTracking: () => boolean;
|
|
156
|
-
_isFlushingEffects: () => boolean;
|
|
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;
|
|
157
152
|
};
|
|
158
|
-
scopeFirstChild: {
|
|
159
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
160
|
-
scopeParent?: {
|
|
161
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
162
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
163
|
-
} | undefined;
|
|
164
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
165
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
166
|
-
} | undefined;
|
|
167
|
-
scopeLastChild: {
|
|
168
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
169
|
-
scopeParent?: {
|
|
170
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
171
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
172
|
-
} | undefined;
|
|
173
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
174
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
175
|
-
} | undefined;
|
|
176
|
-
readonly disposed: boolean;
|
|
177
|
-
readonly active: boolean;
|
|
178
153
|
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
179
|
-
_debugResourceCount: () => number;
|
|
180
|
-
_debugSourceCount: () => number;
|
|
181
154
|
dispose: () => void;
|
|
182
|
-
_own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
183
155
|
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
184
|
-
_adoptSource: <T>(
|
|
185
|
-
|
|
156
|
+
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
157
|
+
_debugResourceCount: () => number;
|
|
158
|
+
_debugSourceCount: () => number;
|
|
159
|
+
_assertAlive: () => void;
|
|
186
160
|
};
|
|
187
161
|
readonly root: /*elided*/ any;
|
|
188
|
-
|
|
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;
|
|
189
168
|
readonly id: string;
|
|
190
169
|
readonly kernel: {
|
|
191
170
|
readonly id: string;
|
|
@@ -216,7 +195,7 @@ declare var __VLS_1: {
|
|
|
216
195
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
217
196
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
218
197
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
219
|
-
|
|
198
|
+
batch: <T>(operation: () => T) => T;
|
|
220
199
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
221
200
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
222
201
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -231,14 +210,6 @@ declare var __VLS_1: {
|
|
|
231
210
|
_recomputeDerived: <TSource, TTarget>(handle: import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>) => void;
|
|
232
211
|
_removeDerived: (handle: import('@raphy-js/raph').RaphDerivedHandle<any, any>) => void;
|
|
233
212
|
};
|
|
234
|
-
readonly meta: {
|
|
235
|
-
get: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
236
|
-
has: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
237
|
-
set: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
238
|
-
merge: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
239
|
-
delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
240
|
-
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').RaphMetaWatchCallback, options?: import('@raphy-js/raph').RaphMetaWatchOptions) => () => void;
|
|
241
|
-
};
|
|
242
213
|
readonly disposed: boolean;
|
|
243
214
|
readonly graph: {
|
|
244
215
|
parentsOf: (node: import('@raphy-js/raph').RaphNode<unknown>) => ReadonlySet<import('@raphy-js/raph').RaphNode<unknown>>;
|
|
@@ -252,41 +223,44 @@ declare var __VLS_1: {
|
|
|
252
223
|
};
|
|
253
224
|
readonly phases: readonly {
|
|
254
225
|
readonly name: string;
|
|
255
|
-
readonly
|
|
256
|
-
readonly mode?: import('@raphy-js/raph').RaphPhaseMode | undefined;
|
|
257
|
-
readonly routes?: readonly (string | {
|
|
258
|
-
toPlain: () => import('@raphy-js/raph').PlainDataPath;
|
|
259
|
-
toStringPath: () => string;
|
|
260
|
-
toString: () => string;
|
|
261
|
-
segments: () => readonly import('@raphy-js/raph').PathSegment[];
|
|
262
|
-
_asExact: () => import('@raphy-js/raph/debug/path/data-path').ParsedDataPath;
|
|
263
|
-
_asMask: () => import('@raphy-js/raph/debug/path/data-path').ParsedPathMask;
|
|
264
|
-
} | {
|
|
265
|
-
readonly deepOnTail?: boolean | undefined;
|
|
266
|
-
readonly segs: readonly unknown[];
|
|
267
|
-
})[] | undefined;
|
|
268
|
-
readonly nodes?: ((node: import('@raphy-js/raph').RaphNode<any>) => boolean) | undefined;
|
|
269
|
-
readonly each?: ((context: import('@raphy-js/raph').PhaseExecutorContext) => void) | undefined;
|
|
270
|
-
readonly all?: ((contexts: readonly import('@raphy-js/raph').PhaseExecutorContext[]) => void) | undefined;
|
|
226
|
+
readonly process?: ((batch: import('@raphy-js/raph').RaphPhaseBatch) => void) | undefined;
|
|
271
227
|
}[];
|
|
228
|
+
readonly meta: {
|
|
229
|
+
delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
230
|
+
get: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
231
|
+
has: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
232
|
+
set: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
233
|
+
merge: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
234
|
+
};
|
|
272
235
|
getDerivedSnapshot: () => ReturnType<import('@raphy-js/raph').RaphKernel["getDerivedSnapshot"]>;
|
|
273
236
|
readonly debug: {
|
|
237
|
+
readonly machines: {
|
|
238
|
+
list: () => readonly import('@raphy-js/raph').RaphMachineDebugSummary[];
|
|
239
|
+
snapshot: (id: string) => import('@raphy-js/raph').RaphMachineDebugSnapshot | undefined;
|
|
240
|
+
};
|
|
241
|
+
readonly trace: {
|
|
242
|
+
clear: () => void;
|
|
243
|
+
read: (options?: import('@raphy-js/raph').RaphTraceReadOptions) => readonly import('@raphy-js/raph').RaphTraceEvent[];
|
|
244
|
+
start: (options?: import('@raphy-js/raph').RaphTraceOptions) => void;
|
|
245
|
+
status: () => import('@raphy-js/raph').RaphTraceStatus;
|
|
246
|
+
stop: () => void;
|
|
247
|
+
};
|
|
248
|
+
getTree: () => import('@raphy-js/raph').RaphDebugTreeNode;
|
|
274
249
|
snapshot: () => import('@raphy-js/raph').RaphDebugSnapshot;
|
|
275
|
-
|
|
250
|
+
stats: () => import('@raphy-js/raph').RaphDebugStats;
|
|
276
251
|
};
|
|
277
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;
|
|
278
254
|
computed: {
|
|
279
255
|
<T>(getter: () => T, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
280
256
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Signal<T>;
|
|
281
257
|
};
|
|
282
|
-
effect:
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
<S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: (value: import('@raphy-js/raph').WatchValue<S>, previous: import('@raphy-js/raph').WatchValue<S> | undefined) => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').WatchOptions, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Disposer;
|
|
289
|
-
};
|
|
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
|
+
metaSource: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options?: import('@raphy-js/raph').RaphMetaSourceOptions) => import('@raphy-js/raph').RaphMetaSource;
|
|
290
264
|
path: <T>(path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => import('@raphy-js/raph').PathHandle<T>;
|
|
291
265
|
get: {
|
|
292
266
|
<T = import('@raphy-js/raph').DataObject>(): T | undefined;
|
|
@@ -300,92 +274,72 @@ declare var __VLS_1: {
|
|
|
300
274
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
301
275
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
302
276
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
277
|
+
batch: <T>(operation: () => T) => T;
|
|
278
|
+
_batchReactive: <T>(operation: () => T) => T;
|
|
279
|
+
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;
|
|
282
|
+
};
|
|
306
283
|
untracked: <T>(operation: () => T) => T;
|
|
307
284
|
scope: (id: string) => import('@raphy-js/raph').RaphScope;
|
|
308
|
-
node: <TApi>(options: import('@raphy-js/raph').NodeOptions, setup
|
|
285
|
+
node: <TApi = void>(options: import('@raphy-js/raph').NodeOptions, setup?: (node: import('@raphy-js/raph').RaphNode) => TApi) => import('@raphy-js/raph').RaphNode<TApi>;
|
|
309
286
|
getNode: (id: string) => import('@raphy-js/raph').RaphNode | undefined;
|
|
310
287
|
definePhases: (phases: readonly import('@raphy-js/raph').RaphPhase[]) => void;
|
|
311
288
|
addPhase: (phase: import('@raphy-js/raph').RaphPhase) => void;
|
|
312
289
|
clearPhases: () => void;
|
|
313
|
-
|
|
314
|
-
track: (node: import('@raphy-js/raph').RaphNode, masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options?: import('@raphy-js/raph').RaphTrackOptions) => import('@raphy-js/raph').Disposer;
|
|
315
|
-
invalidateNode: (node: import('@raphy-js/raph').RaphNode, phase: string) => void;
|
|
290
|
+
requestExecution: () => void;
|
|
316
291
|
flush: () => void;
|
|
292
|
+
afterFlush: () => Promise<void>;
|
|
317
293
|
acquireLoop: (owner: string) => import('@raphy-js/raph').FrameLoopLease;
|
|
318
294
|
startLoop: () => void;
|
|
319
295
|
stopLoop: () => void;
|
|
320
296
|
derive: <TSource, TTarget>(options: import('@raphy-js/raph').DerivedOptions<TSource, TTarget>) => import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>;
|
|
321
297
|
dispose: () => void;
|
|
322
298
|
_onDisposed: (listener: () => void) => import('@raphy-js/raph').Disposer;
|
|
299
|
+
_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;
|
|
300
|
+
_notifyNodeTouch: (node: import('@raphy-js/raph').RaphNode, metadata?: unknown) => void;
|
|
301
|
+
_assertNodeReparentAllowed: (node: import('@raphy-js/raph').RaphNode, newParent: import('@raphy-js/raph').RaphNode) => void;
|
|
302
|
+
_releaseNode: (node: import('@raphy-js/raph').RaphNode) => void;
|
|
303
|
+
_runNodeMutation: <T>(operation: () => T) => T;
|
|
304
|
+
_runPhaseTransition: <T>(operation: () => T) => T;
|
|
305
|
+
_beginOwnerDisposal: () => void;
|
|
306
|
+
_endOwnerDisposal: () => void;
|
|
307
|
+
_ownerDisposalActive: () => boolean;
|
|
323
308
|
_registerOwner: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
324
309
|
_unregisterOwner: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
325
310
|
_assertOwnerRuntime: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
326
|
-
|
|
327
|
-
|
|
311
|
+
_beginKernelBatch: () => void;
|
|
312
|
+
_endKernelBatch: () => void;
|
|
313
|
+
_registerMachineDebug: (registration: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphMachineDebugRegistration) => import('@raphy-js/raph').Disposer;
|
|
314
|
+
_hasMachineDebug: (id: string) => boolean;
|
|
315
|
+
_traces: (kind: import('@raphy-js/raph').RaphTraceKind) => boolean;
|
|
316
|
+
_currentTraceCauseId: () => number | undefined;
|
|
317
|
+
_nextTraceOperation: (kind: import('@raphy-js/raph').RaphTraceKind) => number | undefined;
|
|
318
|
+
_hasActiveReactiveContext: () => boolean;
|
|
319
|
+
_recordTrace: (event: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphTraceEventInput) => void;
|
|
320
|
+
_runWithTraceCause: <T>(causeId: number | undefined, operation: () => T) => T;
|
|
321
|
+
_assertSourceReadable: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
328
322
|
};
|
|
323
|
+
readonly disposed: boolean;
|
|
324
|
+
readonly active: boolean;
|
|
329
325
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
330
326
|
computed: {
|
|
331
327
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
332
328
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
333
329
|
};
|
|
334
|
-
effect:
|
|
335
|
-
|
|
336
|
-
|
|
330
|
+
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
331
|
+
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;
|
|
332
|
+
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
333
|
+
action: {
|
|
334
|
+
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
335
|
+
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
337
336
|
};
|
|
338
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: (value: import('@raphy-js/raph').WatchValue<S>, previous: import('@raphy-js/raph').WatchValue<S> | undefined) => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
339
|
-
action: <Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result) => (...args: Args) => Result;
|
|
340
|
-
_assertAlive: () => void;
|
|
341
|
-
readonly reactivity: {
|
|
342
|
-
readonly _effectImmediate: import('@raphy-js/raph/debug/reactivity/types').EffectFactory;
|
|
343
|
-
signal: <T>(initialValue: T) => import('@raphy-js/raph').Signal<T>;
|
|
344
|
-
computed: {
|
|
345
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
346
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
347
|
-
};
|
|
348
|
-
effect: (fn: import('@raphy-js/raph/signals').EffectCallback, onStop?: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
349
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: import('@raphy-js/raph/signals').WatchCallback<S>, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
350
|
-
batch: <T>(fn: () => T) => T;
|
|
351
|
-
untracked: <T>(fn: () => T) => T;
|
|
352
|
-
scope: () => import('@raphy-js/raph/signals').ScopeNode;
|
|
353
|
-
_signalAccess: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').SignalAccess<T>;
|
|
354
|
-
_computedAccess: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').ComputedAccessHandle<T>;
|
|
355
|
-
_ownedSignal: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').Signal<T>>;
|
|
356
|
-
_ownedComputed: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').ReadonlySignal<T>>;
|
|
357
|
-
_startBatch: () => void;
|
|
358
|
-
_endBatch: () => void;
|
|
359
|
-
_isTracking: () => boolean;
|
|
360
|
-
_isFlushingEffects: () => boolean;
|
|
361
|
-
};
|
|
362
|
-
scopeFirstChild: {
|
|
363
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
364
|
-
scopeParent?: {
|
|
365
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
366
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
367
|
-
} | undefined;
|
|
368
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
369
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
370
|
-
} | undefined;
|
|
371
|
-
scopeLastChild: {
|
|
372
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
373
|
-
scopeParent?: {
|
|
374
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
375
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
376
|
-
} | undefined;
|
|
377
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
378
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
379
|
-
} | undefined;
|
|
380
|
-
readonly disposed: boolean;
|
|
381
|
-
readonly active: boolean;
|
|
382
337
|
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
338
|
+
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
339
|
+
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
383
340
|
_debugResourceCount: () => number;
|
|
384
341
|
_debugSourceCount: () => number;
|
|
385
|
-
|
|
386
|
-
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
387
|
-
_adoptSource: <T>(owned: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
388
|
-
_ownSource: (finalizer: import('@raphy-js/raph/debug/reactivity/types').SourceFinalizer) => void;
|
|
342
|
+
_assertAlive: () => void;
|
|
389
343
|
} | null;
|
|
390
344
|
readonly basePath: string;
|
|
391
345
|
statePath: (path?: string) => string;
|
|
@@ -956,19 +910,32 @@ declare var __VLS_1: {
|
|
|
956
910
|
readonly api: Readonly<unknown>;
|
|
957
911
|
meta: Record<string, unknown>;
|
|
958
912
|
type: string;
|
|
913
|
+
readonly _subtreeSourceIdentity: Readonly<{}>;
|
|
914
|
+
readonly node: /*elided*/ any;
|
|
959
915
|
readonly parent: /*elided*/ any | null;
|
|
960
916
|
readonly children: readonly /*elided*/ any[];
|
|
961
917
|
addChild: (node: import('@raphy-js/raph').RaphNode) => boolean;
|
|
918
|
+
reorderChildren: (nodes: readonly import('@raphy-js/raph').RaphNode[]) => void;
|
|
962
919
|
options: (options: Pick<import('@raphy-js/raph').NodeOptions, "meta" | "priority" | "type">) => void;
|
|
963
|
-
|
|
920
|
+
touch: (metadata?: unknown) => void;
|
|
964
921
|
remove: () => void;
|
|
965
922
|
dispose: () => void;
|
|
966
|
-
observeData: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options: import('@raphy-js/raph').RaphObserveDataOptions) => import('@raphy-js/raph').Disposer;
|
|
967
|
-
track: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options?: import('@raphy-js/raph').RaphTrackOptions) => import('@raphy-js/raph').Disposer;
|
|
968
923
|
_setApi: (api: unknown) => void;
|
|
924
|
+
_publishCreation: () => void;
|
|
925
|
+
_isPublished: () => boolean;
|
|
969
926
|
readonly id: string;
|
|
970
927
|
readonly runtime: {
|
|
928
|
+
readonly mode: "runtime";
|
|
971
929
|
readonly configuration: {
|
|
930
|
+
readonly adaptiveDependencyIndex: boolean;
|
|
931
|
+
readonly debug?: {
|
|
932
|
+
readonly trace?: false | {
|
|
933
|
+
readonly capacity?: number | undefined;
|
|
934
|
+
readonly context?: import('@raphy-js/raph').RaphTraceContextMode | undefined;
|
|
935
|
+
readonly guards?: import('@raphy-js/raph').RaphTraceGuardMode | undefined;
|
|
936
|
+
readonly include?: readonly import('@raphy-js/raph').RaphTraceKind[] | undefined;
|
|
937
|
+
} | undefined;
|
|
938
|
+
} | undefined;
|
|
972
939
|
readonly id: string;
|
|
973
940
|
readonly kernel: {
|
|
974
941
|
readonly id: string;
|
|
@@ -999,7 +966,7 @@ declare var __VLS_1: {
|
|
|
999
966
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1000
967
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1001
968
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1002
|
-
|
|
969
|
+
batch: <T>(operation: () => T) => T;
|
|
1003
970
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
1004
971
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
1005
972
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -1020,70 +987,36 @@ declare var __VLS_1: {
|
|
|
1020
987
|
readonly rootScope: {
|
|
1021
988
|
readonly id: string;
|
|
1022
989
|
readonly runtime: /*elided*/ any;
|
|
990
|
+
readonly disposed: boolean;
|
|
991
|
+
readonly active: boolean;
|
|
992
|
+
readonly node: /*elided*/ any | undefined;
|
|
1023
993
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
1024
994
|
computed: {
|
|
1025
995
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1026
996
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
1027
997
|
};
|
|
1028
|
-
effect:
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
_assertAlive: () => void;
|
|
1035
|
-
readonly reactivity: {
|
|
1036
|
-
readonly _effectImmediate: import('@raphy-js/raph/debug/reactivity/types').EffectFactory;
|
|
1037
|
-
signal: <T>(initialValue: T) => import('@raphy-js/raph').Signal<T>;
|
|
1038
|
-
computed: {
|
|
1039
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1040
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
1041
|
-
};
|
|
1042
|
-
effect: (fn: import('@raphy-js/raph/signals').EffectCallback, onStop?: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1043
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: import('@raphy-js/raph/signals').WatchCallback<S>, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
1044
|
-
batch: <T>(fn: () => T) => T;
|
|
1045
|
-
untracked: <T>(fn: () => T) => T;
|
|
1046
|
-
scope: () => import('@raphy-js/raph/signals').ScopeNode;
|
|
1047
|
-
_signalAccess: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').SignalAccess<T>;
|
|
1048
|
-
_computedAccess: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').ComputedAccessHandle<T>;
|
|
1049
|
-
_ownedSignal: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').Signal<T>>;
|
|
1050
|
-
_ownedComputed: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').ReadonlySignal<T>>;
|
|
1051
|
-
_startBatch: () => void;
|
|
1052
|
-
_endBatch: () => void;
|
|
1053
|
-
_isTracking: () => boolean;
|
|
1054
|
-
_isFlushingEffects: () => boolean;
|
|
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;
|
|
1055
1004
|
};
|
|
1056
|
-
scopeFirstChild: {
|
|
1057
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
1058
|
-
scopeParent?: {
|
|
1059
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1060
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
1061
|
-
} | undefined;
|
|
1062
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
1063
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
1064
|
-
} | undefined;
|
|
1065
|
-
scopeLastChild: {
|
|
1066
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
1067
|
-
scopeParent?: {
|
|
1068
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1069
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
1070
|
-
} | undefined;
|
|
1071
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
1072
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
1073
|
-
} | undefined;
|
|
1074
|
-
readonly disposed: boolean;
|
|
1075
|
-
readonly active: boolean;
|
|
1076
1005
|
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1077
|
-
_debugResourceCount: () => number;
|
|
1078
|
-
_debugSourceCount: () => number;
|
|
1079
1006
|
dispose: () => void;
|
|
1080
|
-
_own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1081
1007
|
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1082
|
-
_adoptSource: <T>(
|
|
1083
|
-
|
|
1008
|
+
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
1009
|
+
_debugResourceCount: () => number;
|
|
1010
|
+
_debugSourceCount: () => number;
|
|
1011
|
+
_assertAlive: () => void;
|
|
1084
1012
|
};
|
|
1085
1013
|
readonly root: /*elided*/ any;
|
|
1086
|
-
|
|
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;
|
|
1087
1020
|
readonly id: string;
|
|
1088
1021
|
readonly kernel: {
|
|
1089
1022
|
readonly id: string;
|
|
@@ -1114,7 +1047,7 @@ declare var __VLS_1: {
|
|
|
1114
1047
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1115
1048
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1116
1049
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1117
|
-
|
|
1050
|
+
batch: <T>(operation: () => T) => T;
|
|
1118
1051
|
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').PathWatchCallback) => () => void;
|
|
1119
1052
|
getMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
1120
1053
|
hasMeta: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
@@ -1129,14 +1062,6 @@ declare var __VLS_1: {
|
|
|
1129
1062
|
_recomputeDerived: <TSource, TTarget>(handle: import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>) => void;
|
|
1130
1063
|
_removeDerived: (handle: import('@raphy-js/raph').RaphDerivedHandle<any, any>) => void;
|
|
1131
1064
|
};
|
|
1132
|
-
readonly meta: {
|
|
1133
|
-
get: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
1134
|
-
has: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
1135
|
-
set: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
1136
|
-
merge: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
1137
|
-
delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
1138
|
-
watch: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], callback: import('@raphy-js/raph').RaphMetaWatchCallback, options?: import('@raphy-js/raph').RaphMetaWatchOptions) => () => void;
|
|
1139
|
-
};
|
|
1140
1065
|
readonly disposed: boolean;
|
|
1141
1066
|
readonly graph: {
|
|
1142
1067
|
parentsOf: (node: import('@raphy-js/raph').RaphNode<unknown>) => ReadonlySet<import('@raphy-js/raph').RaphNode<unknown>>;
|
|
@@ -1150,41 +1075,44 @@ declare var __VLS_1: {
|
|
|
1150
1075
|
};
|
|
1151
1076
|
readonly phases: readonly {
|
|
1152
1077
|
readonly name: string;
|
|
1153
|
-
readonly
|
|
1154
|
-
readonly mode?: import('@raphy-js/raph').RaphPhaseMode | undefined;
|
|
1155
|
-
readonly routes?: readonly (string | {
|
|
1156
|
-
toPlain: () => import('@raphy-js/raph').PlainDataPath;
|
|
1157
|
-
toStringPath: () => string;
|
|
1158
|
-
toString: () => string;
|
|
1159
|
-
segments: () => readonly import('@raphy-js/raph').PathSegment[];
|
|
1160
|
-
_asExact: () => import('@raphy-js/raph/debug/path/data-path').ParsedDataPath;
|
|
1161
|
-
_asMask: () => import('@raphy-js/raph/debug/path/data-path').ParsedPathMask;
|
|
1162
|
-
} | {
|
|
1163
|
-
readonly deepOnTail?: boolean | undefined;
|
|
1164
|
-
readonly segs: readonly unknown[];
|
|
1165
|
-
})[] | undefined;
|
|
1166
|
-
readonly nodes?: ((node: import('@raphy-js/raph').RaphNode<any>) => boolean) | undefined;
|
|
1167
|
-
readonly each?: ((context: import('@raphy-js/raph').PhaseExecutorContext) => void) | undefined;
|
|
1168
|
-
readonly all?: ((contexts: readonly import('@raphy-js/raph').PhaseExecutorContext[]) => void) | undefined;
|
|
1078
|
+
readonly process?: ((batch: import('@raphy-js/raph').RaphPhaseBatch) => void) | undefined;
|
|
1169
1079
|
}[];
|
|
1080
|
+
readonly meta: {
|
|
1081
|
+
delete: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
1082
|
+
get: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => unknown;
|
|
1083
|
+
has: (path: import('@raphy-js/raph').DataPathDef, namespace?: string, options?: import('@raphy-js/raph').RaphMetaReadOptions) => boolean;
|
|
1084
|
+
set: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
1085
|
+
merge: (path: import('@raphy-js/raph').DataPathDef, namespace: string, value: unknown, options?: import('@raphy-js/raph').RaphMetaWriteOptions) => void;
|
|
1086
|
+
};
|
|
1170
1087
|
getDerivedSnapshot: () => ReturnType<import('@raphy-js/raph').RaphKernel["getDerivedSnapshot"]>;
|
|
1171
1088
|
readonly debug: {
|
|
1089
|
+
readonly machines: {
|
|
1090
|
+
list: () => readonly import('@raphy-js/raph').RaphMachineDebugSummary[];
|
|
1091
|
+
snapshot: (id: string) => import('@raphy-js/raph').RaphMachineDebugSnapshot | undefined;
|
|
1092
|
+
};
|
|
1093
|
+
readonly trace: {
|
|
1094
|
+
clear: () => void;
|
|
1095
|
+
read: (options?: import('@raphy-js/raph').RaphTraceReadOptions) => readonly import('@raphy-js/raph').RaphTraceEvent[];
|
|
1096
|
+
start: (options?: import('@raphy-js/raph').RaphTraceOptions) => void;
|
|
1097
|
+
status: () => import('@raphy-js/raph').RaphTraceStatus;
|
|
1098
|
+
stop: () => void;
|
|
1099
|
+
};
|
|
1100
|
+
getTree: () => import('@raphy-js/raph').RaphDebugTreeNode;
|
|
1172
1101
|
snapshot: () => import('@raphy-js/raph').RaphDebugSnapshot;
|
|
1173
|
-
|
|
1102
|
+
stats: () => import('@raphy-js/raph').RaphDebugStats;
|
|
1174
1103
|
};
|
|
1175
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;
|
|
1176
1106
|
computed: {
|
|
1177
1107
|
<T>(getter: () => T, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1178
1108
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Signal<T>;
|
|
1179
1109
|
};
|
|
1180
|
-
effect:
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1186
|
-
<S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: (value: import('@raphy-js/raph').WatchValue<S>, previous: import('@raphy-js/raph').WatchValue<S> | undefined) => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').WatchOptions, owner?: import('@raphy-js/raph').RaphScope): import('@raphy-js/raph').Disposer;
|
|
1187
|
-
};
|
|
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
|
+
metaSource: (masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options?: import('@raphy-js/raph').RaphMetaSourceOptions) => import('@raphy-js/raph').RaphMetaSource;
|
|
1188
1116
|
path: <T>(path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => import('@raphy-js/raph').PathHandle<T>;
|
|
1189
1117
|
get: {
|
|
1190
1118
|
<T = import('@raphy-js/raph').DataObject>(): T | undefined;
|
|
@@ -1198,92 +1126,72 @@ declare var __VLS_1: {
|
|
|
1198
1126
|
set: <T>(path: import('@raphy-js/raph').DataPathDef, value: T, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1199
1127
|
merge: (path: import('@raphy-js/raph').DataPathDef, value: unknown, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1200
1128
|
delete: (path: import('@raphy-js/raph').DataPathDef, options?: import('@raphy-js/raph').PathOptions) => void;
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1129
|
+
batch: <T>(operation: () => T) => T;
|
|
1130
|
+
_batchReactive: <T>(operation: () => T) => T;
|
|
1131
|
+
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;
|
|
1134
|
+
};
|
|
1204
1135
|
untracked: <T>(operation: () => T) => T;
|
|
1205
1136
|
scope: (id: string) => import('@raphy-js/raph').RaphScope;
|
|
1206
|
-
node: <TApi>(options: import('@raphy-js/raph').NodeOptions, setup
|
|
1137
|
+
node: <TApi = void>(options: import('@raphy-js/raph').NodeOptions, setup?: (node: import('@raphy-js/raph').RaphNode) => TApi) => import('@raphy-js/raph').RaphNode<TApi>;
|
|
1207
1138
|
getNode: (id: string) => import('@raphy-js/raph').RaphNode | undefined;
|
|
1208
1139
|
definePhases: (phases: readonly import('@raphy-js/raph').RaphPhase[]) => void;
|
|
1209
1140
|
addPhase: (phase: import('@raphy-js/raph').RaphPhase) => void;
|
|
1210
1141
|
clearPhases: () => void;
|
|
1211
|
-
|
|
1212
|
-
track: (node: import('@raphy-js/raph').RaphNode, masks: import('@raphy-js/raph').DataPathDef | readonly import('@raphy-js/raph').DataPathDef[], options?: import('@raphy-js/raph').RaphTrackOptions) => import('@raphy-js/raph').Disposer;
|
|
1213
|
-
invalidateNode: (node: import('@raphy-js/raph').RaphNode, phase: string) => void;
|
|
1142
|
+
requestExecution: () => void;
|
|
1214
1143
|
flush: () => void;
|
|
1144
|
+
afterFlush: () => Promise<void>;
|
|
1215
1145
|
acquireLoop: (owner: string) => import('@raphy-js/raph').FrameLoopLease;
|
|
1216
1146
|
startLoop: () => void;
|
|
1217
1147
|
stopLoop: () => void;
|
|
1218
1148
|
derive: <TSource, TTarget>(options: import('@raphy-js/raph').DerivedOptions<TSource, TTarget>) => import('@raphy-js/raph').RaphDerivedHandle<TSource, TTarget>;
|
|
1219
1149
|
dispose: () => void;
|
|
1220
1150
|
_onDisposed: (listener: () => void) => import('@raphy-js/raph').Disposer;
|
|
1151
|
+
_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;
|
|
1152
|
+
_notifyNodeTouch: (node: import('@raphy-js/raph').RaphNode, metadata?: unknown) => void;
|
|
1153
|
+
_assertNodeReparentAllowed: (node: import('@raphy-js/raph').RaphNode, newParent: import('@raphy-js/raph').RaphNode) => void;
|
|
1154
|
+
_releaseNode: (node: import('@raphy-js/raph').RaphNode) => void;
|
|
1155
|
+
_runNodeMutation: <T>(operation: () => T) => T;
|
|
1156
|
+
_runPhaseTransition: <T>(operation: () => T) => T;
|
|
1157
|
+
_beginOwnerDisposal: () => void;
|
|
1158
|
+
_endOwnerDisposal: () => void;
|
|
1159
|
+
_ownerDisposalActive: () => boolean;
|
|
1221
1160
|
_registerOwner: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
1222
1161
|
_unregisterOwner: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
1223
1162
|
_assertOwnerRuntime: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
1224
|
-
|
|
1225
|
-
|
|
1163
|
+
_beginKernelBatch: () => void;
|
|
1164
|
+
_endKernelBatch: () => void;
|
|
1165
|
+
_registerMachineDebug: (registration: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphMachineDebugRegistration) => import('@raphy-js/raph').Disposer;
|
|
1166
|
+
_hasMachineDebug: (id: string) => boolean;
|
|
1167
|
+
_traces: (kind: import('@raphy-js/raph').RaphTraceKind) => boolean;
|
|
1168
|
+
_currentTraceCauseId: () => number | undefined;
|
|
1169
|
+
_nextTraceOperation: (kind: import('@raphy-js/raph').RaphTraceKind) => number | undefined;
|
|
1170
|
+
_hasActiveReactiveContext: () => boolean;
|
|
1171
|
+
_recordTrace: (event: import('@raphy-js/raph/debug/runtime/diagnostics/RaphDebug').RaphTraceEventInput) => void;
|
|
1172
|
+
_runWithTraceCause: <T>(causeId: number | undefined, operation: () => T) => T;
|
|
1173
|
+
_assertSourceReadable: (owner: import('@raphy-js/raph').RaphScope) => void;
|
|
1226
1174
|
};
|
|
1175
|
+
readonly disposed: boolean;
|
|
1176
|
+
readonly active: boolean;
|
|
1227
1177
|
signal: <T>(value: T) => import('@raphy-js/raph').Signal<T>;
|
|
1228
1178
|
computed: {
|
|
1229
1179
|
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1230
1180
|
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
1231
1181
|
};
|
|
1232
|
-
effect:
|
|
1233
|
-
|
|
1234
|
-
|
|
1182
|
+
effect: (phase: string, callback: import('@raphy-js/raph').RaphPhaseEffect, options?: import('@raphy-js/raph').RaphEffectOptions) => import('@raphy-js/raph').Disposer;
|
|
1183
|
+
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;
|
|
1184
|
+
aggregate: (sources: readonly import('@raphy-js/raph').RaphAggregateSource[]) => import('@raphy-js/raph').RaphAggregate;
|
|
1185
|
+
action: {
|
|
1186
|
+
<Args extends unknown[], Result>(operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1187
|
+
<Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result): (...args: Args) => Result;
|
|
1235
1188
|
};
|
|
1236
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: (value: import('@raphy-js/raph').WatchValue<S>, previous: import('@raphy-js/raph').WatchValue<S> | undefined) => void | import('@raphy-js/raph').Disposer, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
1237
|
-
action: <Args extends unknown[], Result>(name: string, operation: (...args: Args) => Result) => (...args: Args) => Result;
|
|
1238
|
-
_assertAlive: () => void;
|
|
1239
|
-
readonly reactivity: {
|
|
1240
|
-
readonly _effectImmediate: import('@raphy-js/raph/debug/reactivity/types').EffectFactory;
|
|
1241
|
-
signal: <T>(initialValue: T) => import('@raphy-js/raph').Signal<T>;
|
|
1242
|
-
computed: {
|
|
1243
|
-
<T>(getter: () => T): import('@raphy-js/raph').ReadonlySignal<T>;
|
|
1244
|
-
<T>(options: import('@raphy-js/raph').WritableComputedOptions<T>): import('@raphy-js/raph').Signal<T>;
|
|
1245
|
-
};
|
|
1246
|
-
effect: (fn: import('@raphy-js/raph/signals').EffectCallback, onStop?: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1247
|
-
watch: <S extends import('@raphy-js/raph').WatchSource | readonly import('@raphy-js/raph').WatchSource[]>(source: S, callback: import('@raphy-js/raph/signals').WatchCallback<S>, options?: import('@raphy-js/raph').WatchOptions) => import('@raphy-js/raph').Disposer;
|
|
1248
|
-
batch: <T>(fn: () => T) => T;
|
|
1249
|
-
untracked: <T>(fn: () => T) => T;
|
|
1250
|
-
scope: () => import('@raphy-js/raph/signals').ScopeNode;
|
|
1251
|
-
_signalAccess: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').SignalAccess<T>;
|
|
1252
|
-
_computedAccess: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').ComputedAccessHandle<T>;
|
|
1253
|
-
_ownedSignal: <T>(initialValue: T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').Signal<T>>;
|
|
1254
|
-
_ownedComputed: <T>(fn: () => T) => import('@raphy-js/raph/debug/reactivity/types').OwnedSource<import('@raphy-js/raph').ReadonlySignal<T>>;
|
|
1255
|
-
_startBatch: () => void;
|
|
1256
|
-
_endBatch: () => void;
|
|
1257
|
-
_isTracking: () => boolean;
|
|
1258
|
-
_isFlushingEffects: () => boolean;
|
|
1259
|
-
};
|
|
1260
|
-
scopeFirstChild: {
|
|
1261
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
1262
|
-
scopeParent?: {
|
|
1263
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1264
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
1265
|
-
} | undefined;
|
|
1266
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
1267
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
1268
|
-
} | undefined;
|
|
1269
|
-
scopeLastChild: {
|
|
1270
|
-
dispose: import('@raphy-js/raph').Disposer;
|
|
1271
|
-
scopeParent?: {
|
|
1272
|
-
scopeFirstChild?: /*elided*/ any | undefined;
|
|
1273
|
-
scopeLastChild?: /*elided*/ any | undefined;
|
|
1274
|
-
} | undefined;
|
|
1275
|
-
scopePrevious?: /*elided*/ any | undefined;
|
|
1276
|
-
scopeNext?: /*elided*/ any | undefined;
|
|
1277
|
-
} | undefined;
|
|
1278
|
-
readonly disposed: boolean;
|
|
1279
|
-
readonly active: boolean;
|
|
1280
1189
|
own: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1190
|
+
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1191
|
+
_adoptSource: <T>(source: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
1281
1192
|
_debugResourceCount: () => number;
|
|
1282
1193
|
_debugSourceCount: () => number;
|
|
1283
|
-
|
|
1284
|
-
_adoptResource: (disposer: import('@raphy-js/raph').Disposer) => import('@raphy-js/raph').Disposer;
|
|
1285
|
-
_adoptSource: <T>(owned: import('@raphy-js/raph/debug/reactivity/types').OwnedSource<T>) => T;
|
|
1286
|
-
_ownSource: (finalizer: import('@raphy-js/raph/debug/reactivity/types').SourceFinalizer) => void;
|
|
1194
|
+
_assertAlive: () => void;
|
|
1287
1195
|
} | null;
|
|
1288
1196
|
readonly basePath: string;
|
|
1289
1197
|
statePath: (path?: string) => string;
|