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