@inditextech/weave-sdk 5.2.1 → 5.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk.js +2819 -3281
- package/dist/sdk.node.js +2807 -3263
- 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 +104 -537
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js +2820 -3282
- 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;
|
|
@@ -137,6 +156,7 @@ type WeaveNodesSelectionPanningOnSelectionConfig = {
|
|
|
137
156
|
minScrollSpeed: number;
|
|
138
157
|
maxScrollSpeed: number;
|
|
139
158
|
};
|
|
159
|
+
type WeaveNodesSelectionMode = 'intersects' | 'contains';
|
|
140
160
|
type WeaveNodesSelectionConfig = {
|
|
141
161
|
selection: Konva.TransformerConfig;
|
|
142
162
|
hover: Konva.TransformerConfig;
|
|
@@ -144,6 +164,18 @@ type WeaveNodesSelectionConfig = {
|
|
|
144
164
|
panningWhenSelection: WeaveNodesSelectionPanningOnSelectionConfig;
|
|
145
165
|
behaviors: WeaveNodesSelectionBehaviorsConfig;
|
|
146
166
|
style: WeaveNodesSelectionStyleConfig;
|
|
167
|
+
/**
|
|
168
|
+
* Controls how a drag-selection rectangle picks up nodes:
|
|
169
|
+
* - 'intersects' (default): a node is selected if its bounding box merely
|
|
170
|
+
* overlaps the drag rectangle.
|
|
171
|
+
* - 'contains': a node is selected only if its bounding box is fully
|
|
172
|
+
* enclosed by the drag rectangle. For group nodes, containment is
|
|
173
|
+
* checked against the group's own outer bounding box, not per child.
|
|
174
|
+
*
|
|
175
|
+
* Frame nodes are always selected using containment, regardless of this
|
|
176
|
+
* setting — that behavior predates this option and is unaffected by it.
|
|
177
|
+
*/
|
|
178
|
+
selectionMode: WeaveNodesSelectionMode;
|
|
147
179
|
};
|
|
148
180
|
type WeaveNodesSelectionStyleConfig = {
|
|
149
181
|
dragOpacity: number;
|
|
@@ -152,10 +184,8 @@ type WeaveNodesSelectionPluginConfig = Partial<WeaveNodesSelectionConfig>;
|
|
|
152
184
|
type WeaveNodesSelectionPluginParams = {
|
|
153
185
|
config?: WeaveNodesSelectionPluginConfig;
|
|
154
186
|
};
|
|
155
|
-
|
|
156
187
|
//#endregion
|
|
157
188
|
//#region src/plugins/nodes-selection/gesture-detector.d.ts
|
|
158
|
-
//# sourceMappingURL=types.d.ts.map
|
|
159
189
|
/**
|
|
160
190
|
* Tracks single-tap, double-tap, and drag-move gesture state for the
|
|
161
191
|
* nodes-selection plugin. Has no dependency on Weave or Konva internals.
|
|
@@ -188,10 +218,8 @@ declare class GestureDetector {
|
|
|
188
218
|
resetDoubleTap(): void;
|
|
189
219
|
reset(): void;
|
|
190
220
|
}
|
|
191
|
-
|
|
192
221
|
//#endregion
|
|
193
222
|
//#region src/plugins/nodes-selection/edge-panning.d.ts
|
|
194
|
-
//# sourceMappingURL=gesture-detector.d.ts.map
|
|
195
223
|
type EdgePanningCallbacks = {
|
|
196
224
|
getStage: () => Stage;
|
|
197
225
|
isSelecting: () => boolean;
|
|
@@ -226,10 +254,8 @@ declare class EdgePanning {
|
|
|
226
254
|
private getSpeedFromEdge;
|
|
227
255
|
private loop;
|
|
228
256
|
}
|
|
229
|
-
|
|
230
257
|
//#endregion
|
|
231
258
|
//#region src/plugins/nodes-selection/area-selection.d.ts
|
|
232
|
-
//# sourceMappingURL=edge-panning.d.ts.map
|
|
233
259
|
/**
|
|
234
260
|
* Manages the visual selection-rectangle drawn while the user drags an area
|
|
235
261
|
* selection, plus the coordinate state (x1/y1/x2/y2) that tracks its bounds.
|
|
@@ -273,10 +299,8 @@ declare class AreaSelector {
|
|
|
273
299
|
update(stage: Stage, selectNone: () => void): void;
|
|
274
300
|
hide(): void;
|
|
275
301
|
}
|
|
276
|
-
|
|
277
302
|
//#endregion
|
|
278
303
|
//#region src/plugins/context-menu/types.d.ts
|
|
279
|
-
//# sourceMappingURL=area-selection.d.ts.map
|
|
280
304
|
type WeaveStageContextMenuPluginParams = {
|
|
281
305
|
config?: WeaveStageContextMenuPluginConfig;
|
|
282
306
|
};
|
|
@@ -291,10 +315,8 @@ type WeaveStageContextMenuPluginOnNodeContextMenuEvent = {
|
|
|
291
315
|
stageClickPoint: Konva.Vector2d;
|
|
292
316
|
visible: boolean;
|
|
293
317
|
};
|
|
294
|
-
|
|
295
318
|
//#endregion
|
|
296
319
|
//#region src/plugins/context-menu/context-menu.d.ts
|
|
297
|
-
//# sourceMappingURL=types.d.ts.map
|
|
298
320
|
declare class WeaveContextMenuPlugin extends WeavePlugin {
|
|
299
321
|
private readonly config;
|
|
300
322
|
private contextMenuVisible;
|
|
@@ -327,20 +349,16 @@ declare class WeaveContextMenuPlugin extends WeavePlugin {
|
|
|
327
349
|
enable(): void;
|
|
328
350
|
disable(): void;
|
|
329
351
|
}
|
|
330
|
-
|
|
331
352
|
//#endregion
|
|
332
353
|
//#region src/plugins/stage-zoom/constants.d.ts
|
|
333
|
-
//# sourceMappingURL=context-menu.d.ts.map
|
|
334
354
|
declare const WEAVE_STAGE_ZOOM_TYPE: {
|
|
335
355
|
readonly MOUSE_WHEEL: "mouseWheel";
|
|
336
356
|
readonly PINCH_ZOOM: "pinchZoom";
|
|
337
357
|
};
|
|
338
358
|
declare const WEAVE_STAGE_ZOOM_KEY = "stageZoom";
|
|
339
359
|
declare const WEAVE_STAGE_ZOOM_DEFAULT_CONFIG: WeaveStageZoomPluginConfig;
|
|
340
|
-
|
|
341
360
|
//#endregion
|
|
342
361
|
//#region src/plugins/stage-zoom/types.d.ts
|
|
343
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
344
362
|
type WeaveStageZoomTypeKeys = keyof typeof WEAVE_STAGE_ZOOM_TYPE;
|
|
345
363
|
type WeaveStageZoomType = (typeof WEAVE_STAGE_ZOOM_TYPE)[WeaveStageZoomTypeKeys];
|
|
346
364
|
type WeaveStageZoomChanged = {
|
|
@@ -376,10 +394,8 @@ type WeaveStageZoomPluginConfig = {
|
|
|
376
394
|
type WeaveStageZoomPluginParams = {
|
|
377
395
|
config?: DeepPartial<WeaveStageZoomPluginConfig>;
|
|
378
396
|
};
|
|
379
|
-
|
|
380
397
|
//#endregion
|
|
381
398
|
//#region src/plugins/stage-grid/constants.d.ts
|
|
382
|
-
//# sourceMappingURL=types.d.ts.map
|
|
383
399
|
declare const WEAVE_STAGE_GRID_PLUGIN_KEY = "stageGrid";
|
|
384
400
|
declare const WEAVE_GRID_TYPES: {
|
|
385
401
|
readonly LINES: "lines";
|
|
@@ -391,10 +407,8 @@ declare const WEAVE_GRID_DOT_TYPES: {
|
|
|
391
407
|
};
|
|
392
408
|
declare const WEAVE_GRID_DEFAULT_CONFIG: WeaveStageGridPluginConfig;
|
|
393
409
|
declare const WEAVE_GRID_LAYER_ID = "gridLayer";
|
|
394
|
-
|
|
395
410
|
//#endregion
|
|
396
411
|
//#region src/plugins/stage-grid/types.d.ts
|
|
397
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
398
412
|
type WeaveStageGridPluginConfig = {
|
|
399
413
|
type: WeaveStageGridType;
|
|
400
414
|
gridColor: string;
|
|
@@ -415,10 +429,8 @@ type WeaveStageGridDotTypeKeys = keyof typeof WEAVE_GRID_DOT_TYPES;
|
|
|
415
429
|
type WeaveStageGridDotType = (typeof WEAVE_GRID_DOT_TYPES)[WeaveStageGridDotTypeKeys];
|
|
416
430
|
type WeaveStageGridTypeKeys = keyof typeof WEAVE_GRID_TYPES;
|
|
417
431
|
type WeaveStageGridType = (typeof WEAVE_GRID_TYPES)[WeaveStageGridTypeKeys];
|
|
418
|
-
|
|
419
432
|
//#endregion
|
|
420
433
|
//#region src/plugins/stage-grid/stage-grid.d.ts
|
|
421
|
-
//# sourceMappingURL=types.d.ts.map
|
|
422
434
|
declare class WeaveStageGridPlugin extends WeavePlugin {
|
|
423
435
|
private moveToolActive;
|
|
424
436
|
private isMouseMiddleButtonPressed;
|
|
@@ -451,10 +463,8 @@ declare class WeaveStageGridPlugin extends WeavePlugin {
|
|
|
451
463
|
getDotsType(): WeaveStageGridDotType;
|
|
452
464
|
setDotsType(type: WeaveStageGridDotType): void;
|
|
453
465
|
}
|
|
454
|
-
|
|
455
466
|
//#endregion
|
|
456
467
|
//#region src/plugins/stage-zoom/stage-zoom.d.ts
|
|
457
|
-
//# sourceMappingURL=stage-grid.d.ts.map
|
|
458
468
|
declare class WeaveStageZoomPlugin extends WeavePlugin {
|
|
459
469
|
protected previousPointer: string | null;
|
|
460
470
|
getLayerName: undefined;
|
|
@@ -515,10 +525,8 @@ declare class WeaveStageZoomPlugin extends WeavePlugin {
|
|
|
515
525
|
getZoomSteps(): number[];
|
|
516
526
|
private clamp;
|
|
517
527
|
}
|
|
518
|
-
|
|
519
528
|
//#endregion
|
|
520
529
|
//#region src/plugins/stage-panning/types.d.ts
|
|
521
|
-
//# sourceMappingURL=stage-zoom.d.ts.map
|
|
522
530
|
type WeaveStagePanningPluginParams = {
|
|
523
531
|
config?: Partial<WeaveStagePanningPluginConfig>;
|
|
524
532
|
};
|
|
@@ -528,10 +536,8 @@ type WeaveStagePanningPluginConfig = {
|
|
|
528
536
|
speed: number;
|
|
529
537
|
};
|
|
530
538
|
};
|
|
531
|
-
|
|
532
539
|
//#endregion
|
|
533
540
|
//#region src/plugins/stage-panning/stage-panning.d.ts
|
|
534
|
-
//# sourceMappingURL=types.d.ts.map
|
|
535
541
|
declare class WeaveStagePanningPlugin extends WeavePlugin {
|
|
536
542
|
private readonly config;
|
|
537
543
|
private moveToolActive;
|
|
@@ -566,24 +572,20 @@ declare class WeaveStagePanningPlugin extends WeavePlugin {
|
|
|
566
572
|
getContextMenuPlugin(): WeaveContextMenuPlugin | undefined;
|
|
567
573
|
getNodesSelectionPlugin(): WeaveNodesSelectionPlugin | undefined;
|
|
568
574
|
getStageGridPlugin(): WeaveStageGridPlugin | undefined;
|
|
569
|
-
getCurrentPointer():
|
|
575
|
+
getCurrentPointer(): import("konva/lib/types").Vector2d | null;
|
|
570
576
|
cleanupEdgeMoveIntervals(): void;
|
|
571
577
|
enable(): void;
|
|
572
578
|
disable(): void;
|
|
573
579
|
}
|
|
574
|
-
|
|
575
580
|
//#endregion
|
|
576
581
|
//#region src/plugins/users-presence/constants.d.ts
|
|
577
|
-
//# sourceMappingURL=stage-panning.d.ts.map
|
|
578
582
|
declare const WEAVE_USER_PRESENCE_KEY = "userPresence";
|
|
579
583
|
declare const WEAVE_USERS_PRESENCE_PLUGIN_KEY = "usersPresence";
|
|
580
584
|
declare const WEAVE_USERS_PRESENCE_CONFIG_DEFAULT_PROPS: {
|
|
581
585
|
awarenessThrottleMs: number;
|
|
582
586
|
};
|
|
583
|
-
|
|
584
587
|
//#endregion
|
|
585
588
|
//#region src/plugins/users-presence/types.d.ts
|
|
586
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
587
589
|
type WeaveUsersPresencePluginConfig = {
|
|
588
590
|
getUser: () => WeaveUser;
|
|
589
591
|
};
|
|
@@ -598,10 +600,8 @@ type WeaveUserPresence<T> = {
|
|
|
598
600
|
attrs: T;
|
|
599
601
|
};
|
|
600
602
|
type WeaveUserPresenceKey = typeof WEAVE_USER_PRESENCE_KEY;
|
|
601
|
-
|
|
602
603
|
//#endregion
|
|
603
604
|
//#region src/plugins/users-presence/users-presence.d.ts
|
|
604
|
-
//# sourceMappingURL=types.d.ts.map
|
|
605
605
|
declare class WeaveUsersPresencePlugin extends WeavePlugin {
|
|
606
606
|
private readonly config;
|
|
607
607
|
private userPresence;
|
|
@@ -616,10 +616,8 @@ declare class WeaveUsersPresencePlugin extends WeavePlugin {
|
|
|
616
616
|
enable(): void;
|
|
617
617
|
disable(): void;
|
|
618
618
|
}
|
|
619
|
-
|
|
620
619
|
//#endregion
|
|
621
620
|
//#region src/plugins/nodes-multi-selection-feedback/types.d.ts
|
|
622
|
-
//# sourceMappingURL=users-presence.d.ts.map
|
|
623
621
|
type WeaveNodesMultiSelectionFeedbackStyle = {
|
|
624
622
|
stroke: string;
|
|
625
623
|
strokeWidth: number;
|
|
@@ -632,10 +630,8 @@ type WeaveNodesMultiSelectionFeedbackPluginConfig = DeepPartial<WeaveNodesMultiS
|
|
|
632
630
|
type WeaveNodesMultiSelectionFeedbackPluginParams = {
|
|
633
631
|
config?: WeaveNodesMultiSelectionFeedbackPluginConfig;
|
|
634
632
|
};
|
|
635
|
-
|
|
636
633
|
//#endregion
|
|
637
634
|
//#region src/plugins/nodes-multi-selection-feedback/nodes-multi-selection-feedback.d.ts
|
|
638
|
-
//# sourceMappingURL=types.d.ts.map
|
|
639
635
|
declare class WeaveNodesMultiSelectionFeedbackPlugin extends WeavePlugin {
|
|
640
636
|
private config;
|
|
641
637
|
protected selectedHalos: Record<string, Konva.Rect>;
|
|
@@ -646,7 +642,7 @@ declare class WeaveNodesMultiSelectionFeedbackPlugin extends WeavePlugin {
|
|
|
646
642
|
getName(): string;
|
|
647
643
|
getLayerName(): string;
|
|
648
644
|
initLayer(): void;
|
|
649
|
-
getSelectedHalos(): Record<string,
|
|
645
|
+
getSelectedHalos(): Record<string, import("konva/lib/shapes/Rect").Rect>;
|
|
650
646
|
cleanupSelectedHalos(): void;
|
|
651
647
|
private getNodeRectInfo;
|
|
652
648
|
private getNodeInfo;
|
|
@@ -659,10 +655,8 @@ declare class WeaveNodesMultiSelectionFeedbackPlugin extends WeavePlugin {
|
|
|
659
655
|
enable(): void;
|
|
660
656
|
disable(): void;
|
|
661
657
|
}
|
|
662
|
-
|
|
663
658
|
//#endregion
|
|
664
659
|
//#region src/plugins/nodes-selection/transformer-controller.d.ts
|
|
665
|
-
//# sourceMappingURL=nodes-multi-selection-feedback.d.ts.map
|
|
666
660
|
interface TransformerCallbacks {
|
|
667
661
|
isSelecting(): boolean;
|
|
668
662
|
setSelectedNodes(nodes: Konva.Node[]): void;
|
|
@@ -713,10 +707,8 @@ declare class TransformerController {
|
|
|
713
707
|
private registerInstanceEvents;
|
|
714
708
|
private handleUndoRedoSelectionChange;
|
|
715
709
|
}
|
|
716
|
-
|
|
717
710
|
//#endregion
|
|
718
711
|
//#region src/plugins/nodes-selection/selection-context.d.ts
|
|
719
|
-
//# sourceMappingURL=transformer-controller.d.ts.map
|
|
720
712
|
/**
|
|
721
713
|
* The minimal surface of WeaveNodesSelectionPlugin that event-handler
|
|
722
714
|
* modules depend on. Keeping it separate prevents circular imports and
|
|
@@ -764,10 +756,8 @@ interface SelectionContext {
|
|
|
764
756
|
getStageGridPlugin(): WeaveStageGridPlugin | undefined;
|
|
765
757
|
getNodesSelectionFeedbackPlugin(): WeaveNodesMultiSelectionFeedbackPlugin | undefined;
|
|
766
758
|
}
|
|
767
|
-
|
|
768
759
|
//#endregion
|
|
769
760
|
//#region src/plugins/nodes-selection/nodes-selection.d.ts
|
|
770
|
-
//# sourceMappingURL=selection-context.d.ts.map
|
|
771
761
|
declare class WeaveNodesSelectionPlugin extends WeavePlugin implements SelectionContext {
|
|
772
762
|
readonly gesture: GestureDetector;
|
|
773
763
|
private edgePanning;
|
|
@@ -833,7 +823,7 @@ declare class WeaveNodesSelectionPlugin extends WeavePlugin implements Selection
|
|
|
833
823
|
getHoverTransformer(): Konva.Transformer;
|
|
834
824
|
handleBehaviors(): void;
|
|
835
825
|
setSelectedNodes(nodes: Konva.Node[]): void;
|
|
836
|
-
getSelectedNodes(): (
|
|
826
|
+
getSelectedNodes(): (import("konva/lib/Shape").Shape<import("konva/lib/Shape").ShapeConfig> | import("konva/lib/Group").Group)[];
|
|
837
827
|
getSelectedNodesExtended(): WeaveSelection[];
|
|
838
828
|
selectAll(): void;
|
|
839
829
|
selectNone(): void;
|
|
@@ -846,7 +836,7 @@ declare class WeaveNodesSelectionPlugin extends WeavePlugin implements Selection
|
|
|
846
836
|
getUsersPresencePlugin(): WeaveUsersPresencePlugin | undefined;
|
|
847
837
|
isTransforming(): boolean;
|
|
848
838
|
isDragging(): boolean;
|
|
849
|
-
getBoundBoxFunc(): (oldBox:
|
|
839
|
+
getBoundBoxFunc(): (oldBox: import("konva/lib/shapes/Transformer").Box, newBox: import("konva/lib/shapes/Transformer").Box) => import("konva/lib/shapes/Transformer").Box;
|
|
850
840
|
getSelectorConfig(): TransformerConfig;
|
|
851
841
|
saveDragSelectedNodes(): void;
|
|
852
842
|
getDragSelectedNodes(): Konva.Node[];
|
|
@@ -854,10 +844,8 @@ declare class WeaveNodesSelectionPlugin extends WeavePlugin implements Selection
|
|
|
854
844
|
restoreNodesOpacityOnDrag(): void;
|
|
855
845
|
getDragOpacity(): number;
|
|
856
846
|
}
|
|
857
|
-
|
|
858
847
|
//#endregion
|
|
859
848
|
//#region src/nodes/node.d.ts
|
|
860
|
-
//# sourceMappingURL=nodes-selection.d.ts.map
|
|
861
849
|
declare abstract class WeaveNode implements WeaveNodeBase {
|
|
862
850
|
protected instance: Weave;
|
|
863
851
|
protected nodeType: string;
|
|
@@ -909,10 +897,8 @@ declare abstract class WeaveNode implements WeaveNodeBase {
|
|
|
909
897
|
static defaultState(nodeId: string): WeaveStateElement;
|
|
910
898
|
static getSchema(): z.ZodObject<any>;
|
|
911
899
|
}
|
|
912
|
-
|
|
913
900
|
//#endregion
|
|
914
901
|
//#region src/actions/action.d.ts
|
|
915
|
-
//# sourceMappingURL=node.d.ts.map
|
|
916
902
|
declare abstract class WeaveAction implements WeaveActionBase {
|
|
917
903
|
protected instance: Weave;
|
|
918
904
|
protected name: string;
|
|
@@ -942,10 +928,8 @@ declare abstract class WeaveAction implements WeaveActionBase {
|
|
|
942
928
|
abstract onPropsChange?(): void;
|
|
943
929
|
abstract cleanup?(): void;
|
|
944
930
|
}
|
|
945
|
-
|
|
946
931
|
//#endregion
|
|
947
932
|
//#region src/renderer/renderer.d.ts
|
|
948
|
-
//# sourceMappingURL=action.d.ts.map
|
|
949
933
|
declare abstract class WeaveRenderer implements WeaveRendererBase {
|
|
950
934
|
protected instance: Weave;
|
|
951
935
|
protected logger: Logger;
|
|
@@ -956,10 +940,8 @@ declare abstract class WeaveRenderer implements WeaveRendererBase {
|
|
|
956
940
|
abstract init(): void;
|
|
957
941
|
abstract render(callback?: () => void): void;
|
|
958
942
|
}
|
|
959
|
-
|
|
960
943
|
//#endregion
|
|
961
944
|
//#region src/logger/logger.d.ts
|
|
962
|
-
//# sourceMappingURL=renderer.d.ts.map
|
|
963
945
|
declare class WeaveLogger {
|
|
964
946
|
private readonly instance;
|
|
965
947
|
private config;
|
|
@@ -972,10 +954,8 @@ declare class WeaveLogger {
|
|
|
972
954
|
getLogger(): Logger;
|
|
973
955
|
getChildLogger(name: string): pino.Logger<never, boolean>;
|
|
974
956
|
}
|
|
975
|
-
|
|
976
957
|
//#endregion
|
|
977
958
|
//#region src/managers/targeting.d.ts
|
|
978
|
-
//# sourceMappingURL=logger.d.ts.map
|
|
979
959
|
declare class WeaveTargetingManager {
|
|
980
960
|
private instance;
|
|
981
961
|
private logger;
|
|
@@ -987,12 +967,10 @@ declare class WeaveTargetingManager {
|
|
|
987
967
|
nodeIntersectsContainerElement(node: Konva.Node | Konva.Transformer, actualLayer?: Konva.Layer | Konva.Group): Konva.Node | undefined;
|
|
988
968
|
getMousePointer(point?: Konva.Vector2d): WeaveMousePointInfo;
|
|
989
969
|
getMousePointerRelativeToContainer(container: Konva.Node | Konva.Layer): WeaveMousePointInfoSimple;
|
|
990
|
-
getRealSelectedNode: (nodeTarget: Konva.Node) =>
|
|
970
|
+
getRealSelectedNode: (nodeTarget: Konva.Node) => import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig>;
|
|
991
971
|
}
|
|
992
|
-
|
|
993
972
|
//#endregion
|
|
994
973
|
//#region src/managers/cloning.d.ts
|
|
995
|
-
//# sourceMappingURL=targeting.d.ts.map
|
|
996
974
|
declare class WeaveCloningManager {
|
|
997
975
|
private instance;
|
|
998
976
|
private logger;
|
|
@@ -1006,14 +984,12 @@ declare class WeaveCloningManager {
|
|
|
1006
984
|
cloneNode(targetNode: Konva.Node): Konva.Node | undefined;
|
|
1007
985
|
addClone(node: Konva.Node): void;
|
|
1008
986
|
removeClone(node: Konva.Node): void;
|
|
1009
|
-
getClones():
|
|
1010
|
-
isClone(node: Konva.Node):
|
|
987
|
+
getClones(): import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig>[];
|
|
988
|
+
isClone(node: Konva.Node): import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig> | undefined;
|
|
1011
989
|
cleanupClones(): void;
|
|
1012
990
|
}
|
|
1013
|
-
|
|
1014
991
|
//#endregion
|
|
1015
992
|
//#region src/managers/register.d.ts
|
|
1016
|
-
//# sourceMappingURL=cloning.d.ts.map
|
|
1017
993
|
declare class WeaveRegisterManager {
|
|
1018
994
|
private instance;
|
|
1019
995
|
private nodesHandlers;
|
|
@@ -1038,10 +1014,8 @@ declare class WeaveRegisterManager {
|
|
|
1038
1014
|
resetPlugins(): void;
|
|
1039
1015
|
reset(): void;
|
|
1040
1016
|
}
|
|
1041
|
-
|
|
1042
1017
|
//#endregion
|
|
1043
1018
|
//#region src/managers/stage.d.ts
|
|
1044
|
-
//# sourceMappingURL=register.d.ts.map
|
|
1045
1019
|
declare class WeaveStageManager {
|
|
1046
1020
|
private instance;
|
|
1047
1021
|
private logger;
|
|
@@ -1060,10 +1034,8 @@ declare class WeaveStageManager {
|
|
|
1060
1034
|
initStage(): void;
|
|
1061
1035
|
getContainerNodes(): WeaveElementInstance[];
|
|
1062
1036
|
}
|
|
1063
|
-
|
|
1064
1037
|
//#endregion
|
|
1065
1038
|
//#region src/types.d.ts
|
|
1066
|
-
//# sourceMappingURL=stage.d.ts.map
|
|
1067
1039
|
type DOMElement = HTMLElement | Element | null;
|
|
1068
1040
|
type WeaveFontFace = FontFaceDescriptors & {
|
|
1069
1041
|
source: string | BufferSource;
|
|
@@ -1100,10 +1072,8 @@ type WeaveConfig = {
|
|
|
1100
1072
|
axisLockThreshold: number;
|
|
1101
1073
|
};
|
|
1102
1074
|
};
|
|
1103
|
-
|
|
1104
1075
|
//#endregion
|
|
1105
1076
|
//#region src/weave.d.ts
|
|
1106
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1107
1077
|
declare class Weave {
|
|
1108
1078
|
private id;
|
|
1109
1079
|
private emitter;
|
|
@@ -1277,7 +1247,7 @@ declare class Weave {
|
|
|
1277
1247
|
getMousePointer(point?: Konva.Vector2d): WeaveMousePointInfo;
|
|
1278
1248
|
getMousePointerRelativeToContainer(container: Konva.Node | Konva.Layer): WeaveMousePointInfoSimple;
|
|
1279
1249
|
selectNodesByKey(nodesIds: string[]): void;
|
|
1280
|
-
getRealSelectedNode: (nodeTarget: Konva.Node) =>
|
|
1250
|
+
getRealSelectedNode: (nodeTarget: Konva.Node) => import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig>;
|
|
1281
1251
|
getCloningManager(): WeaveCloningManager;
|
|
1282
1252
|
nodesToGroupSerialized(instancesToClone: Konva.Node[]): WeaveSerializedGroup;
|
|
1283
1253
|
getFonts(): WeaveFont[];
|
|
@@ -1339,18 +1309,11 @@ declare class Weave {
|
|
|
1339
1309
|
runPhaseHooks<T>(phaseName: string, execution: (hook: (params: T) => void) => void): void;
|
|
1340
1310
|
getHook<T>(hookName: string): T | undefined;
|
|
1341
1311
|
unregisterHook(hookName: string): void;
|
|
1342
|
-
acquireMutexLock({
|
|
1343
|
-
nodeIds,
|
|
1344
|
-
operation
|
|
1345
|
-
}: {
|
|
1312
|
+
acquireMutexLock({ nodeIds, operation }: {
|
|
1346
1313
|
nodeIds: string[];
|
|
1347
1314
|
operation: string;
|
|
1348
1315
|
}, action: () => void | Promise<void>): Promise<void>;
|
|
1349
|
-
setMutexLock<T>({
|
|
1350
|
-
nodeIds,
|
|
1351
|
-
operation,
|
|
1352
|
-
metadata
|
|
1353
|
-
}: {
|
|
1316
|
+
setMutexLock<T>({ nodeIds, operation, metadata }: {
|
|
1354
1317
|
nodeIds: string[];
|
|
1355
1318
|
operation: string;
|
|
1356
1319
|
metadata?: T;
|
|
@@ -1370,28 +1333,22 @@ declare class Weave {
|
|
|
1370
1333
|
getMetadata<T extends AllowedObject>(): T;
|
|
1371
1334
|
saveMetadata<T extends AllowedObject>(metadata: T): void;
|
|
1372
1335
|
}
|
|
1373
|
-
|
|
1374
1336
|
//#endregion
|
|
1375
1337
|
//#region src/nodes/types.d.ts
|
|
1376
|
-
//# sourceMappingURL=weave.d.ts.map
|
|
1377
1338
|
type WeaveNodeChangedContainerEvent = {
|
|
1378
1339
|
originalNode: Konva.Node | null | undefined;
|
|
1379
1340
|
newNode: Konva.Node | null | undefined;
|
|
1380
1341
|
originalContainer: Konva.Node | null | undefined;
|
|
1381
1342
|
newContainer: Konva.Node | null | undefined;
|
|
1382
1343
|
};
|
|
1383
|
-
|
|
1384
1344
|
//#endregion
|
|
1385
1345
|
//#region src/actions/types.d.ts
|
|
1386
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1387
1346
|
type WeaveActionPropsChangeEvent = {
|
|
1388
1347
|
instance: WeaveAction;
|
|
1389
1348
|
props: WeaveElementAttributes;
|
|
1390
1349
|
};
|
|
1391
|
-
|
|
1392
1350
|
//#endregion
|
|
1393
1351
|
//#region src/utils/utils.d.ts
|
|
1394
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1395
1352
|
declare function resetScale(node: Konva.Node): void;
|
|
1396
1353
|
declare function clearContainerTargets(instance: Weave): void;
|
|
1397
1354
|
declare function containerOverCursor(instance: Weave, ignoreNodes: Konva.Node[], definedCursorPosition?: Konva.Vector2d): Konva.Group | undefined;
|
|
@@ -1423,17 +1380,13 @@ declare function getSelectedNodesMetadata(transformer: Konva.Transformer): {
|
|
|
1423
1380
|
nodes: string[];
|
|
1424
1381
|
};
|
|
1425
1382
|
declare function getTargetAndSkipNodes(instance: Weave, e: KonvaEventObject<any, any>, forceTransformer?: boolean): {
|
|
1426
|
-
targetNode:
|
|
1383
|
+
targetNode: import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig> | import("konva/lib/shapes/Transformer").Transformer | undefined;
|
|
1427
1384
|
skipNodes: string[];
|
|
1428
1385
|
};
|
|
1429
|
-
declare function getVisibleNodesInViewport(stage: Konva.Stage, referenceLayer: Konva.Layer | Konva.Group | undefined):
|
|
1386
|
+
declare function getVisibleNodesInViewport(stage: Konva.Stage, referenceLayer: Konva.Layer | Konva.Group | undefined): import("konva/lib/Node").Node<import("konva/lib/Node").NodeConfig>[];
|
|
1430
1387
|
declare function isInShadowDOM(el: DOMElement): boolean;
|
|
1431
1388
|
declare function getTopmostShadowHost(el: DOMElement): ShadowRoot | null;
|
|
1432
|
-
declare function getVisibleNodes({
|
|
1433
|
-
instance,
|
|
1434
|
-
skipNodes,
|
|
1435
|
-
referenceLayer
|
|
1436
|
-
}: {
|
|
1389
|
+
declare function getVisibleNodes({ instance, skipNodes, referenceLayer }: {
|
|
1437
1390
|
instance: Weave;
|
|
1438
1391
|
skipNodes: string[];
|
|
1439
1392
|
referenceLayer: Konva.Layer | Konva.Group;
|
|
@@ -1446,10 +1399,8 @@ declare function mergeExceptArrays<TObject, TSource>(object: TObject, source: TS
|
|
|
1446
1399
|
declare function getStageClickPoint(instance: Weave, pointerPos: Konva.Vector2d): Konva.Vector2d;
|
|
1447
1400
|
declare function isNumber(value: unknown): value is number;
|
|
1448
1401
|
declare function sleep(ms: number): Promise<void>;
|
|
1449
|
-
|
|
1450
1402
|
//#endregion
|
|
1451
1403
|
//#region src/utils/image.d.ts
|
|
1452
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
1453
1404
|
declare function loadImageSource(image: File, options?: {
|
|
1454
1405
|
crossOrigin: ImageCrossOrigin;
|
|
1455
1406
|
}): Promise<HTMLImageElement>;
|
|
@@ -1468,10 +1419,8 @@ declare const downscaleImageFromURL: (url: string, options?: Partial<{
|
|
|
1468
1419
|
maxWidth: number;
|
|
1469
1420
|
maxHeight: number;
|
|
1470
1421
|
}>) => Promise<string>;
|
|
1471
|
-
|
|
1472
1422
|
//#endregion
|
|
1473
1423
|
//#region src/state.manipulation.d.ts
|
|
1474
|
-
//# sourceMappingURL=image.d.ts.map
|
|
1475
1424
|
declare class WeaveStateManipulation {
|
|
1476
1425
|
/**
|
|
1477
1426
|
* Converts any JS value to the appropriate Yjs type:
|
|
@@ -1494,15 +1443,11 @@ declare class WeaveStateManipulation {
|
|
|
1494
1443
|
static getYjsElement(doc: Y.Doc, nodeId: string): Y.Map<any> | null;
|
|
1495
1444
|
static getNodesBoundingBox(nodes: WeaveStateElement[]): BoundingBox;
|
|
1496
1445
|
}
|
|
1497
|
-
|
|
1498
1446
|
//#endregion
|
|
1499
1447
|
//#region src/stores/default-initial-state.d.ts
|
|
1500
|
-
//# sourceMappingURL=state.manipulation.d.ts.map
|
|
1501
1448
|
declare function defaultInitialState(doc: Doc): void;
|
|
1502
|
-
|
|
1503
1449
|
//#endregion
|
|
1504
1450
|
//#region src/stores/types.d.ts
|
|
1505
|
-
//# sourceMappingURL=default-initial-state.d.ts.map
|
|
1506
1451
|
type WeaveStoreOnUndoChangeEvent = undefined;
|
|
1507
1452
|
type WeaveStoreOnRedoChangeEvent = undefined;
|
|
1508
1453
|
type WeaveStoreOnStateChangeEvent = WeaveState;
|
|
@@ -1520,17 +1465,13 @@ type WeaveStoreOnRoomSwitchingStartEvent = {
|
|
|
1520
1465
|
type WeaveStoreOnRoomSwitchingEndEvent = {
|
|
1521
1466
|
room: string;
|
|
1522
1467
|
};
|
|
1523
|
-
|
|
1524
1468
|
//#endregion
|
|
1525
1469
|
//#region src/managers/mutex/types.d.ts
|
|
1526
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1527
1470
|
type WeaveMutexLockChangeEvent = {
|
|
1528
1471
|
locks: string[];
|
|
1529
1472
|
};
|
|
1530
|
-
|
|
1531
1473
|
//#endregion
|
|
1532
1474
|
//#region src/nodes/stage/stage.d.ts
|
|
1533
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1534
1475
|
declare class WeaveStageNode extends WeaveNode {
|
|
1535
1476
|
protected nodeType: string;
|
|
1536
1477
|
protected stageFocused: boolean;
|
|
@@ -1541,16 +1482,12 @@ declare class WeaveStageNode extends WeaveNode {
|
|
|
1541
1482
|
setupEvents(): void;
|
|
1542
1483
|
private isOnlyCtrlOrMeta;
|
|
1543
1484
|
}
|
|
1544
|
-
|
|
1545
1485
|
//#endregion
|
|
1546
1486
|
//#region src/nodes/stage/constants.d.ts
|
|
1547
|
-
//# sourceMappingURL=stage.d.ts.map
|
|
1548
1487
|
declare const WEAVE_STAGE_NODE_TYPE = "stage";
|
|
1549
1488
|
declare const WEAVE_STAGE_DEFAULT_MODE = "default";
|
|
1550
|
-
|
|
1551
1489
|
//#endregion
|
|
1552
1490
|
//#region src/nodes/layer/layer.d.ts
|
|
1553
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1554
1491
|
declare class WeaveLayerNode extends WeaveNode {
|
|
1555
1492
|
protected nodeType: string;
|
|
1556
1493
|
initialize: undefined;
|
|
@@ -1558,25 +1495,19 @@ declare class WeaveLayerNode extends WeaveNode {
|
|
|
1558
1495
|
onUpdate(nodeInstance: WeaveElementInstance, nextProps: WeaveElementAttributes): void;
|
|
1559
1496
|
serialize(instance: WeaveElementInstance): WeaveStateElement;
|
|
1560
1497
|
}
|
|
1561
|
-
|
|
1562
1498
|
//#endregion
|
|
1563
1499
|
//#region src/nodes/layer/constants.d.ts
|
|
1564
|
-
//# sourceMappingURL=layer.d.ts.map
|
|
1565
1500
|
declare const WEAVE_LAYER_NODE_TYPE = "layer";
|
|
1566
|
-
|
|
1567
1501
|
//#endregion
|
|
1568
1502
|
//#region src/nodes/group/types.d.ts
|
|
1569
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1570
1503
|
type WeaveGroupProperties = {
|
|
1571
1504
|
transform: WeaveNodeTransformerProperties;
|
|
1572
1505
|
};
|
|
1573
1506
|
type WeaveGroupNodeParams = {
|
|
1574
1507
|
config: Partial<WeaveGroupProperties>;
|
|
1575
1508
|
};
|
|
1576
|
-
|
|
1577
1509
|
//#endregion
|
|
1578
1510
|
//#region src/nodes/group/group.d.ts
|
|
1579
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1580
1511
|
declare class WeaveGroupNode extends WeaveNode {
|
|
1581
1512
|
private config;
|
|
1582
1513
|
protected nodeType: string;
|
|
@@ -1589,15 +1520,11 @@ declare class WeaveGroupNode extends WeaveNode {
|
|
|
1589
1520
|
serialize(instance: WeaveElementInstance): WeaveStateElement;
|
|
1590
1521
|
scaleReset(node: Konva.Group): void;
|
|
1591
1522
|
}
|
|
1592
|
-
|
|
1593
1523
|
//#endregion
|
|
1594
1524
|
//#region src/nodes/group/constants.d.ts
|
|
1595
|
-
//# sourceMappingURL=group.d.ts.map
|
|
1596
1525
|
declare const WEAVE_GROUP_NODE_TYPE = "group";
|
|
1597
|
-
|
|
1598
1526
|
//#endregion
|
|
1599
1527
|
//#region src/nodes/shared/shape-label.types.d.ts
|
|
1600
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1601
1528
|
type WeaveShapeLabelProps = {
|
|
1602
1529
|
labelText?: string;
|
|
1603
1530
|
labelFontFamily?: string;
|
|
@@ -1619,17 +1546,14 @@ type WeaveShapeLabelTextBounds = {
|
|
|
1619
1546
|
width: number;
|
|
1620
1547
|
height: number;
|
|
1621
1548
|
};
|
|
1622
|
-
|
|
1623
1549
|
//#endregion
|
|
1624
1550
|
//#region src/nodes/rectangle/types.d.ts
|
|
1625
|
-
//# sourceMappingURL=shape-label.types.d.ts.map
|
|
1626
1551
|
type WeaveRectangleProperties = {
|
|
1627
1552
|
transform: WeaveNodeTransformerProperties;
|
|
1628
1553
|
};
|
|
1629
1554
|
type WeaveRectangleNodeParams = {
|
|
1630
1555
|
config: Partial<WeaveRectangleProperties>;
|
|
1631
1556
|
};
|
|
1632
|
-
|
|
1633
1557
|
//#endregion
|
|
1634
1558
|
//#region src/nodes/rectangle/rectangle.d.ts
|
|
1635
1559
|
declare class WeaveRectangleNode extends WeaveNode {
|
|
@@ -1651,22 +1575,17 @@ declare class WeaveRectangleNode extends WeaveNode {
|
|
|
1651
1575
|
props: any;
|
|
1652
1576
|
}, z.core.$strip>;
|
|
1653
1577
|
}
|
|
1654
|
-
|
|
1655
1578
|
//#endregion
|
|
1656
1579
|
//#region src/nodes/rectangle/constants.d.ts
|
|
1657
|
-
//# sourceMappingURL=rectangle.d.ts.map
|
|
1658
1580
|
declare const WEAVE_RECTANGLE_NODE_TYPE = "rectangle";
|
|
1659
|
-
|
|
1660
1581
|
//#endregion
|
|
1661
1582
|
//#region src/nodes/ellipse/types.d.ts
|
|
1662
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1663
1583
|
type WeaveEllipseProperties = {
|
|
1664
1584
|
transform: WeaveNodeTransformerProperties;
|
|
1665
1585
|
};
|
|
1666
1586
|
type WeaveEllipseNodeParams = {
|
|
1667
1587
|
config: Partial<WeaveEllipseProperties>;
|
|
1668
1588
|
};
|
|
1669
|
-
|
|
1670
1589
|
//#endregion
|
|
1671
1590
|
//#region src/nodes/ellipse/ellipse.d.ts
|
|
1672
1591
|
declare class WeaveEllipseNode extends WeaveNode {
|
|
@@ -1691,15 +1610,11 @@ declare class WeaveEllipseNode extends WeaveNode {
|
|
|
1691
1610
|
props: any;
|
|
1692
1611
|
}, z.core.$strip>;
|
|
1693
1612
|
}
|
|
1694
|
-
|
|
1695
1613
|
//#endregion
|
|
1696
1614
|
//#region src/nodes/ellipse/constants.d.ts
|
|
1697
|
-
//# sourceMappingURL=ellipse.d.ts.map
|
|
1698
1615
|
declare const WEAVE_ELLIPSE_NODE_TYPE = "ellipse";
|
|
1699
|
-
|
|
1700
1616
|
//#endregion
|
|
1701
1617
|
//#region src/nodes/line/types.d.ts
|
|
1702
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1703
1618
|
type WeaveLineProperties = {
|
|
1704
1619
|
transform?: WeaveNodeTransformerProperties;
|
|
1705
1620
|
snapAngles: {
|
|
@@ -1711,10 +1626,8 @@ type WeaveLineProperties = {
|
|
|
1711
1626
|
type WeaveLineNodeParams = {
|
|
1712
1627
|
config: Partial<WeaveLineProperties>;
|
|
1713
1628
|
};
|
|
1714
|
-
|
|
1715
1629
|
//#endregion
|
|
1716
1630
|
//#region src/internal-utils/greedy-snapper.d.ts
|
|
1717
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1718
1631
|
interface GreedySnapConfig {
|
|
1719
1632
|
snapAngles: number[];
|
|
1720
1633
|
activateThreshold: number;
|
|
@@ -1728,10 +1641,8 @@ declare class GreedySnapper {
|
|
|
1728
1641
|
angleDiff(a: number, b: number): number;
|
|
1729
1642
|
apply(angleDeg: number): number;
|
|
1730
1643
|
}
|
|
1731
|
-
|
|
1732
1644
|
//#endregion
|
|
1733
1645
|
//#region src/nodes/line/line.d.ts
|
|
1734
|
-
//# sourceMappingURL=greedy-snapper.d.ts.map
|
|
1735
1646
|
declare class WeaveLineNode extends WeaveNode {
|
|
1736
1647
|
private config;
|
|
1737
1648
|
protected readonly snapper: GreedySnapper;
|
|
@@ -1750,10 +1661,8 @@ declare class WeaveLineNode extends WeaveNode {
|
|
|
1750
1661
|
scaleReset(node: Konva.Line): void;
|
|
1751
1662
|
private getParentPosition;
|
|
1752
1663
|
}
|
|
1753
|
-
|
|
1754
1664
|
//#endregion
|
|
1755
1665
|
//#region src/nodes/line/constants.d.ts
|
|
1756
|
-
//# sourceMappingURL=line.d.ts.map
|
|
1757
1666
|
declare const WEAVE_LINE_NODE_TYPE = "line";
|
|
1758
1667
|
declare const WEAVE_LINE_NODE_DEFAULT_CONFIG: {
|
|
1759
1668
|
snapAngles: {
|
|
@@ -1762,23 +1671,19 @@ declare const WEAVE_LINE_NODE_DEFAULT_CONFIG: {
|
|
|
1762
1671
|
releaseThreshold: number;
|
|
1763
1672
|
};
|
|
1764
1673
|
};
|
|
1765
|
-
|
|
1766
1674
|
//#endregion
|
|
1767
1675
|
//#region src/nodes/text/constants.d.ts
|
|
1768
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1769
1676
|
declare const WEAVE_TEXT_NODE_TYPE = "text";
|
|
1770
1677
|
declare const WEAVE_STAGE_TEXT_EDITION_MODE = "text-edition";
|
|
1771
|
-
declare const WEAVE_TEXT_NODE_DEFAULT_CONFIG: WeaveTextProperties
|
|
1678
|
+
declare const WEAVE_TEXT_NODE_DEFAULT_CONFIG: WeaveTextProperties;
|
|
1772
1679
|
declare const TEXT_LAYOUT: {
|
|
1773
1680
|
readonly SMART: "smart";
|
|
1774
1681
|
readonly AUTO_ALL: "auto-all";
|
|
1775
1682
|
readonly AUTO_HEIGHT: "auto-height";
|
|
1776
1683
|
readonly FIXED: "fixed";
|
|
1777
1684
|
};
|
|
1778
|
-
|
|
1779
1685
|
//#endregion
|
|
1780
1686
|
//#region src/nodes/text/types.d.ts
|
|
1781
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1782
1687
|
type TextSerializable = Konva.TextConfig & NodeSerializable & {
|
|
1783
1688
|
type: 'text';
|
|
1784
1689
|
id: string;
|
|
@@ -1796,14 +1701,14 @@ type WeaveTextOutlineProperties = {
|
|
|
1796
1701
|
} | {
|
|
1797
1702
|
enabled: false;
|
|
1798
1703
|
};
|
|
1799
|
-
type WeaveTextProperties
|
|
1704
|
+
type WeaveTextProperties = {
|
|
1800
1705
|
transform: WeaveNodeTransformerProperties;
|
|
1801
1706
|
outline: WeaveTextOutlineProperties;
|
|
1802
1707
|
edition: WeaveTextEditionProperties;
|
|
1803
1708
|
cursor: WeaveTextCursorProperties;
|
|
1804
1709
|
};
|
|
1805
1710
|
type WeaveTextNodeParams = {
|
|
1806
|
-
config: DeepPartial<WeaveTextProperties
|
|
1711
|
+
config: DeepPartial<WeaveTextProperties>;
|
|
1807
1712
|
};
|
|
1808
1713
|
type WeaveTextNodeOnEnterTextNodeEditMode = {
|
|
1809
1714
|
node: Konva.Text;
|
|
@@ -1813,10 +1718,8 @@ type WeaveTextNodeOnExitTextNodeEditMode = {
|
|
|
1813
1718
|
};
|
|
1814
1719
|
type WeaveTextLayoutKeys = keyof typeof TEXT_LAYOUT;
|
|
1815
1720
|
type WeaveTextLayout = (typeof TEXT_LAYOUT)[WeaveTextLayoutKeys];
|
|
1816
|
-
|
|
1817
1721
|
//#endregion
|
|
1818
1722
|
//#region src/nodes/text/text.d.ts
|
|
1819
|
-
//# sourceMappingURL=types.d.ts.map
|
|
1820
1723
|
declare class WeaveTextNode extends WeaveNode {
|
|
1821
1724
|
private config;
|
|
1822
1725
|
protected nodeType: string;
|
|
@@ -1909,10 +1812,8 @@ declare class WeaveTextNode extends WeaveNode {
|
|
|
1909
1812
|
}, z.core.$strip>;
|
|
1910
1813
|
}, z.core.$strip>;
|
|
1911
1814
|
}
|
|
1912
|
-
|
|
1913
1815
|
//#endregion
|
|
1914
1816
|
//#region src/nodes/image/constants.d.ts
|
|
1915
|
-
//# sourceMappingURL=text.d.ts.map
|
|
1916
1817
|
declare const WEAVE_IMAGE_NODE_TYPE = "image";
|
|
1917
1818
|
declare const WEAVE_STAGE_IMAGE_CROPPING_MODE = "image-cropping";
|
|
1918
1819
|
declare const WEAVE_IMAGE_CROP_END_TYPE: {
|
|
@@ -1930,10 +1831,8 @@ declare const WEAVE_IMAGE_CROP_ANCHOR_POSITION: {
|
|
|
1930
1831
|
readonly BOTTOM_CENTER: "bottom-center";
|
|
1931
1832
|
};
|
|
1932
1833
|
declare const WEAVE_IMAGE_DEFAULT_CONFIG: WeaveImageProperties;
|
|
1933
|
-
|
|
1934
1834
|
//#endregion
|
|
1935
1835
|
//#region src/nodes/image/types.d.ts
|
|
1936
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
1937
1836
|
type ImageProps = WeaveElementAttributes & {
|
|
1938
1837
|
id: string;
|
|
1939
1838
|
width?: number;
|
|
@@ -2028,10 +1927,8 @@ type WeaveImageTriggerCropOptions = {
|
|
|
2028
1927
|
triggered: false;
|
|
2029
1928
|
};
|
|
2030
1929
|
};
|
|
2031
|
-
|
|
2032
1930
|
//#endregion
|
|
2033
1931
|
//#region src/nodes/image/crop.d.ts
|
|
2034
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2035
1932
|
declare class WeaveImageCrop {
|
|
2036
1933
|
private instance;
|
|
2037
1934
|
private image;
|
|
@@ -2068,10 +1965,8 @@ declare class WeaveImageCrop {
|
|
|
2068
1965
|
private closestPointOnLine;
|
|
2069
1966
|
private getNodesSelectionPlugin;
|
|
2070
1967
|
}
|
|
2071
|
-
|
|
2072
1968
|
//#endregion
|
|
2073
1969
|
//#region src/nodes/image/image.d.ts
|
|
2074
|
-
//# sourceMappingURL=crop.d.ts.map
|
|
2075
1970
|
declare class WeaveImageNode extends WeaveNode {
|
|
2076
1971
|
protected config: WeaveImageProperties;
|
|
2077
1972
|
protected imageBitmapCache: Record<string, ImageBitmap>;
|
|
@@ -2115,18 +2010,12 @@ declare class WeaveImageNode extends WeaveNode {
|
|
|
2115
2010
|
private renderCropAnchors;
|
|
2116
2011
|
renderCropMode(layer: Konva.Layer, node: Konva.Group): void;
|
|
2117
2012
|
onUpdate(nodeInstance: WeaveElementInstance, nextProps: WeaveElementAttributes): void;
|
|
2118
|
-
preloadFallbackImage(imageId: string, imageURL: string, {
|
|
2119
|
-
onLoad,
|
|
2120
|
-
onError
|
|
2121
|
-
}: {
|
|
2013
|
+
preloadFallbackImage(imageId: string, imageURL: string, { onLoad, onError }: {
|
|
2122
2014
|
onLoad: () => void;
|
|
2123
2015
|
onError: (error: Error) => void;
|
|
2124
2016
|
node?: Konva.Group;
|
|
2125
2017
|
}): void;
|
|
2126
|
-
preloadImage(imageId: string, imageURL: string, {
|
|
2127
|
-
onLoad,
|
|
2128
|
-
onError
|
|
2129
|
-
}: {
|
|
2018
|
+
preloadImage(imageId: string, imageURL: string, { onLoad, onError }: {
|
|
2130
2019
|
onLoad: () => void;
|
|
2131
2020
|
onError: (error: Error) => void;
|
|
2132
2021
|
node?: Konva.Group;
|
|
@@ -2155,20 +2044,16 @@ declare class WeaveImageNode extends WeaveNode {
|
|
|
2155
2044
|
props: any;
|
|
2156
2045
|
}, z.core.$strip>;
|
|
2157
2046
|
}
|
|
2158
|
-
|
|
2159
2047
|
//#endregion
|
|
2160
2048
|
//#region src/nodes/star/types.d.ts
|
|
2161
|
-
//# sourceMappingURL=image.d.ts.map
|
|
2162
2049
|
type WeaveStarProperties = {
|
|
2163
2050
|
transform: WeaveNodeTransformerProperties;
|
|
2164
2051
|
};
|
|
2165
2052
|
type WeaveStarNodeParams = {
|
|
2166
2053
|
config: Partial<WeaveStarProperties>;
|
|
2167
2054
|
};
|
|
2168
|
-
|
|
2169
2055
|
//#endregion
|
|
2170
2056
|
//#region src/nodes/star/star.d.ts
|
|
2171
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2172
2057
|
declare class WeaveStarNode extends WeaveNode {
|
|
2173
2058
|
private config;
|
|
2174
2059
|
protected nodeType: string;
|
|
@@ -2187,25 +2072,19 @@ declare class WeaveStarNode extends WeaveNode {
|
|
|
2187
2072
|
props: any;
|
|
2188
2073
|
}, z.core.$strip>;
|
|
2189
2074
|
}
|
|
2190
|
-
|
|
2191
2075
|
//#endregion
|
|
2192
2076
|
//#region src/nodes/star/constants.d.ts
|
|
2193
|
-
//# sourceMappingURL=star.d.ts.map
|
|
2194
2077
|
declare const WEAVE_STAR_NODE_TYPE = "star";
|
|
2195
|
-
|
|
2196
2078
|
//#endregion
|
|
2197
2079
|
//#region src/nodes/arrow/types.d.ts
|
|
2198
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2199
2080
|
type WeaveArrowProperties = {
|
|
2200
2081
|
transform: WeaveNodeTransformerProperties;
|
|
2201
2082
|
};
|
|
2202
2083
|
type WeaveArrowNodeParams = {
|
|
2203
2084
|
config: Partial<WeaveArrowProperties>;
|
|
2204
2085
|
};
|
|
2205
|
-
|
|
2206
2086
|
//#endregion
|
|
2207
2087
|
//#region src/nodes/arrow/arrow.d.ts
|
|
2208
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2209
2088
|
declare class WeaveArrowNode extends WeaveNode {
|
|
2210
2089
|
private config;
|
|
2211
2090
|
protected nodeType: string;
|
|
@@ -2215,22 +2094,17 @@ declare class WeaveArrowNode extends WeaveNode {
|
|
|
2215
2094
|
onUpdate(nodeInstance: WeaveElementInstance, nextProps: WeaveElementAttributes): void;
|
|
2216
2095
|
scaleReset(node: Konva.Arrow): void;
|
|
2217
2096
|
}
|
|
2218
|
-
|
|
2219
2097
|
//#endregion
|
|
2220
2098
|
//#region src/nodes/arrow/constants.d.ts
|
|
2221
|
-
//# sourceMappingURL=arrow.d.ts.map
|
|
2222
2099
|
declare const WEAVE_ARROW_NODE_TYPE = "arrow";
|
|
2223
|
-
|
|
2224
2100
|
//#endregion
|
|
2225
2101
|
//#region src/nodes/regular-polygon/types.d.ts
|
|
2226
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2227
2102
|
type WeaveRegularPolygonProperties = {
|
|
2228
2103
|
transform: WeaveNodeTransformerProperties;
|
|
2229
2104
|
};
|
|
2230
2105
|
type WeaveRegularPolygonNodeParams = {
|
|
2231
2106
|
config: Partial<WeaveRegularPolygonProperties>;
|
|
2232
2107
|
};
|
|
2233
|
-
|
|
2234
2108
|
//#endregion
|
|
2235
2109
|
//#region src/nodes/regular-polygon/regular-polygon.d.ts
|
|
2236
2110
|
declare class WeaveRegularPolygonNode extends WeaveNode {
|
|
@@ -2251,15 +2125,11 @@ declare class WeaveRegularPolygonNode extends WeaveNode {
|
|
|
2251
2125
|
props: any;
|
|
2252
2126
|
}, z.core.$strip>;
|
|
2253
2127
|
}
|
|
2254
|
-
|
|
2255
2128
|
//#endregion
|
|
2256
2129
|
//#region src/nodes/regular-polygon/constants.d.ts
|
|
2257
|
-
//# sourceMappingURL=regular-polygon.d.ts.map
|
|
2258
2130
|
declare const WEAVE_REGULAR_POLYGON_NODE_TYPE = "regular-polygon";
|
|
2259
|
-
|
|
2260
2131
|
//#endregion
|
|
2261
2132
|
//#region src/nodes/polygon/types.d.ts
|
|
2262
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2263
2133
|
type WeavePolygonPoint = {
|
|
2264
2134
|
x: number;
|
|
2265
2135
|
y: number;
|
|
@@ -2276,10 +2146,8 @@ type WeavePolygonProperties = {
|
|
|
2276
2146
|
type WeavePolygonNodeParams = {
|
|
2277
2147
|
config: Partial<WeavePolygonProperties>;
|
|
2278
2148
|
};
|
|
2279
|
-
|
|
2280
2149
|
//#endregion
|
|
2281
2150
|
//#region src/nodes/polygon/polygon.d.ts
|
|
2282
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2283
2151
|
declare class WeavePolygonNode extends WeaveNode {
|
|
2284
2152
|
private readonly config;
|
|
2285
2153
|
protected nodeType: string;
|
|
@@ -2305,15 +2173,11 @@ declare class WeavePolygonNode extends WeaveNode {
|
|
|
2305
2173
|
props: any;
|
|
2306
2174
|
}, z.core.$strip>;
|
|
2307
2175
|
}
|
|
2308
|
-
|
|
2309
2176
|
//#endregion
|
|
2310
2177
|
//#region src/nodes/polygon/constants.d.ts
|
|
2311
|
-
//# sourceMappingURL=polygon.d.ts.map
|
|
2312
2178
|
declare const WEAVE_POLYGON_NODE_TYPE = "polygon";
|
|
2313
|
-
|
|
2314
2179
|
//#endregion
|
|
2315
2180
|
//#region src/nodes/polygon/presets.d.ts
|
|
2316
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2317
2181
|
type NormalizedPoint = {
|
|
2318
2182
|
x: number;
|
|
2319
2183
|
y: number;
|
|
@@ -2350,7 +2214,6 @@ declare function instantiatePreset(def: WeavePolygonPresetDef, width: number, he
|
|
|
2350
2214
|
width: number;
|
|
2351
2215
|
height: number;
|
|
2352
2216
|
};
|
|
2353
|
-
|
|
2354
2217
|
//#endregion
|
|
2355
2218
|
//#region src/nodes/frame/types.d.ts
|
|
2356
2219
|
type WeaveFrameProperties = {
|
|
@@ -2376,10 +2239,8 @@ type WeaveFrameAttributes = WeaveElementAttributes & {
|
|
|
2376
2239
|
type WeaveFrameNodeParams = {
|
|
2377
2240
|
config: Partial<WeaveFrameProperties>;
|
|
2378
2241
|
};
|
|
2379
|
-
|
|
2380
2242
|
//#endregion
|
|
2381
2243
|
//#region src/nodes/frame/frame.d.ts
|
|
2382
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2383
2244
|
declare class WeaveFrameNode extends WeaveNode {
|
|
2384
2245
|
private config;
|
|
2385
2246
|
protected nodeType: string;
|
|
@@ -2399,10 +2260,8 @@ declare class WeaveFrameNode extends WeaveNode {
|
|
|
2399
2260
|
props: any;
|
|
2400
2261
|
}, z.core.$strip>;
|
|
2401
2262
|
}
|
|
2402
|
-
|
|
2403
2263
|
//#endregion
|
|
2404
2264
|
//#region src/nodes/frame/constants.d.ts
|
|
2405
|
-
//# sourceMappingURL=frame.d.ts.map
|
|
2406
2265
|
declare const WEAVE_FRAME_NODE_TYPE = "frame";
|
|
2407
2266
|
declare const WEAVE_FRAME_NODE_DEFAULT_CONFIG: {
|
|
2408
2267
|
fontFamily: string;
|
|
@@ -2431,10 +2290,8 @@ declare const WEAVE_FRAME_NODE_DEFAULT_PROPS: {
|
|
|
2431
2290
|
frameHeight: number;
|
|
2432
2291
|
frameBackground: string;
|
|
2433
2292
|
};
|
|
2434
|
-
|
|
2435
2293
|
//#endregion
|
|
2436
2294
|
//#region src/nodes/stroke/types.d.ts
|
|
2437
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2438
2295
|
type WeaveStrokeProperties = {
|
|
2439
2296
|
splineResolution: number;
|
|
2440
2297
|
resamplingSpacing: number;
|
|
@@ -2449,10 +2306,8 @@ type WeaveStrokePoint = {
|
|
|
2449
2306
|
y: number;
|
|
2450
2307
|
pressure: number;
|
|
2451
2308
|
};
|
|
2452
|
-
|
|
2453
2309
|
//#endregion
|
|
2454
2310
|
//#region src/nodes/stroke/stroke.d.ts
|
|
2455
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2456
2311
|
declare class WeaveStrokeNode extends WeaveNode {
|
|
2457
2312
|
private readonly config;
|
|
2458
2313
|
protected nodeType: string;
|
|
@@ -2475,26 +2330,20 @@ declare class WeaveStrokeNode extends WeaveNode {
|
|
|
2475
2330
|
scaleReset(node: Konva.Node): void;
|
|
2476
2331
|
serialize(instance: WeaveElementInstance): WeaveStateElement;
|
|
2477
2332
|
}
|
|
2478
|
-
|
|
2479
2333
|
//#endregion
|
|
2480
2334
|
//#region src/nodes/stroke/constants.d.ts
|
|
2481
|
-
//# sourceMappingURL=stroke.d.ts.map
|
|
2482
2335
|
declare const WEAVE_STROKE_NODE_TYPE = "stroke";
|
|
2483
2336
|
declare const WEAVE_STROKE_NODE_DEFAULT_CONFIG: {
|
|
2484
2337
|
splineResolution: number;
|
|
2485
2338
|
resamplingSpacing: number;
|
|
2486
2339
|
isEraser: boolean;
|
|
2487
2340
|
};
|
|
2488
|
-
|
|
2489
2341
|
//#endregion
|
|
2490
2342
|
//#region src/backend.d.ts
|
|
2491
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2492
2343
|
declare const setupSkiaBackend: () => Promise<void>;
|
|
2493
2344
|
declare const setupCanvasBackend: () => Promise<void>;
|
|
2494
|
-
|
|
2495
2345
|
//#endregion
|
|
2496
2346
|
//#region src/nodes/stroke-single/types.d.ts
|
|
2497
|
-
//# sourceMappingURL=backend.d.ts.map
|
|
2498
2347
|
type WeaveStrokeSingleProperties = {
|
|
2499
2348
|
transform?: WeaveNodeTransformerProperties;
|
|
2500
2349
|
snapAngles: {
|
|
@@ -2508,10 +2357,8 @@ type WeaveStrokeSingleNodeParams = {
|
|
|
2508
2357
|
};
|
|
2509
2358
|
type WeaveStrokeSingleNodeTipSideKeys = keyof typeof WEAVE_STROKE_SINGLE_NODE_TIP_SIDE;
|
|
2510
2359
|
type WeaveStrokeSingleNodeTipSide = (typeof WEAVE_STROKE_SINGLE_NODE_TIP_SIDE)[WeaveStrokeSingleNodeTipSideKeys];
|
|
2511
|
-
|
|
2512
2360
|
//#endregion
|
|
2513
2361
|
//#region src/nodes/stroke-single/base.line-tip-manager.d.ts
|
|
2514
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2515
2362
|
declare class WeaveBaseLineTipManager {
|
|
2516
2363
|
constructor();
|
|
2517
2364
|
protected capitalizeFirst(str: string): string;
|
|
@@ -2519,16 +2366,14 @@ declare class WeaveBaseLineTipManager {
|
|
|
2519
2366
|
render(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): void;
|
|
2520
2367
|
update(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): void;
|
|
2521
2368
|
protected getTip(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): Konva.Node | undefined;
|
|
2522
|
-
protected getInternalLine(instance: Konva.Group):
|
|
2369
|
+
protected getInternalLine(instance: Konva.Group): import("konva/lib/shapes/Line").Line<import("konva/lib/shapes/Line").LineConfig> | undefined;
|
|
2523
2370
|
protected getLinePoints(instance: Konva.Group): {
|
|
2524
|
-
lineStartPoint:
|
|
2525
|
-
lineEndPoint:
|
|
2371
|
+
lineStartPoint: import("konva/lib/types").Vector2d;
|
|
2372
|
+
lineEndPoint: import("konva/lib/types").Vector2d;
|
|
2526
2373
|
};
|
|
2527
2374
|
}
|
|
2528
|
-
|
|
2529
2375
|
//#endregion
|
|
2530
2376
|
//#region src/nodes/stroke-single/stroke-single.d.ts
|
|
2531
|
-
//# sourceMappingURL=base.line-tip-manager.d.ts.map
|
|
2532
2377
|
declare class WeaveStrokeSingleNode extends WeaveNode {
|
|
2533
2378
|
private config;
|
|
2534
2379
|
protected startHandle: Konva.Circle | null;
|
|
@@ -2564,10 +2409,8 @@ declare class WeaveStrokeSingleNode extends WeaveNode {
|
|
|
2564
2409
|
props: any;
|
|
2565
2410
|
}, z.core.$strip>;
|
|
2566
2411
|
}
|
|
2567
|
-
|
|
2568
2412
|
//#endregion
|
|
2569
2413
|
//#region src/nodes/stroke-single/constants.d.ts
|
|
2570
|
-
//# sourceMappingURL=stroke-single.d.ts.map
|
|
2571
2414
|
declare const WEAVE_STROKE_SINGLE_NODE_TYPE = "stroke-single";
|
|
2572
2415
|
declare const WEAVE_STROKE_SINGLE_NODE_DEFAULT_CONFIG: {
|
|
2573
2416
|
snapAngles: {
|
|
@@ -2586,10 +2429,8 @@ declare const WEAVE_STROKE_SINGLE_NODE_TIP_SIDE: {
|
|
|
2586
2429
|
START: string;
|
|
2587
2430
|
END: string;
|
|
2588
2431
|
};
|
|
2589
|
-
|
|
2590
2432
|
//#endregion
|
|
2591
2433
|
//#region src/nodes/comment/constants.d.ts
|
|
2592
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2593
2434
|
declare const WEAVE_COMMENT_STATUS: {
|
|
2594
2435
|
readonly PENDING: "pending";
|
|
2595
2436
|
readonly RESOLVED: "resolved";
|
|
@@ -2671,10 +2512,8 @@ declare const WEAVE_COMMENT_NODE_DEFAULTS: {
|
|
|
2671
2512
|
};
|
|
2672
2513
|
formatDate: (date: string) => string;
|
|
2673
2514
|
};
|
|
2674
|
-
|
|
2675
2515
|
//#endregion
|
|
2676
2516
|
//#region src/nodes/comment/types.d.ts
|
|
2677
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2678
2517
|
type WeaveCommentNodeCreateActionKeys = keyof typeof WEAVE_COMMENT_CREATE_ACTION;
|
|
2679
2518
|
type WeaveCommentNodeCreateAction = (typeof WEAVE_COMMENT_CREATE_ACTION)[WeaveCommentNodeCreateActionKeys];
|
|
2680
2519
|
type WeaveCommentNodeViewActionKeys = keyof typeof WEAVE_COMMENT_VIEW_ACTION;
|
|
@@ -2777,10 +2616,8 @@ type WeaveCommentNodeOnViewEvent = {
|
|
|
2777
2616
|
type WeaveCommentNodeOnDragEndEvent = {
|
|
2778
2617
|
node: WeaveElementInstance;
|
|
2779
2618
|
};
|
|
2780
|
-
|
|
2781
2619
|
//#endregion
|
|
2782
2620
|
//#region src/nodes/comment/comment.d.ts
|
|
2783
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2784
2621
|
declare class WeaveCommentNode<T> extends WeaveNode {
|
|
2785
2622
|
protected nodeType: string;
|
|
2786
2623
|
protected config: WeaveCommentNodeConfig<T>;
|
|
@@ -2790,7 +2627,7 @@ declare class WeaveCommentNode<T> extends WeaveNode {
|
|
|
2790
2627
|
protected showResolved: boolean;
|
|
2791
2628
|
constructor(params: WeaveCommentNodeParams<T>);
|
|
2792
2629
|
initialize(): void;
|
|
2793
|
-
onRender(props: WeaveElementAttributes):
|
|
2630
|
+
onRender(props: WeaveElementAttributes): import("konva/lib/Group").Group;
|
|
2794
2631
|
onUpdate(nodeInstance: WeaveElementInstance, nextProps: WeaveElementAttributes): void;
|
|
2795
2632
|
onDestroy(nodeInstance: WeaveElementInstance): void;
|
|
2796
2633
|
private expandNode;
|
|
@@ -2811,10 +2648,8 @@ declare class WeaveCommentNode<T> extends WeaveNode {
|
|
|
2811
2648
|
getCommentId(node: WeaveElementInstance): string;
|
|
2812
2649
|
setShowResolved(show: boolean): void;
|
|
2813
2650
|
}
|
|
2814
|
-
|
|
2815
2651
|
//#endregion
|
|
2816
2652
|
//#region src/nodes/video/types.d.ts
|
|
2817
|
-
//# sourceMappingURL=comment.d.ts.map
|
|
2818
2653
|
type VideoProps = WeaveElementAttributes & {
|
|
2819
2654
|
id: string;
|
|
2820
2655
|
width: number;
|
|
@@ -2887,10 +2722,8 @@ type WeaveVideoOnVideoPauseEvent = {
|
|
|
2887
2722
|
type WeaveVideoOnVideoStopEvent = {
|
|
2888
2723
|
nodeId: string;
|
|
2889
2724
|
};
|
|
2890
|
-
|
|
2891
2725
|
//#endregion
|
|
2892
2726
|
//#region src/nodes/video/video.d.ts
|
|
2893
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2894
2727
|
declare class WeaveVideoNode extends WeaveNode {
|
|
2895
2728
|
private config;
|
|
2896
2729
|
private videoIconImage;
|
|
@@ -2919,16 +2752,12 @@ declare class WeaveVideoNode extends WeaveNode {
|
|
|
2919
2752
|
scaleReset(node: Konva.Group): void;
|
|
2920
2753
|
getIsAsync(): boolean;
|
|
2921
2754
|
}
|
|
2922
|
-
|
|
2923
2755
|
//#endregion
|
|
2924
2756
|
//#region src/nodes/video/constants.d.ts
|
|
2925
|
-
//# sourceMappingURL=video.d.ts.map
|
|
2926
2757
|
declare const WEAVE_VIDEO_NODE_TYPE = "video";
|
|
2927
2758
|
declare const WEAVE_VIDEO_DEFAULT_CONFIG: WeaveVideoProperties;
|
|
2928
|
-
|
|
2929
2759
|
//#endregion
|
|
2930
2760
|
//#region src/nodes/measure/types.d.ts
|
|
2931
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2932
2761
|
type WeaveMeasureNodeProperties = {
|
|
2933
2762
|
style: {
|
|
2934
2763
|
separationLine: {
|
|
@@ -2961,10 +2790,8 @@ type WeaveMeasureNodeProperties = {
|
|
|
2961
2790
|
type WeaveMeasureNodeParams = {
|
|
2962
2791
|
config: DeepPartial<WeaveMeasureNodeProperties>;
|
|
2963
2792
|
};
|
|
2964
|
-
|
|
2965
2793
|
//#endregion
|
|
2966
2794
|
//#region src/nodes/measure/measure.d.ts
|
|
2967
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2968
2795
|
declare class WeaveMeasureNode extends WeaveNode {
|
|
2969
2796
|
private readonly config;
|
|
2970
2797
|
protected nodeType: string;
|
|
@@ -2988,16 +2815,12 @@ declare class WeaveMeasureNode extends WeaveNode {
|
|
|
2988
2815
|
flipOrientation(node: Konva.Group): void;
|
|
2989
2816
|
getNormalizedDistance(node: Konva.Group): number;
|
|
2990
2817
|
}
|
|
2991
|
-
|
|
2992
2818
|
//#endregion
|
|
2993
2819
|
//#region src/nodes/measure/constants.d.ts
|
|
2994
|
-
//# sourceMappingURL=measure.d.ts.map
|
|
2995
2820
|
declare const WEAVE_MEASURE_NODE_TYPE = "measure";
|
|
2996
2821
|
declare const WEAVE_MEASURE_NODE_DEFAULT_CONFIG: WeaveMeasureNodeProperties;
|
|
2997
|
-
|
|
2998
2822
|
//#endregion
|
|
2999
2823
|
//#region src/nodes/connector/constants.d.ts
|
|
3000
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3001
2824
|
declare const WEAVE_CONNECTOR_NODE_TYPE = "connector";
|
|
3002
2825
|
declare const WEAVE_CONNECTOR_NODE_ANCHOR_ORIGIN: {
|
|
3003
2826
|
TOP: string;
|
|
@@ -3020,10 +2843,8 @@ declare const WEAVE_CONNECTOR_NODE_LINE_TYPE: {
|
|
|
3020
2843
|
CURVED: string;
|
|
3021
2844
|
};
|
|
3022
2845
|
declare const WEAVE_CONNECTOR_NODE_DEFAULT_CONFIG: WeaveConnectorNodeProperties;
|
|
3023
|
-
|
|
3024
2846
|
//#endregion
|
|
3025
2847
|
//#region src/nodes/connector/types.d.ts
|
|
3026
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3027
2848
|
type WeaveConnectorNodeLineTypeKeys = keyof typeof WEAVE_CONNECTOR_NODE_LINE_TYPE;
|
|
3028
2849
|
type WeaveConnectorNodeLineType = (typeof WEAVE_CONNECTOR_NODE_LINE_TYPE)[WeaveConnectorNodeLineTypeKeys];
|
|
3029
2850
|
type WeaveConnectorNodeDecoratorTypeKeys = keyof typeof WEAVE_CONNECTOR_NODE_DECORATOR_TYPE;
|
|
@@ -3104,10 +2925,8 @@ type WeaveConnectorNodeInfo = {
|
|
|
3104
2925
|
point: Konva.Vector2d;
|
|
3105
2926
|
};
|
|
3106
2927
|
type WeaveConnectorNodeAnchorPosition = 'top' | 'bottom' | 'left' | 'right';
|
|
3107
|
-
|
|
3108
2928
|
//#endregion
|
|
3109
2929
|
//#region src/nodes/connector/connector.d.ts
|
|
3110
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3111
2930
|
declare class WeaveConnectorNode extends WeaveNode {
|
|
3112
2931
|
private readonly config;
|
|
3113
2932
|
protected nodeType: string;
|
|
@@ -3138,18 +2957,13 @@ declare class WeaveConnectorNode extends WeaveNode {
|
|
|
3138
2957
|
private readonly stageToGroupPoints;
|
|
3139
2958
|
getIsAsync(): boolean;
|
|
3140
2959
|
}
|
|
3141
|
-
|
|
3142
2960
|
//#endregion
|
|
3143
2961
|
//#region src/nodes/shared/shape-label.constants.d.ts
|
|
3144
|
-
//# sourceMappingURL=connector.d.ts.map
|
|
3145
2962
|
declare const WEAVE_STAGE_SHAPE_LABEL_EDITION_MODE = "shape-label-edition";
|
|
3146
2963
|
declare const WEAVE_SHAPE_LABEL_DEFAULTS: Required<WeaveShapeLabelProps>;
|
|
3147
2964
|
declare const labelId: (id: string) => string;
|
|
3148
|
-
|
|
3149
2965
|
//#endregion
|
|
3150
2966
|
//#region src/nodes/shared/shape-label.utils.d.ts
|
|
3151
|
-
//# sourceMappingURL=shape-label.constants.d.ts.map
|
|
3152
|
-
|
|
3153
2967
|
/**
|
|
3154
2968
|
* Returns a partial props object containing only the label-related fields that
|
|
3155
2969
|
* are explicitly set on `props`. Spread this into the `props` section of
|
|
@@ -3224,17 +3038,13 @@ declare function computePolygonLabelMinSize(stage: Konva.Stage, group: Konva.Gro
|
|
|
3224
3038
|
width: number;
|
|
3225
3039
|
height: number;
|
|
3226
3040
|
};
|
|
3227
|
-
|
|
3228
3041
|
//#endregion
|
|
3229
3042
|
//#region src/actions/zoom-out-tool/types.d.ts
|
|
3230
|
-
//# sourceMappingURL=shape-label.utils.d.ts.map
|
|
3231
3043
|
type WeaveZoomOutToolActionParams = {
|
|
3232
3044
|
previousAction: string;
|
|
3233
3045
|
};
|
|
3234
|
-
|
|
3235
3046
|
//#endregion
|
|
3236
3047
|
//#region src/actions/zoom-out-tool/zoom-out-tool.d.ts
|
|
3237
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3238
3048
|
declare class WeaveZoomOutToolAction extends WeaveAction {
|
|
3239
3049
|
protected previousAction: string;
|
|
3240
3050
|
protected cancelAction: () => void;
|
|
@@ -3246,17 +3056,13 @@ declare class WeaveZoomOutToolAction extends WeaveAction {
|
|
|
3246
3056
|
trigger(cancelAction: () => void, params: WeaveZoomOutToolActionParams): void;
|
|
3247
3057
|
cleanup(): void;
|
|
3248
3058
|
}
|
|
3249
|
-
|
|
3250
3059
|
//#endregion
|
|
3251
3060
|
//#region src/actions/zoom-in-tool/types.d.ts
|
|
3252
|
-
//# sourceMappingURL=zoom-out-tool.d.ts.map
|
|
3253
3061
|
type WeaveZoomInToolActionParams = {
|
|
3254
3062
|
previousAction: string;
|
|
3255
3063
|
};
|
|
3256
|
-
|
|
3257
3064
|
//#endregion
|
|
3258
3065
|
//#region src/actions/zoom-in-tool/zoom-in-tool.d.ts
|
|
3259
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3260
3066
|
declare class WeaveZoomInToolAction extends WeaveAction {
|
|
3261
3067
|
protected previousAction: string;
|
|
3262
3068
|
protected cancelAction: () => void;
|
|
@@ -3269,18 +3075,14 @@ declare class WeaveZoomInToolAction extends WeaveAction {
|
|
|
3269
3075
|
trigger(cancelAction: () => void, params: WeaveZoomInToolActionParams): void;
|
|
3270
3076
|
cleanup(): void;
|
|
3271
3077
|
}
|
|
3272
|
-
|
|
3273
3078
|
//#endregion
|
|
3274
3079
|
//#region src/actions/fit-to-screen-tool/types.d.ts
|
|
3275
|
-
//# sourceMappingURL=zoom-in-tool.d.ts.map
|
|
3276
3080
|
type WeaveFitToScreenToolActionParams = {
|
|
3277
3081
|
previousAction: string;
|
|
3278
3082
|
overrideZoom?: boolean;
|
|
3279
3083
|
};
|
|
3280
|
-
|
|
3281
3084
|
//#endregion
|
|
3282
3085
|
//#region src/actions/fit-to-screen-tool/fit-to-screen-tool.d.ts
|
|
3283
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3284
3086
|
declare class WeaveFitToScreenToolAction extends WeaveAction {
|
|
3285
3087
|
protected previousAction: string;
|
|
3286
3088
|
protected cancelAction: () => void;
|
|
@@ -3293,19 +3095,15 @@ declare class WeaveFitToScreenToolAction extends WeaveAction {
|
|
|
3293
3095
|
trigger(cancelAction: () => void, params: WeaveFitToScreenToolActionParams): void;
|
|
3294
3096
|
cleanup(): void;
|
|
3295
3097
|
}
|
|
3296
|
-
|
|
3297
3098
|
//#endregion
|
|
3298
3099
|
//#region src/actions/fit-to-selection-tool/types.d.ts
|
|
3299
|
-
//# sourceMappingURL=fit-to-screen-tool.d.ts.map
|
|
3300
3100
|
type WeaveFitToSelectionToolActionParams = {
|
|
3301
3101
|
previousAction: string;
|
|
3302
3102
|
smartZoom?: boolean;
|
|
3303
3103
|
overrideZoom?: boolean;
|
|
3304
3104
|
};
|
|
3305
|
-
|
|
3306
3105
|
//#endregion
|
|
3307
3106
|
//#region src/actions/fit-to-selection-tool/fit-to-selection-tool.d.ts
|
|
3308
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3309
3107
|
declare class WeaveFitToSelectionToolAction extends WeaveAction {
|
|
3310
3108
|
protected previousAction: string;
|
|
3311
3109
|
protected cancelAction: () => void;
|
|
@@ -3319,28 +3117,22 @@ declare class WeaveFitToSelectionToolAction extends WeaveAction {
|
|
|
3319
3117
|
trigger(cancelAction: () => void, params: WeaveFitToSelectionToolActionParams): void;
|
|
3320
3118
|
cleanup(): void;
|
|
3321
3119
|
}
|
|
3322
|
-
|
|
3323
3120
|
//#endregion
|
|
3324
3121
|
//#region src/actions/move-tool/constants.d.ts
|
|
3325
|
-
//# sourceMappingURL=fit-to-selection-tool.d.ts.map
|
|
3326
3122
|
declare const MOVE_TOOL_ACTION_NAME = "moveTool";
|
|
3327
3123
|
declare const MOVE_TOOL_STATE: {
|
|
3328
3124
|
readonly IDLE: "idle";
|
|
3329
3125
|
readonly MOVING: "moving";
|
|
3330
3126
|
};
|
|
3331
|
-
|
|
3332
3127
|
//#endregion
|
|
3333
3128
|
//#region src/actions/move-tool/types.d.ts
|
|
3334
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3335
3129
|
type WeaveMoveToolActionStateKeys = keyof typeof MOVE_TOOL_STATE;
|
|
3336
3130
|
type WeaveMoveToolActionState = (typeof MOVE_TOOL_STATE)[WeaveMoveToolActionStateKeys];
|
|
3337
3131
|
type WeaveMoveToolActionParams = {
|
|
3338
3132
|
triggerSelectionTool?: boolean;
|
|
3339
3133
|
};
|
|
3340
|
-
|
|
3341
3134
|
//#endregion
|
|
3342
3135
|
//#region src/actions/move-tool/move-tool.d.ts
|
|
3343
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3344
3136
|
declare class WeaveMoveToolAction extends WeaveAction {
|
|
3345
3137
|
protected initialized: boolean;
|
|
3346
3138
|
protected state: WeaveMoveToolActionState;
|
|
@@ -3357,25 +3149,19 @@ declare class WeaveMoveToolAction extends WeaveAction {
|
|
|
3357
3149
|
trigger(cancelAction: () => void, params?: WeaveMoveToolActionParams): void;
|
|
3358
3150
|
cleanup(): void;
|
|
3359
3151
|
}
|
|
3360
|
-
|
|
3361
3152
|
//#endregion
|
|
3362
3153
|
//#region src/actions/selection-tool/constants.d.ts
|
|
3363
|
-
//# sourceMappingURL=move-tool.d.ts.map
|
|
3364
3154
|
declare const SELECTION_TOOL_ACTION_NAME = "selectionTool";
|
|
3365
3155
|
declare const SELECTION_TOOL_STATE: {
|
|
3366
3156
|
readonly IDLE: "idle";
|
|
3367
3157
|
readonly SELECTING: "selection";
|
|
3368
3158
|
};
|
|
3369
|
-
|
|
3370
3159
|
//#endregion
|
|
3371
3160
|
//#region src/actions/selection-tool/types.d.ts
|
|
3372
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3373
3161
|
type WeaveSelectionToolActionStateKeys = keyof typeof SELECTION_TOOL_STATE;
|
|
3374
3162
|
type WeaveSelectionToolActionState = (typeof SELECTION_TOOL_STATE)[WeaveSelectionToolActionStateKeys];
|
|
3375
|
-
|
|
3376
3163
|
//#endregion
|
|
3377
3164
|
//#region src/actions/selection-tool/selection-tool.d.ts
|
|
3378
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3379
3165
|
declare class WeaveSelectionToolAction extends WeaveAction {
|
|
3380
3166
|
protected initialized: boolean;
|
|
3381
3167
|
protected state: WeaveSelectionToolActionState;
|
|
@@ -3391,25 +3177,19 @@ declare class WeaveSelectionToolAction extends WeaveAction {
|
|
|
3391
3177
|
trigger(cancelAction: () => void): void;
|
|
3392
3178
|
cleanup(): void;
|
|
3393
3179
|
}
|
|
3394
|
-
|
|
3395
3180
|
//#endregion
|
|
3396
3181
|
//#region src/actions/eraser-tool/constants.d.ts
|
|
3397
|
-
//# sourceMappingURL=selection-tool.d.ts.map
|
|
3398
3182
|
declare const ERASER_TOOL_ACTION_NAME = "eraserTool";
|
|
3399
3183
|
declare const ERASER_TOOL_STATE: {
|
|
3400
3184
|
readonly IDLE: "idle";
|
|
3401
3185
|
readonly ERASING: "erasing";
|
|
3402
3186
|
};
|
|
3403
|
-
|
|
3404
3187
|
//#endregion
|
|
3405
3188
|
//#region src/actions/eraser-tool/types.d.ts
|
|
3406
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3407
3189
|
type WeaveEraserToolActionStateKeys = keyof typeof ERASER_TOOL_STATE;
|
|
3408
3190
|
type WeaveEraserToolActionState = (typeof ERASER_TOOL_STATE)[WeaveEraserToolActionStateKeys];
|
|
3409
|
-
|
|
3410
3191
|
//#endregion
|
|
3411
3192
|
//#region src/actions/eraser-tool/eraser-tool.d.ts
|
|
3412
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3413
3193
|
declare class WeaveEraserToolAction extends WeaveAction {
|
|
3414
3194
|
protected initialized: boolean;
|
|
3415
3195
|
protected state: WeaveEraserToolActionState;
|
|
@@ -3428,10 +3208,8 @@ declare class WeaveEraserToolAction extends WeaveAction {
|
|
|
3428
3208
|
private setCursor;
|
|
3429
3209
|
private setFocusStage;
|
|
3430
3210
|
}
|
|
3431
|
-
|
|
3432
3211
|
//#endregion
|
|
3433
3212
|
//#region src/actions/rectangle-tool/constants.d.ts
|
|
3434
|
-
//# sourceMappingURL=eraser-tool.d.ts.map
|
|
3435
3213
|
declare const RECTANGLE_TOOL_ACTION_NAME = "rectangleTool";
|
|
3436
3214
|
declare const RECTANGLE_TOOL_STATE: {
|
|
3437
3215
|
readonly IDLE: "idle";
|
|
@@ -3439,18 +3217,14 @@ declare const RECTANGLE_TOOL_STATE: {
|
|
|
3439
3217
|
readonly DEFINING_SIZE: "definingSize";
|
|
3440
3218
|
readonly ADDED: "added";
|
|
3441
3219
|
};
|
|
3442
|
-
|
|
3443
3220
|
//#endregion
|
|
3444
3221
|
//#region src/actions/rectangle-tool/types.d.ts
|
|
3445
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3446
3222
|
type WeaveRectangleToolActionStateKeys = keyof typeof RECTANGLE_TOOL_STATE;
|
|
3447
3223
|
type WeaveRectangleToolActionState = (typeof RECTANGLE_TOOL_STATE)[WeaveRectangleToolActionStateKeys];
|
|
3448
3224
|
type WeaveRectangleToolActionOnAddingEvent = undefined;
|
|
3449
3225
|
type WeaveRectangleToolActionOnAddedEvent = undefined;
|
|
3450
|
-
|
|
3451
3226
|
//#endregion
|
|
3452
3227
|
//#region src/actions/rectangle-tool/rectangle-tool.d.ts
|
|
3453
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3454
3228
|
declare class WeaveRectangleToolAction extends WeaveAction {
|
|
3455
3229
|
protected initialized: boolean;
|
|
3456
3230
|
protected state: WeaveRectangleToolActionState;
|
|
@@ -3486,10 +3260,8 @@ declare class WeaveRectangleToolAction extends WeaveAction {
|
|
|
3486
3260
|
private setCursor;
|
|
3487
3261
|
private setFocusStage;
|
|
3488
3262
|
}
|
|
3489
|
-
|
|
3490
3263
|
//#endregion
|
|
3491
3264
|
//#region src/actions/ellipse-tool/constants.d.ts
|
|
3492
|
-
//# sourceMappingURL=rectangle-tool.d.ts.map
|
|
3493
3265
|
declare const ELLIPSE_TOOL_ACTION_NAME = "ellipseTool";
|
|
3494
3266
|
declare const ELLIPSE_TOOL_STATE: {
|
|
3495
3267
|
readonly IDLE: "idle";
|
|
@@ -3497,18 +3269,14 @@ declare const ELLIPSE_TOOL_STATE: {
|
|
|
3497
3269
|
readonly DEFINING_SIZE: "definingSize";
|
|
3498
3270
|
readonly ADDED: "added";
|
|
3499
3271
|
};
|
|
3500
|
-
|
|
3501
3272
|
//#endregion
|
|
3502
3273
|
//#region src/actions/ellipse-tool/types.d.ts
|
|
3503
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3504
3274
|
type WeaveEllipseToolActionStateKeys = keyof typeof ELLIPSE_TOOL_STATE;
|
|
3505
3275
|
type WeaveEllipseToolActionState = (typeof ELLIPSE_TOOL_STATE)[WeaveEllipseToolActionStateKeys];
|
|
3506
3276
|
type WeaveEllipseToolActionOnAddingEvent = undefined;
|
|
3507
3277
|
type WeaveEllipseToolActionOnAddedEvent = undefined;
|
|
3508
|
-
|
|
3509
3278
|
//#endregion
|
|
3510
3279
|
//#region src/actions/ellipse-tool/ellipse-tool.d.ts
|
|
3511
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3512
3280
|
declare class WeaveEllipseToolAction extends WeaveAction {
|
|
3513
3281
|
protected initialized: boolean;
|
|
3514
3282
|
protected state: WeaveEllipseToolActionState;
|
|
@@ -3544,10 +3312,8 @@ declare class WeaveEllipseToolAction extends WeaveAction {
|
|
|
3544
3312
|
private setCursor;
|
|
3545
3313
|
private setFocusStage;
|
|
3546
3314
|
}
|
|
3547
|
-
|
|
3548
3315
|
//#endregion
|
|
3549
3316
|
//#region src/actions/pen-tool/constants.d.ts
|
|
3550
|
-
//# sourceMappingURL=ellipse-tool.d.ts.map
|
|
3551
3317
|
declare const PEN_TOOL_ACTION_NAME = "penTool";
|
|
3552
3318
|
declare const PEN_TOOL_STATE: {
|
|
3553
3319
|
readonly IDLE: "idle";
|
|
@@ -3555,18 +3321,14 @@ declare const PEN_TOOL_STATE: {
|
|
|
3555
3321
|
readonly DEFINING_SIZE: "definingSize";
|
|
3556
3322
|
readonly ADDED: "added";
|
|
3557
3323
|
};
|
|
3558
|
-
|
|
3559
3324
|
//#endregion
|
|
3560
3325
|
//#region src/actions/pen-tool/types.d.ts
|
|
3561
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3562
3326
|
type WeavePenToolActionStateKeys = keyof typeof PEN_TOOL_STATE;
|
|
3563
3327
|
type WeavePenToolActionState = (typeof PEN_TOOL_STATE)[WeavePenToolActionStateKeys];
|
|
3564
3328
|
type WeavePenToolActionOnAddingEvent = undefined;
|
|
3565
3329
|
type WeavePenToolActionOnAddedEvent = undefined;
|
|
3566
|
-
|
|
3567
3330
|
//#endregion
|
|
3568
3331
|
//#region src/actions/pen-tool/pen-tool.d.ts
|
|
3569
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3570
3332
|
declare class WeavePenToolAction extends WeaveAction {
|
|
3571
3333
|
protected initialized: boolean;
|
|
3572
3334
|
protected initialCursor: string | null;
|
|
@@ -3603,10 +3365,8 @@ declare class WeavePenToolAction extends WeaveAction {
|
|
|
3603
3365
|
private setCursor;
|
|
3604
3366
|
private setFocusStage;
|
|
3605
3367
|
}
|
|
3606
|
-
|
|
3607
3368
|
//#endregion
|
|
3608
3369
|
//#region src/actions/line-tool/constants.d.ts
|
|
3609
|
-
//# sourceMappingURL=pen-tool.d.ts.map
|
|
3610
3370
|
declare const LINE_TOOL_ACTION_NAME = "lineTool";
|
|
3611
3371
|
declare const LINE_TOOL_STATE: {
|
|
3612
3372
|
readonly IDLE: "idle";
|
|
@@ -3621,10 +3381,8 @@ declare const LINE_TOOL_DEFAULT_CONFIG: {
|
|
|
3621
3381
|
releaseThreshold: number;
|
|
3622
3382
|
};
|
|
3623
3383
|
};
|
|
3624
|
-
|
|
3625
3384
|
//#endregion
|
|
3626
3385
|
//#region src/actions/line-tool/types.d.ts
|
|
3627
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3628
3386
|
type WeaveLineToolActionStateKeys = keyof typeof LINE_TOOL_STATE;
|
|
3629
3387
|
type WeaveLineToolActionState = (typeof LINE_TOOL_STATE)[WeaveLineToolActionStateKeys];
|
|
3630
3388
|
type WeaveLineToolActionProperties = {
|
|
@@ -3637,10 +3395,8 @@ type WeaveLineToolActionProperties = {
|
|
|
3637
3395
|
type WeaveLineToolActionParams = {
|
|
3638
3396
|
config: Partial<WeaveLineToolActionProperties>;
|
|
3639
3397
|
};
|
|
3640
|
-
|
|
3641
3398
|
//#endregion
|
|
3642
3399
|
//#region src/actions/line-tool/line-tool.d.ts
|
|
3643
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3644
3400
|
declare class WeaveLineToolAction extends WeaveAction {
|
|
3645
3401
|
protected initialized: boolean;
|
|
3646
3402
|
protected initialCursor: string | null;
|
|
@@ -3680,10 +3436,8 @@ declare class WeaveLineToolAction extends WeaveAction {
|
|
|
3680
3436
|
private setCursor;
|
|
3681
3437
|
private setFocusStage;
|
|
3682
3438
|
}
|
|
3683
|
-
|
|
3684
3439
|
//#endregion
|
|
3685
3440
|
//#region src/actions/brush-tool/constants.d.ts
|
|
3686
|
-
//# sourceMappingURL=line-tool.d.ts.map
|
|
3687
3441
|
declare const BRUSH_TOOL_ACTION_NAME = "brushTool";
|
|
3688
3442
|
declare const BRUSH_TOOL_STATE: {
|
|
3689
3443
|
readonly INACTIVE: "inactive";
|
|
@@ -3693,10 +3447,8 @@ declare const BRUSH_TOOL_STATE: {
|
|
|
3693
3447
|
declare const BRUSH_TOOL_DEFAULT_CONFIG: {
|
|
3694
3448
|
interpolationSteps: number;
|
|
3695
3449
|
};
|
|
3696
|
-
|
|
3697
3450
|
//#endregion
|
|
3698
3451
|
//#region src/actions/brush-tool/types.d.ts
|
|
3699
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3700
3452
|
type WeaveBrushToolActionStateKeys = keyof typeof BRUSH_TOOL_STATE;
|
|
3701
3453
|
type WeaveBrushToolActionState = (typeof BRUSH_TOOL_STATE)[WeaveBrushToolActionStateKeys];
|
|
3702
3454
|
type WeaveBrushToolActionOnAddingEvent = undefined;
|
|
@@ -3707,10 +3459,8 @@ type WeaveBrushToolActionProperties = {
|
|
|
3707
3459
|
type WeaveBrushToolActionParams = {
|
|
3708
3460
|
config: Partial<WeaveBrushToolActionProperties>;
|
|
3709
3461
|
};
|
|
3710
|
-
|
|
3711
3462
|
//#endregion
|
|
3712
3463
|
//#region src/actions/brush-tool/brush-tool.d.ts
|
|
3713
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3714
3464
|
declare class WeaveBrushToolAction extends WeaveAction {
|
|
3715
3465
|
protected config: WeaveBrushToolActionProperties;
|
|
3716
3466
|
protected initialized: boolean;
|
|
@@ -3756,26 +3506,20 @@ declare class WeaveBrushToolAction extends WeaveAction {
|
|
|
3756
3506
|
private setCursor;
|
|
3757
3507
|
private setFocusStage;
|
|
3758
3508
|
}
|
|
3759
|
-
|
|
3760
3509
|
//#endregion
|
|
3761
3510
|
//#region src/actions/text-tool/constants.d.ts
|
|
3762
|
-
//# sourceMappingURL=brush-tool.d.ts.map
|
|
3763
3511
|
declare const TEXT_TOOL_ACTION_NAME = "textTool";
|
|
3764
3512
|
declare const TEXT_TOOL_STATE: {
|
|
3765
3513
|
readonly IDLE: "idle";
|
|
3766
3514
|
readonly ADDING: "adding";
|
|
3767
3515
|
readonly FINISHED: "finished";
|
|
3768
3516
|
};
|
|
3769
|
-
|
|
3770
3517
|
//#endregion
|
|
3771
3518
|
//#region src/actions/text-tool/types.d.ts
|
|
3772
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3773
3519
|
type WeaveTextToolActionStateKeys = keyof typeof TEXT_TOOL_STATE;
|
|
3774
3520
|
type WeaveTextToolActionState = (typeof TEXT_TOOL_STATE)[WeaveTextToolActionStateKeys];
|
|
3775
|
-
|
|
3776
3521
|
//#endregion
|
|
3777
3522
|
//#region src/actions/text-tool/text-tool.d.ts
|
|
3778
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3779
3523
|
declare class WeaveTextToolAction extends WeaveAction {
|
|
3780
3524
|
protected initialized: boolean;
|
|
3781
3525
|
protected initialCursor: string | null;
|
|
@@ -3809,10 +3553,8 @@ declare class WeaveTextToolAction extends WeaveAction {
|
|
|
3809
3553
|
private setCursor;
|
|
3810
3554
|
private setFocusStage;
|
|
3811
3555
|
}
|
|
3812
|
-
|
|
3813
3556
|
//#endregion
|
|
3814
3557
|
//#region src/actions/image-tool/constants.d.ts
|
|
3815
|
-
//# sourceMappingURL=text-tool.d.ts.map
|
|
3816
3558
|
declare const WEAVE_IMAGE_TOOL_ACTION_NAME = "imageTool";
|
|
3817
3559
|
declare const WEAVE_IMAGE_TOOL_UPLOAD_TYPE: {
|
|
3818
3560
|
readonly FILE: "file";
|
|
@@ -3826,10 +3568,8 @@ declare const WEAVE_IMAGE_TOOL_STATE: {
|
|
|
3826
3568
|
readonly FINISHED: "finished";
|
|
3827
3569
|
};
|
|
3828
3570
|
declare const WEAVE_IMAGE_TOOL_CONFIG_DEFAULT: WeaveImageToolActionConfig;
|
|
3829
|
-
|
|
3830
3571
|
//#endregion
|
|
3831
3572
|
//#region src/actions/image-tool/types.d.ts
|
|
3832
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3833
3573
|
type WeaveImageToolActionUploadTypeKeys = keyof typeof WEAVE_IMAGE_TOOL_UPLOAD_TYPE;
|
|
3834
3574
|
type WeaveImageToolActionUploadType = (typeof WEAVE_IMAGE_TOOL_UPLOAD_TYPE)[WeaveImageToolActionUploadTypeKeys];
|
|
3835
3575
|
type WeaveImageToolActionStateKeys = keyof typeof WEAVE_IMAGE_TOOL_STATE;
|
|
@@ -3909,10 +3649,8 @@ type ImageToolActionData = {
|
|
|
3909
3649
|
uploadType: WeaveImageToolActionUploadType | null;
|
|
3910
3650
|
uploadImageFunction: WeaveImageToolActionUploadFunction | null;
|
|
3911
3651
|
};
|
|
3912
|
-
|
|
3913
3652
|
//#endregion
|
|
3914
3653
|
//#region src/actions/image-tool/image-tool.d.ts
|
|
3915
|
-
//# sourceMappingURL=types.d.ts.map
|
|
3916
3654
|
declare class WeaveImageToolAction extends WeaveAction {
|
|
3917
3655
|
protected readonly config: WeaveImageToolActionConfig;
|
|
3918
3656
|
protected initInitialized: boolean;
|
|
@@ -3957,10 +3695,8 @@ declare class WeaveImageToolAction extends WeaveAction {
|
|
|
3957
3695
|
private loadImageDataURL;
|
|
3958
3696
|
getDataURL(blob: Blob): Promise<string>;
|
|
3959
3697
|
}
|
|
3960
|
-
|
|
3961
3698
|
//#endregion
|
|
3962
3699
|
//#region src/actions/images-tool/constants.d.ts
|
|
3963
|
-
//# sourceMappingURL=image-tool.d.ts.map
|
|
3964
3700
|
declare const WEAVE_IMAGES_TOOL_ACTION_NAME = "imagesTool";
|
|
3965
3701
|
declare const WEAVE_IMAGES_TOOL_UPLOAD_TYPE: {
|
|
3966
3702
|
readonly FILE: "file";
|
|
@@ -3975,10 +3711,8 @@ declare const WEAVE_IMAGES_TOOL_STATE: {
|
|
|
3975
3711
|
readonly FINISHED: "finished";
|
|
3976
3712
|
};
|
|
3977
3713
|
declare const WEAVE_IMAGES_TOOL_DEFAULT_CONFIG: WeaveImagesToolActionParams;
|
|
3978
|
-
|
|
3979
3714
|
//#endregion
|
|
3980
3715
|
//#region src/actions/images-tool/types.d.ts
|
|
3981
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
3982
3716
|
type WeaveImagesToolActionUploadTypeKeys = keyof typeof WEAVE_IMAGES_TOOL_UPLOAD_TYPE;
|
|
3983
3717
|
type WeaveImagesToolActionUploadType = (typeof WEAVE_IMAGES_TOOL_UPLOAD_TYPE)[WeaveImagesToolActionUploadTypeKeys];
|
|
3984
3718
|
type WeaveImagesToolActionStateKeys = keyof typeof WEAVE_IMAGES_TOOL_STATE;
|
|
@@ -4057,10 +3791,8 @@ type WeaveImagesToolActionParams = {
|
|
|
4057
3791
|
type WeaveImagesToolDragAndDropProperties = {
|
|
4058
3792
|
imagesURL: WeaveImagesURL[];
|
|
4059
3793
|
} & Omit<WeaveImagesToolActionTriggerCommonParams, 'position'>;
|
|
4060
|
-
|
|
4061
3794
|
//#endregion
|
|
4062
3795
|
//#region src/actions/images-tool/images-tool.d.ts
|
|
4063
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4064
3796
|
declare class WeaveImagesToolAction extends WeaveAction {
|
|
4065
3797
|
private readonly config;
|
|
4066
3798
|
protected initInitialized: boolean;
|
|
@@ -4111,10 +3843,8 @@ declare class WeaveImagesToolAction extends WeaveAction {
|
|
|
4111
3843
|
handleImageAdded(): void;
|
|
4112
3844
|
setDragAndDropProperties(properties: WeaveImagesToolDragAndDropProperties): void;
|
|
4113
3845
|
}
|
|
4114
|
-
|
|
4115
3846
|
//#endregion
|
|
4116
3847
|
//#region src/actions/star-tool/constants.d.ts
|
|
4117
|
-
//# sourceMappingURL=images-tool.d.ts.map
|
|
4118
3848
|
declare const STAR_TOOL_ACTION_NAME = "starTool";
|
|
4119
3849
|
declare const STAR_TOOL_STATE: {
|
|
4120
3850
|
readonly IDLE: "idle";
|
|
@@ -4122,18 +3852,14 @@ declare const STAR_TOOL_STATE: {
|
|
|
4122
3852
|
readonly DEFINING_SIZE: "definingSize";
|
|
4123
3853
|
readonly ADDED: "added";
|
|
4124
3854
|
};
|
|
4125
|
-
|
|
4126
3855
|
//#endregion
|
|
4127
3856
|
//#region src/actions/star-tool/types.d.ts
|
|
4128
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4129
3857
|
type WeaveStarToolActionStateKeys = keyof typeof STAR_TOOL_STATE;
|
|
4130
3858
|
type WeaveStarToolActionState = (typeof STAR_TOOL_STATE)[WeaveStarToolActionStateKeys];
|
|
4131
3859
|
type WeaveStarToolActionOnAddingEvent = undefined;
|
|
4132
3860
|
type WeaveStarToolActionOnAddedEvent = undefined;
|
|
4133
|
-
|
|
4134
3861
|
//#endregion
|
|
4135
3862
|
//#region src/actions/star-tool/star-tool.d.ts
|
|
4136
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4137
3863
|
declare class WeaveStarToolAction extends WeaveAction {
|
|
4138
3864
|
protected initialized: boolean;
|
|
4139
3865
|
protected state: WeaveStarToolActionState;
|
|
@@ -4170,10 +3896,8 @@ declare class WeaveStarToolAction extends WeaveAction {
|
|
|
4170
3896
|
private setCursor;
|
|
4171
3897
|
private setFocusStage;
|
|
4172
3898
|
}
|
|
4173
|
-
|
|
4174
3899
|
//#endregion
|
|
4175
3900
|
//#region src/actions/arrow-tool/constants.d.ts
|
|
4176
|
-
//# sourceMappingURL=star-tool.d.ts.map
|
|
4177
3901
|
declare const WEAVE_ARROW_TOOL_ACTION_NAME = "arrowTool";
|
|
4178
3902
|
declare const WEAVE_ARROW_TOOL_STATE: {
|
|
4179
3903
|
readonly IDLE: "idle";
|
|
@@ -4181,10 +3905,8 @@ declare const WEAVE_ARROW_TOOL_STATE: {
|
|
|
4181
3905
|
readonly DEFINING_SIZE: "definingSize";
|
|
4182
3906
|
readonly ADDED: "added";
|
|
4183
3907
|
};
|
|
4184
|
-
|
|
4185
3908
|
//#endregion
|
|
4186
3909
|
//#region src/actions/arrow-tool/types.d.ts
|
|
4187
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4188
3910
|
type WeaveArrowToolActionStateKeys = keyof typeof WEAVE_ARROW_TOOL_STATE;
|
|
4189
3911
|
type WeaveArrowToolActionState = (typeof WEAVE_ARROW_TOOL_STATE)[WeaveArrowToolActionStateKeys];
|
|
4190
3912
|
type WeaveArrowToolActionProperties = {
|
|
@@ -4197,10 +3919,8 @@ type WeaveArrowToolActionProperties = {
|
|
|
4197
3919
|
type WeaveArrowToolActionParams = {
|
|
4198
3920
|
config: Partial<WeaveArrowToolActionProperties>;
|
|
4199
3921
|
};
|
|
4200
|
-
|
|
4201
3922
|
//#endregion
|
|
4202
3923
|
//#region src/actions/arrow-tool/arrow-tool.d.ts
|
|
4203
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4204
3924
|
declare class WeaveArrowToolAction extends WeaveAction {
|
|
4205
3925
|
protected initialized: boolean;
|
|
4206
3926
|
protected initialCursor: string | null;
|
|
@@ -4242,10 +3962,8 @@ declare class WeaveArrowToolAction extends WeaveAction {
|
|
|
4242
3962
|
private setCursor;
|
|
4243
3963
|
private setFocusStage;
|
|
4244
3964
|
}
|
|
4245
|
-
|
|
4246
3965
|
//#endregion
|
|
4247
3966
|
//#region src/actions/stroke-tool/constants.d.ts
|
|
4248
|
-
//# sourceMappingURL=arrow-tool.d.ts.map
|
|
4249
3967
|
declare const WEAVE_STROKE_TOOL_ACTION_NAME = "strokeTool";
|
|
4250
3968
|
declare const WEAVE_STROKE_TOOL_ACTION_NAME_ALIASES: string[];
|
|
4251
3969
|
declare const WEAVE_STROKE_TOOL_STATE: {
|
|
@@ -4261,10 +3979,8 @@ declare const WEAVE_STROKE_TOOL_DEFAULT_CONFIG: {
|
|
|
4261
3979
|
releaseThreshold: number;
|
|
4262
3980
|
};
|
|
4263
3981
|
};
|
|
4264
|
-
|
|
4265
3982
|
//#endregion
|
|
4266
3983
|
//#region src/actions/stroke-tool/types.d.ts
|
|
4267
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4268
3984
|
type WeaveStrokeToolActionStateKeys = keyof typeof WEAVE_STROKE_TOOL_STATE;
|
|
4269
3985
|
type WeaveStrokeToolActionState = (typeof WEAVE_STROKE_TOOL_STATE)[WeaveStrokeToolActionStateKeys];
|
|
4270
3986
|
type WeaveStrokeToolActionProperties = {
|
|
@@ -4283,10 +3999,8 @@ type WeaveStrokeToolActionOnAddingEvent = {
|
|
|
4283
3999
|
type WeaveStrokeToolActionOnAddedEvent = {
|
|
4284
4000
|
actionName: string;
|
|
4285
4001
|
};
|
|
4286
|
-
|
|
4287
4002
|
//#endregion
|
|
4288
4003
|
//#region src/actions/stroke-tool/stroke-tool.d.ts
|
|
4289
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4290
4004
|
declare class WeaveStrokeToolAction extends WeaveAction {
|
|
4291
4005
|
protected initialized: boolean;
|
|
4292
4006
|
protected initialCursor: string | null;
|
|
@@ -4329,10 +4043,8 @@ declare class WeaveStrokeToolAction extends WeaveAction {
|
|
|
4329
4043
|
private setCursor;
|
|
4330
4044
|
private setFocusStage;
|
|
4331
4045
|
}
|
|
4332
|
-
|
|
4333
4046
|
//#endregion
|
|
4334
4047
|
//#region src/actions/regular-polygon-tool/constants.d.ts
|
|
4335
|
-
//# sourceMappingURL=stroke-tool.d.ts.map
|
|
4336
4048
|
declare const REGULAR_POLYGON_TOOL_ACTION_NAME = "regularPolygonTool";
|
|
4337
4049
|
declare const REGULAR_POLYGON_TOOL_STATE: {
|
|
4338
4050
|
readonly IDLE: "idle";
|
|
@@ -4340,18 +4052,14 @@ declare const REGULAR_POLYGON_TOOL_STATE: {
|
|
|
4340
4052
|
readonly DEFINING_SIZE: "definingSize";
|
|
4341
4053
|
readonly ADDED: "added";
|
|
4342
4054
|
};
|
|
4343
|
-
|
|
4344
4055
|
//#endregion
|
|
4345
4056
|
//#region src/actions/regular-polygon-tool/types.d.ts
|
|
4346
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4347
4057
|
type WeaveRegularPolygonToolActionStateKeys = keyof typeof REGULAR_POLYGON_TOOL_STATE;
|
|
4348
4058
|
type WeaveRegularPolygonToolActionState = (typeof REGULAR_POLYGON_TOOL_STATE)[WeaveRegularPolygonToolActionStateKeys];
|
|
4349
4059
|
type WeaveRegularPolygonToolActionOnAddingEvent = undefined;
|
|
4350
4060
|
type WeaveRegularPolygonToolActionOnAddedEvent = undefined;
|
|
4351
|
-
|
|
4352
4061
|
//#endregion
|
|
4353
4062
|
//#region src/actions/regular-polygon-tool/regular-polygon-tool.d.ts
|
|
4354
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4355
4063
|
declare class WeaveRegularPolygonToolAction extends WeaveAction {
|
|
4356
4064
|
protected initialized: boolean;
|
|
4357
4065
|
protected state: WeaveRegularPolygonToolActionState;
|
|
@@ -4386,29 +4094,23 @@ declare class WeaveRegularPolygonToolAction extends WeaveAction {
|
|
|
4386
4094
|
private setCursor;
|
|
4387
4095
|
private setFocusStage;
|
|
4388
4096
|
}
|
|
4389
|
-
|
|
4390
4097
|
//#endregion
|
|
4391
4098
|
//#region src/actions/polygon-tool/constants.d.ts
|
|
4392
|
-
//# sourceMappingURL=regular-polygon-tool.d.ts.map
|
|
4393
4099
|
declare const POLYGON_TOOL_ACTION_NAME = "polygonTool";
|
|
4394
4100
|
declare const POLYGON_TOOL_STATE: {
|
|
4395
4101
|
readonly IDLE: "idle";
|
|
4396
4102
|
readonly ADDING: "adding";
|
|
4397
4103
|
readonly ADDED: "added";
|
|
4398
4104
|
};
|
|
4399
|
-
|
|
4400
4105
|
//#endregion
|
|
4401
4106
|
//#region src/actions/polygon-tool/types.d.ts
|
|
4402
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4403
4107
|
type WeavePolygonToolActionStateKeys = keyof typeof POLYGON_TOOL_STATE;
|
|
4404
4108
|
type WeavePolygonToolActionState = (typeof POLYGON_TOOL_STATE)[WeavePolygonToolActionStateKeys];
|
|
4405
4109
|
type WeavePolygonToolActionTriggerParams = {
|
|
4406
4110
|
presetId?: string;
|
|
4407
4111
|
};
|
|
4408
|
-
|
|
4409
4112
|
//#endregion
|
|
4410
4113
|
//#region src/actions/polygon-tool/polygon-tool.d.ts
|
|
4411
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4412
4114
|
declare class WeavePolygonToolAction extends WeaveAction {
|
|
4413
4115
|
protected initialized: boolean;
|
|
4414
4116
|
protected state: WeavePolygonToolActionState;
|
|
@@ -4438,20 +4140,16 @@ declare class WeavePolygonToolAction extends WeaveAction {
|
|
|
4438
4140
|
private setCursor;
|
|
4439
4141
|
private setFocusStage;
|
|
4440
4142
|
}
|
|
4441
|
-
|
|
4442
4143
|
//#endregion
|
|
4443
4144
|
//#region src/actions/frame-tool/constants.d.ts
|
|
4444
|
-
//# sourceMappingURL=polygon-tool.d.ts.map
|
|
4445
4145
|
declare const FRAME_TOOL_ACTION_NAME = "frameTool";
|
|
4446
4146
|
declare const FRAME_TOOL_STATE: {
|
|
4447
4147
|
readonly IDLE: "idle";
|
|
4448
4148
|
readonly ADDING: "adding";
|
|
4449
4149
|
readonly ADDED: "added";
|
|
4450
4150
|
};
|
|
4451
|
-
|
|
4452
4151
|
//#endregion
|
|
4453
4152
|
//#region src/actions/frame-tool/types.d.ts
|
|
4454
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4455
4153
|
type WeaveFrameToolActionStateKeys = keyof typeof FRAME_TOOL_STATE;
|
|
4456
4154
|
type WeaveFrameToolActionState = (typeof FRAME_TOOL_STATE)[WeaveFrameToolActionStateKeys];
|
|
4457
4155
|
type WeaveFrameToolActionTriggerParams = {
|
|
@@ -4468,10 +4166,8 @@ type WeaveFrameToolProps = {
|
|
|
4468
4166
|
};
|
|
4469
4167
|
type WeaveFrameToolActionOnAddingEvent = undefined;
|
|
4470
4168
|
type WeaveFrameToolActionOnAddedEvent = undefined;
|
|
4471
|
-
|
|
4472
4169
|
//#endregion
|
|
4473
4170
|
//#region src/actions/frame-tool/frame-tool.d.ts
|
|
4474
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4475
4171
|
declare class WeaveFrameToolAction extends WeaveAction {
|
|
4476
4172
|
protected initialized: boolean;
|
|
4477
4173
|
protected state: WeaveFrameToolActionState;
|
|
@@ -4496,20 +4192,16 @@ declare class WeaveFrameToolAction extends WeaveAction {
|
|
|
4496
4192
|
private setCursor;
|
|
4497
4193
|
private setFocusStage;
|
|
4498
4194
|
}
|
|
4499
|
-
|
|
4500
4195
|
//#endregion
|
|
4501
4196
|
//#region src/actions/export-nodes-tool/types.d.ts
|
|
4502
|
-
//# sourceMappingURL=frame-tool.d.ts.map
|
|
4503
4197
|
type WeaveExportNodesActionParams = {
|
|
4504
4198
|
nodes: WeaveElementInstance[];
|
|
4505
4199
|
boundingNodes?: (nodes: Konva.Node[]) => Konva.Node[];
|
|
4506
4200
|
options?: WeaveExportNodesOptions;
|
|
4507
4201
|
triggerSelectionTool?: boolean;
|
|
4508
4202
|
};
|
|
4509
|
-
|
|
4510
4203
|
//#endregion
|
|
4511
4204
|
//#region src/actions/export-stage-tool/export-stage-tool.d.ts
|
|
4512
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4513
4205
|
declare class WeaveExportStageToolAction extends WeaveAction {
|
|
4514
4206
|
protected cancelAction: () => void;
|
|
4515
4207
|
private defaultFormatOptions;
|
|
@@ -4520,24 +4212,17 @@ declare class WeaveExportStageToolAction extends WeaveAction {
|
|
|
4520
4212
|
constructor();
|
|
4521
4213
|
getName(): string;
|
|
4522
4214
|
private exportStage;
|
|
4523
|
-
trigger(cancelAction: () => void, {
|
|
4524
|
-
boundingNodes,
|
|
4525
|
-
options
|
|
4526
|
-
}: WeaveExportNodesActionParams): Promise<HTMLImageElement>;
|
|
4215
|
+
trigger(cancelAction: () => void, { boundingNodes, options }: WeaveExportNodesActionParams): Promise<HTMLImageElement>;
|
|
4527
4216
|
cleanup(): void;
|
|
4528
4217
|
}
|
|
4529
|
-
|
|
4530
4218
|
//#endregion
|
|
4531
4219
|
//#region src/actions/export-stage-tool/types.d.ts
|
|
4532
|
-
//# sourceMappingURL=export-stage-tool.d.ts.map
|
|
4533
4220
|
type WeaveExportStageActionParams = {
|
|
4534
4221
|
boundingNodes?: (nodes: Konva.Node[]) => Konva.Node[];
|
|
4535
4222
|
options?: WeaveExportNodesOptions;
|
|
4536
4223
|
};
|
|
4537
|
-
|
|
4538
4224
|
//#endregion
|
|
4539
4225
|
//#region src/actions/export-nodes-tool/export-nodes-tool.d.ts
|
|
4540
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4541
4226
|
declare class WeaveExportNodesToolAction extends WeaveAction {
|
|
4542
4227
|
protected cancelAction: () => void;
|
|
4543
4228
|
protected triggerSelectionTool: boolean;
|
|
@@ -4549,18 +4234,11 @@ declare class WeaveExportNodesToolAction extends WeaveAction {
|
|
|
4549
4234
|
constructor();
|
|
4550
4235
|
getName(): string;
|
|
4551
4236
|
private exportNodes;
|
|
4552
|
-
trigger(cancelAction: () => void, {
|
|
4553
|
-
nodes,
|
|
4554
|
-
boundingNodes,
|
|
4555
|
-
options,
|
|
4556
|
-
triggerSelectionTool
|
|
4557
|
-
}: WeaveExportNodesActionParams): Promise<HTMLImageElement>;
|
|
4237
|
+
trigger(cancelAction: () => void, { nodes, boundingNodes, options, triggerSelectionTool }: WeaveExportNodesActionParams): Promise<HTMLImageElement>;
|
|
4558
4238
|
cleanup(): void;
|
|
4559
4239
|
}
|
|
4560
|
-
|
|
4561
4240
|
//#endregion
|
|
4562
4241
|
//#region src/actions/align-nodes-tool/constants.d.ts
|
|
4563
|
-
//# sourceMappingURL=export-nodes-tool.d.ts.map
|
|
4564
4242
|
declare const ALIGN_NODES_TOOL_ACTION_NAME = "alignNodesTool";
|
|
4565
4243
|
declare const ALIGN_NODES_ALIGN_TO: {
|
|
4566
4244
|
readonly LEFT_HORIZONTAL: "left-horizontal";
|
|
@@ -4573,10 +4251,8 @@ declare const ALIGN_NODES_ALIGN_TO: {
|
|
|
4573
4251
|
declare const ALIGN_NODES_TOOL_STATE: {
|
|
4574
4252
|
readonly IDLE: "idle";
|
|
4575
4253
|
};
|
|
4576
|
-
|
|
4577
4254
|
//#endregion
|
|
4578
4255
|
//#region src/actions/align-nodes-tool/types.d.ts
|
|
4579
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4580
4256
|
type WeaveAlignNodesToolActionStateKeys = keyof typeof ALIGN_NODES_TOOL_STATE;
|
|
4581
4257
|
type WeaveAlignNodesToolActionState = (typeof ALIGN_NODES_TOOL_STATE)[WeaveAlignNodesToolActionStateKeys];
|
|
4582
4258
|
type WeaveAlignNodesToolActionAlignToKeys = keyof typeof ALIGN_NODES_ALIGN_TO;
|
|
@@ -4585,10 +4261,8 @@ type WeaveAlignNodesToolActionTriggerParams = {
|
|
|
4585
4261
|
alignTo: WeaveAlignNodesToolActionAlignTo;
|
|
4586
4262
|
triggerSelectionTool?: boolean;
|
|
4587
4263
|
};
|
|
4588
|
-
|
|
4589
4264
|
//#endregion
|
|
4590
4265
|
//#region src/actions/align-nodes-tool/align-nodes-tool.d.ts
|
|
4591
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4592
4266
|
declare class WeaveAlignNodesToolAction extends WeaveAction {
|
|
4593
4267
|
protected initialized: boolean;
|
|
4594
4268
|
protected state: WeaveAlignNodesToolActionState;
|
|
@@ -4611,16 +4285,11 @@ declare class WeaveAlignNodesToolAction extends WeaveAction {
|
|
|
4611
4285
|
private alignToBottomVertical;
|
|
4612
4286
|
private alignNodes;
|
|
4613
4287
|
canAlignSelectedNodes(): boolean;
|
|
4614
|
-
trigger(cancelAction: () => void, {
|
|
4615
|
-
alignTo,
|
|
4616
|
-
triggerSelectionTool
|
|
4617
|
-
}: WeaveAlignNodesToolActionTriggerParams): void;
|
|
4288
|
+
trigger(cancelAction: () => void, { alignTo, triggerSelectionTool }: WeaveAlignNodesToolActionTriggerParams): void;
|
|
4618
4289
|
cleanup(): void;
|
|
4619
4290
|
}
|
|
4620
|
-
|
|
4621
4291
|
//#endregion
|
|
4622
4292
|
//#region src/actions/comment-tool/constants.d.ts
|
|
4623
|
-
//# sourceMappingURL=align-nodes-tool.d.ts.map
|
|
4624
4293
|
declare const WEAVE_COMMENT_TOOL_ACTION_NAME = "commentTool";
|
|
4625
4294
|
declare const WEAVE_COMMENT_TOOL_STATE: {
|
|
4626
4295
|
readonly IDLE: "idle";
|
|
@@ -4637,10 +4306,8 @@ declare const WEAVE_COMMENT_TOOL_DEFAULT_CONFIG: {
|
|
|
4637
4306
|
};
|
|
4638
4307
|
};
|
|
4639
4308
|
};
|
|
4640
|
-
|
|
4641
4309
|
//#endregion
|
|
4642
4310
|
//#region src/actions/comment-tool/types.d.ts
|
|
4643
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4644
4311
|
type WeaveCommentToolActionStateKeys = keyof typeof WEAVE_COMMENT_TOOL_STATE;
|
|
4645
4312
|
type WeaveCommentToolActionState = (typeof WEAVE_COMMENT_TOOL_STATE)[WeaveCommentToolActionStateKeys];
|
|
4646
4313
|
type WeaveCommentToolStyle = {
|
|
@@ -4662,10 +4329,8 @@ type WeaveCommentToolActionConfig<T> = {
|
|
|
4662
4329
|
type WeaveCommentToolActionParams<T> = {
|
|
4663
4330
|
config: Pick<WeaveCommentToolActionConfig<T>, 'model' | 'getUser' | 'getUserBackgroundColor' | 'getUserForegroundColor'> & DeepPartial<Pick<WeaveCommentToolActionConfig<T>, 'style'>>;
|
|
4664
4331
|
};
|
|
4665
|
-
|
|
4666
4332
|
//#endregion
|
|
4667
4333
|
//#region src/actions/comment-tool/comment-tool.d.ts
|
|
4668
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4669
4334
|
declare class WeaveCommentToolAction<T> extends WeaveAction {
|
|
4670
4335
|
private readonly config;
|
|
4671
4336
|
protected initialized: boolean;
|
|
@@ -4697,10 +4362,8 @@ declare class WeaveCommentToolAction<T> extends WeaveAction {
|
|
|
4697
4362
|
private setCursor;
|
|
4698
4363
|
private setCursorBlock;
|
|
4699
4364
|
}
|
|
4700
|
-
|
|
4701
4365
|
//#endregion
|
|
4702
4366
|
//#region src/actions/video-tool/constants.d.ts
|
|
4703
|
-
//# sourceMappingURL=comment-tool.d.ts.map
|
|
4704
4367
|
declare const VIDEO_TOOL_ACTION_NAME = "videoTool";
|
|
4705
4368
|
declare const VIDEO_TOOL_STATE: {
|
|
4706
4369
|
readonly IDLE: "idle";
|
|
@@ -4710,10 +4373,8 @@ declare const VIDEO_TOOL_STATE: {
|
|
|
4710
4373
|
readonly ADDING: "adding";
|
|
4711
4374
|
readonly FINISHED: "finished";
|
|
4712
4375
|
};
|
|
4713
|
-
|
|
4714
4376
|
//#endregion
|
|
4715
4377
|
//#region src/actions/video-tool/types.d.ts
|
|
4716
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4717
4378
|
type WeaveVideoToolActionStateKeys = keyof typeof VIDEO_TOOL_STATE;
|
|
4718
4379
|
type WeaveVideoToolActionState = (typeof VIDEO_TOOL_STATE)[WeaveVideoToolActionStateKeys];
|
|
4719
4380
|
type WeaveVideoToolDragParams = {
|
|
@@ -4743,10 +4404,8 @@ type WeaveVideoToolDragAndDropProperties = {
|
|
|
4743
4404
|
videoId: string;
|
|
4744
4405
|
videoParams: WeaveVideoToolDragParams;
|
|
4745
4406
|
};
|
|
4746
|
-
|
|
4747
4407
|
//#endregion
|
|
4748
4408
|
//#region src/actions/video-tool/video-tool.d.ts
|
|
4749
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4750
4409
|
declare class WeaveVideoToolAction extends WeaveAction {
|
|
4751
4410
|
protected initInitialized: boolean;
|
|
4752
4411
|
protected initialized: boolean;
|
|
@@ -4783,10 +4442,8 @@ declare class WeaveVideoToolAction extends WeaveAction {
|
|
|
4783
4442
|
private setCursor;
|
|
4784
4443
|
setDragAndDropProperties(properties: WeaveVideoToolDragAndDropProperties): void;
|
|
4785
4444
|
}
|
|
4786
|
-
|
|
4787
4445
|
//#endregion
|
|
4788
4446
|
//#region src/actions/measure-tool/constants.d.ts
|
|
4789
|
-
//# sourceMappingURL=video-tool.d.ts.map
|
|
4790
4447
|
declare const MEASURE_TOOL_ACTION_NAME = "measureTool";
|
|
4791
4448
|
declare const MEASURE_TOOL_STATE: {
|
|
4792
4449
|
readonly IDLE: "idle";
|
|
@@ -4795,10 +4452,8 @@ declare const MEASURE_TOOL_STATE: {
|
|
|
4795
4452
|
readonly FINISHED: "finished";
|
|
4796
4453
|
};
|
|
4797
4454
|
declare const WEAVE_MEASURE_TOOL_DEFAULT_CONFIG: WeaveMeasureToolProperties;
|
|
4798
|
-
|
|
4799
4455
|
//#endregion
|
|
4800
4456
|
//#region src/actions/measure-tool/types.d.ts
|
|
4801
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4802
4457
|
type WeaveMeasureToolActionStateKeys = keyof typeof MEASURE_TOOL_STATE;
|
|
4803
4458
|
type WeaveMeasureToolActionState = (typeof MEASURE_TOOL_STATE)[WeaveMeasureToolActionStateKeys];
|
|
4804
4459
|
type WeaveMeasureToolProperties = {
|
|
@@ -4809,10 +4464,8 @@ type WeaveMeasureToolProperties = {
|
|
|
4809
4464
|
type WeaveMeasureToolParams = {
|
|
4810
4465
|
config: DeepPartial<WeaveMeasureToolProperties>;
|
|
4811
4466
|
};
|
|
4812
|
-
|
|
4813
4467
|
//#endregion
|
|
4814
4468
|
//#region src/actions/measure-tool/measure-tool.d.ts
|
|
4815
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4816
4469
|
declare class WeaveMeasureToolAction extends WeaveAction {
|
|
4817
4470
|
private readonly config;
|
|
4818
4471
|
protected initialized: boolean;
|
|
@@ -4849,10 +4502,8 @@ declare class WeaveMeasureToolAction extends WeaveAction {
|
|
|
4849
4502
|
private setFocusStage;
|
|
4850
4503
|
private defineFinalPoint;
|
|
4851
4504
|
}
|
|
4852
|
-
|
|
4853
4505
|
//#endregion
|
|
4854
4506
|
//#region src/actions/connector-tool/constants.d.ts
|
|
4855
|
-
//# sourceMappingURL=measure-tool.d.ts.map
|
|
4856
4507
|
declare const CONNECTOR_TOOL_ACTION_NAME = "connectorTool";
|
|
4857
4508
|
declare const CONNECTOR_TOOL_STATE: {
|
|
4858
4509
|
readonly IDLE: "idle";
|
|
@@ -4861,10 +4512,8 @@ declare const CONNECTOR_TOOL_STATE: {
|
|
|
4861
4512
|
readonly ADDED: "added";
|
|
4862
4513
|
};
|
|
4863
4514
|
declare const CONNECTOR_TOOL_DEFAULT_CONFIG: WeaveConnectorToolActionProperties;
|
|
4864
|
-
|
|
4865
4515
|
//#endregion
|
|
4866
4516
|
//#region src/actions/connector-tool/types.d.ts
|
|
4867
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4868
4517
|
type WeaveConnectorToolActionStateKeys = keyof typeof CONNECTOR_TOOL_STATE;
|
|
4869
4518
|
type WeaveConnectorToolActionState = (typeof CONNECTOR_TOOL_STATE)[WeaveConnectorToolActionStateKeys];
|
|
4870
4519
|
type WeaveConnectorToolActionProperties = {
|
|
@@ -4887,10 +4536,8 @@ type WeaveConnectorToolActionProperties = {
|
|
|
4887
4536
|
type WeaveConnectorToolActionParams = {
|
|
4888
4537
|
config: DeepPartial<WeaveConnectorToolActionProperties>;
|
|
4889
4538
|
};
|
|
4890
|
-
|
|
4891
4539
|
//#endregion
|
|
4892
4540
|
//#region src/actions/connector-tool/connector-tool.d.ts
|
|
4893
|
-
//# sourceMappingURL=types.d.ts.map
|
|
4894
4541
|
declare class WeaveConnectorToolAction extends WeaveAction {
|
|
4895
4542
|
protected readonly config: WeaveConnectorToolActionProperties;
|
|
4896
4543
|
protected initialized: boolean;
|
|
@@ -4935,10 +4582,8 @@ declare class WeaveConnectorToolAction extends WeaveAction {
|
|
|
4935
4582
|
protected showConnectorAnchors(node: Konva.Node): void;
|
|
4936
4583
|
private hideAllConnectorAnchors;
|
|
4937
4584
|
}
|
|
4938
|
-
|
|
4939
4585
|
//#endregion
|
|
4940
4586
|
//#region src/actions/guide-tool/constants.d.ts
|
|
4941
|
-
//# sourceMappingURL=connector-tool.d.ts.map
|
|
4942
4587
|
declare const GUIDE_TOOL_ACTION_NAME = "guideTool";
|
|
4943
4588
|
declare const GUIDE_TOOL_STATE: {
|
|
4944
4589
|
readonly IDLE: "idle";
|
|
@@ -4947,10 +4592,8 @@ declare const GUIDE_TOOL_STATE: {
|
|
|
4947
4592
|
readonly ADDED: "added";
|
|
4948
4593
|
};
|
|
4949
4594
|
declare const DEFAULT_GUIDE_TOOL_ACTION_CONFIG: GuideToolActionConfig;
|
|
4950
|
-
|
|
4951
4595
|
//#endregion
|
|
4952
4596
|
//#region src/plugins/nodes-snapping/constants.d.ts
|
|
4953
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4954
4597
|
declare const GUIDE_NAME = "snap-guide";
|
|
4955
4598
|
declare const GUIDE_DISTANCE_NAME = "snap-distance-guide";
|
|
4956
4599
|
declare const WEAVE_NODES_SNAPPING_PLUGIN_KEY = "nodesSnapping";
|
|
@@ -4980,10 +4623,8 @@ declare const MOVE_ORIENTATION: {
|
|
|
4980
4623
|
readonly RIGHT: "right";
|
|
4981
4624
|
};
|
|
4982
4625
|
declare const DEFAULT_SNAPPING_MANAGER_CONFIG: WeaveNodesSnappingPluginConfig;
|
|
4983
|
-
|
|
4984
4626
|
//#endregion
|
|
4985
4627
|
//#region src/plugins/nodes-snapping/types.d.ts
|
|
4986
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
4987
4628
|
type MoveOrientationKeys = keyof typeof MOVE_ORIENTATION;
|
|
4988
4629
|
type MoveOrientation = (typeof MOVE_ORIENTATION)[MoveOrientationKeys];
|
|
4989
4630
|
type GuideKindKeys = keyof typeof GUIDE_KIND;
|
|
@@ -5183,10 +4824,8 @@ type VIntersection = {
|
|
|
5183
4824
|
distances: DistanceInfoV[];
|
|
5184
4825
|
targetDistanceIndexes: number[];
|
|
5185
4826
|
};
|
|
5186
|
-
|
|
5187
4827
|
//#endregion
|
|
5188
4828
|
//#region src/actions/guide-tool/types.d.ts
|
|
5189
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5190
4829
|
type GuideToolActionStateKeys = keyof typeof GUIDE_TOOL_STATE;
|
|
5191
4830
|
type GuideToolActionState = (typeof GUIDE_TOOL_STATE)[GuideToolActionStateKeys];
|
|
5192
4831
|
type GuideToolActionTriggerParams = {
|
|
@@ -5207,10 +4846,8 @@ type GuideToolActionStyle = {
|
|
|
5207
4846
|
};
|
|
5208
4847
|
targetDistance: GuideDistanceToTargetInfoStyle;
|
|
5209
4848
|
};
|
|
5210
|
-
|
|
5211
4849
|
//#endregion
|
|
5212
4850
|
//#region src/plugins/nodes-snapping/nodes-snapping.guide-distance-to-target-info.d.ts
|
|
5213
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5214
4851
|
declare class WeaveNodesSnappingGuideDistanceToTargetInfo {
|
|
5215
4852
|
protected instance: Weave;
|
|
5216
4853
|
protected config: GuideDistanceToTargetInfoConfig;
|
|
@@ -5235,10 +4872,8 @@ declare class WeaveNodesSnappingGuideDistanceToTargetInfo {
|
|
|
5235
4872
|
private getNodeSelectionPlugin;
|
|
5236
4873
|
private getSnappingManagerPlugin;
|
|
5237
4874
|
}
|
|
5238
|
-
|
|
5239
4875
|
//#endregion
|
|
5240
4876
|
//#region src/actions/guide-tool/guide-tool.d.ts
|
|
5241
|
-
//# sourceMappingURL=nodes-snapping.guide-distance-to-target-info.d.ts.map
|
|
5242
4877
|
declare class WeaveGuideToolAction extends WeaveAction {
|
|
5243
4878
|
protected config: GuideToolActionConfig;
|
|
5244
4879
|
protected initialized: boolean;
|
|
@@ -5264,10 +4899,8 @@ declare class WeaveGuideToolAction extends WeaveAction {
|
|
|
5264
4899
|
private setCursor;
|
|
5265
4900
|
private getVisibleStageRect;
|
|
5266
4901
|
}
|
|
5267
|
-
|
|
5268
4902
|
//#endregion
|
|
5269
4903
|
//#region src/plugins/stage-panning/constants.d.ts
|
|
5270
|
-
//# sourceMappingURL=guide-tool.d.ts.map
|
|
5271
4904
|
declare const WEAVE_STAGE_PANNING_KEY = "stagePanning";
|
|
5272
4905
|
declare const WEAVE_STAGE_PANNING_THROTTLE_MS = 20;
|
|
5273
4906
|
declare const WEAVE_STAGE_PANNING_DEFAULT_CONFIG: {
|
|
@@ -5276,10 +4909,8 @@ declare const WEAVE_STAGE_PANNING_DEFAULT_CONFIG: {
|
|
|
5276
4909
|
speed: number;
|
|
5277
4910
|
};
|
|
5278
4911
|
};
|
|
5279
|
-
|
|
5280
4912
|
//#endregion
|
|
5281
4913
|
//#region src/plugins/stage-minimap/types.d.ts
|
|
5282
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5283
4914
|
type WeaveStageMinimapPluginStyle = {
|
|
5284
4915
|
viewportReference: Konva.RectConfig;
|
|
5285
4916
|
};
|
|
@@ -5293,10 +4924,8 @@ type WeaveStageMinimapPluginConfig = {
|
|
|
5293
4924
|
type WeaveStageMinimapPluginParams = {
|
|
5294
4925
|
config: Pick<WeaveStageMinimapPluginConfig, 'getContainer' | 'id' | 'width' | 'fitToContentPadding'> & DeepPartial<Pick<WeaveStageMinimapPluginConfig, 'style'>>;
|
|
5295
4926
|
};
|
|
5296
|
-
|
|
5297
4927
|
//#endregion
|
|
5298
4928
|
//#region src/plugins/stage-minimap/stage-minimap.d.ts
|
|
5299
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5300
4929
|
declare class WeaveStageMinimapPlugin extends WeavePlugin {
|
|
5301
4930
|
getLayerName: undefined;
|
|
5302
4931
|
initLayer: undefined;
|
|
@@ -5320,10 +4949,8 @@ declare class WeaveStageMinimapPlugin extends WeavePlugin {
|
|
|
5320
4949
|
enable(): void;
|
|
5321
4950
|
disable(): void;
|
|
5322
4951
|
}
|
|
5323
|
-
|
|
5324
4952
|
//#endregion
|
|
5325
4953
|
//#region src/plugins/stage-minimap/constants.d.ts
|
|
5326
|
-
//# sourceMappingURL=stage-minimap.d.ts.map
|
|
5327
4954
|
declare const WEAVE_STAGE_MINIMAP_KEY = "stageMinimap";
|
|
5328
4955
|
declare const STAGE_MINIMAP_DEFAULT_CONFIG: {
|
|
5329
4956
|
style: {
|
|
@@ -5335,10 +4962,8 @@ declare const STAGE_MINIMAP_DEFAULT_CONFIG: {
|
|
|
5335
4962
|
};
|
|
5336
4963
|
};
|
|
5337
4964
|
};
|
|
5338
|
-
|
|
5339
4965
|
//#endregion
|
|
5340
4966
|
//#region src/plugins/stage-resize/stage-resize.d.ts
|
|
5341
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5342
4967
|
declare class WeaveStageResizePlugin extends WeavePlugin {
|
|
5343
4968
|
getLayerName: undefined;
|
|
5344
4969
|
initLayer: undefined;
|
|
@@ -5350,10 +4975,8 @@ declare class WeaveStageResizePlugin extends WeavePlugin {
|
|
|
5350
4975
|
enable(): void;
|
|
5351
4976
|
disable(): void;
|
|
5352
4977
|
}
|
|
5353
|
-
|
|
5354
4978
|
//#endregion
|
|
5355
4979
|
//#region src/plugins/nodes-selection/constants.d.ts
|
|
5356
|
-
//# sourceMappingURL=stage-resize.d.ts.map
|
|
5357
4980
|
declare const WEAVE_NODES_SELECTION_KEY = "nodesSelection";
|
|
5358
4981
|
declare const WEAVE_NODES_SELECTION_LAYER_ID = "selectionLayer";
|
|
5359
4982
|
declare const WEAVE_NODES_SELECTION_DEFAULT_CONFIG: {
|
|
@@ -5403,11 +5026,10 @@ declare const WEAVE_NODES_SELECTION_DEFAULT_CONFIG: {
|
|
|
5403
5026
|
style: {
|
|
5404
5027
|
dragOpacity: number;
|
|
5405
5028
|
};
|
|
5029
|
+
selectionMode: string;
|
|
5406
5030
|
};
|
|
5407
|
-
|
|
5408
5031
|
//#endregion
|
|
5409
5032
|
//#region src/plugins/nodes-multi-selection-feedback/constants.d.ts
|
|
5410
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5411
5033
|
declare const WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_KEY = "nodesMultiSelectionFeedback";
|
|
5412
5034
|
declare const WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_LAYER_ID = "selectionLayer";
|
|
5413
5035
|
declare const WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_DEFAULT_CONFIG: {
|
|
@@ -5417,15 +5039,11 @@ declare const WEAVE_NODES_MULTI_SELECTION_FEEDBACK_PLUGIN_DEFAULT_CONFIG: {
|
|
|
5417
5039
|
fill: string;
|
|
5418
5040
|
};
|
|
5419
5041
|
};
|
|
5420
|
-
|
|
5421
5042
|
//#endregion
|
|
5422
5043
|
//#region src/plugins/connected-users/constants.d.ts
|
|
5423
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5424
5044
|
declare const WEAVE_CONNECTED_USER_INFO_KEY = "userInfo";
|
|
5425
|
-
|
|
5426
5045
|
//#endregion
|
|
5427
5046
|
//#region src/plugins/connected-users/types.d.ts
|
|
5428
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5429
5047
|
type WeaveConnectedUsersPluginConfig = {
|
|
5430
5048
|
getUser: () => WeaveUser;
|
|
5431
5049
|
};
|
|
@@ -5437,10 +5055,8 @@ type WeaveConnectedUsers = {
|
|
|
5437
5055
|
};
|
|
5438
5056
|
type WeaveConnectedUsersChangeEvent = WeaveConnectedUsers;
|
|
5439
5057
|
type WeaveConnectedUserInfoKey = typeof WEAVE_CONNECTED_USER_INFO_KEY;
|
|
5440
|
-
|
|
5441
5058
|
//#endregion
|
|
5442
5059
|
//#region src/plugins/connected-users/connected-users.d.ts
|
|
5443
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5444
5060
|
declare class WeaveConnectedUsersPlugin extends WeavePlugin {
|
|
5445
5061
|
private config;
|
|
5446
5062
|
private connectedUsers;
|
|
@@ -5454,16 +5070,12 @@ declare class WeaveConnectedUsersPlugin extends WeavePlugin {
|
|
|
5454
5070
|
enable(): void;
|
|
5455
5071
|
disable(): void;
|
|
5456
5072
|
}
|
|
5457
|
-
|
|
5458
5073
|
//#endregion
|
|
5459
5074
|
//#region src/plugins/users-selection/constants.d.ts
|
|
5460
|
-
//# sourceMappingURL=connected-users.d.ts.map
|
|
5461
5075
|
declare const WEAVE_USERS_SELECTION_KEY = "usersSelection";
|
|
5462
5076
|
declare const WEAVE_USER_SELECTION_KEY = "userSelection";
|
|
5463
|
-
|
|
5464
5077
|
//#endregion
|
|
5465
5078
|
//#region src/plugins/users-selection/types.d.ts
|
|
5466
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5467
5079
|
type WeaveUsersSelectionPluginConfig = {
|
|
5468
5080
|
getUser: () => WeaveUser;
|
|
5469
5081
|
getUserColor: (user: WeaveUser) => string | CanvasGradient | undefined;
|
|
@@ -5477,10 +5089,8 @@ type WeaveUserSelectionInfo = {
|
|
|
5477
5089
|
nodes: string[];
|
|
5478
5090
|
};
|
|
5479
5091
|
type WeaveUserSelectionKey = typeof WEAVE_USER_SELECTION_KEY;
|
|
5480
|
-
|
|
5481
5092
|
//#endregion
|
|
5482
5093
|
//#region src/plugins/users-selection/users-selection.d.ts
|
|
5483
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5484
5094
|
declare class WeaveUsersSelectionPlugin extends WeavePlugin {
|
|
5485
5095
|
private padding;
|
|
5486
5096
|
private usersSelection;
|
|
@@ -5500,10 +5110,8 @@ declare class WeaveUsersSelectionPlugin extends WeavePlugin {
|
|
|
5500
5110
|
enable(): void;
|
|
5501
5111
|
disable(): void;
|
|
5502
5112
|
}
|
|
5503
|
-
|
|
5504
5113
|
//#endregion
|
|
5505
5114
|
//#region src/plugins/users-pointers/constants.d.ts
|
|
5506
|
-
//# sourceMappingURL=users-selection.d.ts.map
|
|
5507
5115
|
declare const WEAVE_USERS_POINTERS_KEY = "usersPointers";
|
|
5508
5116
|
declare const WEAVE_USER_POINTER_KEY = "userPointer";
|
|
5509
5117
|
declare const WEAVE_DEFAULT_USER_INFO_FUNCTION: () => {
|
|
@@ -5529,10 +5137,8 @@ declare const WEAVE_USERS_POINTERS_CONFIG_DEFAULT_PROPS: {
|
|
|
5529
5137
|
};
|
|
5530
5138
|
getOperationName: (operation: string) => string;
|
|
5531
5139
|
};
|
|
5532
|
-
|
|
5533
5140
|
//#endregion
|
|
5534
5141
|
//#region src/plugins/users-pointers/types.d.ts
|
|
5535
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5536
5142
|
type WeaveUserPointersUIProperties = {
|
|
5537
5143
|
separation: number;
|
|
5538
5144
|
pointer: {
|
|
@@ -5567,10 +5173,8 @@ type WeaveUserPointer = {
|
|
|
5567
5173
|
y: number;
|
|
5568
5174
|
};
|
|
5569
5175
|
type WeaveUserPointerKey = typeof WEAVE_USER_POINTER_KEY;
|
|
5570
|
-
|
|
5571
5176
|
//#endregion
|
|
5572
5177
|
//#region src/plugins/users-pointers/users-pointers.d.ts
|
|
5573
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5574
5178
|
declare class WeaveUsersPointersPlugin extends WeavePlugin {
|
|
5575
5179
|
private usersPointers;
|
|
5576
5180
|
private config;
|
|
@@ -5588,10 +5192,8 @@ declare class WeaveUsersPointersPlugin extends WeavePlugin {
|
|
|
5588
5192
|
enable(): void;
|
|
5589
5193
|
disable(): void;
|
|
5590
5194
|
}
|
|
5591
|
-
|
|
5592
5195
|
//#endregion
|
|
5593
5196
|
//#region src/plugins/stage-drop-area/stage-drop-area.d.ts
|
|
5594
|
-
//# sourceMappingURL=users-pointers.d.ts.map
|
|
5595
5197
|
declare class WeaveStageDropAreaPlugin extends WeavePlugin {
|
|
5596
5198
|
getLayerName: undefined;
|
|
5597
5199
|
initLayer: undefined;
|
|
@@ -5604,20 +5206,14 @@ declare class WeaveStageDropAreaPlugin extends WeavePlugin {
|
|
|
5604
5206
|
enable(): void;
|
|
5605
5207
|
disable(): void;
|
|
5606
5208
|
}
|
|
5607
|
-
|
|
5608
5209
|
//#endregion
|
|
5609
5210
|
//#region src/plugins/stage-drop-area/constants.d.ts
|
|
5610
|
-
//# sourceMappingURL=stage-drop-area.d.ts.map
|
|
5611
5211
|
declare const WEAVE_STAGE_DROP_AREA_KEY = "stageDropArea";
|
|
5612
|
-
|
|
5613
5212
|
//#endregion
|
|
5614
5213
|
//#region src/plugins/stage-drop-area/types.d.ts
|
|
5615
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5616
5214
|
type WeaveStageDropPluginOnStageDropEvent = DragEvent;
|
|
5617
|
-
|
|
5618
5215
|
//#endregion
|
|
5619
5216
|
//#region src/plugins/copy-paste-nodes/constants.d.ts
|
|
5620
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5621
5217
|
declare const WEAVE_COPY_PASTE_NODES_KEY = "copyPasteNodes";
|
|
5622
5218
|
declare const WEAVE_COPY_PASTE_PASTE_CATCHER_ID = "weave-paste-catcher";
|
|
5623
5219
|
declare const WEAVE_COPY_PASTE_PASTE_MODES: {
|
|
@@ -5639,10 +5235,8 @@ declare const WEAVE_COPY_PASTE_CONFIG_DEFAULT: {
|
|
|
5639
5235
|
readonly paddingY: 0;
|
|
5640
5236
|
};
|
|
5641
5237
|
};
|
|
5642
|
-
|
|
5643
5238
|
//#endregion
|
|
5644
5239
|
//#region src/plugins/copy-paste-nodes/types.d.ts
|
|
5645
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5646
5240
|
type WeaveCopyPasteNodesPluginStateKeys = keyof typeof COPY_PASTE_NODES_PLUGIN_STATE;
|
|
5647
5241
|
type WeaveCopyPasteNodesPluginState = (typeof COPY_PASTE_NODES_PLUGIN_STATE)[WeaveCopyPasteNodesPluginStateKeys];
|
|
5648
5242
|
type WeaveCopyPasteNodesPluginOnCopyEvent = {
|
|
@@ -5687,10 +5281,8 @@ type WeaveCopyPasteNodesPluginParams = {
|
|
|
5687
5281
|
config?: Partial<WeaveCopyPasteNodesPluginConfig>;
|
|
5688
5282
|
getImageBase64: (instance: Weave, nodes: Konva.Node[]) => Promise<string>;
|
|
5689
5283
|
};
|
|
5690
|
-
|
|
5691
5284
|
//#endregion
|
|
5692
5285
|
//#region src/plugins/copy-paste-nodes/copy-paste-nodes.d.ts
|
|
5693
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5694
5286
|
declare class WeaveCopyPasteNodesPlugin extends WeavePlugin {
|
|
5695
5287
|
protected state: WeaveCopyPasteNodesPluginState;
|
|
5696
5288
|
private readonly config;
|
|
@@ -5745,10 +5337,8 @@ declare class WeaveCopyPasteNodesPlugin extends WeavePlugin {
|
|
|
5745
5337
|
};
|
|
5746
5338
|
getStageGridPlugin(): WeaveStageGridPlugin | undefined;
|
|
5747
5339
|
}
|
|
5748
|
-
|
|
5749
5340
|
//#endregion
|
|
5750
5341
|
//#region src/plugins/comments-renderer/types.d.ts
|
|
5751
|
-
//# sourceMappingURL=copy-paste-nodes.d.ts.map
|
|
5752
5342
|
type WeaveCommentsRendererModel<T> = {
|
|
5753
5343
|
getId: (comment: T) => string;
|
|
5754
5344
|
getUser: (comment: T) => WeaveUser;
|
|
@@ -5764,10 +5354,8 @@ type WeaveCommentsRendererPluginConfig<T> = {
|
|
|
5764
5354
|
type WeaveCommentsRendererPluginParams<T> = {
|
|
5765
5355
|
config: WeaveCommentsRendererPluginConfig<T>;
|
|
5766
5356
|
};
|
|
5767
|
-
|
|
5768
5357
|
//#endregion
|
|
5769
5358
|
//#region src/plugins/comments-renderer/comments-renderer.d.ts
|
|
5770
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5771
5359
|
declare class WeaveCommentsRendererPlugin<T> extends WeavePlugin {
|
|
5772
5360
|
private readonly config;
|
|
5773
5361
|
private comments;
|
|
@@ -5782,20 +5370,16 @@ declare class WeaveCommentsRendererPlugin<T> extends WeavePlugin {
|
|
|
5782
5370
|
private initCommentsLayer;
|
|
5783
5371
|
deleteComments(): void;
|
|
5784
5372
|
render(): void;
|
|
5785
|
-
getCommentsLayer():
|
|
5373
|
+
getCommentsLayer(): import("konva/lib/Layer").Layer;
|
|
5786
5374
|
enable(): void;
|
|
5787
5375
|
disable(): void;
|
|
5788
5376
|
}
|
|
5789
|
-
|
|
5790
5377
|
//#endregion
|
|
5791
5378
|
//#region src/plugins/comments-renderer/constants.d.ts
|
|
5792
|
-
//# sourceMappingURL=comments-renderer.d.ts.map
|
|
5793
5379
|
declare const WEAVE_COMMENTS_RENDERER_KEY = "commentsRenderer";
|
|
5794
5380
|
declare const WEAVE_COMMENTS_TOOL_LAYER_ID = "commentsLayer";
|
|
5795
|
-
|
|
5796
5381
|
//#endregion
|
|
5797
5382
|
//#region src/plugins/stage-keyboard-move/constants.d.ts
|
|
5798
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5799
5383
|
declare const WEAVE_STAGE_KEYBOARD_MOVE_KEY = "stageKeyboardMove";
|
|
5800
5384
|
declare const WEAVE_STAGE_KEYBOARD_MOVE_DEFAULT_CONFIG: {
|
|
5801
5385
|
movementDelta: number;
|
|
@@ -5807,10 +5391,8 @@ declare const WEAVE_STAGE_KEYBOARD_MOVE_ORIENTATION: {
|
|
|
5807
5391
|
readonly LEFT: "left";
|
|
5808
5392
|
readonly RIGHT: "right";
|
|
5809
5393
|
};
|
|
5810
|
-
|
|
5811
5394
|
//#endregion
|
|
5812
5395
|
//#region src/plugins/stage-keyboard-move/types.d.ts
|
|
5813
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
5814
5396
|
type WeaveMoveOrientationKeys = keyof typeof WEAVE_STAGE_KEYBOARD_MOVE_ORIENTATION;
|
|
5815
5397
|
type WeaveMoveOrientation = (typeof WEAVE_STAGE_KEYBOARD_MOVE_ORIENTATION)[WeaveMoveOrientationKeys];
|
|
5816
5398
|
type WeaveStageKeyboardMovePluginConfig = {
|
|
@@ -5820,10 +5402,8 @@ type WeaveStageKeyboardMovePluginConfig = {
|
|
|
5820
5402
|
type WeaveStageKeyboardMovePluginParams = {
|
|
5821
5403
|
config?: DeepPartial<WeaveStageKeyboardMovePluginConfig>;
|
|
5822
5404
|
};
|
|
5823
|
-
|
|
5824
5405
|
//#endregion
|
|
5825
5406
|
//#region src/plugins/stage-keyboard-move/stage-keyboard-move.d.ts
|
|
5826
|
-
//# sourceMappingURL=types.d.ts.map
|
|
5827
5407
|
declare class WeaveStageKeyboardMovePlugin extends WeavePlugin {
|
|
5828
5408
|
private config;
|
|
5829
5409
|
getLayerName: undefined;
|
|
@@ -5832,19 +5412,15 @@ declare class WeaveStageKeyboardMovePlugin extends WeavePlugin {
|
|
|
5832
5412
|
initialize: undefined;
|
|
5833
5413
|
constructor(params?: WeaveStageKeyboardMovePluginParams);
|
|
5834
5414
|
getName(): string;
|
|
5835
|
-
handleNodesMovement(movementOrientation: WeaveMoveOrientation, {
|
|
5836
|
-
isShiftPressed
|
|
5837
|
-
}: {
|
|
5415
|
+
handleNodesMovement(movementOrientation: WeaveMoveOrientation, { isShiftPressed }: {
|
|
5838
5416
|
isShiftPressed: boolean;
|
|
5839
5417
|
}): void;
|
|
5840
5418
|
onInit(): void;
|
|
5841
5419
|
enable(): void;
|
|
5842
5420
|
disable(): void;
|
|
5843
5421
|
}
|
|
5844
|
-
|
|
5845
5422
|
//#endregion
|
|
5846
5423
|
//#region src/plugins/nodes-snapping/nodes-snapping.custom-guides.d.ts
|
|
5847
|
-
//# sourceMappingURL=stage-keyboard-move.d.ts.map
|
|
5848
5424
|
declare class WeaveNodesSnappingCustomGuides {
|
|
5849
5425
|
instance: Weave;
|
|
5850
5426
|
config: WeaveNodesSnappingCustomGuidesConfig;
|
|
@@ -5897,10 +5473,8 @@ declare class WeaveNodesSnappingCustomGuides {
|
|
|
5897
5473
|
private handleDistanceGuide;
|
|
5898
5474
|
private cleanupDistanceGuide;
|
|
5899
5475
|
}
|
|
5900
|
-
|
|
5901
5476
|
//#endregion
|
|
5902
5477
|
//#region src/plugins/nodes-snapping/nodes-snapping.distance.d.ts
|
|
5903
|
-
//# sourceMappingURL=nodes-snapping.custom-guides.d.ts.map
|
|
5904
5478
|
declare class WeaveNodesSnappingDistance {
|
|
5905
5479
|
config: {
|
|
5906
5480
|
tolerance: number;
|
|
@@ -5935,10 +5509,8 @@ declare class WeaveNodesSnappingDistance {
|
|
|
5935
5509
|
private createVerticalGraphWithTarget;
|
|
5936
5510
|
getVerticalBandsIntersectingTarget(nodes: BoundingBoxWithId[], target: BoundingBoxWithId): BoundingBoxWithId[][];
|
|
5937
5511
|
}
|
|
5938
|
-
|
|
5939
5512
|
//#endregion
|
|
5940
5513
|
//#region src/plugins/nodes-snapping/nodes-snapping.guides.d.ts
|
|
5941
|
-
//# sourceMappingURL=nodes-snapping.distance.d.ts.map
|
|
5942
5514
|
declare class WeaveNodesSnappingGuides {
|
|
5943
5515
|
config: {
|
|
5944
5516
|
tolerance: number;
|
|
@@ -5961,10 +5533,8 @@ declare class WeaveNodesSnappingGuides {
|
|
|
5961
5533
|
pasteGuidesFromClipboard(containerId: string): Promise<void>;
|
|
5962
5534
|
getGuidesFromOtherNodes(draggedNodes: Konva.Node[], candidates: Konva.Node[], relativeTo: Konva.Container): Guide[];
|
|
5963
5535
|
}
|
|
5964
|
-
|
|
5965
5536
|
//#endregion
|
|
5966
5537
|
//#region src/plugins/nodes-snapping/nodes-snapping.d.ts
|
|
5967
|
-
//# sourceMappingURL=nodes-snapping.guides.d.ts.map
|
|
5968
5538
|
declare class WeaveNodesSnappingPlugin extends WeavePlugin {
|
|
5969
5539
|
config: WeaveNodesSnappingPluginConfig;
|
|
5970
5540
|
guidesRenderLayer: Konva.Layer;
|
|
@@ -6040,9 +5610,6 @@ declare class WeaveNodesSnappingPlugin extends WeavePlugin {
|
|
|
6040
5610
|
private mapAnchor;
|
|
6041
5611
|
private getAllGuides;
|
|
6042
5612
|
}
|
|
6043
|
-
|
|
6044
5613
|
//#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 };
|
|
5614
|
+
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, WeaveNodesSelectionMode, 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
5615
|
//# sourceMappingURL=types.d.ts.map
|