@bemedev/mind-flow 0.3.1 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +55 -12
- package/lib/helpers/clamp.d.ts +2 -0
- package/lib/helpers/clamp.d.ts.map +1 -0
- package/lib/helpers/createContext.d.ts +1 -1
- package/lib/helpers/createContext.d.ts.map +1 -1
- package/lib/helpers/index.d.ts +3 -0
- package/lib/helpers/index.d.ts.map +1 -0
- package/lib/index.cjs.js +1 -1
- package/lib/index.d.ts +9 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +2543 -448
- package/lib/output.css +1 -1
- package/lib/server.cjs.js +1129 -397
- package/lib/server.es.js +1095 -407
- package/lib/services/main.machine.d.ts +2453 -576
- package/lib/services/main.machine.d.ts.map +1 -1
- package/lib/services/main.machine.data.d.ts +14 -1
- package/lib/services/main.machine.data.d.ts.map +1 -1
- package/lib/services/main.machine.helpers.d.ts +1 -1
- package/lib/services/main.machine.helpers.d.ts.map +1 -1
- package/lib/services/main.machine.test.d.ts +2 -0
- package/lib/services/main.machine.test.d.ts.map +1 -0
- package/lib/services/main.machine.typings.d.ts +26 -8
- package/lib/services/main.machine.typings.d.ts.map +1 -1
- package/lib/ui/Flow.d.ts +8 -4
- package/lib/ui/Flow.d.ts.map +1 -1
- package/lib/ui/components/Bounds.d.ts.map +1 -1
- package/lib/ui/components/EdgeComponent.d.ts.map +1 -1
- package/lib/ui/components/EdgesBoard.d.ts.map +1 -1
- package/lib/ui/components/EditPanel.d.ts +19 -0
- package/lib/ui/components/EditPanel.d.ts.map +1 -0
- package/lib/ui/components/EditPanel.hooks.d.ts +29 -0
- package/lib/ui/components/EditPanel.hooks.d.ts.map +1 -0
- package/lib/ui/components/EditPanel.types.d.ts +47 -0
- package/lib/ui/components/EditPanel.types.d.ts.map +1 -0
- package/lib/ui/components/FlowChart.context.d.ts +2452 -575
- package/lib/ui/components/FlowChart.context.d.ts.map +1 -1
- package/lib/ui/components/FlowChart.d.ts +8 -47
- package/lib/ui/components/FlowChart.d.ts.map +1 -1
- package/lib/ui/components/FlowChart.types.d.ts +87 -0
- package/lib/ui/components/FlowChart.types.d.ts.map +1 -0
- package/lib/ui/components/NodeComponent.d.ts +10 -12
- package/lib/ui/components/NodeComponent.d.ts.map +1 -1
- package/lib/ui/components/NodesBoard.d.ts +17 -2
- package/lib/ui/components/NodesBoard.d.ts.map +1 -1
- package/lib/ui/components/Panels.d.ts +12 -0
- package/lib/ui/components/Panels.d.ts.map +1 -0
- package/lib/ui/globals/components/atoms/TypingText.d.ts +29 -0
- package/lib/ui/globals/components/atoms/TypingText.d.ts.map +1 -0
- package/lib/ui/globals/components/molecules/FadingDots.d.ts +21 -0
- package/lib/ui/globals/components/molecules/FadingDots.d.ts.map +1 -0
- package/lib/ui/globals/components/organisms/LoadingFallback.d.ts +46 -0
- package/lib/ui/globals/components/organisms/LoadingFallback.d.ts.map +1 -0
- package/lib/ui/globals/constants/index.d.ts +3 -0
- package/lib/ui/globals/constants/index.d.ts.map +1 -0
- package/lib/ui/globals/constants/links.d.ts +4 -0
- package/lib/ui/globals/constants/links.d.ts.map +1 -0
- package/lib/ui/globals/constants/strings.d.ts +5 -0
- package/lib/ui/globals/constants/strings.d.ts.map +1 -0
- package/lib/ui/globals/directives/clickOutside.d.ts +9 -0
- package/lib/ui/globals/directives/clickOutside.d.ts.map +1 -0
- package/lib/ui/globals/directives/index.d.ts +16 -0
- package/lib/ui/globals/directives/index.d.ts.map +1 -0
- package/lib/ui/globals/directives/mouseOut.d.ts +33 -0
- package/lib/ui/globals/directives/mouseOut.d.ts.map +1 -0
- package/lib/ui/globals/directives/mouseOut.test.d.ts +2 -0
- package/lib/ui/globals/directives/mouseOut.test.d.ts.map +1 -0
- package/lib/ui/globals/directives/resize.d.ts +11 -0
- package/lib/ui/globals/directives/resize.d.ts.map +1 -0
- package/lib/ui/globals/helpers/espace.d.ts +17 -0
- package/lib/ui/globals/helpers/espace.d.ts.map +1 -0
- package/lib/ui/globals/signals/createTyping.d.ts +27 -0
- package/lib/ui/globals/signals/createTyping.d.ts.map +1 -0
- package/lib/ui/globals/types.d.ts +54 -0
- package/lib/ui/globals/types.d.ts.map +1 -0
- package/lib/ui/utils.d.ts +11 -0
- package/lib/ui/utils.d.ts.map +1 -0
- package/package.json +2 -3
- package/src/helpers/clamp.ts +3 -0
- package/src/helpers/createContext.ts +20 -4
- package/src/helpers/index.ts +2 -0
- package/src/index.ts +9 -1
- package/src/services/main.machine.data.ts +13 -2
- package/src/services/main.machine.helpers.ts +12 -4
- package/src/services/main.machine.test.ts +205 -0
- package/src/services/main.machine.ts +253 -75
- package/src/services/main.machine.typings.ts +31 -6
- package/src/ui/Flow.tsx +47 -8
- package/src/ui/components/Bounds.tsx +0 -2
- package/src/ui/components/EdgeComponent.tsx +60 -46
- package/src/ui/components/EdgesBoard.tsx +1 -2
- package/src/ui/components/EditPanel.hooks.ts +69 -0
- package/src/ui/components/EditPanel.tsx +89 -0
- package/src/ui/components/EditPanel.types.ts +49 -0
- package/src/ui/components/FlowChart.context.ts +22 -141
- package/src/ui/components/FlowChart.tsx +27 -64
- package/src/ui/components/FlowChart.types.ts +92 -0
- package/src/ui/components/NodeComponent.tsx +88 -65
- package/src/ui/components/NodesBoard.tsx +61 -56
- package/src/ui/components/Panels.tsx +40 -0
- package/src/ui/globals/components/atoms/TypingText.tsx +63 -0
- package/src/ui/globals/components/molecules/FadingDots.tsx +45 -0
- package/src/ui/globals/components/organisms/LoadingFallback.tsx +116 -0
- package/src/ui/globals/constants/index.ts +2 -0
- package/src/ui/globals/constants/links.ts +15 -0
- package/src/ui/globals/constants/strings.ts +5 -0
- package/src/ui/globals/directives/clickOutside.ts +18 -0
- package/src/ui/globals/directives/index.ts +16 -0
- package/src/ui/globals/directives/mouseOut.test.ts +115 -0
- package/src/ui/globals/directives/mouseOut.ts +98 -0
- package/src/ui/globals/directives/resize.ts +33 -0
- package/src/ui/globals/helpers/espace.ts +26 -0
- package/src/ui/globals/signals/createTyping.ts +82 -0
- package/src/ui/globals/types.ts +83 -0
- package/src/ui/utils.ts +14 -0
|
@@ -6,7 +6,7 @@ export type DragDropState = Exclude<ReturnType<typeof useDragDropContext>, null>
|
|
|
6
6
|
* State machine managing flowchart state transitions, nodes, edges, selection, and
|
|
7
7
|
* layout actions.
|
|
8
8
|
*
|
|
9
|
-
* @see {@linkcode calculateDimensions}, {@linkcode buildEdgeId}, {@linkcode buildNodeID}, {@linkcode getDefaultOutputOffset}, {@linkcode DEFAULT_INPUT_OFFSET}
|
|
9
|
+
* @see {@linkcode calculateDimensions}, {@linkcode buildEdgeId}, {@linkcode buildNodeID}, {@linkcode getDefaultOutputOffset}, {@linkcode DEFAULT_INPUT_OFFSET}, {@linkcode DEFAULT_SIZE}, {@linkcode DEFAULT_DATA}
|
|
10
10
|
*/
|
|
11
11
|
export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
12
12
|
readonly initial: "idle";
|
|
@@ -20,7 +20,7 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
20
20
|
readonly on: {
|
|
21
21
|
readonly CONFIGURE: {
|
|
22
22
|
readonly actions: readonly ["configure"];
|
|
23
|
-
readonly target: "/
|
|
23
|
+
readonly target: "/construction";
|
|
24
24
|
};
|
|
25
25
|
readonly CONFIGURE_EMPTY: "/working";
|
|
26
26
|
};
|
|
@@ -33,6 +33,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
33
33
|
};
|
|
34
34
|
readonly working: {
|
|
35
35
|
readonly on: {
|
|
36
|
+
readonly CONFIGURE: {
|
|
37
|
+
readonly actions: readonly ["configure"];
|
|
38
|
+
readonly target: "/construction";
|
|
39
|
+
};
|
|
36
40
|
readonly MOVE_IMMEDIATE: {
|
|
37
41
|
readonly actions: readonly [{
|
|
38
42
|
readonly name: "buildUI";
|
|
@@ -53,9 +57,6 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
53
57
|
}, "selectParent"];
|
|
54
58
|
readonly target: "/construction";
|
|
55
59
|
};
|
|
56
|
-
readonly ADD_DIMENSION: {
|
|
57
|
-
readonly actions: readonly ["addDimension"];
|
|
58
|
-
};
|
|
59
60
|
readonly ADD_SIBLING: {
|
|
60
61
|
readonly actions: readonly ["generateID", {
|
|
61
62
|
readonly name: "placeSibling";
|
|
@@ -63,6 +64,9 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
63
64
|
}, "linkSibling"];
|
|
64
65
|
readonly target: "/construction";
|
|
65
66
|
};
|
|
67
|
+
readonly RESIZE: {
|
|
68
|
+
readonly actions: readonly ["resize", "buildUI"];
|
|
69
|
+
};
|
|
66
70
|
readonly MOVE: {
|
|
67
71
|
readonly actions: readonly ["moveNode", "buildUI"];
|
|
68
72
|
readonly target: "/construction";
|
|
@@ -99,6 +103,15 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
99
103
|
readonly SET_BOARD: {
|
|
100
104
|
readonly actions: readonly ["setBoard"];
|
|
101
105
|
};
|
|
106
|
+
readonly SET_NODE_DATA: {
|
|
107
|
+
readonly actions: readonly ["setNodeData"];
|
|
108
|
+
};
|
|
109
|
+
readonly EDIT: {
|
|
110
|
+
readonly actions: readonly ["edit"];
|
|
111
|
+
};
|
|
112
|
+
readonly STOP_EDIT: {
|
|
113
|
+
readonly actions: readonly ["stopEdit"];
|
|
114
|
+
};
|
|
102
115
|
};
|
|
103
116
|
};
|
|
104
117
|
};
|
|
@@ -192,6 +205,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
192
205
|
} | undefined;
|
|
193
206
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
194
207
|
previousZoom?: number | undefined;
|
|
208
|
+
defaultData?: {
|
|
209
|
+
[x: string]: string | number | boolean;
|
|
210
|
+
[x: number]: string | number | boolean;
|
|
211
|
+
[x: symbol]: string | number | boolean;
|
|
212
|
+
} | undefined;
|
|
195
213
|
}, {
|
|
196
214
|
edgesPositions: {
|
|
197
215
|
[x: string]: {
|
|
@@ -226,10 +244,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
226
244
|
y: number;
|
|
227
245
|
};
|
|
228
246
|
data: {
|
|
229
|
-
|
|
230
|
-
|
|
247
|
+
[x: string]: string | number | boolean;
|
|
248
|
+
[x: number]: string | number | boolean;
|
|
249
|
+
[x: symbol]: string | number | boolean;
|
|
231
250
|
};
|
|
232
|
-
input: boolean;
|
|
233
251
|
}[];
|
|
234
252
|
edges: {
|
|
235
253
|
id: string;
|
|
@@ -259,6 +277,7 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
259
277
|
y1: number;
|
|
260
278
|
} | undefined;
|
|
261
279
|
selected?: string | undefined;
|
|
280
|
+
editing?: string | undefined;
|
|
262
281
|
updatingUI?: boolean | undefined;
|
|
263
282
|
}, {
|
|
264
283
|
CONFIGURE: {
|
|
@@ -268,10 +287,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
268
287
|
y: number;
|
|
269
288
|
};
|
|
270
289
|
data: {
|
|
271
|
-
|
|
272
|
-
|
|
290
|
+
[x: string]: string | number | boolean;
|
|
291
|
+
[x: number]: string | number | boolean;
|
|
292
|
+
[x: symbol]: string | number | boolean;
|
|
273
293
|
};
|
|
274
|
-
input: boolean;
|
|
275
294
|
id: string;
|
|
276
295
|
}[];
|
|
277
296
|
edges: {
|
|
@@ -279,6 +298,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
279
298
|
to: string;
|
|
280
299
|
id: string;
|
|
281
300
|
}[];
|
|
301
|
+
defaultData?: {
|
|
302
|
+
[x: string]: string | number | boolean;
|
|
303
|
+
[x: number]: string | number | boolean;
|
|
304
|
+
[x: symbol]: string | number | boolean;
|
|
305
|
+
} | undefined;
|
|
282
306
|
};
|
|
283
307
|
SET_BOARD: {
|
|
284
308
|
self: {
|
|
@@ -311,6 +335,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
311
335
|
DELETE: string;
|
|
312
336
|
SELECT: string;
|
|
313
337
|
DESELECT: never;
|
|
338
|
+
EDIT: string;
|
|
339
|
+
STOP_EDIT: never;
|
|
314
340
|
ADD_EDGE: {
|
|
315
341
|
from: string;
|
|
316
342
|
to: string;
|
|
@@ -323,27 +349,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
323
349
|
CLEAR_NEW_EDGE: never;
|
|
324
350
|
ZOOM: number;
|
|
325
351
|
TOGGLE_ZOOM: never;
|
|
326
|
-
|
|
352
|
+
RESIZE: {
|
|
327
353
|
id: string;
|
|
328
|
-
|
|
354
|
+
size: {
|
|
329
355
|
width: number;
|
|
330
356
|
height: number;
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
inputOffset?: {
|
|
340
|
-
x: number;
|
|
341
|
-
y: number;
|
|
342
|
-
} | undefined;
|
|
343
|
-
outputOffset?: {
|
|
344
|
-
x: number;
|
|
345
|
-
y: number;
|
|
346
|
-
} | undefined;
|
|
357
|
+
};
|
|
358
|
+
};
|
|
359
|
+
SET_NODE_DATA: {
|
|
360
|
+
id: string;
|
|
361
|
+
data: {
|
|
362
|
+
[x: string]: string | number | boolean;
|
|
363
|
+
[x: number]: string | number | boolean;
|
|
364
|
+
[x: symbol]: string | number | boolean;
|
|
347
365
|
};
|
|
348
366
|
};
|
|
349
367
|
}, import('@bemedev/app').ActorsConfigMap, string, import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
@@ -354,10 +372,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
354
372
|
y: number;
|
|
355
373
|
};
|
|
356
374
|
data: {
|
|
357
|
-
|
|
358
|
-
|
|
375
|
+
[x: string]: string | number | boolean;
|
|
376
|
+
[x: number]: string | number | boolean;
|
|
377
|
+
[x: symbol]: string | number | boolean;
|
|
359
378
|
};
|
|
360
|
-
input: boolean;
|
|
361
379
|
id: string;
|
|
362
380
|
}[];
|
|
363
381
|
edges: {
|
|
@@ -365,6 +383,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
365
383
|
to: string;
|
|
366
384
|
id: string;
|
|
367
385
|
}[];
|
|
386
|
+
defaultData?: {
|
|
387
|
+
[x: string]: string | number | boolean;
|
|
388
|
+
[x: number]: string | number | boolean;
|
|
389
|
+
[x: symbol]: string | number | boolean;
|
|
390
|
+
} | undefined;
|
|
368
391
|
};
|
|
369
392
|
SET_BOARD: {
|
|
370
393
|
self: {
|
|
@@ -397,6 +420,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
397
420
|
DELETE: string;
|
|
398
421
|
SELECT: string;
|
|
399
422
|
DESELECT: never;
|
|
423
|
+
EDIT: string;
|
|
424
|
+
STOP_EDIT: never;
|
|
400
425
|
ADD_EDGE: {
|
|
401
426
|
from: string;
|
|
402
427
|
to: string;
|
|
@@ -409,27 +434,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
409
434
|
CLEAR_NEW_EDGE: never;
|
|
410
435
|
ZOOM: number;
|
|
411
436
|
TOGGLE_ZOOM: never;
|
|
412
|
-
|
|
437
|
+
RESIZE: {
|
|
413
438
|
id: string;
|
|
414
|
-
|
|
439
|
+
size: {
|
|
415
440
|
width: number;
|
|
416
441
|
height: number;
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
inputOffset?: {
|
|
426
|
-
x: number;
|
|
427
|
-
y: number;
|
|
428
|
-
} | undefined;
|
|
429
|
-
outputOffset?: {
|
|
430
|
-
x: number;
|
|
431
|
-
y: number;
|
|
432
|
-
} | undefined;
|
|
442
|
+
};
|
|
443
|
+
};
|
|
444
|
+
SET_NODE_DATA: {
|
|
445
|
+
id: string;
|
|
446
|
+
data: {
|
|
447
|
+
[x: string]: string | number | boolean;
|
|
448
|
+
[x: number]: string | number | boolean;
|
|
449
|
+
[x: symbol]: string | number | boolean;
|
|
433
450
|
};
|
|
434
451
|
};
|
|
435
452
|
}, import('@bemedev/app').ActorsConfigMap>>, string, Partial<{
|
|
@@ -441,10 +458,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
441
458
|
y: number;
|
|
442
459
|
};
|
|
443
460
|
data: {
|
|
444
|
-
|
|
445
|
-
|
|
461
|
+
[x: string]: string | number | boolean;
|
|
462
|
+
[x: number]: string | number | boolean;
|
|
463
|
+
[x: symbol]: string | number | boolean;
|
|
446
464
|
};
|
|
447
|
-
input: boolean;
|
|
448
465
|
id: string;
|
|
449
466
|
}[];
|
|
450
467
|
edges: {
|
|
@@ -452,6 +469,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
452
469
|
to: string;
|
|
453
470
|
id: string;
|
|
454
471
|
}[];
|
|
472
|
+
defaultData?: {
|
|
473
|
+
[x: string]: string | number | boolean;
|
|
474
|
+
[x: number]: string | number | boolean;
|
|
475
|
+
[x: symbol]: string | number | boolean;
|
|
476
|
+
} | undefined;
|
|
455
477
|
};
|
|
456
478
|
SET_BOARD: {
|
|
457
479
|
self: {
|
|
@@ -484,6 +506,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
484
506
|
DELETE: string;
|
|
485
507
|
SELECT: string;
|
|
486
508
|
DESELECT: never;
|
|
509
|
+
EDIT: string;
|
|
510
|
+
STOP_EDIT: never;
|
|
487
511
|
ADD_EDGE: {
|
|
488
512
|
from: string;
|
|
489
513
|
to: string;
|
|
@@ -496,27 +520,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
496
520
|
CLEAR_NEW_EDGE: never;
|
|
497
521
|
ZOOM: number;
|
|
498
522
|
TOGGLE_ZOOM: never;
|
|
499
|
-
|
|
523
|
+
RESIZE: {
|
|
500
524
|
id: string;
|
|
501
|
-
|
|
525
|
+
size: {
|
|
502
526
|
width: number;
|
|
503
527
|
height: number;
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
inputOffset?: {
|
|
513
|
-
x: number;
|
|
514
|
-
y: number;
|
|
515
|
-
} | undefined;
|
|
516
|
-
outputOffset?: {
|
|
517
|
-
x: number;
|
|
518
|
-
y: number;
|
|
519
|
-
} | undefined;
|
|
528
|
+
};
|
|
529
|
+
};
|
|
530
|
+
SET_NODE_DATA: {
|
|
531
|
+
id: string;
|
|
532
|
+
data: {
|
|
533
|
+
[x: string]: string | number | boolean;
|
|
534
|
+
[x: number]: string | number | boolean;
|
|
535
|
+
[x: symbol]: string | number | boolean;
|
|
520
536
|
};
|
|
521
537
|
};
|
|
522
538
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -609,6 +625,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
609
625
|
} | undefined;
|
|
610
626
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
611
627
|
previousZoom?: number | undefined;
|
|
628
|
+
defaultData?: {
|
|
629
|
+
[x: string]: string | number | boolean;
|
|
630
|
+
[x: number]: string | number | boolean;
|
|
631
|
+
[x: symbol]: string | number | boolean;
|
|
632
|
+
} | undefined;
|
|
612
633
|
}, {
|
|
613
634
|
edgesPositions: {
|
|
614
635
|
[x: string]: {
|
|
@@ -643,10 +664,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
643
664
|
y: number;
|
|
644
665
|
};
|
|
645
666
|
data: {
|
|
646
|
-
|
|
647
|
-
|
|
667
|
+
[x: string]: string | number | boolean;
|
|
668
|
+
[x: number]: string | number | boolean;
|
|
669
|
+
[x: symbol]: string | number | boolean;
|
|
648
670
|
};
|
|
649
|
-
input: boolean;
|
|
650
671
|
}[];
|
|
651
672
|
edges: {
|
|
652
673
|
id: string;
|
|
@@ -676,6 +697,7 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
676
697
|
y1: number;
|
|
677
698
|
} | undefined;
|
|
678
699
|
selected?: string | undefined;
|
|
700
|
+
editing?: string | undefined;
|
|
679
701
|
updatingUI?: boolean | undefined;
|
|
680
702
|
}, string>>>;
|
|
681
703
|
guards: Partial<Record<string, import('@bemedev/app').SyncPredicateS<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
@@ -686,10 +708,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
686
708
|
y: number;
|
|
687
709
|
};
|
|
688
710
|
data: {
|
|
689
|
-
|
|
690
|
-
|
|
711
|
+
[x: string]: string | number | boolean;
|
|
712
|
+
[x: number]: string | number | boolean;
|
|
713
|
+
[x: symbol]: string | number | boolean;
|
|
691
714
|
};
|
|
692
|
-
input: boolean;
|
|
693
715
|
id: string;
|
|
694
716
|
}[];
|
|
695
717
|
edges: {
|
|
@@ -697,6 +719,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
697
719
|
to: string;
|
|
698
720
|
id: string;
|
|
699
721
|
}[];
|
|
722
|
+
defaultData?: {
|
|
723
|
+
[x: string]: string | number | boolean;
|
|
724
|
+
[x: number]: string | number | boolean;
|
|
725
|
+
[x: symbol]: string | number | boolean;
|
|
726
|
+
} | undefined;
|
|
700
727
|
};
|
|
701
728
|
SET_BOARD: {
|
|
702
729
|
self: {
|
|
@@ -729,6 +756,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
729
756
|
DELETE: string;
|
|
730
757
|
SELECT: string;
|
|
731
758
|
DESELECT: never;
|
|
759
|
+
EDIT: string;
|
|
760
|
+
STOP_EDIT: never;
|
|
732
761
|
ADD_EDGE: {
|
|
733
762
|
from: string;
|
|
734
763
|
to: string;
|
|
@@ -741,27 +770,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
741
770
|
CLEAR_NEW_EDGE: never;
|
|
742
771
|
ZOOM: number;
|
|
743
772
|
TOGGLE_ZOOM: never;
|
|
744
|
-
|
|
773
|
+
RESIZE: {
|
|
745
774
|
id: string;
|
|
746
|
-
|
|
775
|
+
size: {
|
|
747
776
|
width: number;
|
|
748
777
|
height: number;
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
inputOffset?: {
|
|
758
|
-
x: number;
|
|
759
|
-
y: number;
|
|
760
|
-
} | undefined;
|
|
761
|
-
outputOffset?: {
|
|
762
|
-
x: number;
|
|
763
|
-
y: number;
|
|
764
|
-
} | undefined;
|
|
778
|
+
};
|
|
779
|
+
};
|
|
780
|
+
SET_NODE_DATA: {
|
|
781
|
+
id: string;
|
|
782
|
+
data: {
|
|
783
|
+
[x: string]: string | number | boolean;
|
|
784
|
+
[x: number]: string | number | boolean;
|
|
785
|
+
[x: symbol]: string | number | boolean;
|
|
765
786
|
};
|
|
766
787
|
};
|
|
767
788
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -854,6 +875,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
854
875
|
} | undefined;
|
|
855
876
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
856
877
|
previousZoom?: number | undefined;
|
|
878
|
+
defaultData?: {
|
|
879
|
+
[x: string]: string | number | boolean;
|
|
880
|
+
[x: number]: string | number | boolean;
|
|
881
|
+
[x: symbol]: string | number | boolean;
|
|
882
|
+
} | undefined;
|
|
857
883
|
}, {
|
|
858
884
|
edgesPositions: {
|
|
859
885
|
[x: string]: {
|
|
@@ -888,10 +914,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
888
914
|
y: number;
|
|
889
915
|
};
|
|
890
916
|
data: {
|
|
891
|
-
|
|
892
|
-
|
|
917
|
+
[x: string]: string | number | boolean;
|
|
918
|
+
[x: number]: string | number | boolean;
|
|
919
|
+
[x: symbol]: string | number | boolean;
|
|
893
920
|
};
|
|
894
|
-
input: boolean;
|
|
895
921
|
}[];
|
|
896
922
|
edges: {
|
|
897
923
|
id: string;
|
|
@@ -921,6 +947,7 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
921
947
|
y1: number;
|
|
922
948
|
} | undefined;
|
|
923
949
|
selected?: string | undefined;
|
|
950
|
+
editing?: string | undefined;
|
|
924
951
|
updatingUI?: boolean | undefined;
|
|
925
952
|
}, string>>>;
|
|
926
953
|
delays: Partial<Record<string, import('@bemedev/app').SyncDelayFunction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
@@ -931,10 +958,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
931
958
|
y: number;
|
|
932
959
|
};
|
|
933
960
|
data: {
|
|
934
|
-
|
|
935
|
-
|
|
961
|
+
[x: string]: string | number | boolean;
|
|
962
|
+
[x: number]: string | number | boolean;
|
|
963
|
+
[x: symbol]: string | number | boolean;
|
|
936
964
|
};
|
|
937
|
-
input: boolean;
|
|
938
965
|
id: string;
|
|
939
966
|
}[];
|
|
940
967
|
edges: {
|
|
@@ -942,6 +969,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
942
969
|
to: string;
|
|
943
970
|
id: string;
|
|
944
971
|
}[];
|
|
972
|
+
defaultData?: {
|
|
973
|
+
[x: string]: string | number | boolean;
|
|
974
|
+
[x: number]: string | number | boolean;
|
|
975
|
+
[x: symbol]: string | number | boolean;
|
|
976
|
+
} | undefined;
|
|
945
977
|
};
|
|
946
978
|
SET_BOARD: {
|
|
947
979
|
self: {
|
|
@@ -974,6 +1006,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
974
1006
|
DELETE: string;
|
|
975
1007
|
SELECT: string;
|
|
976
1008
|
DESELECT: never;
|
|
1009
|
+
EDIT: string;
|
|
1010
|
+
STOP_EDIT: never;
|
|
977
1011
|
ADD_EDGE: {
|
|
978
1012
|
from: string;
|
|
979
1013
|
to: string;
|
|
@@ -986,27 +1020,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
986
1020
|
CLEAR_NEW_EDGE: never;
|
|
987
1021
|
ZOOM: number;
|
|
988
1022
|
TOGGLE_ZOOM: never;
|
|
989
|
-
|
|
1023
|
+
RESIZE: {
|
|
990
1024
|
id: string;
|
|
991
|
-
|
|
1025
|
+
size: {
|
|
992
1026
|
width: number;
|
|
993
1027
|
height: number;
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
inputOffset?: {
|
|
1003
|
-
x: number;
|
|
1004
|
-
y: number;
|
|
1005
|
-
} | undefined;
|
|
1006
|
-
outputOffset?: {
|
|
1007
|
-
x: number;
|
|
1008
|
-
y: number;
|
|
1009
|
-
} | undefined;
|
|
1028
|
+
};
|
|
1029
|
+
};
|
|
1030
|
+
SET_NODE_DATA: {
|
|
1031
|
+
id: string;
|
|
1032
|
+
data: {
|
|
1033
|
+
[x: string]: string | number | boolean;
|
|
1034
|
+
[x: number]: string | number | boolean;
|
|
1035
|
+
[x: symbol]: string | number | boolean;
|
|
1010
1036
|
};
|
|
1011
1037
|
};
|
|
1012
1038
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -1099,6 +1125,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1099
1125
|
} | undefined;
|
|
1100
1126
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
1101
1127
|
previousZoom?: number | undefined;
|
|
1128
|
+
defaultData?: {
|
|
1129
|
+
[x: string]: string | number | boolean;
|
|
1130
|
+
[x: number]: string | number | boolean;
|
|
1131
|
+
[x: symbol]: string | number | boolean;
|
|
1132
|
+
} | undefined;
|
|
1102
1133
|
}, {
|
|
1103
1134
|
edgesPositions: {
|
|
1104
1135
|
[x: string]: {
|
|
@@ -1133,10 +1164,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1133
1164
|
y: number;
|
|
1134
1165
|
};
|
|
1135
1166
|
data: {
|
|
1136
|
-
|
|
1137
|
-
|
|
1167
|
+
[x: string]: string | number | boolean;
|
|
1168
|
+
[x: number]: string | number | boolean;
|
|
1169
|
+
[x: symbol]: string | number | boolean;
|
|
1138
1170
|
};
|
|
1139
|
-
input: boolean;
|
|
1140
1171
|
}[];
|
|
1141
1172
|
edges: {
|
|
1142
1173
|
id: string;
|
|
@@ -1166,6 +1197,7 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1166
1197
|
y1: number;
|
|
1167
1198
|
} | undefined;
|
|
1168
1199
|
selected?: string | undefined;
|
|
1200
|
+
editing?: string | undefined;
|
|
1169
1201
|
updatingUI?: boolean | undefined;
|
|
1170
1202
|
}, string>>>;
|
|
1171
1203
|
actors: Partial<{
|
|
@@ -1177,10 +1209,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1177
1209
|
y: number;
|
|
1178
1210
|
};
|
|
1179
1211
|
data: {
|
|
1180
|
-
|
|
1181
|
-
|
|
1212
|
+
[x: string]: string | number | boolean;
|
|
1213
|
+
[x: number]: string | number | boolean;
|
|
1214
|
+
[x: symbol]: string | number | boolean;
|
|
1182
1215
|
};
|
|
1183
|
-
input: boolean;
|
|
1184
1216
|
id: string;
|
|
1185
1217
|
}[];
|
|
1186
1218
|
edges: {
|
|
@@ -1188,6 +1220,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1188
1220
|
to: string;
|
|
1189
1221
|
id: string;
|
|
1190
1222
|
}[];
|
|
1223
|
+
defaultData?: {
|
|
1224
|
+
[x: string]: string | number | boolean;
|
|
1225
|
+
[x: number]: string | number | boolean;
|
|
1226
|
+
[x: symbol]: string | number | boolean;
|
|
1227
|
+
} | undefined;
|
|
1191
1228
|
};
|
|
1192
1229
|
SET_BOARD: {
|
|
1193
1230
|
self: {
|
|
@@ -1220,6 +1257,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1220
1257
|
DELETE: string;
|
|
1221
1258
|
SELECT: string;
|
|
1222
1259
|
DESELECT: never;
|
|
1260
|
+
EDIT: string;
|
|
1261
|
+
STOP_EDIT: never;
|
|
1223
1262
|
ADD_EDGE: {
|
|
1224
1263
|
from: string;
|
|
1225
1264
|
to: string;
|
|
@@ -1232,27 +1271,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1232
1271
|
CLEAR_NEW_EDGE: never;
|
|
1233
1272
|
ZOOM: number;
|
|
1234
1273
|
TOGGLE_ZOOM: never;
|
|
1235
|
-
|
|
1274
|
+
RESIZE: {
|
|
1236
1275
|
id: string;
|
|
1237
|
-
|
|
1276
|
+
size: {
|
|
1238
1277
|
width: number;
|
|
1239
1278
|
height: number;
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
inputOffset?: {
|
|
1249
|
-
x: number;
|
|
1250
|
-
y: number;
|
|
1251
|
-
} | undefined;
|
|
1252
|
-
outputOffset?: {
|
|
1253
|
-
x: number;
|
|
1254
|
-
y: number;
|
|
1255
|
-
} | undefined;
|
|
1279
|
+
};
|
|
1280
|
+
};
|
|
1281
|
+
SET_NODE_DATA: {
|
|
1282
|
+
id: string;
|
|
1283
|
+
data: {
|
|
1284
|
+
[x: string]: string | number | boolean;
|
|
1285
|
+
[x: number]: string | number | boolean;
|
|
1286
|
+
[x: symbol]: string | number | boolean;
|
|
1256
1287
|
};
|
|
1257
1288
|
};
|
|
1258
1289
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -1345,6 +1376,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1345
1376
|
} | undefined;
|
|
1346
1377
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
1347
1378
|
previousZoom?: number | undefined;
|
|
1379
|
+
defaultData?: {
|
|
1380
|
+
[x: string]: string | number | boolean;
|
|
1381
|
+
[x: number]: string | number | boolean;
|
|
1382
|
+
[x: symbol]: string | number | boolean;
|
|
1383
|
+
} | undefined;
|
|
1348
1384
|
}, {
|
|
1349
1385
|
edgesPositions: {
|
|
1350
1386
|
[x: string]: {
|
|
@@ -1379,10 +1415,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1379
1415
|
y: number;
|
|
1380
1416
|
};
|
|
1381
1417
|
data: {
|
|
1382
|
-
|
|
1383
|
-
|
|
1418
|
+
[x: string]: string | number | boolean;
|
|
1419
|
+
[x: number]: string | number | boolean;
|
|
1420
|
+
[x: symbol]: string | number | boolean;
|
|
1384
1421
|
};
|
|
1385
|
-
input: boolean;
|
|
1386
1422
|
}[];
|
|
1387
1423
|
edges: {
|
|
1388
1424
|
id: string;
|
|
@@ -1412,6 +1448,7 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1412
1448
|
y1: number;
|
|
1413
1449
|
} | undefined;
|
|
1414
1450
|
selected?: string | undefined;
|
|
1451
|
+
editing?: string | undefined;
|
|
1415
1452
|
updatingUI?: boolean | undefined;
|
|
1416
1453
|
}, string, any>>>;
|
|
1417
1454
|
emitters: Partial<Record<string, import('@bemedev/app').SyncEmitterFunction<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
@@ -1422,10 +1459,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1422
1459
|
y: number;
|
|
1423
1460
|
};
|
|
1424
1461
|
data: {
|
|
1425
|
-
|
|
1426
|
-
|
|
1462
|
+
[x: string]: string | number | boolean;
|
|
1463
|
+
[x: number]: string | number | boolean;
|
|
1464
|
+
[x: symbol]: string | number | boolean;
|
|
1427
1465
|
};
|
|
1428
|
-
input: boolean;
|
|
1429
1466
|
id: string;
|
|
1430
1467
|
}[];
|
|
1431
1468
|
edges: {
|
|
@@ -1433,6 +1470,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1433
1470
|
to: string;
|
|
1434
1471
|
id: string;
|
|
1435
1472
|
}[];
|
|
1473
|
+
defaultData?: {
|
|
1474
|
+
[x: string]: string | number | boolean;
|
|
1475
|
+
[x: number]: string | number | boolean;
|
|
1476
|
+
[x: symbol]: string | number | boolean;
|
|
1477
|
+
} | undefined;
|
|
1436
1478
|
};
|
|
1437
1479
|
SET_BOARD: {
|
|
1438
1480
|
self: {
|
|
@@ -1465,6 +1507,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1465
1507
|
DELETE: string;
|
|
1466
1508
|
SELECT: string;
|
|
1467
1509
|
DESELECT: never;
|
|
1510
|
+
EDIT: string;
|
|
1511
|
+
STOP_EDIT: never;
|
|
1468
1512
|
ADD_EDGE: {
|
|
1469
1513
|
from: string;
|
|
1470
1514
|
to: string;
|
|
@@ -1477,27 +1521,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1477
1521
|
CLEAR_NEW_EDGE: never;
|
|
1478
1522
|
ZOOM: number;
|
|
1479
1523
|
TOGGLE_ZOOM: never;
|
|
1480
|
-
|
|
1524
|
+
RESIZE: {
|
|
1481
1525
|
id: string;
|
|
1482
|
-
|
|
1526
|
+
size: {
|
|
1483
1527
|
width: number;
|
|
1484
1528
|
height: number;
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
inputOffset?: {
|
|
1494
|
-
x: number;
|
|
1495
|
-
y: number;
|
|
1496
|
-
} | undefined;
|
|
1497
|
-
outputOffset?: {
|
|
1498
|
-
x: number;
|
|
1499
|
-
y: number;
|
|
1500
|
-
} | undefined;
|
|
1529
|
+
};
|
|
1530
|
+
};
|
|
1531
|
+
SET_NODE_DATA: {
|
|
1532
|
+
id: string;
|
|
1533
|
+
data: {
|
|
1534
|
+
[x: string]: string | number | boolean;
|
|
1535
|
+
[x: number]: string | number | boolean;
|
|
1536
|
+
[x: symbol]: string | number | boolean;
|
|
1501
1537
|
};
|
|
1502
1538
|
};
|
|
1503
1539
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -1590,6 +1626,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1590
1626
|
} | undefined;
|
|
1591
1627
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
1592
1628
|
previousZoom?: number | undefined;
|
|
1629
|
+
defaultData?: {
|
|
1630
|
+
[x: string]: string | number | boolean;
|
|
1631
|
+
[x: number]: string | number | boolean;
|
|
1632
|
+
[x: symbol]: string | number | boolean;
|
|
1633
|
+
} | undefined;
|
|
1593
1634
|
}, {
|
|
1594
1635
|
edgesPositions: {
|
|
1595
1636
|
[x: string]: {
|
|
@@ -1624,10 +1665,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1624
1665
|
y: number;
|
|
1625
1666
|
};
|
|
1626
1667
|
data: {
|
|
1627
|
-
|
|
1628
|
-
|
|
1668
|
+
[x: string]: string | number | boolean;
|
|
1669
|
+
[x: number]: string | number | boolean;
|
|
1670
|
+
[x: symbol]: string | number | boolean;
|
|
1629
1671
|
};
|
|
1630
|
-
input: boolean;
|
|
1631
1672
|
}[];
|
|
1632
1673
|
edges: {
|
|
1633
1674
|
id: string;
|
|
@@ -1657,6 +1698,7 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1657
1698
|
y1: number;
|
|
1658
1699
|
} | undefined;
|
|
1659
1700
|
selected?: string | undefined;
|
|
1701
|
+
editing?: string | undefined;
|
|
1660
1702
|
updatingUI?: boolean | undefined;
|
|
1661
1703
|
}, string, any>>>;
|
|
1662
1704
|
}>;
|
|
@@ -1673,10 +1715,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1673
1715
|
y: number;
|
|
1674
1716
|
};
|
|
1675
1717
|
data: {
|
|
1676
|
-
|
|
1677
|
-
|
|
1718
|
+
[x: string]: string | number | boolean;
|
|
1719
|
+
[x: number]: string | number | boolean;
|
|
1720
|
+
[x: symbol]: string | number | boolean;
|
|
1678
1721
|
};
|
|
1679
|
-
input: boolean;
|
|
1680
1722
|
id: string;
|
|
1681
1723
|
}[];
|
|
1682
1724
|
edges: {
|
|
@@ -1684,6 +1726,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1684
1726
|
to: string;
|
|
1685
1727
|
id: string;
|
|
1686
1728
|
}[];
|
|
1729
|
+
defaultData?: {
|
|
1730
|
+
[x: string]: string | number | boolean;
|
|
1731
|
+
[x: number]: string | number | boolean;
|
|
1732
|
+
[x: symbol]: string | number | boolean;
|
|
1733
|
+
} | undefined;
|
|
1687
1734
|
};
|
|
1688
1735
|
SET_BOARD: {
|
|
1689
1736
|
self: {
|
|
@@ -1716,6 +1763,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1716
1763
|
DELETE: string;
|
|
1717
1764
|
SELECT: string;
|
|
1718
1765
|
DESELECT: never;
|
|
1766
|
+
EDIT: string;
|
|
1767
|
+
STOP_EDIT: never;
|
|
1719
1768
|
ADD_EDGE: {
|
|
1720
1769
|
from: string;
|
|
1721
1770
|
to: string;
|
|
@@ -1728,27 +1777,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1728
1777
|
CLEAR_NEW_EDGE: never;
|
|
1729
1778
|
ZOOM: number;
|
|
1730
1779
|
TOGGLE_ZOOM: never;
|
|
1731
|
-
|
|
1780
|
+
RESIZE: {
|
|
1732
1781
|
id: string;
|
|
1733
|
-
|
|
1782
|
+
size: {
|
|
1734
1783
|
width: number;
|
|
1735
1784
|
height: number;
|
|
1736
|
-
|
|
1737
|
-
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
inputOffset?: {
|
|
1745
|
-
x: number;
|
|
1746
|
-
y: number;
|
|
1747
|
-
} | undefined;
|
|
1748
|
-
outputOffset?: {
|
|
1749
|
-
x: number;
|
|
1750
|
-
y: number;
|
|
1751
|
-
} | undefined;
|
|
1785
|
+
};
|
|
1786
|
+
};
|
|
1787
|
+
SET_NODE_DATA: {
|
|
1788
|
+
id: string;
|
|
1789
|
+
data: {
|
|
1790
|
+
[x: string]: string | number | boolean;
|
|
1791
|
+
[x: number]: string | number | boolean;
|
|
1792
|
+
[x: symbol]: string | number | boolean;
|
|
1752
1793
|
};
|
|
1753
1794
|
};
|
|
1754
1795
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -1841,6 +1882,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1841
1882
|
} | undefined;
|
|
1842
1883
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
1843
1884
|
previousZoom?: number | undefined;
|
|
1885
|
+
defaultData?: {
|
|
1886
|
+
[x: string]: string | number | boolean;
|
|
1887
|
+
[x: number]: string | number | boolean;
|
|
1888
|
+
[x: symbol]: string | number | boolean;
|
|
1889
|
+
} | undefined;
|
|
1844
1890
|
}, {
|
|
1845
1891
|
edgesPositions: {
|
|
1846
1892
|
[x: string]: {
|
|
@@ -1875,10 +1921,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1875
1921
|
y: number;
|
|
1876
1922
|
};
|
|
1877
1923
|
data: {
|
|
1878
|
-
|
|
1879
|
-
|
|
1924
|
+
[x: string]: string | number | boolean;
|
|
1925
|
+
[x: number]: string | number | boolean;
|
|
1926
|
+
[x: symbol]: string | number | boolean;
|
|
1880
1927
|
};
|
|
1881
|
-
input: boolean;
|
|
1882
1928
|
}[];
|
|
1883
1929
|
edges: {
|
|
1884
1930
|
id: string;
|
|
@@ -1908,9 +1954,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1908
1954
|
y1: number;
|
|
1909
1955
|
} | undefined;
|
|
1910
1956
|
selected?: string | undefined;
|
|
1957
|
+
editing?: string | undefined;
|
|
1911
1958
|
updatingUI?: boolean | undefined;
|
|
1912
1959
|
}, string>;
|
|
1913
|
-
readonly
|
|
1960
|
+
readonly setNodeData: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
1914
1961
|
CONFIGURE: {
|
|
1915
1962
|
nodes: {
|
|
1916
1963
|
position: {
|
|
@@ -1918,10 +1965,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1918
1965
|
y: number;
|
|
1919
1966
|
};
|
|
1920
1967
|
data: {
|
|
1921
|
-
|
|
1922
|
-
|
|
1968
|
+
[x: string]: string | number | boolean;
|
|
1969
|
+
[x: number]: string | number | boolean;
|
|
1970
|
+
[x: symbol]: string | number | boolean;
|
|
1923
1971
|
};
|
|
1924
|
-
input: boolean;
|
|
1925
1972
|
id: string;
|
|
1926
1973
|
}[];
|
|
1927
1974
|
edges: {
|
|
@@ -1929,6 +1976,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1929
1976
|
to: string;
|
|
1930
1977
|
id: string;
|
|
1931
1978
|
}[];
|
|
1979
|
+
defaultData?: {
|
|
1980
|
+
[x: string]: string | number | boolean;
|
|
1981
|
+
[x: number]: string | number | boolean;
|
|
1982
|
+
[x: symbol]: string | number | boolean;
|
|
1983
|
+
} | undefined;
|
|
1932
1984
|
};
|
|
1933
1985
|
SET_BOARD: {
|
|
1934
1986
|
self: {
|
|
@@ -1961,6 +2013,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1961
2013
|
DELETE: string;
|
|
1962
2014
|
SELECT: string;
|
|
1963
2015
|
DESELECT: never;
|
|
2016
|
+
EDIT: string;
|
|
2017
|
+
STOP_EDIT: never;
|
|
1964
2018
|
ADD_EDGE: {
|
|
1965
2019
|
from: string;
|
|
1966
2020
|
to: string;
|
|
@@ -1973,27 +2027,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
1973
2027
|
CLEAR_NEW_EDGE: never;
|
|
1974
2028
|
ZOOM: number;
|
|
1975
2029
|
TOGGLE_ZOOM: never;
|
|
1976
|
-
|
|
2030
|
+
RESIZE: {
|
|
1977
2031
|
id: string;
|
|
1978
|
-
|
|
2032
|
+
size: {
|
|
1979
2033
|
width: number;
|
|
1980
2034
|
height: number;
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
|
|
1987
|
-
|
|
1988
|
-
|
|
1989
|
-
inputOffset?: {
|
|
1990
|
-
x: number;
|
|
1991
|
-
y: number;
|
|
1992
|
-
} | undefined;
|
|
1993
|
-
outputOffset?: {
|
|
1994
|
-
x: number;
|
|
1995
|
-
y: number;
|
|
1996
|
-
} | undefined;
|
|
2035
|
+
};
|
|
2036
|
+
};
|
|
2037
|
+
SET_NODE_DATA: {
|
|
2038
|
+
id: string;
|
|
2039
|
+
data: {
|
|
2040
|
+
[x: string]: string | number | boolean;
|
|
2041
|
+
[x: number]: string | number | boolean;
|
|
2042
|
+
[x: symbol]: string | number | boolean;
|
|
1997
2043
|
};
|
|
1998
2044
|
};
|
|
1999
2045
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -2086,6 +2132,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2086
2132
|
} | undefined;
|
|
2087
2133
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
2088
2134
|
previousZoom?: number | undefined;
|
|
2135
|
+
defaultData?: {
|
|
2136
|
+
[x: string]: string | number | boolean;
|
|
2137
|
+
[x: number]: string | number | boolean;
|
|
2138
|
+
[x: symbol]: string | number | boolean;
|
|
2139
|
+
} | undefined;
|
|
2089
2140
|
}, {
|
|
2090
2141
|
edgesPositions: {
|
|
2091
2142
|
[x: string]: {
|
|
@@ -2120,10 +2171,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2120
2171
|
y: number;
|
|
2121
2172
|
};
|
|
2122
2173
|
data: {
|
|
2123
|
-
|
|
2124
|
-
|
|
2174
|
+
[x: string]: string | number | boolean;
|
|
2175
|
+
[x: number]: string | number | boolean;
|
|
2176
|
+
[x: symbol]: string | number | boolean;
|
|
2125
2177
|
};
|
|
2126
|
-
input: boolean;
|
|
2127
2178
|
}[];
|
|
2128
2179
|
edges: {
|
|
2129
2180
|
id: string;
|
|
@@ -2153,6 +2204,7 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2153
2204
|
y1: number;
|
|
2154
2205
|
} | undefined;
|
|
2155
2206
|
selected?: string | undefined;
|
|
2207
|
+
editing?: string | undefined;
|
|
2156
2208
|
updatingUI?: boolean | undefined;
|
|
2157
2209
|
}, string>;
|
|
2158
2210
|
readonly setBoard: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
@@ -2163,10 +2215,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2163
2215
|
y: number;
|
|
2164
2216
|
};
|
|
2165
2217
|
data: {
|
|
2166
|
-
|
|
2167
|
-
|
|
2218
|
+
[x: string]: string | number | boolean;
|
|
2219
|
+
[x: number]: string | number | boolean;
|
|
2220
|
+
[x: symbol]: string | number | boolean;
|
|
2168
2221
|
};
|
|
2169
|
-
input: boolean;
|
|
2170
2222
|
id: string;
|
|
2171
2223
|
}[];
|
|
2172
2224
|
edges: {
|
|
@@ -2174,6 +2226,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2174
2226
|
to: string;
|
|
2175
2227
|
id: string;
|
|
2176
2228
|
}[];
|
|
2229
|
+
defaultData?: {
|
|
2230
|
+
[x: string]: string | number | boolean;
|
|
2231
|
+
[x: number]: string | number | boolean;
|
|
2232
|
+
[x: symbol]: string | number | boolean;
|
|
2233
|
+
} | undefined;
|
|
2177
2234
|
};
|
|
2178
2235
|
SET_BOARD: {
|
|
2179
2236
|
self: {
|
|
@@ -2206,6 +2263,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2206
2263
|
DELETE: string;
|
|
2207
2264
|
SELECT: string;
|
|
2208
2265
|
DESELECT: never;
|
|
2266
|
+
EDIT: string;
|
|
2267
|
+
STOP_EDIT: never;
|
|
2209
2268
|
ADD_EDGE: {
|
|
2210
2269
|
from: string;
|
|
2211
2270
|
to: string;
|
|
@@ -2218,27 +2277,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2218
2277
|
CLEAR_NEW_EDGE: never;
|
|
2219
2278
|
ZOOM: number;
|
|
2220
2279
|
TOGGLE_ZOOM: never;
|
|
2221
|
-
|
|
2280
|
+
RESIZE: {
|
|
2222
2281
|
id: string;
|
|
2223
|
-
|
|
2282
|
+
size: {
|
|
2224
2283
|
width: number;
|
|
2225
2284
|
height: number;
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
inputOffset?: {
|
|
2235
|
-
x: number;
|
|
2236
|
-
y: number;
|
|
2237
|
-
} | undefined;
|
|
2238
|
-
outputOffset?: {
|
|
2239
|
-
x: number;
|
|
2240
|
-
y: number;
|
|
2241
|
-
} | undefined;
|
|
2285
|
+
};
|
|
2286
|
+
};
|
|
2287
|
+
SET_NODE_DATA: {
|
|
2288
|
+
id: string;
|
|
2289
|
+
data: {
|
|
2290
|
+
[x: string]: string | number | boolean;
|
|
2291
|
+
[x: number]: string | number | boolean;
|
|
2292
|
+
[x: symbol]: string | number | boolean;
|
|
2242
2293
|
};
|
|
2243
2294
|
};
|
|
2244
2295
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -2331,6 +2382,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2331
2382
|
} | undefined;
|
|
2332
2383
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
2333
2384
|
previousZoom?: number | undefined;
|
|
2385
|
+
defaultData?: {
|
|
2386
|
+
[x: string]: string | number | boolean;
|
|
2387
|
+
[x: number]: string | number | boolean;
|
|
2388
|
+
[x: symbol]: string | number | boolean;
|
|
2389
|
+
} | undefined;
|
|
2334
2390
|
}, {
|
|
2335
2391
|
edgesPositions: {
|
|
2336
2392
|
[x: string]: {
|
|
@@ -2365,10 +2421,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2365
2421
|
y: number;
|
|
2366
2422
|
};
|
|
2367
2423
|
data: {
|
|
2368
|
-
|
|
2369
|
-
|
|
2424
|
+
[x: string]: string | number | boolean;
|
|
2425
|
+
[x: number]: string | number | boolean;
|
|
2426
|
+
[x: symbol]: string | number | boolean;
|
|
2370
2427
|
};
|
|
2371
|
-
input: boolean;
|
|
2372
2428
|
}[];
|
|
2373
2429
|
edges: {
|
|
2374
2430
|
id: string;
|
|
@@ -2398,9 +2454,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2398
2454
|
y1: number;
|
|
2399
2455
|
} | undefined;
|
|
2400
2456
|
selected?: string | undefined;
|
|
2457
|
+
editing?: string | undefined;
|
|
2401
2458
|
updatingUI?: boolean | undefined;
|
|
2402
2459
|
}, string>;
|
|
2403
|
-
readonly
|
|
2460
|
+
readonly generateID: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
2404
2461
|
CONFIGURE: {
|
|
2405
2462
|
nodes: {
|
|
2406
2463
|
position: {
|
|
@@ -2408,10 +2465,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2408
2465
|
y: number;
|
|
2409
2466
|
};
|
|
2410
2467
|
data: {
|
|
2411
|
-
|
|
2412
|
-
|
|
2468
|
+
[x: string]: string | number | boolean;
|
|
2469
|
+
[x: number]: string | number | boolean;
|
|
2470
|
+
[x: symbol]: string | number | boolean;
|
|
2413
2471
|
};
|
|
2414
|
-
input: boolean;
|
|
2415
2472
|
id: string;
|
|
2416
2473
|
}[];
|
|
2417
2474
|
edges: {
|
|
@@ -2419,6 +2476,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2419
2476
|
to: string;
|
|
2420
2477
|
id: string;
|
|
2421
2478
|
}[];
|
|
2479
|
+
defaultData?: {
|
|
2480
|
+
[x: string]: string | number | boolean;
|
|
2481
|
+
[x: number]: string | number | boolean;
|
|
2482
|
+
[x: symbol]: string | number | boolean;
|
|
2483
|
+
} | undefined;
|
|
2422
2484
|
};
|
|
2423
2485
|
SET_BOARD: {
|
|
2424
2486
|
self: {
|
|
@@ -2451,6 +2513,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2451
2513
|
DELETE: string;
|
|
2452
2514
|
SELECT: string;
|
|
2453
2515
|
DESELECT: never;
|
|
2516
|
+
EDIT: string;
|
|
2517
|
+
STOP_EDIT: never;
|
|
2454
2518
|
ADD_EDGE: {
|
|
2455
2519
|
from: string;
|
|
2456
2520
|
to: string;
|
|
@@ -2463,27 +2527,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2463
2527
|
CLEAR_NEW_EDGE: never;
|
|
2464
2528
|
ZOOM: number;
|
|
2465
2529
|
TOGGLE_ZOOM: never;
|
|
2466
|
-
|
|
2530
|
+
RESIZE: {
|
|
2467
2531
|
id: string;
|
|
2468
|
-
|
|
2532
|
+
size: {
|
|
2469
2533
|
width: number;
|
|
2470
2534
|
height: number;
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
inputOffset?: {
|
|
2480
|
-
x: number;
|
|
2481
|
-
y: number;
|
|
2482
|
-
} | undefined;
|
|
2483
|
-
outputOffset?: {
|
|
2484
|
-
x: number;
|
|
2485
|
-
y: number;
|
|
2486
|
-
} | undefined;
|
|
2535
|
+
};
|
|
2536
|
+
};
|
|
2537
|
+
SET_NODE_DATA: {
|
|
2538
|
+
id: string;
|
|
2539
|
+
data: {
|
|
2540
|
+
[x: string]: string | number | boolean;
|
|
2541
|
+
[x: number]: string | number | boolean;
|
|
2542
|
+
[x: symbol]: string | number | boolean;
|
|
2487
2543
|
};
|
|
2488
2544
|
};
|
|
2489
2545
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -2576,6 +2632,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2576
2632
|
} | undefined;
|
|
2577
2633
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
2578
2634
|
previousZoom?: number | undefined;
|
|
2635
|
+
defaultData?: {
|
|
2636
|
+
[x: string]: string | number | boolean;
|
|
2637
|
+
[x: number]: string | number | boolean;
|
|
2638
|
+
[x: symbol]: string | number | boolean;
|
|
2639
|
+
} | undefined;
|
|
2579
2640
|
}, {
|
|
2580
2641
|
edgesPositions: {
|
|
2581
2642
|
[x: string]: {
|
|
@@ -2610,10 +2671,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2610
2671
|
y: number;
|
|
2611
2672
|
};
|
|
2612
2673
|
data: {
|
|
2613
|
-
|
|
2614
|
-
|
|
2674
|
+
[x: string]: string | number | boolean;
|
|
2675
|
+
[x: number]: string | number | boolean;
|
|
2676
|
+
[x: symbol]: string | number | boolean;
|
|
2615
2677
|
};
|
|
2616
|
-
input: boolean;
|
|
2617
2678
|
}[];
|
|
2618
2679
|
edges: {
|
|
2619
2680
|
id: string;
|
|
@@ -2643,9 +2704,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2643
2704
|
y1: number;
|
|
2644
2705
|
} | undefined;
|
|
2645
2706
|
selected?: string | undefined;
|
|
2707
|
+
editing?: string | undefined;
|
|
2646
2708
|
updatingUI?: boolean | undefined;
|
|
2647
2709
|
}, string>;
|
|
2648
|
-
readonly
|
|
2710
|
+
readonly select: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
2649
2711
|
CONFIGURE: {
|
|
2650
2712
|
nodes: {
|
|
2651
2713
|
position: {
|
|
@@ -2653,10 +2715,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2653
2715
|
y: number;
|
|
2654
2716
|
};
|
|
2655
2717
|
data: {
|
|
2656
|
-
|
|
2657
|
-
|
|
2718
|
+
[x: string]: string | number | boolean;
|
|
2719
|
+
[x: number]: string | number | boolean;
|
|
2720
|
+
[x: symbol]: string | number | boolean;
|
|
2658
2721
|
};
|
|
2659
|
-
input: boolean;
|
|
2660
2722
|
id: string;
|
|
2661
2723
|
}[];
|
|
2662
2724
|
edges: {
|
|
@@ -2664,6 +2726,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2664
2726
|
to: string;
|
|
2665
2727
|
id: string;
|
|
2666
2728
|
}[];
|
|
2729
|
+
defaultData?: {
|
|
2730
|
+
[x: string]: string | number | boolean;
|
|
2731
|
+
[x: number]: string | number | boolean;
|
|
2732
|
+
[x: symbol]: string | number | boolean;
|
|
2733
|
+
} | undefined;
|
|
2667
2734
|
};
|
|
2668
2735
|
SET_BOARD: {
|
|
2669
2736
|
self: {
|
|
@@ -2696,6 +2763,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2696
2763
|
DELETE: string;
|
|
2697
2764
|
SELECT: string;
|
|
2698
2765
|
DESELECT: never;
|
|
2766
|
+
EDIT: string;
|
|
2767
|
+
STOP_EDIT: never;
|
|
2699
2768
|
ADD_EDGE: {
|
|
2700
2769
|
from: string;
|
|
2701
2770
|
to: string;
|
|
@@ -2708,27 +2777,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2708
2777
|
CLEAR_NEW_EDGE: never;
|
|
2709
2778
|
ZOOM: number;
|
|
2710
2779
|
TOGGLE_ZOOM: never;
|
|
2711
|
-
|
|
2780
|
+
RESIZE: {
|
|
2712
2781
|
id: string;
|
|
2713
|
-
|
|
2782
|
+
size: {
|
|
2714
2783
|
width: number;
|
|
2715
2784
|
height: number;
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
|
|
2719
|
-
|
|
2720
|
-
|
|
2721
|
-
|
|
2722
|
-
|
|
2723
|
-
|
|
2724
|
-
inputOffset?: {
|
|
2725
|
-
x: number;
|
|
2726
|
-
y: number;
|
|
2727
|
-
} | undefined;
|
|
2728
|
-
outputOffset?: {
|
|
2729
|
-
x: number;
|
|
2730
|
-
y: number;
|
|
2731
|
-
} | undefined;
|
|
2785
|
+
};
|
|
2786
|
+
};
|
|
2787
|
+
SET_NODE_DATA: {
|
|
2788
|
+
id: string;
|
|
2789
|
+
data: {
|
|
2790
|
+
[x: string]: string | number | boolean;
|
|
2791
|
+
[x: number]: string | number | boolean;
|
|
2792
|
+
[x: symbol]: string | number | boolean;
|
|
2732
2793
|
};
|
|
2733
2794
|
};
|
|
2734
2795
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -2821,6 +2882,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2821
2882
|
} | undefined;
|
|
2822
2883
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
2823
2884
|
previousZoom?: number | undefined;
|
|
2885
|
+
defaultData?: {
|
|
2886
|
+
[x: string]: string | number | boolean;
|
|
2887
|
+
[x: number]: string | number | boolean;
|
|
2888
|
+
[x: symbol]: string | number | boolean;
|
|
2889
|
+
} | undefined;
|
|
2824
2890
|
}, {
|
|
2825
2891
|
edgesPositions: {
|
|
2826
2892
|
[x: string]: {
|
|
@@ -2855,10 +2921,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2855
2921
|
y: number;
|
|
2856
2922
|
};
|
|
2857
2923
|
data: {
|
|
2858
|
-
|
|
2859
|
-
|
|
2924
|
+
[x: string]: string | number | boolean;
|
|
2925
|
+
[x: number]: string | number | boolean;
|
|
2926
|
+
[x: symbol]: string | number | boolean;
|
|
2860
2927
|
};
|
|
2861
|
-
input: boolean;
|
|
2862
2928
|
}[];
|
|
2863
2929
|
edges: {
|
|
2864
2930
|
id: string;
|
|
@@ -2888,9 +2954,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2888
2954
|
y1: number;
|
|
2889
2955
|
} | undefined;
|
|
2890
2956
|
selected?: string | undefined;
|
|
2957
|
+
editing?: string | undefined;
|
|
2891
2958
|
updatingUI?: boolean | undefined;
|
|
2892
2959
|
}, string>;
|
|
2893
|
-
readonly
|
|
2960
|
+
readonly clearNewEdge: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
2894
2961
|
CONFIGURE: {
|
|
2895
2962
|
nodes: {
|
|
2896
2963
|
position: {
|
|
@@ -2898,10 +2965,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2898
2965
|
y: number;
|
|
2899
2966
|
};
|
|
2900
2967
|
data: {
|
|
2901
|
-
|
|
2902
|
-
|
|
2968
|
+
[x: string]: string | number | boolean;
|
|
2969
|
+
[x: number]: string | number | boolean;
|
|
2970
|
+
[x: symbol]: string | number | boolean;
|
|
2903
2971
|
};
|
|
2904
|
-
input: boolean;
|
|
2905
2972
|
id: string;
|
|
2906
2973
|
}[];
|
|
2907
2974
|
edges: {
|
|
@@ -2909,6 +2976,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2909
2976
|
to: string;
|
|
2910
2977
|
id: string;
|
|
2911
2978
|
}[];
|
|
2979
|
+
defaultData?: {
|
|
2980
|
+
[x: string]: string | number | boolean;
|
|
2981
|
+
[x: number]: string | number | boolean;
|
|
2982
|
+
[x: symbol]: string | number | boolean;
|
|
2983
|
+
} | undefined;
|
|
2912
2984
|
};
|
|
2913
2985
|
SET_BOARD: {
|
|
2914
2986
|
self: {
|
|
@@ -2941,6 +3013,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2941
3013
|
DELETE: string;
|
|
2942
3014
|
SELECT: string;
|
|
2943
3015
|
DESELECT: never;
|
|
3016
|
+
EDIT: string;
|
|
3017
|
+
STOP_EDIT: never;
|
|
2944
3018
|
ADD_EDGE: {
|
|
2945
3019
|
from: string;
|
|
2946
3020
|
to: string;
|
|
@@ -2953,27 +3027,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
2953
3027
|
CLEAR_NEW_EDGE: never;
|
|
2954
3028
|
ZOOM: number;
|
|
2955
3029
|
TOGGLE_ZOOM: never;
|
|
2956
|
-
|
|
3030
|
+
RESIZE: {
|
|
2957
3031
|
id: string;
|
|
2958
|
-
|
|
3032
|
+
size: {
|
|
2959
3033
|
width: number;
|
|
2960
3034
|
height: number;
|
|
2961
|
-
|
|
2962
|
-
|
|
2963
|
-
|
|
2964
|
-
|
|
2965
|
-
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
inputOffset?: {
|
|
2970
|
-
x: number;
|
|
2971
|
-
y: number;
|
|
2972
|
-
} | undefined;
|
|
2973
|
-
outputOffset?: {
|
|
2974
|
-
x: number;
|
|
2975
|
-
y: number;
|
|
2976
|
-
} | undefined;
|
|
3035
|
+
};
|
|
3036
|
+
};
|
|
3037
|
+
SET_NODE_DATA: {
|
|
3038
|
+
id: string;
|
|
3039
|
+
data: {
|
|
3040
|
+
[x: string]: string | number | boolean;
|
|
3041
|
+
[x: number]: string | number | boolean;
|
|
3042
|
+
[x: symbol]: string | number | boolean;
|
|
2977
3043
|
};
|
|
2978
3044
|
};
|
|
2979
3045
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -3066,6 +3132,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3066
3132
|
} | undefined;
|
|
3067
3133
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
3068
3134
|
previousZoom?: number | undefined;
|
|
3135
|
+
defaultData?: {
|
|
3136
|
+
[x: string]: string | number | boolean;
|
|
3137
|
+
[x: number]: string | number | boolean;
|
|
3138
|
+
[x: symbol]: string | number | boolean;
|
|
3139
|
+
} | undefined;
|
|
3069
3140
|
}, {
|
|
3070
3141
|
edgesPositions: {
|
|
3071
3142
|
[x: string]: {
|
|
@@ -3100,10 +3171,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3100
3171
|
y: number;
|
|
3101
3172
|
};
|
|
3102
3173
|
data: {
|
|
3103
|
-
|
|
3104
|
-
|
|
3174
|
+
[x: string]: string | number | boolean;
|
|
3175
|
+
[x: number]: string | number | boolean;
|
|
3176
|
+
[x: symbol]: string | number | boolean;
|
|
3105
3177
|
};
|
|
3106
|
-
input: boolean;
|
|
3107
3178
|
}[];
|
|
3108
3179
|
edges: {
|
|
3109
3180
|
id: string;
|
|
@@ -3133,9 +3204,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3133
3204
|
y1: number;
|
|
3134
3205
|
} | undefined;
|
|
3135
3206
|
selected?: string | undefined;
|
|
3207
|
+
editing?: string | undefined;
|
|
3136
3208
|
updatingUI?: boolean | undefined;
|
|
3137
3209
|
}, string>;
|
|
3138
|
-
readonly
|
|
3210
|
+
readonly deselect: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
3139
3211
|
CONFIGURE: {
|
|
3140
3212
|
nodes: {
|
|
3141
3213
|
position: {
|
|
@@ -3143,10 +3215,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3143
3215
|
y: number;
|
|
3144
3216
|
};
|
|
3145
3217
|
data: {
|
|
3146
|
-
|
|
3147
|
-
|
|
3218
|
+
[x: string]: string | number | boolean;
|
|
3219
|
+
[x: number]: string | number | boolean;
|
|
3220
|
+
[x: symbol]: string | number | boolean;
|
|
3148
3221
|
};
|
|
3149
|
-
input: boolean;
|
|
3150
3222
|
id: string;
|
|
3151
3223
|
}[];
|
|
3152
3224
|
edges: {
|
|
@@ -3154,6 +3226,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3154
3226
|
to: string;
|
|
3155
3227
|
id: string;
|
|
3156
3228
|
}[];
|
|
3229
|
+
defaultData?: {
|
|
3230
|
+
[x: string]: string | number | boolean;
|
|
3231
|
+
[x: number]: string | number | boolean;
|
|
3232
|
+
[x: symbol]: string | number | boolean;
|
|
3233
|
+
} | undefined;
|
|
3157
3234
|
};
|
|
3158
3235
|
SET_BOARD: {
|
|
3159
3236
|
self: {
|
|
@@ -3186,6 +3263,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3186
3263
|
DELETE: string;
|
|
3187
3264
|
SELECT: string;
|
|
3188
3265
|
DESELECT: never;
|
|
3266
|
+
EDIT: string;
|
|
3267
|
+
STOP_EDIT: never;
|
|
3189
3268
|
ADD_EDGE: {
|
|
3190
3269
|
from: string;
|
|
3191
3270
|
to: string;
|
|
@@ -3198,27 +3277,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3198
3277
|
CLEAR_NEW_EDGE: never;
|
|
3199
3278
|
ZOOM: number;
|
|
3200
3279
|
TOGGLE_ZOOM: never;
|
|
3201
|
-
|
|
3280
|
+
RESIZE: {
|
|
3202
3281
|
id: string;
|
|
3203
|
-
|
|
3282
|
+
size: {
|
|
3204
3283
|
width: number;
|
|
3205
3284
|
height: number;
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3212
|
-
|
|
3213
|
-
|
|
3214
|
-
inputOffset?: {
|
|
3215
|
-
x: number;
|
|
3216
|
-
y: number;
|
|
3217
|
-
} | undefined;
|
|
3218
|
-
outputOffset?: {
|
|
3219
|
-
x: number;
|
|
3220
|
-
y: number;
|
|
3221
|
-
} | undefined;
|
|
3285
|
+
};
|
|
3286
|
+
};
|
|
3287
|
+
SET_NODE_DATA: {
|
|
3288
|
+
id: string;
|
|
3289
|
+
data: {
|
|
3290
|
+
[x: string]: string | number | boolean;
|
|
3291
|
+
[x: number]: string | number | boolean;
|
|
3292
|
+
[x: symbol]: string | number | boolean;
|
|
3222
3293
|
};
|
|
3223
3294
|
};
|
|
3224
3295
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -3311,6 +3382,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3311
3382
|
} | undefined;
|
|
3312
3383
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
3313
3384
|
previousZoom?: number | undefined;
|
|
3385
|
+
defaultData?: {
|
|
3386
|
+
[x: string]: string | number | boolean;
|
|
3387
|
+
[x: number]: string | number | boolean;
|
|
3388
|
+
[x: symbol]: string | number | boolean;
|
|
3389
|
+
} | undefined;
|
|
3314
3390
|
}, {
|
|
3315
3391
|
edgesPositions: {
|
|
3316
3392
|
[x: string]: {
|
|
@@ -3345,10 +3421,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3345
3421
|
y: number;
|
|
3346
3422
|
};
|
|
3347
3423
|
data: {
|
|
3348
|
-
|
|
3349
|
-
|
|
3424
|
+
[x: string]: string | number | boolean;
|
|
3425
|
+
[x: number]: string | number | boolean;
|
|
3426
|
+
[x: symbol]: string | number | boolean;
|
|
3350
3427
|
};
|
|
3351
|
-
input: boolean;
|
|
3352
3428
|
}[];
|
|
3353
3429
|
edges: {
|
|
3354
3430
|
id: string;
|
|
@@ -3378,9 +3454,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3378
3454
|
y1: number;
|
|
3379
3455
|
} | undefined;
|
|
3380
3456
|
selected?: string | undefined;
|
|
3457
|
+
editing?: string | undefined;
|
|
3381
3458
|
updatingUI?: boolean | undefined;
|
|
3382
3459
|
}, string>;
|
|
3383
|
-
readonly
|
|
3460
|
+
readonly edit: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
3384
3461
|
CONFIGURE: {
|
|
3385
3462
|
nodes: {
|
|
3386
3463
|
position: {
|
|
@@ -3388,10 +3465,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3388
3465
|
y: number;
|
|
3389
3466
|
};
|
|
3390
3467
|
data: {
|
|
3391
|
-
|
|
3392
|
-
|
|
3468
|
+
[x: string]: string | number | boolean;
|
|
3469
|
+
[x: number]: string | number | boolean;
|
|
3470
|
+
[x: symbol]: string | number | boolean;
|
|
3393
3471
|
};
|
|
3394
|
-
input: boolean;
|
|
3395
3472
|
id: string;
|
|
3396
3473
|
}[];
|
|
3397
3474
|
edges: {
|
|
@@ -3399,6 +3476,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3399
3476
|
to: string;
|
|
3400
3477
|
id: string;
|
|
3401
3478
|
}[];
|
|
3479
|
+
defaultData?: {
|
|
3480
|
+
[x: string]: string | number | boolean;
|
|
3481
|
+
[x: number]: string | number | boolean;
|
|
3482
|
+
[x: symbol]: string | number | boolean;
|
|
3483
|
+
} | undefined;
|
|
3402
3484
|
};
|
|
3403
3485
|
SET_BOARD: {
|
|
3404
3486
|
self: {
|
|
@@ -3431,6 +3513,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3431
3513
|
DELETE: string;
|
|
3432
3514
|
SELECT: string;
|
|
3433
3515
|
DESELECT: never;
|
|
3516
|
+
EDIT: string;
|
|
3517
|
+
STOP_EDIT: never;
|
|
3434
3518
|
ADD_EDGE: {
|
|
3435
3519
|
from: string;
|
|
3436
3520
|
to: string;
|
|
@@ -3443,27 +3527,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3443
3527
|
CLEAR_NEW_EDGE: never;
|
|
3444
3528
|
ZOOM: number;
|
|
3445
3529
|
TOGGLE_ZOOM: never;
|
|
3446
|
-
|
|
3530
|
+
RESIZE: {
|
|
3447
3531
|
id: string;
|
|
3448
|
-
|
|
3532
|
+
size: {
|
|
3449
3533
|
width: number;
|
|
3450
3534
|
height: number;
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
inputOffset?: {
|
|
3460
|
-
x: number;
|
|
3461
|
-
y: number;
|
|
3462
|
-
} | undefined;
|
|
3463
|
-
outputOffset?: {
|
|
3464
|
-
x: number;
|
|
3465
|
-
y: number;
|
|
3466
|
-
} | undefined;
|
|
3535
|
+
};
|
|
3536
|
+
};
|
|
3537
|
+
SET_NODE_DATA: {
|
|
3538
|
+
id: string;
|
|
3539
|
+
data: {
|
|
3540
|
+
[x: string]: string | number | boolean;
|
|
3541
|
+
[x: number]: string | number | boolean;
|
|
3542
|
+
[x: symbol]: string | number | boolean;
|
|
3467
3543
|
};
|
|
3468
3544
|
};
|
|
3469
3545
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -3556,6 +3632,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3556
3632
|
} | undefined;
|
|
3557
3633
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
3558
3634
|
previousZoom?: number | undefined;
|
|
3635
|
+
defaultData?: {
|
|
3636
|
+
[x: string]: string | number | boolean;
|
|
3637
|
+
[x: number]: string | number | boolean;
|
|
3638
|
+
[x: symbol]: string | number | boolean;
|
|
3639
|
+
} | undefined;
|
|
3559
3640
|
}, {
|
|
3560
3641
|
edgesPositions: {
|
|
3561
3642
|
[x: string]: {
|
|
@@ -3590,10 +3671,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3590
3671
|
y: number;
|
|
3591
3672
|
};
|
|
3592
3673
|
data: {
|
|
3593
|
-
|
|
3594
|
-
|
|
3674
|
+
[x: string]: string | number | boolean;
|
|
3675
|
+
[x: number]: string | number | boolean;
|
|
3676
|
+
[x: symbol]: string | number | boolean;
|
|
3595
3677
|
};
|
|
3596
|
-
input: boolean;
|
|
3597
3678
|
}[];
|
|
3598
3679
|
edges: {
|
|
3599
3680
|
id: string;
|
|
@@ -3623,9 +3704,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3623
3704
|
y1: number;
|
|
3624
3705
|
} | undefined;
|
|
3625
3706
|
selected?: string | undefined;
|
|
3707
|
+
editing?: string | undefined;
|
|
3626
3708
|
updatingUI?: boolean | undefined;
|
|
3627
3709
|
}, string>;
|
|
3628
|
-
readonly
|
|
3710
|
+
readonly stopEdit: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
3629
3711
|
CONFIGURE: {
|
|
3630
3712
|
nodes: {
|
|
3631
3713
|
position: {
|
|
@@ -3633,10 +3715,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3633
3715
|
y: number;
|
|
3634
3716
|
};
|
|
3635
3717
|
data: {
|
|
3636
|
-
|
|
3637
|
-
|
|
3718
|
+
[x: string]: string | number | boolean;
|
|
3719
|
+
[x: number]: string | number | boolean;
|
|
3720
|
+
[x: symbol]: string | number | boolean;
|
|
3638
3721
|
};
|
|
3639
|
-
input: boolean;
|
|
3640
3722
|
id: string;
|
|
3641
3723
|
}[];
|
|
3642
3724
|
edges: {
|
|
@@ -3644,6 +3726,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3644
3726
|
to: string;
|
|
3645
3727
|
id: string;
|
|
3646
3728
|
}[];
|
|
3729
|
+
defaultData?: {
|
|
3730
|
+
[x: string]: string | number | boolean;
|
|
3731
|
+
[x: number]: string | number | boolean;
|
|
3732
|
+
[x: symbol]: string | number | boolean;
|
|
3733
|
+
} | undefined;
|
|
3647
3734
|
};
|
|
3648
3735
|
SET_BOARD: {
|
|
3649
3736
|
self: {
|
|
@@ -3676,6 +3763,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3676
3763
|
DELETE: string;
|
|
3677
3764
|
SELECT: string;
|
|
3678
3765
|
DESELECT: never;
|
|
3766
|
+
EDIT: string;
|
|
3767
|
+
STOP_EDIT: never;
|
|
3679
3768
|
ADD_EDGE: {
|
|
3680
3769
|
from: string;
|
|
3681
3770
|
to: string;
|
|
@@ -3688,27 +3777,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3688
3777
|
CLEAR_NEW_EDGE: never;
|
|
3689
3778
|
ZOOM: number;
|
|
3690
3779
|
TOGGLE_ZOOM: never;
|
|
3691
|
-
|
|
3780
|
+
RESIZE: {
|
|
3692
3781
|
id: string;
|
|
3693
|
-
|
|
3782
|
+
size: {
|
|
3694
3783
|
width: number;
|
|
3695
3784
|
height: number;
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
inputOffset?: {
|
|
3705
|
-
x: number;
|
|
3706
|
-
y: number;
|
|
3707
|
-
} | undefined;
|
|
3708
|
-
outputOffset?: {
|
|
3709
|
-
x: number;
|
|
3710
|
-
y: number;
|
|
3711
|
-
} | undefined;
|
|
3785
|
+
};
|
|
3786
|
+
};
|
|
3787
|
+
SET_NODE_DATA: {
|
|
3788
|
+
id: string;
|
|
3789
|
+
data: {
|
|
3790
|
+
[x: string]: string | number | boolean;
|
|
3791
|
+
[x: number]: string | number | boolean;
|
|
3792
|
+
[x: symbol]: string | number | boolean;
|
|
3712
3793
|
};
|
|
3713
3794
|
};
|
|
3714
3795
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -3801,6 +3882,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3801
3882
|
} | undefined;
|
|
3802
3883
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
3803
3884
|
previousZoom?: number | undefined;
|
|
3885
|
+
defaultData?: {
|
|
3886
|
+
[x: string]: string | number | boolean;
|
|
3887
|
+
[x: number]: string | number | boolean;
|
|
3888
|
+
[x: symbol]: string | number | boolean;
|
|
3889
|
+
} | undefined;
|
|
3804
3890
|
}, {
|
|
3805
3891
|
edgesPositions: {
|
|
3806
3892
|
[x: string]: {
|
|
@@ -3835,10 +3921,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3835
3921
|
y: number;
|
|
3836
3922
|
};
|
|
3837
3923
|
data: {
|
|
3838
|
-
|
|
3839
|
-
|
|
3924
|
+
[x: string]: string | number | boolean;
|
|
3925
|
+
[x: number]: string | number | boolean;
|
|
3926
|
+
[x: symbol]: string | number | boolean;
|
|
3840
3927
|
};
|
|
3841
|
-
input: boolean;
|
|
3842
3928
|
}[];
|
|
3843
3929
|
edges: {
|
|
3844
3930
|
id: string;
|
|
@@ -3868,9 +3954,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3868
3954
|
y1: number;
|
|
3869
3955
|
} | undefined;
|
|
3870
3956
|
selected?: string | undefined;
|
|
3957
|
+
editing?: string | undefined;
|
|
3871
3958
|
updatingUI?: boolean | undefined;
|
|
3872
3959
|
}, string>;
|
|
3873
|
-
readonly
|
|
3960
|
+
readonly startNewEdge: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
3874
3961
|
CONFIGURE: {
|
|
3875
3962
|
nodes: {
|
|
3876
3963
|
position: {
|
|
@@ -3878,10 +3965,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3878
3965
|
y: number;
|
|
3879
3966
|
};
|
|
3880
3967
|
data: {
|
|
3881
|
-
|
|
3882
|
-
|
|
3968
|
+
[x: string]: string | number | boolean;
|
|
3969
|
+
[x: number]: string | number | boolean;
|
|
3970
|
+
[x: symbol]: string | number | boolean;
|
|
3883
3971
|
};
|
|
3884
|
-
input: boolean;
|
|
3885
3972
|
id: string;
|
|
3886
3973
|
}[];
|
|
3887
3974
|
edges: {
|
|
@@ -3889,6 +3976,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3889
3976
|
to: string;
|
|
3890
3977
|
id: string;
|
|
3891
3978
|
}[];
|
|
3979
|
+
defaultData?: {
|
|
3980
|
+
[x: string]: string | number | boolean;
|
|
3981
|
+
[x: number]: string | number | boolean;
|
|
3982
|
+
[x: symbol]: string | number | boolean;
|
|
3983
|
+
} | undefined;
|
|
3892
3984
|
};
|
|
3893
3985
|
SET_BOARD: {
|
|
3894
3986
|
self: {
|
|
@@ -3921,6 +4013,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3921
4013
|
DELETE: string;
|
|
3922
4014
|
SELECT: string;
|
|
3923
4015
|
DESELECT: never;
|
|
4016
|
+
EDIT: string;
|
|
4017
|
+
STOP_EDIT: never;
|
|
3924
4018
|
ADD_EDGE: {
|
|
3925
4019
|
from: string;
|
|
3926
4020
|
to: string;
|
|
@@ -3933,27 +4027,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
3933
4027
|
CLEAR_NEW_EDGE: never;
|
|
3934
4028
|
ZOOM: number;
|
|
3935
4029
|
TOGGLE_ZOOM: never;
|
|
3936
|
-
|
|
4030
|
+
RESIZE: {
|
|
3937
4031
|
id: string;
|
|
3938
|
-
|
|
4032
|
+
size: {
|
|
3939
4033
|
width: number;
|
|
3940
4034
|
height: number;
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
inputOffset?: {
|
|
3950
|
-
x: number;
|
|
3951
|
-
y: number;
|
|
3952
|
-
} | undefined;
|
|
3953
|
-
outputOffset?: {
|
|
3954
|
-
x: number;
|
|
3955
|
-
y: number;
|
|
3956
|
-
} | undefined;
|
|
4035
|
+
};
|
|
4036
|
+
};
|
|
4037
|
+
SET_NODE_DATA: {
|
|
4038
|
+
id: string;
|
|
4039
|
+
data: {
|
|
4040
|
+
[x: string]: string | number | boolean;
|
|
4041
|
+
[x: number]: string | number | boolean;
|
|
4042
|
+
[x: symbol]: string | number | boolean;
|
|
3957
4043
|
};
|
|
3958
4044
|
};
|
|
3959
4045
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -4046,6 +4132,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4046
4132
|
} | undefined;
|
|
4047
4133
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
4048
4134
|
previousZoom?: number | undefined;
|
|
4135
|
+
defaultData?: {
|
|
4136
|
+
[x: string]: string | number | boolean;
|
|
4137
|
+
[x: number]: string | number | boolean;
|
|
4138
|
+
[x: symbol]: string | number | boolean;
|
|
4139
|
+
} | undefined;
|
|
4049
4140
|
}, {
|
|
4050
4141
|
edgesPositions: {
|
|
4051
4142
|
[x: string]: {
|
|
@@ -4080,10 +4171,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4080
4171
|
y: number;
|
|
4081
4172
|
};
|
|
4082
4173
|
data: {
|
|
4083
|
-
|
|
4084
|
-
|
|
4174
|
+
[x: string]: string | number | boolean;
|
|
4175
|
+
[x: number]: string | number | boolean;
|
|
4176
|
+
[x: symbol]: string | number | boolean;
|
|
4085
4177
|
};
|
|
4086
|
-
input: boolean;
|
|
4087
4178
|
}[];
|
|
4088
4179
|
edges: {
|
|
4089
4180
|
id: string;
|
|
@@ -4113,9 +4204,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4113
4204
|
y1: number;
|
|
4114
4205
|
} | undefined;
|
|
4115
4206
|
selected?: string | undefined;
|
|
4207
|
+
editing?: string | undefined;
|
|
4116
4208
|
updatingUI?: boolean | undefined;
|
|
4117
4209
|
}, string>;
|
|
4118
|
-
readonly
|
|
4210
|
+
readonly buildUI: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
4119
4211
|
CONFIGURE: {
|
|
4120
4212
|
nodes: {
|
|
4121
4213
|
position: {
|
|
@@ -4123,10 +4215,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4123
4215
|
y: number;
|
|
4124
4216
|
};
|
|
4125
4217
|
data: {
|
|
4126
|
-
|
|
4127
|
-
|
|
4218
|
+
[x: string]: string | number | boolean;
|
|
4219
|
+
[x: number]: string | number | boolean;
|
|
4220
|
+
[x: symbol]: string | number | boolean;
|
|
4128
4221
|
};
|
|
4129
|
-
input: boolean;
|
|
4130
4222
|
id: string;
|
|
4131
4223
|
}[];
|
|
4132
4224
|
edges: {
|
|
@@ -4134,6 +4226,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4134
4226
|
to: string;
|
|
4135
4227
|
id: string;
|
|
4136
4228
|
}[];
|
|
4229
|
+
defaultData?: {
|
|
4230
|
+
[x: string]: string | number | boolean;
|
|
4231
|
+
[x: number]: string | number | boolean;
|
|
4232
|
+
[x: symbol]: string | number | boolean;
|
|
4233
|
+
} | undefined;
|
|
4137
4234
|
};
|
|
4138
4235
|
SET_BOARD: {
|
|
4139
4236
|
self: {
|
|
@@ -4166,6 +4263,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4166
4263
|
DELETE: string;
|
|
4167
4264
|
SELECT: string;
|
|
4168
4265
|
DESELECT: never;
|
|
4266
|
+
EDIT: string;
|
|
4267
|
+
STOP_EDIT: never;
|
|
4169
4268
|
ADD_EDGE: {
|
|
4170
4269
|
from: string;
|
|
4171
4270
|
to: string;
|
|
@@ -4178,27 +4277,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4178
4277
|
CLEAR_NEW_EDGE: never;
|
|
4179
4278
|
ZOOM: number;
|
|
4180
4279
|
TOGGLE_ZOOM: never;
|
|
4181
|
-
|
|
4280
|
+
RESIZE: {
|
|
4182
4281
|
id: string;
|
|
4183
|
-
|
|
4282
|
+
size: {
|
|
4184
4283
|
width: number;
|
|
4185
4284
|
height: number;
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
inputOffset?: {
|
|
4195
|
-
x: number;
|
|
4196
|
-
y: number;
|
|
4197
|
-
} | undefined;
|
|
4198
|
-
outputOffset?: {
|
|
4199
|
-
x: number;
|
|
4200
|
-
y: number;
|
|
4201
|
-
} | undefined;
|
|
4285
|
+
};
|
|
4286
|
+
};
|
|
4287
|
+
SET_NODE_DATA: {
|
|
4288
|
+
id: string;
|
|
4289
|
+
data: {
|
|
4290
|
+
[x: string]: string | number | boolean;
|
|
4291
|
+
[x: number]: string | number | boolean;
|
|
4292
|
+
[x: symbol]: string | number | boolean;
|
|
4202
4293
|
};
|
|
4203
4294
|
};
|
|
4204
4295
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -4291,6 +4382,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4291
4382
|
} | undefined;
|
|
4292
4383
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
4293
4384
|
previousZoom?: number | undefined;
|
|
4385
|
+
defaultData?: {
|
|
4386
|
+
[x: string]: string | number | boolean;
|
|
4387
|
+
[x: number]: string | number | boolean;
|
|
4388
|
+
[x: symbol]: string | number | boolean;
|
|
4389
|
+
} | undefined;
|
|
4294
4390
|
}, {
|
|
4295
4391
|
edgesPositions: {
|
|
4296
4392
|
[x: string]: {
|
|
@@ -4325,10 +4421,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4325
4421
|
y: number;
|
|
4326
4422
|
};
|
|
4327
4423
|
data: {
|
|
4328
|
-
|
|
4329
|
-
|
|
4424
|
+
[x: string]: string | number | boolean;
|
|
4425
|
+
[x: number]: string | number | boolean;
|
|
4426
|
+
[x: symbol]: string | number | boolean;
|
|
4330
4427
|
};
|
|
4331
|
-
input: boolean;
|
|
4332
4428
|
}[];
|
|
4333
4429
|
edges: {
|
|
4334
4430
|
id: string;
|
|
@@ -4358,9 +4454,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4358
4454
|
y1: number;
|
|
4359
4455
|
} | undefined;
|
|
4360
4456
|
selected?: string | undefined;
|
|
4457
|
+
editing?: string | undefined;
|
|
4361
4458
|
updatingUI?: boolean | undefined;
|
|
4362
4459
|
}, string>;
|
|
4363
|
-
readonly
|
|
4460
|
+
readonly resize: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
4364
4461
|
CONFIGURE: {
|
|
4365
4462
|
nodes: {
|
|
4366
4463
|
position: {
|
|
@@ -4368,10 +4465,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4368
4465
|
y: number;
|
|
4369
4466
|
};
|
|
4370
4467
|
data: {
|
|
4371
|
-
|
|
4372
|
-
|
|
4468
|
+
[x: string]: string | number | boolean;
|
|
4469
|
+
[x: number]: string | number | boolean;
|
|
4470
|
+
[x: symbol]: string | number | boolean;
|
|
4373
4471
|
};
|
|
4374
|
-
input: boolean;
|
|
4375
4472
|
id: string;
|
|
4376
4473
|
}[];
|
|
4377
4474
|
edges: {
|
|
@@ -4379,6 +4476,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4379
4476
|
to: string;
|
|
4380
4477
|
id: string;
|
|
4381
4478
|
}[];
|
|
4479
|
+
defaultData?: {
|
|
4480
|
+
[x: string]: string | number | boolean;
|
|
4481
|
+
[x: number]: string | number | boolean;
|
|
4482
|
+
[x: symbol]: string | number | boolean;
|
|
4483
|
+
} | undefined;
|
|
4382
4484
|
};
|
|
4383
4485
|
SET_BOARD: {
|
|
4384
4486
|
self: {
|
|
@@ -4411,6 +4513,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4411
4513
|
DELETE: string;
|
|
4412
4514
|
SELECT: string;
|
|
4413
4515
|
DESELECT: never;
|
|
4516
|
+
EDIT: string;
|
|
4517
|
+
STOP_EDIT: never;
|
|
4414
4518
|
ADD_EDGE: {
|
|
4415
4519
|
from: string;
|
|
4416
4520
|
to: string;
|
|
@@ -4423,27 +4527,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4423
4527
|
CLEAR_NEW_EDGE: never;
|
|
4424
4528
|
ZOOM: number;
|
|
4425
4529
|
TOGGLE_ZOOM: never;
|
|
4426
|
-
|
|
4530
|
+
RESIZE: {
|
|
4427
4531
|
id: string;
|
|
4428
|
-
|
|
4532
|
+
size: {
|
|
4429
4533
|
width: number;
|
|
4430
4534
|
height: number;
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
inputOffset?: {
|
|
4440
|
-
x: number;
|
|
4441
|
-
y: number;
|
|
4442
|
-
} | undefined;
|
|
4443
|
-
outputOffset?: {
|
|
4444
|
-
x: number;
|
|
4445
|
-
y: number;
|
|
4446
|
-
} | undefined;
|
|
4535
|
+
};
|
|
4536
|
+
};
|
|
4537
|
+
SET_NODE_DATA: {
|
|
4538
|
+
id: string;
|
|
4539
|
+
data: {
|
|
4540
|
+
[x: string]: string | number | boolean;
|
|
4541
|
+
[x: number]: string | number | boolean;
|
|
4542
|
+
[x: symbol]: string | number | boolean;
|
|
4447
4543
|
};
|
|
4448
4544
|
};
|
|
4449
4545
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -4536,6 +4632,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4536
4632
|
} | undefined;
|
|
4537
4633
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
4538
4634
|
previousZoom?: number | undefined;
|
|
4635
|
+
defaultData?: {
|
|
4636
|
+
[x: string]: string | number | boolean;
|
|
4637
|
+
[x: number]: string | number | boolean;
|
|
4638
|
+
[x: symbol]: string | number | boolean;
|
|
4639
|
+
} | undefined;
|
|
4539
4640
|
}, {
|
|
4540
4641
|
edgesPositions: {
|
|
4541
4642
|
[x: string]: {
|
|
@@ -4570,10 +4671,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4570
4671
|
y: number;
|
|
4571
4672
|
};
|
|
4572
4673
|
data: {
|
|
4573
|
-
|
|
4574
|
-
|
|
4674
|
+
[x: string]: string | number | boolean;
|
|
4675
|
+
[x: number]: string | number | boolean;
|
|
4676
|
+
[x: symbol]: string | number | boolean;
|
|
4575
4677
|
};
|
|
4576
|
-
input: boolean;
|
|
4577
4678
|
}[];
|
|
4578
4679
|
edges: {
|
|
4579
4680
|
id: string;
|
|
@@ -4603,9 +4704,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4603
4704
|
y1: number;
|
|
4604
4705
|
} | undefined;
|
|
4605
4706
|
selected?: string | undefined;
|
|
4707
|
+
editing?: string | undefined;
|
|
4606
4708
|
updatingUI?: boolean | undefined;
|
|
4607
4709
|
}, string>;
|
|
4608
|
-
readonly
|
|
4710
|
+
readonly linkChild: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
4609
4711
|
CONFIGURE: {
|
|
4610
4712
|
nodes: {
|
|
4611
4713
|
position: {
|
|
@@ -4613,10 +4715,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4613
4715
|
y: number;
|
|
4614
4716
|
};
|
|
4615
4717
|
data: {
|
|
4616
|
-
|
|
4617
|
-
|
|
4718
|
+
[x: string]: string | number | boolean;
|
|
4719
|
+
[x: number]: string | number | boolean;
|
|
4720
|
+
[x: symbol]: string | number | boolean;
|
|
4618
4721
|
};
|
|
4619
|
-
input: boolean;
|
|
4620
4722
|
id: string;
|
|
4621
4723
|
}[];
|
|
4622
4724
|
edges: {
|
|
@@ -4624,6 +4726,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4624
4726
|
to: string;
|
|
4625
4727
|
id: string;
|
|
4626
4728
|
}[];
|
|
4729
|
+
defaultData?: {
|
|
4730
|
+
[x: string]: string | number | boolean;
|
|
4731
|
+
[x: number]: string | number | boolean;
|
|
4732
|
+
[x: symbol]: string | number | boolean;
|
|
4733
|
+
} | undefined;
|
|
4627
4734
|
};
|
|
4628
4735
|
SET_BOARD: {
|
|
4629
4736
|
self: {
|
|
@@ -4656,6 +4763,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4656
4763
|
DELETE: string;
|
|
4657
4764
|
SELECT: string;
|
|
4658
4765
|
DESELECT: never;
|
|
4766
|
+
EDIT: string;
|
|
4767
|
+
STOP_EDIT: never;
|
|
4659
4768
|
ADD_EDGE: {
|
|
4660
4769
|
from: string;
|
|
4661
4770
|
to: string;
|
|
@@ -4668,27 +4777,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4668
4777
|
CLEAR_NEW_EDGE: never;
|
|
4669
4778
|
ZOOM: number;
|
|
4670
4779
|
TOGGLE_ZOOM: never;
|
|
4671
|
-
|
|
4780
|
+
RESIZE: {
|
|
4672
4781
|
id: string;
|
|
4673
|
-
|
|
4782
|
+
size: {
|
|
4674
4783
|
width: number;
|
|
4675
4784
|
height: number;
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
inputOffset?: {
|
|
4685
|
-
x: number;
|
|
4686
|
-
y: number;
|
|
4687
|
-
} | undefined;
|
|
4688
|
-
outputOffset?: {
|
|
4689
|
-
x: number;
|
|
4690
|
-
y: number;
|
|
4691
|
-
} | undefined;
|
|
4785
|
+
};
|
|
4786
|
+
};
|
|
4787
|
+
SET_NODE_DATA: {
|
|
4788
|
+
id: string;
|
|
4789
|
+
data: {
|
|
4790
|
+
[x: string]: string | number | boolean;
|
|
4791
|
+
[x: number]: string | number | boolean;
|
|
4792
|
+
[x: symbol]: string | number | boolean;
|
|
4692
4793
|
};
|
|
4693
4794
|
};
|
|
4694
4795
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -4781,6 +4882,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4781
4882
|
} | undefined;
|
|
4782
4883
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
4783
4884
|
previousZoom?: number | undefined;
|
|
4885
|
+
defaultData?: {
|
|
4886
|
+
[x: string]: string | number | boolean;
|
|
4887
|
+
[x: number]: string | number | boolean;
|
|
4888
|
+
[x: symbol]: string | number | boolean;
|
|
4889
|
+
} | undefined;
|
|
4784
4890
|
}, {
|
|
4785
4891
|
edgesPositions: {
|
|
4786
4892
|
[x: string]: {
|
|
@@ -4815,10 +4921,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4815
4921
|
y: number;
|
|
4816
4922
|
};
|
|
4817
4923
|
data: {
|
|
4818
|
-
|
|
4819
|
-
|
|
4924
|
+
[x: string]: string | number | boolean;
|
|
4925
|
+
[x: number]: string | number | boolean;
|
|
4926
|
+
[x: symbol]: string | number | boolean;
|
|
4820
4927
|
};
|
|
4821
|
-
input: boolean;
|
|
4822
4928
|
}[];
|
|
4823
4929
|
edges: {
|
|
4824
4930
|
id: string;
|
|
@@ -4848,9 +4954,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4848
4954
|
y1: number;
|
|
4849
4955
|
} | undefined;
|
|
4850
4956
|
selected?: string | undefined;
|
|
4957
|
+
editing?: string | undefined;
|
|
4851
4958
|
updatingUI?: boolean | undefined;
|
|
4852
4959
|
}, string>;
|
|
4853
|
-
readonly
|
|
4960
|
+
readonly linkSibling: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
4854
4961
|
CONFIGURE: {
|
|
4855
4962
|
nodes: {
|
|
4856
4963
|
position: {
|
|
@@ -4858,10 +4965,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4858
4965
|
y: number;
|
|
4859
4966
|
};
|
|
4860
4967
|
data: {
|
|
4861
|
-
|
|
4862
|
-
|
|
4968
|
+
[x: string]: string | number | boolean;
|
|
4969
|
+
[x: number]: string | number | boolean;
|
|
4970
|
+
[x: symbol]: string | number | boolean;
|
|
4863
4971
|
};
|
|
4864
|
-
input: boolean;
|
|
4865
4972
|
id: string;
|
|
4866
4973
|
}[];
|
|
4867
4974
|
edges: {
|
|
@@ -4869,6 +4976,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4869
4976
|
to: string;
|
|
4870
4977
|
id: string;
|
|
4871
4978
|
}[];
|
|
4979
|
+
defaultData?: {
|
|
4980
|
+
[x: string]: string | number | boolean;
|
|
4981
|
+
[x: number]: string | number | boolean;
|
|
4982
|
+
[x: symbol]: string | number | boolean;
|
|
4983
|
+
} | undefined;
|
|
4872
4984
|
};
|
|
4873
4985
|
SET_BOARD: {
|
|
4874
4986
|
self: {
|
|
@@ -4901,6 +5013,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4901
5013
|
DELETE: string;
|
|
4902
5014
|
SELECT: string;
|
|
4903
5015
|
DESELECT: never;
|
|
5016
|
+
EDIT: string;
|
|
5017
|
+
STOP_EDIT: never;
|
|
4904
5018
|
ADD_EDGE: {
|
|
4905
5019
|
from: string;
|
|
4906
5020
|
to: string;
|
|
@@ -4913,27 +5027,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
4913
5027
|
CLEAR_NEW_EDGE: never;
|
|
4914
5028
|
ZOOM: number;
|
|
4915
5029
|
TOGGLE_ZOOM: never;
|
|
4916
|
-
|
|
5030
|
+
RESIZE: {
|
|
4917
5031
|
id: string;
|
|
4918
|
-
|
|
5032
|
+
size: {
|
|
4919
5033
|
width: number;
|
|
4920
5034
|
height: number;
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
inputOffset?: {
|
|
4930
|
-
x: number;
|
|
4931
|
-
y: number;
|
|
4932
|
-
} | undefined;
|
|
4933
|
-
outputOffset?: {
|
|
4934
|
-
x: number;
|
|
4935
|
-
y: number;
|
|
4936
|
-
} | undefined;
|
|
5035
|
+
};
|
|
5036
|
+
};
|
|
5037
|
+
SET_NODE_DATA: {
|
|
5038
|
+
id: string;
|
|
5039
|
+
data: {
|
|
5040
|
+
[x: string]: string | number | boolean;
|
|
5041
|
+
[x: number]: string | number | boolean;
|
|
5042
|
+
[x: symbol]: string | number | boolean;
|
|
4937
5043
|
};
|
|
4938
5044
|
};
|
|
4939
5045
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -5026,6 +5132,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5026
5132
|
} | undefined;
|
|
5027
5133
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
5028
5134
|
previousZoom?: number | undefined;
|
|
5135
|
+
defaultData?: {
|
|
5136
|
+
[x: string]: string | number | boolean;
|
|
5137
|
+
[x: number]: string | number | boolean;
|
|
5138
|
+
[x: symbol]: string | number | boolean;
|
|
5139
|
+
} | undefined;
|
|
5029
5140
|
}, {
|
|
5030
5141
|
edgesPositions: {
|
|
5031
5142
|
[x: string]: {
|
|
@@ -5060,10 +5171,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5060
5171
|
y: number;
|
|
5061
5172
|
};
|
|
5062
5173
|
data: {
|
|
5063
|
-
|
|
5064
|
-
|
|
5174
|
+
[x: string]: string | number | boolean;
|
|
5175
|
+
[x: number]: string | number | boolean;
|
|
5176
|
+
[x: symbol]: string | number | boolean;
|
|
5065
5177
|
};
|
|
5066
|
-
input: boolean;
|
|
5067
5178
|
}[];
|
|
5068
5179
|
edges: {
|
|
5069
5180
|
id: string;
|
|
@@ -5093,9 +5204,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5093
5204
|
y1: number;
|
|
5094
5205
|
} | undefined;
|
|
5095
5206
|
selected?: string | undefined;
|
|
5207
|
+
editing?: string | undefined;
|
|
5096
5208
|
updatingUI?: boolean | undefined;
|
|
5097
5209
|
}, string>;
|
|
5098
|
-
readonly
|
|
5210
|
+
readonly selectParent: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
5099
5211
|
CONFIGURE: {
|
|
5100
5212
|
nodes: {
|
|
5101
5213
|
position: {
|
|
@@ -5103,10 +5215,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5103
5215
|
y: number;
|
|
5104
5216
|
};
|
|
5105
5217
|
data: {
|
|
5106
|
-
|
|
5107
|
-
|
|
5218
|
+
[x: string]: string | number | boolean;
|
|
5219
|
+
[x: number]: string | number | boolean;
|
|
5220
|
+
[x: symbol]: string | number | boolean;
|
|
5108
5221
|
};
|
|
5109
|
-
input: boolean;
|
|
5110
5222
|
id: string;
|
|
5111
5223
|
}[];
|
|
5112
5224
|
edges: {
|
|
@@ -5114,6 +5226,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5114
5226
|
to: string;
|
|
5115
5227
|
id: string;
|
|
5116
5228
|
}[];
|
|
5229
|
+
defaultData?: {
|
|
5230
|
+
[x: string]: string | number | boolean;
|
|
5231
|
+
[x: number]: string | number | boolean;
|
|
5232
|
+
[x: symbol]: string | number | boolean;
|
|
5233
|
+
} | undefined;
|
|
5117
5234
|
};
|
|
5118
5235
|
SET_BOARD: {
|
|
5119
5236
|
self: {
|
|
@@ -5146,6 +5263,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5146
5263
|
DELETE: string;
|
|
5147
5264
|
SELECT: string;
|
|
5148
5265
|
DESELECT: never;
|
|
5266
|
+
EDIT: string;
|
|
5267
|
+
STOP_EDIT: never;
|
|
5149
5268
|
ADD_EDGE: {
|
|
5150
5269
|
from: string;
|
|
5151
5270
|
to: string;
|
|
@@ -5158,27 +5277,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5158
5277
|
CLEAR_NEW_EDGE: never;
|
|
5159
5278
|
ZOOM: number;
|
|
5160
5279
|
TOGGLE_ZOOM: never;
|
|
5161
|
-
|
|
5280
|
+
RESIZE: {
|
|
5162
5281
|
id: string;
|
|
5163
|
-
|
|
5282
|
+
size: {
|
|
5164
5283
|
width: number;
|
|
5165
5284
|
height: number;
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
inputOffset?: {
|
|
5175
|
-
x: number;
|
|
5176
|
-
y: number;
|
|
5177
|
-
} | undefined;
|
|
5178
|
-
outputOffset?: {
|
|
5179
|
-
x: number;
|
|
5180
|
-
y: number;
|
|
5181
|
-
} | undefined;
|
|
5285
|
+
};
|
|
5286
|
+
};
|
|
5287
|
+
SET_NODE_DATA: {
|
|
5288
|
+
id: string;
|
|
5289
|
+
data: {
|
|
5290
|
+
[x: string]: string | number | boolean;
|
|
5291
|
+
[x: number]: string | number | boolean;
|
|
5292
|
+
[x: symbol]: string | number | boolean;
|
|
5182
5293
|
};
|
|
5183
5294
|
};
|
|
5184
5295
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -5271,6 +5382,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5271
5382
|
} | undefined;
|
|
5272
5383
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
5273
5384
|
previousZoom?: number | undefined;
|
|
5385
|
+
defaultData?: {
|
|
5386
|
+
[x: string]: string | number | boolean;
|
|
5387
|
+
[x: number]: string | number | boolean;
|
|
5388
|
+
[x: symbol]: string | number | boolean;
|
|
5389
|
+
} | undefined;
|
|
5274
5390
|
}, {
|
|
5275
5391
|
edgesPositions: {
|
|
5276
5392
|
[x: string]: {
|
|
@@ -5305,10 +5421,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5305
5421
|
y: number;
|
|
5306
5422
|
};
|
|
5307
5423
|
data: {
|
|
5308
|
-
|
|
5309
|
-
|
|
5424
|
+
[x: string]: string | number | boolean;
|
|
5425
|
+
[x: number]: string | number | boolean;
|
|
5426
|
+
[x: symbol]: string | number | boolean;
|
|
5310
5427
|
};
|
|
5311
|
-
input: boolean;
|
|
5312
5428
|
}[];
|
|
5313
5429
|
edges: {
|
|
5314
5430
|
id: string;
|
|
@@ -5338,6 +5454,757 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5338
5454
|
y1: number;
|
|
5339
5455
|
} | undefined;
|
|
5340
5456
|
selected?: string | undefined;
|
|
5457
|
+
editing?: string | undefined;
|
|
5458
|
+
updatingUI?: boolean | undefined;
|
|
5459
|
+
}, string>;
|
|
5460
|
+
readonly moveNode: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
5461
|
+
CONFIGURE: {
|
|
5462
|
+
nodes: {
|
|
5463
|
+
position: {
|
|
5464
|
+
x: number;
|
|
5465
|
+
y: number;
|
|
5466
|
+
};
|
|
5467
|
+
data: {
|
|
5468
|
+
[x: string]: string | number | boolean;
|
|
5469
|
+
[x: number]: string | number | boolean;
|
|
5470
|
+
[x: symbol]: string | number | boolean;
|
|
5471
|
+
};
|
|
5472
|
+
id: string;
|
|
5473
|
+
}[];
|
|
5474
|
+
edges: {
|
|
5475
|
+
from: string;
|
|
5476
|
+
to: string;
|
|
5477
|
+
id: string;
|
|
5478
|
+
}[];
|
|
5479
|
+
defaultData?: {
|
|
5480
|
+
[x: string]: string | number | boolean;
|
|
5481
|
+
[x: number]: string | number | boolean;
|
|
5482
|
+
[x: symbol]: string | number | boolean;
|
|
5483
|
+
} | undefined;
|
|
5484
|
+
};
|
|
5485
|
+
SET_BOARD: {
|
|
5486
|
+
self: {
|
|
5487
|
+
left: number;
|
|
5488
|
+
top: number;
|
|
5489
|
+
width: number;
|
|
5490
|
+
height: number;
|
|
5491
|
+
};
|
|
5492
|
+
parent?: {
|
|
5493
|
+
scrollLeft: number;
|
|
5494
|
+
scrollTop: number;
|
|
5495
|
+
height: number;
|
|
5496
|
+
width: number;
|
|
5497
|
+
} | undefined;
|
|
5498
|
+
};
|
|
5499
|
+
CONFIGURE_EMPTY: never;
|
|
5500
|
+
MOVE: {
|
|
5501
|
+
id: string;
|
|
5502
|
+
x: number;
|
|
5503
|
+
y: number;
|
|
5504
|
+
};
|
|
5505
|
+
MOVE_IMMEDIATE: {
|
|
5506
|
+
id: string;
|
|
5507
|
+
x: number;
|
|
5508
|
+
y: number;
|
|
5509
|
+
};
|
|
5510
|
+
ADD_CHILD: string;
|
|
5511
|
+
ADD_PARENT: never;
|
|
5512
|
+
ADD_SIBLING: string;
|
|
5513
|
+
DELETE: string;
|
|
5514
|
+
SELECT: string;
|
|
5515
|
+
DESELECT: never;
|
|
5516
|
+
EDIT: string;
|
|
5517
|
+
STOP_EDIT: never;
|
|
5518
|
+
ADD_EDGE: {
|
|
5519
|
+
from: string;
|
|
5520
|
+
to: string;
|
|
5521
|
+
};
|
|
5522
|
+
START_NEW_EDGE: string;
|
|
5523
|
+
MOVE_NEW_EDGE: {
|
|
5524
|
+
x: number;
|
|
5525
|
+
y: number;
|
|
5526
|
+
};
|
|
5527
|
+
CLEAR_NEW_EDGE: never;
|
|
5528
|
+
ZOOM: number;
|
|
5529
|
+
TOGGLE_ZOOM: never;
|
|
5530
|
+
RESIZE: {
|
|
5531
|
+
id: string;
|
|
5532
|
+
size: {
|
|
5533
|
+
width: number;
|
|
5534
|
+
height: number;
|
|
5535
|
+
};
|
|
5536
|
+
};
|
|
5537
|
+
SET_NODE_DATA: {
|
|
5538
|
+
id: string;
|
|
5539
|
+
data: {
|
|
5540
|
+
[x: string]: string | number | boolean;
|
|
5541
|
+
[x: number]: string | number | boolean;
|
|
5542
|
+
[x: symbol]: string | number | boolean;
|
|
5543
|
+
};
|
|
5544
|
+
};
|
|
5545
|
+
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
5546
|
+
generatedId: string | null;
|
|
5547
|
+
dimensions: {
|
|
5548
|
+
[x: string]: {
|
|
5549
|
+
width: number;
|
|
5550
|
+
height: number;
|
|
5551
|
+
output: {
|
|
5552
|
+
x: number;
|
|
5553
|
+
y: number;
|
|
5554
|
+
};
|
|
5555
|
+
input?: {
|
|
5556
|
+
x: number;
|
|
5557
|
+
y: number;
|
|
5558
|
+
} | undefined;
|
|
5559
|
+
inputOffset?: {
|
|
5560
|
+
x: number;
|
|
5561
|
+
y: number;
|
|
5562
|
+
} | undefined;
|
|
5563
|
+
outputOffset?: {
|
|
5564
|
+
x: number;
|
|
5565
|
+
y: number;
|
|
5566
|
+
} | undefined;
|
|
5567
|
+
};
|
|
5568
|
+
[x: number]: {
|
|
5569
|
+
width: number;
|
|
5570
|
+
height: number;
|
|
5571
|
+
output: {
|
|
5572
|
+
x: number;
|
|
5573
|
+
y: number;
|
|
5574
|
+
};
|
|
5575
|
+
input?: {
|
|
5576
|
+
x: number;
|
|
5577
|
+
y: number;
|
|
5578
|
+
} | undefined;
|
|
5579
|
+
inputOffset?: {
|
|
5580
|
+
x: number;
|
|
5581
|
+
y: number;
|
|
5582
|
+
} | undefined;
|
|
5583
|
+
outputOffset?: {
|
|
5584
|
+
x: number;
|
|
5585
|
+
y: number;
|
|
5586
|
+
} | undefined;
|
|
5587
|
+
};
|
|
5588
|
+
[x: symbol]: {
|
|
5589
|
+
width: number;
|
|
5590
|
+
height: number;
|
|
5591
|
+
output: {
|
|
5592
|
+
x: number;
|
|
5593
|
+
y: number;
|
|
5594
|
+
};
|
|
5595
|
+
input?: {
|
|
5596
|
+
x: number;
|
|
5597
|
+
y: number;
|
|
5598
|
+
} | undefined;
|
|
5599
|
+
inputOffset?: {
|
|
5600
|
+
x: number;
|
|
5601
|
+
y: number;
|
|
5602
|
+
} | undefined;
|
|
5603
|
+
outputOffset?: {
|
|
5604
|
+
x: number;
|
|
5605
|
+
y: number;
|
|
5606
|
+
} | undefined;
|
|
5607
|
+
};
|
|
5608
|
+
};
|
|
5609
|
+
getBoardPosition: (clientX: number, clientY: number, board: Board) => Point;
|
|
5610
|
+
clampPosition: (board: Board, x: number, y: number, nodeWidth?: number, nodeHeight?: number) => Point;
|
|
5611
|
+
calculateDimensions: (position: {
|
|
5612
|
+
x: number;
|
|
5613
|
+
y: number;
|
|
5614
|
+
}, parentDimension?: Pick<{
|
|
5615
|
+
width: number;
|
|
5616
|
+
height: number;
|
|
5617
|
+
output: {
|
|
5618
|
+
x: number;
|
|
5619
|
+
y: number;
|
|
5620
|
+
};
|
|
5621
|
+
input?: {
|
|
5622
|
+
x: number;
|
|
5623
|
+
y: number;
|
|
5624
|
+
} | undefined;
|
|
5625
|
+
inputOffset?: {
|
|
5626
|
+
x: number;
|
|
5627
|
+
y: number;
|
|
5628
|
+
} | undefined;
|
|
5629
|
+
outputOffset?: {
|
|
5630
|
+
x: number;
|
|
5631
|
+
y: number;
|
|
5632
|
+
} | undefined;
|
|
5633
|
+
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
5634
|
+
previousZoom?: number | undefined;
|
|
5635
|
+
defaultData?: {
|
|
5636
|
+
[x: string]: string | number | boolean;
|
|
5637
|
+
[x: number]: string | number | boolean;
|
|
5638
|
+
[x: symbol]: string | number | boolean;
|
|
5639
|
+
} | undefined;
|
|
5640
|
+
}, {
|
|
5641
|
+
edgesPositions: {
|
|
5642
|
+
[x: string]: {
|
|
5643
|
+
x0: number;
|
|
5644
|
+
y0: number;
|
|
5645
|
+
x1: number;
|
|
5646
|
+
y1: number;
|
|
5647
|
+
};
|
|
5648
|
+
[x: number]: {
|
|
5649
|
+
x0: number;
|
|
5650
|
+
y0: number;
|
|
5651
|
+
x1: number;
|
|
5652
|
+
y1: number;
|
|
5653
|
+
};
|
|
5654
|
+
[x: symbol]: {
|
|
5655
|
+
x0: number;
|
|
5656
|
+
y0: number;
|
|
5657
|
+
x1: number;
|
|
5658
|
+
y1: number;
|
|
5659
|
+
};
|
|
5660
|
+
};
|
|
5661
|
+
zoom: number;
|
|
5662
|
+
bounds: {
|
|
5663
|
+
x: number;
|
|
5664
|
+
y: number;
|
|
5665
|
+
};
|
|
5666
|
+
data?: {
|
|
5667
|
+
nodes: {
|
|
5668
|
+
id: string;
|
|
5669
|
+
position: {
|
|
5670
|
+
x: number;
|
|
5671
|
+
y: number;
|
|
5672
|
+
};
|
|
5673
|
+
data: {
|
|
5674
|
+
[x: string]: string | number | boolean;
|
|
5675
|
+
[x: number]: string | number | boolean;
|
|
5676
|
+
[x: symbol]: string | number | boolean;
|
|
5677
|
+
};
|
|
5678
|
+
}[];
|
|
5679
|
+
edges: {
|
|
5680
|
+
id: string;
|
|
5681
|
+
from: string;
|
|
5682
|
+
to: string;
|
|
5683
|
+
}[];
|
|
5684
|
+
} | undefined;
|
|
5685
|
+
board?: {
|
|
5686
|
+
self: {
|
|
5687
|
+
left: number;
|
|
5688
|
+
top: number;
|
|
5689
|
+
width: number;
|
|
5690
|
+
height: number;
|
|
5691
|
+
};
|
|
5692
|
+
parent?: {
|
|
5693
|
+
scrollLeft: number;
|
|
5694
|
+
scrollTop: number;
|
|
5695
|
+
height: number;
|
|
5696
|
+
width: number;
|
|
5697
|
+
} | undefined;
|
|
5698
|
+
} | undefined;
|
|
5699
|
+
newEdge?: {
|
|
5700
|
+
from: string;
|
|
5701
|
+
x0: number;
|
|
5702
|
+
y0: number;
|
|
5703
|
+
x1: number;
|
|
5704
|
+
y1: number;
|
|
5705
|
+
} | undefined;
|
|
5706
|
+
selected?: string | undefined;
|
|
5707
|
+
editing?: string | undefined;
|
|
5708
|
+
updatingUI?: boolean | undefined;
|
|
5709
|
+
}, string>;
|
|
5710
|
+
readonly delete: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
5711
|
+
CONFIGURE: {
|
|
5712
|
+
nodes: {
|
|
5713
|
+
position: {
|
|
5714
|
+
x: number;
|
|
5715
|
+
y: number;
|
|
5716
|
+
};
|
|
5717
|
+
data: {
|
|
5718
|
+
[x: string]: string | number | boolean;
|
|
5719
|
+
[x: number]: string | number | boolean;
|
|
5720
|
+
[x: symbol]: string | number | boolean;
|
|
5721
|
+
};
|
|
5722
|
+
id: string;
|
|
5723
|
+
}[];
|
|
5724
|
+
edges: {
|
|
5725
|
+
from: string;
|
|
5726
|
+
to: string;
|
|
5727
|
+
id: string;
|
|
5728
|
+
}[];
|
|
5729
|
+
defaultData?: {
|
|
5730
|
+
[x: string]: string | number | boolean;
|
|
5731
|
+
[x: number]: string | number | boolean;
|
|
5732
|
+
[x: symbol]: string | number | boolean;
|
|
5733
|
+
} | undefined;
|
|
5734
|
+
};
|
|
5735
|
+
SET_BOARD: {
|
|
5736
|
+
self: {
|
|
5737
|
+
left: number;
|
|
5738
|
+
top: number;
|
|
5739
|
+
width: number;
|
|
5740
|
+
height: number;
|
|
5741
|
+
};
|
|
5742
|
+
parent?: {
|
|
5743
|
+
scrollLeft: number;
|
|
5744
|
+
scrollTop: number;
|
|
5745
|
+
height: number;
|
|
5746
|
+
width: number;
|
|
5747
|
+
} | undefined;
|
|
5748
|
+
};
|
|
5749
|
+
CONFIGURE_EMPTY: never;
|
|
5750
|
+
MOVE: {
|
|
5751
|
+
id: string;
|
|
5752
|
+
x: number;
|
|
5753
|
+
y: number;
|
|
5754
|
+
};
|
|
5755
|
+
MOVE_IMMEDIATE: {
|
|
5756
|
+
id: string;
|
|
5757
|
+
x: number;
|
|
5758
|
+
y: number;
|
|
5759
|
+
};
|
|
5760
|
+
ADD_CHILD: string;
|
|
5761
|
+
ADD_PARENT: never;
|
|
5762
|
+
ADD_SIBLING: string;
|
|
5763
|
+
DELETE: string;
|
|
5764
|
+
SELECT: string;
|
|
5765
|
+
DESELECT: never;
|
|
5766
|
+
EDIT: string;
|
|
5767
|
+
STOP_EDIT: never;
|
|
5768
|
+
ADD_EDGE: {
|
|
5769
|
+
from: string;
|
|
5770
|
+
to: string;
|
|
5771
|
+
};
|
|
5772
|
+
START_NEW_EDGE: string;
|
|
5773
|
+
MOVE_NEW_EDGE: {
|
|
5774
|
+
x: number;
|
|
5775
|
+
y: number;
|
|
5776
|
+
};
|
|
5777
|
+
CLEAR_NEW_EDGE: never;
|
|
5778
|
+
ZOOM: number;
|
|
5779
|
+
TOGGLE_ZOOM: never;
|
|
5780
|
+
RESIZE: {
|
|
5781
|
+
id: string;
|
|
5782
|
+
size: {
|
|
5783
|
+
width: number;
|
|
5784
|
+
height: number;
|
|
5785
|
+
};
|
|
5786
|
+
};
|
|
5787
|
+
SET_NODE_DATA: {
|
|
5788
|
+
id: string;
|
|
5789
|
+
data: {
|
|
5790
|
+
[x: string]: string | number | boolean;
|
|
5791
|
+
[x: number]: string | number | boolean;
|
|
5792
|
+
[x: symbol]: string | number | boolean;
|
|
5793
|
+
};
|
|
5794
|
+
};
|
|
5795
|
+
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
5796
|
+
generatedId: string | null;
|
|
5797
|
+
dimensions: {
|
|
5798
|
+
[x: string]: {
|
|
5799
|
+
width: number;
|
|
5800
|
+
height: number;
|
|
5801
|
+
output: {
|
|
5802
|
+
x: number;
|
|
5803
|
+
y: number;
|
|
5804
|
+
};
|
|
5805
|
+
input?: {
|
|
5806
|
+
x: number;
|
|
5807
|
+
y: number;
|
|
5808
|
+
} | undefined;
|
|
5809
|
+
inputOffset?: {
|
|
5810
|
+
x: number;
|
|
5811
|
+
y: number;
|
|
5812
|
+
} | undefined;
|
|
5813
|
+
outputOffset?: {
|
|
5814
|
+
x: number;
|
|
5815
|
+
y: number;
|
|
5816
|
+
} | undefined;
|
|
5817
|
+
};
|
|
5818
|
+
[x: number]: {
|
|
5819
|
+
width: number;
|
|
5820
|
+
height: number;
|
|
5821
|
+
output: {
|
|
5822
|
+
x: number;
|
|
5823
|
+
y: number;
|
|
5824
|
+
};
|
|
5825
|
+
input?: {
|
|
5826
|
+
x: number;
|
|
5827
|
+
y: number;
|
|
5828
|
+
} | undefined;
|
|
5829
|
+
inputOffset?: {
|
|
5830
|
+
x: number;
|
|
5831
|
+
y: number;
|
|
5832
|
+
} | undefined;
|
|
5833
|
+
outputOffset?: {
|
|
5834
|
+
x: number;
|
|
5835
|
+
y: number;
|
|
5836
|
+
} | undefined;
|
|
5837
|
+
};
|
|
5838
|
+
[x: symbol]: {
|
|
5839
|
+
width: number;
|
|
5840
|
+
height: number;
|
|
5841
|
+
output: {
|
|
5842
|
+
x: number;
|
|
5843
|
+
y: number;
|
|
5844
|
+
};
|
|
5845
|
+
input?: {
|
|
5846
|
+
x: number;
|
|
5847
|
+
y: number;
|
|
5848
|
+
} | undefined;
|
|
5849
|
+
inputOffset?: {
|
|
5850
|
+
x: number;
|
|
5851
|
+
y: number;
|
|
5852
|
+
} | undefined;
|
|
5853
|
+
outputOffset?: {
|
|
5854
|
+
x: number;
|
|
5855
|
+
y: number;
|
|
5856
|
+
} | undefined;
|
|
5857
|
+
};
|
|
5858
|
+
};
|
|
5859
|
+
getBoardPosition: (clientX: number, clientY: number, board: Board) => Point;
|
|
5860
|
+
clampPosition: (board: Board, x: number, y: number, nodeWidth?: number, nodeHeight?: number) => Point;
|
|
5861
|
+
calculateDimensions: (position: {
|
|
5862
|
+
x: number;
|
|
5863
|
+
y: number;
|
|
5864
|
+
}, parentDimension?: Pick<{
|
|
5865
|
+
width: number;
|
|
5866
|
+
height: number;
|
|
5867
|
+
output: {
|
|
5868
|
+
x: number;
|
|
5869
|
+
y: number;
|
|
5870
|
+
};
|
|
5871
|
+
input?: {
|
|
5872
|
+
x: number;
|
|
5873
|
+
y: number;
|
|
5874
|
+
} | undefined;
|
|
5875
|
+
inputOffset?: {
|
|
5876
|
+
x: number;
|
|
5877
|
+
y: number;
|
|
5878
|
+
} | undefined;
|
|
5879
|
+
outputOffset?: {
|
|
5880
|
+
x: number;
|
|
5881
|
+
y: number;
|
|
5882
|
+
} | undefined;
|
|
5883
|
+
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
5884
|
+
previousZoom?: number | undefined;
|
|
5885
|
+
defaultData?: {
|
|
5886
|
+
[x: string]: string | number | boolean;
|
|
5887
|
+
[x: number]: string | number | boolean;
|
|
5888
|
+
[x: symbol]: string | number | boolean;
|
|
5889
|
+
} | undefined;
|
|
5890
|
+
}, {
|
|
5891
|
+
edgesPositions: {
|
|
5892
|
+
[x: string]: {
|
|
5893
|
+
x0: number;
|
|
5894
|
+
y0: number;
|
|
5895
|
+
x1: number;
|
|
5896
|
+
y1: number;
|
|
5897
|
+
};
|
|
5898
|
+
[x: number]: {
|
|
5899
|
+
x0: number;
|
|
5900
|
+
y0: number;
|
|
5901
|
+
x1: number;
|
|
5902
|
+
y1: number;
|
|
5903
|
+
};
|
|
5904
|
+
[x: symbol]: {
|
|
5905
|
+
x0: number;
|
|
5906
|
+
y0: number;
|
|
5907
|
+
x1: number;
|
|
5908
|
+
y1: number;
|
|
5909
|
+
};
|
|
5910
|
+
};
|
|
5911
|
+
zoom: number;
|
|
5912
|
+
bounds: {
|
|
5913
|
+
x: number;
|
|
5914
|
+
y: number;
|
|
5915
|
+
};
|
|
5916
|
+
data?: {
|
|
5917
|
+
nodes: {
|
|
5918
|
+
id: string;
|
|
5919
|
+
position: {
|
|
5920
|
+
x: number;
|
|
5921
|
+
y: number;
|
|
5922
|
+
};
|
|
5923
|
+
data: {
|
|
5924
|
+
[x: string]: string | number | boolean;
|
|
5925
|
+
[x: number]: string | number | boolean;
|
|
5926
|
+
[x: symbol]: string | number | boolean;
|
|
5927
|
+
};
|
|
5928
|
+
}[];
|
|
5929
|
+
edges: {
|
|
5930
|
+
id: string;
|
|
5931
|
+
from: string;
|
|
5932
|
+
to: string;
|
|
5933
|
+
}[];
|
|
5934
|
+
} | undefined;
|
|
5935
|
+
board?: {
|
|
5936
|
+
self: {
|
|
5937
|
+
left: number;
|
|
5938
|
+
top: number;
|
|
5939
|
+
width: number;
|
|
5940
|
+
height: number;
|
|
5941
|
+
};
|
|
5942
|
+
parent?: {
|
|
5943
|
+
scrollLeft: number;
|
|
5944
|
+
scrollTop: number;
|
|
5945
|
+
height: number;
|
|
5946
|
+
width: number;
|
|
5947
|
+
} | undefined;
|
|
5948
|
+
} | undefined;
|
|
5949
|
+
newEdge?: {
|
|
5950
|
+
from: string;
|
|
5951
|
+
x0: number;
|
|
5952
|
+
y0: number;
|
|
5953
|
+
x1: number;
|
|
5954
|
+
y1: number;
|
|
5955
|
+
} | undefined;
|
|
5956
|
+
selected?: string | undefined;
|
|
5957
|
+
editing?: string | undefined;
|
|
5958
|
+
updatingUI?: boolean | undefined;
|
|
5959
|
+
}, string>;
|
|
5960
|
+
readonly addEdge: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
5961
|
+
CONFIGURE: {
|
|
5962
|
+
nodes: {
|
|
5963
|
+
position: {
|
|
5964
|
+
x: number;
|
|
5965
|
+
y: number;
|
|
5966
|
+
};
|
|
5967
|
+
data: {
|
|
5968
|
+
[x: string]: string | number | boolean;
|
|
5969
|
+
[x: number]: string | number | boolean;
|
|
5970
|
+
[x: symbol]: string | number | boolean;
|
|
5971
|
+
};
|
|
5972
|
+
id: string;
|
|
5973
|
+
}[];
|
|
5974
|
+
edges: {
|
|
5975
|
+
from: string;
|
|
5976
|
+
to: string;
|
|
5977
|
+
id: string;
|
|
5978
|
+
}[];
|
|
5979
|
+
defaultData?: {
|
|
5980
|
+
[x: string]: string | number | boolean;
|
|
5981
|
+
[x: number]: string | number | boolean;
|
|
5982
|
+
[x: symbol]: string | number | boolean;
|
|
5983
|
+
} | undefined;
|
|
5984
|
+
};
|
|
5985
|
+
SET_BOARD: {
|
|
5986
|
+
self: {
|
|
5987
|
+
left: number;
|
|
5988
|
+
top: number;
|
|
5989
|
+
width: number;
|
|
5990
|
+
height: number;
|
|
5991
|
+
};
|
|
5992
|
+
parent?: {
|
|
5993
|
+
scrollLeft: number;
|
|
5994
|
+
scrollTop: number;
|
|
5995
|
+
height: number;
|
|
5996
|
+
width: number;
|
|
5997
|
+
} | undefined;
|
|
5998
|
+
};
|
|
5999
|
+
CONFIGURE_EMPTY: never;
|
|
6000
|
+
MOVE: {
|
|
6001
|
+
id: string;
|
|
6002
|
+
x: number;
|
|
6003
|
+
y: number;
|
|
6004
|
+
};
|
|
6005
|
+
MOVE_IMMEDIATE: {
|
|
6006
|
+
id: string;
|
|
6007
|
+
x: number;
|
|
6008
|
+
y: number;
|
|
6009
|
+
};
|
|
6010
|
+
ADD_CHILD: string;
|
|
6011
|
+
ADD_PARENT: never;
|
|
6012
|
+
ADD_SIBLING: string;
|
|
6013
|
+
DELETE: string;
|
|
6014
|
+
SELECT: string;
|
|
6015
|
+
DESELECT: never;
|
|
6016
|
+
EDIT: string;
|
|
6017
|
+
STOP_EDIT: never;
|
|
6018
|
+
ADD_EDGE: {
|
|
6019
|
+
from: string;
|
|
6020
|
+
to: string;
|
|
6021
|
+
};
|
|
6022
|
+
START_NEW_EDGE: string;
|
|
6023
|
+
MOVE_NEW_EDGE: {
|
|
6024
|
+
x: number;
|
|
6025
|
+
y: number;
|
|
6026
|
+
};
|
|
6027
|
+
CLEAR_NEW_EDGE: never;
|
|
6028
|
+
ZOOM: number;
|
|
6029
|
+
TOGGLE_ZOOM: never;
|
|
6030
|
+
RESIZE: {
|
|
6031
|
+
id: string;
|
|
6032
|
+
size: {
|
|
6033
|
+
width: number;
|
|
6034
|
+
height: number;
|
|
6035
|
+
};
|
|
6036
|
+
};
|
|
6037
|
+
SET_NODE_DATA: {
|
|
6038
|
+
id: string;
|
|
6039
|
+
data: {
|
|
6040
|
+
[x: string]: string | number | boolean;
|
|
6041
|
+
[x: number]: string | number | boolean;
|
|
6042
|
+
[x: symbol]: string | number | boolean;
|
|
6043
|
+
};
|
|
6044
|
+
};
|
|
6045
|
+
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
6046
|
+
generatedId: string | null;
|
|
6047
|
+
dimensions: {
|
|
6048
|
+
[x: string]: {
|
|
6049
|
+
width: number;
|
|
6050
|
+
height: number;
|
|
6051
|
+
output: {
|
|
6052
|
+
x: number;
|
|
6053
|
+
y: number;
|
|
6054
|
+
};
|
|
6055
|
+
input?: {
|
|
6056
|
+
x: number;
|
|
6057
|
+
y: number;
|
|
6058
|
+
} | undefined;
|
|
6059
|
+
inputOffset?: {
|
|
6060
|
+
x: number;
|
|
6061
|
+
y: number;
|
|
6062
|
+
} | undefined;
|
|
6063
|
+
outputOffset?: {
|
|
6064
|
+
x: number;
|
|
6065
|
+
y: number;
|
|
6066
|
+
} | undefined;
|
|
6067
|
+
};
|
|
6068
|
+
[x: number]: {
|
|
6069
|
+
width: number;
|
|
6070
|
+
height: number;
|
|
6071
|
+
output: {
|
|
6072
|
+
x: number;
|
|
6073
|
+
y: number;
|
|
6074
|
+
};
|
|
6075
|
+
input?: {
|
|
6076
|
+
x: number;
|
|
6077
|
+
y: number;
|
|
6078
|
+
} | undefined;
|
|
6079
|
+
inputOffset?: {
|
|
6080
|
+
x: number;
|
|
6081
|
+
y: number;
|
|
6082
|
+
} | undefined;
|
|
6083
|
+
outputOffset?: {
|
|
6084
|
+
x: number;
|
|
6085
|
+
y: number;
|
|
6086
|
+
} | undefined;
|
|
6087
|
+
};
|
|
6088
|
+
[x: symbol]: {
|
|
6089
|
+
width: number;
|
|
6090
|
+
height: number;
|
|
6091
|
+
output: {
|
|
6092
|
+
x: number;
|
|
6093
|
+
y: number;
|
|
6094
|
+
};
|
|
6095
|
+
input?: {
|
|
6096
|
+
x: number;
|
|
6097
|
+
y: number;
|
|
6098
|
+
} | undefined;
|
|
6099
|
+
inputOffset?: {
|
|
6100
|
+
x: number;
|
|
6101
|
+
y: number;
|
|
6102
|
+
} | undefined;
|
|
6103
|
+
outputOffset?: {
|
|
6104
|
+
x: number;
|
|
6105
|
+
y: number;
|
|
6106
|
+
} | undefined;
|
|
6107
|
+
};
|
|
6108
|
+
};
|
|
6109
|
+
getBoardPosition: (clientX: number, clientY: number, board: Board) => Point;
|
|
6110
|
+
clampPosition: (board: Board, x: number, y: number, nodeWidth?: number, nodeHeight?: number) => Point;
|
|
6111
|
+
calculateDimensions: (position: {
|
|
6112
|
+
x: number;
|
|
6113
|
+
y: number;
|
|
6114
|
+
}, parentDimension?: Pick<{
|
|
6115
|
+
width: number;
|
|
6116
|
+
height: number;
|
|
6117
|
+
output: {
|
|
6118
|
+
x: number;
|
|
6119
|
+
y: number;
|
|
6120
|
+
};
|
|
6121
|
+
input?: {
|
|
6122
|
+
x: number;
|
|
6123
|
+
y: number;
|
|
6124
|
+
} | undefined;
|
|
6125
|
+
inputOffset?: {
|
|
6126
|
+
x: number;
|
|
6127
|
+
y: number;
|
|
6128
|
+
} | undefined;
|
|
6129
|
+
outputOffset?: {
|
|
6130
|
+
x: number;
|
|
6131
|
+
y: number;
|
|
6132
|
+
} | undefined;
|
|
6133
|
+
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
6134
|
+
previousZoom?: number | undefined;
|
|
6135
|
+
defaultData?: {
|
|
6136
|
+
[x: string]: string | number | boolean;
|
|
6137
|
+
[x: number]: string | number | boolean;
|
|
6138
|
+
[x: symbol]: string | number | boolean;
|
|
6139
|
+
} | undefined;
|
|
6140
|
+
}, {
|
|
6141
|
+
edgesPositions: {
|
|
6142
|
+
[x: string]: {
|
|
6143
|
+
x0: number;
|
|
6144
|
+
y0: number;
|
|
6145
|
+
x1: number;
|
|
6146
|
+
y1: number;
|
|
6147
|
+
};
|
|
6148
|
+
[x: number]: {
|
|
6149
|
+
x0: number;
|
|
6150
|
+
y0: number;
|
|
6151
|
+
x1: number;
|
|
6152
|
+
y1: number;
|
|
6153
|
+
};
|
|
6154
|
+
[x: symbol]: {
|
|
6155
|
+
x0: number;
|
|
6156
|
+
y0: number;
|
|
6157
|
+
x1: number;
|
|
6158
|
+
y1: number;
|
|
6159
|
+
};
|
|
6160
|
+
};
|
|
6161
|
+
zoom: number;
|
|
6162
|
+
bounds: {
|
|
6163
|
+
x: number;
|
|
6164
|
+
y: number;
|
|
6165
|
+
};
|
|
6166
|
+
data?: {
|
|
6167
|
+
nodes: {
|
|
6168
|
+
id: string;
|
|
6169
|
+
position: {
|
|
6170
|
+
x: number;
|
|
6171
|
+
y: number;
|
|
6172
|
+
};
|
|
6173
|
+
data: {
|
|
6174
|
+
[x: string]: string | number | boolean;
|
|
6175
|
+
[x: number]: string | number | boolean;
|
|
6176
|
+
[x: symbol]: string | number | boolean;
|
|
6177
|
+
};
|
|
6178
|
+
}[];
|
|
6179
|
+
edges: {
|
|
6180
|
+
id: string;
|
|
6181
|
+
from: string;
|
|
6182
|
+
to: string;
|
|
6183
|
+
}[];
|
|
6184
|
+
} | undefined;
|
|
6185
|
+
board?: {
|
|
6186
|
+
self: {
|
|
6187
|
+
left: number;
|
|
6188
|
+
top: number;
|
|
6189
|
+
width: number;
|
|
6190
|
+
height: number;
|
|
6191
|
+
};
|
|
6192
|
+
parent?: {
|
|
6193
|
+
scrollLeft: number;
|
|
6194
|
+
scrollTop: number;
|
|
6195
|
+
height: number;
|
|
6196
|
+
width: number;
|
|
6197
|
+
} | undefined;
|
|
6198
|
+
} | undefined;
|
|
6199
|
+
newEdge?: {
|
|
6200
|
+
from: string;
|
|
6201
|
+
x0: number;
|
|
6202
|
+
y0: number;
|
|
6203
|
+
x1: number;
|
|
6204
|
+
y1: number;
|
|
6205
|
+
} | undefined;
|
|
6206
|
+
selected?: string | undefined;
|
|
6207
|
+
editing?: string | undefined;
|
|
5341
6208
|
updatingUI?: boolean | undefined;
|
|
5342
6209
|
}, string>;
|
|
5343
6210
|
readonly zoom: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
@@ -5348,10 +6215,760 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5348
6215
|
y: number;
|
|
5349
6216
|
};
|
|
5350
6217
|
data: {
|
|
5351
|
-
|
|
5352
|
-
|
|
6218
|
+
[x: string]: string | number | boolean;
|
|
6219
|
+
[x: number]: string | number | boolean;
|
|
6220
|
+
[x: symbol]: string | number | boolean;
|
|
6221
|
+
};
|
|
6222
|
+
id: string;
|
|
6223
|
+
}[];
|
|
6224
|
+
edges: {
|
|
6225
|
+
from: string;
|
|
6226
|
+
to: string;
|
|
6227
|
+
id: string;
|
|
6228
|
+
}[];
|
|
6229
|
+
defaultData?: {
|
|
6230
|
+
[x: string]: string | number | boolean;
|
|
6231
|
+
[x: number]: string | number | boolean;
|
|
6232
|
+
[x: symbol]: string | number | boolean;
|
|
6233
|
+
} | undefined;
|
|
6234
|
+
};
|
|
6235
|
+
SET_BOARD: {
|
|
6236
|
+
self: {
|
|
6237
|
+
left: number;
|
|
6238
|
+
top: number;
|
|
6239
|
+
width: number;
|
|
6240
|
+
height: number;
|
|
6241
|
+
};
|
|
6242
|
+
parent?: {
|
|
6243
|
+
scrollLeft: number;
|
|
6244
|
+
scrollTop: number;
|
|
6245
|
+
height: number;
|
|
6246
|
+
width: number;
|
|
6247
|
+
} | undefined;
|
|
6248
|
+
};
|
|
6249
|
+
CONFIGURE_EMPTY: never;
|
|
6250
|
+
MOVE: {
|
|
6251
|
+
id: string;
|
|
6252
|
+
x: number;
|
|
6253
|
+
y: number;
|
|
6254
|
+
};
|
|
6255
|
+
MOVE_IMMEDIATE: {
|
|
6256
|
+
id: string;
|
|
6257
|
+
x: number;
|
|
6258
|
+
y: number;
|
|
6259
|
+
};
|
|
6260
|
+
ADD_CHILD: string;
|
|
6261
|
+
ADD_PARENT: never;
|
|
6262
|
+
ADD_SIBLING: string;
|
|
6263
|
+
DELETE: string;
|
|
6264
|
+
SELECT: string;
|
|
6265
|
+
DESELECT: never;
|
|
6266
|
+
EDIT: string;
|
|
6267
|
+
STOP_EDIT: never;
|
|
6268
|
+
ADD_EDGE: {
|
|
6269
|
+
from: string;
|
|
6270
|
+
to: string;
|
|
6271
|
+
};
|
|
6272
|
+
START_NEW_EDGE: string;
|
|
6273
|
+
MOVE_NEW_EDGE: {
|
|
6274
|
+
x: number;
|
|
6275
|
+
y: number;
|
|
6276
|
+
};
|
|
6277
|
+
CLEAR_NEW_EDGE: never;
|
|
6278
|
+
ZOOM: number;
|
|
6279
|
+
TOGGLE_ZOOM: never;
|
|
6280
|
+
RESIZE: {
|
|
6281
|
+
id: string;
|
|
6282
|
+
size: {
|
|
6283
|
+
width: number;
|
|
6284
|
+
height: number;
|
|
6285
|
+
};
|
|
6286
|
+
};
|
|
6287
|
+
SET_NODE_DATA: {
|
|
6288
|
+
id: string;
|
|
6289
|
+
data: {
|
|
6290
|
+
[x: string]: string | number | boolean;
|
|
6291
|
+
[x: number]: string | number | boolean;
|
|
6292
|
+
[x: symbol]: string | number | boolean;
|
|
6293
|
+
};
|
|
6294
|
+
};
|
|
6295
|
+
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
6296
|
+
generatedId: string | null;
|
|
6297
|
+
dimensions: {
|
|
6298
|
+
[x: string]: {
|
|
6299
|
+
width: number;
|
|
6300
|
+
height: number;
|
|
6301
|
+
output: {
|
|
6302
|
+
x: number;
|
|
6303
|
+
y: number;
|
|
6304
|
+
};
|
|
6305
|
+
input?: {
|
|
6306
|
+
x: number;
|
|
6307
|
+
y: number;
|
|
6308
|
+
} | undefined;
|
|
6309
|
+
inputOffset?: {
|
|
6310
|
+
x: number;
|
|
6311
|
+
y: number;
|
|
6312
|
+
} | undefined;
|
|
6313
|
+
outputOffset?: {
|
|
6314
|
+
x: number;
|
|
6315
|
+
y: number;
|
|
6316
|
+
} | undefined;
|
|
6317
|
+
};
|
|
6318
|
+
[x: number]: {
|
|
6319
|
+
width: number;
|
|
6320
|
+
height: number;
|
|
6321
|
+
output: {
|
|
6322
|
+
x: number;
|
|
6323
|
+
y: number;
|
|
6324
|
+
};
|
|
6325
|
+
input?: {
|
|
6326
|
+
x: number;
|
|
6327
|
+
y: number;
|
|
6328
|
+
} | undefined;
|
|
6329
|
+
inputOffset?: {
|
|
6330
|
+
x: number;
|
|
6331
|
+
y: number;
|
|
6332
|
+
} | undefined;
|
|
6333
|
+
outputOffset?: {
|
|
6334
|
+
x: number;
|
|
6335
|
+
y: number;
|
|
6336
|
+
} | undefined;
|
|
6337
|
+
};
|
|
6338
|
+
[x: symbol]: {
|
|
6339
|
+
width: number;
|
|
6340
|
+
height: number;
|
|
6341
|
+
output: {
|
|
6342
|
+
x: number;
|
|
6343
|
+
y: number;
|
|
6344
|
+
};
|
|
6345
|
+
input?: {
|
|
6346
|
+
x: number;
|
|
6347
|
+
y: number;
|
|
6348
|
+
} | undefined;
|
|
6349
|
+
inputOffset?: {
|
|
6350
|
+
x: number;
|
|
6351
|
+
y: number;
|
|
6352
|
+
} | undefined;
|
|
6353
|
+
outputOffset?: {
|
|
6354
|
+
x: number;
|
|
6355
|
+
y: number;
|
|
6356
|
+
} | undefined;
|
|
6357
|
+
};
|
|
6358
|
+
};
|
|
6359
|
+
getBoardPosition: (clientX: number, clientY: number, board: Board) => Point;
|
|
6360
|
+
clampPosition: (board: Board, x: number, y: number, nodeWidth?: number, nodeHeight?: number) => Point;
|
|
6361
|
+
calculateDimensions: (position: {
|
|
6362
|
+
x: number;
|
|
6363
|
+
y: number;
|
|
6364
|
+
}, parentDimension?: Pick<{
|
|
6365
|
+
width: number;
|
|
6366
|
+
height: number;
|
|
6367
|
+
output: {
|
|
6368
|
+
x: number;
|
|
6369
|
+
y: number;
|
|
6370
|
+
};
|
|
6371
|
+
input?: {
|
|
6372
|
+
x: number;
|
|
6373
|
+
y: number;
|
|
6374
|
+
} | undefined;
|
|
6375
|
+
inputOffset?: {
|
|
6376
|
+
x: number;
|
|
6377
|
+
y: number;
|
|
6378
|
+
} | undefined;
|
|
6379
|
+
outputOffset?: {
|
|
6380
|
+
x: number;
|
|
6381
|
+
y: number;
|
|
6382
|
+
} | undefined;
|
|
6383
|
+
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
6384
|
+
previousZoom?: number | undefined;
|
|
6385
|
+
defaultData?: {
|
|
6386
|
+
[x: string]: string | number | boolean;
|
|
6387
|
+
[x: number]: string | number | boolean;
|
|
6388
|
+
[x: symbol]: string | number | boolean;
|
|
6389
|
+
} | undefined;
|
|
6390
|
+
}, {
|
|
6391
|
+
edgesPositions: {
|
|
6392
|
+
[x: string]: {
|
|
6393
|
+
x0: number;
|
|
6394
|
+
y0: number;
|
|
6395
|
+
x1: number;
|
|
6396
|
+
y1: number;
|
|
6397
|
+
};
|
|
6398
|
+
[x: number]: {
|
|
6399
|
+
x0: number;
|
|
6400
|
+
y0: number;
|
|
6401
|
+
x1: number;
|
|
6402
|
+
y1: number;
|
|
6403
|
+
};
|
|
6404
|
+
[x: symbol]: {
|
|
6405
|
+
x0: number;
|
|
6406
|
+
y0: number;
|
|
6407
|
+
x1: number;
|
|
6408
|
+
y1: number;
|
|
6409
|
+
};
|
|
6410
|
+
};
|
|
6411
|
+
zoom: number;
|
|
6412
|
+
bounds: {
|
|
6413
|
+
x: number;
|
|
6414
|
+
y: number;
|
|
6415
|
+
};
|
|
6416
|
+
data?: {
|
|
6417
|
+
nodes: {
|
|
6418
|
+
id: string;
|
|
6419
|
+
position: {
|
|
6420
|
+
x: number;
|
|
6421
|
+
y: number;
|
|
6422
|
+
};
|
|
6423
|
+
data: {
|
|
6424
|
+
[x: string]: string | number | boolean;
|
|
6425
|
+
[x: number]: string | number | boolean;
|
|
6426
|
+
[x: symbol]: string | number | boolean;
|
|
6427
|
+
};
|
|
6428
|
+
}[];
|
|
6429
|
+
edges: {
|
|
6430
|
+
id: string;
|
|
6431
|
+
from: string;
|
|
6432
|
+
to: string;
|
|
6433
|
+
}[];
|
|
6434
|
+
} | undefined;
|
|
6435
|
+
board?: {
|
|
6436
|
+
self: {
|
|
6437
|
+
left: number;
|
|
6438
|
+
top: number;
|
|
6439
|
+
width: number;
|
|
6440
|
+
height: number;
|
|
6441
|
+
};
|
|
6442
|
+
parent?: {
|
|
6443
|
+
scrollLeft: number;
|
|
6444
|
+
scrollTop: number;
|
|
6445
|
+
height: number;
|
|
6446
|
+
width: number;
|
|
6447
|
+
} | undefined;
|
|
6448
|
+
} | undefined;
|
|
6449
|
+
newEdge?: {
|
|
6450
|
+
from: string;
|
|
6451
|
+
x0: number;
|
|
6452
|
+
y0: number;
|
|
6453
|
+
x1: number;
|
|
6454
|
+
y1: number;
|
|
6455
|
+
} | undefined;
|
|
6456
|
+
selected?: string | undefined;
|
|
6457
|
+
editing?: string | undefined;
|
|
6458
|
+
updatingUI?: boolean | undefined;
|
|
6459
|
+
}, string>;
|
|
6460
|
+
readonly toggleZoom: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
6461
|
+
CONFIGURE: {
|
|
6462
|
+
nodes: {
|
|
6463
|
+
position: {
|
|
6464
|
+
x: number;
|
|
6465
|
+
y: number;
|
|
6466
|
+
};
|
|
6467
|
+
data: {
|
|
6468
|
+
[x: string]: string | number | boolean;
|
|
6469
|
+
[x: number]: string | number | boolean;
|
|
6470
|
+
[x: symbol]: string | number | boolean;
|
|
6471
|
+
};
|
|
6472
|
+
id: string;
|
|
6473
|
+
}[];
|
|
6474
|
+
edges: {
|
|
6475
|
+
from: string;
|
|
6476
|
+
to: string;
|
|
6477
|
+
id: string;
|
|
6478
|
+
}[];
|
|
6479
|
+
defaultData?: {
|
|
6480
|
+
[x: string]: string | number | boolean;
|
|
6481
|
+
[x: number]: string | number | boolean;
|
|
6482
|
+
[x: symbol]: string | number | boolean;
|
|
6483
|
+
} | undefined;
|
|
6484
|
+
};
|
|
6485
|
+
SET_BOARD: {
|
|
6486
|
+
self: {
|
|
6487
|
+
left: number;
|
|
6488
|
+
top: number;
|
|
6489
|
+
width: number;
|
|
6490
|
+
height: number;
|
|
6491
|
+
};
|
|
6492
|
+
parent?: {
|
|
6493
|
+
scrollLeft: number;
|
|
6494
|
+
scrollTop: number;
|
|
6495
|
+
height: number;
|
|
6496
|
+
width: number;
|
|
6497
|
+
} | undefined;
|
|
6498
|
+
};
|
|
6499
|
+
CONFIGURE_EMPTY: never;
|
|
6500
|
+
MOVE: {
|
|
6501
|
+
id: string;
|
|
6502
|
+
x: number;
|
|
6503
|
+
y: number;
|
|
6504
|
+
};
|
|
6505
|
+
MOVE_IMMEDIATE: {
|
|
6506
|
+
id: string;
|
|
6507
|
+
x: number;
|
|
6508
|
+
y: number;
|
|
6509
|
+
};
|
|
6510
|
+
ADD_CHILD: string;
|
|
6511
|
+
ADD_PARENT: never;
|
|
6512
|
+
ADD_SIBLING: string;
|
|
6513
|
+
DELETE: string;
|
|
6514
|
+
SELECT: string;
|
|
6515
|
+
DESELECT: never;
|
|
6516
|
+
EDIT: string;
|
|
6517
|
+
STOP_EDIT: never;
|
|
6518
|
+
ADD_EDGE: {
|
|
6519
|
+
from: string;
|
|
6520
|
+
to: string;
|
|
6521
|
+
};
|
|
6522
|
+
START_NEW_EDGE: string;
|
|
6523
|
+
MOVE_NEW_EDGE: {
|
|
6524
|
+
x: number;
|
|
6525
|
+
y: number;
|
|
6526
|
+
};
|
|
6527
|
+
CLEAR_NEW_EDGE: never;
|
|
6528
|
+
ZOOM: number;
|
|
6529
|
+
TOGGLE_ZOOM: never;
|
|
6530
|
+
RESIZE: {
|
|
6531
|
+
id: string;
|
|
6532
|
+
size: {
|
|
6533
|
+
width: number;
|
|
6534
|
+
height: number;
|
|
6535
|
+
};
|
|
6536
|
+
};
|
|
6537
|
+
SET_NODE_DATA: {
|
|
6538
|
+
id: string;
|
|
6539
|
+
data: {
|
|
6540
|
+
[x: string]: string | number | boolean;
|
|
6541
|
+
[x: number]: string | number | boolean;
|
|
6542
|
+
[x: symbol]: string | number | boolean;
|
|
6543
|
+
};
|
|
6544
|
+
};
|
|
6545
|
+
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
6546
|
+
generatedId: string | null;
|
|
6547
|
+
dimensions: {
|
|
6548
|
+
[x: string]: {
|
|
6549
|
+
width: number;
|
|
6550
|
+
height: number;
|
|
6551
|
+
output: {
|
|
6552
|
+
x: number;
|
|
6553
|
+
y: number;
|
|
6554
|
+
};
|
|
6555
|
+
input?: {
|
|
6556
|
+
x: number;
|
|
6557
|
+
y: number;
|
|
6558
|
+
} | undefined;
|
|
6559
|
+
inputOffset?: {
|
|
6560
|
+
x: number;
|
|
6561
|
+
y: number;
|
|
6562
|
+
} | undefined;
|
|
6563
|
+
outputOffset?: {
|
|
6564
|
+
x: number;
|
|
6565
|
+
y: number;
|
|
6566
|
+
} | undefined;
|
|
6567
|
+
};
|
|
6568
|
+
[x: number]: {
|
|
6569
|
+
width: number;
|
|
6570
|
+
height: number;
|
|
6571
|
+
output: {
|
|
6572
|
+
x: number;
|
|
6573
|
+
y: number;
|
|
6574
|
+
};
|
|
6575
|
+
input?: {
|
|
6576
|
+
x: number;
|
|
6577
|
+
y: number;
|
|
6578
|
+
} | undefined;
|
|
6579
|
+
inputOffset?: {
|
|
6580
|
+
x: number;
|
|
6581
|
+
y: number;
|
|
6582
|
+
} | undefined;
|
|
6583
|
+
outputOffset?: {
|
|
6584
|
+
x: number;
|
|
6585
|
+
y: number;
|
|
6586
|
+
} | undefined;
|
|
6587
|
+
};
|
|
6588
|
+
[x: symbol]: {
|
|
6589
|
+
width: number;
|
|
6590
|
+
height: number;
|
|
6591
|
+
output: {
|
|
6592
|
+
x: number;
|
|
6593
|
+
y: number;
|
|
6594
|
+
};
|
|
6595
|
+
input?: {
|
|
6596
|
+
x: number;
|
|
6597
|
+
y: number;
|
|
6598
|
+
} | undefined;
|
|
6599
|
+
inputOffset?: {
|
|
6600
|
+
x: number;
|
|
6601
|
+
y: number;
|
|
6602
|
+
} | undefined;
|
|
6603
|
+
outputOffset?: {
|
|
6604
|
+
x: number;
|
|
6605
|
+
y: number;
|
|
6606
|
+
} | undefined;
|
|
6607
|
+
};
|
|
6608
|
+
};
|
|
6609
|
+
getBoardPosition: (clientX: number, clientY: number, board: Board) => Point;
|
|
6610
|
+
clampPosition: (board: Board, x: number, y: number, nodeWidth?: number, nodeHeight?: number) => Point;
|
|
6611
|
+
calculateDimensions: (position: {
|
|
6612
|
+
x: number;
|
|
6613
|
+
y: number;
|
|
6614
|
+
}, parentDimension?: Pick<{
|
|
6615
|
+
width: number;
|
|
6616
|
+
height: number;
|
|
6617
|
+
output: {
|
|
6618
|
+
x: number;
|
|
6619
|
+
y: number;
|
|
6620
|
+
};
|
|
6621
|
+
input?: {
|
|
6622
|
+
x: number;
|
|
6623
|
+
y: number;
|
|
6624
|
+
} | undefined;
|
|
6625
|
+
inputOffset?: {
|
|
6626
|
+
x: number;
|
|
6627
|
+
y: number;
|
|
6628
|
+
} | undefined;
|
|
6629
|
+
outputOffset?: {
|
|
6630
|
+
x: number;
|
|
6631
|
+
y: number;
|
|
6632
|
+
} | undefined;
|
|
6633
|
+
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
6634
|
+
previousZoom?: number | undefined;
|
|
6635
|
+
defaultData?: {
|
|
6636
|
+
[x: string]: string | number | boolean;
|
|
6637
|
+
[x: number]: string | number | boolean;
|
|
6638
|
+
[x: symbol]: string | number | boolean;
|
|
6639
|
+
} | undefined;
|
|
6640
|
+
}, {
|
|
6641
|
+
edgesPositions: {
|
|
6642
|
+
[x: string]: {
|
|
6643
|
+
x0: number;
|
|
6644
|
+
y0: number;
|
|
6645
|
+
x1: number;
|
|
6646
|
+
y1: number;
|
|
6647
|
+
};
|
|
6648
|
+
[x: number]: {
|
|
6649
|
+
x0: number;
|
|
6650
|
+
y0: number;
|
|
6651
|
+
x1: number;
|
|
6652
|
+
y1: number;
|
|
6653
|
+
};
|
|
6654
|
+
[x: symbol]: {
|
|
6655
|
+
x0: number;
|
|
6656
|
+
y0: number;
|
|
6657
|
+
x1: number;
|
|
6658
|
+
y1: number;
|
|
6659
|
+
};
|
|
6660
|
+
};
|
|
6661
|
+
zoom: number;
|
|
6662
|
+
bounds: {
|
|
6663
|
+
x: number;
|
|
6664
|
+
y: number;
|
|
6665
|
+
};
|
|
6666
|
+
data?: {
|
|
6667
|
+
nodes: {
|
|
6668
|
+
id: string;
|
|
6669
|
+
position: {
|
|
6670
|
+
x: number;
|
|
6671
|
+
y: number;
|
|
6672
|
+
};
|
|
6673
|
+
data: {
|
|
6674
|
+
[x: string]: string | number | boolean;
|
|
6675
|
+
[x: number]: string | number | boolean;
|
|
6676
|
+
[x: symbol]: string | number | boolean;
|
|
6677
|
+
};
|
|
6678
|
+
}[];
|
|
6679
|
+
edges: {
|
|
6680
|
+
id: string;
|
|
6681
|
+
from: string;
|
|
6682
|
+
to: string;
|
|
6683
|
+
}[];
|
|
6684
|
+
} | undefined;
|
|
6685
|
+
board?: {
|
|
6686
|
+
self: {
|
|
6687
|
+
left: number;
|
|
6688
|
+
top: number;
|
|
6689
|
+
width: number;
|
|
6690
|
+
height: number;
|
|
6691
|
+
};
|
|
6692
|
+
parent?: {
|
|
6693
|
+
scrollLeft: number;
|
|
6694
|
+
scrollTop: number;
|
|
6695
|
+
height: number;
|
|
6696
|
+
width: number;
|
|
6697
|
+
} | undefined;
|
|
6698
|
+
} | undefined;
|
|
6699
|
+
newEdge?: {
|
|
6700
|
+
from: string;
|
|
6701
|
+
x0: number;
|
|
6702
|
+
y0: number;
|
|
6703
|
+
x1: number;
|
|
6704
|
+
y1: number;
|
|
6705
|
+
} | undefined;
|
|
6706
|
+
selected?: string | undefined;
|
|
6707
|
+
editing?: string | undefined;
|
|
6708
|
+
updatingUI?: boolean | undefined;
|
|
6709
|
+
}, string>;
|
|
6710
|
+
readonly placeChild: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
6711
|
+
CONFIGURE: {
|
|
6712
|
+
nodes: {
|
|
6713
|
+
position: {
|
|
6714
|
+
x: number;
|
|
6715
|
+
y: number;
|
|
6716
|
+
};
|
|
6717
|
+
data: {
|
|
6718
|
+
[x: string]: string | number | boolean;
|
|
6719
|
+
[x: number]: string | number | boolean;
|
|
6720
|
+
[x: symbol]: string | number | boolean;
|
|
6721
|
+
};
|
|
6722
|
+
id: string;
|
|
6723
|
+
}[];
|
|
6724
|
+
edges: {
|
|
6725
|
+
from: string;
|
|
6726
|
+
to: string;
|
|
6727
|
+
id: string;
|
|
6728
|
+
}[];
|
|
6729
|
+
defaultData?: {
|
|
6730
|
+
[x: string]: string | number | boolean;
|
|
6731
|
+
[x: number]: string | number | boolean;
|
|
6732
|
+
[x: symbol]: string | number | boolean;
|
|
6733
|
+
} | undefined;
|
|
6734
|
+
};
|
|
6735
|
+
SET_BOARD: {
|
|
6736
|
+
self: {
|
|
6737
|
+
left: number;
|
|
6738
|
+
top: number;
|
|
6739
|
+
width: number;
|
|
6740
|
+
height: number;
|
|
6741
|
+
};
|
|
6742
|
+
parent?: {
|
|
6743
|
+
scrollLeft: number;
|
|
6744
|
+
scrollTop: number;
|
|
6745
|
+
height: number;
|
|
6746
|
+
width: number;
|
|
6747
|
+
} | undefined;
|
|
6748
|
+
};
|
|
6749
|
+
CONFIGURE_EMPTY: never;
|
|
6750
|
+
MOVE: {
|
|
6751
|
+
id: string;
|
|
6752
|
+
x: number;
|
|
6753
|
+
y: number;
|
|
6754
|
+
};
|
|
6755
|
+
MOVE_IMMEDIATE: {
|
|
6756
|
+
id: string;
|
|
6757
|
+
x: number;
|
|
6758
|
+
y: number;
|
|
6759
|
+
};
|
|
6760
|
+
ADD_CHILD: string;
|
|
6761
|
+
ADD_PARENT: never;
|
|
6762
|
+
ADD_SIBLING: string;
|
|
6763
|
+
DELETE: string;
|
|
6764
|
+
SELECT: string;
|
|
6765
|
+
DESELECT: never;
|
|
6766
|
+
EDIT: string;
|
|
6767
|
+
STOP_EDIT: never;
|
|
6768
|
+
ADD_EDGE: {
|
|
6769
|
+
from: string;
|
|
6770
|
+
to: string;
|
|
6771
|
+
};
|
|
6772
|
+
START_NEW_EDGE: string;
|
|
6773
|
+
MOVE_NEW_EDGE: {
|
|
6774
|
+
x: number;
|
|
6775
|
+
y: number;
|
|
6776
|
+
};
|
|
6777
|
+
CLEAR_NEW_EDGE: never;
|
|
6778
|
+
ZOOM: number;
|
|
6779
|
+
TOGGLE_ZOOM: never;
|
|
6780
|
+
RESIZE: {
|
|
6781
|
+
id: string;
|
|
6782
|
+
size: {
|
|
6783
|
+
width: number;
|
|
6784
|
+
height: number;
|
|
6785
|
+
};
|
|
6786
|
+
};
|
|
6787
|
+
SET_NODE_DATA: {
|
|
6788
|
+
id: string;
|
|
6789
|
+
data: {
|
|
6790
|
+
[x: string]: string | number | boolean;
|
|
6791
|
+
[x: number]: string | number | boolean;
|
|
6792
|
+
[x: symbol]: string | number | boolean;
|
|
6793
|
+
};
|
|
6794
|
+
};
|
|
6795
|
+
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
6796
|
+
generatedId: string | null;
|
|
6797
|
+
dimensions: {
|
|
6798
|
+
[x: string]: {
|
|
6799
|
+
width: number;
|
|
6800
|
+
height: number;
|
|
6801
|
+
output: {
|
|
6802
|
+
x: number;
|
|
6803
|
+
y: number;
|
|
6804
|
+
};
|
|
6805
|
+
input?: {
|
|
6806
|
+
x: number;
|
|
6807
|
+
y: number;
|
|
6808
|
+
} | undefined;
|
|
6809
|
+
inputOffset?: {
|
|
6810
|
+
x: number;
|
|
6811
|
+
y: number;
|
|
6812
|
+
} | undefined;
|
|
6813
|
+
outputOffset?: {
|
|
6814
|
+
x: number;
|
|
6815
|
+
y: number;
|
|
6816
|
+
} | undefined;
|
|
6817
|
+
};
|
|
6818
|
+
[x: number]: {
|
|
6819
|
+
width: number;
|
|
6820
|
+
height: number;
|
|
6821
|
+
output: {
|
|
6822
|
+
x: number;
|
|
6823
|
+
y: number;
|
|
6824
|
+
};
|
|
6825
|
+
input?: {
|
|
6826
|
+
x: number;
|
|
6827
|
+
y: number;
|
|
6828
|
+
} | undefined;
|
|
6829
|
+
inputOffset?: {
|
|
6830
|
+
x: number;
|
|
6831
|
+
y: number;
|
|
6832
|
+
} | undefined;
|
|
6833
|
+
outputOffset?: {
|
|
6834
|
+
x: number;
|
|
6835
|
+
y: number;
|
|
6836
|
+
} | undefined;
|
|
6837
|
+
};
|
|
6838
|
+
[x: symbol]: {
|
|
6839
|
+
width: number;
|
|
6840
|
+
height: number;
|
|
6841
|
+
output: {
|
|
6842
|
+
x: number;
|
|
6843
|
+
y: number;
|
|
6844
|
+
};
|
|
6845
|
+
input?: {
|
|
6846
|
+
x: number;
|
|
6847
|
+
y: number;
|
|
6848
|
+
} | undefined;
|
|
6849
|
+
inputOffset?: {
|
|
6850
|
+
x: number;
|
|
6851
|
+
y: number;
|
|
6852
|
+
} | undefined;
|
|
6853
|
+
outputOffset?: {
|
|
6854
|
+
x: number;
|
|
6855
|
+
y: number;
|
|
6856
|
+
} | undefined;
|
|
6857
|
+
};
|
|
6858
|
+
};
|
|
6859
|
+
getBoardPosition: (clientX: number, clientY: number, board: Board) => Point;
|
|
6860
|
+
clampPosition: (board: Board, x: number, y: number, nodeWidth?: number, nodeHeight?: number) => Point;
|
|
6861
|
+
calculateDimensions: (position: {
|
|
6862
|
+
x: number;
|
|
6863
|
+
y: number;
|
|
6864
|
+
}, parentDimension?: Pick<{
|
|
6865
|
+
width: number;
|
|
6866
|
+
height: number;
|
|
6867
|
+
output: {
|
|
6868
|
+
x: number;
|
|
6869
|
+
y: number;
|
|
6870
|
+
};
|
|
6871
|
+
input?: {
|
|
6872
|
+
x: number;
|
|
6873
|
+
y: number;
|
|
6874
|
+
} | undefined;
|
|
6875
|
+
inputOffset?: {
|
|
6876
|
+
x: number;
|
|
6877
|
+
y: number;
|
|
6878
|
+
} | undefined;
|
|
6879
|
+
outputOffset?: {
|
|
6880
|
+
x: number;
|
|
6881
|
+
y: number;
|
|
6882
|
+
} | undefined;
|
|
6883
|
+
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
6884
|
+
previousZoom?: number | undefined;
|
|
6885
|
+
defaultData?: {
|
|
6886
|
+
[x: string]: string | number | boolean;
|
|
6887
|
+
[x: number]: string | number | boolean;
|
|
6888
|
+
[x: symbol]: string | number | boolean;
|
|
6889
|
+
} | undefined;
|
|
6890
|
+
}, {
|
|
6891
|
+
edgesPositions: {
|
|
6892
|
+
[x: string]: {
|
|
6893
|
+
x0: number;
|
|
6894
|
+
y0: number;
|
|
6895
|
+
x1: number;
|
|
6896
|
+
y1: number;
|
|
6897
|
+
};
|
|
6898
|
+
[x: number]: {
|
|
6899
|
+
x0: number;
|
|
6900
|
+
y0: number;
|
|
6901
|
+
x1: number;
|
|
6902
|
+
y1: number;
|
|
6903
|
+
};
|
|
6904
|
+
[x: symbol]: {
|
|
6905
|
+
x0: number;
|
|
6906
|
+
y0: number;
|
|
6907
|
+
x1: number;
|
|
6908
|
+
y1: number;
|
|
6909
|
+
};
|
|
6910
|
+
};
|
|
6911
|
+
zoom: number;
|
|
6912
|
+
bounds: {
|
|
6913
|
+
x: number;
|
|
6914
|
+
y: number;
|
|
6915
|
+
};
|
|
6916
|
+
data?: {
|
|
6917
|
+
nodes: {
|
|
6918
|
+
id: string;
|
|
6919
|
+
position: {
|
|
6920
|
+
x: number;
|
|
6921
|
+
y: number;
|
|
6922
|
+
};
|
|
6923
|
+
data: {
|
|
6924
|
+
[x: string]: string | number | boolean;
|
|
6925
|
+
[x: number]: string | number | boolean;
|
|
6926
|
+
[x: symbol]: string | number | boolean;
|
|
6927
|
+
};
|
|
6928
|
+
}[];
|
|
6929
|
+
edges: {
|
|
6930
|
+
id: string;
|
|
6931
|
+
from: string;
|
|
6932
|
+
to: string;
|
|
6933
|
+
}[];
|
|
6934
|
+
} | undefined;
|
|
6935
|
+
board?: {
|
|
6936
|
+
self: {
|
|
6937
|
+
left: number;
|
|
6938
|
+
top: number;
|
|
6939
|
+
width: number;
|
|
6940
|
+
height: number;
|
|
6941
|
+
};
|
|
6942
|
+
parent?: {
|
|
6943
|
+
scrollLeft: number;
|
|
6944
|
+
scrollTop: number;
|
|
6945
|
+
height: number;
|
|
6946
|
+
width: number;
|
|
6947
|
+
} | undefined;
|
|
6948
|
+
} | undefined;
|
|
6949
|
+
newEdge?: {
|
|
6950
|
+
from: string;
|
|
6951
|
+
x0: number;
|
|
6952
|
+
y0: number;
|
|
6953
|
+
x1: number;
|
|
6954
|
+
y1: number;
|
|
6955
|
+
} | undefined;
|
|
6956
|
+
selected?: string | undefined;
|
|
6957
|
+
editing?: string | undefined;
|
|
6958
|
+
updatingUI?: boolean | undefined;
|
|
6959
|
+
}, string>;
|
|
6960
|
+
readonly placeParent: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
6961
|
+
CONFIGURE: {
|
|
6962
|
+
nodes: {
|
|
6963
|
+
position: {
|
|
6964
|
+
x: number;
|
|
6965
|
+
y: number;
|
|
6966
|
+
};
|
|
6967
|
+
data: {
|
|
6968
|
+
[x: string]: string | number | boolean;
|
|
6969
|
+
[x: number]: string | number | boolean;
|
|
6970
|
+
[x: symbol]: string | number | boolean;
|
|
5353
6971
|
};
|
|
5354
|
-
input: boolean;
|
|
5355
6972
|
id: string;
|
|
5356
6973
|
}[];
|
|
5357
6974
|
edges: {
|
|
@@ -5359,6 +6976,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5359
6976
|
to: string;
|
|
5360
6977
|
id: string;
|
|
5361
6978
|
}[];
|
|
6979
|
+
defaultData?: {
|
|
6980
|
+
[x: string]: string | number | boolean;
|
|
6981
|
+
[x: number]: string | number | boolean;
|
|
6982
|
+
[x: symbol]: string | number | boolean;
|
|
6983
|
+
} | undefined;
|
|
5362
6984
|
};
|
|
5363
6985
|
SET_BOARD: {
|
|
5364
6986
|
self: {
|
|
@@ -5391,6 +7013,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5391
7013
|
DELETE: string;
|
|
5392
7014
|
SELECT: string;
|
|
5393
7015
|
DESELECT: never;
|
|
7016
|
+
EDIT: string;
|
|
7017
|
+
STOP_EDIT: never;
|
|
5394
7018
|
ADD_EDGE: {
|
|
5395
7019
|
from: string;
|
|
5396
7020
|
to: string;
|
|
@@ -5403,27 +7027,19 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5403
7027
|
CLEAR_NEW_EDGE: never;
|
|
5404
7028
|
ZOOM: number;
|
|
5405
7029
|
TOGGLE_ZOOM: never;
|
|
5406
|
-
|
|
7030
|
+
RESIZE: {
|
|
5407
7031
|
id: string;
|
|
5408
|
-
|
|
7032
|
+
size: {
|
|
5409
7033
|
width: number;
|
|
5410
7034
|
height: number;
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
inputOffset?: {
|
|
5420
|
-
x: number;
|
|
5421
|
-
y: number;
|
|
5422
|
-
} | undefined;
|
|
5423
|
-
outputOffset?: {
|
|
5424
|
-
x: number;
|
|
5425
|
-
y: number;
|
|
5426
|
-
} | undefined;
|
|
7035
|
+
};
|
|
7036
|
+
};
|
|
7037
|
+
SET_NODE_DATA: {
|
|
7038
|
+
id: string;
|
|
7039
|
+
data: {
|
|
7040
|
+
[x: string]: string | number | boolean;
|
|
7041
|
+
[x: number]: string | number | boolean;
|
|
7042
|
+
[x: symbol]: string | number | boolean;
|
|
5427
7043
|
};
|
|
5428
7044
|
};
|
|
5429
7045
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
@@ -5516,6 +7132,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5516
7132
|
} | undefined;
|
|
5517
7133
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
5518
7134
|
previousZoom?: number | undefined;
|
|
7135
|
+
defaultData?: {
|
|
7136
|
+
[x: string]: string | number | boolean;
|
|
7137
|
+
[x: number]: string | number | boolean;
|
|
7138
|
+
[x: symbol]: string | number | boolean;
|
|
7139
|
+
} | undefined;
|
|
5519
7140
|
}, {
|
|
5520
7141
|
edgesPositions: {
|
|
5521
7142
|
[x: string]: {
|
|
@@ -5550,10 +7171,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5550
7171
|
y: number;
|
|
5551
7172
|
};
|
|
5552
7173
|
data: {
|
|
5553
|
-
|
|
5554
|
-
|
|
7174
|
+
[x: string]: string | number | boolean;
|
|
7175
|
+
[x: number]: string | number | boolean;
|
|
7176
|
+
[x: symbol]: string | number | boolean;
|
|
5555
7177
|
};
|
|
5556
|
-
input: boolean;
|
|
5557
7178
|
}[];
|
|
5558
7179
|
edges: {
|
|
5559
7180
|
id: string;
|
|
@@ -5583,9 +7204,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5583
7204
|
y1: number;
|
|
5584
7205
|
} | undefined;
|
|
5585
7206
|
selected?: string | undefined;
|
|
7207
|
+
editing?: string | undefined;
|
|
5586
7208
|
updatingUI?: boolean | undefined;
|
|
5587
7209
|
}, string>;
|
|
5588
|
-
readonly
|
|
7210
|
+
readonly placeSibling: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
5589
7211
|
CONFIGURE: {
|
|
5590
7212
|
nodes: {
|
|
5591
7213
|
position: {
|
|
@@ -5593,10 +7215,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5593
7215
|
y: number;
|
|
5594
7216
|
};
|
|
5595
7217
|
data: {
|
|
5596
|
-
|
|
5597
|
-
|
|
7218
|
+
[x: string]: string | number | boolean;
|
|
7219
|
+
[x: number]: string | number | boolean;
|
|
7220
|
+
[x: symbol]: string | number | boolean;
|
|
5598
7221
|
};
|
|
5599
|
-
input: boolean;
|
|
5600
7222
|
id: string;
|
|
5601
7223
|
}[];
|
|
5602
7224
|
edges: {
|
|
@@ -5604,6 +7226,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5604
7226
|
to: string;
|
|
5605
7227
|
id: string;
|
|
5606
7228
|
}[];
|
|
7229
|
+
defaultData?: {
|
|
7230
|
+
[x: string]: string | number | boolean;
|
|
7231
|
+
[x: number]: string | number | boolean;
|
|
7232
|
+
[x: symbol]: string | number | boolean;
|
|
7233
|
+
} | undefined;
|
|
5607
7234
|
};
|
|
5608
7235
|
SET_BOARD: {
|
|
5609
7236
|
self: {
|
|
@@ -5636,6 +7263,8 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5636
7263
|
DELETE: string;
|
|
5637
7264
|
SELECT: string;
|
|
5638
7265
|
DESELECT: never;
|
|
7266
|
+
EDIT: string;
|
|
7267
|
+
STOP_EDIT: never;
|
|
5639
7268
|
ADD_EDGE: {
|
|
5640
7269
|
from: string;
|
|
5641
7270
|
to: string;
|
|
@@ -5648,9 +7277,65 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5648
7277
|
CLEAR_NEW_EDGE: never;
|
|
5649
7278
|
ZOOM: number;
|
|
5650
7279
|
TOGGLE_ZOOM: never;
|
|
5651
|
-
|
|
7280
|
+
RESIZE: {
|
|
7281
|
+
id: string;
|
|
7282
|
+
size: {
|
|
7283
|
+
width: number;
|
|
7284
|
+
height: number;
|
|
7285
|
+
};
|
|
7286
|
+
};
|
|
7287
|
+
SET_NODE_DATA: {
|
|
5652
7288
|
id: string;
|
|
5653
|
-
|
|
7289
|
+
data: {
|
|
7290
|
+
[x: string]: string | number | boolean;
|
|
7291
|
+
[x: number]: string | number | boolean;
|
|
7292
|
+
[x: symbol]: string | number | boolean;
|
|
7293
|
+
};
|
|
7294
|
+
};
|
|
7295
|
+
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
7296
|
+
generatedId: string | null;
|
|
7297
|
+
dimensions: {
|
|
7298
|
+
[x: string]: {
|
|
7299
|
+
width: number;
|
|
7300
|
+
height: number;
|
|
7301
|
+
output: {
|
|
7302
|
+
x: number;
|
|
7303
|
+
y: number;
|
|
7304
|
+
};
|
|
7305
|
+
input?: {
|
|
7306
|
+
x: number;
|
|
7307
|
+
y: number;
|
|
7308
|
+
} | undefined;
|
|
7309
|
+
inputOffset?: {
|
|
7310
|
+
x: number;
|
|
7311
|
+
y: number;
|
|
7312
|
+
} | undefined;
|
|
7313
|
+
outputOffset?: {
|
|
7314
|
+
x: number;
|
|
7315
|
+
y: number;
|
|
7316
|
+
} | undefined;
|
|
7317
|
+
};
|
|
7318
|
+
[x: number]: {
|
|
7319
|
+
width: number;
|
|
7320
|
+
height: number;
|
|
7321
|
+
output: {
|
|
7322
|
+
x: number;
|
|
7323
|
+
y: number;
|
|
7324
|
+
};
|
|
7325
|
+
input?: {
|
|
7326
|
+
x: number;
|
|
7327
|
+
y: number;
|
|
7328
|
+
} | undefined;
|
|
7329
|
+
inputOffset?: {
|
|
7330
|
+
x: number;
|
|
7331
|
+
y: number;
|
|
7332
|
+
} | undefined;
|
|
7333
|
+
outputOffset?: {
|
|
7334
|
+
x: number;
|
|
7335
|
+
y: number;
|
|
7336
|
+
} | undefined;
|
|
7337
|
+
};
|
|
7338
|
+
[x: symbol]: {
|
|
5654
7339
|
width: number;
|
|
5655
7340
|
height: number;
|
|
5656
7341
|
output: {
|
|
@@ -5671,6 +7356,192 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5671
7356
|
} | undefined;
|
|
5672
7357
|
};
|
|
5673
7358
|
};
|
|
7359
|
+
getBoardPosition: (clientX: number, clientY: number, board: Board) => Point;
|
|
7360
|
+
clampPosition: (board: Board, x: number, y: number, nodeWidth?: number, nodeHeight?: number) => Point;
|
|
7361
|
+
calculateDimensions: (position: {
|
|
7362
|
+
x: number;
|
|
7363
|
+
y: number;
|
|
7364
|
+
}, parentDimension?: Pick<{
|
|
7365
|
+
width: number;
|
|
7366
|
+
height: number;
|
|
7367
|
+
output: {
|
|
7368
|
+
x: number;
|
|
7369
|
+
y: number;
|
|
7370
|
+
};
|
|
7371
|
+
input?: {
|
|
7372
|
+
x: number;
|
|
7373
|
+
y: number;
|
|
7374
|
+
} | undefined;
|
|
7375
|
+
inputOffset?: {
|
|
7376
|
+
x: number;
|
|
7377
|
+
y: number;
|
|
7378
|
+
} | undefined;
|
|
7379
|
+
outputOffset?: {
|
|
7380
|
+
x: number;
|
|
7381
|
+
y: number;
|
|
7382
|
+
} | undefined;
|
|
7383
|
+
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
7384
|
+
previousZoom?: number | undefined;
|
|
7385
|
+
defaultData?: {
|
|
7386
|
+
[x: string]: string | number | boolean;
|
|
7387
|
+
[x: number]: string | number | boolean;
|
|
7388
|
+
[x: symbol]: string | number | boolean;
|
|
7389
|
+
} | undefined;
|
|
7390
|
+
}, {
|
|
7391
|
+
edgesPositions: {
|
|
7392
|
+
[x: string]: {
|
|
7393
|
+
x0: number;
|
|
7394
|
+
y0: number;
|
|
7395
|
+
x1: number;
|
|
7396
|
+
y1: number;
|
|
7397
|
+
};
|
|
7398
|
+
[x: number]: {
|
|
7399
|
+
x0: number;
|
|
7400
|
+
y0: number;
|
|
7401
|
+
x1: number;
|
|
7402
|
+
y1: number;
|
|
7403
|
+
};
|
|
7404
|
+
[x: symbol]: {
|
|
7405
|
+
x0: number;
|
|
7406
|
+
y0: number;
|
|
7407
|
+
x1: number;
|
|
7408
|
+
y1: number;
|
|
7409
|
+
};
|
|
7410
|
+
};
|
|
7411
|
+
zoom: number;
|
|
7412
|
+
bounds: {
|
|
7413
|
+
x: number;
|
|
7414
|
+
y: number;
|
|
7415
|
+
};
|
|
7416
|
+
data?: {
|
|
7417
|
+
nodes: {
|
|
7418
|
+
id: string;
|
|
7419
|
+
position: {
|
|
7420
|
+
x: number;
|
|
7421
|
+
y: number;
|
|
7422
|
+
};
|
|
7423
|
+
data: {
|
|
7424
|
+
[x: string]: string | number | boolean;
|
|
7425
|
+
[x: number]: string | number | boolean;
|
|
7426
|
+
[x: symbol]: string | number | boolean;
|
|
7427
|
+
};
|
|
7428
|
+
}[];
|
|
7429
|
+
edges: {
|
|
7430
|
+
id: string;
|
|
7431
|
+
from: string;
|
|
7432
|
+
to: string;
|
|
7433
|
+
}[];
|
|
7434
|
+
} | undefined;
|
|
7435
|
+
board?: {
|
|
7436
|
+
self: {
|
|
7437
|
+
left: number;
|
|
7438
|
+
top: number;
|
|
7439
|
+
width: number;
|
|
7440
|
+
height: number;
|
|
7441
|
+
};
|
|
7442
|
+
parent?: {
|
|
7443
|
+
scrollLeft: number;
|
|
7444
|
+
scrollTop: number;
|
|
7445
|
+
height: number;
|
|
7446
|
+
width: number;
|
|
7447
|
+
} | undefined;
|
|
7448
|
+
} | undefined;
|
|
7449
|
+
newEdge?: {
|
|
7450
|
+
from: string;
|
|
7451
|
+
x0: number;
|
|
7452
|
+
y0: number;
|
|
7453
|
+
x1: number;
|
|
7454
|
+
y1: number;
|
|
7455
|
+
} | undefined;
|
|
7456
|
+
selected?: string | undefined;
|
|
7457
|
+
editing?: string | undefined;
|
|
7458
|
+
updatingUI?: boolean | undefined;
|
|
7459
|
+
}, string>;
|
|
7460
|
+
readonly moveNewEdge: import('@bemedev/app').SyncAction2<import('@bemedev/app').ToEventObject<import('@bemedev/app').ToEvents<{
|
|
7461
|
+
CONFIGURE: {
|
|
7462
|
+
nodes: {
|
|
7463
|
+
position: {
|
|
7464
|
+
x: number;
|
|
7465
|
+
y: number;
|
|
7466
|
+
};
|
|
7467
|
+
data: {
|
|
7468
|
+
[x: string]: string | number | boolean;
|
|
7469
|
+
[x: number]: string | number | boolean;
|
|
7470
|
+
[x: symbol]: string | number | boolean;
|
|
7471
|
+
};
|
|
7472
|
+
id: string;
|
|
7473
|
+
}[];
|
|
7474
|
+
edges: {
|
|
7475
|
+
from: string;
|
|
7476
|
+
to: string;
|
|
7477
|
+
id: string;
|
|
7478
|
+
}[];
|
|
7479
|
+
defaultData?: {
|
|
7480
|
+
[x: string]: string | number | boolean;
|
|
7481
|
+
[x: number]: string | number | boolean;
|
|
7482
|
+
[x: symbol]: string | number | boolean;
|
|
7483
|
+
} | undefined;
|
|
7484
|
+
};
|
|
7485
|
+
SET_BOARD: {
|
|
7486
|
+
self: {
|
|
7487
|
+
left: number;
|
|
7488
|
+
top: number;
|
|
7489
|
+
width: number;
|
|
7490
|
+
height: number;
|
|
7491
|
+
};
|
|
7492
|
+
parent?: {
|
|
7493
|
+
scrollLeft: number;
|
|
7494
|
+
scrollTop: number;
|
|
7495
|
+
height: number;
|
|
7496
|
+
width: number;
|
|
7497
|
+
} | undefined;
|
|
7498
|
+
};
|
|
7499
|
+
CONFIGURE_EMPTY: never;
|
|
7500
|
+
MOVE: {
|
|
7501
|
+
id: string;
|
|
7502
|
+
x: number;
|
|
7503
|
+
y: number;
|
|
7504
|
+
};
|
|
7505
|
+
MOVE_IMMEDIATE: {
|
|
7506
|
+
id: string;
|
|
7507
|
+
x: number;
|
|
7508
|
+
y: number;
|
|
7509
|
+
};
|
|
7510
|
+
ADD_CHILD: string;
|
|
7511
|
+
ADD_PARENT: never;
|
|
7512
|
+
ADD_SIBLING: string;
|
|
7513
|
+
DELETE: string;
|
|
7514
|
+
SELECT: string;
|
|
7515
|
+
DESELECT: never;
|
|
7516
|
+
EDIT: string;
|
|
7517
|
+
STOP_EDIT: never;
|
|
7518
|
+
ADD_EDGE: {
|
|
7519
|
+
from: string;
|
|
7520
|
+
to: string;
|
|
7521
|
+
};
|
|
7522
|
+
START_NEW_EDGE: string;
|
|
7523
|
+
MOVE_NEW_EDGE: {
|
|
7524
|
+
x: number;
|
|
7525
|
+
y: number;
|
|
7526
|
+
};
|
|
7527
|
+
CLEAR_NEW_EDGE: never;
|
|
7528
|
+
ZOOM: number;
|
|
7529
|
+
TOGGLE_ZOOM: never;
|
|
7530
|
+
RESIZE: {
|
|
7531
|
+
id: string;
|
|
7532
|
+
size: {
|
|
7533
|
+
width: number;
|
|
7534
|
+
height: number;
|
|
7535
|
+
};
|
|
7536
|
+
};
|
|
7537
|
+
SET_NODE_DATA: {
|
|
7538
|
+
id: string;
|
|
7539
|
+
data: {
|
|
7540
|
+
[x: string]: string | number | boolean;
|
|
7541
|
+
[x: number]: string | number | boolean;
|
|
7542
|
+
[x: symbol]: string | number | boolean;
|
|
7543
|
+
};
|
|
7544
|
+
};
|
|
5674
7545
|
}, import('@bemedev/app').ActorsConfigMap>>, {
|
|
5675
7546
|
generatedId: string | null;
|
|
5676
7547
|
dimensions: {
|
|
@@ -5761,6 +7632,11 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5761
7632
|
} | undefined;
|
|
5762
7633
|
}, "width" | "height" | "inputOffset" | "outputOffset">) => Dimension;
|
|
5763
7634
|
previousZoom?: number | undefined;
|
|
7635
|
+
defaultData?: {
|
|
7636
|
+
[x: string]: string | number | boolean;
|
|
7637
|
+
[x: number]: string | number | boolean;
|
|
7638
|
+
[x: symbol]: string | number | boolean;
|
|
7639
|
+
} | undefined;
|
|
5764
7640
|
}, {
|
|
5765
7641
|
edgesPositions: {
|
|
5766
7642
|
[x: string]: {
|
|
@@ -5795,10 +7671,10 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5795
7671
|
y: number;
|
|
5796
7672
|
};
|
|
5797
7673
|
data: {
|
|
5798
|
-
|
|
5799
|
-
|
|
7674
|
+
[x: string]: string | number | boolean;
|
|
7675
|
+
[x: number]: string | number | boolean;
|
|
7676
|
+
[x: symbol]: string | number | boolean;
|
|
5800
7677
|
};
|
|
5801
|
-
input: boolean;
|
|
5802
7678
|
}[];
|
|
5803
7679
|
edges: {
|
|
5804
7680
|
id: string;
|
|
@@ -5828,6 +7704,7 @@ export declare const machine: import('@bemedev/app').SyncMachine<{
|
|
|
5828
7704
|
y1: number;
|
|
5829
7705
|
} | undefined;
|
|
5830
7706
|
selected?: string | undefined;
|
|
7707
|
+
editing?: string | undefined;
|
|
5831
7708
|
updatingUI?: boolean | undefined;
|
|
5832
7709
|
}, string>;
|
|
5833
7710
|
};
|