@inditextech/weave-sdk 0.20.4 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sdk.cjs +152 -11255
- package/dist/sdk.d.cts +141 -54
- package/dist/sdk.d.cts.map +1 -0
- package/dist/sdk.d.ts +304 -44
- package/dist/sdk.d.ts.map +1 -0
- package/dist/sdk.js +128 -70
- package/dist/sdk.js.map +1 -0
- package/package.json +2 -2
- package/dist/extensions.d-NOtVg64R.d.ts +0 -176
package/dist/sdk.d.cts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import Emittery from "emittery";
|
|
1
2
|
import Konva from "konva";
|
|
2
3
|
import { Vector2d } from "konva/lib/types";
|
|
4
|
+
import pino, { Logger } from "pino";
|
|
3
5
|
import * as Y from "yjs";
|
|
4
6
|
import { Doc } from "yjs";
|
|
5
|
-
import Emittery from "emittery";
|
|
6
|
-
import pino, { Logger } from "pino";
|
|
7
7
|
import { StageConfig } from "konva/lib/Stage";
|
|
8
8
|
import { KonvaEventObject } from "konva/lib/Node";
|
|
9
9
|
|
|
@@ -168,16 +168,6 @@ declare const WEAVE_EXPORT_FORMATS: {
|
|
|
168
168
|
readonly "PNG": "image/png";
|
|
169
169
|
readonly "JPEG": "image/jpeg";
|
|
170
170
|
}; //#endregion
|
|
171
|
-
//#region src/nodes/extensions.d.ts
|
|
172
|
-
declare module 'konva/lib/Node' {
|
|
173
|
-
interface Node {
|
|
174
|
-
getTransformerProperties(): WeaveNodeTransformerProperties;
|
|
175
|
-
resetCrop(): void;
|
|
176
|
-
updatePosition(position: Vector2d): void;
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
//#endregion
|
|
181
171
|
//#region src/stores/store.d.ts
|
|
182
172
|
declare abstract class WeaveStore implements WeaveStoreBase {
|
|
183
173
|
protected instance: Weave;
|
|
@@ -213,6 +203,7 @@ declare abstract class WeaveStore implements WeaveStoreBase {
|
|
|
213
203
|
|
|
214
204
|
//#endregion
|
|
215
205
|
//#region src/plugins/plugin.d.ts
|
|
206
|
+
//# sourceMappingURL=store.d.ts.map
|
|
216
207
|
declare abstract class WeavePlugin implements WeavePluginBase {
|
|
217
208
|
protected instance: Weave;
|
|
218
209
|
protected name: string;
|
|
@@ -230,6 +221,7 @@ declare abstract class WeavePlugin implements WeavePluginBase {
|
|
|
230
221
|
|
|
231
222
|
//#endregion
|
|
232
223
|
//#region src/plugins/nodes-selection/types.d.ts
|
|
224
|
+
//# sourceMappingURL=plugin.d.ts.map
|
|
233
225
|
type WeaveNodesSelectionPluginOnSelectionStateEvent = boolean;
|
|
234
226
|
type WeaveNodesSelectionPluginOnNodesChangeEvent = WeaveSelection[];
|
|
235
227
|
type WeaveNodesSelectionPluginOnStageSelectionEvent = undefined;
|
|
@@ -252,6 +244,7 @@ type WeaveNodesSelectionPluginParams = {
|
|
|
252
244
|
|
|
253
245
|
//#endregion
|
|
254
246
|
//#region src/plugins/nodes-selection/nodes-selection.d.ts
|
|
247
|
+
//# sourceMappingURL=types.d.ts.map
|
|
255
248
|
declare class WeaveNodesSelectionPlugin extends WeavePlugin {
|
|
256
249
|
private tr;
|
|
257
250
|
private config;
|
|
@@ -286,6 +279,7 @@ declare class WeaveNodesSelectionPlugin extends WeavePlugin {
|
|
|
286
279
|
|
|
287
280
|
//#endregion
|
|
288
281
|
//#region src/nodes/node.d.ts
|
|
282
|
+
//# sourceMappingURL=nodes-selection.d.ts.map
|
|
289
283
|
declare abstract class WeaveNode implements WeaveNodeBase {
|
|
290
284
|
protected instance: Weave;
|
|
291
285
|
protected nodeType: string;
|
|
@@ -309,6 +303,7 @@ declare abstract class WeaveNode implements WeaveNodeBase {
|
|
|
309
303
|
|
|
310
304
|
//#endregion
|
|
311
305
|
//#region src/actions/action.d.ts
|
|
306
|
+
//# sourceMappingURL=node.d.ts.map
|
|
312
307
|
declare abstract class WeaveAction implements WeaveActionBase {
|
|
313
308
|
protected instance: Weave;
|
|
314
309
|
protected name: string;
|
|
@@ -328,6 +323,7 @@ declare abstract class WeaveAction implements WeaveActionBase {
|
|
|
328
323
|
|
|
329
324
|
//#endregion
|
|
330
325
|
//#region src/logger/logger.d.ts
|
|
326
|
+
//# sourceMappingURL=action.d.ts.map
|
|
331
327
|
declare class WeaveLogger {
|
|
332
328
|
private config;
|
|
333
329
|
private disabled;
|
|
@@ -342,6 +338,7 @@ declare class WeaveLogger {
|
|
|
342
338
|
|
|
343
339
|
//#endregion
|
|
344
340
|
//#region src/managers/register.d.ts
|
|
341
|
+
//# sourceMappingURL=logger.d.ts.map
|
|
345
342
|
declare class WeaveRegisterManager {
|
|
346
343
|
private instance;
|
|
347
344
|
private nodesHandlers;
|
|
@@ -365,6 +362,7 @@ declare class WeaveRegisterManager {
|
|
|
365
362
|
|
|
366
363
|
//#endregion
|
|
367
364
|
//#region src/managers/stage.d.ts
|
|
365
|
+
//# sourceMappingURL=register.d.ts.map
|
|
368
366
|
declare class WeaveStageManager {
|
|
369
367
|
private instance;
|
|
370
368
|
private logger;
|
|
@@ -383,6 +381,7 @@ declare class WeaveStageManager {
|
|
|
383
381
|
|
|
384
382
|
//#endregion
|
|
385
383
|
//#region src/weave.d.ts
|
|
384
|
+
//# sourceMappingURL=stage.d.ts.map
|
|
386
385
|
declare class Weave extends Emittery {
|
|
387
386
|
private id;
|
|
388
387
|
private config;
|
|
@@ -460,6 +459,7 @@ declare class Weave extends Emittery {
|
|
|
460
459
|
};
|
|
461
460
|
addNode(node: WeaveStateElement, parentId?: string, index?: number | undefined, doRender?: boolean): void;
|
|
462
461
|
updateNode(node: WeaveStateElement, doRender?: boolean): void;
|
|
462
|
+
updateNodes(nodes: WeaveStateElement[], doRender?: boolean): void;
|
|
463
463
|
removeNode(node: WeaveStateElement, doRender?: boolean): void;
|
|
464
464
|
removeNodes(nodes: WeaveStateElement[], doRender?: boolean): void;
|
|
465
465
|
moveNode(node: WeaveStateElement, position: WeavePosition, doRender?: boolean): void;
|
|
@@ -485,6 +485,7 @@ declare class Weave extends Emittery {
|
|
|
485
485
|
|
|
486
486
|
//#endregion
|
|
487
487
|
//#region src/stores/types.d.ts
|
|
488
|
+
//# sourceMappingURL=weave.d.ts.map
|
|
488
489
|
type WeaveStoreOnStateChangeEvent = WeaveState;
|
|
489
490
|
type WeaveStoreOnRoomLoadedEvent = boolean;
|
|
490
491
|
type WeaveStoreOnUndoRedoChangeEvent = WeaveUndoRedoChange;
|
|
@@ -492,6 +493,7 @@ type WeaveStoreOnNodeChangeEvent = WeaveSelection;
|
|
|
492
493
|
|
|
493
494
|
//#endregion
|
|
494
495
|
//#region src/actions/types.d.ts
|
|
496
|
+
//# sourceMappingURL=types.d.ts.map
|
|
495
497
|
type WeaveActionPropsChangeEvent = {
|
|
496
498
|
instance: WeaveAction;
|
|
497
499
|
props: WeaveElementAttributes;
|
|
@@ -499,6 +501,7 @@ type WeaveActionPropsChangeEvent = {
|
|
|
499
501
|
|
|
500
502
|
//#endregion
|
|
501
503
|
//#region src/utils.d.ts
|
|
504
|
+
//# sourceMappingURL=types.d.ts.map
|
|
502
505
|
declare function resetScale(node: Konva.Node): void;
|
|
503
506
|
declare function clearContainerTargets(instance: Weave): void;
|
|
504
507
|
declare function checkIfOverContainer(instance: Weave, node: Konva.Node): Konva.Node | undefined;
|
|
@@ -506,6 +509,7 @@ declare function moveNodeToContainer(instance: Weave, node: Konva.Node): Konva.N
|
|
|
506
509
|
|
|
507
510
|
//#endregion
|
|
508
511
|
//#region src/nodes/stage/stage.d.ts
|
|
512
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
509
513
|
declare class WeaveStageNode extends WeaveNode {
|
|
510
514
|
protected nodeType: string;
|
|
511
515
|
onRender(props: WeaveElementAttributes): WeaveElementInstance;
|
|
@@ -514,6 +518,7 @@ declare class WeaveStageNode extends WeaveNode {
|
|
|
514
518
|
|
|
515
519
|
//#endregion
|
|
516
520
|
//#region src/nodes/layer/layer.d.ts
|
|
521
|
+
//# sourceMappingURL=stage.d.ts.map
|
|
517
522
|
declare class WeaveLayerNode extends WeaveNode {
|
|
518
523
|
protected nodeType: string;
|
|
519
524
|
onRender(props: WeaveElementAttributes): WeaveElementInstance;
|
|
@@ -523,6 +528,7 @@ declare class WeaveLayerNode extends WeaveNode {
|
|
|
523
528
|
|
|
524
529
|
//#endregion
|
|
525
530
|
//#region src/nodes/group/types.d.ts
|
|
531
|
+
//# sourceMappingURL=layer.d.ts.map
|
|
526
532
|
type WeaveGroupProperties = {
|
|
527
533
|
transform: WeaveNodeTransformerProperties;
|
|
528
534
|
};
|
|
@@ -532,6 +538,7 @@ type WeaveGroupNodeParams = {
|
|
|
532
538
|
|
|
533
539
|
//#endregion
|
|
534
540
|
//#region src/nodes/group/group.d.ts
|
|
541
|
+
//# sourceMappingURL=types.d.ts.map
|
|
535
542
|
declare class WeaveGroupNode extends WeaveNode {
|
|
536
543
|
private config;
|
|
537
544
|
protected nodeType: string;
|
|
@@ -543,6 +550,7 @@ declare class WeaveGroupNode extends WeaveNode {
|
|
|
543
550
|
|
|
544
551
|
//#endregion
|
|
545
552
|
//#region src/nodes/rectangle/types.d.ts
|
|
553
|
+
//# sourceMappingURL=group.d.ts.map
|
|
546
554
|
type WeaveRectangleProperties = {
|
|
547
555
|
transform: WeaveNodeTransformerProperties;
|
|
548
556
|
};
|
|
@@ -552,6 +560,7 @@ type WeaveRectangleNodeParams = {
|
|
|
552
560
|
|
|
553
561
|
//#endregion
|
|
554
562
|
//#region src/nodes/rectangle/rectangle.d.ts
|
|
563
|
+
//# sourceMappingURL=types.d.ts.map
|
|
555
564
|
declare class WeaveRectangleNode extends WeaveNode {
|
|
556
565
|
private config;
|
|
557
566
|
protected nodeType: string;
|
|
@@ -562,6 +571,7 @@ declare class WeaveRectangleNode extends WeaveNode {
|
|
|
562
571
|
|
|
563
572
|
//#endregion
|
|
564
573
|
//#region src/nodes/line/types.d.ts
|
|
574
|
+
//# sourceMappingURL=rectangle.d.ts.map
|
|
565
575
|
type WeaveLineProperties = {
|
|
566
576
|
transform: WeaveNodeTransformerProperties;
|
|
567
577
|
};
|
|
@@ -571,6 +581,7 @@ type WeaveLineNodeParams = {
|
|
|
571
581
|
|
|
572
582
|
//#endregion
|
|
573
583
|
//#region src/nodes/line/line.d.ts
|
|
584
|
+
//# sourceMappingURL=types.d.ts.map
|
|
574
585
|
declare class WeaveLineNode extends WeaveNode {
|
|
575
586
|
private config;
|
|
576
587
|
protected nodeType: string;
|
|
@@ -581,8 +592,9 @@ declare class WeaveLineNode extends WeaveNode {
|
|
|
581
592
|
|
|
582
593
|
//#endregion
|
|
583
594
|
//#region src/nodes/text/types.d.ts
|
|
595
|
+
//# sourceMappingURL=line.d.ts.map
|
|
584
596
|
type TextSerializable = Konva.TextConfig & NodeSerializable & {
|
|
585
|
-
type:
|
|
597
|
+
type: 'text';
|
|
586
598
|
id: string;
|
|
587
599
|
};
|
|
588
600
|
type WeaveTextProperties = {
|
|
@@ -594,6 +606,7 @@ type WeaveTextNodeParams = {
|
|
|
594
606
|
|
|
595
607
|
//#endregion
|
|
596
608
|
//#region src/nodes/text/text.d.ts
|
|
609
|
+
//# sourceMappingURL=types.d.ts.map
|
|
597
610
|
declare class WeaveTextNode extends WeaveNode {
|
|
598
611
|
private config;
|
|
599
612
|
protected nodeType: string;
|
|
@@ -622,6 +635,7 @@ declare class WeaveTextNode extends WeaveNode {
|
|
|
622
635
|
|
|
623
636
|
//#endregion
|
|
624
637
|
//#region src/nodes/image/types.d.ts
|
|
638
|
+
//# sourceMappingURL=text.d.ts.map
|
|
625
639
|
type ImageProps = WeaveElementAttributes & {
|
|
626
640
|
id: string;
|
|
627
641
|
width?: number;
|
|
@@ -641,6 +655,7 @@ type WeaveImageNodeParams = {
|
|
|
641
655
|
|
|
642
656
|
//#endregion
|
|
643
657
|
//#region src/nodes/image/image.d.ts
|
|
658
|
+
//# sourceMappingURL=types.d.ts.map
|
|
644
659
|
declare class WeaveImageNode extends WeaveNode {
|
|
645
660
|
private config;
|
|
646
661
|
protected nodeType: string;
|
|
@@ -656,6 +671,7 @@ declare class WeaveImageNode extends WeaveNode {
|
|
|
656
671
|
|
|
657
672
|
//#endregion
|
|
658
673
|
//#region src/nodes/frame/constants.d.ts
|
|
674
|
+
//# sourceMappingURL=image.d.ts.map
|
|
659
675
|
declare const WEAVE_FRAME_NODE_TYPE = "frame";
|
|
660
676
|
declare const WEAVE_FRAME_NODE_SIZES_MULTIPLIER = 5;
|
|
661
677
|
declare const WEAVE_FRAME_NODE_SIZES_ORIENTATION: {
|
|
@@ -702,6 +718,7 @@ declare const WEAVE_FRAME_NODE_DEFAULT_PROPS: {
|
|
|
702
718
|
|
|
703
719
|
//#endregion
|
|
704
720
|
//#region src/nodes/frame/types.d.ts
|
|
721
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
705
722
|
type WeaveFrameNodeSizesOrientationKeys = keyof typeof WEAVE_FRAME_NODE_SIZES_ORIENTATION;
|
|
706
723
|
type WeaveFrameNodeSizesOrientation = (typeof WEAVE_FRAME_NODE_SIZES_ORIENTATION)[WeaveFrameNodeSizesOrientationKeys];
|
|
707
724
|
type WeaveFrameNodeSizesKeys = keyof typeof WEAVE_FRAME_NODE_SIZES_TYPES;
|
|
@@ -739,6 +756,7 @@ type WeaveFrameNodeParams = {
|
|
|
739
756
|
|
|
740
757
|
//#endregion
|
|
741
758
|
//#region src/nodes/frame/frame.d.ts
|
|
759
|
+
//# sourceMappingURL=types.d.ts.map
|
|
742
760
|
declare class WeaveFrameNode extends WeaveNode {
|
|
743
761
|
private config;
|
|
744
762
|
protected nodeType: string;
|
|
@@ -751,12 +769,14 @@ declare class WeaveFrameNode extends WeaveNode {
|
|
|
751
769
|
|
|
752
770
|
//#endregion
|
|
753
771
|
//#region src/actions/zoom-out-tool/types.d.ts
|
|
772
|
+
//# sourceMappingURL=frame.d.ts.map
|
|
754
773
|
type WeaveZoomOutToolActionParams = {
|
|
755
774
|
previousAction: string;
|
|
756
775
|
};
|
|
757
776
|
|
|
758
777
|
//#endregion
|
|
759
778
|
//#region src/actions/zoom-out-tool/zoom-out-tool.d.ts
|
|
779
|
+
//# sourceMappingURL=types.d.ts.map
|
|
760
780
|
declare class WeaveZoomOutToolAction extends WeaveAction {
|
|
761
781
|
protected previousAction: string;
|
|
762
782
|
protected cancelAction: () => void;
|
|
@@ -770,12 +790,14 @@ declare class WeaveZoomOutToolAction extends WeaveAction {
|
|
|
770
790
|
|
|
771
791
|
//#endregion
|
|
772
792
|
//#region src/actions/zoom-in-tool/types.d.ts
|
|
793
|
+
//# sourceMappingURL=zoom-out-tool.d.ts.map
|
|
773
794
|
type WeaveZoomInToolActionParams = {
|
|
774
795
|
previousAction: string;
|
|
775
796
|
};
|
|
776
797
|
|
|
777
798
|
//#endregion
|
|
778
799
|
//#region src/actions/zoom-in-tool/zoom-in-tool.d.ts
|
|
800
|
+
//# sourceMappingURL=types.d.ts.map
|
|
779
801
|
declare class WeaveZoomInToolAction extends WeaveAction {
|
|
780
802
|
protected previousAction: string;
|
|
781
803
|
protected cancelAction: () => void;
|
|
@@ -789,12 +811,14 @@ declare class WeaveZoomInToolAction extends WeaveAction {
|
|
|
789
811
|
|
|
790
812
|
//#endregion
|
|
791
813
|
//#region src/actions/fit-to-screen-tool/types.d.ts
|
|
814
|
+
//# sourceMappingURL=zoom-in-tool.d.ts.map
|
|
792
815
|
type WeaveFitToScreenToolActionParams = {
|
|
793
816
|
previousAction: string;
|
|
794
817
|
};
|
|
795
818
|
|
|
796
819
|
//#endregion
|
|
797
820
|
//#region src/actions/fit-to-screen-tool/fit-to-screen-tool.d.ts
|
|
821
|
+
//# sourceMappingURL=types.d.ts.map
|
|
798
822
|
declare class WeaveFitToScreenToolAction extends WeaveAction {
|
|
799
823
|
protected previousAction: string;
|
|
800
824
|
protected cancelAction: () => void;
|
|
@@ -808,12 +832,14 @@ declare class WeaveFitToScreenToolAction extends WeaveAction {
|
|
|
808
832
|
|
|
809
833
|
//#endregion
|
|
810
834
|
//#region src/actions/fit-to-selection-tool/types.d.ts
|
|
835
|
+
//# sourceMappingURL=fit-to-screen-tool.d.ts.map
|
|
811
836
|
type WeaveFitToSelectionToolActionParams = {
|
|
812
837
|
previousAction: string;
|
|
813
838
|
};
|
|
814
839
|
|
|
815
840
|
//#endregion
|
|
816
841
|
//#region src/actions/fit-to-selection-tool/fit-to-selection-tool.d.ts
|
|
842
|
+
//# sourceMappingURL=types.d.ts.map
|
|
817
843
|
declare class WeaveFitToSelectionToolAction extends WeaveAction {
|
|
818
844
|
protected previousAction: string;
|
|
819
845
|
protected cancelAction: () => void;
|
|
@@ -828,19 +854,22 @@ declare class WeaveFitToSelectionToolAction extends WeaveAction {
|
|
|
828
854
|
|
|
829
855
|
//#endregion
|
|
830
856
|
//#region src/actions/move-tool/constants.d.ts
|
|
857
|
+
//# sourceMappingURL=fit-to-selection-tool.d.ts.map
|
|
831
858
|
declare const MOVE_TOOL_ACTION_NAME = "moveTool";
|
|
832
859
|
declare const MOVE_TOOL_STATE: {
|
|
833
|
-
readonly
|
|
834
|
-
readonly
|
|
860
|
+
readonly IDLE: "idle";
|
|
861
|
+
readonly MOVING: "moving";
|
|
835
862
|
};
|
|
836
863
|
|
|
837
864
|
//#endregion
|
|
838
865
|
//#region src/actions/move-tool/types.d.ts
|
|
866
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
839
867
|
type WeaveMoveToolActionStateKeys = keyof typeof MOVE_TOOL_STATE;
|
|
840
868
|
type WeaveMoveToolActionState = (typeof MOVE_TOOL_STATE)[WeaveMoveToolActionStateKeys];
|
|
841
869
|
|
|
842
870
|
//#endregion
|
|
843
871
|
//#region src/actions/move-tool/move-tool.d.ts
|
|
872
|
+
//# sourceMappingURL=types.d.ts.map
|
|
844
873
|
declare class WeaveMoveToolAction extends WeaveAction {
|
|
845
874
|
protected initialized: boolean;
|
|
846
875
|
protected state: WeaveMoveToolActionState;
|
|
@@ -858,19 +887,22 @@ declare class WeaveMoveToolAction extends WeaveAction {
|
|
|
858
887
|
|
|
859
888
|
//#endregion
|
|
860
889
|
//#region src/actions/selection-tool/constants.d.ts
|
|
890
|
+
//# sourceMappingURL=move-tool.d.ts.map
|
|
861
891
|
declare const SELECTION_TOOL_ACTION_NAME = "selectionTool";
|
|
862
892
|
declare const SELECTION_TOOL_STATE: {
|
|
863
|
-
readonly
|
|
864
|
-
readonly
|
|
893
|
+
readonly IDLE: "idle";
|
|
894
|
+
readonly SELECTING: "selection";
|
|
865
895
|
};
|
|
866
896
|
|
|
867
897
|
//#endregion
|
|
868
898
|
//#region src/actions/selection-tool/types.d.ts
|
|
899
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
869
900
|
type WeaveSelectionToolActionStateKeys = keyof typeof SELECTION_TOOL_STATE;
|
|
870
901
|
type WeaveSelectionToolActionState = (typeof SELECTION_TOOL_STATE)[WeaveSelectionToolActionStateKeys];
|
|
871
902
|
|
|
872
903
|
//#endregion
|
|
873
904
|
//#region src/actions/selection-tool/selection-tool.d.ts
|
|
905
|
+
//# sourceMappingURL=types.d.ts.map
|
|
874
906
|
declare class WeaveSelectionToolAction extends WeaveAction {
|
|
875
907
|
protected initialized: boolean;
|
|
876
908
|
protected state: WeaveSelectionToolActionState;
|
|
@@ -888,19 +920,22 @@ declare class WeaveSelectionToolAction extends WeaveAction {
|
|
|
888
920
|
|
|
889
921
|
//#endregion
|
|
890
922
|
//#region src/actions/eraser-tool/constants.d.ts
|
|
923
|
+
//# sourceMappingURL=selection-tool.d.ts.map
|
|
891
924
|
declare const ERASER_TOOL_ACTION_NAME = "eraserTool";
|
|
892
925
|
declare const ERASER_TOOL_STATE: {
|
|
893
|
-
readonly
|
|
894
|
-
readonly
|
|
926
|
+
readonly IDLE: "idle";
|
|
927
|
+
readonly ERASING: "erasing";
|
|
895
928
|
};
|
|
896
929
|
|
|
897
930
|
//#endregion
|
|
898
931
|
//#region src/actions/eraser-tool/types.d.ts
|
|
932
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
899
933
|
type WeaveEraserToolActionStateKeys = keyof typeof ERASER_TOOL_STATE;
|
|
900
934
|
type WeaveEraserToolActionState = (typeof ERASER_TOOL_STATE)[WeaveEraserToolActionStateKeys];
|
|
901
935
|
|
|
902
936
|
//#endregion
|
|
903
937
|
//#region src/actions/eraser-tool/eraser-tool.d.ts
|
|
938
|
+
//# sourceMappingURL=types.d.ts.map
|
|
904
939
|
declare class WeaveEraserToolAction extends WeaveAction {
|
|
905
940
|
protected initialized: boolean;
|
|
906
941
|
protected state: WeaveEraserToolActionState;
|
|
@@ -919,21 +954,24 @@ declare class WeaveEraserToolAction extends WeaveAction {
|
|
|
919
954
|
|
|
920
955
|
//#endregion
|
|
921
956
|
//#region src/actions/rectangle-tool/constants.d.ts
|
|
957
|
+
//# sourceMappingURL=eraser-tool.d.ts.map
|
|
922
958
|
declare const RECTANGLE_TOOL_ACTION_NAME = "rectangleTool";
|
|
923
959
|
declare const RECTANGLE_TOOL_STATE: {
|
|
924
|
-
readonly
|
|
925
|
-
readonly
|
|
926
|
-
readonly
|
|
927
|
-
readonly
|
|
960
|
+
readonly IDLE: "idle";
|
|
961
|
+
readonly ADDING: "adding";
|
|
962
|
+
readonly DEFINING_SIZE: "definingSize";
|
|
963
|
+
readonly ADDED: "added";
|
|
928
964
|
};
|
|
929
965
|
|
|
930
966
|
//#endregion
|
|
931
967
|
//#region src/actions/rectangle-tool/types.d.ts
|
|
968
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
932
969
|
type WeaveRectangleToolActionStateKeys = keyof typeof RECTANGLE_TOOL_STATE;
|
|
933
970
|
type WeaveRectangleToolActionState = (typeof RECTANGLE_TOOL_STATE)[WeaveRectangleToolActionStateKeys];
|
|
934
971
|
|
|
935
972
|
//#endregion
|
|
936
973
|
//#region src/actions/rectangle-tool/rectangle-tool.d.ts
|
|
974
|
+
//# sourceMappingURL=types.d.ts.map
|
|
937
975
|
declare class WeaveRectangleToolAction extends WeaveAction {
|
|
938
976
|
protected initialized: boolean;
|
|
939
977
|
protected state: WeaveRectangleToolActionState;
|
|
@@ -967,21 +1005,24 @@ declare class WeaveRectangleToolAction extends WeaveAction {
|
|
|
967
1005
|
|
|
968
1006
|
//#endregion
|
|
969
1007
|
//#region src/actions/pen-tool/constants.d.ts
|
|
1008
|
+
//# sourceMappingURL=rectangle-tool.d.ts.map
|
|
970
1009
|
declare const PEN_TOOL_ACTION_NAME = "penTool";
|
|
971
1010
|
declare const PEN_TOOL_STATE: {
|
|
972
|
-
readonly
|
|
973
|
-
readonly
|
|
974
|
-
readonly
|
|
975
|
-
readonly
|
|
1011
|
+
readonly IDLE: "idle";
|
|
1012
|
+
readonly ADDING: "adding";
|
|
1013
|
+
readonly DEFINING_SIZE: "definingSize";
|
|
1014
|
+
readonly ADDED: "added";
|
|
976
1015
|
};
|
|
977
1016
|
|
|
978
1017
|
//#endregion
|
|
979
1018
|
//#region src/actions/pen-tool/types.d.ts
|
|
1019
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
980
1020
|
type WeavePenToolActionStateKeys = keyof typeof PEN_TOOL_STATE;
|
|
981
1021
|
type WeavePenToolActionState = (typeof PEN_TOOL_STATE)[WeavePenToolActionStateKeys];
|
|
982
1022
|
|
|
983
1023
|
//#endregion
|
|
984
1024
|
//#region src/actions/pen-tool/pen-tool.d.ts
|
|
1025
|
+
//# sourceMappingURL=types.d.ts.map
|
|
985
1026
|
declare class WeavePenToolAction extends WeaveAction {
|
|
986
1027
|
protected initialized: boolean;
|
|
987
1028
|
protected initialCursor: string | null;
|
|
@@ -1015,20 +1056,23 @@ declare class WeavePenToolAction extends WeaveAction {
|
|
|
1015
1056
|
|
|
1016
1057
|
//#endregion
|
|
1017
1058
|
//#region src/actions/brush-tool/constants.d.ts
|
|
1059
|
+
//# sourceMappingURL=pen-tool.d.ts.map
|
|
1018
1060
|
declare const BRUSH_TOOL_ACTION_NAME = "brushTool";
|
|
1019
1061
|
declare const BRUSH_TOOL_STATE: {
|
|
1020
|
-
readonly
|
|
1021
|
-
readonly
|
|
1022
|
-
readonly
|
|
1062
|
+
readonly INACTIVE: "inactive";
|
|
1063
|
+
readonly IDLE: "idle";
|
|
1064
|
+
readonly DEFINE_STROKE: "defineStroke";
|
|
1023
1065
|
};
|
|
1024
1066
|
|
|
1025
1067
|
//#endregion
|
|
1026
1068
|
//#region src/actions/brush-tool/types.d.ts
|
|
1069
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
1027
1070
|
type WeaveBrushToolActionStateKeys = keyof typeof BRUSH_TOOL_STATE;
|
|
1028
1071
|
type WeaveBrushToolActionState = (typeof BRUSH_TOOL_STATE)[WeaveBrushToolActionStateKeys];
|
|
1029
1072
|
|
|
1030
1073
|
//#endregion
|
|
1031
1074
|
//#region src/actions/brush-tool/brush-tool.d.ts
|
|
1075
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1032
1076
|
declare class WeaveBrushToolAction extends WeaveAction {
|
|
1033
1077
|
protected initialized: boolean;
|
|
1034
1078
|
protected state: WeaveBrushToolActionState;
|
|
@@ -1057,20 +1101,22 @@ declare class WeaveBrushToolAction extends WeaveAction {
|
|
|
1057
1101
|
|
|
1058
1102
|
//#endregion
|
|
1059
1103
|
//#region src/actions/text-tool/constants.d.ts
|
|
1104
|
+
//# sourceMappingURL=brush-tool.d.ts.map
|
|
1060
1105
|
declare const TEXT_TOOL_ACTION_NAME = "textTool";
|
|
1061
1106
|
declare const TEXT_TOOL_STATE: {
|
|
1062
|
-
readonly
|
|
1063
|
-
readonly
|
|
1064
|
-
readonly
|
|
1107
|
+
readonly IDLE: "idle";
|
|
1108
|
+
readonly ADDING: "adding";
|
|
1109
|
+
readonly FINISHED: "finished";
|
|
1065
1110
|
};
|
|
1066
1111
|
declare const TEXT_LAYOUT: {
|
|
1067
|
-
readonly
|
|
1068
|
-
readonly
|
|
1069
|
-
readonly
|
|
1112
|
+
readonly AUTO_ALL: "auto-all";
|
|
1113
|
+
readonly AUTO_HEIGHT: "auto-height";
|
|
1114
|
+
readonly FIXED: "fixed";
|
|
1070
1115
|
};
|
|
1071
1116
|
|
|
1072
1117
|
//#endregion
|
|
1073
1118
|
//#region src/actions/text-tool/types.d.ts
|
|
1119
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
1074
1120
|
type WeaveTextToolActionStateKeys = keyof typeof TEXT_TOOL_STATE;
|
|
1075
1121
|
type WeaveTextToolActionState = (typeof TEXT_TOOL_STATE)[WeaveTextToolActionStateKeys];
|
|
1076
1122
|
type WeaveTextLayoutKeys = keyof typeof TEXT_LAYOUT;
|
|
@@ -1078,6 +1124,7 @@ type WeaveTextLayout = (typeof TEXT_LAYOUT)[WeaveTextLayoutKeys];
|
|
|
1078
1124
|
|
|
1079
1125
|
//#endregion
|
|
1080
1126
|
//#region src/actions/text-tool/text-tool.d.ts
|
|
1127
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1081
1128
|
declare class WeaveTextToolAction extends WeaveAction {
|
|
1082
1129
|
protected initialized: boolean;
|
|
1083
1130
|
protected initialCursor: string | null;
|
|
@@ -1100,16 +1147,18 @@ declare class WeaveTextToolAction extends WeaveAction {
|
|
|
1100
1147
|
|
|
1101
1148
|
//#endregion
|
|
1102
1149
|
//#region src/actions/image-tool/constants.d.ts
|
|
1150
|
+
//# sourceMappingURL=text-tool.d.ts.map
|
|
1103
1151
|
declare const IMAGE_TOOL_ACTION_NAME = "imageTool";
|
|
1104
1152
|
declare const IMAGE_TOOL_STATE: {
|
|
1105
|
-
readonly
|
|
1106
|
-
readonly
|
|
1107
|
-
readonly
|
|
1108
|
-
readonly
|
|
1153
|
+
readonly IDLE: "idle";
|
|
1154
|
+
readonly UPLOADING: "uploading";
|
|
1155
|
+
readonly ADDING: "adding";
|
|
1156
|
+
readonly FINISHED: "finished";
|
|
1109
1157
|
};
|
|
1110
1158
|
|
|
1111
1159
|
//#endregion
|
|
1112
1160
|
//#region src/actions/image-tool/types.d.ts
|
|
1161
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
1113
1162
|
type WeaveImageToolActionStateKeys = keyof typeof IMAGE_TOOL_STATE;
|
|
1114
1163
|
type WeaveImageToolActionState = (typeof IMAGE_TOOL_STATE)[WeaveImageToolActionStateKeys];
|
|
1115
1164
|
type WeaveImageToolActionOnStartLoadImageEvent = undefined;
|
|
@@ -1123,6 +1172,7 @@ type WeaveImageToolActionTriggerReturn = {
|
|
|
1123
1172
|
|
|
1124
1173
|
//#endregion
|
|
1125
1174
|
//#region src/actions/image-tool/image-tool.d.ts
|
|
1175
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1126
1176
|
declare class WeaveImageToolAction extends WeaveAction {
|
|
1127
1177
|
protected initialized: boolean;
|
|
1128
1178
|
protected initialCursor: string | null;
|
|
@@ -1158,15 +1208,17 @@ declare class WeaveImageToolAction extends WeaveAction {
|
|
|
1158
1208
|
|
|
1159
1209
|
//#endregion
|
|
1160
1210
|
//#region src/actions/frame-tool/constants.d.ts
|
|
1211
|
+
//# sourceMappingURL=image-tool.d.ts.map
|
|
1161
1212
|
declare const FRAME_TOOL_ACTION_NAME = "frameTool";
|
|
1162
1213
|
declare const FRAME_TOOL_STATE: {
|
|
1163
|
-
readonly
|
|
1164
|
-
readonly
|
|
1165
|
-
readonly
|
|
1214
|
+
readonly IDLE: "idle";
|
|
1215
|
+
readonly ADDING: "adding";
|
|
1216
|
+
readonly ADDED: "added";
|
|
1166
1217
|
};
|
|
1167
1218
|
|
|
1168
1219
|
//#endregion
|
|
1169
1220
|
//#region src/actions/frame-tool/types.d.ts
|
|
1221
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
1170
1222
|
type WeaveFrameToolActionStateKeys = keyof typeof FRAME_TOOL_STATE;
|
|
1171
1223
|
type WeaveFrameToolActionState = (typeof FRAME_TOOL_STATE)[WeaveFrameToolActionStateKeys];
|
|
1172
1224
|
type WeaveFrameToolActionTriggerParams = {
|
|
@@ -1184,6 +1236,7 @@ type WeaveFrameToolProps = {
|
|
|
1184
1236
|
|
|
1185
1237
|
//#endregion
|
|
1186
1238
|
//#region src/actions/frame-tool/frame-tool.d.ts
|
|
1239
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1187
1240
|
declare class WeaveFrameToolAction extends WeaveAction {
|
|
1188
1241
|
protected initialized: boolean;
|
|
1189
1242
|
protected state: WeaveFrameToolActionState;
|
|
@@ -1206,12 +1259,14 @@ declare class WeaveFrameToolAction extends WeaveAction {
|
|
|
1206
1259
|
|
|
1207
1260
|
//#endregion
|
|
1208
1261
|
//#region src/actions/export-stage-tool/types.d.ts
|
|
1262
|
+
//# sourceMappingURL=frame-tool.d.ts.map
|
|
1209
1263
|
type WeaveExportStageActionParams = {
|
|
1210
1264
|
options?: WeaveExportNodeOptions;
|
|
1211
1265
|
};
|
|
1212
1266
|
|
|
1213
1267
|
//#endregion
|
|
1214
1268
|
//#region src/actions/export-stage-tool/export-stage-tool.d.ts
|
|
1269
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1215
1270
|
declare class WeaveExportStageToolAction extends WeaveAction {
|
|
1216
1271
|
protected cancelAction: () => void;
|
|
1217
1272
|
private defaultFormatOptions;
|
|
@@ -1228,6 +1283,7 @@ declare class WeaveExportStageToolAction extends WeaveAction {
|
|
|
1228
1283
|
|
|
1229
1284
|
//#endregion
|
|
1230
1285
|
//#region src/actions/export-node-tool/types.d.ts
|
|
1286
|
+
//# sourceMappingURL=export-stage-tool.d.ts.map
|
|
1231
1287
|
type WeaveExportNodeActionParams = {
|
|
1232
1288
|
node: WeaveElementInstance;
|
|
1233
1289
|
options?: WeaveExportNodeOptions;
|
|
@@ -1235,6 +1291,7 @@ type WeaveExportNodeActionParams = {
|
|
|
1235
1291
|
|
|
1236
1292
|
//#endregion
|
|
1237
1293
|
//#region src/actions/export-node-tool/export-node-tool.d.ts
|
|
1294
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1238
1295
|
declare class WeaveExportNodeToolAction extends WeaveAction {
|
|
1239
1296
|
protected cancelAction: () => void;
|
|
1240
1297
|
private defaultFormatOptions;
|
|
@@ -1252,10 +1309,11 @@ declare class WeaveExportNodeToolAction extends WeaveAction {
|
|
|
1252
1309
|
|
|
1253
1310
|
//#endregion
|
|
1254
1311
|
//#region src/plugins/stage-grid/constants.d.ts
|
|
1312
|
+
//# sourceMappingURL=export-node-tool.d.ts.map
|
|
1255
1313
|
declare const WEAVE_STAGE_GRID_KEY = "stageGrid";
|
|
1256
1314
|
declare const WEAVE_GRID_TYPES: {
|
|
1257
|
-
readonly
|
|
1258
|
-
readonly
|
|
1315
|
+
readonly LINES: "lines";
|
|
1316
|
+
readonly DOTS: "dots";
|
|
1259
1317
|
};
|
|
1260
1318
|
declare const WEAVE_GRID_DEFAULT_SIZE = 50;
|
|
1261
1319
|
declare const WEAVE_GRID_DEFAULT_TYPE: string;
|
|
@@ -1265,6 +1323,7 @@ declare const WEAVE_GRID_LAYER_ID = "gridLayer";
|
|
|
1265
1323
|
|
|
1266
1324
|
//#endregion
|
|
1267
1325
|
//#region src/plugins/stage-grid/types.d.ts
|
|
1326
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
1268
1327
|
type WeaveStageGridPluginConfig = {
|
|
1269
1328
|
type: WeaveStageGridType;
|
|
1270
1329
|
gridColor: string;
|
|
@@ -1279,6 +1338,7 @@ type WeaveStageGridType = (typeof WEAVE_GRID_TYPES)[WeaveStageGridTypeKeys];
|
|
|
1279
1338
|
|
|
1280
1339
|
//#endregion
|
|
1281
1340
|
//#region src/plugins/stage-grid/stage-grid.d.ts
|
|
1341
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1282
1342
|
declare class WeaveStageGridPlugin extends WeavePlugin {
|
|
1283
1343
|
private moveToolActive;
|
|
1284
1344
|
private isMouseMiddleButtonPressed;
|
|
@@ -1304,6 +1364,7 @@ declare class WeaveStageGridPlugin extends WeavePlugin {
|
|
|
1304
1364
|
|
|
1305
1365
|
//#endregion
|
|
1306
1366
|
//#region src/plugins/stage-panning/stage-panning.d.ts
|
|
1367
|
+
//# sourceMappingURL=stage-grid.d.ts.map
|
|
1307
1368
|
declare class WeaveStagePanningPlugin extends WeavePlugin {
|
|
1308
1369
|
private moveToolActive;
|
|
1309
1370
|
private isMouseMiddleButtonPressed;
|
|
@@ -1326,6 +1387,7 @@ declare class WeaveStagePanningPlugin extends WeavePlugin {
|
|
|
1326
1387
|
|
|
1327
1388
|
//#endregion
|
|
1328
1389
|
//#region src/plugins/stage-resize/stage-resize.d.ts
|
|
1390
|
+
//# sourceMappingURL=stage-panning.d.ts.map
|
|
1329
1391
|
declare class WeaveStageResizePlugin extends WeavePlugin {
|
|
1330
1392
|
getLayerName: undefined;
|
|
1331
1393
|
initLayer: undefined;
|
|
@@ -1339,6 +1401,7 @@ declare class WeaveStageResizePlugin extends WeavePlugin {
|
|
|
1339
1401
|
|
|
1340
1402
|
//#endregion
|
|
1341
1403
|
//#region src/plugins/stage-zoom/types.d.ts
|
|
1404
|
+
//# sourceMappingURL=stage-resize.d.ts.map
|
|
1342
1405
|
type WeaveStageZoomChanged = {
|
|
1343
1406
|
scale: number;
|
|
1344
1407
|
zoomSteps: number[];
|
|
@@ -1364,6 +1427,7 @@ type WeaveStageZoomPluginParams = {
|
|
|
1364
1427
|
|
|
1365
1428
|
//#endregion
|
|
1366
1429
|
//#region src/plugins/stage-zoom/stage-zoom.d.ts
|
|
1430
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1367
1431
|
declare class WeaveStageZoomPlugin extends WeavePlugin {
|
|
1368
1432
|
private isCtrlOrMetaPressed;
|
|
1369
1433
|
protected previousPointer: string | null;
|
|
@@ -1393,15 +1457,18 @@ declare class WeaveStageZoomPlugin extends WeavePlugin {
|
|
|
1393
1457
|
|
|
1394
1458
|
//#endregion
|
|
1395
1459
|
//#region src/plugins/nodes-selection/constants.d.ts
|
|
1460
|
+
//# sourceMappingURL=stage-zoom.d.ts.map
|
|
1396
1461
|
declare const WEAVE_NODES_SELECTION_KEY = "nodesSelection";
|
|
1397
1462
|
declare const WEAVE_NODES_SELECTION_LAYER_ID = "selectionLayer";
|
|
1398
1463
|
|
|
1399
1464
|
//#endregion
|
|
1400
1465
|
//#region src/plugins/connected-users/constants.d.ts
|
|
1466
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
1401
1467
|
declare const WEAVE_CONNECTED_USER_INFO_KEY = "userInfo";
|
|
1402
1468
|
|
|
1403
1469
|
//#endregion
|
|
1404
1470
|
//#region src/plugins/connected-users/types.d.ts
|
|
1471
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
1405
1472
|
type WeaveConnectedUsersPluginConfig = {
|
|
1406
1473
|
getUser: () => WeaveUser;
|
|
1407
1474
|
};
|
|
@@ -1416,6 +1483,7 @@ type WeaveConnectedUserInfoKey = typeof WEAVE_CONNECTED_USER_INFO_KEY;
|
|
|
1416
1483
|
|
|
1417
1484
|
//#endregion
|
|
1418
1485
|
//#region src/plugins/connected-users/connected-users.d.ts
|
|
1486
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1419
1487
|
declare class WeaveConnectedUsersPlugin extends WeavePlugin {
|
|
1420
1488
|
private config;
|
|
1421
1489
|
private connectedUsers;
|
|
@@ -1431,11 +1499,13 @@ declare class WeaveConnectedUsersPlugin extends WeavePlugin {
|
|
|
1431
1499
|
|
|
1432
1500
|
//#endregion
|
|
1433
1501
|
//#region src/plugins/users-selection/constants.d.ts
|
|
1502
|
+
//# sourceMappingURL=connected-users.d.ts.map
|
|
1434
1503
|
declare const WEAVE_USERS_SELECTION_KEY = "usersSelection";
|
|
1435
1504
|
declare const WEAVE_USER_SELECTION_KEY = "userSelection";
|
|
1436
1505
|
|
|
1437
1506
|
//#endregion
|
|
1438
1507
|
//#region src/plugins/users-selection/types.d.ts
|
|
1508
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
1439
1509
|
type WeaveUsersSelectionPluginConfig = {
|
|
1440
1510
|
getUser: () => WeaveUser;
|
|
1441
1511
|
};
|
|
@@ -1450,6 +1520,7 @@ type WeaveUserSelectionKey = typeof WEAVE_USER_SELECTION_KEY;
|
|
|
1450
1520
|
|
|
1451
1521
|
//#endregion
|
|
1452
1522
|
//#region src/plugins/users-selection/users-selection.d.ts
|
|
1523
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1453
1524
|
declare class WeaveUsersSelectionPlugin extends WeavePlugin {
|
|
1454
1525
|
private padding;
|
|
1455
1526
|
private usersSelection;
|
|
@@ -1472,6 +1543,7 @@ declare class WeaveUsersSelectionPlugin extends WeavePlugin {
|
|
|
1472
1543
|
|
|
1473
1544
|
//#endregion
|
|
1474
1545
|
//#region src/plugins/users-pointers/constants.d.ts
|
|
1546
|
+
//# sourceMappingURL=users-selection.d.ts.map
|
|
1475
1547
|
declare const WEAVE_USERS_POINTERS_KEY = "usersPointers";
|
|
1476
1548
|
declare const WEAVE_USER_POINTER_KEY = "userPointer";
|
|
1477
1549
|
declare const WEAVE_DEFAULT_USER_INFO_FUNCTION: () => {
|
|
@@ -1495,6 +1567,7 @@ declare const WEAVE_USER_POINTERS_DEFAULT_PROPS: {
|
|
|
1495
1567
|
|
|
1496
1568
|
//#endregion
|
|
1497
1569
|
//#region src/plugins/users-pointers/types.d.ts
|
|
1570
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
1498
1571
|
type WeaveUserPointersUIProperties = {
|
|
1499
1572
|
separation: number;
|
|
1500
1573
|
pointer: {
|
|
@@ -1525,6 +1598,7 @@ type WeaveUserPointerKey = typeof WEAVE_USER_POINTER_KEY;
|
|
|
1525
1598
|
|
|
1526
1599
|
//#endregion
|
|
1527
1600
|
//#region src/plugins/users-pointers/users-pointers.d.ts
|
|
1601
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1528
1602
|
declare class WeaveUsersPointersPlugin extends WeavePlugin {
|
|
1529
1603
|
private usersPointers;
|
|
1530
1604
|
private config;
|
|
@@ -1545,6 +1619,7 @@ declare class WeaveUsersPointersPlugin extends WeavePlugin {
|
|
|
1545
1619
|
|
|
1546
1620
|
//#endregion
|
|
1547
1621
|
//#region src/plugins/context-menu/types.d.ts
|
|
1622
|
+
//# sourceMappingURL=users-pointers.d.ts.map
|
|
1548
1623
|
type WeaveStageContextMenuPluginParams = {
|
|
1549
1624
|
config?: WeaveStageContextMenuPluginConfig;
|
|
1550
1625
|
};
|
|
@@ -1560,6 +1635,7 @@ type WeaveStageContextMenuPluginOnNodeContextMenuEvent = {
|
|
|
1560
1635
|
|
|
1561
1636
|
//#endregion
|
|
1562
1637
|
//#region src/plugins/context-menu/context-menu.d.ts
|
|
1638
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1563
1639
|
declare class WeaveContextMenuPlugin extends WeavePlugin {
|
|
1564
1640
|
private config;
|
|
1565
1641
|
private touchTimer;
|
|
@@ -1579,6 +1655,7 @@ declare class WeaveContextMenuPlugin extends WeavePlugin {
|
|
|
1579
1655
|
|
|
1580
1656
|
//#endregion
|
|
1581
1657
|
//#region src/plugins/stage-drop-area/stage-drop-area.d.ts
|
|
1658
|
+
//# sourceMappingURL=context-menu.d.ts.map
|
|
1582
1659
|
declare class WeaveStageDropAreaPlugin extends WeavePlugin {
|
|
1583
1660
|
getLayerName: undefined;
|
|
1584
1661
|
initLayer: undefined;
|
|
@@ -1593,18 +1670,21 @@ declare class WeaveStageDropAreaPlugin extends WeavePlugin {
|
|
|
1593
1670
|
|
|
1594
1671
|
//#endregion
|
|
1595
1672
|
//#region src/plugins/stage-drop-area/types.d.ts
|
|
1673
|
+
//# sourceMappingURL=stage-drop-area.d.ts.map
|
|
1596
1674
|
type WeaveStageDropPluginOnStageDropEvent = DragEvent;
|
|
1597
1675
|
|
|
1598
1676
|
//#endregion
|
|
1599
1677
|
//#region src/plugins/copy-paste-nodes/constants.d.ts
|
|
1678
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1600
1679
|
declare const WEAVE_COPY_PASTE_NODES_KEY = "copyPasteNodes";
|
|
1601
1680
|
declare const COPY_PASTE_NODES_PLUGIN_STATE: {
|
|
1602
|
-
readonly
|
|
1603
|
-
readonly
|
|
1681
|
+
readonly IDLE: "idle";
|
|
1682
|
+
readonly PASTING: "pasting";
|
|
1604
1683
|
};
|
|
1605
1684
|
|
|
1606
1685
|
//#endregion
|
|
1607
1686
|
//#region src/plugins/copy-paste-nodes/types.d.ts
|
|
1687
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
1608
1688
|
type WeaveCopyPasteNodesPluginStateKeys = keyof typeof COPY_PASTE_NODES_PLUGIN_STATE;
|
|
1609
1689
|
type WeaveCopyPasteNodesPluginState = (typeof COPY_PASTE_NODES_PLUGIN_STATE)[WeaveCopyPasteNodesPluginStateKeys];
|
|
1610
1690
|
type WeaveCopyPasteNodesPluginOnCopyEvent = Error | undefined;
|
|
@@ -1622,6 +1702,7 @@ type WeaveToPasteNode = {
|
|
|
1622
1702
|
|
|
1623
1703
|
//#endregion
|
|
1624
1704
|
//#region src/plugins/copy-paste-nodes/copy-paste-nodes.d.ts
|
|
1705
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1625
1706
|
declare class WeaveCopyPasteNodesPlugin extends WeavePlugin {
|
|
1626
1707
|
protected state: WeaveCopyPasteNodesPluginState;
|
|
1627
1708
|
private toPaste;
|
|
@@ -1652,23 +1733,25 @@ declare class WeaveCopyPasteNodesPlugin extends WeavePlugin {
|
|
|
1652
1733
|
|
|
1653
1734
|
//#endregion
|
|
1654
1735
|
//#region src/plugins/nodes-snapping/constants.d.ts
|
|
1736
|
+
//# sourceMappingURL=copy-paste-nodes.d.ts.map
|
|
1655
1737
|
declare const WEAVE_NODES_SNAPPING_KEY = "nodesSnapping";
|
|
1656
1738
|
declare const GUIDE_LINE_NAME = "guide-line";
|
|
1657
|
-
declare const GUIDE_LINE_DEFAULT_CONFIG: Required<Pick<Konva.LineConfig,
|
|
1739
|
+
declare const GUIDE_LINE_DEFAULT_CONFIG: Required<Pick<Konva.LineConfig, 'stroke' | 'strokeWidth' | 'dash'>>;
|
|
1658
1740
|
declare const GUIDE_LINE_DRAG_SNAPPING_THRESHOLD = 10;
|
|
1659
1741
|
declare const GUIDE_LINE_TRANSFORM_SNAPPING_THRESHOLD = 10;
|
|
1660
1742
|
declare const GUIDE_ORIENTATION: {
|
|
1661
|
-
readonly
|
|
1662
|
-
readonly
|
|
1743
|
+
readonly HORIZONTAL: "H";
|
|
1744
|
+
readonly VERTICAL: "V";
|
|
1663
1745
|
};
|
|
1664
1746
|
declare const NODE_SNAP: {
|
|
1665
|
-
readonly
|
|
1666
|
-
readonly
|
|
1667
|
-
readonly
|
|
1747
|
+
readonly START: "start";
|
|
1748
|
+
readonly CENTER: "center";
|
|
1749
|
+
readonly END: "end";
|
|
1668
1750
|
};
|
|
1669
1751
|
|
|
1670
1752
|
//#endregion
|
|
1671
1753
|
//#region src/plugins/nodes-snapping/types.d.ts
|
|
1754
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
1672
1755
|
type NodeSnapKeys = keyof typeof NODE_SNAP;
|
|
1673
1756
|
type NodeSnap = (typeof NODE_SNAP)[NodeSnapKeys];
|
|
1674
1757
|
type NodeSnappingEdge = {
|
|
@@ -1709,6 +1792,7 @@ type WeaveNodesSnappingPluginParams = {
|
|
|
1709
1792
|
|
|
1710
1793
|
//#endregion
|
|
1711
1794
|
//#region src/plugins/nodes-snapping/nodes-snapping.d.ts
|
|
1795
|
+
//# sourceMappingURL=types.d.ts.map
|
|
1712
1796
|
declare class WeaveNodesSnappingPlugin extends WeavePlugin {
|
|
1713
1797
|
private guideLineConfig;
|
|
1714
1798
|
private dragSnappingThreshold;
|
|
@@ -1736,4 +1820,7 @@ declare class WeaveNodesSnappingPlugin extends WeavePlugin {
|
|
|
1736
1820
|
}
|
|
1737
1821
|
|
|
1738
1822
|
//#endregion
|
|
1739
|
-
|
|
1823
|
+
//# sourceMappingURL=nodes-snapping.d.ts.map
|
|
1824
|
+
|
|
1825
|
+
export { BRUSH_TOOL_ACTION_NAME, BRUSH_TOOL_STATE, COPY_PASTE_NODES_PLUGIN_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, 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, SELECTION_TOOL_ACTION_NAME, SELECTION_TOOL_STATE, TEXT_LAYOUT, TEXT_TOOL_ACTION_NAME, TEXT_TOOL_STATE, TextSerializable, WEAVE_COPY_PASTE_NODES_KEY, WEAVE_DEFAULT_USER_INFO_FUNCTION, WEAVE_FRAME_NODE_DEFAULT_CONFIG, WEAVE_FRAME_NODE_DEFAULT_PROPS, WEAVE_FRAME_NODE_SIZES, WEAVE_FRAME_NODE_SIZES_MULTIPLIER, WEAVE_FRAME_NODE_SIZES_ORIENTATION, WEAVE_FRAME_NODE_SIZES_TYPES, WEAVE_FRAME_NODE_TYPE, WEAVE_GRID_DEFAULT_COLOR, WEAVE_GRID_DEFAULT_ORIGIN_COLOR, WEAVE_GRID_DEFAULT_SIZE, WEAVE_GRID_DEFAULT_TYPE, WEAVE_GRID_LAYER_ID, WEAVE_GRID_TYPES, WEAVE_NODES_SELECTION_KEY, WEAVE_NODES_SELECTION_LAYER_ID, WEAVE_NODES_SNAPPING_KEY, WEAVE_STAGE_GRID_KEY, WEAVE_USERS_POINTERS_KEY, WEAVE_USERS_SELECTION_KEY, WEAVE_USER_POINTERS_DEFAULT_PROPS, WEAVE_USER_POINTER_KEY, WEAVE_USER_SELECTION_KEY, Weave, WeaveAction, WeaveActionPropsChangeEvent, WeaveBrushToolAction, WeaveBrushToolActionState, WeaveBrushToolActionStateKeys, WeaveConnectedUserInfoKey, WeaveConnectedUsers, WeaveConnectedUsersChangeEvent, WeaveConnectedUsersPlugin, WeaveConnectedUsersPluginConfig, WeaveConnectedUsersPluginParams, WeaveContextMenuPlugin, WeaveCopyPasteNodesPlugin, WeaveCopyPasteNodesPluginOnCopyEvent, WeaveCopyPasteNodesPluginOnPasteEvent, WeaveCopyPasteNodesPluginOnPasteExternalEvent, WeaveCopyPasteNodesPluginState, WeaveCopyPasteNodesPluginStateKeys, WeaveEraserToolAction, WeaveEraserToolActionState, WeaveEraserToolActionStateKeys, WeaveExportNodeActionParams, WeaveExportNodeToolAction, WeaveExportStageActionParams, WeaveExportStageToolAction, WeaveFitToScreenToolAction, WeaveFitToScreenToolActionParams, WeaveFitToSelectionToolAction, WeaveFitToSelectionToolActionParams, WeaveFrameAttributes, WeaveFrameNode, WeaveFrameNodeParams, WeaveFrameNodeSizes, WeaveFrameNodeSizesInfo, WeaveFrameNodeSizesKeys, WeaveFrameNodeSizesOrientation, WeaveFrameNodeSizesOrientationKeys, WeaveFrameProperties, WeaveFrameToolAction, WeaveFrameToolActionState, WeaveFrameToolActionStateKeys, WeaveFrameToolActionTriggerParams, WeaveFrameToolProps, WeaveGroupNode, WeaveImageNode, WeaveImageNodeParams, WeaveImageProperties, WeaveImageToolAction, WeaveImageToolActionOnEndLoadImageEvent, WeaveImageToolActionOnStartLoadImageEvent, WeaveImageToolActionState, WeaveImageToolActionStateKeys, WeaveImageToolActionTriggerParams, WeaveImageToolActionTriggerReturn, WeaveLayerNode, WeaveLineNode, WeaveMoveToolAction, WeaveMoveToolActionState, WeaveMoveToolActionStateKeys, WeaveNode, WeaveNodesSelectionConfig, WeaveNodesSelectionPlugin, WeaveNodesSelectionPluginConfig, WeaveNodesSelectionPluginOnNodesChangeEvent, WeaveNodesSelectionPluginOnSelectionStateEvent, WeaveNodesSelectionPluginOnStageSelectionEvent, WeaveNodesSelectionPluginParams, WeaveNodesSelectionTransformationsConfig, WeaveNodesSnappingPlugin, WeaveNodesSnappingPluginConfig, WeaveNodesSnappingPluginParams, WeavePasteModel, WeavePenToolAction, WeavePenToolActionState, WeavePenToolActionStateKeys, WeavePlugin, WeaveRectangleNode, WeaveRectangleToolAction, WeaveRectangleToolActionState, WeaveRectangleToolActionStateKeys, WeaveSelectionToolAction, WeaveSelectionToolActionState, WeaveSelectionToolActionStateKeys, WeaveStageContextMenuPluginConfig, WeaveStageContextMenuPluginOnNodeContextMenuEvent, WeaveStageContextMenuPluginParams, WeaveStageDropAreaPlugin, WeaveStageDropPluginOnStageDropEvent, WeaveStageGridPlugin, WeaveStageGridPluginConfig, WeaveStageGridPluginParams, WeaveStageGridType, WeaveStageGridTypeKeys, WeaveStageNode, WeaveStagePanningPlugin, WeaveStageResizePlugin, WeaveStageZoomChanged, WeaveStageZoomPlugin, WeaveStageZoomPluginConfig, WeaveStageZoomPluginOnZoomChangeEvent, WeaveStageZoomPluginParams, WeaveStore, WeaveStoreOnNodeChangeEvent, WeaveStoreOnRoomLoadedEvent, WeaveStoreOnStateChangeEvent, WeaveStoreOnUndoRedoChangeEvent, 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, moveNodeToContainer, resetScale };
|
|
1826
|
+
//# sourceMappingURL=sdk.d.cts.map
|