@inditextech/weave-sdk 0.38.0 → 0.39.1
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.cjs +879 -657
- package/dist/sdk.d.cts +199 -156
- package/dist/sdk.d.cts.map +1 -1
- package/dist/sdk.d.ts +199 -156
- package/dist/sdk.d.ts.map +1 -1
- package/dist/sdk.js +878 -658
- package/dist/sdk.js.map +1 -1
- package/package.json +2 -2
package/dist/sdk.d.ts
CHANGED
|
@@ -100,7 +100,7 @@ type WeaveSelection = {
|
|
|
100
100
|
};
|
|
101
101
|
type WeaveMousePointInfoSimple = {
|
|
102
102
|
mousePoint: Vector2d;
|
|
103
|
-
container: Konva.Layer | Konva.
|
|
103
|
+
container: Konva.Layer | Konva.Node | undefined;
|
|
104
104
|
};
|
|
105
105
|
type WeaveMousePointInfo = WeaveMousePointInfoSimple & {
|
|
106
106
|
measureContainer: Konva.Layer | Konva.Group | undefined;
|
|
@@ -268,20 +268,165 @@ type WeaveNodesSelectionPluginParams = {
|
|
|
268
268
|
};
|
|
269
269
|
|
|
270
270
|
//#endregion
|
|
271
|
-
//#region src/plugins/
|
|
271
|
+
//#region src/plugins/context-menu/types.d.ts
|
|
272
|
+
//# sourceMappingURL=types.d.ts.map
|
|
273
|
+
type WeaveStageContextMenuPluginParams = {
|
|
274
|
+
config?: WeaveStageContextMenuPluginConfig;
|
|
275
|
+
};
|
|
276
|
+
type WeaveStageContextMenuPluginConfig = {
|
|
277
|
+
xOffset?: number;
|
|
278
|
+
yOffset?: number;
|
|
279
|
+
};
|
|
280
|
+
type WeaveStageContextMenuPluginOnNodeContextMenuEvent = {
|
|
281
|
+
selection: WeaveSelection[];
|
|
282
|
+
point: Vector2d;
|
|
283
|
+
visible: boolean;
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
//#endregion
|
|
287
|
+
//#region src/plugins/context-menu/context-menu.d.ts
|
|
288
|
+
//# sourceMappingURL=types.d.ts.map
|
|
289
|
+
declare class WeaveContextMenuPlugin extends WeavePlugin {
|
|
290
|
+
private config;
|
|
291
|
+
private contextMenuVisible;
|
|
292
|
+
private tapHold;
|
|
293
|
+
private tapHoldTimeout;
|
|
294
|
+
private pointers;
|
|
295
|
+
private timer;
|
|
296
|
+
protected tapStart: {
|
|
297
|
+
x: number;
|
|
298
|
+
y: number;
|
|
299
|
+
time: number;
|
|
300
|
+
} | null;
|
|
301
|
+
getLayerName: undefined;
|
|
302
|
+
initLayer: undefined;
|
|
303
|
+
onRender: undefined;
|
|
304
|
+
constructor(params: WeaveStageContextMenuPluginParams);
|
|
305
|
+
getName(): string;
|
|
306
|
+
onInit(): void;
|
|
307
|
+
isPressed(e: KonvaEventObject<PointerEvent, Stage>): boolean;
|
|
308
|
+
setTapStart(e: KonvaEventObject<PointerEvent, Stage>): void;
|
|
309
|
+
triggerContextMenu(eventTarget: Konva.Node, target: Konva.Node | undefined): void;
|
|
310
|
+
closeContextMenu(): void;
|
|
311
|
+
private getSelectionPlugin;
|
|
312
|
+
cancelLongPressTimer(): void;
|
|
313
|
+
private initEvents;
|
|
314
|
+
isContextMenuVisible(): boolean;
|
|
315
|
+
isTapHold(): boolean;
|
|
316
|
+
enable(): void;
|
|
317
|
+
disable(): void;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
//#endregion
|
|
321
|
+
//#region src/plugins/nodes-snapping/constants.d.ts
|
|
322
|
+
//# sourceMappingURL=context-menu.d.ts.map
|
|
323
|
+
declare const WEAVE_NODES_SNAPPING_KEY = "nodesSnapping";
|
|
324
|
+
declare const GUIDE_LINE_NAME = "guide-line";
|
|
325
|
+
declare const GUIDE_LINE_DEFAULT_CONFIG: Required<Pick<Konva.LineConfig, 'stroke' | 'strokeWidth' | 'dash'>>;
|
|
326
|
+
declare const GUIDE_LINE_DRAG_SNAPPING_THRESHOLD = 10;
|
|
327
|
+
declare const GUIDE_LINE_TRANSFORM_SNAPPING_THRESHOLD = 10;
|
|
328
|
+
declare const GUIDE_ORIENTATION: {
|
|
329
|
+
readonly HORIZONTAL: "H";
|
|
330
|
+
readonly VERTICAL: "V";
|
|
331
|
+
};
|
|
332
|
+
declare const NODE_SNAP: {
|
|
333
|
+
readonly START: "start";
|
|
334
|
+
readonly CENTER: "center";
|
|
335
|
+
readonly END: "end";
|
|
336
|
+
};
|
|
337
|
+
|
|
338
|
+
//#endregion
|
|
339
|
+
//#region src/plugins/nodes-snapping/types.d.ts
|
|
340
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
341
|
+
type NodeSnapKeys = keyof typeof NODE_SNAP;
|
|
342
|
+
type NodeSnap = (typeof NODE_SNAP)[NodeSnapKeys];
|
|
343
|
+
type NodeSnappingEdge = {
|
|
344
|
+
guide: number;
|
|
345
|
+
offset: number;
|
|
346
|
+
snap: NodeSnap;
|
|
347
|
+
};
|
|
348
|
+
type NodeSnappingEdges = {
|
|
349
|
+
vertical: NodeSnappingEdge[];
|
|
350
|
+
horizontal: NodeSnappingEdge[];
|
|
351
|
+
};
|
|
352
|
+
type LineGuideStop = {
|
|
353
|
+
vertical: number[];
|
|
354
|
+
horizontal: number[];
|
|
355
|
+
};
|
|
356
|
+
type LineGuide = {
|
|
357
|
+
lineGuide: number;
|
|
358
|
+
diff: number;
|
|
359
|
+
snap: NodeSnap;
|
|
360
|
+
offset: number;
|
|
361
|
+
};
|
|
362
|
+
type GuideOrientationKeys = keyof typeof GUIDE_ORIENTATION;
|
|
363
|
+
type GuideOrientation = (typeof GUIDE_ORIENTATION)[GuideOrientationKeys];
|
|
364
|
+
type Guide = {
|
|
365
|
+
lineGuide: number;
|
|
366
|
+
offset: number;
|
|
367
|
+
orientation: GuideOrientation;
|
|
368
|
+
snap: NodeSnap;
|
|
369
|
+
};
|
|
370
|
+
type WeaveNodesSnappingPluginConfig = {
|
|
371
|
+
guideLine: Konva.LineConfig;
|
|
372
|
+
dragSnappingThreshold: number;
|
|
373
|
+
transformSnappingThreshold: number;
|
|
374
|
+
};
|
|
375
|
+
type WeaveNodesSnappingPluginParams = {
|
|
376
|
+
config?: WeaveNodesSnappingPluginConfig;
|
|
377
|
+
};
|
|
378
|
+
|
|
379
|
+
//#endregion
|
|
380
|
+
//#region src/plugins/nodes-snapping/nodes-snapping.d.ts
|
|
272
381
|
//# sourceMappingURL=types.d.ts.map
|
|
382
|
+
declare class WeaveNodesSnappingPlugin extends WeavePlugin {
|
|
383
|
+
private guideLineConfig;
|
|
384
|
+
private dragSnappingThreshold;
|
|
385
|
+
private transformSnappingThreshold;
|
|
386
|
+
onRender: undefined;
|
|
387
|
+
constructor(params?: Partial<WeaveNodesSnappingPluginParams>);
|
|
388
|
+
getName(): string;
|
|
389
|
+
onInit(): void;
|
|
390
|
+
setEnabled(enabled: boolean): void;
|
|
391
|
+
getSelectedNodesMetadata(transformer: Konva.Transformer): {
|
|
392
|
+
width: number;
|
|
393
|
+
height: number;
|
|
394
|
+
nodes: string[];
|
|
395
|
+
};
|
|
396
|
+
deleteGuides(): void;
|
|
397
|
+
evaluateGuidelines(e: KonvaEventObject<any>): void;
|
|
398
|
+
cleanupEvaluateGuidelines(): void;
|
|
399
|
+
private initEvents;
|
|
400
|
+
private nodeIntersectsViewport;
|
|
401
|
+
getLineGuideStops(skipNodes: string[]): LineGuideStop;
|
|
402
|
+
getObjectSnappingEdges(node: Konva.Node): NodeSnappingEdges;
|
|
403
|
+
getGuides(lineGuideStops: LineGuideStop, itemBounds: NodeSnappingEdges, type: string): Guide[];
|
|
404
|
+
drawGuides(guides: Guide[]): void;
|
|
405
|
+
enable(): void;
|
|
406
|
+
disable(): void;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
//#endregion
|
|
410
|
+
//#region src/plugins/nodes-selection/nodes-selection.d.ts
|
|
411
|
+
//# sourceMappingURL=nodes-snapping.d.ts.map
|
|
273
412
|
declare class WeaveNodesSelectionPlugin extends WeavePlugin {
|
|
274
413
|
private tr;
|
|
414
|
+
private trHover;
|
|
275
415
|
private config;
|
|
276
416
|
private selectionRectangle;
|
|
277
417
|
private active;
|
|
278
|
-
private cameFromSelectingMultiple;
|
|
279
418
|
private defaultEnabledAnchors;
|
|
280
|
-
private selectionTriggered;
|
|
281
419
|
private selecting;
|
|
282
420
|
private didMove;
|
|
283
|
-
private dragging;
|
|
284
421
|
private initialized;
|
|
422
|
+
protected taps: number;
|
|
423
|
+
protected isDoubleTap: boolean;
|
|
424
|
+
protected tapStart: {
|
|
425
|
+
x: number;
|
|
426
|
+
y: number;
|
|
427
|
+
time: number;
|
|
428
|
+
} | null;
|
|
429
|
+
protected lastTapTime: number;
|
|
285
430
|
private pointers;
|
|
286
431
|
onRender: undefined;
|
|
287
432
|
constructor(params?: WeaveNodesSelectionPluginParams);
|
|
@@ -296,8 +441,17 @@ declare class WeaveNodesSelectionPlugin extends WeavePlugin {
|
|
|
296
441
|
private getLayer;
|
|
297
442
|
triggerSelectedNodesEvent(): void;
|
|
298
443
|
removeSelectedNodes(): void;
|
|
444
|
+
private setTapStart;
|
|
445
|
+
private checkMovedDrag;
|
|
446
|
+
private checkMoved;
|
|
447
|
+
private checkDoubleTap;
|
|
448
|
+
private hideSelectorArea;
|
|
299
449
|
private initEvents;
|
|
450
|
+
protected getSelectionPlugin(): WeaveNodesSelectionPlugin | undefined;
|
|
451
|
+
protected hideHoverState(): void;
|
|
452
|
+
handleClickOrTap(e: KonvaEventObject<PointerEvent, Stage>): void;
|
|
300
453
|
getTransformer(): Konva.Transformer;
|
|
454
|
+
getHoverTransformer(): Konva.Transformer;
|
|
301
455
|
setSelectedNodes(nodes: Konva.Node[]): void;
|
|
302
456
|
getSelectedNodes(): (Konva.Group | Konva.Shape)[];
|
|
303
457
|
getSelectedNodesExtended(): WeaveSelection[];
|
|
@@ -305,6 +459,8 @@ declare class WeaveNodesSelectionPlugin extends WeavePlugin {
|
|
|
305
459
|
selectNone(): void;
|
|
306
460
|
enable(): void;
|
|
307
461
|
disable(): void;
|
|
462
|
+
getContextMenuPlugin(): WeaveContextMenuPlugin | undefined;
|
|
463
|
+
getSnappingPlugin(): WeaveNodesSnappingPlugin | undefined;
|
|
308
464
|
}
|
|
309
465
|
|
|
310
466
|
//#endregion
|
|
@@ -319,12 +475,14 @@ declare abstract class WeaveNode implements WeaveNodeBase {
|
|
|
319
475
|
register(instance: Weave): WeaveNode;
|
|
320
476
|
getNodeType(): string;
|
|
321
477
|
getLogger(): Logger;
|
|
322
|
-
getSelectionPlugin(): WeaveNodesSelectionPlugin;
|
|
478
|
+
getSelectionPlugin(): WeaveNodesSelectionPlugin | undefined;
|
|
323
479
|
isSelecting(): boolean;
|
|
324
480
|
isPasting(): boolean;
|
|
325
481
|
setupDefaultNodeAugmentation(node: Konva.Node): void;
|
|
326
482
|
isNodeSelected(ele: Konva.Node): boolean;
|
|
327
483
|
protected scaleReset(node: Konva.Node): void;
|
|
484
|
+
protected setHoverState(node: Konva.Node): void;
|
|
485
|
+
protected hideHoverState(): void;
|
|
328
486
|
setupDefaultNodeEvents(node: Konva.Node): void;
|
|
329
487
|
create(key: string, props: WeaveElementAttributes): WeaveStateElement;
|
|
330
488
|
abstract onRender(props: WeaveElementAttributes): WeaveElementInstance;
|
|
@@ -419,6 +577,7 @@ declare class WeaveStageManager {
|
|
|
419
577
|
setStage(stage: Konva.Stage): void;
|
|
420
578
|
getStage(): Konva.Stage;
|
|
421
579
|
getMainLayer(): Konva.Layer | undefined;
|
|
580
|
+
getSelectionLayer(): Konva.Layer | undefined;
|
|
422
581
|
getUtilityLayer(): Konva.Layer | undefined;
|
|
423
582
|
getInstanceRecursive(instance: Konva.Node, filterInstanceType?: string[]): Konva.Node;
|
|
424
583
|
initStage(): void;
|
|
@@ -473,6 +632,7 @@ declare class Weave {
|
|
|
473
632
|
getStageManager(): WeaveStageManager;
|
|
474
633
|
getStage(): Konva.Stage;
|
|
475
634
|
getMainLayer(): Konva.Layer | undefined;
|
|
635
|
+
getSelectionLayer(): Konva.Layer | undefined;
|
|
476
636
|
getUtilityLayer(): Konva.Layer | undefined;
|
|
477
637
|
setStage(stage: Konva.Stage): void;
|
|
478
638
|
getStageConfiguration(): StageConfig;
|
|
@@ -523,9 +683,9 @@ declare class Weave {
|
|
|
523
683
|
unGroup(group: WeaveStateElement): void;
|
|
524
684
|
resolveNode(node: Konva.Node): WeaveElementInstance | undefined;
|
|
525
685
|
pointIntersectsElement(point?: Vector2d): Konva.Node | null;
|
|
526
|
-
|
|
686
|
+
nodeIntersectsContainerElement(node: Konva.Node | Konva.Transformer, actualLayer?: Konva.Layer | Konva.Group): Konva.Node | undefined;
|
|
527
687
|
getMousePointer(point?: Vector2d): WeaveMousePointInfo;
|
|
528
|
-
getMousePointerRelativeToContainer(container: Konva.
|
|
688
|
+
getMousePointerRelativeToContainer(container: Konva.Node | Konva.Layer): WeaveMousePointInfoSimple;
|
|
529
689
|
selectNodesByKey(nodesIds: string[]): void;
|
|
530
690
|
nodesToGroupSerialized(instancesToClone: Konva.Node[]): WeaveSerializedGroup;
|
|
531
691
|
cloneNodes(instancesToClone: Konva.Node[], targetContainer: Konva.Layer | Konva.Group | undefined, onPoint: Vector2d): void;
|
|
@@ -567,8 +727,8 @@ type WeaveActionPropsChangeEvent = {
|
|
|
567
727
|
//# sourceMappingURL=types.d.ts.map
|
|
568
728
|
declare function resetScale(node: Konva.Node): void;
|
|
569
729
|
declare function clearContainerTargets(instance: Weave): void;
|
|
570
|
-
declare function checkIfOverContainer(instance: Weave, node: Konva.Node): Konva.Node | undefined;
|
|
571
|
-
declare function moveNodeToContainer(instance: Weave, node: Konva.Node
|
|
730
|
+
declare function checkIfOverContainer(instance: Weave, node: Konva.Node | Konva.Transformer): Konva.Node | undefined;
|
|
731
|
+
declare function moveNodeToContainer(instance: Weave, node: Konva.Node): Konva.Node | undefined;
|
|
572
732
|
declare function getContrastTextColor(hex: string): 'white' | 'black';
|
|
573
733
|
declare function stringToColor(str: string): string;
|
|
574
734
|
declare function getBoundingBox(stage: Konva.Stage, nodes: Konva.Node[]): {
|
|
@@ -577,6 +737,7 @@ declare function getBoundingBox(stage: Konva.Stage, nodes: Konva.Node[]): {
|
|
|
577
737
|
width: number;
|
|
578
738
|
height: number;
|
|
579
739
|
};
|
|
740
|
+
declare function getTargetedNode(instance: Weave): Konva.Node | undefined;
|
|
580
741
|
|
|
581
742
|
//#endregion
|
|
582
743
|
//#region src/nodes/stage/stage.d.ts
|
|
@@ -593,6 +754,10 @@ declare class WeaveStageNode extends WeaveNode {
|
|
|
593
754
|
//#region src/nodes/stage/constants.d.ts
|
|
594
755
|
//# sourceMappingURL=stage.d.ts.map
|
|
595
756
|
declare const WEAVE_STAGE_NODE_TYPE = "stage";
|
|
757
|
+
declare const WEAVE_STAGE_MODE: {
|
|
758
|
+
normal: string;
|
|
759
|
+
cropping: string;
|
|
760
|
+
};
|
|
596
761
|
|
|
597
762
|
//#endregion
|
|
598
763
|
//#region src/nodes/layer/layer.d.ts
|
|
@@ -737,6 +902,8 @@ declare class WeaveTextNode extends WeaveNode {
|
|
|
737
902
|
private config;
|
|
738
903
|
protected nodeType: string;
|
|
739
904
|
private editing;
|
|
905
|
+
private textAreaSuperContainer;
|
|
906
|
+
private textAreaContainer;
|
|
740
907
|
private textArea;
|
|
741
908
|
constructor(params?: WeaveTextNodeParams);
|
|
742
909
|
private updateNode;
|
|
@@ -809,12 +976,20 @@ type WeaveImageOnCropEndEvent = {
|
|
|
809
976
|
//# sourceMappingURL=types.d.ts.map
|
|
810
977
|
declare class WeaveImageNode extends WeaveNode {
|
|
811
978
|
private config;
|
|
979
|
+
protected tapStart: {
|
|
980
|
+
x: number;
|
|
981
|
+
y: number;
|
|
982
|
+
time: number;
|
|
983
|
+
} | null;
|
|
984
|
+
protected lastTapTime: number;
|
|
812
985
|
protected nodeType: string;
|
|
813
986
|
private imageCrop;
|
|
814
987
|
private cachedCropInfo;
|
|
815
988
|
private imageLoaded;
|
|
816
989
|
constructor(params?: WeaveImageNodeParams);
|
|
817
990
|
triggerCrop(imageNode: Konva.Group): void;
|
|
991
|
+
closeCrop: (imageNode: Konva.Group, type: WeaveImageCropEndType) => void;
|
|
992
|
+
resetCrop: (imageNode: Konva.Group) => void;
|
|
818
993
|
onRender(props: WeaveElementAttributes): WeaveElementInstance;
|
|
819
994
|
onUpdate(nodeInstance: WeaveElementInstance, nextProps: WeaveElementAttributes): void;
|
|
820
995
|
private loadImage;
|
|
@@ -1231,7 +1406,7 @@ declare class WeaveRectangleToolAction extends WeaveAction {
|
|
|
1231
1406
|
protected creating: boolean;
|
|
1232
1407
|
protected moved: boolean;
|
|
1233
1408
|
protected clickPoint: Vector2d | null;
|
|
1234
|
-
protected container: Konva.
|
|
1409
|
+
protected container: Konva.Layer | Konva.Node | undefined;
|
|
1235
1410
|
protected cancelAction: () => void;
|
|
1236
1411
|
onPropsChange: undefined;
|
|
1237
1412
|
onInit: undefined;
|
|
@@ -1282,7 +1457,7 @@ declare class WeaveEllipseToolAction extends WeaveAction {
|
|
|
1282
1457
|
protected creating: boolean;
|
|
1283
1458
|
protected moved: boolean;
|
|
1284
1459
|
protected clickPoint: Vector2d | null;
|
|
1285
|
-
protected container: Konva.
|
|
1460
|
+
protected container: Konva.Layer | Konva.Node | undefined;
|
|
1286
1461
|
protected cancelAction: () => void;
|
|
1287
1462
|
onPropsChange: undefined;
|
|
1288
1463
|
onInit: undefined;
|
|
@@ -1333,7 +1508,7 @@ declare class WeavePenToolAction extends WeaveAction {
|
|
|
1333
1508
|
protected state: WeavePenToolActionState;
|
|
1334
1509
|
protected lineId: string | null;
|
|
1335
1510
|
protected tempLineId: string | null;
|
|
1336
|
-
protected container: Konva.Layer | Konva.
|
|
1511
|
+
protected container: Konva.Layer | Konva.Node | undefined;
|
|
1337
1512
|
protected measureContainer: Konva.Layer | Konva.Group | undefined;
|
|
1338
1513
|
protected clickPoint: Vector2d | null;
|
|
1339
1514
|
protected tempPoint: Konva.Circle | undefined;
|
|
@@ -1382,7 +1557,7 @@ declare class WeaveBrushToolAction extends WeaveAction {
|
|
|
1382
1557
|
protected state: WeaveBrushToolActionState;
|
|
1383
1558
|
protected clickPoint: Vector2d | null;
|
|
1384
1559
|
protected strokeId: string | null;
|
|
1385
|
-
protected container: Konva.Layer | Konva.
|
|
1560
|
+
protected container: Konva.Layer | Konva.Node | undefined;
|
|
1386
1561
|
protected measureContainer: Konva.Layer | Konva.Group | undefined;
|
|
1387
1562
|
protected lineWidth: number;
|
|
1388
1563
|
protected cancelAction: () => void;
|
|
@@ -1437,7 +1612,7 @@ declare class WeaveTextToolAction extends WeaveAction {
|
|
|
1437
1612
|
protected initialCursor: string | null;
|
|
1438
1613
|
protected state: WeaveTextToolActionState;
|
|
1439
1614
|
protected textId: string | null;
|
|
1440
|
-
protected container: Konva.Layer | Konva.
|
|
1615
|
+
protected container: Konva.Layer | Konva.Node | undefined;
|
|
1441
1616
|
protected clickPoint: Vector2d | null;
|
|
1442
1617
|
protected cancelAction: () => void;
|
|
1443
1618
|
onPropsChange: undefined;
|
|
@@ -1501,7 +1676,7 @@ declare class WeaveImageToolAction extends WeaveAction {
|
|
|
1501
1676
|
protected state: WeaveImageToolActionState;
|
|
1502
1677
|
protected imageId: string | null;
|
|
1503
1678
|
protected tempImageId: string | null;
|
|
1504
|
-
protected container: Konva.Layer | Konva.
|
|
1679
|
+
protected container: Konva.Layer | Konva.Node | undefined;
|
|
1505
1680
|
protected imageURL: string | null;
|
|
1506
1681
|
protected preloadImgs: Record<string, HTMLImageElement>;
|
|
1507
1682
|
protected clickPoint: Vector2d | null;
|
|
@@ -1555,7 +1730,7 @@ declare class WeaveStarToolAction extends WeaveAction {
|
|
|
1555
1730
|
protected creating: boolean;
|
|
1556
1731
|
protected moved: boolean;
|
|
1557
1732
|
protected clickPoint: Vector2d | null;
|
|
1558
|
-
protected container: Konva.
|
|
1733
|
+
protected container: Konva.Layer | Konva.Node | undefined;
|
|
1559
1734
|
protected cancelAction: () => void;
|
|
1560
1735
|
onPropsChange: undefined;
|
|
1561
1736
|
onInit: undefined;
|
|
@@ -1607,7 +1782,7 @@ declare class WeaveArrowToolAction extends WeaveAction {
|
|
|
1607
1782
|
protected state: WeaveArrowToolActionState;
|
|
1608
1783
|
protected arrowId: string | null;
|
|
1609
1784
|
protected tempArrowId: string | null;
|
|
1610
|
-
protected container: Konva.Layer | Konva.
|
|
1785
|
+
protected container: Konva.Layer | Konva.Node | undefined;
|
|
1611
1786
|
protected measureContainer: Konva.Layer | Konva.Group | undefined;
|
|
1612
1787
|
protected clickPoint: Vector2d | null;
|
|
1613
1788
|
protected tempPoint: Konva.Circle | undefined;
|
|
@@ -1664,7 +1839,7 @@ declare class WeaveRegularPolygonToolAction extends WeaveAction {
|
|
|
1664
1839
|
protected creating: boolean;
|
|
1665
1840
|
protected moved: boolean;
|
|
1666
1841
|
protected clickPoint: Vector2d | null;
|
|
1667
|
-
protected container: Konva.
|
|
1842
|
+
protected container: Konva.Layer | Konva.Node | undefined;
|
|
1668
1843
|
protected cancelAction: () => void;
|
|
1669
1844
|
onPropsChange: undefined;
|
|
1670
1845
|
onInit: undefined;
|
|
@@ -1723,7 +1898,7 @@ declare class WeaveFrameToolAction extends WeaveAction {
|
|
|
1723
1898
|
protected initialized: boolean;
|
|
1724
1899
|
protected state: WeaveFrameToolActionState;
|
|
1725
1900
|
protected frameId: string | null;
|
|
1726
|
-
protected container: Konva.Layer | Konva.
|
|
1901
|
+
protected container: Konva.Layer | Konva.Node | undefined;
|
|
1727
1902
|
protected clickPoint: Vector2d | null;
|
|
1728
1903
|
protected cancelAction: () => void;
|
|
1729
1904
|
onPropsChange: undefined;
|
|
@@ -2030,6 +2205,7 @@ declare class WeaveStageZoomPlugin extends WeavePlugin {
|
|
|
2030
2205
|
zoomIn(pointer?: Vector2d): void;
|
|
2031
2206
|
zoomOut(pointer?: Vector2d): void;
|
|
2032
2207
|
minimumZoom(): number;
|
|
2208
|
+
getSelectionPlugin(): WeaveNodesSelectionPlugin | undefined;
|
|
2033
2209
|
fitToScreen(): void;
|
|
2034
2210
|
fitToSelection(): void;
|
|
2035
2211
|
enable(): void;
|
|
@@ -2198,54 +2374,9 @@ declare class WeaveUsersPointersPlugin extends WeavePlugin {
|
|
|
2198
2374
|
disable(): void;
|
|
2199
2375
|
}
|
|
2200
2376
|
|
|
2201
|
-
//#endregion
|
|
2202
|
-
//#region src/plugins/context-menu/types.d.ts
|
|
2203
|
-
//# sourceMappingURL=users-pointers.d.ts.map
|
|
2204
|
-
type WeaveStageContextMenuPluginParams = {
|
|
2205
|
-
config?: WeaveStageContextMenuPluginConfig;
|
|
2206
|
-
};
|
|
2207
|
-
type WeaveStageContextMenuPluginConfig = {
|
|
2208
|
-
xOffset?: number;
|
|
2209
|
-
yOffset?: number;
|
|
2210
|
-
};
|
|
2211
|
-
type WeaveStageContextMenuPluginOnNodeContextMenuEvent = {
|
|
2212
|
-
selection: WeaveSelection[];
|
|
2213
|
-
point: Vector2d;
|
|
2214
|
-
visible: boolean;
|
|
2215
|
-
};
|
|
2216
|
-
|
|
2217
|
-
//#endregion
|
|
2218
|
-
//#region src/plugins/context-menu/context-menu.d.ts
|
|
2219
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2220
|
-
declare class WeaveContextMenuPlugin extends WeavePlugin {
|
|
2221
|
-
private config;
|
|
2222
|
-
private touchTimer;
|
|
2223
|
-
private contextMenuVisible;
|
|
2224
|
-
private tapHold;
|
|
2225
|
-
private tapHoldTimeout;
|
|
2226
|
-
private pointers;
|
|
2227
|
-
private onAction;
|
|
2228
|
-
private actualNode;
|
|
2229
|
-
private dragging;
|
|
2230
|
-
private transforming;
|
|
2231
|
-
getLayerName: undefined;
|
|
2232
|
-
initLayer: undefined;
|
|
2233
|
-
onRender: undefined;
|
|
2234
|
-
constructor(params: WeaveStageContextMenuPluginParams);
|
|
2235
|
-
getName(): string;
|
|
2236
|
-
onInit(): void;
|
|
2237
|
-
triggerContextMenu(target: any): void;
|
|
2238
|
-
closeContextMenu(): void;
|
|
2239
|
-
private initEvents;
|
|
2240
|
-
isContextMenuVisible(): boolean;
|
|
2241
|
-
isTapHold(): boolean;
|
|
2242
|
-
enable(): void;
|
|
2243
|
-
disable(): void;
|
|
2244
|
-
}
|
|
2245
|
-
|
|
2246
2377
|
//#endregion
|
|
2247
2378
|
//#region src/plugins/stage-drop-area/stage-drop-area.d.ts
|
|
2248
|
-
//# sourceMappingURL=
|
|
2379
|
+
//# sourceMappingURL=users-pointers.d.ts.map
|
|
2249
2380
|
declare class WeaveStageDropAreaPlugin extends WeavePlugin {
|
|
2250
2381
|
getLayerName: undefined;
|
|
2251
2382
|
initLayer: undefined;
|
|
@@ -2314,7 +2445,7 @@ declare class WeaveCopyPasteNodesPlugin extends WeavePlugin {
|
|
|
2314
2445
|
private handlePaste;
|
|
2315
2446
|
private performCopy;
|
|
2316
2447
|
copy(): Promise<void>;
|
|
2317
|
-
paste(
|
|
2448
|
+
paste(): Promise<void>;
|
|
2318
2449
|
getSelectedNodes(): WeaveToPasteNode[];
|
|
2319
2450
|
isPasting(): boolean;
|
|
2320
2451
|
private cancel;
|
|
@@ -2324,95 +2455,7 @@ declare class WeaveCopyPasteNodesPlugin extends WeavePlugin {
|
|
|
2324
2455
|
}
|
|
2325
2456
|
|
|
2326
2457
|
//#endregion
|
|
2327
|
-
//#region src/plugins/nodes-snapping/constants.d.ts
|
|
2328
2458
|
//# sourceMappingURL=copy-paste-nodes.d.ts.map
|
|
2329
|
-
declare const WEAVE_NODES_SNAPPING_KEY = "nodesSnapping";
|
|
2330
|
-
declare const GUIDE_LINE_NAME = "guide-line";
|
|
2331
|
-
declare const GUIDE_LINE_DEFAULT_CONFIG: Required<Pick<Konva.LineConfig, 'stroke' | 'strokeWidth' | 'dash'>>;
|
|
2332
|
-
declare const GUIDE_LINE_DRAG_SNAPPING_THRESHOLD = 10;
|
|
2333
|
-
declare const GUIDE_LINE_TRANSFORM_SNAPPING_THRESHOLD = 10;
|
|
2334
|
-
declare const GUIDE_ORIENTATION: {
|
|
2335
|
-
readonly HORIZONTAL: "H";
|
|
2336
|
-
readonly VERTICAL: "V";
|
|
2337
|
-
};
|
|
2338
|
-
declare const NODE_SNAP: {
|
|
2339
|
-
readonly START: "start";
|
|
2340
|
-
readonly CENTER: "center";
|
|
2341
|
-
readonly END: "end";
|
|
2342
|
-
};
|
|
2343
|
-
|
|
2344
|
-
//#endregion
|
|
2345
|
-
//#region src/plugins/nodes-snapping/types.d.ts
|
|
2346
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
2347
|
-
type NodeSnapKeys = keyof typeof NODE_SNAP;
|
|
2348
|
-
type NodeSnap = (typeof NODE_SNAP)[NodeSnapKeys];
|
|
2349
|
-
type NodeSnappingEdge = {
|
|
2350
|
-
guide: number;
|
|
2351
|
-
offset: number;
|
|
2352
|
-
snap: NodeSnap;
|
|
2353
|
-
};
|
|
2354
|
-
type NodeSnappingEdges = {
|
|
2355
|
-
vertical: NodeSnappingEdge[];
|
|
2356
|
-
horizontal: NodeSnappingEdge[];
|
|
2357
|
-
};
|
|
2358
|
-
type LineGuideStop = {
|
|
2359
|
-
vertical: number[];
|
|
2360
|
-
horizontal: number[];
|
|
2361
|
-
};
|
|
2362
|
-
type LineGuide = {
|
|
2363
|
-
lineGuide: number;
|
|
2364
|
-
diff: number;
|
|
2365
|
-
snap: NodeSnap;
|
|
2366
|
-
offset: number;
|
|
2367
|
-
};
|
|
2368
|
-
type GuideOrientationKeys = keyof typeof GUIDE_ORIENTATION;
|
|
2369
|
-
type GuideOrientation = (typeof GUIDE_ORIENTATION)[GuideOrientationKeys];
|
|
2370
|
-
type Guide = {
|
|
2371
|
-
lineGuide: number;
|
|
2372
|
-
offset: number;
|
|
2373
|
-
orientation: GuideOrientation;
|
|
2374
|
-
snap: NodeSnap;
|
|
2375
|
-
};
|
|
2376
|
-
type WeaveNodesSnappingPluginConfig = {
|
|
2377
|
-
guideLine: Konva.LineConfig;
|
|
2378
|
-
dragSnappingThreshold: number;
|
|
2379
|
-
transformSnappingThreshold: number;
|
|
2380
|
-
};
|
|
2381
|
-
type WeaveNodesSnappingPluginParams = {
|
|
2382
|
-
config?: WeaveNodesSnappingPluginConfig;
|
|
2383
|
-
};
|
|
2384
|
-
|
|
2385
|
-
//#endregion
|
|
2386
|
-
//#region src/plugins/nodes-snapping/nodes-snapping.d.ts
|
|
2387
|
-
//# sourceMappingURL=types.d.ts.map
|
|
2388
|
-
declare class WeaveNodesSnappingPlugin extends WeavePlugin {
|
|
2389
|
-
private guideLineConfig;
|
|
2390
|
-
private dragSnappingThreshold;
|
|
2391
|
-
private transformSnappingThreshold;
|
|
2392
|
-
onRender: undefined;
|
|
2393
|
-
constructor(params?: Partial<WeaveNodesSnappingPluginParams>);
|
|
2394
|
-
getName(): string;
|
|
2395
|
-
onInit(): void;
|
|
2396
|
-
setEnabled(enabled: boolean): void;
|
|
2397
|
-
getSelectedNodesMetadata(transformer: Konva.Transformer): {
|
|
2398
|
-
width: number;
|
|
2399
|
-
height: number;
|
|
2400
|
-
nodes: string[];
|
|
2401
|
-
};
|
|
2402
|
-
deleteGuides(): void;
|
|
2403
|
-
evaluateGuidelines(e: KonvaEventObject<any>): void;
|
|
2404
|
-
cleanupEvaluateGuidelines(): void;
|
|
2405
|
-
private initEvents;
|
|
2406
|
-
getLineGuideStops(skipNodes: string[]): LineGuideStop;
|
|
2407
|
-
getObjectSnappingEdges(node: Konva.Node): NodeSnappingEdges;
|
|
2408
|
-
getGuides(lineGuideStops: LineGuideStop, itemBounds: NodeSnappingEdges, type: string): Guide[];
|
|
2409
|
-
drawGuides(guides: Guide[]): void;
|
|
2410
|
-
enable(): void;
|
|
2411
|
-
disable(): void;
|
|
2412
|
-
}
|
|
2413
|
-
|
|
2414
|
-
//#endregion
|
|
2415
|
-
//# sourceMappingURL=nodes-snapping.d.ts.map
|
|
2416
2459
|
|
|
2417
|
-
export { ALIGN_NODES_ALIGN_TO, ALIGN_NODES_TOOL_ACTION_NAME, ALIGN_NODES_TOOL_STATE, ARROW_TOOL_ACTION_NAME, ARROW_TOOL_STATE, BRUSH_TOOL_ACTION_NAME, BRUSH_TOOL_STATE, COPY_PASTE_NODES_PLUGIN_STATE, ELLIPSE_TOOL_ACTION_NAME, ELLIPSE_TOOL_STATE, ERASER_TOOL_ACTION_NAME, ERASER_TOOL_STATE, FRAME_TOOL_ACTION_NAME, FRAME_TOOL_STATE, GUIDE_LINE_DEFAULT_CONFIG, GUIDE_LINE_DRAG_SNAPPING_THRESHOLD, GUIDE_LINE_NAME, GUIDE_LINE_TRANSFORM_SNAPPING_THRESHOLD, GUIDE_ORIENTATION, Guide, GuideOrientation, GuideOrientationKeys, IMAGE_TOOL_ACTION_NAME, IMAGE_TOOL_STATE, ImageOptions, ImageProps, LineGuide, LineGuideStop, MOVE_TOOL_ACTION_NAME, MOVE_TOOL_STATE, NODE_SNAP, NodeSnap, NodeSnapKeys, NodeSnappingEdge, NodeSnappingEdges, PEN_TOOL_ACTION_NAME, PEN_TOOL_STATE, RECTANGLE_TOOL_ACTION_NAME, RECTANGLE_TOOL_STATE, REGULAR_POLYGON_TOOL_ACTION_NAME, REGULAR_POLYGON_TOOL_STATE, SELECTION_TOOL_ACTION_NAME, SELECTION_TOOL_STATE, STAR_TOOL_ACTION_NAME, STAR_TOOL_STATE, TEXT_LAYOUT, TEXT_TOOL_ACTION_NAME, TEXT_TOOL_STATE, TextSerializable, WEAVE_ARROW_NODE_TYPE, WEAVE_COPY_PASTE_NODES_KEY, WEAVE_DEFAULT_USER_INFO_FUNCTION, WEAVE_ELLIPSE_NODE_TYPE, WEAVE_FRAME_NODE_DEFAULT_CONFIG, WEAVE_FRAME_NODE_DEFAULT_PROPS, WEAVE_FRAME_NODE_TYPE, WEAVE_GRID_DEFAULT_COLOR, WEAVE_GRID_DEFAULT_MAJOR_DOT_RATIO, WEAVE_GRID_DEFAULT_MAJOR_EVERY, WEAVE_GRID_DEFAULT_MAJOR_LINE_RATIO, WEAVE_GRID_DEFAULT_ORIGIN_COLOR, WEAVE_GRID_DEFAULT_RADIUS, WEAVE_GRID_DEFAULT_SIZE, WEAVE_GRID_DEFAULT_STROKE, WEAVE_GRID_DEFAULT_TYPE, WEAVE_GRID_LAYER_ID, WEAVE_GRID_TYPES, WEAVE_GROUP_NODE_TYPE, WEAVE_IMAGE_CROP_END_TYPE, WEAVE_IMAGE_NODE_TYPE, WEAVE_LAYER_NODE_TYPE, WEAVE_LINE_NODE_TYPE, WEAVE_NODES_SELECTION_KEY, WEAVE_NODES_SELECTION_LAYER_ID, WEAVE_NODES_SNAPPING_KEY, WEAVE_RECTANGLE_NODE_TYPE, WEAVE_REGULAR_POLYGON_NODE_TYPE, WEAVE_STAGE_GRID_KEY, WEAVE_STAGE_NODE_TYPE, WEAVE_STAR_NODE_TYPE, WEAVE_STROKE_NODE_TYPE, WEAVE_TEXT_NODE_TYPE, WEAVE_USERS_POINTERS_KEY, WEAVE_USERS_SELECTION_KEY, WEAVE_USER_POINTERS_DEFAULT_PROPS, WEAVE_USER_POINTER_KEY, WEAVE_USER_SELECTION_KEY, Weave, WeaveAction, WeaveActionPropsChangeEvent, WeaveAlignNodesToolAction, WeaveAlignNodesToolActionAlignTo, WeaveAlignNodesToolActionAlignToKeys, WeaveAlignNodesToolActionState, WeaveAlignNodesToolActionStateKeys, WeaveAlignNodesToolActionTriggerParams, WeaveArrowNode, WeaveArrowNodeParams, WeaveArrowProperties, WeaveArrowToolAction, WeaveArrowToolActionState, WeaveArrowToolActionStateKeys, WeaveBrushToolAction, WeaveBrushToolActionState, WeaveBrushToolActionStateKeys, WeaveConnectedUserInfoKey, WeaveConnectedUsers, WeaveConnectedUsersChangeEvent, WeaveConnectedUsersPlugin, WeaveConnectedUsersPluginConfig, WeaveConnectedUsersPluginParams, WeaveContextMenuPlugin, WeaveCopyPasteNodesPlugin, WeaveCopyPasteNodesPluginOnCopyEvent, WeaveCopyPasteNodesPluginOnPasteEvent, WeaveCopyPasteNodesPluginOnPasteExternalEvent, WeaveCopyPasteNodesPluginState, WeaveCopyPasteNodesPluginStateKeys, WeaveEllipseNode, WeaveEllipseNodeParams, WeaveEllipseProperties, WeaveEllipseToolAction, WeaveEllipseToolActionState, WeaveEllipseToolActionStateKeys, WeaveEraserToolAction, WeaveEraserToolActionState, WeaveEraserToolActionStateKeys, WeaveExportNodesActionParams, WeaveExportNodesToolAction, WeaveExportStageActionParams, WeaveExportStageToolAction, WeaveFitToScreenToolAction, WeaveFitToScreenToolActionParams, WeaveFitToSelectionToolAction, WeaveFitToSelectionToolActionParams, WeaveFrameAttributes, WeaveFrameNode, WeaveFrameNodeParams, WeaveFrameProperties, WeaveFrameToolAction, WeaveFrameToolActionState, WeaveFrameToolActionStateKeys, WeaveFrameToolActionTriggerParams, WeaveFrameToolProps, WeaveGroupNode, WeaveGroupNodeParams, WeaveGroupProperties, WeaveImageCropEndType, WeaveImageCropEndTypeKeys, WeaveImageNode, WeaveImageNodeParams, WeaveImageOnCropEndEvent, WeaveImageOnCropStartEvent, WeaveImageProperties, WeaveImageToolAction, WeaveImageToolActionOnEndLoadImageEvent, WeaveImageToolActionOnStartLoadImageEvent, WeaveImageToolActionState, WeaveImageToolActionStateKeys, WeaveImageToolActionTriggerParams, WeaveImageToolActionTriggerReturn, WeaveLayerNode, WeaveLineNode, WeaveLineNodeParams, WeaveLineProperties, WeaveMoveToolAction, WeaveMoveToolActionParams, WeaveMoveToolActionState, WeaveMoveToolActionStateKeys, WeaveNode, WeaveNodesSelectionConfig, WeaveNodesSelectionPlugin, WeaveNodesSelectionPluginConfig, WeaveNodesSelectionPluginOnNodesChangeEvent, WeaveNodesSelectionPluginOnSelectionStateEvent, WeaveNodesSelectionPluginOnStageSelectionEvent, WeaveNodesSelectionPluginParams, WeaveNodesSelectionTransformationsConfig, WeaveNodesSnappingPlugin, WeaveNodesSnappingPluginConfig, WeaveNodesSnappingPluginParams, WeavePasteModel, WeavePenToolAction, WeavePenToolActionState, WeavePenToolActionStateKeys, WeavePlugin, WeaveRectangleNode, WeaveRectangleNodeParams, WeaveRectangleProperties, WeaveRectangleToolAction, WeaveRectangleToolActionState, WeaveRectangleToolActionStateKeys, WeaveRegularPolygonNode, WeaveRegularPolygonNodeParams, WeaveRegularPolygonProperties, WeaveRegularPolygonToolAction, WeaveRegularPolygonToolActionState, WeaveRegularPolygonToolActionStateKeys, WeaveSelectionToolAction, WeaveSelectionToolActionState, WeaveSelectionToolActionStateKeys, WeaveStageContextMenuPluginConfig, WeaveStageContextMenuPluginOnNodeContextMenuEvent, WeaveStageContextMenuPluginParams, WeaveStageDropAreaPlugin, WeaveStageDropPluginOnStageDropEvent, WeaveStageGridPlugin, WeaveStageGridPluginConfig, WeaveStageGridPluginParams, WeaveStageGridType, WeaveStageGridTypeKeys, WeaveStageNode, WeaveStagePanningPlugin, WeaveStageResizePlugin, WeaveStageZoomChanged, WeaveStageZoomPlugin, WeaveStageZoomPluginConfig, WeaveStageZoomPluginOnZoomChangeEvent, WeaveStageZoomPluginParams, WeaveStageZoomType, WeaveStageZoomTypeKeys, WeaveStarNode, WeaveStarNodeParams, WeaveStarProperties, WeaveStarToolAction, WeaveStarToolActionState, WeaveStarToolActionStateKeys, WeaveStore, WeaveStoreOnNodeChangeEvent, WeaveStoreOnRoomLoadedEvent, WeaveStoreOnStateChangeEvent, WeaveStoreOnUndoRedoChangeEvent, WeaveStrokeNode, WeaveStrokeNodeParams, WeaveStrokePoint, WeaveStrokeProperties, WeaveTextLayout, WeaveTextLayoutKeys, WeaveTextNode, WeaveTextNodeParams, WeaveTextProperties, WeaveTextToolAction, WeaveTextToolActionState, WeaveTextToolActionStateKeys, WeaveToPasteNode, WeaveUserPointer, WeaveUserPointerKey, WeaveUserPointersUIProperties, WeaveUserSelectionInfo, WeaveUserSelectionKey, WeaveUsersPointersPlugin, WeaveUsersPointersPluginConfig, WeaveUsersPointersPluginParams, WeaveUsersSelectionPlugin, WeaveUsersSelectionPluginConfig, WeaveUsersSelectionPluginParams, WeaveZoomInToolAction, WeaveZoomInToolActionParams, WeaveZoomOutToolAction, WeaveZoomOutToolActionParams, checkIfOverContainer, clearContainerTargets, getBoundingBox, getContrastTextColor, moveNodeToContainer, resetScale, stringToColor };
|
|
2460
|
+
export { ALIGN_NODES_ALIGN_TO, ALIGN_NODES_TOOL_ACTION_NAME, ALIGN_NODES_TOOL_STATE, ARROW_TOOL_ACTION_NAME, ARROW_TOOL_STATE, BRUSH_TOOL_ACTION_NAME, BRUSH_TOOL_STATE, COPY_PASTE_NODES_PLUGIN_STATE, ELLIPSE_TOOL_ACTION_NAME, ELLIPSE_TOOL_STATE, ERASER_TOOL_ACTION_NAME, ERASER_TOOL_STATE, FRAME_TOOL_ACTION_NAME, FRAME_TOOL_STATE, GUIDE_LINE_DEFAULT_CONFIG, GUIDE_LINE_DRAG_SNAPPING_THRESHOLD, GUIDE_LINE_NAME, GUIDE_LINE_TRANSFORM_SNAPPING_THRESHOLD, GUIDE_ORIENTATION, Guide, GuideOrientation, GuideOrientationKeys, IMAGE_TOOL_ACTION_NAME, IMAGE_TOOL_STATE, ImageOptions, ImageProps, LineGuide, LineGuideStop, MOVE_TOOL_ACTION_NAME, MOVE_TOOL_STATE, NODE_SNAP, NodeSnap, NodeSnapKeys, NodeSnappingEdge, NodeSnappingEdges, PEN_TOOL_ACTION_NAME, PEN_TOOL_STATE, RECTANGLE_TOOL_ACTION_NAME, RECTANGLE_TOOL_STATE, REGULAR_POLYGON_TOOL_ACTION_NAME, REGULAR_POLYGON_TOOL_STATE, SELECTION_TOOL_ACTION_NAME, SELECTION_TOOL_STATE, STAR_TOOL_ACTION_NAME, STAR_TOOL_STATE, TEXT_LAYOUT, TEXT_TOOL_ACTION_NAME, TEXT_TOOL_STATE, TextSerializable, WEAVE_ARROW_NODE_TYPE, WEAVE_COPY_PASTE_NODES_KEY, WEAVE_DEFAULT_USER_INFO_FUNCTION, WEAVE_ELLIPSE_NODE_TYPE, WEAVE_FRAME_NODE_DEFAULT_CONFIG, WEAVE_FRAME_NODE_DEFAULT_PROPS, WEAVE_FRAME_NODE_TYPE, WEAVE_GRID_DEFAULT_COLOR, WEAVE_GRID_DEFAULT_MAJOR_DOT_RATIO, WEAVE_GRID_DEFAULT_MAJOR_EVERY, WEAVE_GRID_DEFAULT_MAJOR_LINE_RATIO, WEAVE_GRID_DEFAULT_ORIGIN_COLOR, WEAVE_GRID_DEFAULT_RADIUS, WEAVE_GRID_DEFAULT_SIZE, WEAVE_GRID_DEFAULT_STROKE, WEAVE_GRID_DEFAULT_TYPE, WEAVE_GRID_LAYER_ID, WEAVE_GRID_TYPES, WEAVE_GROUP_NODE_TYPE, WEAVE_IMAGE_CROP_END_TYPE, WEAVE_IMAGE_NODE_TYPE, WEAVE_LAYER_NODE_TYPE, WEAVE_LINE_NODE_TYPE, WEAVE_NODES_SELECTION_KEY, WEAVE_NODES_SELECTION_LAYER_ID, WEAVE_NODES_SNAPPING_KEY, WEAVE_RECTANGLE_NODE_TYPE, WEAVE_REGULAR_POLYGON_NODE_TYPE, WEAVE_STAGE_GRID_KEY, WEAVE_STAGE_MODE, WEAVE_STAGE_NODE_TYPE, WEAVE_STAR_NODE_TYPE, WEAVE_STROKE_NODE_TYPE, WEAVE_TEXT_NODE_TYPE, WEAVE_USERS_POINTERS_KEY, WEAVE_USERS_SELECTION_KEY, WEAVE_USER_POINTERS_DEFAULT_PROPS, WEAVE_USER_POINTER_KEY, WEAVE_USER_SELECTION_KEY, Weave, WeaveAction, WeaveActionPropsChangeEvent, WeaveAlignNodesToolAction, WeaveAlignNodesToolActionAlignTo, WeaveAlignNodesToolActionAlignToKeys, WeaveAlignNodesToolActionState, WeaveAlignNodesToolActionStateKeys, WeaveAlignNodesToolActionTriggerParams, WeaveArrowNode, WeaveArrowNodeParams, WeaveArrowProperties, WeaveArrowToolAction, WeaveArrowToolActionState, WeaveArrowToolActionStateKeys, WeaveBrushToolAction, WeaveBrushToolActionState, WeaveBrushToolActionStateKeys, WeaveConnectedUserInfoKey, WeaveConnectedUsers, WeaveConnectedUsersChangeEvent, WeaveConnectedUsersPlugin, WeaveConnectedUsersPluginConfig, WeaveConnectedUsersPluginParams, WeaveContextMenuPlugin, WeaveCopyPasteNodesPlugin, WeaveCopyPasteNodesPluginOnCopyEvent, WeaveCopyPasteNodesPluginOnPasteEvent, WeaveCopyPasteNodesPluginOnPasteExternalEvent, WeaveCopyPasteNodesPluginState, WeaveCopyPasteNodesPluginStateKeys, WeaveEllipseNode, WeaveEllipseNodeParams, WeaveEllipseProperties, WeaveEllipseToolAction, WeaveEllipseToolActionState, WeaveEllipseToolActionStateKeys, WeaveEraserToolAction, WeaveEraserToolActionState, WeaveEraserToolActionStateKeys, WeaveExportNodesActionParams, WeaveExportNodesToolAction, WeaveExportStageActionParams, WeaveExportStageToolAction, WeaveFitToScreenToolAction, WeaveFitToScreenToolActionParams, WeaveFitToSelectionToolAction, WeaveFitToSelectionToolActionParams, WeaveFrameAttributes, WeaveFrameNode, WeaveFrameNodeParams, WeaveFrameProperties, WeaveFrameToolAction, WeaveFrameToolActionState, WeaveFrameToolActionStateKeys, WeaveFrameToolActionTriggerParams, WeaveFrameToolProps, WeaveGroupNode, WeaveGroupNodeParams, WeaveGroupProperties, WeaveImageCropEndType, WeaveImageCropEndTypeKeys, WeaveImageNode, WeaveImageNodeParams, WeaveImageOnCropEndEvent, WeaveImageOnCropStartEvent, WeaveImageProperties, WeaveImageToolAction, WeaveImageToolActionOnEndLoadImageEvent, WeaveImageToolActionOnStartLoadImageEvent, WeaveImageToolActionState, WeaveImageToolActionStateKeys, WeaveImageToolActionTriggerParams, WeaveImageToolActionTriggerReturn, WeaveLayerNode, WeaveLineNode, WeaveLineNodeParams, WeaveLineProperties, WeaveMoveToolAction, WeaveMoveToolActionParams, WeaveMoveToolActionState, WeaveMoveToolActionStateKeys, WeaveNode, WeaveNodesSelectionConfig, WeaveNodesSelectionPlugin, WeaveNodesSelectionPluginConfig, WeaveNodesSelectionPluginOnNodesChangeEvent, WeaveNodesSelectionPluginOnSelectionStateEvent, WeaveNodesSelectionPluginOnStageSelectionEvent, WeaveNodesSelectionPluginParams, WeaveNodesSelectionTransformationsConfig, WeaveNodesSnappingPlugin, WeaveNodesSnappingPluginConfig, WeaveNodesSnappingPluginParams, WeavePasteModel, WeavePenToolAction, WeavePenToolActionState, WeavePenToolActionStateKeys, WeavePlugin, WeaveRectangleNode, WeaveRectangleNodeParams, WeaveRectangleProperties, WeaveRectangleToolAction, WeaveRectangleToolActionState, WeaveRectangleToolActionStateKeys, WeaveRegularPolygonNode, WeaveRegularPolygonNodeParams, WeaveRegularPolygonProperties, WeaveRegularPolygonToolAction, WeaveRegularPolygonToolActionState, WeaveRegularPolygonToolActionStateKeys, WeaveSelectionToolAction, WeaveSelectionToolActionState, WeaveSelectionToolActionStateKeys, WeaveStageContextMenuPluginConfig, WeaveStageContextMenuPluginOnNodeContextMenuEvent, WeaveStageContextMenuPluginParams, WeaveStageDropAreaPlugin, WeaveStageDropPluginOnStageDropEvent, WeaveStageGridPlugin, WeaveStageGridPluginConfig, WeaveStageGridPluginParams, WeaveStageGridType, WeaveStageGridTypeKeys, WeaveStageNode, WeaveStagePanningPlugin, WeaveStageResizePlugin, WeaveStageZoomChanged, WeaveStageZoomPlugin, WeaveStageZoomPluginConfig, WeaveStageZoomPluginOnZoomChangeEvent, WeaveStageZoomPluginParams, WeaveStageZoomType, WeaveStageZoomTypeKeys, WeaveStarNode, WeaveStarNodeParams, WeaveStarProperties, WeaveStarToolAction, WeaveStarToolActionState, WeaveStarToolActionStateKeys, WeaveStore, WeaveStoreOnNodeChangeEvent, WeaveStoreOnRoomLoadedEvent, WeaveStoreOnStateChangeEvent, WeaveStoreOnUndoRedoChangeEvent, WeaveStrokeNode, WeaveStrokeNodeParams, WeaveStrokePoint, WeaveStrokeProperties, WeaveTextLayout, WeaveTextLayoutKeys, WeaveTextNode, WeaveTextNodeParams, WeaveTextProperties, WeaveTextToolAction, WeaveTextToolActionState, WeaveTextToolActionStateKeys, WeaveToPasteNode, WeaveUserPointer, WeaveUserPointerKey, WeaveUserPointersUIProperties, WeaveUserSelectionInfo, WeaveUserSelectionKey, WeaveUsersPointersPlugin, WeaveUsersPointersPluginConfig, WeaveUsersPointersPluginParams, WeaveUsersSelectionPlugin, WeaveUsersSelectionPluginConfig, WeaveUsersSelectionPluginParams, WeaveZoomInToolAction, WeaveZoomInToolActionParams, WeaveZoomOutToolAction, WeaveZoomOutToolActionParams, checkIfOverContainer, clearContainerTargets, getBoundingBox, getContrastTextColor, getTargetedNode, moveNodeToContainer, resetScale, stringToColor };
|
|
2418
2461
|
//# sourceMappingURL=sdk.d.ts.map
|