@inditextech/weave-sdk 5.2.1 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk.js +2805 -3275
- package/dist/sdk.node.js +2793 -3257
- package/dist/sdk.node.stats.html +388 -33
- package/dist/sdk.stats.html +388 -33
- package/dist/stage-minimap.worker.js +3 -6
- package/dist/stage-minimap.worker.stats.html +388 -33
- package/dist/types.d.ts +90 -537
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +2806 -3276
- package/dist/types.js.map +1 -1
- package/dist/types.stats.html +388 -33
- package/package.json +4 -4
package/dist/types.d.ts
CHANGED
|
@@ -1,44 +1,69 @@
|
|
|
1
1
|
import Konva from "konva";
|
|
2
2
|
import pino, { Logger } from "pino";
|
|
3
3
|
import { AllowedObject, BoundingBox, DeepPartial, ImageCrossOrigin, NodeSerializable, URLTransformerFunction, WeaveActionBase, WeaveElementAttributes, WeaveElementInstance, WeaveExportNodesOptions, WeaveExportReturnFormat, WeaveFont, WeaveFontStyle, WeaveLoggerConfig, WeaveMousePointInfo, WeaveMousePointInfoSimple, WeaveNodeBase, WeaveNodeChangeType, WeaveNodeConfiguration, WeaveNodeFound, WeaveNodeMutexLock, WeaveNodeTransformerProperties, WeavePluginBase, WeavePosition, WeaveRendererBase, WeaveSelection, WeaveSerializedGroup, WeaveState, WeaveStateElement, WeaveStatus, WeaveStoreBase, WeaveStoreConnectionStatus, WeaveStoreOptions, WeaveUndoRedoChange, WeaveUser, WeaveUserMutexLock } from "@inditextech/weave-types";
|
|
4
|
-
import * as Y$2 from "yjs";
|
|
5
|
-
import * as Y$1 from "yjs";
|
|
6
4
|
import * as Y from "yjs";
|
|
7
5
|
import { Doc } from "yjs";
|
|
8
6
|
import { z } from "zod";
|
|
9
|
-
import * as konva_lib_types8 from "konva/lib/types";
|
|
10
|
-
import * as konva_lib_types25 from "konva/lib/types";
|
|
11
|
-
import * as konva_lib_types26 from "konva/lib/types";
|
|
12
7
|
import { Vector2d } from "konva/lib/types";
|
|
13
8
|
import { Stage, StageConfig } from "konva/lib/Stage";
|
|
14
|
-
import * as konva_lib_Node27 from "konva/lib/Node";
|
|
15
|
-
import * as konva_lib_Node28 from "konva/lib/Node";
|
|
16
|
-
import * as konva_lib_Node29 from "konva/lib/Node";
|
|
17
|
-
import * as konva_lib_Node30 from "konva/lib/Node";
|
|
18
|
-
import * as konva_lib_Node31 from "konva/lib/Node";
|
|
19
|
-
import * as konva_lib_Node32 from "konva/lib/Node";
|
|
20
|
-
import * as konva_lib_Node0 from "konva/lib/Node";
|
|
21
|
-
import * as konva_lib_Node1 from "konva/lib/Node";
|
|
22
|
-
import * as konva_lib_Node2 from "konva/lib/Node";
|
|
23
|
-
import * as konva_lib_Node3 from "konva/lib/Node";
|
|
24
|
-
import * as konva_lib_Node5 from "konva/lib/Node";
|
|
25
|
-
import * as konva_lib_Node6 from "konva/lib/Node";
|
|
26
|
-
import { KonvaEventObject } from "konva/lib/Node";
|
|
27
|
-
import { Hookable } from "hookable";
|
|
28
|
-
import * as konva_lib_Shape10 from "konva/lib/Shape";
|
|
29
|
-
import * as konva_lib_Shape11 from "konva/lib/Shape";
|
|
30
|
-
import * as konva_lib_Group12 from "konva/lib/Group";
|
|
31
|
-
import * as konva_lib_Group7 from "konva/lib/Group";
|
|
32
|
-
import * as konva_lib_shapes_Transformer18 from "konva/lib/shapes/Transformer";
|
|
33
|
-
import * as konva_lib_shapes_Transformer19 from "konva/lib/shapes/Transformer";
|
|
34
|
-
import * as konva_lib_shapes_Transformer20 from "konva/lib/shapes/Transformer";
|
|
35
|
-
import * as konva_lib_shapes_Transformer4 from "konva/lib/shapes/Transformer";
|
|
36
9
|
import { Box, TransformerConfig } from "konva/lib/shapes/Transformer";
|
|
37
|
-
import
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
10
|
+
import { KonvaEventObject } from "konva/lib/Node";
|
|
11
|
+
//#region ../../node_modules/hookable/dist/index.d.mts
|
|
12
|
+
type HookCallback = (...arguments_: any) => Promise<void> | void;
|
|
13
|
+
type HookKeys<T> = keyof T & string;
|
|
14
|
+
type DeprecatedHook<T> = {
|
|
15
|
+
message?: string;
|
|
16
|
+
to: HookKeys<T>;
|
|
17
|
+
};
|
|
18
|
+
type ValueOf<C> = C extends Record<any, any> ? C[keyof C] : never;
|
|
19
|
+
type Strings<T> = Exclude<keyof T, number | symbol>;
|
|
20
|
+
type KnownKeys<T> = keyof { [K in keyof T as string extends K ? never : number extends K ? never : K]: never; };
|
|
21
|
+
type StripGeneric<T> = Pick<T, KnownKeys<T> extends keyof T ? KnownKeys<T> : never>;
|
|
22
|
+
type OnlyGeneric<T> = Omit<T, KnownKeys<T> extends keyof T ? KnownKeys<T> : never>;
|
|
23
|
+
type Namespaces<T> = ValueOf<{ [key in Strings<T>]: key extends `${infer Namespace}:${string}` ? Namespace : never; }>;
|
|
24
|
+
type BareHooks<T> = ValueOf<{ [key in Strings<T>]: key extends `${string}:${string}` ? never : key; }>;
|
|
25
|
+
type HooksInNamespace<T, Namespace extends string> = ValueOf<{ [key in Strings<T>]: key extends `${Namespace}:${infer HookName}` ? HookName : never; }>;
|
|
26
|
+
type WithoutNamespace<T, Namespace extends string> = { [key in HooksInNamespace<T, Namespace>]: `${Namespace}:${key}` extends keyof T ? T[`${Namespace}:${key}`] : never; };
|
|
27
|
+
type NestedHooks<T> = (Partial<StripGeneric<T>> | Partial<OnlyGeneric<T>>) & Partial<{ [key in Namespaces<StripGeneric<T>>]: NestedHooks<WithoutNamespace<T, key>>; }> & Partial<{ [key in BareHooks<StripGeneric<T>>]: T[key]; }>;
|
|
28
|
+
type InferCallback<HT, HN extends keyof HT> = HT[HN] extends HookCallback ? HT[HN] : never;
|
|
29
|
+
type InferSpyEvent<HT extends Record<string, any>> = { [key in keyof HT]: {
|
|
30
|
+
name: key;
|
|
31
|
+
args: Parameters<HT[key]>;
|
|
32
|
+
context: Record<string, any>;
|
|
33
|
+
}; }[keyof HT];
|
|
34
|
+
declare class Hookable<HooksT extends Record<string, any> = Record<string, HookCallback>, HookNameT extends HookKeys<HooksT> = HookKeys<HooksT>> {
|
|
35
|
+
private _hooks;
|
|
36
|
+
private _before?;
|
|
37
|
+
private _after?;
|
|
38
|
+
private _deprecatedHooks;
|
|
39
|
+
private _deprecatedMessages?;
|
|
40
|
+
constructor();
|
|
41
|
+
hook<NameT extends HookNameT>(name: NameT, function_: InferCallback<HooksT, NameT>, options?: {
|
|
42
|
+
allowDeprecated?: boolean;
|
|
43
|
+
}): () => void;
|
|
44
|
+
hookOnce<NameT extends HookNameT>(name: NameT, function_: InferCallback<HooksT, NameT>): () => void;
|
|
45
|
+
removeHook<NameT extends HookNameT>(name: NameT, function_: InferCallback<HooksT, NameT>): void;
|
|
46
|
+
clearHook<NameT extends HookNameT>(name: NameT): void;
|
|
47
|
+
deprecateHook<NameT extends HookNameT>(name: NameT, deprecated: HookKeys<HooksT> | DeprecatedHook<HooksT>): void;
|
|
48
|
+
deprecateHooks(deprecatedHooks: Partial<Record<HookNameT, DeprecatedHook<HooksT>>>): void;
|
|
49
|
+
addHooks(configHooks: NestedHooks<HooksT>): () => void;
|
|
50
|
+
removeHooks(configHooks: NestedHooks<HooksT>): void;
|
|
51
|
+
removeAllHooks(): void;
|
|
52
|
+
callHook<NameT extends HookNameT>(name: NameT, ...args: Parameters<InferCallback<HooksT, NameT>>): Promise<any> | void;
|
|
53
|
+
callHookParallel<NameT extends HookNameT>(name: NameT, ...args: Parameters<InferCallback<HooksT, NameT>>): Promise<any[]> | void;
|
|
54
|
+
callHookWith<NameT extends HookNameT, CallFunction extends (hooks: HookCallback[], args: Parameters<InferCallback<HooksT, NameT>>, name: NameT) => any>(caller: CallFunction, name: NameT, args: Parameters<InferCallback<HooksT, NameT>>): ReturnType<CallFunction>;
|
|
55
|
+
beforeEach(function_: (event: InferSpyEvent<HooksT>) => void): () => void;
|
|
56
|
+
afterEach(function_: (event: InferSpyEvent<HooksT>) => void): () => void;
|
|
57
|
+
}
|
|
58
|
+
type CreateTask = (name?: string) => {
|
|
59
|
+
run: (function_: () => Promise<any> | any) => Promise<any> | any;
|
|
60
|
+
};
|
|
61
|
+
declare global {
|
|
62
|
+
interface Console {
|
|
63
|
+
createTask?: CreateTask;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
//#endregion
|
|
42
67
|
//#region src/stores/store.d.ts
|
|
43
68
|
declare abstract class WeaveStore implements WeaveStoreBase {
|
|
44
69
|
protected instance: Weave;
|
|
@@ -61,10 +86,10 @@ declare abstract class WeaveStore implements WeaveStoreBase {
|
|
|
61
86
|
setState(state: WeaveState): void;
|
|
62
87
|
setLatestState(newState: WeaveState): void;
|
|
63
88
|
getLatestState(): WeaveState;
|
|
64
|
-
getDocument(): Y
|
|
89
|
+
getDocument(): Y.Doc;
|
|
65
90
|
restartDocument(): void;
|
|
66
91
|
loadDocument(roomData: Uint8Array): void;
|
|
67
|
-
loadDefaultDocument(setupDefaultDocument?: (doc: Y
|
|
92
|
+
loadDefaultDocument(setupDefaultDocument?: (doc: Y.Doc) => void): void;
|
|
68
93
|
getState(): WeaveState;
|
|
69
94
|
getRoomId(): string;
|
|
70
95
|
getStateSnapshot(): Uint8Array;
|
|
@@ -80,21 +105,17 @@ declare abstract class WeaveStore implements WeaveStoreBase {
|
|
|
80
105
|
abstract handleAwarenessChange(emit: boolean): void;
|
|
81
106
|
abstract setAwarenessInfo(field: string, value: unknown): void;
|
|
82
107
|
}
|
|
83
|
-
|
|
84
108
|
//#endregion
|
|
85
109
|
//#region src/internal-utils/mapping.d.ts
|
|
86
|
-
//# sourceMappingURL=store.d.ts.map
|
|
87
110
|
declare const isArray: (val: any) => boolean;
|
|
88
111
|
declare const isObject: (val: any) => boolean;
|
|
89
|
-
declare const mapJsonToYjsMap: (jsonData: any) => Y
|
|
90
|
-
declare const mapJsonToYjsArray: (jsonData: any) => Y
|
|
91
|
-
declare const mapJsonToYjsElements: (jsonData: any) => Y
|
|
112
|
+
declare const mapJsonToYjsMap: (jsonData: any) => Y.Map<unknown>;
|
|
113
|
+
declare const mapJsonToYjsArray: (jsonData: any) => Y.Array<unknown>;
|
|
114
|
+
declare const mapJsonToYjsElements: (jsonData: any) => Y.Map<unknown> | Y.Array<unknown> | undefined;
|
|
92
115
|
declare const weavejsToYjsBinary: (weavejsData: WeaveState) => Uint8Array<ArrayBufferLike>;
|
|
93
116
|
declare function getJSONFromYjsBinary(actualState: Uint8Array<ArrayBufferLike>): any;
|
|
94
|
-
|
|
95
117
|
//#endregion
|
|
96
118
|
//#region src/plugins/plugin.d.ts
|
|
97
|
-
//# sourceMappingURL=mapping.d.ts.map
|
|
98
119
|
declare abstract class WeavePlugin implements WeavePluginBase {
|
|
99
120
|
protected instance: Weave;
|
|
100
121
|
protected name: string;
|
|
@@ -110,10 +131,8 @@ declare abstract class WeavePlugin implements WeavePluginBase {
|
|
|
110
131
|
abstract enable(): void;
|
|
111
132
|
abstract disable(): void;
|
|
112
133
|
}
|
|
113
|
-
|
|
114
134
|
//#endregion
|
|
115
135
|
//#region src/plugins/nodes-selection/types.d.ts
|
|
116
|
-
//# sourceMappingURL=plugin.d.ts.map
|
|
117
136
|
type WeaveNodesSelectionPluginOnSelectionStateEvent = boolean;
|
|
118
137
|
type WeaveNodesSelectionPluginOnNodesChangeEvent = WeaveSelection[];
|
|
119
138
|
type WeaveNodesSelectionPluginOnStageSelectionEvent = undefined;
|
|
@@ -152,10 +171,8 @@ type WeaveNodesSelectionPluginConfig = Partial<WeaveNodesSelectionConfig>;
|
|
|
152
171
|
type WeaveNodesSelectionPluginParams = {
|
|
153
172
|
config?: WeaveNodesSelectionPluginConfig;
|
|
154
173
|
};
|
|
155
|
-
|
|
156
174
|
//#endregion
|
|
157
175
|
//#region src/plugins/nodes-selection/gesture-detector.d.ts
|
|
158
|
-
//# sourceMappingURL=types.d.ts.map
|
|
159
176
|
/**
|
|
160
177
|
* Tracks single-tap, double-tap, and drag-move gesture state for the
|
|
161
178
|
* nodes-selection plugin. Has no dependency on Weave or Konva internals.
|
|
@@ -188,10 +205,8 @@ declare class GestureDetector {
|
|
|
188
205
|
resetDoubleTap(): void;
|
|
189
206
|
reset(): void;
|
|
190
207
|
}
|
|
191
|
-
|
|
192
208
|
//#endregion
|
|
193
209
|
//#region src/plugins/nodes-selection/edge-panning.d.ts
|
|
194
|
-
//# sourceMappingURL=gesture-detector.d.ts.map
|
|
195
210
|
type EdgePanningCallbacks = {
|
|
196
211
|
getStage: () => Stage;
|
|
197
212
|
isSelecting: () => boolean;
|
|
@@ -226,10 +241,8 @@ declare class EdgePanning {
|
|
|
226
241
|
private getSpeedFromEdge;
|
|
227
242
|
private loop;
|
|
228
243
|
}
|
|
229
|
-
|
|
230
244
|
//#endregion
|
|
231
245
|
//#region src/plugins/nodes-selection/area-selection.d.ts
|
|
232
|
-
//# sourceMappingURL=edge-panning.d.ts.map
|
|
233
246
|
/**
|
|
234
247
|
* Manages the visual selection-rectangle drawn while the user drags an area
|
|
235
248
|
* selection, plus the coordinate state (x1/y1/x2/y2) that tracks its bounds.
|
|
@@ -273,10 +286,8 @@ declare class AreaSelector {
|
|
|
273
286
|
update(stage: Stage, selectNone: () => void): void;
|
|
274
287
|
hide(): void;
|
|
275
288
|
}
|
|
276
|
-
|
|
277
289
|
//#endregion
|
|
278
290
|
//#region src/plugins/context-menu/types.d.ts
|
|
279
|
-
//# sourceMappingURL=area-selection.d.ts.map
|
|
280
291
|
type WeaveStageContextMenuPluginParams = {
|
|
281
292
|
config?: WeaveStageContextMenuPluginConfig;
|
|
282
293
|
};
|
|
@@ -291,10 +302,8 @@ type WeaveStageContextMenuPluginOnNodeContextMenuEvent = {
|
|
|
291
302
|
stageClickPoint: Konva.Vector2d;
|
|
292
303
|
visible: boolean;
|
|
293
304
|
};
|
|
294
|
-
|
|
295
305
|
//#endregion
|
|
296
306
|
//#region src/plugins/context-menu/context-menu.d.ts
|
|
297
|
-
//# sourceMappingURL=types.d.ts.map
|
|
298
307
|
declare class WeaveContextMenuPlugin extends WeavePlugin {
|
|
299
308
|
private readonly config;
|
|
300
309
|
private contextMenuVisible;
|
|
@@ -327,20 +336,16 @@ declare class WeaveContextMenuPlugin extends WeavePlugin {
|
|
|
327
336
|
enable(): void;
|
|
328
337
|
disable(): void;
|
|
329
338
|
}
|
|
330
|
-
|
|
331
339
|
//#endregion
|
|
332
340
|
//#region src/plugins/stage-zoom/constants.d.ts
|
|
333
|
-
//# sourceMappingURL=context-menu.d.ts.map
|
|
334
341
|
declare const WEAVE_STAGE_ZOOM_TYPE: {
|
|
335
342
|
readonly MOUSE_WHEEL: "mouseWheel";
|
|
336
343
|
readonly PINCH_ZOOM: "pinchZoom";
|
|
337
344
|
};
|
|
338
345
|
declare const WEAVE_STAGE_ZOOM_KEY = "stageZoom";
|
|
339
346
|
declare const WEAVE_STAGE_ZOOM_DEFAULT_CONFIG: WeaveStageZoomPluginConfig;
|
|
340
|
-
|
|
341
347
|
//#endregion
|
|
342
348
|
//#region src/plugins/stage-zoom/types.d.ts
|
|
343
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
344
349
|
type WeaveStageZoomTypeKeys = keyof typeof WEAVE_STAGE_ZOOM_TYPE;
|
|
345
350
|
type WeaveStageZoomType = (typeof WEAVE_STAGE_ZOOM_TYPE)[WeaveStageZoomTypeKeys];
|
|
346
351
|
type WeaveStageZoomChanged = {
|
|
@@ -376,10 +381,8 @@ type WeaveStageZoomPluginConfig = {
|
|
|
376
381
|
type WeaveStageZoomPluginParams = {
|
|
377
382
|
config?: DeepPartial<WeaveStageZoomPluginConfig>;
|
|
378
383
|
};
|
|
379
|
-
|
|
380
384
|
//#endregion
|
|
381
385
|
//#region src/plugins/stage-grid/constants.d.ts
|
|
382
|
-
//# sourceMappingURL=types.d.ts.map
|
|
383
386
|
declare const WEAVE_STAGE_GRID_PLUGIN_KEY = "stageGrid";
|
|
384
387
|
declare const WEAVE_GRID_TYPES: {
|
|
385
388
|
readonly LINES: "lines";
|
|
@@ -391,10 +394,8 @@ declare const WEAVE_GRID_DOT_TYPES: {
|
|
|
391
394
|
};
|
|
392
395
|
declare const WEAVE_GRID_DEFAULT_CONFIG: WeaveStageGridPluginConfig;
|
|
393
396
|
declare const WEAVE_GRID_LAYER_ID = "gridLayer";
|
|
394
|
-
|
|
395
397
|
//#endregion
|
|
396
398
|
//#region src/plugins/stage-grid/types.d.ts
|
|
397
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
398
399
|
type WeaveStageGridPluginConfig = {
|
|
399
400
|
type: WeaveStageGridType;
|
|
400
401
|
gridColor: string;
|
|
@@ -415,10 +416,8 @@ type WeaveStageGridDotTypeKeys = keyof typeof WEAVE_GRID_DOT_TYPES;
|
|
|
415
416
|
type WeaveStageGridDotType = (typeof WEAVE_GRID_DOT_TYPES)[WeaveStageGridDotTypeKeys];
|
|
416
417
|
type WeaveStageGridTypeKeys = keyof typeof WEAVE_GRID_TYPES;
|
|
417
418
|
type WeaveStageGridType = (typeof WEAVE_GRID_TYPES)[WeaveStageGridTypeKeys];
|
|
418
|
-
|
|
419
419
|
//#endregion
|
|
420
420
|
//#region src/plugins/stage-grid/stage-grid.d.ts
|
|
421
|
-
//# sourceMappingURL=types.d.ts.map
|
|
422
421
|
declare class WeaveStageGridPlugin extends WeavePlugin {
|
|
423
422
|
private moveToolActive;
|
|
424
423
|
private isMouseMiddleButtonPressed;
|
|
@@ -451,10 +450,8 @@ declare class WeaveStageGridPlugin extends WeavePlugin {
|
|
|
451
450
|
getDotsType(): WeaveStageGridDotType;
|
|
452
451
|
setDotsType(type: WeaveStageGridDotType): void;
|
|
453
452
|
}
|
|
454
|
-
|
|
455
453
|
//#endregion
|
|
456
454
|
//#region src/plugins/stage-zoom/stage-zoom.d.ts
|
|
457
|
-
//# sourceMappingURL=stage-grid.d.ts.map
|
|
458
455
|
declare class WeaveStageZoomPlugin extends WeavePlugin {
|
|
459
456
|
protected previousPointer: string | null;
|
|
460
457
|
getLayerName: undefined;
|
|
@@ -515,10 +512,8 @@ declare class WeaveStageZoomPlugin extends WeavePlugin {
|
|
|
515
512
|
getZoomSteps(): number[];
|
|
516
513
|
private clamp;
|
|
517
514
|
}
|
|
518
|
-
|
|
519
515
|
//#endregion
|
|
520
516
|
//#region src/plugins/stage-panning/types.d.ts
|
|
521
|
-
//# sourceMappingURL=stage-zoom.d.ts.map
|
|
522
517
|
type WeaveStagePanningPluginParams = {
|
|
523
518
|
config?: Partial<WeaveStagePanningPluginConfig>;
|
|
524
519
|
};
|
|
@@ -528,10 +523,8 @@ type WeaveStagePanningPluginConfig = {
|
|
|
528
523
|
speed: number;
|
|
529
524
|
};
|
|
530
525
|
};
|
|
531
|
-
|
|
532
526
|
//#endregion
|
|
533
527
|
//#region src/plugins/stage-panning/stage-panning.d.ts
|
|
534
|
-
//# sourceMappingURL=types.d.ts.map
|
|
535
528
|
declare class WeaveStagePanningPlugin extends WeavePlugin {
|
|
536
529
|
private readonly config;
|
|
537
530
|
private moveToolActive;
|
|
@@ -566,24 +559,20 @@ declare class WeaveStagePanningPlugin extends WeavePlugin {
|
|
|
566
559
|
getContextMenuPlugin(): WeaveContextMenuPlugin | undefined;
|
|
567
560
|
getNodesSelectionPlugin(): WeaveNodesSelectionPlugin | undefined;
|
|
568
561
|
getStageGridPlugin(): WeaveStageGridPlugin | undefined;
|
|
569
|
-
getCurrentPointer():
|
|
562
|
+
getCurrentPointer(): import("konva/lib/types").Vector2d | null;
|
|
570
563
|
cleanupEdgeMoveIntervals(): void;
|
|
571
564
|
enable(): void;
|
|
572
565
|
disable(): void;
|
|
573
566
|
}
|
|
574
|
-
|
|
575
567
|
//#endregion
|
|
576
568
|
//#region src/plugins/users-presence/constants.d.ts
|
|
577
|
-
//# sourceMappingURL=stage-panning.d.ts.map
|
|
578
569
|
declare const WEAVE_USER_PRESENCE_KEY = "userPresence";
|
|
579
570
|
declare const WEAVE_USERS_PRESENCE_PLUGIN_KEY = "usersPresence";
|
|
580
571
|
declare const WEAVE_USERS_PRESENCE_CONFIG_DEFAULT_PROPS: {
|
|
581
572
|
awarenessThrottleMs: number;
|
|
582
573
|
};
|
|
583
|
-
|
|
584
574
|
//#endregion
|
|
585
575
|
//#region src/plugins/users-presence/types.d.ts
|
|
586
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
587
576
|
type WeaveUsersPresencePluginConfig = {
|
|
588
577
|
getUser: () => WeaveUser;
|
|
589
578
|
};
|
|
@@ -598,10 +587,8 @@ type WeaveUserPresence<T> = {
|
|
|
598
587
|
attrs: T;
|
|
599
588
|
};
|
|
600
589
|
type WeaveUserPresenceKey = typeof WEAVE_USER_PRESENCE_KEY;
|
|
601
|
-
|
|
602
590
|
//#endregion
|
|
603
591
|
//#region src/plugins/users-presence/users-presence.d.ts
|
|
604
|
-
//# sourceMappingURL=types.d.ts.map
|
|
605
592
|
declare class WeaveUsersPresencePlugin extends WeavePlugin {
|
|
606
593
|
private readonly config;
|
|
607
594
|
private userPresence;
|
|
@@ -616,10 +603,8 @@ declare class WeaveUsersPresencePlugin extends WeavePlugin {
|
|
|
616
603
|
enable(): void;
|
|
617
604
|
disable(): void;
|
|
618
605
|
}
|
|
619
|
-
|
|
620
606
|
//#endregion
|
|
621
607
|
//#region src/plugins/nodes-multi-selection-feedback/types.d.ts
|
|
622
|
-
//# sourceMappingURL=users-presence.d.ts.map
|
|
623
608
|
type WeaveNodesMultiSelectionFeedbackStyle = {
|
|
624
609
|
stroke: string;
|
|
625
610
|
strokeWidth: number;
|
|
@@ -632,10 +617,8 @@ type WeaveNodesMultiSelectionFeedbackPluginConfig = DeepPartial<WeaveNodesMultiS
|
|
|
632
617
|
type WeaveNodesMultiSelectionFeedbackPluginParams = {
|
|
633
618
|
config?: WeaveNodesMultiSelectionFeedbackPluginConfig;
|
|
634
619
|
};
|
|
635
|
-
|
|
636
620
|
//#endregion
|
|
637
621
|
//#region src/plugins/nodes-multi-selection-feedback/nodes-multi-selection-feedback.d.ts
|
|
638
|
-
//# sourceMappingURL=types.d.ts.map
|
|
639
622
|
declare class WeaveNodesMultiSelectionFeedbackPlugin extends WeavePlugin {
|
|
640
623
|
private config;
|
|
641
624
|
protected selectedHalos: Record<string, Konva.Rect>;
|
|
@@ -646,7 +629,7 @@ declare class WeaveNodesMultiSelectionFeedbackPlugin extends WeavePlugin {
|
|
|
646
629
|
getName(): string;
|
|
647
630
|
getLayerName(): string;
|
|
648
631
|
initLayer(): void;
|
|
649
|
-
getSelectedHalos(): Record<string,
|
|
632
|
+
getSelectedHalos(): Record<string, import("konva/lib/shapes/Rect").Rect>;
|
|
650
633
|
cleanupSelectedHalos(): void;
|
|
651
634
|
private getNodeRectInfo;
|
|
652
635
|
private getNodeInfo;
|
|
@@ -659,10 +642,8 @@ declare class WeaveNodesMultiSelectionFeedbackPlugin extends WeavePlugin {
|
|
|
659
642
|
enable(): void;
|
|
660
643
|
disable(): void;
|
|
661
644
|
}
|
|
662
|
-
|
|
663
645
|
//#endregion
|
|
664
646
|
//#region src/plugins/nodes-selection/transformer-controller.d.ts
|
|
665
|
-
//# sourceMappingURL=nodes-multi-selection-feedback.d.ts.map
|
|
666
647
|
interface TransformerCallbacks {
|
|
667
648
|
isSelecting(): boolean;
|
|
668
649
|
setSelectedNodes(nodes: Konva.Node[]): void;
|
|
@@ -713,10 +694,8 @@ declare class TransformerController {
|
|
|
713
694
|
private registerInstanceEvents;
|
|
714
695
|
private handleUndoRedoSelectionChange;
|
|
715
696
|
}
|
|
716
|
-
|
|
717
697
|
//#endregion
|
|
718
698
|
//#region src/plugins/nodes-selection/selection-context.d.ts
|
|
719
|
-
//# sourceMappingURL=transformer-controller.d.ts.map
|
|
720
699
|
/**
|
|
721
700
|
* The minimal surface of WeaveNodesSelectionPlugin that event-handler
|
|
722
701
|
* modules depend on. Keeping it separate prevents circular imports and
|
|
@@ -764,10 +743,8 @@ interface SelectionContext {
|
|
|
764
743
|
getStageGridPlugin(): WeaveStageGridPlugin | undefined;
|
|
765
744
|
getNodesSelectionFeedbackPlugin(): WeaveNodesMultiSelectionFeedbackPlugin | undefined;
|
|
766
745
|
}
|
|
767
|
-
|
|
768
746
|
//#endregion
|
|
769
747
|
//#region src/plugins/nodes-selection/nodes-selection.d.ts
|
|
770
|
-
//# sourceMappingURL=selection-context.d.ts.map
|
|
771
748
|
declare class WeaveNodesSelectionPlugin extends WeavePlugin implements SelectionContext {
|
|
772
749
|
readonly gesture: GestureDetector;
|
|
773
750
|
private edgePanning;
|
|
@@ -833,7 +810,7 @@ declare class WeaveNodesSelectionPlugin extends WeavePlugin implements Selection
|
|
|
833
810
|
getHoverTransformer(): Konva.Transformer;
|
|
834
811
|
handleBehaviors(): void;
|
|
835
812
|
setSelectedNodes(nodes: Konva.Node[]): void;
|
|
836
|
-
getSelectedNodes(): (
|
|
813
|
+
getSelectedNodes(): (import("konva/lib/Shape").Shape<import("konva/lib/Shape").ShapeConfig> | import("konva/lib/Group").Group)[];
|
|
837
814
|
getSelectedNodesExtended(): WeaveSelection[];
|
|
838
815
|
selectAll(): void;
|
|
839
816
|
selectNone(): void;
|
|
@@ -846,7 +823,7 @@ declare class WeaveNodesSelectionPlugin extends WeavePlugin implements Selection
|
|
|
846
823
|
getUsersPresencePlugin(): WeaveUsersPresencePlugin | undefined;
|
|
847
824
|
isTransforming(): boolean;
|
|
848
825
|
isDragging(): boolean;
|
|
849
|
-
getBoundBoxFunc(): (oldBox:
|
|
826
|
+
getBoundBoxFunc(): (oldBox: import("konva/lib/shapes/Transformer").Box, newBox: import("konva/lib/shapes/Transformer").Box) => import("konva/lib/shapes/Transformer").Box;
|
|
850
827
|
getSelectorConfig(): TransformerConfig;
|
|
851
828
|
saveDragSelectedNodes(): void;
|
|
852
829
|
getDragSelectedNodes(): Konva.Node[];
|
|
@@ -854,10 +831,8 @@ declare class WeaveNodesSelectionPlugin extends WeavePlugin implements Selection
|
|
|
854
831
|
restoreNodesOpacityOnDrag(): void;
|
|
855
832
|
getDragOpacity(): number;
|
|
856
833
|
}
|
|
857
|
-
|
|
858
834
|
//#endregion
|
|
859
835
|
//#region src/nodes/node.d.ts
|
|
860
|
-
//# sourceMappingURL=nodes-selection.d.ts.map
|
|
861
836
|
declare abstract class WeaveNode implements WeaveNodeBase {
|
|
862
837
|
protected instance: Weave;
|
|
863
838
|
protected nodeType: string;
|
|
@@ -909,10 +884,8 @@ declare abstract class WeaveNode implements WeaveNodeBase {
|
|
|
909
884
|
static defaultState(nodeId: string): WeaveStateElement;
|
|
910
885
|
static getSchema(): z.ZodObject<any>;
|
|
911
886
|
}
|
|
912
|
-
|
|
913
887
|
//#endregion
|
|
914
888
|
//#region src/actions/action.d.ts
|
|
915
|
-
//# sourceMappingURL=node.d.ts.map
|
|
916
889
|
declare abstract class WeaveAction implements WeaveActionBase {
|
|
917
890
|
protected instance: Weave;
|
|
918
891
|
protected name: string;
|
|
@@ -942,10 +915,8 @@ declare abstract class WeaveAction implements WeaveActionBase {
|
|
|
942
915
|
abstract onPropsChange?(): void;
|
|
943
916
|
abstract cleanup?(): void;
|
|
944
917
|
}
|
|
945
|
-
|
|
946
918
|
//#endregion
|
|
947
919
|
//#region src/renderer/renderer.d.ts
|
|
948
|
-
//# sourceMappingURL=action.d.ts.map
|
|
949
920
|
declare abstract class WeaveRenderer implements WeaveRendererBase {
|
|
950
921
|
protected instance: Weave;
|
|
951
922
|
protected logger: Logger;
|
|
@@ -956,10 +927,8 @@ declare abstract class WeaveRenderer implements WeaveRendererBase {
|
|
|
956
927
|
abstract init(): void;
|
|
957
928
|
abstract render(callback?: () => void): void;
|
|
958
929
|
}
|
|
959
|
-
|
|
960
930
|
//#endregion
|
|
961
931
|
//#region src/logger/logger.d.ts
|
|
962
|
-
//# sourceMappingURL=renderer.d.ts.map
|
|
963
932
|
declare class WeaveLogger {
|
|
964
933
|
private readonly instance;
|
|
965
934
|
private config;
|
|
@@ -972,10 +941,8 @@ declare class WeaveLogger {
|
|
|
972
941
|
getLogger(): Logger;
|
|
973
942
|
getChildLogger(name: string): pino.Logger<never, boolean>;
|
|
974
943
|
}
|
|
975
|
-
|
|
976
944
|
//#endregion
|
|
977
945
|
//#region src/managers/targeting.d.ts
|
|
978
|
-
//# sourceMappingURL=logger.d.ts.map
|
|
979
946
|
declare class WeaveTargetingManager {
|
|
980
947
|
private instance;
|
|
981
948
|
private logger;
|
|
@@ -987,12 +954,10 @@ declare class WeaveTargetingManager {
|
|
|
987
954
|
nodeIntersectsContainerElement(node: Konva.Node | Konva.Transformer, actualLayer?: Konva.Layer | Konva.Group): Konva.Node | undefined;
|
|
988
955
|
getMousePointer(point?: Konva.Vector2d): WeaveMousePointInfo;
|
|
989
956
|
getMousePointerRelativeToContainer(container: Konva.Node | Konva.Layer): WeaveMousePointInfoSimple;
|
|
990
|
-
getRealSelectedNode: (nodeTarget: Konva.Node) =>
|
|
957
|
+
getRealSelectedNode: (nodeTarget: Konva.Node) => import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig>;
|
|
991
958
|
}
|
|
992
|
-
|
|
993
959
|
//#endregion
|
|
994
960
|
//#region src/managers/cloning.d.ts
|
|
995
|
-
//# sourceMappingURL=targeting.d.ts.map
|
|
996
961
|
declare class WeaveCloningManager {
|
|
997
962
|
private instance;
|
|
998
963
|
private logger;
|
|
@@ -1006,14 +971,12 @@ declare class WeaveCloningManager {
|
|
|
1006
971
|
cloneNode(targetNode: Konva.Node): Konva.Node | undefined;
|
|
1007
972
|
addClone(node: Konva.Node): void;
|
|
1008
973
|
removeClone(node: Konva.Node): void;
|
|
1009
|
-
getClones():
|
|
1010
|
-
isClone(node: Konva.Node):
|
|
974
|
+
getClones(): import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig>[];
|
|
975
|
+
isClone(node: Konva.Node): import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig> | undefined;
|
|
1011
976
|
cleanupClones(): void;
|
|
1012
977
|
}
|
|
1013
|
-
|
|
1014
978
|
//#endregion
|
|
1015
979
|
//#region src/managers/register.d.ts
|
|
1016
|
-
//# sourceMappingURL=cloning.d.ts.map
|
|
1017
980
|
declare class WeaveRegisterManager {
|
|
1018
981
|
private instance;
|
|
1019
982
|
private nodesHandlers;
|
|
@@ -1038,10 +1001,8 @@ declare class WeaveRegisterManager {
|
|
|
1038
1001
|
resetPlugins(): void;
|
|
1039
1002
|
reset(): void;
|
|
1040
1003
|
}
|
|
1041
|
-
|
|
1042
1004
|
//#endregion
|
|
1043
1005
|
//#region src/managers/stage.d.ts
|
|
1044
|
-
//# sourceMappingURL=register.d.ts.map
|
|
1045
1006
|
declare class WeaveStageManager {
|
|
1046
1007
|
private instance;
|
|
1047
1008
|
private logger;
|
|
@@ -1060,10 +1021,8 @@ declare class WeaveStageManager {
|
|
|
1060
1021
|
initStage(): void;
|
|
1061
1022
|
getContainerNodes(): WeaveElementInstance[];
|
|
1062
1023
|
}
|
|
1063
|
-
|
|
1064
1024
|
//#endregion
|
|
1065
1025
|
//#region src/types.d.ts
|
|
1066
|
-
//# sourceMappingURL=stage.d.ts.map
|
|
1067
1026
|
type DOMElement = HTMLElement | Element | null;
|
|
1068
1027
|
type WeaveFontFace = FontFaceDescriptors & {
|
|
1069
1028
|
source: string | BufferSource;
|
|
@@ -1100,10 +1059,8 @@ type WeaveConfig = {
|
|
|
1100
1059
|
axisLockThreshold: number;
|
|
1101
1060
|
};
|
|
1102
1061
|
};
|
|
1103
|
-
|
|
1104
1062
|
//#endregion
|
|
1105
1063
|
//#region src/weave.d.ts
|
|
1106
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1107
1064
|
declare class Weave {
|
|
1108
1065
|
private id;
|
|
1109
1066
|
private emitter;
|
|
@@ -1277,7 +1234,7 @@ declare class Weave {
|
|
|
1277
1234
|
getMousePointer(point?: Konva.Vector2d): WeaveMousePointInfo;
|
|
1278
1235
|
getMousePointerRelativeToContainer(container: Konva.Node | Konva.Layer): WeaveMousePointInfoSimple;
|
|
1279
1236
|
selectNodesByKey(nodesIds: string[]): void;
|
|
1280
|
-
getRealSelectedNode: (nodeTarget: Konva.Node) =>
|
|
1237
|
+
getRealSelectedNode: (nodeTarget: Konva.Node) => import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig>;
|
|
1281
1238
|
getCloningManager(): WeaveCloningManager;
|
|
1282
1239
|
nodesToGroupSerialized(instancesToClone: Konva.Node[]): WeaveSerializedGroup;
|
|
1283
1240
|
getFonts(): WeaveFont[];
|
|
@@ -1339,18 +1296,11 @@ declare class Weave {
|
|
|
1339
1296
|
runPhaseHooks<T>(phaseName: string, execution: (hook: (params: T) => void) => void): void;
|
|
1340
1297
|
getHook<T>(hookName: string): T | undefined;
|
|
1341
1298
|
unregisterHook(hookName: string): void;
|
|
1342
|
-
acquireMutexLock({
|
|
1343
|
-
nodeIds,
|
|
1344
|
-
operation
|
|
1345
|
-
}: {
|
|
1299
|
+
acquireMutexLock({ nodeIds, operation }: {
|
|
1346
1300
|
nodeIds: string[];
|
|
1347
1301
|
operation: string;
|
|
1348
1302
|
}, action: () => void | Promise<void>): Promise<void>;
|
|
1349
|
-
setMutexLock<T>({
|
|
1350
|
-
nodeIds,
|
|
1351
|
-
operation,
|
|
1352
|
-
metadata
|
|
1353
|
-
}: {
|
|
1303
|
+
setMutexLock<T>({ nodeIds, operation, metadata }: {
|
|
1354
1304
|
nodeIds: string[];
|
|
1355
1305
|
operation: string;
|
|
1356
1306
|
metadata?: T;
|
|
@@ -1370,28 +1320,22 @@ declare class Weave {
|
|
|
1370
1320
|
getMetadata<T extends AllowedObject>(): T;
|
|
1371
1321
|
saveMetadata<T extends AllowedObject>(metadata: T): void;
|
|
1372
1322
|
}
|
|
1373
|
-
|
|
1374
1323
|
//#endregion
|
|
1375
1324
|
//#region src/nodes/types.d.ts
|
|
1376
|
-
//# sourceMappingURL=weave.d.ts.map
|
|
1377
1325
|
type WeaveNodeChangedContainerEvent = {
|
|
1378
1326
|
originalNode: Konva.Node | null | undefined;
|
|
1379
1327
|
newNode: Konva.Node | null | undefined;
|
|
1380
1328
|
originalContainer: Konva.Node | null | undefined;
|
|
1381
1329
|
newContainer: Konva.Node | null | undefined;
|
|
1382
1330
|
};
|
|
1383
|
-
|
|
1384
1331
|
//#endregion
|
|
1385
1332
|
//#region src/actions/types.d.ts
|
|
1386
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1387
1333
|
type WeaveActionPropsChangeEvent = {
|
|
1388
1334
|
instance: WeaveAction;
|
|
1389
1335
|
props: WeaveElementAttributes;
|
|
1390
1336
|
};
|
|
1391
|
-
|
|
1392
1337
|
//#endregion
|
|
1393
1338
|
//#region src/utils/utils.d.ts
|
|
1394
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1395
1339
|
declare function resetScale(node: Konva.Node): void;
|
|
1396
1340
|
declare function clearContainerTargets(instance: Weave): void;
|
|
1397
1341
|
declare function containerOverCursor(instance: Weave, ignoreNodes: Konva.Node[], definedCursorPosition?: Konva.Vector2d): Konva.Group | undefined;
|
|
@@ -1423,17 +1367,13 @@ declare function getSelectedNodesMetadata(transformer: Konva.Transformer): {
|
|
|
1423
1367
|
nodes: string[];
|
|
1424
1368
|
};
|
|
1425
1369
|
declare function getTargetAndSkipNodes(instance: Weave, e: KonvaEventObject<any, any>, forceTransformer?: boolean): {
|
|
1426
|
-
targetNode:
|
|
1370
|
+
targetNode: import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig> | import("konva/lib/shapes/Transformer").Transformer | undefined;
|
|
1427
1371
|
skipNodes: string[];
|
|
1428
1372
|
};
|
|
1429
|
-
declare function getVisibleNodesInViewport(stage: Konva.Stage, referenceLayer: Konva.Layer | Konva.Group | undefined):
|
|
1373
|
+
declare function getVisibleNodesInViewport(stage: Konva.Stage, referenceLayer: Konva.Layer | Konva.Group | undefined): import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig>[];
|
|
1430
1374
|
declare function isInShadowDOM(el: DOMElement): boolean;
|
|
1431
1375
|
declare function getTopmostShadowHost(el: DOMElement): ShadowRoot | null;
|
|
1432
|
-
declare function getVisibleNodes({
|
|
1433
|
-
instance,
|
|
1434
|
-
skipNodes,
|
|
1435
|
-
referenceLayer
|
|
1436
|
-
}: {
|
|
1376
|
+
declare function getVisibleNodes({ instance, skipNodes, referenceLayer }: {
|
|
1437
1377
|
instance: Weave;
|
|
1438
1378
|
skipNodes: string[];
|
|
1439
1379
|
referenceLayer: Konva.Layer | Konva.Group;
|
|
@@ -1446,10 +1386,8 @@ declare function mergeExceptArrays<TObject, TSource>(object: TObject, source: TS
|
|
|
1446
1386
|
declare function getStageClickPoint(instance: Weave, pointerPos: Konva.Vector2d): Konva.Vector2d;
|
|
1447
1387
|
declare function isNumber(value: unknown): value is number;
|
|
1448
1388
|
declare function sleep(ms: number): Promise<void>;
|
|
1449
|
-
|
|
1450
1389
|
//#endregion
|
|
1451
1390
|
//#region src/utils/image.d.ts
|
|
1452
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
1453
1391
|
declare function loadImageSource(image: File, options?: {
|
|
1454
1392
|
crossOrigin: ImageCrossOrigin;
|
|
1455
1393
|
}): Promise<HTMLImageElement>;
|
|
@@ -1468,10 +1406,8 @@ declare const downscaleImageFromURL: (url: string, options?: Partial<{
|
|
|
1468
1406
|
maxWidth: number;
|
|
1469
1407
|
maxHeight: number;
|
|
1470
1408
|
}>) => Promise<string>;
|
|
1471
|
-
|
|
1472
1409
|
//#endregion
|
|
1473
1410
|
//#region src/state.manipulation.d.ts
|
|
1474
|
-
//# sourceMappingURL=image.d.ts.map
|
|
1475
1411
|
declare class WeaveStateManipulation {
|
|
1476
1412
|
/**
|
|
1477
1413
|
* Converts any JS value to the appropriate Yjs type:
|
|
@@ -1494,15 +1430,11 @@ declare class WeaveStateManipulation {
|
|
|
1494
1430
|
static getYjsElement(doc: Y.Doc, nodeId: string): Y.Map<any> | null;
|
|
1495
1431
|
static getNodesBoundingBox(nodes: WeaveStateElement[]): BoundingBox;
|
|
1496
1432
|
}
|
|
1497
|
-
|
|
1498
1433
|
//#endregion
|
|
1499
1434
|
//#region src/stores/default-initial-state.d.ts
|
|
1500
|
-
//# sourceMappingURL=state.manipulation.d.ts.map
|
|
1501
1435
|
declare function defaultInitialState(doc: Doc): void;
|
|
1502
|
-
|
|
1503
1436
|
//#endregion
|
|
1504
1437
|
//#region src/stores/types.d.ts
|
|
1505
|
-
//# sourceMappingURL=default-initial-state.d.ts.map
|
|
1506
1438
|
type WeaveStoreOnUndoChangeEvent = undefined;
|
|
1507
1439
|
type WeaveStoreOnRedoChangeEvent = undefined;
|
|
1508
1440
|
type WeaveStoreOnStateChangeEvent = WeaveState;
|
|
@@ -1520,17 +1452,13 @@ type WeaveStoreOnRoomSwitchingStartEvent = {
|
|
|
1520
1452
|
type WeaveStoreOnRoomSwitchingEndEvent = {
|
|
1521
1453
|
room: string;
|
|
1522
1454
|
};
|
|
1523
|
-
|
|
1524
1455
|
//#endregion
|
|
1525
1456
|
//#region src/managers/mutex/types.d.ts
|
|
1526
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1527
1457
|
type WeaveMutexLockChangeEvent = {
|
|
1528
1458
|
locks: string[];
|
|
1529
1459
|
};
|
|
1530
|
-
|
|
1531
1460
|
//#endregion
|
|
1532
1461
|
//#region src/nodes/stage/stage.d.ts
|
|
1533
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1534
1462
|
declare class WeaveStageNode extends WeaveNode {
|
|
1535
1463
|
protected nodeType: string;
|
|
1536
1464
|
protected stageFocused: boolean;
|
|
@@ -1541,16 +1469,12 @@ declare class WeaveStageNode extends WeaveNode {
|
|
|
1541
1469
|
setupEvents(): void;
|
|
1542
1470
|
private isOnlyCtrlOrMeta;
|
|
1543
1471
|
}
|
|
1544
|
-
|
|
1545
1472
|
//#endregion
|
|
1546
1473
|
//#region src/nodes/stage/constants.d.ts
|
|
1547
|
-
//# sourceMappingURL=stage.d.ts.map
|
|
1548
1474
|
declare const WEAVE_STAGE_NODE_TYPE = "stage";
|
|
1549
1475
|
declare const WEAVE_STAGE_DEFAULT_MODE = "default";
|
|
1550
|
-
|
|
1551
1476
|
//#endregion
|
|
1552
1477
|
//#region src/nodes/layer/layer.d.ts
|
|
1553
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1554
1478
|
declare class WeaveLayerNode extends WeaveNode {
|
|
1555
1479
|
protected nodeType: string;
|
|
1556
1480
|
initialize: undefined;
|
|
@@ -1558,25 +1482,19 @@ declare class WeaveLayerNode extends WeaveNode {
|
|
|
1558
1482
|
onUpdate(nodeInstance: WeaveElementInstance, nextProps: WeaveElementAttributes): void;
|
|
1559
1483
|
serialize(instance: WeaveElementInstance): WeaveStateElement;
|
|
1560
1484
|
}
|
|
1561
|
-
|
|
1562
1485
|
//#endregion
|
|
1563
1486
|
//#region src/nodes/layer/constants.d.ts
|
|
1564
|
-
//# sourceMappingURL=layer.d.ts.map
|
|
1565
1487
|
declare const WEAVE_LAYER_NODE_TYPE = "layer";
|
|
1566
|
-
|
|
1567
1488
|
//#endregion
|
|
1568
1489
|
//#region src/nodes/group/types.d.ts
|
|
1569
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1570
1490
|
type WeaveGroupProperties = {
|
|
1571
1491
|
transform: WeaveNodeTransformerProperties;
|
|
1572
1492
|
};
|
|
1573
1493
|
type WeaveGroupNodeParams = {
|
|
1574
1494
|
config: Partial<WeaveGroupProperties>;
|
|
1575
1495
|
};
|
|
1576
|
-
|
|
1577
1496
|
//#endregion
|
|
1578
1497
|
//#region src/nodes/group/group.d.ts
|
|
1579
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1580
1498
|
declare class WeaveGroupNode extends WeaveNode {
|
|
1581
1499
|
private config;
|
|
1582
1500
|
protected nodeType: string;
|
|
@@ -1589,15 +1507,11 @@ declare class WeaveGroupNode extends WeaveNode {
|
|
|
1589
1507
|
serialize(instance: WeaveElementInstance): WeaveStateElement;
|
|
1590
1508
|
scaleReset(node: Konva.Group): void;
|
|
1591
1509
|
}
|
|
1592
|
-
|
|
1593
1510
|
//#endregion
|
|
1594
1511
|
//#region src/nodes/group/constants.d.ts
|
|
1595
|
-
//# sourceMappingURL=group.d.ts.map
|
|
1596
1512
|
declare const WEAVE_GROUP_NODE_TYPE = "group";
|
|
1597
|
-
|
|
1598
1513
|
//#endregion
|
|
1599
1514
|
//#region src/nodes/shared/shape-label.types.d.ts
|
|
1600
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1601
1515
|
type WeaveShapeLabelProps = {
|
|
1602
1516
|
labelText?: string;
|
|
1603
1517
|
labelFontFamily?: string;
|
|
@@ -1619,17 +1533,14 @@ type WeaveShapeLabelTextBounds = {
|
|
|
1619
1533
|
width: number;
|
|
1620
1534
|
height: number;
|
|
1621
1535
|
};
|
|
1622
|
-
|
|
1623
1536
|
//#endregion
|
|
1624
1537
|
//#region src/nodes/rectangle/types.d.ts
|
|
1625
|
-
//# sourceMappingURL=shape-label.types.d.ts.map
|
|
1626
1538
|
type WeaveRectangleProperties = {
|
|
1627
1539
|
transform: WeaveNodeTransformerProperties;
|
|
1628
1540
|
};
|
|
1629
1541
|
type WeaveRectangleNodeParams = {
|
|
1630
1542
|
config: Partial<WeaveRectangleProperties>;
|
|
1631
1543
|
};
|
|
1632
|
-
|
|
1633
1544
|
//#endregion
|
|
1634
1545
|
//#region src/nodes/rectangle/rectangle.d.ts
|
|
1635
1546
|
declare class WeaveRectangleNode extends WeaveNode {
|
|
@@ -1651,22 +1562,17 @@ declare class WeaveRectangleNode extends WeaveNode {
|
|
|
1651
1562
|
props: any;
|
|
1652
1563
|
}, z.core.$strip>;
|
|
1653
1564
|
}
|
|
1654
|
-
|
|
1655
1565
|
//#endregion
|
|
1656
1566
|
//#region src/nodes/rectangle/constants.d.ts
|
|
1657
|
-
//# sourceMappingURL=rectangle.d.ts.map
|
|
1658
1567
|
declare const WEAVE_RECTANGLE_NODE_TYPE = "rectangle";
|
|
1659
|
-
|
|
1660
1568
|
//#endregion
|
|
1661
1569
|
//#region src/nodes/ellipse/types.d.ts
|
|
1662
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1663
1570
|
type WeaveEllipseProperties = {
|
|
1664
1571
|
transform: WeaveNodeTransformerProperties;
|
|
1665
1572
|
};
|
|
1666
1573
|
type WeaveEllipseNodeParams = {
|
|
1667
1574
|
config: Partial<WeaveEllipseProperties>;
|
|
1668
1575
|
};
|
|
1669
|
-
|
|
1670
1576
|
//#endregion
|
|
1671
1577
|
//#region src/nodes/ellipse/ellipse.d.ts
|
|
1672
1578
|
declare class WeaveEllipseNode extends WeaveNode {
|
|
@@ -1691,15 +1597,11 @@ declare class WeaveEllipseNode extends WeaveNode {
|
|
|
1691
1597
|
props: any;
|
|
1692
1598
|
}, z.core.$strip>;
|
|
1693
1599
|
}
|
|
1694
|
-
|
|
1695
1600
|
//#endregion
|
|
1696
1601
|
//#region src/nodes/ellipse/constants.d.ts
|
|
1697
|
-
//# sourceMappingURL=ellipse.d.ts.map
|
|
1698
1602
|
declare const WEAVE_ELLIPSE_NODE_TYPE = "ellipse";
|
|
1699
|
-
|
|
1700
1603
|
//#endregion
|
|
1701
1604
|
//#region src/nodes/line/types.d.ts
|
|
1702
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1703
1605
|
type WeaveLineProperties = {
|
|
1704
1606
|
transform?: WeaveNodeTransformerProperties;
|
|
1705
1607
|
snapAngles: {
|
|
@@ -1711,10 +1613,8 @@ type WeaveLineProperties = {
|
|
|
1711
1613
|
type WeaveLineNodeParams = {
|
|
1712
1614
|
config: Partial<WeaveLineProperties>;
|
|
1713
1615
|
};
|
|
1714
|
-
|
|
1715
1616
|
//#endregion
|
|
1716
1617
|
//#region src/internal-utils/greedy-snapper.d.ts
|
|
1717
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1718
1618
|
interface GreedySnapConfig {
|
|
1719
1619
|
snapAngles: number[];
|
|
1720
1620
|
activateThreshold: number;
|
|
@@ -1728,10 +1628,8 @@ declare class GreedySnapper {
|
|
|
1728
1628
|
angleDiff(a: number, b: number): number;
|
|
1729
1629
|
apply(angleDeg: number): number;
|
|
1730
1630
|
}
|
|
1731
|
-
|
|
1732
1631
|
//#endregion
|
|
1733
1632
|
//#region src/nodes/line/line.d.ts
|
|
1734
|
-
//# sourceMappingURL=greedy-snapper.d.ts.map
|
|
1735
1633
|
declare class WeaveLineNode extends WeaveNode {
|
|
1736
1634
|
private config;
|
|
1737
1635
|
protected readonly snapper: GreedySnapper;
|
|
@@ -1750,10 +1648,8 @@ declare class WeaveLineNode extends WeaveNode {
|
|
|
1750
1648
|
scaleReset(node: Konva.Line): void;
|
|
1751
1649
|
private getParentPosition;
|
|
1752
1650
|
}
|
|
1753
|
-
|
|
1754
1651
|
//#endregion
|
|
1755
1652
|
//#region src/nodes/line/constants.d.ts
|
|
1756
|
-
//# sourceMappingURL=line.d.ts.map
|
|
1757
1653
|
declare const WEAVE_LINE_NODE_TYPE = "line";
|
|
1758
1654
|
declare const WEAVE_LINE_NODE_DEFAULT_CONFIG: {
|
|
1759
1655
|
snapAngles: {
|
|
@@ -1762,23 +1658,19 @@ declare const WEAVE_LINE_NODE_DEFAULT_CONFIG: {
|
|
|
1762
1658
|
releaseThreshold: number;
|
|
1763
1659
|
};
|
|
1764
1660
|
};
|
|
1765
|
-
|
|
1766
1661
|
//#endregion
|
|
1767
1662
|
//#region src/nodes/text/constants.d.ts
|
|
1768
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1769
1663
|
declare const WEAVE_TEXT_NODE_TYPE = "text";
|
|
1770
1664
|
declare const WEAVE_STAGE_TEXT_EDITION_MODE = "text-edition";
|
|
1771
|
-
declare const WEAVE_TEXT_NODE_DEFAULT_CONFIG: WeaveTextProperties
|
|
1665
|
+
declare const WEAVE_TEXT_NODE_DEFAULT_CONFIG: WeaveTextProperties;
|
|
1772
1666
|
declare const TEXT_LAYOUT: {
|
|
1773
1667
|
readonly SMART: "smart";
|
|
1774
1668
|
readonly AUTO_ALL: "auto-all";
|
|
1775
1669
|
readonly AUTO_HEIGHT: "auto-height";
|
|
1776
1670
|
readonly FIXED: "fixed";
|
|
1777
1671
|
};
|
|
1778
|
-
|
|
1779
1672
|
//#endregion
|
|
1780
1673
|
//#region src/nodes/text/types.d.ts
|
|
1781
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1782
1674
|
type TextSerializable = Konva.TextConfig & NodeSerializable & {
|
|
1783
1675
|
type: 'text';
|
|
1784
1676
|
id: string;
|
|
@@ -1796,14 +1688,14 @@ type WeaveTextOutlineProperties = {
|
|
|
1796
1688
|
} | {
|
|
1797
1689
|
enabled: false;
|
|
1798
1690
|
};
|
|
1799
|
-
type WeaveTextProperties
|
|
1691
|
+
type WeaveTextProperties = {
|
|
1800
1692
|
transform: WeaveNodeTransformerProperties;
|
|
1801
1693
|
outline: WeaveTextOutlineProperties;
|
|
1802
1694
|
edition: WeaveTextEditionProperties;
|
|
1803
1695
|
cursor: WeaveTextCursorProperties;
|
|
1804
1696
|
};
|
|
1805
1697
|
type WeaveTextNodeParams = {
|
|
1806
|
-
config: DeepPartial<WeaveTextProperties
|
|
1698
|
+
config: DeepPartial<WeaveTextProperties>;
|
|
1807
1699
|
};
|
|
1808
1700
|
type WeaveTextNodeOnEnterTextNodeEditMode = {
|
|
1809
1701
|
node: Konva.Text;
|
|
@@ -1813,10 +1705,8 @@ type WeaveTextNodeOnExitTextNodeEditMode = {
|
|
|
1813
1705
|
};
|
|
1814
1706
|
type WeaveTextLayoutKeys = keyof typeof TEXT_LAYOUT;
|
|
1815
1707
|
type WeaveTextLayout = (typeof TEXT_LAYOUT)[WeaveTextLayoutKeys];
|
|
1816
|
-
|
|
1817
1708
|
//#endregion
|
|
1818
1709
|
//#region src/nodes/text/text.d.ts
|
|
1819
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1820
1710
|
declare class WeaveTextNode extends WeaveNode {
|
|
1821
1711
|
private config;
|
|
1822
1712
|
protected nodeType: string;
|
|
@@ -1909,10 +1799,8 @@ declare class WeaveTextNode extends WeaveNode {
|
|
|
1909
1799
|
}, z.core.$strip>;
|
|
1910
1800
|
}, z.core.$strip>;
|
|
1911
1801
|
}
|
|
1912
|
-
|
|
1913
1802
|
//#endregion
|
|
1914
1803
|
//#region src/nodes/image/constants.d.ts
|
|
1915
|
-
//# sourceMappingURL=text.d.ts.map
|
|
1916
1804
|
declare const WEAVE_IMAGE_NODE_TYPE = "image";
|
|
1917
1805
|
declare const WEAVE_STAGE_IMAGE_CROPPING_MODE = "image-cropping";
|
|
1918
1806
|
declare const WEAVE_IMAGE_CROP_END_TYPE: {
|
|
@@ -1930,10 +1818,8 @@ declare const WEAVE_IMAGE_CROP_ANCHOR_POSITION: {
|
|
|
1930
1818
|
readonly BOTTOM_CENTER: "bottom-center";
|
|
1931
1819
|
};
|
|
1932
1820
|
declare const WEAVE_IMAGE_DEFAULT_CONFIG: WeaveImageProperties;
|
|
1933
|
-
|
|
1934
1821
|
//#endregion
|
|
1935
1822
|
//#region src/nodes/image/types.d.ts
|
|
1936
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1937
1823
|
type ImageProps = WeaveElementAttributes & {
|
|
1938
1824
|
id: string;
|
|
1939
1825
|
width?: number;
|
|
@@ -2028,10 +1914,8 @@ type WeaveImageTriggerCropOptions = {
|
|
|
2028
1914
|
triggered: false;
|
|
2029
1915
|
};
|
|
2030
1916
|
};
|
|
2031
|
-
|
|
2032
1917
|
//#endregion
|
|
2033
1918
|
//#region src/nodes/image/crop.d.ts
|
|
2034
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2035
1919
|
declare class WeaveImageCrop {
|
|
2036
1920
|
private instance;
|
|
2037
1921
|
private image;
|
|
@@ -2068,10 +1952,8 @@ declare class WeaveImageCrop {
|
|
|
2068
1952
|
private closestPointOnLine;
|
|
2069
1953
|
private getNodesSelectionPlugin;
|
|
2070
1954
|
}
|
|
2071
|
-
|
|
2072
1955
|
//#endregion
|
|
2073
1956
|
//#region src/nodes/image/image.d.ts
|
|
2074
|
-
//# sourceMappingURL=crop.d.ts.map
|
|
2075
1957
|
declare class WeaveImageNode extends WeaveNode {
|
|
2076
1958
|
protected config: WeaveImageProperties;
|
|
2077
1959
|
protected imageBitmapCache: Record<string, ImageBitmap>;
|
|
@@ -2115,18 +1997,12 @@ declare class WeaveImageNode extends WeaveNode {
|
|
|
2115
1997
|
private renderCropAnchors;
|
|
2116
1998
|
renderCropMode(layer: Konva.Layer, node: Konva.Group): void;
|
|
2117
1999
|
onUpdate(nodeInstance: WeaveElementInstance, nextProps: WeaveElementAttributes): void;
|
|
2118
|
-
preloadFallbackImage(imageId: string, imageURL: string, {
|
|
2119
|
-
onLoad,
|
|
2120
|
-
onError
|
|
2121
|
-
}: {
|
|
2000
|
+
preloadFallbackImage(imageId: string, imageURL: string, { onLoad, onError }: {
|
|
2122
2001
|
onLoad: () => void;
|
|
2123
2002
|
onError: (error: Error) => void;
|
|
2124
2003
|
node?: Konva.Group;
|
|
2125
2004
|
}): void;
|
|
2126
|
-
preloadImage(imageId: string, imageURL: string, {
|
|
2127
|
-
onLoad,
|
|
2128
|
-
onError
|
|
2129
|
-
}: {
|
|
2005
|
+
preloadImage(imageId: string, imageURL: string, { onLoad, onError }: {
|
|
2130
2006
|
onLoad: () => void;
|
|
2131
2007
|
onError: (error: Error) => void;
|
|
2132
2008
|
node?: Konva.Group;
|
|
@@ -2155,20 +2031,16 @@ declare class WeaveImageNode extends WeaveNode {
|
|
|
2155
2031
|
props: any;
|
|
2156
2032
|
}, z.core.$strip>;
|
|
2157
2033
|
}
|
|
2158
|
-
|
|
2159
2034
|
//#endregion
|
|
2160
2035
|
//#region src/nodes/star/types.d.ts
|
|
2161
|
-
//# sourceMappingURL=image.d.ts.map
|
|
2162
2036
|
type WeaveStarProperties = {
|
|
2163
2037
|
transform: WeaveNodeTransformerProperties;
|
|
2164
2038
|
};
|
|
2165
2039
|
type WeaveStarNodeParams = {
|
|
2166
2040
|
config: Partial<WeaveStarProperties>;
|
|
2167
2041
|
};
|
|
2168
|
-
|
|
2169
2042
|
//#endregion
|
|
2170
2043
|
//#region src/nodes/star/star.d.ts
|
|
2171
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2172
2044
|
declare class WeaveStarNode extends WeaveNode {
|
|
2173
2045
|
private config;
|
|
2174
2046
|
protected nodeType: string;
|
|
@@ -2187,25 +2059,19 @@ declare class WeaveStarNode extends WeaveNode {
|
|
|
2187
2059
|
props: any;
|
|
2188
2060
|
}, z.core.$strip>;
|
|
2189
2061
|
}
|
|
2190
|
-
|
|
2191
2062
|
//#endregion
|
|
2192
2063
|
//#region src/nodes/star/constants.d.ts
|
|
2193
|
-
//# sourceMappingURL=star.d.ts.map
|
|
2194
2064
|
declare const WEAVE_STAR_NODE_TYPE = "star";
|
|
2195
|
-
|
|
2196
2065
|
//#endregion
|
|
2197
2066
|
//#region src/nodes/arrow/types.d.ts
|
|
2198
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2199
2067
|
type WeaveArrowProperties = {
|
|
2200
2068
|
transform: WeaveNodeTransformerProperties;
|
|
2201
2069
|
};
|
|
2202
2070
|
type WeaveArrowNodeParams = {
|
|
2203
2071
|
config: Partial<WeaveArrowProperties>;
|
|
2204
2072
|
};
|
|
2205
|
-
|
|
2206
2073
|
//#endregion
|
|
2207
2074
|
//#region src/nodes/arrow/arrow.d.ts
|
|
2208
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2209
2075
|
declare class WeaveArrowNode extends WeaveNode {
|
|
2210
2076
|
private config;
|
|
2211
2077
|
protected nodeType: string;
|
|
@@ -2215,22 +2081,17 @@ declare class WeaveArrowNode extends WeaveNode {
|
|
|
2215
2081
|
onUpdate(nodeInstance: WeaveElementInstance, nextProps: WeaveElementAttributes): void;
|
|
2216
2082
|
scaleReset(node: Konva.Arrow): void;
|
|
2217
2083
|
}
|
|
2218
|
-
|
|
2219
2084
|
//#endregion
|
|
2220
2085
|
//#region src/nodes/arrow/constants.d.ts
|
|
2221
|
-
//# sourceMappingURL=arrow.d.ts.map
|
|
2222
2086
|
declare const WEAVE_ARROW_NODE_TYPE = "arrow";
|
|
2223
|
-
|
|
2224
2087
|
//#endregion
|
|
2225
2088
|
//#region src/nodes/regular-polygon/types.d.ts
|
|
2226
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2227
2089
|
type WeaveRegularPolygonProperties = {
|
|
2228
2090
|
transform: WeaveNodeTransformerProperties;
|
|
2229
2091
|
};
|
|
2230
2092
|
type WeaveRegularPolygonNodeParams = {
|
|
2231
2093
|
config: Partial<WeaveRegularPolygonProperties>;
|
|
2232
2094
|
};
|
|
2233
|
-
|
|
2234
2095
|
//#endregion
|
|
2235
2096
|
//#region src/nodes/regular-polygon/regular-polygon.d.ts
|
|
2236
2097
|
declare class WeaveRegularPolygonNode extends WeaveNode {
|
|
@@ -2251,15 +2112,11 @@ declare class WeaveRegularPolygonNode extends WeaveNode {
|
|
|
2251
2112
|
props: any;
|
|
2252
2113
|
}, z.core.$strip>;
|
|
2253
2114
|
}
|
|
2254
|
-
|
|
2255
2115
|
//#endregion
|
|
2256
2116
|
//#region src/nodes/regular-polygon/constants.d.ts
|
|
2257
|
-
//# sourceMappingURL=regular-polygon.d.ts.map
|
|
2258
2117
|
declare const WEAVE_REGULAR_POLYGON_NODE_TYPE = "regular-polygon";
|
|
2259
|
-
|
|
2260
2118
|
//#endregion
|
|
2261
2119
|
//#region src/nodes/polygon/types.d.ts
|
|
2262
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2263
2120
|
type WeavePolygonPoint = {
|
|
2264
2121
|
x: number;
|
|
2265
2122
|
y: number;
|
|
@@ -2276,10 +2133,8 @@ type WeavePolygonProperties = {
|
|
|
2276
2133
|
type WeavePolygonNodeParams = {
|
|
2277
2134
|
config: Partial<WeavePolygonProperties>;
|
|
2278
2135
|
};
|
|
2279
|
-
|
|
2280
2136
|
//#endregion
|
|
2281
2137
|
//#region src/nodes/polygon/polygon.d.ts
|
|
2282
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2283
2138
|
declare class WeavePolygonNode extends WeaveNode {
|
|
2284
2139
|
private readonly config;
|
|
2285
2140
|
protected nodeType: string;
|
|
@@ -2305,15 +2160,11 @@ declare class WeavePolygonNode extends WeaveNode {
|
|
|
2305
2160
|
props: any;
|
|
2306
2161
|
}, z.core.$strip>;
|
|
2307
2162
|
}
|
|
2308
|
-
|
|
2309
2163
|
//#endregion
|
|
2310
2164
|
//#region src/nodes/polygon/constants.d.ts
|
|
2311
|
-
//# sourceMappingURL=polygon.d.ts.map
|
|
2312
2165
|
declare const WEAVE_POLYGON_NODE_TYPE = "polygon";
|
|
2313
|
-
|
|
2314
2166
|
//#endregion
|
|
2315
2167
|
//#region src/nodes/polygon/presets.d.ts
|
|
2316
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2317
2168
|
type NormalizedPoint = {
|
|
2318
2169
|
x: number;
|
|
2319
2170
|
y: number;
|
|
@@ -2350,7 +2201,6 @@ declare function instantiatePreset(def: WeavePolygonPresetDef, width: number, he
|
|
|
2350
2201
|
width: number;
|
|
2351
2202
|
height: number;
|
|
2352
2203
|
};
|
|
2353
|
-
|
|
2354
2204
|
//#endregion
|
|
2355
2205
|
//#region src/nodes/frame/types.d.ts
|
|
2356
2206
|
type WeaveFrameProperties = {
|
|
@@ -2376,10 +2226,8 @@ type WeaveFrameAttributes = WeaveElementAttributes & {
|
|
|
2376
2226
|
type WeaveFrameNodeParams = {
|
|
2377
2227
|
config: Partial<WeaveFrameProperties>;
|
|
2378
2228
|
};
|
|
2379
|
-
|
|
2380
2229
|
//#endregion
|
|
2381
2230
|
//#region src/nodes/frame/frame.d.ts
|
|
2382
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2383
2231
|
declare class WeaveFrameNode extends WeaveNode {
|
|
2384
2232
|
private config;
|
|
2385
2233
|
protected nodeType: string;
|
|
@@ -2399,10 +2247,8 @@ declare class WeaveFrameNode extends WeaveNode {
|
|
|
2399
2247
|
props: any;
|
|
2400
2248
|
}, z.core.$strip>;
|
|
2401
2249
|
}
|
|
2402
|
-
|
|
2403
2250
|
//#endregion
|
|
2404
2251
|
//#region src/nodes/frame/constants.d.ts
|
|
2405
|
-
//# sourceMappingURL=frame.d.ts.map
|
|
2406
2252
|
declare const WEAVE_FRAME_NODE_TYPE = "frame";
|
|
2407
2253
|
declare const WEAVE_FRAME_NODE_DEFAULT_CONFIG: {
|
|
2408
2254
|
fontFamily: string;
|
|
@@ -2431,10 +2277,8 @@ declare const WEAVE_FRAME_NODE_DEFAULT_PROPS: {
|
|
|
2431
2277
|
frameHeight: number;
|
|
2432
2278
|
frameBackground: string;
|
|
2433
2279
|
};
|
|
2434
|
-
|
|
2435
2280
|
//#endregion
|
|
2436
2281
|
//#region src/nodes/stroke/types.d.ts
|
|
2437
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2438
2282
|
type WeaveStrokeProperties = {
|
|
2439
2283
|
splineResolution: number;
|
|
2440
2284
|
resamplingSpacing: number;
|
|
@@ -2449,10 +2293,8 @@ type WeaveStrokePoint = {
|
|
|
2449
2293
|
y: number;
|
|
2450
2294
|
pressure: number;
|
|
2451
2295
|
};
|
|
2452
|
-
|
|
2453
2296
|
//#endregion
|
|
2454
2297
|
//#region src/nodes/stroke/stroke.d.ts
|
|
2455
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2456
2298
|
declare class WeaveStrokeNode extends WeaveNode {
|
|
2457
2299
|
private readonly config;
|
|
2458
2300
|
protected nodeType: string;
|
|
@@ -2475,26 +2317,20 @@ declare class WeaveStrokeNode extends WeaveNode {
|
|
|
2475
2317
|
scaleReset(node: Konva.Node): void;
|
|
2476
2318
|
serialize(instance: WeaveElementInstance): WeaveStateElement;
|
|
2477
2319
|
}
|
|
2478
|
-
|
|
2479
2320
|
//#endregion
|
|
2480
2321
|
//#region src/nodes/stroke/constants.d.ts
|
|
2481
|
-
//# sourceMappingURL=stroke.d.ts.map
|
|
2482
2322
|
declare const WEAVE_STROKE_NODE_TYPE = "stroke";
|
|
2483
2323
|
declare const WEAVE_STROKE_NODE_DEFAULT_CONFIG: {
|
|
2484
2324
|
splineResolution: number;
|
|
2485
2325
|
resamplingSpacing: number;
|
|
2486
2326
|
isEraser: boolean;
|
|
2487
2327
|
};
|
|
2488
|
-
|
|
2489
2328
|
//#endregion
|
|
2490
2329
|
//#region src/backend.d.ts
|
|
2491
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2492
2330
|
declare const setupSkiaBackend: () => Promise<void>;
|
|
2493
2331
|
declare const setupCanvasBackend: () => Promise<void>;
|
|
2494
|
-
|
|
2495
2332
|
//#endregion
|
|
2496
2333
|
//#region src/nodes/stroke-single/types.d.ts
|
|
2497
|
-
//# sourceMappingURL=backend.d.ts.map
|
|
2498
2334
|
type WeaveStrokeSingleProperties = {
|
|
2499
2335
|
transform?: WeaveNodeTransformerProperties;
|
|
2500
2336
|
snapAngles: {
|
|
@@ -2508,10 +2344,8 @@ type WeaveStrokeSingleNodeParams = {
|
|
|
2508
2344
|
};
|
|
2509
2345
|
type WeaveStrokeSingleNodeTipSideKeys = keyof typeof WEAVE_STROKE_SINGLE_NODE_TIP_SIDE;
|
|
2510
2346
|
type WeaveStrokeSingleNodeTipSide = (typeof WEAVE_STROKE_SINGLE_NODE_TIP_SIDE)[WeaveStrokeSingleNodeTipSideKeys];
|
|
2511
|
-
|
|
2512
2347
|
//#endregion
|
|
2513
2348
|
//#region src/nodes/stroke-single/base.line-tip-manager.d.ts
|
|
2514
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2515
2349
|
declare class WeaveBaseLineTipManager {
|
|
2516
2350
|
constructor();
|
|
2517
2351
|
protected capitalizeFirst(str: string): string;
|
|
@@ -2519,16 +2353,14 @@ declare class WeaveBaseLineTipManager {
|
|
|
2519
2353
|
render(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): void;
|
|
2520
2354
|
update(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): void;
|
|
2521
2355
|
protected getTip(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): Konva.Node | undefined;
|
|
2522
|
-
protected getInternalLine(instance: Konva.Group):
|
|
2356
|
+
protected getInternalLine(instance: Konva.Group): import("konva/lib/shapes/Line").Line<import("konva/lib/shapes/Line").LineConfig> | undefined;
|
|
2523
2357
|
protected getLinePoints(instance: Konva.Group): {
|
|
2524
|
-
lineStartPoint:
|
|
2525
|
-
lineEndPoint:
|
|
2358
|
+
lineStartPoint: import("konva/lib/types").Vector2d;
|
|
2359
|
+
lineEndPoint: import("konva/lib/types").Vector2d;
|
|
2526
2360
|
};
|
|
2527
2361
|
}
|
|
2528
|
-
|
|
2529
2362
|
//#endregion
|
|
2530
2363
|
//#region src/nodes/stroke-single/stroke-single.d.ts
|
|
2531
|
-
//# sourceMappingURL=base.line-tip-manager.d.ts.map
|
|
2532
2364
|
declare class WeaveStrokeSingleNode extends WeaveNode {
|
|
2533
2365
|
private config;
|
|
2534
2366
|
protected startHandle: Konva.Circle | null;
|
|
@@ -2564,10 +2396,8 @@ declare class WeaveStrokeSingleNode extends WeaveNode {
|
|
|
2564
2396
|
props: any;
|
|
2565
2397
|
}, z.core.$strip>;
|
|
2566
2398
|
}
|
|
2567
|
-
|
|
2568
2399
|
//#endregion
|
|
2569
2400
|
//#region src/nodes/stroke-single/constants.d.ts
|
|
2570
|
-
//# sourceMappingURL=stroke-single.d.ts.map
|
|
2571
2401
|
declare const WEAVE_STROKE_SINGLE_NODE_TYPE = "stroke-single";
|
|
2572
2402
|
declare const WEAVE_STROKE_SINGLE_NODE_DEFAULT_CONFIG: {
|
|
2573
2403
|
snapAngles: {
|
|
@@ -2586,10 +2416,8 @@ declare const WEAVE_STROKE_SINGLE_NODE_TIP_SIDE: {
|
|
|
2586
2416
|
START: string;
|
|
2587
2417
|
END: string;
|
|
2588
2418
|
};
|
|
2589
|
-
|
|
2590
2419
|
//#endregion
|
|
2591
2420
|
//#region src/nodes/comment/constants.d.ts
|
|
2592
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2593
2421
|
declare const WEAVE_COMMENT_STATUS: {
|
|
2594
2422
|
readonly PENDING: "pending";
|
|
2595
2423
|
readonly RESOLVED: "resolved";
|
|
@@ -2671,10 +2499,8 @@ declare const WEAVE_COMMENT_NODE_DEFAULTS: {
|
|
|
2671
2499
|
};
|
|
2672
2500
|
formatDate: (date: string) => string;
|
|
2673
2501
|
};
|
|
2674
|
-
|
|
2675
2502
|
//#endregion
|
|
2676
2503
|
//#region src/nodes/comment/types.d.ts
|
|
2677
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2678
2504
|
type WeaveCommentNodeCreateActionKeys = keyof typeof WEAVE_COMMENT_CREATE_ACTION;
|
|
2679
2505
|
type WeaveCommentNodeCreateAction = (typeof WEAVE_COMMENT_CREATE_ACTION)[WeaveCommentNodeCreateActionKeys];
|
|
2680
2506
|
type WeaveCommentNodeViewActionKeys = keyof typeof WEAVE_COMMENT_VIEW_ACTION;
|
|
@@ -2777,10 +2603,8 @@ type WeaveCommentNodeOnViewEvent = {
|
|
|
2777
2603
|
type WeaveCommentNodeOnDragEndEvent = {
|
|
2778
2604
|
node: WeaveElementInstance;
|
|
2779
2605
|
};
|
|
2780
|
-
|
|
2781
2606
|
//#endregion
|
|
2782
2607
|
//#region src/nodes/comment/comment.d.ts
|
|
2783
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2784
2608
|
declare class WeaveCommentNode<T> extends WeaveNode {
|
|
2785
2609
|
protected nodeType: string;
|
|
2786
2610
|
protected config: WeaveCommentNodeConfig<T>;
|
|
@@ -2790,7 +2614,7 @@ declare class WeaveCommentNode<T> extends WeaveNode {
|
|
|
2790
2614
|
protected showResolved: boolean;
|
|
2791
2615
|
constructor(params: WeaveCommentNodeParams<T>);
|
|
2792
2616
|
initialize(): void;
|
|
2793
|
-
onRender(props: WeaveElementAttributes):
|
|
2617
|
+
onRender(props: WeaveElementAttributes): import("konva/lib/Group").Group;
|
|
2794
2618
|
onUpdate(nodeInstance: WeaveElementInstance, nextProps: WeaveElementAttributes): void;
|
|
2795
2619
|
onDestroy(nodeInstance: WeaveElementInstance): void;
|
|
2796
2620
|
private expandNode;
|
|
@@ -2811,10 +2635,8 @@ declare class WeaveCommentNode<T> extends WeaveNode {
|
|
|
2811
2635
|
getCommentId(node: WeaveElementInstance): string;
|
|
2812
2636
|
setShowResolved(show: boolean): void;
|
|
2813
2637
|
}
|
|
2814
|
-
|
|
2815
2638
|
//#endregion
|
|
2816
2639
|
//#region src/nodes/video/types.d.ts
|
|
2817
|
-
//# sourceMappingURL=comment.d.ts.map
|
|
2818
2640
|
type VideoProps = WeaveElementAttributes & {
|
|
2819
2641
|
id: string;
|
|
2820
2642
|
width: number;
|
|
@@ -2887,10 +2709,8 @@ type WeaveVideoOnVideoPauseEvent = {
|
|
|
2887
2709
|
type WeaveVideoOnVideoStopEvent = {
|
|
2888
2710
|
nodeId: string;
|
|
2889
2711
|
};
|
|
2890
|
-
|
|
2891
2712
|
//#endregion
|
|
2892
2713
|
//#region src/nodes/video/video.d.ts
|
|
2893
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2894
2714
|
declare class WeaveVideoNode extends WeaveNode {
|
|
2895
2715
|
private config;
|
|
2896
2716
|
private videoIconImage;
|
|
@@ -2919,16 +2739,12 @@ declare class WeaveVideoNode extends WeaveNode {
|
|
|
2919
2739
|
scaleReset(node: Konva.Group): void;
|
|
2920
2740
|
getIsAsync(): boolean;
|
|
2921
2741
|
}
|
|
2922
|
-
|
|
2923
2742
|
//#endregion
|
|
2924
2743
|
//#region src/nodes/video/constants.d.ts
|
|
2925
|
-
//# sourceMappingURL=video.d.ts.map
|
|
2926
2744
|
declare const WEAVE_VIDEO_NODE_TYPE = "video";
|
|
2927
2745
|
declare const WEAVE_VIDEO_DEFAULT_CONFIG: WeaveVideoProperties;
|
|
2928
|
-
|
|
2929
2746
|
//#endregion
|
|
2930
2747
|
//#region src/nodes/measure/types.d.ts
|
|
2931
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2932
2748
|
type WeaveMeasureNodeProperties = {
|
|
2933
2749
|
style: {
|
|
2934
2750
|
separationLine: {
|
|
@@ -2961,10 +2777,8 @@ type WeaveMeasureNodeProperties = {
|
|
|
2961
2777
|
type WeaveMeasureNodeParams = {
|
|
2962
2778
|
config: DeepPartial<WeaveMeasureNodeProperties>;
|
|
2963
2779
|
};
|
|
2964
|
-
|
|
2965
2780
|
//#endregion
|
|
2966
2781
|
//#region src/nodes/measure/measure.d.ts
|
|
2967
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2968
2782
|
declare class WeaveMeasureNode extends WeaveNode {
|
|
2969
2783
|
private readonly config;
|
|
2970
2784
|
protected nodeType: string;
|
|
@@ -2988,16 +2802,12 @@ declare class WeaveMeasureNode extends WeaveNode {
|
|
|
2988
2802
|
flipOrientation(node: Konva.Group): void;
|
|
2989
2803
|
getNormalizedDistance(node: Konva.Group): number;
|
|
2990
2804
|
}
|
|
2991
|
-
|
|
2992
2805
|
//#endregion
|
|
2993
2806
|
//#region src/nodes/measure/constants.d.ts
|
|
2994
|
-
//# sourceMappingURL=measure.d.ts.map
|
|
2995
2807
|
declare const WEAVE_MEASURE_NODE_TYPE = "measure";
|
|
2996
2808
|
declare const WEAVE_MEASURE_NODE_DEFAULT_CONFIG: WeaveMeasureNodeProperties;
|
|
2997
|
-
|
|
2998
2809
|
//#endregion
|
|
2999
2810
|
//#region src/nodes/connector/constants.d.ts
|
|
3000
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3001
2811
|
declare const WEAVE_CONNECTOR_NODE_TYPE = "connector";
|
|
3002
2812
|
declare const WEAVE_CONNECTOR_NODE_ANCHOR_ORIGIN: {
|
|
3003
2813
|
TOP: string;
|
|
@@ -3020,10 +2830,8 @@ declare const WEAVE_CONNECTOR_NODE_LINE_TYPE: {
|
|
|
3020
2830
|
CURVED: string;
|
|
3021
2831
|
};
|
|
3022
2832
|
declare const WEAVE_CONNECTOR_NODE_DEFAULT_CONFIG: WeaveConnectorNodeProperties;
|
|
3023
|
-
|
|
3024
2833
|
//#endregion
|
|
3025
2834
|
//#region src/nodes/connector/types.d.ts
|
|
3026
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3027
2835
|
type WeaveConnectorNodeLineTypeKeys = keyof typeof WEAVE_CONNECTOR_NODE_LINE_TYPE;
|
|
3028
2836
|
type WeaveConnectorNodeLineType = (typeof WEAVE_CONNECTOR_NODE_LINE_TYPE)[WeaveConnectorNodeLineTypeKeys];
|
|
3029
2837
|
type WeaveConnectorNodeDecoratorTypeKeys = keyof typeof WEAVE_CONNECTOR_NODE_DECORATOR_TYPE;
|
|
@@ -3104,10 +2912,8 @@ type WeaveConnectorNodeInfo = {
|
|
|
3104
2912
|
point: Konva.Vector2d;
|
|
3105
2913
|
};
|
|
3106
2914
|
type WeaveConnectorNodeAnchorPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
3107
|
-
|
|
3108
2915
|
//#endregion
|
|
3109
2916
|
//#region src/nodes/connector/connector.d.ts
|
|
3110
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3111
2917
|
declare class WeaveConnectorNode extends WeaveNode {
|
|
3112
2918
|
private readonly config;
|
|
3113
2919
|
protected nodeType: string;
|
|
@@ -3138,18 +2944,13 @@ declare class WeaveConnectorNode extends WeaveNode {
|
|
|
3138
2944
|
private readonly stageToGroupPoints;
|
|
3139
2945
|
getIsAsync(): boolean;
|
|
3140
2946
|
}
|
|
3141
|
-
|
|
3142
2947
|
//#endregion
|
|
3143
2948
|
//#region src/nodes/shared/shape-label.constants.d.ts
|
|
3144
|
-
//# sourceMappingURL=connector.d.ts.map
|
|
3145
2949
|
declare const WEAVE_STAGE_SHAPE_LABEL_EDITION_MODE = "shape-label-edition";
|
|
3146
2950
|
declare const WEAVE_SHAPE_LABEL_DEFAULTS: Required<WeaveShapeLabelProps>;
|
|
3147
2951
|
declare const labelId: (id: string) => string;
|
|
3148
|
-
|
|
3149
2952
|
//#endregion
|
|
3150
2953
|
//#region src/nodes/shared/shape-label.utils.d.ts
|
|
3151
|
-
//# sourceMappingURL=shape-label.constants.d.ts.map
|
|
3152
|
-
|
|
3153
2954
|
/**
|
|
3154
2955
|
* Returns a partial props object containing only the label-related fields that
|
|
3155
2956
|
* are explicitly set on `props`. Spread this into the `props` section of
|
|
@@ -3224,17 +3025,13 @@ declare function computePolygonLabelMinSize(stage: Konva.Stage, group: Konva.Gro
|
|
|
3224
3025
|
width: number;
|
|
3225
3026
|
height: number;
|
|
3226
3027
|
};
|
|
3227
|
-
|
|
3228
3028
|
//#endregion
|
|
3229
3029
|
//#region src/actions/zoom-out-tool/types.d.ts
|
|
3230
|
-
//# sourceMappingURL=shape-label.utils.d.ts.map
|
|
3231
3030
|
type WeaveZoomOutToolActionParams = {
|
|
3232
3031
|
previousAction: string;
|
|
3233
3032
|
};
|
|
3234
|
-
|
|
3235
3033
|
//#endregion
|
|
3236
3034
|
//#region src/actions/zoom-out-tool/zoom-out-tool.d.ts
|
|
3237
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3238
3035
|
declare class WeaveZoomOutToolAction extends WeaveAction {
|
|
3239
3036
|
protected previousAction: string;
|
|
3240
3037
|
protected cancelAction: () => void;
|
|
@@ -3246,17 +3043,13 @@ declare class WeaveZoomOutToolAction extends WeaveAction {
|
|
|
3246
3043
|
trigger(cancelAction: () => void, params: WeaveZoomOutToolActionParams): void;
|
|
3247
3044
|
cleanup(): void;
|
|
3248
3045
|
}
|
|
3249
|
-
|
|
3250
3046
|
//#endregion
|
|
3251
3047
|
//#region src/actions/zoom-in-tool/types.d.ts
|
|
3252
|
-
//# sourceMappingURL=zoom-out-tool.d.ts.map
|
|
3253
3048
|
type WeaveZoomInToolActionParams = {
|
|
3254
3049
|
previousAction: string;
|
|
3255
3050
|
};
|
|
3256
|
-
|
|
3257
3051
|
//#endregion
|
|
3258
3052
|
//#region src/actions/zoom-in-tool/zoom-in-tool.d.ts
|
|
3259
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3260
3053
|
declare class WeaveZoomInToolAction extends WeaveAction {
|
|
3261
3054
|
protected previousAction: string;
|
|
3262
3055
|
protected cancelAction: () => void;
|
|
@@ -3269,18 +3062,14 @@ declare class WeaveZoomInToolAction extends WeaveAction {
|
|
|
3269
3062
|
trigger(cancelAction: () => void, params: WeaveZoomInToolActionParams): void;
|
|
3270
3063
|
cleanup(): void;
|
|
3271
3064
|
}
|
|
3272
|
-
|
|
3273
3065
|
//#endregion
|
|
3274
3066
|
//#region src/actions/fit-to-screen-tool/types.d.ts
|
|
3275
|
-
//# sourceMappingURL=zoom-in-tool.d.ts.map
|
|
3276
3067
|
type WeaveFitToScreenToolActionParams = {
|
|
3277
3068
|
previousAction: string;
|
|
3278
3069
|
overrideZoom?: boolean;
|
|
3279
3070
|
};
|
|
3280
|
-
|
|
3281
3071
|
//#endregion
|
|
3282
3072
|
//#region src/actions/fit-to-screen-tool/fit-to-screen-tool.d.ts
|
|
3283
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3284
3073
|
declare class WeaveFitToScreenToolAction extends WeaveAction {
|
|
3285
3074
|
protected previousAction: string;
|
|
3286
3075
|
protected cancelAction: () => void;
|
|
@@ -3293,19 +3082,15 @@ declare class WeaveFitToScreenToolAction extends WeaveAction {
|
|
|
3293
3082
|
trigger(cancelAction: () => void, params: WeaveFitToScreenToolActionParams): void;
|
|
3294
3083
|
cleanup(): void;
|
|
3295
3084
|
}
|
|
3296
|
-
|
|
3297
3085
|
//#endregion
|
|
3298
3086
|
//#region src/actions/fit-to-selection-tool/types.d.ts
|
|
3299
|
-
//# sourceMappingURL=fit-to-screen-tool.d.ts.map
|
|
3300
3087
|
type WeaveFitToSelectionToolActionParams = {
|
|
3301
3088
|
previousAction: string;
|
|
3302
3089
|
smartZoom?: boolean;
|
|
3303
3090
|
overrideZoom?: boolean;
|
|
3304
3091
|
};
|
|
3305
|
-
|
|
3306
3092
|
//#endregion
|
|
3307
3093
|
//#region src/actions/fit-to-selection-tool/fit-to-selection-tool.d.ts
|
|
3308
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3309
3094
|
declare class WeaveFitToSelectionToolAction extends WeaveAction {
|
|
3310
3095
|
protected previousAction: string;
|
|
3311
3096
|
protected cancelAction: () => void;
|
|
@@ -3319,28 +3104,22 @@ declare class WeaveFitToSelectionToolAction extends WeaveAction {
|
|
|
3319
3104
|
trigger(cancelAction: () => void, params: WeaveFitToSelectionToolActionParams): void;
|
|
3320
3105
|
cleanup(): void;
|
|
3321
3106
|
}
|
|
3322
|
-
|
|
3323
3107
|
//#endregion
|
|
3324
3108
|
//#region src/actions/move-tool/constants.d.ts
|
|
3325
|
-
//# sourceMappingURL=fit-to-selection-tool.d.ts.map
|
|
3326
3109
|
declare const MOVE_TOOL_ACTION_NAME = "moveTool";
|
|
3327
3110
|
declare const MOVE_TOOL_STATE: {
|
|
3328
3111
|
readonly IDLE: "idle";
|
|
3329
3112
|
readonly MOVING: "moving";
|
|
3330
3113
|
};
|
|
3331
|
-
|
|
3332
3114
|
//#endregion
|
|
3333
3115
|
//#region src/actions/move-tool/types.d.ts
|
|
3334
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3335
3116
|
type WeaveMoveToolActionStateKeys = keyof typeof MOVE_TOOL_STATE;
|
|
3336
3117
|
type WeaveMoveToolActionState = (typeof MOVE_TOOL_STATE)[WeaveMoveToolActionStateKeys];
|
|
3337
3118
|
type WeaveMoveToolActionParams = {
|
|
3338
3119
|
triggerSelectionTool?: boolean;
|
|
3339
3120
|
};
|
|
3340
|
-
|
|
3341
3121
|
//#endregion
|
|
3342
3122
|
//#region src/actions/move-tool/move-tool.d.ts
|
|
3343
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3344
3123
|
declare class WeaveMoveToolAction extends WeaveAction {
|
|
3345
3124
|
protected initialized: boolean;
|
|
3346
3125
|
protected state: WeaveMoveToolActionState;
|
|
@@ -3357,25 +3136,19 @@ declare class WeaveMoveToolAction extends WeaveAction {
|
|
|
3357
3136
|
trigger(cancelAction: () => void, params?: WeaveMoveToolActionParams): void;
|
|
3358
3137
|
cleanup(): void;
|
|
3359
3138
|
}
|
|
3360
|
-
|
|
3361
3139
|
//#endregion
|
|
3362
3140
|
//#region src/actions/selection-tool/constants.d.ts
|
|
3363
|
-
//# sourceMappingURL=move-tool.d.ts.map
|
|
3364
3141
|
declare const SELECTION_TOOL_ACTION_NAME = "selectionTool";
|
|
3365
3142
|
declare const SELECTION_TOOL_STATE: {
|
|
3366
3143
|
readonly IDLE: "idle";
|
|
3367
3144
|
readonly SELECTING: "selection";
|
|
3368
3145
|
};
|
|
3369
|
-
|
|
3370
3146
|
//#endregion
|
|
3371
3147
|
//#region src/actions/selection-tool/types.d.ts
|
|
3372
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3373
3148
|
type WeaveSelectionToolActionStateKeys = keyof typeof SELECTION_TOOL_STATE;
|
|
3374
3149
|
type WeaveSelectionToolActionState = (typeof SELECTION_TOOL_STATE)[WeaveSelectionToolActionStateKeys];
|
|
3375
|
-
|
|
3376
3150
|
//#endregion
|
|
3377
3151
|
//#region src/actions/selection-tool/selection-tool.d.ts
|
|
3378
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3379
3152
|
declare class WeaveSelectionToolAction extends WeaveAction {
|
|
3380
3153
|
protected initialized: boolean;
|
|
3381
3154
|
protected state: WeaveSelectionToolActionState;
|
|
@@ -3391,25 +3164,19 @@ declare class WeaveSelectionToolAction extends WeaveAction {
|
|
|
3391
3164
|
trigger(cancelAction: () => void): void;
|
|
3392
3165
|
cleanup(): void;
|
|
3393
3166
|
}
|
|
3394
|
-
|
|
3395
3167
|
//#endregion
|
|
3396
3168
|
//#region src/actions/eraser-tool/constants.d.ts
|
|
3397
|
-
//# sourceMappingURL=selection-tool.d.ts.map
|
|
3398
3169
|
declare const ERASER_TOOL_ACTION_NAME = "eraserTool";
|
|
3399
3170
|
declare const ERASER_TOOL_STATE: {
|
|
3400
3171
|
readonly IDLE: "idle";
|
|
3401
3172
|
readonly ERASING: "erasing";
|
|
3402
3173
|
};
|
|
3403
|
-
|
|
3404
3174
|
//#endregion
|
|
3405
3175
|
//#region src/actions/eraser-tool/types.d.ts
|
|
3406
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3407
3176
|
type WeaveEraserToolActionStateKeys = keyof typeof ERASER_TOOL_STATE;
|
|
3408
3177
|
type WeaveEraserToolActionState = (typeof ERASER_TOOL_STATE)[WeaveEraserToolActionStateKeys];
|
|
3409
|
-
|
|
3410
3178
|
//#endregion
|
|
3411
3179
|
//#region src/actions/eraser-tool/eraser-tool.d.ts
|
|
3412
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3413
3180
|
declare class WeaveEraserToolAction extends WeaveAction {
|
|
3414
3181
|
protected initialized: boolean;
|
|
3415
3182
|
protected state: WeaveEraserToolActionState;
|
|
@@ -3428,10 +3195,8 @@ declare class WeaveEraserToolAction extends WeaveAction {
|
|
|
3428
3195
|
private setCursor;
|
|
3429
3196
|
private setFocusStage;
|
|
3430
3197
|
}
|
|
3431
|
-
|
|
3432
3198
|
//#endregion
|
|
3433
3199
|
//#region src/actions/rectangle-tool/constants.d.ts
|
|
3434
|
-
//# sourceMappingURL=eraser-tool.d.ts.map
|
|
3435
3200
|
declare const RECTANGLE_TOOL_ACTION_NAME = "rectangleTool";
|
|
3436
3201
|
declare const RECTANGLE_TOOL_STATE: {
|
|
3437
3202
|
readonly IDLE: "idle";
|
|
@@ -3439,18 +3204,14 @@ declare const RECTANGLE_TOOL_STATE: {
|
|
|
3439
3204
|
readonly DEFINING_SIZE: "definingSize";
|
|
3440
3205
|
readonly ADDED: "added";
|
|
3441
3206
|
};
|
|
3442
|
-
|
|
3443
3207
|
//#endregion
|
|
3444
3208
|
//#region src/actions/rectangle-tool/types.d.ts
|
|
3445
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3446
3209
|
type WeaveRectangleToolActionStateKeys = keyof typeof RECTANGLE_TOOL_STATE;
|
|
3447
3210
|
type WeaveRectangleToolActionState = (typeof RECTANGLE_TOOL_STATE)[WeaveRectangleToolActionStateKeys];
|
|
3448
3211
|
type WeaveRectangleToolActionOnAddingEvent = undefined;
|
|
3449
3212
|
type WeaveRectangleToolActionOnAddedEvent = undefined;
|
|
3450
|
-
|
|
3451
3213
|
//#endregion
|
|
3452
3214
|
//#region src/actions/rectangle-tool/rectangle-tool.d.ts
|
|
3453
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3454
3215
|
declare class WeaveRectangleToolAction extends WeaveAction {
|
|
3455
3216
|
protected initialized: boolean;
|
|
3456
3217
|
protected state: WeaveRectangleToolActionState;
|
|
@@ -3486,10 +3247,8 @@ declare class WeaveRectangleToolAction extends WeaveAction {
|
|
|
3486
3247
|
private setCursor;
|
|
3487
3248
|
private setFocusStage;
|
|
3488
3249
|
}
|
|
3489
|
-
|
|
3490
3250
|
//#endregion
|
|
3491
3251
|
//#region src/actions/ellipse-tool/constants.d.ts
|
|
3492
|
-
//# sourceMappingURL=rectangle-tool.d.ts.map
|
|
3493
3252
|
declare const ELLIPSE_TOOL_ACTION_NAME = "ellipseTool";
|
|
3494
3253
|
declare const ELLIPSE_TOOL_STATE: {
|
|
3495
3254
|
readonly IDLE: "idle";
|
|
@@ -3497,18 +3256,14 @@ declare const ELLIPSE_TOOL_STATE: {
|
|
|
3497
3256
|
readonly DEFINING_SIZE: "definingSize";
|
|
3498
3257
|
readonly ADDED: "added";
|
|
3499
3258
|
};
|
|
3500
|
-
|
|
3501
3259
|
//#endregion
|
|
3502
3260
|
//#region src/actions/ellipse-tool/types.d.ts
|
|
3503
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3504
3261
|
type WeaveEllipseToolActionStateKeys = keyof typeof ELLIPSE_TOOL_STATE;
|
|
3505
3262
|
type WeaveEllipseToolActionState = (typeof ELLIPSE_TOOL_STATE)[WeaveEllipseToolActionStateKeys];
|
|
3506
3263
|
type WeaveEllipseToolActionOnAddingEvent = undefined;
|
|
3507
3264
|
type WeaveEllipseToolActionOnAddedEvent = undefined;
|
|
3508
|
-
|
|
3509
3265
|
//#endregion
|
|
3510
3266
|
//#region src/actions/ellipse-tool/ellipse-tool.d.ts
|
|
3511
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3512
3267
|
declare class WeaveEllipseToolAction extends WeaveAction {
|
|
3513
3268
|
protected initialized: boolean;
|
|
3514
3269
|
protected state: WeaveEllipseToolActionState;
|
|
@@ -3544,10 +3299,8 @@ declare class WeaveEllipseToolAction extends WeaveAction {
|
|
|
3544
3299
|
private setCursor;
|
|
3545
3300
|
private setFocusStage;
|
|
3546
3301
|
}
|
|
3547
|
-
|
|
3548
3302
|
//#endregion
|
|
3549
3303
|
//#region src/actions/pen-tool/constants.d.ts
|
|
3550
|
-
//# sourceMappingURL=ellipse-tool.d.ts.map
|
|
3551
3304
|
declare const PEN_TOOL_ACTION_NAME = "penTool";
|
|
3552
3305
|
declare const PEN_TOOL_STATE: {
|
|
3553
3306
|
readonly IDLE: "idle";
|
|
@@ -3555,18 +3308,14 @@ declare const PEN_TOOL_STATE: {
|
|
|
3555
3308
|
readonly DEFINING_SIZE: "definingSize";
|
|
3556
3309
|
readonly ADDED: "added";
|
|
3557
3310
|
};
|
|
3558
|
-
|
|
3559
3311
|
//#endregion
|
|
3560
3312
|
//#region src/actions/pen-tool/types.d.ts
|
|
3561
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3562
3313
|
type WeavePenToolActionStateKeys = keyof typeof PEN_TOOL_STATE;
|
|
3563
3314
|
type WeavePenToolActionState = (typeof PEN_TOOL_STATE)[WeavePenToolActionStateKeys];
|
|
3564
3315
|
type WeavePenToolActionOnAddingEvent = undefined;
|
|
3565
3316
|
type WeavePenToolActionOnAddedEvent = undefined;
|
|
3566
|
-
|
|
3567
3317
|
//#endregion
|
|
3568
3318
|
//#region src/actions/pen-tool/pen-tool.d.ts
|
|
3569
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3570
3319
|
declare class WeavePenToolAction extends WeaveAction {
|
|
3571
3320
|
protected initialized: boolean;
|
|
3572
3321
|
protected initialCursor: string | null;
|
|
@@ -3603,10 +3352,8 @@ declare class WeavePenToolAction extends WeaveAction {
|
|
|
3603
3352
|
private setCursor;
|
|
3604
3353
|
private setFocusStage;
|
|
3605
3354
|
}
|
|
3606
|
-
|
|
3607
3355
|
//#endregion
|
|
3608
3356
|
//#region src/actions/line-tool/constants.d.ts
|
|
3609
|
-
//# sourceMappingURL=pen-tool.d.ts.map
|
|
3610
3357
|
declare const LINE_TOOL_ACTION_NAME = "lineTool";
|
|
3611
3358
|
declare const LINE_TOOL_STATE: {
|
|
3612
3359
|
readonly IDLE: "idle";
|
|
@@ -3621,10 +3368,8 @@ declare const LINE_TOOL_DEFAULT_CONFIG: {
|
|
|
3621
3368
|
releaseThreshold: number;
|
|
3622
3369
|
};
|
|
3623
3370
|
};
|
|
3624
|
-
|
|
3625
3371
|
//#endregion
|
|
3626
3372
|
//#region src/actions/line-tool/types.d.ts
|
|
3627
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3628
3373
|
type WeaveLineToolActionStateKeys = keyof typeof LINE_TOOL_STATE;
|
|
3629
3374
|
type WeaveLineToolActionState = (typeof LINE_TOOL_STATE)[WeaveLineToolActionStateKeys];
|
|
3630
3375
|
type WeaveLineToolActionProperties = {
|
|
@@ -3637,10 +3382,8 @@ type WeaveLineToolActionProperties = {
|
|
|
3637
3382
|
type WeaveLineToolActionParams = {
|
|
3638
3383
|
config: Partial<WeaveLineToolActionProperties>;
|
|
3639
3384
|
};
|
|
3640
|
-
|
|
3641
3385
|
//#endregion
|
|
3642
3386
|
//#region src/actions/line-tool/line-tool.d.ts
|
|
3643
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3644
3387
|
declare class WeaveLineToolAction extends WeaveAction {
|
|
3645
3388
|
protected initialized: boolean;
|
|
3646
3389
|
protected initialCursor: string | null;
|
|
@@ -3680,10 +3423,8 @@ declare class WeaveLineToolAction extends WeaveAction {
|
|
|
3680
3423
|
private setCursor;
|
|
3681
3424
|
private setFocusStage;
|
|
3682
3425
|
}
|
|
3683
|
-
|
|
3684
3426
|
//#endregion
|
|
3685
3427
|
//#region src/actions/brush-tool/constants.d.ts
|
|
3686
|
-
//# sourceMappingURL=line-tool.d.ts.map
|
|
3687
3428
|
declare const BRUSH_TOOL_ACTION_NAME = "brushTool";
|
|
3688
3429
|
declare const BRUSH_TOOL_STATE: {
|
|
3689
3430
|
readonly INACTIVE: "inactive";
|
|
@@ -3693,10 +3434,8 @@ declare const BRUSH_TOOL_STATE: {
|
|
|
3693
3434
|
declare const BRUSH_TOOL_DEFAULT_CONFIG: {
|
|
3694
3435
|
interpolationSteps: number;
|
|
3695
3436
|
};
|
|
3696
|
-
|
|
3697
3437
|
//#endregion
|
|
3698
3438
|
//#region src/actions/brush-tool/types.d.ts
|
|
3699
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3700
3439
|
type WeaveBrushToolActionStateKeys = keyof typeof BRUSH_TOOL_STATE;
|
|
3701
3440
|
type WeaveBrushToolActionState = (typeof BRUSH_TOOL_STATE)[WeaveBrushToolActionStateKeys];
|
|
3702
3441
|
type WeaveBrushToolActionOnAddingEvent = undefined;
|
|
@@ -3707,10 +3446,8 @@ type WeaveBrushToolActionProperties = {
|
|
|
3707
3446
|
type WeaveBrushToolActionParams = {
|
|
3708
3447
|
config: Partial<WeaveBrushToolActionProperties>;
|
|
3709
3448
|
};
|
|
3710
|
-
|
|
3711
3449
|
//#endregion
|
|
3712
3450
|
//#region src/actions/brush-tool/brush-tool.d.ts
|
|
3713
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3714
3451
|
declare class WeaveBrushToolAction extends WeaveAction {
|
|
3715
3452
|
protected config: WeaveBrushToolActionProperties;
|
|
3716
3453
|
protected initialized: boolean;
|
|
@@ -3756,26 +3493,20 @@ declare class WeaveBrushToolAction extends WeaveAction {
|
|
|
3756
3493
|
private setCursor;
|
|
3757
3494
|
private setFocusStage;
|
|
3758
3495
|
}
|
|
3759
|
-
|
|
3760
3496
|
//#endregion
|
|
3761
3497
|
//#region src/actions/text-tool/constants.d.ts
|
|
3762
|
-
//# sourceMappingURL=brush-tool.d.ts.map
|
|
3763
3498
|
declare const TEXT_TOOL_ACTION_NAME = "textTool";
|
|
3764
3499
|
declare const TEXT_TOOL_STATE: {
|
|
3765
3500
|
readonly IDLE: "idle";
|
|
3766
3501
|
readonly ADDING: "adding";
|
|
3767
3502
|
readonly FINISHED: "finished";
|
|
3768
3503
|
};
|
|
3769
|
-
|
|
3770
3504
|
//#endregion
|
|
3771
3505
|
//#region src/actions/text-tool/types.d.ts
|
|
3772
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3773
3506
|
type WeaveTextToolActionStateKeys = keyof typeof TEXT_TOOL_STATE;
|
|
3774
3507
|
type WeaveTextToolActionState = (typeof TEXT_TOOL_STATE)[WeaveTextToolActionStateKeys];
|
|
3775
|
-
|
|
3776
3508
|
//#endregion
|
|
3777
3509
|
//#region src/actions/text-tool/text-tool.d.ts
|
|
3778
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3779
3510
|
declare class WeaveTextToolAction extends WeaveAction {
|
|
3780
3511
|
protected initialized: boolean;
|
|
3781
3512
|
protected initialCursor: string | null;
|
|
@@ -3809,10 +3540,8 @@ declare class WeaveTextToolAction extends WeaveAction {
|
|
|
3809
3540
|
private setCursor;
|
|
3810
3541
|
private setFocusStage;
|
|
3811
3542
|
}
|
|
3812
|
-
|
|
3813
3543
|
//#endregion
|
|
3814
3544
|
//#region src/actions/image-tool/constants.d.ts
|
|
3815
|
-
//# sourceMappingURL=text-tool.d.ts.map
|
|
3816
3545
|
declare const WEAVE_IMAGE_TOOL_ACTION_NAME = "imageTool";
|
|
3817
3546
|
declare const WEAVE_IMAGE_TOOL_UPLOAD_TYPE: {
|
|
3818
3547
|
readonly FILE: "file";
|
|
@@ -3826,10 +3555,8 @@ declare const WEAVE_IMAGE_TOOL_STATE: {
|
|
|
3826
3555
|
readonly FINISHED: "finished";
|
|
3827
3556
|
};
|
|
3828
3557
|
declare const WEAVE_IMAGE_TOOL_CONFIG_DEFAULT: WeaveImageToolActionConfig;
|
|
3829
|
-
|
|
3830
3558
|
//#endregion
|
|
3831
3559
|
//#region src/actions/image-tool/types.d.ts
|
|
3832
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3833
3560
|
type WeaveImageToolActionUploadTypeKeys = keyof typeof WEAVE_IMAGE_TOOL_UPLOAD_TYPE;
|
|
3834
3561
|
type WeaveImageToolActionUploadType = (typeof WEAVE_IMAGE_TOOL_UPLOAD_TYPE)[WeaveImageToolActionUploadTypeKeys];
|
|
3835
3562
|
type WeaveImageToolActionStateKeys = keyof typeof WEAVE_IMAGE_TOOL_STATE;
|
|
@@ -3909,10 +3636,8 @@ type ImageToolActionData = {
|
|
|
3909
3636
|
uploadType: WeaveImageToolActionUploadType | null;
|
|
3910
3637
|
uploadImageFunction: WeaveImageToolActionUploadFunction | null;
|
|
3911
3638
|
};
|
|
3912
|
-
|
|
3913
3639
|
//#endregion
|
|
3914
3640
|
//#region src/actions/image-tool/image-tool.d.ts
|
|
3915
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3916
3641
|
declare class WeaveImageToolAction extends WeaveAction {
|
|
3917
3642
|
protected readonly config: WeaveImageToolActionConfig;
|
|
3918
3643
|
protected initInitialized: boolean;
|
|
@@ -3957,10 +3682,8 @@ declare class WeaveImageToolAction extends WeaveAction {
|
|
|
3957
3682
|
private loadImageDataURL;
|
|
3958
3683
|
getDataURL(blob: Blob): Promise<string>;
|
|
3959
3684
|
}
|
|
3960
|
-
|
|
3961
3685
|
//#endregion
|
|
3962
3686
|
//#region src/actions/images-tool/constants.d.ts
|
|
3963
|
-
//# sourceMappingURL=image-tool.d.ts.map
|
|
3964
3687
|
declare const WEAVE_IMAGES_TOOL_ACTION_NAME = "imagesTool";
|
|
3965
3688
|
declare const WEAVE_IMAGES_TOOL_UPLOAD_TYPE: {
|
|
3966
3689
|
readonly FILE: "file";
|
|
@@ -3975,10 +3698,8 @@ declare const WEAVE_IMAGES_TOOL_STATE: {
|
|
|
3975
3698
|
readonly FINISHED: "finished";
|
|
3976
3699
|
};
|
|
3977
3700
|
declare const WEAVE_IMAGES_TOOL_DEFAULT_CONFIG: WeaveImagesToolActionParams;
|
|
3978
|
-
|
|
3979
3701
|
//#endregion
|
|
3980
3702
|
//#region src/actions/images-tool/types.d.ts
|
|
3981
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3982
3703
|
type WeaveImagesToolActionUploadTypeKeys = keyof typeof WEAVE_IMAGES_TOOL_UPLOAD_TYPE;
|
|
3983
3704
|
type WeaveImagesToolActionUploadType = (typeof WEAVE_IMAGES_TOOL_UPLOAD_TYPE)[WeaveImagesToolActionUploadTypeKeys];
|
|
3984
3705
|
type WeaveImagesToolActionStateKeys = keyof typeof WEAVE_IMAGES_TOOL_STATE;
|
|
@@ -4057,10 +3778,8 @@ type WeaveImagesToolActionParams = {
|
|
|
4057
3778
|
type WeaveImagesToolDragAndDropProperties = {
|
|
4058
3779
|
imagesURL: WeaveImagesURL[];
|
|
4059
3780
|
} & Omit<WeaveImagesToolActionTriggerCommonParams, 'position'>;
|
|
4060
|
-
|
|
4061
3781
|
//#endregion
|
|
4062
3782
|
//#region src/actions/images-tool/images-tool.d.ts
|
|
4063
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4064
3783
|
declare class WeaveImagesToolAction extends WeaveAction {
|
|
4065
3784
|
private readonly config;
|
|
4066
3785
|
protected initInitialized: boolean;
|
|
@@ -4111,10 +3830,8 @@ declare class WeaveImagesToolAction extends WeaveAction {
|
|
|
4111
3830
|
handleImageAdded(): void;
|
|
4112
3831
|
setDragAndDropProperties(properties: WeaveImagesToolDragAndDropProperties): void;
|
|
4113
3832
|
}
|
|
4114
|
-
|
|
4115
3833
|
//#endregion
|
|
4116
3834
|
//#region src/actions/star-tool/constants.d.ts
|
|
4117
|
-
//# sourceMappingURL=images-tool.d.ts.map
|
|
4118
3835
|
declare const STAR_TOOL_ACTION_NAME = "starTool";
|
|
4119
3836
|
declare const STAR_TOOL_STATE: {
|
|
4120
3837
|
readonly IDLE: "idle";
|
|
@@ -4122,18 +3839,14 @@ declare const STAR_TOOL_STATE: {
|
|
|
4122
3839
|
readonly DEFINING_SIZE: "definingSize";
|
|
4123
3840
|
readonly ADDED: "added";
|
|
4124
3841
|
};
|
|
4125
|
-
|
|
4126
3842
|
//#endregion
|
|
4127
3843
|
//#region src/actions/star-tool/types.d.ts
|
|
4128
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4129
3844
|
type WeaveStarToolActionStateKeys = keyof typeof STAR_TOOL_STATE;
|
|
4130
3845
|
type WeaveStarToolActionState = (typeof STAR_TOOL_STATE)[WeaveStarToolActionStateKeys];
|
|
4131
3846
|
type WeaveStarToolActionOnAddingEvent = undefined;
|
|
4132
3847
|
type WeaveStarToolActionOnAddedEvent = undefined;
|
|
4133
|
-
|
|
4134
3848
|
//#endregion
|
|
4135
3849
|
//#region src/actions/star-tool/star-tool.d.ts
|
|
4136
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4137
3850
|
declare class WeaveStarToolAction extends WeaveAction {
|
|
4138
3851
|
protected initialized: boolean;
|
|
4139
3852
|
protected state: WeaveStarToolActionState;
|
|
@@ -4170,10 +3883,8 @@ declare class WeaveStarToolAction extends WeaveAction {
|
|
|
4170
3883
|
private setCursor;
|
|
4171
3884
|
private setFocusStage;
|
|
4172
3885
|
}
|
|
4173
|
-
|
|
4174
3886
|
//#endregion
|
|
4175
3887
|
//#region src/actions/arrow-tool/constants.d.ts
|
|
4176
|
-
//# sourceMappingURL=star-tool.d.ts.map
|
|
4177
3888
|
declare const WEAVE_ARROW_TOOL_ACTION_NAME = "arrowTool";
|
|
4178
3889
|
declare const WEAVE_ARROW_TOOL_STATE: {
|
|
4179
3890
|
readonly IDLE: "idle";
|
|
@@ -4181,10 +3892,8 @@ declare const WEAVE_ARROW_TOOL_STATE: {
|
|
|
4181
3892
|
readonly DEFINING_SIZE: "definingSize";
|
|
4182
3893
|
readonly ADDED: "added";
|
|
4183
3894
|
};
|
|
4184
|
-
|
|
4185
3895
|
//#endregion
|
|
4186
3896
|
//#region src/actions/arrow-tool/types.d.ts
|
|
4187
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4188
3897
|
type WeaveArrowToolActionStateKeys = keyof typeof WEAVE_ARROW_TOOL_STATE;
|
|
4189
3898
|
type WeaveArrowToolActionState = (typeof WEAVE_ARROW_TOOL_STATE)[WeaveArrowToolActionStateKeys];
|
|
4190
3899
|
type WeaveArrowToolActionProperties = {
|
|
@@ -4197,10 +3906,8 @@ type WeaveArrowToolActionProperties = {
|
|
|
4197
3906
|
type WeaveArrowToolActionParams = {
|
|
4198
3907
|
config: Partial<WeaveArrowToolActionProperties>;
|
|
4199
3908
|
};
|
|
4200
|
-
|
|
4201
3909
|
//#endregion
|
|
4202
3910
|
//#region src/actions/arrow-tool/arrow-tool.d.ts
|
|
4203
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4204
3911
|
declare class WeaveArrowToolAction extends WeaveAction {
|
|
4205
3912
|
protected initialized: boolean;
|
|
4206
3913
|
protected initialCursor: string | null;
|
|
@@ -4242,10 +3949,8 @@ declare class WeaveArrowToolAction extends WeaveAction {
|
|
|
4242
3949
|
private setCursor;
|
|
4243
3950
|
private setFocusStage;
|
|
4244
3951
|
}
|
|
4245
|
-
|
|
4246
3952
|
//#endregion
|
|
4247
3953
|
//#region src/actions/stroke-tool/constants.d.ts
|
|
4248
|
-
//# sourceMappingURL=arrow-tool.d.ts.map
|
|
4249
3954
|
declare const WEAVE_STROKE_TOOL_ACTION_NAME = "strokeTool";
|
|
4250
3955
|
declare const WEAVE_STROKE_TOOL_ACTION_NAME_ALIASES: string[];
|
|
4251
3956
|
declare const WEAVE_STROKE_TOOL_STATE: {
|
|
@@ -4261,10 +3966,8 @@ declare const WEAVE_STROKE_TOOL_DEFAULT_CONFIG: {
|
|
|
4261
3966
|
releaseThreshold: number;
|
|
4262
3967
|
};
|
|
4263
3968
|
};
|
|
4264
|
-
|
|
4265
3969
|
//#endregion
|
|
4266
3970
|
//#region src/actions/stroke-tool/types.d.ts
|
|
4267
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4268
3971
|
type WeaveStrokeToolActionStateKeys = keyof typeof WEAVE_STROKE_TOOL_STATE;
|
|
4269
3972
|
type WeaveStrokeToolActionState = (typeof WEAVE_STROKE_TOOL_STATE)[WeaveStrokeToolActionStateKeys];
|
|
4270
3973
|
type WeaveStrokeToolActionProperties = {
|
|
@@ -4283,10 +3986,8 @@ type WeaveStrokeToolActionOnAddingEvent = {
|
|
|
4283
3986
|
type WeaveStrokeToolActionOnAddedEvent = {
|
|
4284
3987
|
actionName: string;
|
|
4285
3988
|
};
|
|
4286
|
-
|
|
4287
3989
|
//#endregion
|
|
4288
3990
|
//#region src/actions/stroke-tool/stroke-tool.d.ts
|
|
4289
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4290
3991
|
declare class WeaveStrokeToolAction extends WeaveAction {
|
|
4291
3992
|
protected initialized: boolean;
|
|
4292
3993
|
protected initialCursor: string | null;
|
|
@@ -4329,10 +4030,8 @@ declare class WeaveStrokeToolAction extends WeaveAction {
|
|
|
4329
4030
|
private setCursor;
|
|
4330
4031
|
private setFocusStage;
|
|
4331
4032
|
}
|
|
4332
|
-
|
|
4333
4033
|
//#endregion
|
|
4334
4034
|
//#region src/actions/regular-polygon-tool/constants.d.ts
|
|
4335
|
-
//# sourceMappingURL=stroke-tool.d.ts.map
|
|
4336
4035
|
declare const REGULAR_POLYGON_TOOL_ACTION_NAME = "regularPolygonTool";
|
|
4337
4036
|
declare const REGULAR_POLYGON_TOOL_STATE: {
|
|
4338
4037
|
readonly IDLE: "idle";
|
|
@@ -4340,18 +4039,14 @@ declare const REGULAR_POLYGON_TOOL_STATE: {
|
|
|
4340
4039
|
readonly DEFINING_SIZE: "definingSize";
|
|
4341
4040
|
readonly ADDED: "added";
|
|
4342
4041
|
};
|
|
4343
|
-
|
|
4344
4042
|
//#endregion
|
|
4345
4043
|
//#region src/actions/regular-polygon-tool/types.d.ts
|
|
4346
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4347
4044
|
type WeaveRegularPolygonToolActionStateKeys = keyof typeof REGULAR_POLYGON_TOOL_STATE;
|
|
4348
4045
|
type WeaveRegularPolygonToolActionState = (typeof REGULAR_POLYGON_TOOL_STATE)[WeaveRegularPolygonToolActionStateKeys];
|
|
4349
4046
|
type WeaveRegularPolygonToolActionOnAddingEvent = undefined;
|
|
4350
4047
|
type WeaveRegularPolygonToolActionOnAddedEvent = undefined;
|
|
4351
|
-
|
|
4352
4048
|
//#endregion
|
|
4353
4049
|
//#region src/actions/regular-polygon-tool/regular-polygon-tool.d.ts
|
|
4354
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4355
4050
|
declare class WeaveRegularPolygonToolAction extends WeaveAction {
|
|
4356
4051
|
protected initialized: boolean;
|
|
4357
4052
|
protected state: WeaveRegularPolygonToolActionState;
|
|
@@ -4386,29 +4081,23 @@ declare class WeaveRegularPolygonToolAction extends WeaveAction {
|
|
|
4386
4081
|
private setCursor;
|
|
4387
4082
|
private setFocusStage;
|
|
4388
4083
|
}
|
|
4389
|
-
|
|
4390
4084
|
//#endregion
|
|
4391
4085
|
//#region src/actions/polygon-tool/constants.d.ts
|
|
4392
|
-
//# sourceMappingURL=regular-polygon-tool.d.ts.map
|
|
4393
4086
|
declare const POLYGON_TOOL_ACTION_NAME = "polygonTool";
|
|
4394
4087
|
declare const POLYGON_TOOL_STATE: {
|
|
4395
4088
|
readonly IDLE: "idle";
|
|
4396
4089
|
readonly ADDING: "adding";
|
|
4397
4090
|
readonly ADDED: "added";
|
|
4398
4091
|
};
|
|
4399
|
-
|
|
4400
4092
|
//#endregion
|
|
4401
4093
|
//#region src/actions/polygon-tool/types.d.ts
|
|
4402
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4403
4094
|
type WeavePolygonToolActionStateKeys = keyof typeof POLYGON_TOOL_STATE;
|
|
4404
4095
|
type WeavePolygonToolActionState = (typeof POLYGON_TOOL_STATE)[WeavePolygonToolActionStateKeys];
|
|
4405
4096
|
type WeavePolygonToolActionTriggerParams = {
|
|
4406
4097
|
presetId?: string;
|
|
4407
4098
|
};
|
|
4408
|
-
|
|
4409
4099
|
//#endregion
|
|
4410
4100
|
//#region src/actions/polygon-tool/polygon-tool.d.ts
|
|
4411
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4412
4101
|
declare class WeavePolygonToolAction extends WeaveAction {
|
|
4413
4102
|
protected initialized: boolean;
|
|
4414
4103
|
protected state: WeavePolygonToolActionState;
|
|
@@ -4438,20 +4127,16 @@ declare class WeavePolygonToolAction extends WeaveAction {
|
|
|
4438
4127
|
private setCursor;
|
|
4439
4128
|
private setFocusStage;
|
|
4440
4129
|
}
|
|
4441
|
-
|
|
4442
4130
|
//#endregion
|
|
4443
4131
|
//#region src/actions/frame-tool/constants.d.ts
|
|
4444
|
-
//# sourceMappingURL=polygon-tool.d.ts.map
|
|
4445
4132
|
declare const FRAME_TOOL_ACTION_NAME = "frameTool";
|
|
4446
4133
|
declare const FRAME_TOOL_STATE: {
|
|
4447
4134
|
readonly IDLE: "idle";
|
|
4448
4135
|
readonly ADDING: "adding";
|
|
4449
4136
|
readonly ADDED: "added";
|
|
4450
4137
|
};
|
|
4451
|
-
|
|
4452
4138
|
//#endregion
|
|
4453
4139
|
//#region src/actions/frame-tool/types.d.ts
|
|
4454
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4455
4140
|
type WeaveFrameToolActionStateKeys = keyof typeof FRAME_TOOL_STATE;
|
|
4456
4141
|
type WeaveFrameToolActionState = (typeof FRAME_TOOL_STATE)[WeaveFrameToolActionStateKeys];
|
|
4457
4142
|
type WeaveFrameToolActionTriggerParams = {
|
|
@@ -4468,10 +4153,8 @@ type WeaveFrameToolProps = {
|
|
|
4468
4153
|
};
|
|
4469
4154
|
type WeaveFrameToolActionOnAddingEvent = undefined;
|
|
4470
4155
|
type WeaveFrameToolActionOnAddedEvent = undefined;
|
|
4471
|
-
|
|
4472
4156
|
//#endregion
|
|
4473
4157
|
//#region src/actions/frame-tool/frame-tool.d.ts
|
|
4474
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4475
4158
|
declare class WeaveFrameToolAction extends WeaveAction {
|
|
4476
4159
|
protected initialized: boolean;
|
|
4477
4160
|
protected state: WeaveFrameToolActionState;
|
|
@@ -4496,20 +4179,16 @@ declare class WeaveFrameToolAction extends WeaveAction {
|
|
|
4496
4179
|
private setCursor;
|
|
4497
4180
|
private setFocusStage;
|
|
4498
4181
|
}
|
|
4499
|
-
|
|
4500
4182
|
//#endregion
|
|
4501
4183
|
//#region src/actions/export-nodes-tool/types.d.ts
|
|
4502
|
-
//# sourceMappingURL=frame-tool.d.ts.map
|
|
4503
4184
|
type WeaveExportNodesActionParams = {
|
|
4504
4185
|
nodes: WeaveElementInstance[];
|
|
4505
4186
|
boundingNodes?: (nodes: Konva.Node[]) => Konva.Node[];
|
|
4506
4187
|
options?: WeaveExportNodesOptions;
|
|
4507
4188
|
triggerSelectionTool?: boolean;
|
|
4508
4189
|
};
|
|
4509
|
-
|
|
4510
4190
|
//#endregion
|
|
4511
4191
|
//#region src/actions/export-stage-tool/export-stage-tool.d.ts
|
|
4512
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4513
4192
|
declare class WeaveExportStageToolAction extends WeaveAction {
|
|
4514
4193
|
protected cancelAction: () => void;
|
|
4515
4194
|
private defaultFormatOptions;
|
|
@@ -4520,24 +4199,17 @@ declare class WeaveExportStageToolAction extends WeaveAction {
|
|
|
4520
4199
|
constructor();
|
|
4521
4200
|
getName(): string;
|
|
4522
4201
|
private exportStage;
|
|
4523
|
-
trigger(cancelAction: () => void, {
|
|
4524
|
-
boundingNodes,
|
|
4525
|
-
options
|
|
4526
|
-
}: WeaveExportNodesActionParams): Promise<HTMLImageElement>;
|
|
4202
|
+
trigger(cancelAction: () => void, { boundingNodes, options }: WeaveExportNodesActionParams): Promise<HTMLImageElement>;
|
|
4527
4203
|
cleanup(): void;
|
|
4528
4204
|
}
|
|
4529
|
-
|
|
4530
4205
|
//#endregion
|
|
4531
4206
|
//#region src/actions/export-stage-tool/types.d.ts
|
|
4532
|
-
//# sourceMappingURL=export-stage-tool.d.ts.map
|
|
4533
4207
|
type WeaveExportStageActionParams = {
|
|
4534
4208
|
boundingNodes?: (nodes: Konva.Node[]) => Konva.Node[];
|
|
4535
4209
|
options?: WeaveExportNodesOptions;
|
|
4536
4210
|
};
|
|
4537
|
-
|
|
4538
4211
|
//#endregion
|
|
4539
4212
|
//#region src/actions/export-nodes-tool/export-nodes-tool.d.ts
|
|
4540
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4541
4213
|
declare class WeaveExportNodesToolAction extends WeaveAction {
|
|
4542
4214
|
protected cancelAction: () => void;
|
|
4543
4215
|
protected triggerSelectionTool: boolean;
|
|
@@ -4549,18 +4221,11 @@ declare class WeaveExportNodesToolAction extends WeaveAction {
|
|
|
4549
4221
|
constructor();
|
|
4550
4222
|
getName(): string;
|
|
4551
4223
|
private exportNodes;
|
|
4552
|
-
trigger(cancelAction: () => void, {
|
|
4553
|
-
nodes,
|
|
4554
|
-
boundingNodes,
|
|
4555
|
-
options,
|
|
4556
|
-
triggerSelectionTool
|
|
4557
|
-
}: WeaveExportNodesActionParams): Promise<HTMLImageElement>;
|
|
4224
|
+
trigger(cancelAction: () => void, { nodes, boundingNodes, options, triggerSelectionTool }: WeaveExportNodesActionParams): Promise<HTMLImageElement>;
|
|
4558
4225
|
cleanup(): void;
|
|
4559
4226
|
}
|
|
4560
|
-
|
|
4561
4227
|
//#endregion
|
|
4562
4228
|
//#region src/actions/align-nodes-tool/constants.d.ts
|
|
4563
|
-
//# sourceMappingURL=export-nodes-tool.d.ts.map
|
|
4564
4229
|
declare const ALIGN_NODES_TOOL_ACTION_NAME = "alignNodesTool";
|
|
4565
4230
|
declare const ALIGN_NODES_ALIGN_TO: {
|
|
4566
4231
|
readonly LEFT_HORIZONTAL: "left-horizontal";
|
|
@@ -4573,10 +4238,8 @@ declare const ALIGN_NODES_ALIGN_TO: {
|
|
|
4573
4238
|
declare const ALIGN_NODES_TOOL_STATE: {
|
|
4574
4239
|
readonly IDLE: "idle";
|
|
4575
4240
|
};
|
|
4576
|
-
|
|
4577
4241
|
//#endregion
|
|
4578
4242
|
//#region src/actions/align-nodes-tool/types.d.ts
|
|
4579
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4580
4243
|
type WeaveAlignNodesToolActionStateKeys = keyof typeof ALIGN_NODES_TOOL_STATE;
|
|
4581
4244
|
type WeaveAlignNodesToolActionState = (typeof ALIGN_NODES_TOOL_STATE)[WeaveAlignNodesToolActionStateKeys];
|
|
4582
4245
|
type WeaveAlignNodesToolActionAlignToKeys = keyof typeof ALIGN_NODES_ALIGN_TO;
|
|
@@ -4585,10 +4248,8 @@ type WeaveAlignNodesToolActionTriggerParams = {
|
|
|
4585
4248
|
alignTo: WeaveAlignNodesToolActionAlignTo;
|
|
4586
4249
|
triggerSelectionTool?: boolean;
|
|
4587
4250
|
};
|
|
4588
|
-
|
|
4589
4251
|
//#endregion
|
|
4590
4252
|
//#region src/actions/align-nodes-tool/align-nodes-tool.d.ts
|
|
4591
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4592
4253
|
declare class WeaveAlignNodesToolAction extends WeaveAction {
|
|
4593
4254
|
protected initialized: boolean;
|
|
4594
4255
|
protected state: WeaveAlignNodesToolActionState;
|
|
@@ -4611,16 +4272,11 @@ declare class WeaveAlignNodesToolAction extends WeaveAction {
|
|
|
4611
4272
|
private alignToBottomVertical;
|
|
4612
4273
|
private alignNodes;
|
|
4613
4274
|
canAlignSelectedNodes(): boolean;
|
|
4614
|
-
trigger(cancelAction: () => void, {
|
|
4615
|
-
alignTo,
|
|
4616
|
-
triggerSelectionTool
|
|
4617
|
-
}: WeaveAlignNodesToolActionTriggerParams): void;
|
|
4275
|
+
trigger(cancelAction: () => void, { alignTo, triggerSelectionTool }: WeaveAlignNodesToolActionTriggerParams): void;
|
|
4618
4276
|
cleanup(): void;
|
|
4619
4277
|
}
|
|
4620
|
-
|
|
4621
4278
|
//#endregion
|
|
4622
4279
|
//#region src/actions/comment-tool/constants.d.ts
|
|
4623
|
-
//# sourceMappingURL=align-nodes-tool.d.ts.map
|
|
4624
4280
|
declare const WEAVE_COMMENT_TOOL_ACTION_NAME = "commentTool";
|
|
4625
4281
|
declare const WEAVE_COMMENT_TOOL_STATE: {
|
|
4626
4282
|
readonly IDLE: "idle";
|
|
@@ -4637,10 +4293,8 @@ declare const WEAVE_COMMENT_TOOL_DEFAULT_CONFIG: {
|
|
|
4637
4293
|
};
|
|
4638
4294
|
};
|
|
4639
4295
|
};
|
|
4640
|
-
|
|
4641
4296
|
//#endregion
|
|
4642
4297
|
//#region src/actions/comment-tool/types.d.ts
|
|
4643
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4644
4298
|
type WeaveCommentToolActionStateKeys = keyof typeof WEAVE_COMMENT_TOOL_STATE;
|
|
4645
4299
|
type WeaveCommentToolActionState = (typeof WEAVE_COMMENT_TOOL_STATE)[WeaveCommentToolActionStateKeys];
|
|
4646
4300
|
type WeaveCommentToolStyle = {
|
|
@@ -4662,10 +4316,8 @@ type WeaveCommentToolActionConfig<T> = {
|
|
|
4662
4316
|
type WeaveCommentToolActionParams<T> = {
|
|
4663
4317
|
config: Pick<WeaveCommentToolActionConfig<T>, 'model' | 'getUser' | 'getUserBackgroundColor' | 'getUserForegroundColor'> & DeepPartial<Pick<WeaveCommentToolActionConfig<T>, 'style'>>;
|
|
4664
4318
|
};
|
|
4665
|
-
|
|
4666
4319
|
//#endregion
|
|
4667
4320
|
//#region src/actions/comment-tool/comment-tool.d.ts
|
|
4668
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4669
4321
|
declare class WeaveCommentToolAction<T> extends WeaveAction {
|
|
4670
4322
|
private readonly config;
|
|
4671
4323
|
protected initialized: boolean;
|
|
@@ -4697,10 +4349,8 @@ declare class WeaveCommentToolAction<T> extends WeaveAction {
|
|
|
4697
4349
|
private setCursor;
|
|
4698
4350
|
private setCursorBlock;
|
|
4699
4351
|
}
|
|
4700
|
-
|
|
4701
4352
|
//#endregion
|
|
4702
4353
|
//#region src/actions/video-tool/constants.d.ts
|
|
4703
|
-
//# sourceMappingURL=comment-tool.d.ts.map
|
|
4704
4354
|
declare const VIDEO_TOOL_ACTION_NAME = "videoTool";
|
|
4705
4355
|
declare const VIDEO_TOOL_STATE: {
|
|
4706
4356
|
readonly IDLE: "idle";
|
|
@@ -4710,10 +4360,8 @@ declare const VIDEO_TOOL_STATE: {
|
|
|
4710
4360
|
readonly ADDING: "adding";
|
|
4711
4361
|
readonly FINISHED: "finished";
|
|
4712
4362
|
};
|
|
4713
|
-
|
|
4714
4363
|
//#endregion
|
|
4715
4364
|
//#region src/actions/video-tool/types.d.ts
|
|
4716
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4717
4365
|
type WeaveVideoToolActionStateKeys = keyof typeof VIDEO_TOOL_STATE;
|
|
4718
4366
|
type WeaveVideoToolActionState = (typeof VIDEO_TOOL_STATE)[WeaveVideoToolActionStateKeys];
|
|
4719
4367
|
type WeaveVideoToolDragParams = {
|
|
@@ -4743,10 +4391,8 @@ type WeaveVideoToolDragAndDropProperties = {
|
|
|
4743
4391
|
videoId: string;
|
|
4744
4392
|
videoParams: WeaveVideoToolDragParams;
|
|
4745
4393
|
};
|
|
4746
|
-
|
|
4747
4394
|
//#endregion
|
|
4748
4395
|
//#region src/actions/video-tool/video-tool.d.ts
|
|
4749
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4750
4396
|
declare class WeaveVideoToolAction extends WeaveAction {
|
|
4751
4397
|
protected initInitialized: boolean;
|
|
4752
4398
|
protected initialized: boolean;
|
|
@@ -4783,10 +4429,8 @@ declare class WeaveVideoToolAction extends WeaveAction {
|
|
|
4783
4429
|
private setCursor;
|
|
4784
4430
|
setDragAndDropProperties(properties: WeaveVideoToolDragAndDropProperties): void;
|
|
4785
4431
|
}
|
|
4786
|
-
|
|
4787
4432
|
//#endregion
|
|
4788
4433
|
//#region src/actions/measure-tool/constants.d.ts
|
|
4789
|
-
//# sourceMappingURL=video-tool.d.ts.map
|
|
4790
4434
|
declare const MEASURE_TOOL_ACTION_NAME = "measureTool";
|
|
4791
4435
|
declare const MEASURE_TOOL_STATE: {
|
|
4792
4436
|
readonly IDLE: "idle";
|
|
@@ -4795,10 +4439,8 @@ declare const MEASURE_TOOL_STATE: {
|
|
|
4795
4439
|
readonly FINISHED: "finished";
|
|
4796
4440
|
};
|
|
4797
4441
|
declare const WEAVE_MEASURE_TOOL_DEFAULT_CONFIG: WeaveMeasureToolProperties;
|
|
4798
|
-
|
|
4799
4442
|
//#endregion
|
|
4800
4443
|
//#region src/actions/measure-tool/types.d.ts
|
|
4801
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4802
4444
|
type WeaveMeasureToolActionStateKeys = keyof typeof MEASURE_TOOL_STATE;
|
|
4803
4445
|
type WeaveMeasureToolActionState = (typeof MEASURE_TOOL_STATE)[WeaveMeasureToolActionStateKeys];
|
|
4804
4446
|
type WeaveMeasureToolProperties = {
|
|
@@ -4809,10 +4451,8 @@ type WeaveMeasureToolProperties = {
|
|
|
4809
4451
|
type WeaveMeasureToolParams = {
|
|
4810
4452
|
config: DeepPartial<WeaveMeasureToolProperties>;
|
|
4811
4453
|
};
|
|
4812
|
-
|
|
4813
4454
|
//#endregion
|
|
4814
4455
|
//#region src/actions/measure-tool/measure-tool.d.ts
|
|
4815
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4816
4456
|
declare class WeaveMeasureToolAction extends WeaveAction {
|
|
4817
4457
|
private readonly config;
|
|
4818
4458
|
protected initialized: boolean;
|
|
@@ -4849,10 +4489,8 @@ declare class WeaveMeasureToolAction extends WeaveAction {
|
|
|
4849
4489
|
private setFocusStage;
|
|
4850
4490
|
private defineFinalPoint;
|
|
4851
4491
|
}
|
|
4852
|
-
|
|
4853
4492
|
//#endregion
|
|
4854
4493
|
//#region src/actions/connector-tool/constants.d.ts
|
|
4855
|
-
//# sourceMappingURL=measure-tool.d.ts.map
|
|
4856
4494
|
declare const CONNECTOR_TOOL_ACTION_NAME = "connectorTool";
|
|
4857
4495
|
declare const CONNECTOR_TOOL_STATE: {
|
|
4858
4496
|
readonly IDLE: "idle";
|
|
@@ -4861,10 +4499,8 @@ declare const CONNECTOR_TOOL_STATE: {
|
|
|
4861
4499
|
readonly ADDED: "added";
|
|
4862
4500
|
};
|
|
4863
4501
|
declare const CONNECTOR_TOOL_DEFAULT_CONFIG: WeaveConnectorToolActionProperties;
|
|
4864
|
-
|
|
4865
4502
|
//#endregion
|
|
4866
4503
|
//#region src/actions/connector-tool/types.d.ts
|
|
4867
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4868
4504
|
type WeaveConnectorToolActionStateKeys = keyof typeof CONNECTOR_TOOL_STATE;
|
|
4869
4505
|
type WeaveConnectorToolActionState = (typeof CONNECTOR_TOOL_STATE)[WeaveConnectorToolActionStateKeys];
|
|
4870
4506
|
type WeaveConnectorToolActionProperties = {
|
|
@@ -4887,10 +4523,8 @@ type WeaveConnectorToolActionProperties = {
|
|
|
4887
4523
|
type WeaveConnectorToolActionParams = {
|
|
4888
4524
|
config: DeepPartial<WeaveConnectorToolActionProperties>;
|
|
4889
4525
|
};
|
|
4890
|
-
|
|
4891
4526
|
//#endregion
|
|
4892
4527
|
//#region src/actions/connector-tool/connector-tool.d.ts
|
|
4893
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4894
4528
|
declare class WeaveConnectorToolAction extends WeaveAction {
|
|
4895
4529
|
protected readonly config: WeaveConnectorToolActionProperties;
|
|
4896
4530
|
protected initialized: boolean;
|
|
@@ -4935,10 +4569,8 @@ declare class WeaveConnectorToolAction extends WeaveAction {
|
|
|
4935
4569
|
protected showConnectorAnchors(node: Konva.Node): void;
|
|
4936
4570
|
private hideAllConnectorAnchors;
|
|
4937
4571
|
}
|
|
4938
|
-
|
|
4939
4572
|
//#endregion
|
|
4940
4573
|
//#region src/actions/guide-tool/constants.d.ts
|
|
4941
|
-
//# sourceMappingURL=connector-tool.d.ts.map
|
|
4942
4574
|
declare const GUIDE_TOOL_ACTION_NAME = "guideTool";
|
|
4943
4575
|
declare const GUIDE_TOOL_STATE: {
|
|
4944
4576
|
readonly IDLE: "idle";
|
|
@@ -4947,10 +4579,8 @@ declare const GUIDE_TOOL_STATE: {
|
|
|
4947
4579
|
readonly ADDED: "added";
|
|
4948
4580
|
};
|
|
4949
4581
|
declare const DEFAULT_GUIDE_TOOL_ACTION_CONFIG: GuideToolActionConfig;
|
|
4950
|
-
|
|
4951
4582
|
//#endregion
|
|
4952
4583
|
//#region src/plugins/nodes-snapping/constants.d.ts
|
|
4953
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4954
4584
|
declare const GUIDE_NAME = "snap-guide";
|
|
4955
4585
|
declare const GUIDE_DISTANCE_NAME = "snap-distance-guide";
|
|
4956
4586
|
declare const WEAVE_NODES_SNAPPING_PLUGIN_KEY = "nodesSnapping";
|
|
@@ -4980,10 +4610,8 @@ declare const MOVE_ORIENTATION: {
|
|
|
4980
4610
|
readonly RIGHT: "right";
|
|
4981
4611
|
};
|
|
4982
4612
|
declare const DEFAULT_SNAPPING_MANAGER_CONFIG: WeaveNodesSnappingPluginConfig;
|
|
4983
|
-
|
|
4984
4613
|
//#endregion
|
|
4985
4614
|
//#region src/plugins/nodes-snapping/types.d.ts
|
|
4986
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4987
4615
|
type MoveOrientationKeys = keyof typeof MOVE_ORIENTATION;
|
|
4988
4616
|
type MoveOrientation = (typeof MOVE_ORIENTATION)[MoveOrientationKeys];
|
|
4989
4617
|
type GuideKindKeys = keyof typeof GUIDE_KIND;
|
|
@@ -5183,10 +4811,8 @@ type VIntersection = {
|
|
|
5183
4811
|
distances: DistanceInfoV[];
|
|
5184
4812
|
targetDistanceIndexes: number[];
|
|
5185
4813
|
};
|
|
5186
|
-
|
|
5187
4814
|
//#endregion
|
|
5188
4815
|
//#region src/actions/guide-tool/types.d.ts
|
|
5189
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5190
4816
|
type GuideToolActionStateKeys = keyof typeof GUIDE_TOOL_STATE;
|
|
5191
4817
|
type GuideToolActionState = (typeof GUIDE_TOOL_STATE)[GuideToolActionStateKeys];
|
|
5192
4818
|
type GuideToolActionTriggerParams = {
|
|
@@ -5207,10 +4833,8 @@ type GuideToolActionStyle = {
|
|
|
5207
4833
|
};
|
|
5208
4834
|
targetDistance: GuideDistanceToTargetInfoStyle;
|
|
5209
4835
|
};
|
|
5210
|
-
|
|
5211
4836
|
//#endregion
|
|
5212
4837
|
//#region src/plugins/nodes-snapping/nodes-snapping.guide-distance-to-target-info.d.ts
|
|
5213
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5214
4838
|
declare class WeaveNodesSnappingGuideDistanceToTargetInfo {
|
|
5215
4839
|
protected instance: Weave;
|
|
5216
4840
|
protected config: GuideDistanceToTargetInfoConfig;
|
|
@@ -5235,10 +4859,8 @@ declare class WeaveNodesSnappingGuideDistanceToTargetInfo {
|
|
|
5235
4859
|
private getNodeSelectionPlugin;
|
|
5236
4860
|
private getSnappingManagerPlugin;
|
|
5237
4861
|
}
|
|
5238
|
-
|
|
5239
4862
|
//#endregion
|
|
5240
4863
|
//#region src/actions/guide-tool/guide-tool.d.ts
|
|
5241
|
-
//# sourceMappingURL=nodes-snapping.guide-distance-to-target-info.d.ts.map
|
|
5242
4864
|
declare class WeaveGuideToolAction extends WeaveAction {
|
|
5243
4865
|
protected config: GuideToolActionConfig;
|
|
5244
4866
|
protected initialized: boolean;
|
|
@@ -5264,10 +4886,8 @@ declare class WeaveGuideToolAction extends WeaveAction {
|
|
|
5264
4886
|
private setCursor;
|
|
5265
4887
|
private getVisibleStageRect;
|
|
5266
4888
|
}
|
|
5267
|
-
|
|
5268
4889
|
//#endregion
|
|
5269
4890
|
//#region src/plugins/stage-panning/constants.d.ts
|
|
5270
|
-
//# sourceMappingURL=guide-tool.d.ts.map
|
|
5271
4891
|
declare const WEAVE_STAGE_PANNING_KEY = "stagePanning";
|
|
5272
4892
|
declare const WEAVE_STAGE_PANNING_THROTTLE_MS = 20;
|
|
5273
4893
|
declare const WEAVE_STAGE_PANNING_DEFAULT_CONFIG: {
|
|
@@ -5276,10 +4896,8 @@ declare const WEAVE_STAGE_PANNING_DEFAULT_CONFIG: {
|
|
|
5276
4896
|
speed: number;
|
|
5277
4897
|
};
|
|
5278
4898
|
};
|
|
5279
|
-
|
|
5280
4899
|
//#endregion
|
|
5281
4900
|
//#region src/plugins/stage-minimap/types.d.ts
|
|
5282
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5283
4901
|
type WeaveStageMinimapPluginStyle = {
|
|
5284
4902
|
viewportReference: Konva.RectConfig;
|
|
5285
4903
|
};
|
|
@@ -5293,10 +4911,8 @@ type WeaveStageMinimapPluginConfig = {
|
|
|
5293
4911
|
type WeaveStageMinimapPluginParams = {
|
|
5294
4912
|
config: Pick<WeaveStageMinimapPluginConfig, 'getContainer' | 'id' | 'width' | 'fitToContentPadding'> & DeepPartial<Pick<WeaveStageMinimapPluginConfig, 'style'>>;
|
|
5295
4913
|
};
|
|
5296
|
-
|
|
5297
4914
|
//#endregion
|
|
5298
4915
|
//#region src/plugins/stage-minimap/stage-minimap.d.ts
|
|
5299
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5300
4916
|
declare class WeaveStageMinimapPlugin extends WeavePlugin {
|
|
5301
4917
|
getLayerName: undefined;
|
|
5302
4918
|
initLayer: undefined;
|
|
@@ -5320,10 +4936,8 @@ declare class WeaveStageMinimapPlugin extends WeavePlugin {
|
|
|
5320
4936
|
enable(): void;
|
|
5321
4937
|
disable(): void;
|
|
5322
4938
|
}
|
|
5323
|
-
|
|
5324
4939
|
//#endregion
|
|
5325
4940
|
//#region src/plugins/stage-minimap/constants.d.ts
|
|
5326
|
-
//# sourceMappingURL=stage-minimap.d.ts.map
|
|
5327
4941
|
declare const WEAVE_STAGE_MINIMAP_KEY = "stageMinimap";
|
|
5328
4942
|
declare const STAGE_MINIMAP_DEFAULT_CONFIG: {
|
|
5329
4943
|
style: {
|
|
@@ -5335,10 +4949,8 @@ declare const STAGE_MINIMAP_DEFAULT_CONFIG: {
|
|
|
5335
4949
|
};
|
|
5336
4950
|
};
|
|
5337
4951
|
};
|
|
5338
|
-
|
|
5339
4952
|
//#endregion
|
|
5340
4953
|
//#region src/plugins/stage-resize/stage-resize.d.ts
|
|
5341
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5342
4954
|
declare class WeaveStageResizePlugin extends WeavePlugin {
|
|
5343
4955
|
getLayerName: undefined;
|
|
5344
4956
|
initLayer: undefined;
|
|
@@ -5350,10 +4962,8 @@ declare class WeaveStageResizePlugin extends WeavePlugin {
|
|
|
5350
4962
|
enable(): void;
|
|
5351
4963
|
disable(): void;
|
|
5352
4964
|
}
|
|
5353
|
-
|
|
5354
4965
|
//#endregion
|
|
5355
4966
|
//#region src/plugins/nodes-selection/constants.d.ts
|
|
5356
|
-
//# sourceMappingURL=stage-resize.d.ts.map
|
|
5357
4967
|
declare const WEAVE_NODES_SELECTION_KEY = "nodesSelection";
|
|
5358
4968
|
declare const WEAVE_NODES_SELECTION_LAYER_ID = "selectionLayer";
|
|
5359
4969
|
declare const WEAVE_NODES_SELECTION_DEFAULT_CONFIG: {
|
|
@@ -5404,10 +5014,8 @@ declare const WEAVE_NODES_SELECTION_DEFAULT_CONFIG: {
|
|
|
5404
5014
|
dragOpacity: number;
|
|
5405
5015
|
};
|
|
5406
5016
|
};
|
|
5407
|
-
|
|
5408
5017
|
//#endregion
|
|
5409
5018
|
//#region src/plugins/nodes-multi-selection-feedback/constants.d.ts
|
|
5410
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5411
5019
|
declare const WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_KEY = "nodesMultiSelectionFeedback";
|
|
5412
5020
|
declare const WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_LAYER_ID = "selectionLayer";
|
|
5413
5021
|
declare const WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_DEFAULT_CONFIG: {
|
|
@@ -5417,15 +5025,11 @@ declare const WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_DEFAULT_CONFIG: {
|
|
|
5417
5025
|
fill: string;
|
|
5418
5026
|
};
|
|
5419
5027
|
};
|
|
5420
|
-
|
|
5421
5028
|
//#endregion
|
|
5422
5029
|
//#region src/plugins/connected-users/constants.d.ts
|
|
5423
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5424
5030
|
declare const WEAVE_CONNECTED_USER_INFO_KEY = "userInfo";
|
|
5425
|
-
|
|
5426
5031
|
//#endregion
|
|
5427
5032
|
//#region src/plugins/connected-users/types.d.ts
|
|
5428
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5429
5033
|
type WeaveConnectedUsersPluginConfig = {
|
|
5430
5034
|
getUser: () => WeaveUser;
|
|
5431
5035
|
};
|
|
@@ -5437,10 +5041,8 @@ type WeaveConnectedUsers = {
|
|
|
5437
5041
|
};
|
|
5438
5042
|
type WeaveConnectedUsersChangeEvent = WeaveConnectedUsers;
|
|
5439
5043
|
type WeaveConnectedUserInfoKey = typeof WEAVE_CONNECTED_USER_INFO_KEY;
|
|
5440
|
-
|
|
5441
5044
|
//#endregion
|
|
5442
5045
|
//#region src/plugins/connected-users/connected-users.d.ts
|
|
5443
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5444
5046
|
declare class WeaveConnectedUsersPlugin extends WeavePlugin {
|
|
5445
5047
|
private config;
|
|
5446
5048
|
private connectedUsers;
|
|
@@ -5454,16 +5056,12 @@ declare class WeaveConnectedUsersPlugin extends WeavePlugin {
|
|
|
5454
5056
|
enable(): void;
|
|
5455
5057
|
disable(): void;
|
|
5456
5058
|
}
|
|
5457
|
-
|
|
5458
5059
|
//#endregion
|
|
5459
5060
|
//#region src/plugins/users-selection/constants.d.ts
|
|
5460
|
-
//# sourceMappingURL=connected-users.d.ts.map
|
|
5461
5061
|
declare const WEAVE_USERS_SELECTION_KEY = "usersSelection";
|
|
5462
5062
|
declare const WEAVE_USER_SELECTION_KEY = "userSelection";
|
|
5463
|
-
|
|
5464
5063
|
//#endregion
|
|
5465
5064
|
//#region src/plugins/users-selection/types.d.ts
|
|
5466
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5467
5065
|
type WeaveUsersSelectionPluginConfig = {
|
|
5468
5066
|
getUser: () => WeaveUser;
|
|
5469
5067
|
getUserColor: (user: WeaveUser) => string | CanvasGradient | undefined;
|
|
@@ -5477,10 +5075,8 @@ type WeaveUserSelectionInfo = {
|
|
|
5477
5075
|
nodes: string[];
|
|
5478
5076
|
};
|
|
5479
5077
|
type WeaveUserSelectionKey = typeof WEAVE_USER_SELECTION_KEY;
|
|
5480
|
-
|
|
5481
5078
|
//#endregion
|
|
5482
5079
|
//#region src/plugins/users-selection/users-selection.d.ts
|
|
5483
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5484
5080
|
declare class WeaveUsersSelectionPlugin extends WeavePlugin {
|
|
5485
5081
|
private padding;
|
|
5486
5082
|
private usersSelection;
|
|
@@ -5500,10 +5096,8 @@ declare class WeaveUsersSelectionPlugin extends WeavePlugin {
|
|
|
5500
5096
|
enable(): void;
|
|
5501
5097
|
disable(): void;
|
|
5502
5098
|
}
|
|
5503
|
-
|
|
5504
5099
|
//#endregion
|
|
5505
5100
|
//#region src/plugins/users-pointers/constants.d.ts
|
|
5506
|
-
//# sourceMappingURL=users-selection.d.ts.map
|
|
5507
5101
|
declare const WEAVE_USERS_POINTERS_KEY = "usersPointers";
|
|
5508
5102
|
declare const WEAVE_USER_POINTER_KEY = "userPointer";
|
|
5509
5103
|
declare const WEAVE_DEFAULT_USER_INFO_FUNCTION: () => {
|
|
@@ -5529,10 +5123,8 @@ declare const WEAVE_USERS_POINTERS_CONFIG_DEFAULT_PROPS: {
|
|
|
5529
5123
|
};
|
|
5530
5124
|
getOperationName: (operation: string) => string;
|
|
5531
5125
|
};
|
|
5532
|
-
|
|
5533
5126
|
//#endregion
|
|
5534
5127
|
//#region src/plugins/users-pointers/types.d.ts
|
|
5535
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5536
5128
|
type WeaveUserPointersUIProperties = {
|
|
5537
5129
|
separation: number;
|
|
5538
5130
|
pointer: {
|
|
@@ -5567,10 +5159,8 @@ type WeaveUserPointer = {
|
|
|
5567
5159
|
y: number;
|
|
5568
5160
|
};
|
|
5569
5161
|
type WeaveUserPointerKey = typeof WEAVE_USER_POINTER_KEY;
|
|
5570
|
-
|
|
5571
5162
|
//#endregion
|
|
5572
5163
|
//#region src/plugins/users-pointers/users-pointers.d.ts
|
|
5573
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5574
5164
|
declare class WeaveUsersPointersPlugin extends WeavePlugin {
|
|
5575
5165
|
private usersPointers;
|
|
5576
5166
|
private config;
|
|
@@ -5588,10 +5178,8 @@ declare class WeaveUsersPointersPlugin extends WeavePlugin {
|
|
|
5588
5178
|
enable(): void;
|
|
5589
5179
|
disable(): void;
|
|
5590
5180
|
}
|
|
5591
|
-
|
|
5592
5181
|
//#endregion
|
|
5593
5182
|
//#region src/plugins/stage-drop-area/stage-drop-area.d.ts
|
|
5594
|
-
//# sourceMappingURL=users-pointers.d.ts.map
|
|
5595
5183
|
declare class WeaveStageDropAreaPlugin extends WeavePlugin {
|
|
5596
5184
|
getLayerName: undefined;
|
|
5597
5185
|
initLayer: undefined;
|
|
@@ -5604,20 +5192,14 @@ declare class WeaveStageDropAreaPlugin extends WeavePlugin {
|
|
|
5604
5192
|
enable(): void;
|
|
5605
5193
|
disable(): void;
|
|
5606
5194
|
}
|
|
5607
|
-
|
|
5608
5195
|
//#endregion
|
|
5609
5196
|
//#region src/plugins/stage-drop-area/constants.d.ts
|
|
5610
|
-
//# sourceMappingURL=stage-drop-area.d.ts.map
|
|
5611
5197
|
declare const WEAVE_STAGE_DROP_AREA_KEY = "stageDropArea";
|
|
5612
|
-
|
|
5613
5198
|
//#endregion
|
|
5614
5199
|
//#region src/plugins/stage-drop-area/types.d.ts
|
|
5615
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5616
5200
|
type WeaveStageDropPluginOnStageDropEvent = DragEvent;
|
|
5617
|
-
|
|
5618
5201
|
//#endregion
|
|
5619
5202
|
//#region src/plugins/copy-paste-nodes/constants.d.ts
|
|
5620
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5621
5203
|
declare const WEAVE_COPY_PASTE_NODES_KEY = "copyPasteNodes";
|
|
5622
5204
|
declare const WEAVE_COPY_PASTE_PASTE_CATCHER_ID = "weave-paste-catcher";
|
|
5623
5205
|
declare const WEAVE_COPY_PASTE_PASTE_MODES: {
|
|
@@ -5639,10 +5221,8 @@ declare const WEAVE_COPY_PASTE_CONFIG_DEFAULT: {
|
|
|
5639
5221
|
readonly paddingY: 0;
|
|
5640
5222
|
};
|
|
5641
5223
|
};
|
|
5642
|
-
|
|
5643
5224
|
//#endregion
|
|
5644
5225
|
//#region src/plugins/copy-paste-nodes/types.d.ts
|
|
5645
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5646
5226
|
type WeaveCopyPasteNodesPluginStateKeys = keyof typeof COPY_PASTE_NODES_PLUGIN_STATE;
|
|
5647
5227
|
type WeaveCopyPasteNodesPluginState = (typeof COPY_PASTE_NODES_PLUGIN_STATE)[WeaveCopyPasteNodesPluginStateKeys];
|
|
5648
5228
|
type WeaveCopyPasteNodesPluginOnCopyEvent = {
|
|
@@ -5687,10 +5267,8 @@ type WeaveCopyPasteNodesPluginParams = {
|
|
|
5687
5267
|
config?: Partial<WeaveCopyPasteNodesPluginConfig>;
|
|
5688
5268
|
getImageBase64: (instance: Weave, nodes: Konva.Node[]) => Promise<string>;
|
|
5689
5269
|
};
|
|
5690
|
-
|
|
5691
5270
|
//#endregion
|
|
5692
5271
|
//#region src/plugins/copy-paste-nodes/copy-paste-nodes.d.ts
|
|
5693
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5694
5272
|
declare class WeaveCopyPasteNodesPlugin extends WeavePlugin {
|
|
5695
5273
|
protected state: WeaveCopyPasteNodesPluginState;
|
|
5696
5274
|
private readonly config;
|
|
@@ -5745,10 +5323,8 @@ declare class WeaveCopyPasteNodesPlugin extends WeavePlugin {
|
|
|
5745
5323
|
};
|
|
5746
5324
|
getStageGridPlugin(): WeaveStageGridPlugin | undefined;
|
|
5747
5325
|
}
|
|
5748
|
-
|
|
5749
5326
|
//#endregion
|
|
5750
5327
|
//#region src/plugins/comments-renderer/types.d.ts
|
|
5751
|
-
//# sourceMappingURL=copy-paste-nodes.d.ts.map
|
|
5752
5328
|
type WeaveCommentsRendererModel<T> = {
|
|
5753
5329
|
getId: (comment: T) => string;
|
|
5754
5330
|
getUser: (comment: T) => WeaveUser;
|
|
@@ -5764,10 +5340,8 @@ type WeaveCommentsRendererPluginConfig<T> = {
|
|
|
5764
5340
|
type WeaveCommentsRendererPluginParams<T> = {
|
|
5765
5341
|
config: WeaveCommentsRendererPluginConfig<T>;
|
|
5766
5342
|
};
|
|
5767
|
-
|
|
5768
5343
|
//#endregion
|
|
5769
5344
|
//#region src/plugins/comments-renderer/comments-renderer.d.ts
|
|
5770
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5771
5345
|
declare class WeaveCommentsRendererPlugin<T> extends WeavePlugin {
|
|
5772
5346
|
private readonly config;
|
|
5773
5347
|
private comments;
|
|
@@ -5782,20 +5356,16 @@ declare class WeaveCommentsRendererPlugin<T> extends WeavePlugin {
|
|
|
5782
5356
|
private initCommentsLayer;
|
|
5783
5357
|
deleteComments(): void;
|
|
5784
5358
|
render(): void;
|
|
5785
|
-
getCommentsLayer():
|
|
5359
|
+
getCommentsLayer(): import("konva/lib/Layer").Layer;
|
|
5786
5360
|
enable(): void;
|
|
5787
5361
|
disable(): void;
|
|
5788
5362
|
}
|
|
5789
|
-
|
|
5790
5363
|
//#endregion
|
|
5791
5364
|
//#region src/plugins/comments-renderer/constants.d.ts
|
|
5792
|
-
//# sourceMappingURL=comments-renderer.d.ts.map
|
|
5793
5365
|
declare const WEAVE_COMMENTS_RENDERER_KEY = "commentsRenderer";
|
|
5794
5366
|
declare const WEAVE_COMMENTS_TOOL_LAYER_ID = "commentsLayer";
|
|
5795
|
-
|
|
5796
5367
|
//#endregion
|
|
5797
5368
|
//#region src/plugins/stage-keyboard-move/constants.d.ts
|
|
5798
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5799
5369
|
declare const WEAVE_STAGE_KEYBOARD_MOVE_KEY = "stageKeyboardMove";
|
|
5800
5370
|
declare const WEAVE_STAGE_KEYBOARD_MOVE_DEFAULT_CONFIG: {
|
|
5801
5371
|
movementDelta: number;
|
|
@@ -5807,10 +5377,8 @@ declare const WEAVE_STAGE_KEYBOARD_MOVE_ORIENTATION: {
|
|
|
5807
5377
|
readonly LEFT: "left";
|
|
5808
5378
|
readonly RIGHT: "right";
|
|
5809
5379
|
};
|
|
5810
|
-
|
|
5811
5380
|
//#endregion
|
|
5812
5381
|
//#region src/plugins/stage-keyboard-move/types.d.ts
|
|
5813
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5814
5382
|
type WeaveMoveOrientationKeys = keyof typeof WEAVE_STAGE_KEYBOARD_MOVE_ORIENTATION;
|
|
5815
5383
|
type WeaveMoveOrientation = (typeof WEAVE_STAGE_KEYBOARD_MOVE_ORIENTATION)[WeaveMoveOrientationKeys];
|
|
5816
5384
|
type WeaveStageKeyboardMovePluginConfig = {
|
|
@@ -5820,10 +5388,8 @@ type WeaveStageKeyboardMovePluginConfig = {
|
|
|
5820
5388
|
type WeaveStageKeyboardMovePluginParams = {
|
|
5821
5389
|
config?: DeepPartial<WeaveStageKeyboardMovePluginConfig>;
|
|
5822
5390
|
};
|
|
5823
|
-
|
|
5824
5391
|
//#endregion
|
|
5825
5392
|
//#region src/plugins/stage-keyboard-move/stage-keyboard-move.d.ts
|
|
5826
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5827
5393
|
declare class WeaveStageKeyboardMovePlugin extends WeavePlugin {
|
|
5828
5394
|
private config;
|
|
5829
5395
|
getLayerName: undefined;
|
|
@@ -5832,19 +5398,15 @@ declare class WeaveStageKeyboardMovePlugin extends WeavePlugin {
|
|
|
5832
5398
|
initialize: undefined;
|
|
5833
5399
|
constructor(params?: WeaveStageKeyboardMovePluginParams);
|
|
5834
5400
|
getName(): string;
|
|
5835
|
-
handleNodesMovement(movementOrientation: WeaveMoveOrientation, {
|
|
5836
|
-
isShiftPressed
|
|
5837
|
-
}: {
|
|
5401
|
+
handleNodesMovement(movementOrientation: WeaveMoveOrientation, { isShiftPressed }: {
|
|
5838
5402
|
isShiftPressed: boolean;
|
|
5839
5403
|
}): void;
|
|
5840
5404
|
onInit(): void;
|
|
5841
5405
|
enable(): void;
|
|
5842
5406
|
disable(): void;
|
|
5843
5407
|
}
|
|
5844
|
-
|
|
5845
5408
|
//#endregion
|
|
5846
5409
|
//#region src/plugins/nodes-snapping/nodes-snapping.custom-guides.d.ts
|
|
5847
|
-
//# sourceMappingURL=stage-keyboard-move.d.ts.map
|
|
5848
5410
|
declare class WeaveNodesSnappingCustomGuides {
|
|
5849
5411
|
instance: Weave;
|
|
5850
5412
|
config: WeaveNodesSnappingCustomGuidesConfig;
|
|
@@ -5897,10 +5459,8 @@ declare class WeaveNodesSnappingCustomGuides {
|
|
|
5897
5459
|
private handleDistanceGuide;
|
|
5898
5460
|
private cleanupDistanceGuide;
|
|
5899
5461
|
}
|
|
5900
|
-
|
|
5901
5462
|
//#endregion
|
|
5902
5463
|
//#region src/plugins/nodes-snapping/nodes-snapping.distance.d.ts
|
|
5903
|
-
//# sourceMappingURL=nodes-snapping.custom-guides.d.ts.map
|
|
5904
5464
|
declare class WeaveNodesSnappingDistance {
|
|
5905
5465
|
config: {
|
|
5906
5466
|
tolerance: number;
|
|
@@ -5935,10 +5495,8 @@ declare class WeaveNodesSnappingDistance {
|
|
|
5935
5495
|
private createVerticalGraphWithTarget;
|
|
5936
5496
|
getVerticalBandsIntersectingTarget(nodes: BoundingBoxWithId[], target: BoundingBoxWithId): BoundingBoxWithId[][];
|
|
5937
5497
|
}
|
|
5938
|
-
|
|
5939
5498
|
//#endregion
|
|
5940
5499
|
//#region src/plugins/nodes-snapping/nodes-snapping.guides.d.ts
|
|
5941
|
-
//# sourceMappingURL=nodes-snapping.distance.d.ts.map
|
|
5942
5500
|
declare class WeaveNodesSnappingGuides {
|
|
5943
5501
|
config: {
|
|
5944
5502
|
tolerance: number;
|
|
@@ -5961,10 +5519,8 @@ declare class WeaveNodesSnappingGuides {
|
|
|
5961
5519
|
pasteGuidesFromClipboard(containerId: string): Promise<void>;
|
|
5962
5520
|
getGuidesFromOtherNodes(draggedNodes: Konva.Node[], candidates: Konva.Node[], relativeTo: Konva.Container): Guide[];
|
|
5963
5521
|
}
|
|
5964
|
-
|
|
5965
5522
|
//#endregion
|
|
5966
5523
|
//#region src/plugins/nodes-snapping/nodes-snapping.d.ts
|
|
5967
|
-
//# sourceMappingURL=nodes-snapping.guides.d.ts.map
|
|
5968
5524
|
declare class WeaveNodesSnappingPlugin extends WeavePlugin {
|
|
5969
5525
|
config: WeaveNodesSnappingPluginConfig;
|
|
5970
5526
|
guidesRenderLayer: Konva.Layer;
|
|
@@ -6040,9 +5596,6 @@ declare class WeaveNodesSnappingPlugin extends WeavePlugin {
|
|
|
6040
5596
|
private mapAnchor;
|
|
6041
5597
|
private getAllGuides;
|
|
6042
5598
|
}
|
|
6043
|
-
|
|
6044
5599
|
//#endregion
|
|
6045
|
-
//# sourceMappingURL=nodes-snapping.d.ts.map
|
|
6046
|
-
|
|
6047
|
-
export { ALIGN_NODES_ALIGN_TO, ALIGN_NODES_TOOL_ACTION_NAME, ALIGN_NODES_TOOL_STATE, BRUSH_TOOL_ACTION_NAME, BRUSH_TOOL_DEFAULT_CONFIG, BRUSH_TOOL_STATE, BoundingBoxWithId, CONNECTOR_TOOL_ACTION_NAME, CONNECTOR_TOOL_DEFAULT_CONFIG, CONNECTOR_TOOL_STATE, COPY_PASTE_NODES_PLUGIN_STATE, DEFAULT_GUIDE_TOOL_ACTION_CONFIG, DEFAULT_SNAPPING_MANAGER_CONFIG, DOMElement, DistanceInfoH, DistanceInfoV, DistanceOrigin, DistanceOriginKeys, ELLIPSE_TOOL_ACTION_NAME, ELLIPSE_TOOL_STATE, ERASER_TOOL_ACTION_NAME, ERASER_TOOL_STATE, FRAME_TOOL_ACTION_NAME, FRAME_TOOL_STATE, GUIDE_DISTANCE_NAME, GUIDE_DISTANCE_ORIGIN, GUIDE_KIND, GUIDE_NAME, GUIDE_ORIENTATION, GUIDE_STATE, GUIDE_TOOL_ACTION_NAME, GUIDE_TOOL_STATE, Guide, GuideDistanceToTargetInfoConfig, GuideDistanceToTargetInfoParams, GuideDistanceToTargetInfoStyle, GuideKind, GuideKindKeys, GuideKindOnlyCustomOrStatic, GuideOrientation, GuideOrientationKeys, GuideToolActionConfig, GuideToolActionParams, GuideToolActionState, GuideToolActionStateKeys, GuideToolActionStyle, GuideToolActionTriggerParams, HIntersection, ImageInfo, ImageOptions, ImageProps, ImageToolActionData, LINE_TOOL_ACTION_NAME, LINE_TOOL_DEFAULT_CONFIG, LINE_TOOL_STATE, MEASURE_TOOL_ACTION_NAME, MEASURE_TOOL_STATE, MOVE_ORIENTATION, MOVE_TOOL_ACTION_NAME, MOVE_TOOL_STATE, MoveOrientation, MoveOrientationKeys, PEN_TOOL_ACTION_NAME, PEN_TOOL_STATE, POLYGON_TOOL_ACTION_NAME, POLYGON_TOOL_STATE, PaddingOnPaste, RECTANGLE_TOOL_ACTION_NAME, RECTANGLE_TOOL_STATE, REGULAR_POLYGON_TOOL_ACTION_NAME, REGULAR_POLYGON_TOOL_STATE, SELECTION_TOOL_ACTION_NAME, SELECTION_TOOL_STATE, STAGE_MINIMAP_DEFAULT_CONFIG, STAR_TOOL_ACTION_NAME, STAR_TOOL_STATE, SnapMatch, SnapOptions, SnapPoint, SnapResult, SnappingManagerKindStyle, SnappingManagerMovementConfig, SnappingManagerPersistenceConfig, SnappingManagerStyle, TEXT_LAYOUT, TEXT_TOOL_ACTION_NAME, TEXT_TOOL_STATE, TextSerializable, VIDEO_TOOL_ACTION_NAME, VIDEO_TOOL_STATE, VIntersection, VideoBackgroundStyle, VideoIconBackgroundStyle, VideoIconStyle, VideoProps, VideoStyle, VideoTrackStyle, VisibleWorldRect, WEAVE_ARROW_NODE_TYPE, WEAVE_ARROW_TOOL_ACTION_NAME, WEAVE_ARROW_TOOL_STATE, WEAVE_COMMENTS_RENDERER_KEY, WEAVE_COMMENTS_TOOL_LAYER_ID, WEAVE_COMMENT_CREATE_ACTION, WEAVE_COMMENT_NODE_ACTION, WEAVE_COMMENT_NODE_DEFAULTS, WEAVE_COMMENT_NODE_TYPE, WEAVE_COMMENT_STATUS, WEAVE_COMMENT_TOOL_ACTION_NAME, WEAVE_COMMENT_TOOL_DEFAULT_CONFIG, WEAVE_COMMENT_TOOL_STATE, WEAVE_COMMENT_VIEW_ACTION, WEAVE_CONNECTOR_NODE_ANCHOR_ORIGIN, WEAVE_CONNECTOR_NODE_DECORATOR_TYPE, WEAVE_CONNECTOR_NODE_DEFAULT_CONFIG, WEAVE_CONNECTOR_NODE_LINE_ORIGIN, WEAVE_CONNECTOR_NODE_LINE_TYPE, WEAVE_CONNECTOR_NODE_TYPE, WEAVE_COPY_PASTE_CONFIG_DEFAULT, WEAVE_COPY_PASTE_NODES_KEY, WEAVE_COPY_PASTE_PASTE_CATCHER_ID, WEAVE_COPY_PASTE_PASTE_MODES, WEAVE_DEFAULT_USER_INFO_FUNCTION, WEAVE_ELLIPSE_NODE_TYPE, WEAVE_FRAME_DEFAULT_BACKGROUND_COLOR, WEAVE_FRAME_NODE_DEFAULT_CONFIG, WEAVE_FRAME_NODE_DEFAULT_PROPS, WEAVE_FRAME_NODE_TYPE, WEAVE_GRID_DEFAULT_CONFIG, WEAVE_GRID_DOT_TYPES, WEAVE_GRID_LAYER_ID, WEAVE_GRID_TYPES, WEAVE_GROUP_NODE_TYPE, WEAVE_IMAGES_TOOL_ACTION_NAME, WEAVE_IMAGES_TOOL_DEFAULT_CONFIG, WEAVE_IMAGES_TOOL_STATE, WEAVE_IMAGES_TOOL_UPLOAD_TYPE, WEAVE_IMAGE_CROP_ANCHOR_POSITION, WEAVE_IMAGE_CROP_END_TYPE, WEAVE_IMAGE_DEFAULT_CONFIG, WEAVE_IMAGE_NODE_TYPE, WEAVE_IMAGE_TOOL_ACTION_NAME, WEAVE_IMAGE_TOOL_CONFIG_DEFAULT, WEAVE_IMAGE_TOOL_STATE, WEAVE_IMAGE_TOOL_UPLOAD_TYPE, WEAVE_LAYER_NODE_TYPE, WEAVE_LINE_NODE_DEFAULT_CONFIG, WEAVE_LINE_NODE_TYPE, WEAVE_MEASURE_NODE_DEFAULT_CONFIG, WEAVE_MEASURE_NODE_TYPE, WEAVE_MEASURE_TOOL_DEFAULT_CONFIG, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_DEFAULT_CONFIG, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_KEY, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_LAYER_ID, WEAVE_NODES_SELECTION_DEFAULT_CONFIG, WEAVE_NODES_SELECTION_KEY, WEAVE_NODES_SELECTION_LAYER_ID, WEAVE_NODES_SNAPPING_PLUGIN_KEY, WEAVE_POLYGON_NODE_TYPE, WEAVE_POLYGON_PRESETS, WEAVE_RECTANGLE_NODE_TYPE, WEAVE_REGULAR_POLYGON_NODE_TYPE, WEAVE_SHAPE_LABEL_DEFAULTS, WEAVE_STAGE_DEFAULT_MODE, WEAVE_STAGE_DROP_AREA_KEY, WEAVE_STAGE_GRID_PLUGIN_KEY, WEAVE_STAGE_IMAGE_CROPPING_MODE, WEAVE_STAGE_KEYBOARD_MOVE_DEFAULT_CONFIG, WEAVE_STAGE_KEYBOARD_MOVE_KEY, WEAVE_STAGE_KEYBOARD_MOVE_ORIENTATION, WEAVE_STAGE_MINIMAP_KEY, WEAVE_STAGE_NODE_TYPE, WEAVE_STAGE_PANNING_DEFAULT_CONFIG, WEAVE_STAGE_PANNING_KEY, WEAVE_STAGE_PANNING_THROTTLE_MS, WEAVE_STAGE_SHAPE_LABEL_EDITION_MODE, WEAVE_STAGE_TEXT_EDITION_MODE, WEAVE_STAGE_ZOOM_DEFAULT_CONFIG, WEAVE_STAGE_ZOOM_KEY, WEAVE_STAGE_ZOOM_TYPE, WEAVE_STAR_NODE_TYPE, WEAVE_STROKE_NODE_DEFAULT_CONFIG, WEAVE_STROKE_NODE_TYPE, WEAVE_STROKE_SINGLE_NODE_DEFAULT_CONFIG, WEAVE_STROKE_SINGLE_NODE_TIP_SIDE, WEAVE_STROKE_SINGLE_NODE_TIP_TYPE, WEAVE_STROKE_SINGLE_NODE_TYPE, WEAVE_STROKE_TOOL_ACTION_NAME, WEAVE_STROKE_TOOL_ACTION_NAME_ALIASES, WEAVE_STROKE_TOOL_DEFAULT_CONFIG, WEAVE_STROKE_TOOL_STATE, WEAVE_TEXT_NODE_DEFAULT_CONFIG, WEAVE_TEXT_NODE_TYPE, WEAVE_USERS_POINTERS_CONFIG_DEFAULT_PROPS, WEAVE_USERS_POINTERS_KEY, WEAVE_USERS_PRESENCE_CONFIG_DEFAULT_PROPS, WEAVE_USERS_PRESENCE_PLUGIN_KEY, WEAVE_USERS_SELECTION_KEY, WEAVE_USER_POINTER_KEY, WEAVE_USER_PRESENCE_KEY, WEAVE_USER_SELECTION_KEY, WEAVE_VIDEO_DEFAULT_CONFIG, WEAVE_VIDEO_NODE_TYPE, Weave, WeaveAction, WeaveActionPropsChangeEvent, WeaveAlignNodesToolAction, WeaveAlignNodesToolActionAlignTo, WeaveAlignNodesToolActionAlignToKeys, WeaveAlignNodesToolActionState, WeaveAlignNodesToolActionStateKeys, WeaveAlignNodesToolActionTriggerParams, WeaveAnchorSnap, WeaveArea, WeaveArrowNode, WeaveArrowNodeParams, WeaveArrowProperties, WeaveArrowToolAction, WeaveArrowToolActionParams, WeaveArrowToolActionProperties, WeaveArrowToolActionState, WeaveArrowToolActionStateKeys, WeaveBrushToolAction, WeaveBrushToolActionOnAddedEvent, WeaveBrushToolActionOnAddingEvent, WeaveBrushToolActionParams, WeaveBrushToolActionProperties, WeaveBrushToolActionState, WeaveBrushToolActionStateKeys, WeaveCanPasteOntoFunction, WeaveCommentNode, WeaveCommentNodeAction, WeaveCommentNodeActionKeys, WeaveCommentNodeConfig, WeaveCommentNodeCreateAction, WeaveCommentNodeCreateActionKeys, WeaveCommentNodeModel, WeaveCommentNodeOnCreateCommentEvent, WeaveCommentNodeOnDragEndEvent, WeaveCommentNodeOnFinishCreateEvent, WeaveCommentNodeOnViewEvent, WeaveCommentNodeParams, WeaveCommentNodeStyle, WeaveCommentNodeViewAction, WeaveCommentNodeViewActionKeys, WeaveCommentStatus, WeaveCommentStatusKeys, WeaveCommentToolAction, WeaveCommentToolActionConfig, WeaveCommentToolActionParams, WeaveCommentToolActionState, WeaveCommentToolActionStateKeys, WeaveCommentToolModel, WeaveCommentToolStyle, WeaveCommentsRendererModel, WeaveCommentsRendererPlugin, WeaveCommentsRendererPluginConfig, WeaveCommentsRendererPluginParams, WeaveConfig, WeaveConnectedUserInfoKey, WeaveConnectedUsers, WeaveConnectedUsersChangeEvent, WeaveConnectedUsersPlugin, WeaveConnectedUsersPluginConfig, WeaveConnectedUsersPluginParams, WeaveConnectorNode, WeaveConnectorNodeAnchor, WeaveConnectorNodeAnchorPosition, WeaveConnectorNodeDecoratorType, WeaveConnectorNodeDecoratorTypeKeys, WeaveConnectorNodeInfo, WeaveConnectorNodeLineOrigin, WeaveConnectorNodeLineOriginKeys, WeaveConnectorNodeLineType, WeaveConnectorNodeLineTypeKeys, WeaveConnectorNodeParams, WeaveConnectorNodeProperties, WeaveConnectorToolAction, WeaveConnectorToolActionParams, WeaveConnectorToolActionProperties, WeaveConnectorToolActionState, WeaveConnectorToolActionStateKeys, WeaveContextMenuPlugin, WeaveCopyPasteNodesPlugin, WeaveCopyPasteNodesPluginConfig, WeaveCopyPasteNodesPluginOnCopyEvent, WeaveCopyPasteNodesPluginOnPasteEvent, WeaveCopyPasteNodesPluginOnPasteExternalEvent, WeaveCopyPasteNodesPluginParams, WeaveCopyPasteNodesPluginState, WeaveCopyPasteNodesPluginStateKeys, WeaveCopyPastePasteMode, WeaveCopyPastePasteModeKeys, WeaveEllipseNode, WeaveEllipseNodeParams, WeaveEllipseProperties, WeaveEllipseToolAction, WeaveEllipseToolActionOnAddedEvent, WeaveEllipseToolActionOnAddingEvent, WeaveEllipseToolActionState, WeaveEllipseToolActionStateKeys, WeaveEraserToolAction, WeaveEraserToolActionState, WeaveEraserToolActionStateKeys, WeaveExportNodesActionParams, WeaveExportNodesToolAction, WeaveExportStageActionParams, WeaveExportStageToolAction, WeaveFitToScreenToolAction, WeaveFitToScreenToolActionParams, WeaveFitToSelectionToolAction, WeaveFitToSelectionToolActionParams, WeaveFontFace, WeaveFontFamily, WeaveFontsPreloadFunction, WeaveFrameAttributes, WeaveFrameNode, WeaveFrameNodeParams, WeaveFrameProperties, WeaveFrameToolAction, WeaveFrameToolActionOnAddedEvent, WeaveFrameToolActionOnAddingEvent, WeaveFrameToolActionState, WeaveFrameToolActionStateKeys, WeaveFrameToolActionTriggerParams, WeaveFrameToolProps, WeaveGetStaticGuidesFunction, WeaveGroupNode, WeaveGroupNodeParams, WeaveGroupProperties, WeaveGuideToolAction, WeaveImageCache, WeaveImageCropAnchorPosition, WeaveImageCropAnchorPositionKeys, WeaveImageCropEndType, WeaveImageCropEndTypeKeys, WeaveImageCursors, WeaveImageFile, WeaveImageNode, WeaveImageNodeParams, WeaveImageOnCropEndEvent, WeaveImageOnCropStartEvent, WeaveImageProperties, WeaveImageState, WeaveImageToolAction, WeaveImageToolActionConfig, WeaveImageToolActionOnAddedEvent, WeaveImageToolActionOnImageUploadedErrorEvent, WeaveImageToolActionOnImageUploadedEvent, WeaveImageToolActionParams, WeaveImageToolActionState, WeaveImageToolActionStateKeys, WeaveImageToolActionTriggerCommonParams, WeaveImageToolActionTriggerParams, WeaveImageToolActionTriggerReturn, WeaveImageToolActionUploadFunction, WeaveImageToolActionUploadType, WeaveImageToolActionUploadTypeKeys, WeaveImageToolDragAndDropProperties, WeaveImageTriggerCropOptions, WeaveImageURL, WeaveImagesFile, WeaveImagesToolAction, WeaveImagesToolActionInternalUploadFunction, WeaveImagesToolActionOnAddedEvent, WeaveImagesToolActionOnFinishedUploadingFunction, WeaveImagesToolActionOnStartUploadingFunction, WeaveImagesToolActionParams, WeaveImagesToolActionState, WeaveImagesToolActionStateKeys, WeaveImagesToolActionTriggerCommonParams, WeaveImagesToolActionTriggerParams, WeaveImagesToolActionUploadFunction, WeaveImagesToolActionUploadType, WeaveImagesToolActionUploadTypeKeys, WeaveImagesToolDragAndDropProperties, WeaveImagesURL, WeaveInstanceStatusEvent, WeaveLayerNode, WeaveLineNode, WeaveLineNodeParams, WeaveLineProperties, WeaveLineToolAction, WeaveLineToolActionParams, WeaveLineToolActionProperties, WeaveLineToolActionState, WeaveLineToolActionStateKeys, WeaveMeasureNode, WeaveMeasureToolAction, WeaveMeasureToolActionState, WeaveMeasureToolActionStateKeys, WeaveMeasureToolParams, WeaveMeasureToolProperties, WeaveMoveToolAction, WeaveMoveToolActionParams, WeaveMoveToolActionState, WeaveMoveToolActionStateKeys, WeaveMutexLockChangeEvent, WeaveNode, WeaveNodeChangedContainerEvent, WeaveNodesMultiSelectionFeedbackConfig, WeaveNodesMultiSelectionFeedbackPlugin, WeaveNodesMultiSelectionFeedbackPluginConfig, WeaveNodesMultiSelectionFeedbackPluginParams, WeaveNodesMultiSelectionFeedbackStyle, WeaveNodesSelectionBehaviorsConfig, WeaveNodesSelectionConfig, WeaveNodesSelectionOnSelectionParams, WeaveNodesSelectionPanningOnSelectionConfig, WeaveNodesSelectionPlugin, WeaveNodesSelectionPluginConfig, WeaveNodesSelectionPluginOnGroupContextChangeEvent, WeaveNodesSelectionPluginOnNodesChangeEvent, WeaveNodesSelectionPluginOnSelectionStateEvent, WeaveNodesSelectionPluginOnStageSelectionEvent, WeaveNodesSelectionPluginParams, WeaveNodesSelectionStyleConfig, WeaveNodesSnappingCustomGuidesConfig, WeaveNodesSnappingPlugin, WeaveNodesSnappingPluginConfig, WeaveNodesSnappingPluginParams, WeavePasteModel, WeavePenToolAction, WeavePenToolActionOnAddedEvent, WeavePenToolActionOnAddingEvent, WeavePenToolActionState, WeavePenToolActionStateKeys, WeavePerformanceConfig, WeavePlugin, WeavePolygonInnerRect, WeavePolygonNode, WeavePolygonNodeParams, WeavePolygonPoint, WeavePolygonPreset, WeavePolygonPresetDef, WeavePolygonProperties, WeavePolygonToolAction, WeavePolygonToolActionState, WeavePolygonToolActionStateKeys, WeavePolygonToolActionTriggerParams, WeaveRectangleNode, WeaveRectangleNodeParams, WeaveRectangleProperties, WeaveRectangleToolAction, WeaveRectangleToolActionOnAddedEvent, WeaveRectangleToolActionOnAddingEvent, WeaveRectangleToolActionState, WeaveRectangleToolActionStateKeys, WeaveRegularPolygonNode, WeaveRegularPolygonNodeParams, WeaveRegularPolygonProperties, WeaveRegularPolygonToolAction, WeaveRegularPolygonToolActionOnAddedEvent, WeaveRegularPolygonToolActionOnAddingEvent, WeaveRegularPolygonToolActionState, WeaveRegularPolygonToolActionStateKeys, WeaveRenderer, WeaveSelectionToolAction, WeaveSelectionToolActionState, WeaveSelectionToolActionStateKeys, WeaveShapeLabelProps, WeaveShapeLabelTextBounds, WeaveStageContextMenuPluginConfig, WeaveStageContextMenuPluginOnNodeContextMenuEvent, WeaveStageContextMenuPluginParams, WeaveStageDropAreaPlugin, WeaveStageDropPluginOnStageDropEvent, WeaveStageGridDotType, WeaveStageGridDotTypeKeys, WeaveStageGridPlugin, WeaveStageGridPluginConfig, WeaveStageGridPluginParams, WeaveStageGridType, WeaveStageGridTypeKeys, WeaveStageKeyboardMovePlugin, WeaveStageMinimapPlugin, WeaveStageMinimapPluginConfig, WeaveStageMinimapPluginParams, WeaveStageMinimapPluginStyle, WeaveStageNode, WeaveStagePanningPlugin, WeaveStagePanningPluginConfig, WeaveStagePanningPluginParams, WeaveStageResizePlugin, WeaveStageZoomChanged, WeaveStageZoomPlugin, WeaveStageZoomPluginConfig, WeaveStageZoomPluginOnZoomChangeEvent, WeaveStageZoomPluginParams, WeaveStageZoomType, WeaveStageZoomTypeKeys, WeaveStarNode, WeaveStarNodeParams, WeaveStarProperties, WeaveStarToolAction, WeaveStarToolActionOnAddedEvent, WeaveStarToolActionOnAddingEvent, WeaveStarToolActionState, WeaveStarToolActionStateKeys, WeaveStateManipulation, WeaveStore, WeaveStoreOnNodeChangeEvent, WeaveStoreOnRedoChangeEvent, WeaveStoreOnRoomChangedEvent, WeaveStoreOnRoomLoadedEvent, WeaveStoreOnRoomSwitchingEndEvent, WeaveStoreOnRoomSwitchingStartEvent, WeaveStoreOnStateChangeEvent, WeaveStoreOnStateMetadataChangeEvent, WeaveStoreOnUndoChangeEvent, WeaveStoreOnUndoRedoChangeEvent, WeaveStrokeNode, WeaveStrokeNodeParams, WeaveStrokePoint, WeaveStrokeProperties, WeaveStrokeSingleNode, WeaveStrokeSingleNodeParams, WeaveStrokeSingleNodeTipSide, WeaveStrokeSingleNodeTipSideKeys, WeaveStrokeSingleProperties, WeaveStrokeToolAction, WeaveStrokeToolActionOnAddedEvent, WeaveStrokeToolActionOnAddingEvent, WeaveStrokeToolActionParams, WeaveStrokeToolActionProperties, WeaveStrokeToolActionState, WeaveStrokeToolActionStateKeys, WeaveTextCursorProperties, WeaveTextEditionProperties, WeaveTextLayout, WeaveTextLayoutKeys, WeaveTextNode, WeaveTextNodeOnEnterTextNodeEditMode, WeaveTextNodeOnExitTextNodeEditMode, WeaveTextNodeParams, WeaveTextOutlineProperties, WeaveTextProperties$1 as WeaveTextProperties, WeaveTextToolAction, WeaveTextToolActionState, WeaveTextToolActionStateKeys, WeaveToPasteNode, WeaveUpscaleConfig, WeaveUserPointer, WeaveUserPointerKey, WeaveUserPointersUIProperties, WeaveUserPresence, WeaveUserPresenceInformation, WeaveUserPresenceKey, WeaveUserSelectionInfo, WeaveUserSelectionKey, WeaveUsersPointersPlugin, WeaveUsersPointersPluginConfig, WeaveUsersPointersPluginParams, WeaveUsersPresencePlugin, WeaveUsersPresencePluginConfig, WeaveUsersPresencePluginParams, WeaveUsersSelectionPlugin, WeaveUsersSelectionPluginConfig, WeaveUsersSelectionPluginParams, WeaveVideoNode, WeaveVideoNodeParams, WeaveVideoOnVideoPauseEvent, WeaveVideoOnVideoPlayEvent, WeaveVideoOnVideoStopEvent, WeaveVideoProperties, WeaveVideoState, WeaveVideoToolAction, WeaveVideoToolActionOnAddedEvent, WeaveVideoToolActionOnAddingEvent, WeaveVideoToolActionState, WeaveVideoToolActionStateKeys, WeaveVideoToolActionTriggerParams, WeaveVideoToolActionTriggerReturn, WeaveVideoToolDragAndDropProperties, WeaveVideoToolDragParams, WeaveZoomInToolAction, WeaveZoomInToolActionParams, WeaveZoomOutToolAction, WeaveZoomOutToolActionParams, buildAncestorGroupIds, canComposite, clearContainerTargets, computeEllipseLabelMinSize, computePolygonLabelMinSize, computeRectangleLabelMinSize, containerOverCursor, containsNodeDeep, defaultInitialState, downscaleImageFile, downscaleImageFromURL, getBoundingBox, getDownscaleRatio, getExportBoundingBox, getImageSizeFromFile, getJSONFromYjsBinary, getSelectedNodesMetadata, getShapeLabelSchemaFields, getStageClickPoint, getTargetAndSkipNodes, getTargetedNode, getTopmostShadowHost, getVisibleNodes, getVisibleNodesInViewport, hasFrames, hasImages, instantiatePreset, intersectArrays, isArray, isIOS, isInShadowDOM, isNodeInSelection, isNumber, isObject, isServer, labelId, loadImageSource, mapJsonToYjsArray, mapJsonToYjsElements, mapJsonToYjsMap, memoize, mergeExceptArrays, moveNodeToContainer, moveNodeToContainerNT, resetScale, setupCanvasBackend, setupSkiaBackend, sleep, spreadLabelProps, weavejsToYjsBinary };
|
|
5600
|
+
export { ALIGN_NODES_ALIGN_TO, ALIGN_NODES_TOOL_ACTION_NAME, ALIGN_NODES_TOOL_STATE, BRUSH_TOOL_ACTION_NAME, BRUSH_TOOL_DEFAULT_CONFIG, BRUSH_TOOL_STATE, BoundingBoxWithId, CONNECTOR_TOOL_ACTION_NAME, CONNECTOR_TOOL_DEFAULT_CONFIG, CONNECTOR_TOOL_STATE, COPY_PASTE_NODES_PLUGIN_STATE, DEFAULT_GUIDE_TOOL_ACTION_CONFIG, DEFAULT_SNAPPING_MANAGER_CONFIG, DOMElement, DistanceInfoH, DistanceInfoV, DistanceOrigin, DistanceOriginKeys, ELLIPSE_TOOL_ACTION_NAME, ELLIPSE_TOOL_STATE, ERASER_TOOL_ACTION_NAME, ERASER_TOOL_STATE, FRAME_TOOL_ACTION_NAME, FRAME_TOOL_STATE, GUIDE_DISTANCE_NAME, GUIDE_DISTANCE_ORIGIN, GUIDE_KIND, GUIDE_NAME, GUIDE_ORIENTATION, GUIDE_STATE, GUIDE_TOOL_ACTION_NAME, GUIDE_TOOL_STATE, Guide, GuideDistanceToTargetInfoConfig, GuideDistanceToTargetInfoParams, GuideDistanceToTargetInfoStyle, GuideKind, GuideKindKeys, GuideKindOnlyCustomOrStatic, GuideOrientation, GuideOrientationKeys, GuideToolActionConfig, GuideToolActionParams, GuideToolActionState, GuideToolActionStateKeys, GuideToolActionStyle, GuideToolActionTriggerParams, HIntersection, ImageInfo, ImageOptions, ImageProps, ImageToolActionData, LINE_TOOL_ACTION_NAME, LINE_TOOL_DEFAULT_CONFIG, LINE_TOOL_STATE, MEASURE_TOOL_ACTION_NAME, MEASURE_TOOL_STATE, MOVE_ORIENTATION, MOVE_TOOL_ACTION_NAME, MOVE_TOOL_STATE, MoveOrientation, MoveOrientationKeys, PEN_TOOL_ACTION_NAME, PEN_TOOL_STATE, POLYGON_TOOL_ACTION_NAME, POLYGON_TOOL_STATE, PaddingOnPaste, RECTANGLE_TOOL_ACTION_NAME, RECTANGLE_TOOL_STATE, REGULAR_POLYGON_TOOL_ACTION_NAME, REGULAR_POLYGON_TOOL_STATE, SELECTION_TOOL_ACTION_NAME, SELECTION_TOOL_STATE, STAGE_MINIMAP_DEFAULT_CONFIG, STAR_TOOL_ACTION_NAME, STAR_TOOL_STATE, SnapMatch, SnapOptions, SnapPoint, SnapResult, SnappingManagerKindStyle, SnappingManagerMovementConfig, SnappingManagerPersistenceConfig, SnappingManagerStyle, TEXT_LAYOUT, TEXT_TOOL_ACTION_NAME, TEXT_TOOL_STATE, TextSerializable, VIDEO_TOOL_ACTION_NAME, VIDEO_TOOL_STATE, VIntersection, VideoBackgroundStyle, VideoIconBackgroundStyle, VideoIconStyle, VideoProps, VideoStyle, VideoTrackStyle, VisibleWorldRect, WEAVE_ARROW_NODE_TYPE, WEAVE_ARROW_TOOL_ACTION_NAME, WEAVE_ARROW_TOOL_STATE, WEAVE_COMMENTS_RENDERER_KEY, WEAVE_COMMENTS_TOOL_LAYER_ID, WEAVE_COMMENT_CREATE_ACTION, WEAVE_COMMENT_NODE_ACTION, WEAVE_COMMENT_NODE_DEFAULTS, WEAVE_COMMENT_NODE_TYPE, WEAVE_COMMENT_STATUS, WEAVE_COMMENT_TOOL_ACTION_NAME, WEAVE_COMMENT_TOOL_DEFAULT_CONFIG, WEAVE_COMMENT_TOOL_STATE, WEAVE_COMMENT_VIEW_ACTION, WEAVE_CONNECTOR_NODE_ANCHOR_ORIGIN, WEAVE_CONNECTOR_NODE_DECORATOR_TYPE, WEAVE_CONNECTOR_NODE_DEFAULT_CONFIG, WEAVE_CONNECTOR_NODE_LINE_ORIGIN, WEAVE_CONNECTOR_NODE_LINE_TYPE, WEAVE_CONNECTOR_NODE_TYPE, WEAVE_COPY_PASTE_CONFIG_DEFAULT, WEAVE_COPY_PASTE_NODES_KEY, WEAVE_COPY_PASTE_PASTE_CATCHER_ID, WEAVE_COPY_PASTE_PASTE_MODES, WEAVE_DEFAULT_USER_INFO_FUNCTION, WEAVE_ELLIPSE_NODE_TYPE, WEAVE_FRAME_DEFAULT_BACKGROUND_COLOR, WEAVE_FRAME_NODE_DEFAULT_CONFIG, WEAVE_FRAME_NODE_DEFAULT_PROPS, WEAVE_FRAME_NODE_TYPE, WEAVE_GRID_DEFAULT_CONFIG, WEAVE_GRID_DOT_TYPES, WEAVE_GRID_LAYER_ID, WEAVE_GRID_TYPES, WEAVE_GROUP_NODE_TYPE, WEAVE_IMAGES_TOOL_ACTION_NAME, WEAVE_IMAGES_TOOL_DEFAULT_CONFIG, WEAVE_IMAGES_TOOL_STATE, WEAVE_IMAGES_TOOL_UPLOAD_TYPE, WEAVE_IMAGE_CROP_ANCHOR_POSITION, WEAVE_IMAGE_CROP_END_TYPE, WEAVE_IMAGE_DEFAULT_CONFIG, WEAVE_IMAGE_NODE_TYPE, WEAVE_IMAGE_TOOL_ACTION_NAME, WEAVE_IMAGE_TOOL_CONFIG_DEFAULT, WEAVE_IMAGE_TOOL_STATE, WEAVE_IMAGE_TOOL_UPLOAD_TYPE, WEAVE_LAYER_NODE_TYPE, WEAVE_LINE_NODE_DEFAULT_CONFIG, WEAVE_LINE_NODE_TYPE, WEAVE_MEASURE_NODE_DEFAULT_CONFIG, WEAVE_MEASURE_NODE_TYPE, WEAVE_MEASURE_TOOL_DEFAULT_CONFIG, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_DEFAULT_CONFIG, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_KEY, WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_LAYER_ID, WEAVE_NODES_SELECTION_DEFAULT_CONFIG, WEAVE_NODES_SELECTION_KEY, WEAVE_NODES_SELECTION_LAYER_ID, WEAVE_NODES_SNAPPING_PLUGIN_KEY, WEAVE_POLYGON_NODE_TYPE, WEAVE_POLYGON_PRESETS, WEAVE_RECTANGLE_NODE_TYPE, WEAVE_REGULAR_POLYGON_NODE_TYPE, WEAVE_SHAPE_LABEL_DEFAULTS, WEAVE_STAGE_DEFAULT_MODE, WEAVE_STAGE_DROP_AREA_KEY, WEAVE_STAGE_GRID_PLUGIN_KEY, WEAVE_STAGE_IMAGE_CROPPING_MODE, WEAVE_STAGE_KEYBOARD_MOVE_DEFAULT_CONFIG, WEAVE_STAGE_KEYBOARD_MOVE_KEY, WEAVE_STAGE_KEYBOARD_MOVE_ORIENTATION, WEAVE_STAGE_MINIMAP_KEY, WEAVE_STAGE_NODE_TYPE, WEAVE_STAGE_PANNING_DEFAULT_CONFIG, WEAVE_STAGE_PANNING_KEY, WEAVE_STAGE_PANNING_THROTTLE_MS, WEAVE_STAGE_SHAPE_LABEL_EDITION_MODE, WEAVE_STAGE_TEXT_EDITION_MODE, WEAVE_STAGE_ZOOM_DEFAULT_CONFIG, WEAVE_STAGE_ZOOM_KEY, WEAVE_STAGE_ZOOM_TYPE, WEAVE_STAR_NODE_TYPE, WEAVE_STROKE_NODE_DEFAULT_CONFIG, WEAVE_STROKE_NODE_TYPE, WEAVE_STROKE_SINGLE_NODE_DEFAULT_CONFIG, WEAVE_STROKE_SINGLE_NODE_TIP_SIDE, WEAVE_STROKE_SINGLE_NODE_TIP_TYPE, WEAVE_STROKE_SINGLE_NODE_TYPE, WEAVE_STROKE_TOOL_ACTION_NAME, WEAVE_STROKE_TOOL_ACTION_NAME_ALIASES, WEAVE_STROKE_TOOL_DEFAULT_CONFIG, WEAVE_STROKE_TOOL_STATE, WEAVE_TEXT_NODE_DEFAULT_CONFIG, WEAVE_TEXT_NODE_TYPE, WEAVE_USERS_POINTERS_CONFIG_DEFAULT_PROPS, WEAVE_USERS_POINTERS_KEY, WEAVE_USERS_PRESENCE_CONFIG_DEFAULT_PROPS, WEAVE_USERS_PRESENCE_PLUGIN_KEY, WEAVE_USERS_SELECTION_KEY, WEAVE_USER_POINTER_KEY, WEAVE_USER_PRESENCE_KEY, WEAVE_USER_SELECTION_KEY, WEAVE_VIDEO_DEFAULT_CONFIG, WEAVE_VIDEO_NODE_TYPE, Weave, WeaveAction, WeaveActionPropsChangeEvent, WeaveAlignNodesToolAction, WeaveAlignNodesToolActionAlignTo, WeaveAlignNodesToolActionAlignToKeys, WeaveAlignNodesToolActionState, WeaveAlignNodesToolActionStateKeys, WeaveAlignNodesToolActionTriggerParams, WeaveAnchorSnap, WeaveArea, WeaveArrowNode, WeaveArrowNodeParams, WeaveArrowProperties, WeaveArrowToolAction, WeaveArrowToolActionParams, WeaveArrowToolActionProperties, WeaveArrowToolActionState, WeaveArrowToolActionStateKeys, WeaveBrushToolAction, WeaveBrushToolActionOnAddedEvent, WeaveBrushToolActionOnAddingEvent, WeaveBrushToolActionParams, WeaveBrushToolActionProperties, WeaveBrushToolActionState, WeaveBrushToolActionStateKeys, WeaveCanPasteOntoFunction, WeaveCommentNode, WeaveCommentNodeAction, WeaveCommentNodeActionKeys, WeaveCommentNodeConfig, WeaveCommentNodeCreateAction, WeaveCommentNodeCreateActionKeys, WeaveCommentNodeModel, WeaveCommentNodeOnCreateCommentEvent, WeaveCommentNodeOnDragEndEvent, WeaveCommentNodeOnFinishCreateEvent, WeaveCommentNodeOnViewEvent, WeaveCommentNodeParams, WeaveCommentNodeStyle, WeaveCommentNodeViewAction, WeaveCommentNodeViewActionKeys, WeaveCommentStatus, WeaveCommentStatusKeys, WeaveCommentToolAction, WeaveCommentToolActionConfig, WeaveCommentToolActionParams, WeaveCommentToolActionState, WeaveCommentToolActionStateKeys, WeaveCommentToolModel, WeaveCommentToolStyle, WeaveCommentsRendererModel, WeaveCommentsRendererPlugin, WeaveCommentsRendererPluginConfig, WeaveCommentsRendererPluginParams, WeaveConfig, WeaveConnectedUserInfoKey, WeaveConnectedUsers, WeaveConnectedUsersChangeEvent, WeaveConnectedUsersPlugin, WeaveConnectedUsersPluginConfig, WeaveConnectedUsersPluginParams, WeaveConnectorNode, WeaveConnectorNodeAnchor, WeaveConnectorNodeAnchorPosition, WeaveConnectorNodeDecoratorType, WeaveConnectorNodeDecoratorTypeKeys, WeaveConnectorNodeInfo, WeaveConnectorNodeLineOrigin, WeaveConnectorNodeLineOriginKeys, WeaveConnectorNodeLineType, WeaveConnectorNodeLineTypeKeys, WeaveConnectorNodeParams, WeaveConnectorNodeProperties, WeaveConnectorToolAction, WeaveConnectorToolActionParams, WeaveConnectorToolActionProperties, WeaveConnectorToolActionState, WeaveConnectorToolActionStateKeys, WeaveContextMenuPlugin, WeaveCopyPasteNodesPlugin, WeaveCopyPasteNodesPluginConfig, WeaveCopyPasteNodesPluginOnCopyEvent, WeaveCopyPasteNodesPluginOnPasteEvent, WeaveCopyPasteNodesPluginOnPasteExternalEvent, WeaveCopyPasteNodesPluginParams, WeaveCopyPasteNodesPluginState, WeaveCopyPasteNodesPluginStateKeys, WeaveCopyPastePasteMode, WeaveCopyPastePasteModeKeys, WeaveEllipseNode, WeaveEllipseNodeParams, WeaveEllipseProperties, WeaveEllipseToolAction, WeaveEllipseToolActionOnAddedEvent, WeaveEllipseToolActionOnAddingEvent, WeaveEllipseToolActionState, WeaveEllipseToolActionStateKeys, WeaveEraserToolAction, WeaveEraserToolActionState, WeaveEraserToolActionStateKeys, WeaveExportNodesActionParams, WeaveExportNodesToolAction, WeaveExportStageActionParams, WeaveExportStageToolAction, WeaveFitToScreenToolAction, WeaveFitToScreenToolActionParams, WeaveFitToSelectionToolAction, WeaveFitToSelectionToolActionParams, WeaveFontFace, WeaveFontFamily, WeaveFontsPreloadFunction, WeaveFrameAttributes, WeaveFrameNode, WeaveFrameNodeParams, WeaveFrameProperties, WeaveFrameToolAction, WeaveFrameToolActionOnAddedEvent, WeaveFrameToolActionOnAddingEvent, WeaveFrameToolActionState, WeaveFrameToolActionStateKeys, WeaveFrameToolActionTriggerParams, WeaveFrameToolProps, WeaveGetStaticGuidesFunction, WeaveGroupNode, WeaveGroupNodeParams, WeaveGroupProperties, WeaveGuideToolAction, WeaveImageCache, WeaveImageCropAnchorPosition, WeaveImageCropAnchorPositionKeys, WeaveImageCropEndType, WeaveImageCropEndTypeKeys, WeaveImageCursors, WeaveImageFile, WeaveImageNode, WeaveImageNodeParams, WeaveImageOnCropEndEvent, WeaveImageOnCropStartEvent, WeaveImageProperties, WeaveImageState, WeaveImageToolAction, WeaveImageToolActionConfig, WeaveImageToolActionOnAddedEvent, WeaveImageToolActionOnImageUploadedErrorEvent, WeaveImageToolActionOnImageUploadedEvent, WeaveImageToolActionParams, WeaveImageToolActionState, WeaveImageToolActionStateKeys, WeaveImageToolActionTriggerCommonParams, WeaveImageToolActionTriggerParams, WeaveImageToolActionTriggerReturn, WeaveImageToolActionUploadFunction, WeaveImageToolActionUploadType, WeaveImageToolActionUploadTypeKeys, WeaveImageToolDragAndDropProperties, WeaveImageTriggerCropOptions, WeaveImageURL, WeaveImagesFile, WeaveImagesToolAction, WeaveImagesToolActionInternalUploadFunction, WeaveImagesToolActionOnAddedEvent, WeaveImagesToolActionOnFinishedUploadingFunction, WeaveImagesToolActionOnStartUploadingFunction, WeaveImagesToolActionParams, WeaveImagesToolActionState, WeaveImagesToolActionStateKeys, WeaveImagesToolActionTriggerCommonParams, WeaveImagesToolActionTriggerParams, WeaveImagesToolActionUploadFunction, WeaveImagesToolActionUploadType, WeaveImagesToolActionUploadTypeKeys, WeaveImagesToolDragAndDropProperties, WeaveImagesURL, WeaveInstanceStatusEvent, WeaveLayerNode, WeaveLineNode, WeaveLineNodeParams, WeaveLineProperties, WeaveLineToolAction, WeaveLineToolActionParams, WeaveLineToolActionProperties, WeaveLineToolActionState, WeaveLineToolActionStateKeys, WeaveMeasureNode, WeaveMeasureToolAction, WeaveMeasureToolActionState, WeaveMeasureToolActionStateKeys, WeaveMeasureToolParams, WeaveMeasureToolProperties, WeaveMoveToolAction, WeaveMoveToolActionParams, WeaveMoveToolActionState, WeaveMoveToolActionStateKeys, WeaveMutexLockChangeEvent, WeaveNode, WeaveNodeChangedContainerEvent, WeaveNodesMultiSelectionFeedbackConfig, WeaveNodesMultiSelectionFeedbackPlugin, WeaveNodesMultiSelectionFeedbackPluginConfig, WeaveNodesMultiSelectionFeedbackPluginParams, WeaveNodesMultiSelectionFeedbackStyle, WeaveNodesSelectionBehaviorsConfig, WeaveNodesSelectionConfig, WeaveNodesSelectionOnSelectionParams, WeaveNodesSelectionPanningOnSelectionConfig, WeaveNodesSelectionPlugin, WeaveNodesSelectionPluginConfig, WeaveNodesSelectionPluginOnGroupContextChangeEvent, WeaveNodesSelectionPluginOnNodesChangeEvent, WeaveNodesSelectionPluginOnSelectionStateEvent, WeaveNodesSelectionPluginOnStageSelectionEvent, WeaveNodesSelectionPluginParams, WeaveNodesSelectionStyleConfig, WeaveNodesSnappingCustomGuidesConfig, WeaveNodesSnappingPlugin, WeaveNodesSnappingPluginConfig, WeaveNodesSnappingPluginParams, WeavePasteModel, WeavePenToolAction, WeavePenToolActionOnAddedEvent, WeavePenToolActionOnAddingEvent, WeavePenToolActionState, WeavePenToolActionStateKeys, WeavePerformanceConfig, WeavePlugin, WeavePolygonInnerRect, WeavePolygonNode, WeavePolygonNodeParams, WeavePolygonPoint, WeavePolygonPreset, WeavePolygonPresetDef, WeavePolygonProperties, WeavePolygonToolAction, WeavePolygonToolActionState, WeavePolygonToolActionStateKeys, WeavePolygonToolActionTriggerParams, WeaveRectangleNode, WeaveRectangleNodeParams, WeaveRectangleProperties, WeaveRectangleToolAction, WeaveRectangleToolActionOnAddedEvent, WeaveRectangleToolActionOnAddingEvent, WeaveRectangleToolActionState, WeaveRectangleToolActionStateKeys, WeaveRegularPolygonNode, WeaveRegularPolygonNodeParams, WeaveRegularPolygonProperties, WeaveRegularPolygonToolAction, WeaveRegularPolygonToolActionOnAddedEvent, WeaveRegularPolygonToolActionOnAddingEvent, WeaveRegularPolygonToolActionState, WeaveRegularPolygonToolActionStateKeys, WeaveRenderer, WeaveSelectionToolAction, WeaveSelectionToolActionState, WeaveSelectionToolActionStateKeys, WeaveShapeLabelProps, WeaveShapeLabelTextBounds, WeaveStageContextMenuPluginConfig, WeaveStageContextMenuPluginOnNodeContextMenuEvent, WeaveStageContextMenuPluginParams, WeaveStageDropAreaPlugin, WeaveStageDropPluginOnStageDropEvent, WeaveStageGridDotType, WeaveStageGridDotTypeKeys, WeaveStageGridPlugin, WeaveStageGridPluginConfig, WeaveStageGridPluginParams, WeaveStageGridType, WeaveStageGridTypeKeys, WeaveStageKeyboardMovePlugin, WeaveStageMinimapPlugin, WeaveStageMinimapPluginConfig, WeaveStageMinimapPluginParams, WeaveStageMinimapPluginStyle, WeaveStageNode, WeaveStagePanningPlugin, WeaveStagePanningPluginConfig, WeaveStagePanningPluginParams, WeaveStageResizePlugin, WeaveStageZoomChanged, WeaveStageZoomPlugin, WeaveStageZoomPluginConfig, WeaveStageZoomPluginOnZoomChangeEvent, WeaveStageZoomPluginParams, WeaveStageZoomType, WeaveStageZoomTypeKeys, WeaveStarNode, WeaveStarNodeParams, WeaveStarProperties, WeaveStarToolAction, WeaveStarToolActionOnAddedEvent, WeaveStarToolActionOnAddingEvent, WeaveStarToolActionState, WeaveStarToolActionStateKeys, WeaveStateManipulation, WeaveStore, WeaveStoreOnNodeChangeEvent, WeaveStoreOnRedoChangeEvent, WeaveStoreOnRoomChangedEvent, WeaveStoreOnRoomLoadedEvent, WeaveStoreOnRoomSwitchingEndEvent, WeaveStoreOnRoomSwitchingStartEvent, WeaveStoreOnStateChangeEvent, WeaveStoreOnStateMetadataChangeEvent, WeaveStoreOnUndoChangeEvent, WeaveStoreOnUndoRedoChangeEvent, WeaveStrokeNode, WeaveStrokeNodeParams, WeaveStrokePoint, WeaveStrokeProperties, WeaveStrokeSingleNode, WeaveStrokeSingleNodeParams, WeaveStrokeSingleNodeTipSide, WeaveStrokeSingleNodeTipSideKeys, WeaveStrokeSingleProperties, WeaveStrokeToolAction, WeaveStrokeToolActionOnAddedEvent, WeaveStrokeToolActionOnAddingEvent, WeaveStrokeToolActionParams, WeaveStrokeToolActionProperties, WeaveStrokeToolActionState, WeaveStrokeToolActionStateKeys, WeaveTextCursorProperties, WeaveTextEditionProperties, WeaveTextLayout, WeaveTextLayoutKeys, WeaveTextNode, WeaveTextNodeOnEnterTextNodeEditMode, WeaveTextNodeOnExitTextNodeEditMode, WeaveTextNodeParams, WeaveTextOutlineProperties, WeaveTextProperties, WeaveTextToolAction, WeaveTextToolActionState, WeaveTextToolActionStateKeys, WeaveToPasteNode, WeaveUpscaleConfig, WeaveUserPointer, WeaveUserPointerKey, WeaveUserPointersUIProperties, WeaveUserPresence, WeaveUserPresenceInformation, WeaveUserPresenceKey, WeaveUserSelectionInfo, WeaveUserSelectionKey, WeaveUsersPointersPlugin, WeaveUsersPointersPluginConfig, WeaveUsersPointersPluginParams, WeaveUsersPresencePlugin, WeaveUsersPresencePluginConfig, WeaveUsersPresencePluginParams, WeaveUsersSelectionPlugin, WeaveUsersSelectionPluginConfig, WeaveUsersSelectionPluginParams, WeaveVideoNode, WeaveVideoNodeParams, WeaveVideoOnVideoPauseEvent, WeaveVideoOnVideoPlayEvent, WeaveVideoOnVideoStopEvent, WeaveVideoProperties, WeaveVideoState, WeaveVideoToolAction, WeaveVideoToolActionOnAddedEvent, WeaveVideoToolActionOnAddingEvent, WeaveVideoToolActionState, WeaveVideoToolActionStateKeys, WeaveVideoToolActionTriggerParams, WeaveVideoToolActionTriggerReturn, WeaveVideoToolDragAndDropProperties, WeaveVideoToolDragParams, WeaveZoomInToolAction, WeaveZoomInToolActionParams, WeaveZoomOutToolAction, WeaveZoomOutToolActionParams, buildAncestorGroupIds, canComposite, clearContainerTargets, computeEllipseLabelMinSize, computePolygonLabelMinSize, computeRectangleLabelMinSize, containerOverCursor, containsNodeDeep, defaultInitialState, downscaleImageFile, downscaleImageFromURL, getBoundingBox, getDownscaleRatio, getExportBoundingBox, getImageSizeFromFile, getJSONFromYjsBinary, getSelectedNodesMetadata, getShapeLabelSchemaFields, getStageClickPoint, getTargetAndSkipNodes, getTargetedNode, getTopmostShadowHost, getVisibleNodes, getVisibleNodesInViewport, hasFrames, hasImages, instantiatePreset, intersectArrays, isArray, isIOS, isInShadowDOM, isNodeInSelection, isNumber, isObject, isServer, labelId, loadImageSource, mapJsonToYjsArray, mapJsonToYjsElements, mapJsonToYjsMap, memoize, mergeExceptArrays, moveNodeToContainer, moveNodeToContainerNT, resetScale, setupCanvasBackend, setupSkiaBackend, sleep, spreadLabelProps, weavejsToYjsBinary };
|
|
6048
5601
|
//# sourceMappingURL=types.d.ts.map
|