@inditextech/weave-sdk 3.8.3-SNAPSHOT.214.1 → 3.8.3-SNAPSHOT.220.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.js CHANGED
@@ -21410,16 +21410,10 @@ var WeaveTargetingManager = class {
21410
21410
  const utilityLayer = this.instance.getUtilityLayer();
21411
21411
  if (utilityLayer) utilityLayer.visible(false);
21412
21412
  let containerAlt = containerOverCursor(this.instance, [], relativeMousePointer);
21413
+ if (!containerAlt) containerAlt = this.instance.getMainLayer();
21413
21414
  const nodesSelection = this.instance.getPlugin("nodesSelection");
21414
21415
  if (nodesSelection) nodesSelection.getTransformer().visible(false);
21415
- if (containerAlt && typeof point === "undefined") relativeMousePointer = containerAlt.getRelativePointerPosition() ?? relativeMousePointer;
21416
- if (!containerAlt && typeof point === "undefined") {
21417
- containerAlt = this.instance.getMainLayer();
21418
- relativeMousePointer = containerAlt?.getRelativePointerPosition() ?? {
21419
- x: 0,
21420
- y: 0
21421
- };
21422
- }
21416
+ relativeMousePointer = containerAlt?.getRelativePointerPosition() ?? relativeMousePointer;
21423
21417
  if (utilityLayer) utilityLayer.visible(true);
21424
21418
  if (nodesSelection) nodesSelection.getTransformer().visible(true);
21425
21419
  return {
@@ -22014,7 +22008,7 @@ var WeaveRegisterManager = class {
22014
22008
 
22015
22009
  //#endregion
22016
22010
  //#region package.json
22017
- var version = "3.8.3-SNAPSHOT.214.1";
22011
+ var version = "3.8.3-SNAPSHOT.220.1";
22018
22012
 
22019
22013
  //#endregion
22020
22014
  //#region src/managers/setup.ts
@@ -34428,15 +34422,14 @@ var WeaveImageToolAction = class extends WeaveAction {
34428
34422
  const dragProperties = this.instance.getDragProperties();
34429
34423
  if (dragProperties && dragId === WEAVE_IMAGE_TOOL_ACTION_NAME) {
34430
34424
  this.instance.getStage().setPointersPositions(e);
34431
- const { mousePoint, container } = this.instance.getMousePointer();
34432
- if (!mousePoint) return;
34425
+ const position = this.instance.getStage().getRelativePointerPosition();
34426
+ if (!position) return;
34433
34427
  this.instance.triggerAction(WEAVE_IMAGE_TOOL_ACTION_NAME, {
34434
34428
  type: WEAVE_IMAGE_TOOL_UPLOAD_TYPE.IMAGE_URL,
34435
34429
  image: dragProperties.imageURL,
34436
34430
  ...dragProperties.imageId ? { imageId: dragProperties.imageId } : {},
34437
34431
  ...dragProperties.forceMainContainer && { forceMainContainer: dragProperties.forceMainContainer },
34438
- container,
34439
- position: mousePoint
34432
+ position
34440
34433
  });
34441
34434
  }
34442
34435
  });
@@ -34603,7 +34596,7 @@ var WeaveImageToolAction = class extends WeaveAction {
34603
34596
  }
34604
34597
  const { mousePoint, container } = this.instance.getMousePointer(position);
34605
34598
  this.imageAction[nodeId].clickPoint = mousePoint;
34606
- this.imageAction[nodeId].container = this.imageAction[nodeId].container ?? container;
34599
+ this.imageAction[nodeId].container = container;
34607
34600
  const nodeHandler = this.instance.getNodeHandler("image");
34608
34601
  const imageWidth = this.imageAction[nodeId].props.width ? this.imageAction[nodeId].props.width : imageSource?.width;
34609
34602
  const imageHeight = this.imageAction[nodeId].props.height ? this.imageAction[nodeId].props.height : imageSource?.height;
@@ -34670,9 +34663,9 @@ var WeaveImageToolAction = class extends WeaveAction {
34670
34663
  props: this.initProps(),
34671
34664
  imageId: nodeId,
34672
34665
  clickPoint: null,
34666
+ container: void 0,
34673
34667
  imageFile: null,
34674
34668
  imageURL: null,
34675
- container: params?.container,
34676
34669
  forceMainContainer: params?.forceMainContainer ?? false,
34677
34670
  uploadType: null,
34678
34671
  uploadImageFunction: null
@@ -34879,13 +34872,12 @@ var WeaveImagesToolAction = class extends WeaveAction {
34879
34872
  const dragProperties = this.instance.getDragProperties();
34880
34873
  if (dragProperties && dragId === WEAVE_IMAGES_TOOL_ACTION_NAME) {
34881
34874
  this.instance.getStage().setPointersPositions(e);
34882
- const { mousePoint, container } = this.instance.getMousePointer();
34883
- if (!mousePoint) return;
34875
+ const position = this.instance.getStage().getRelativePointerPosition();
34876
+ if (!position) return;
34884
34877
  this.instance.triggerAction(WEAVE_IMAGES_TOOL_ACTION_NAME, {
34885
34878
  type: WEAVE_IMAGES_TOOL_UPLOAD_TYPE.IMAGE_URL,
34886
34879
  images: dragProperties.imagesURL,
34887
- container,
34888
- position: mousePoint,
34880
+ position,
34889
34881
  ...dragProperties.forceMainContainer && { forceMainContainer: dragProperties.forceMainContainer }
34890
34882
  });
34891
34883
  }
@@ -35046,8 +35038,7 @@ var WeaveImagesToolAction = class extends WeaveAction {
35046
35038
  stage.container().style.cursor = "default";
35047
35039
  const { mousePoint, container } = this.instance.getMousePointer(position);
35048
35040
  this.clickPoint = mousePoint;
35049
- this.stageClickPoint = position ? position : stage.getRelativePointerPosition();
35050
- this.container = this.container ?? container;
35041
+ this.container = container;
35051
35042
  const originPoint = {
35052
35043
  x: this.clickPoint?.x ?? 0,
35053
35044
  y: this.clickPoint?.y ?? 0
@@ -35102,8 +35093,10 @@ var WeaveImagesToolAction = class extends WeaveAction {
35102
35093
  },
35103
35094
  uploadImageFunction: uploadImageFunctionInternal,
35104
35095
  ...imageId && { imageId },
35105
- position: position$1,
35106
- container: this.container,
35096
+ position: {
35097
+ x: position$1.x,
35098
+ y: position$1.y
35099
+ },
35107
35100
  forceMainContainer: this.forceMainContainer,
35108
35101
  nodeId: nodeId$1
35109
35102
  }, true);
@@ -35137,8 +35130,10 @@ var WeaveImagesToolAction = class extends WeaveAction {
35137
35130
  },
35138
35131
  ...imageId && { imageId },
35139
35132
  ...options && { options },
35140
- position: position$1,
35141
- container: this.container,
35133
+ position: {
35134
+ x: position$1.x,
35135
+ y: position$1.y
35136
+ },
35142
35137
  forceMainContainer: this.forceMainContainer,
35143
35138
  nodeId: nodeId$1
35144
35139
  }, true);
@@ -35171,7 +35166,6 @@ var WeaveImagesToolAction = class extends WeaveAction {
35171
35166
  const selectionPlugin = this.instance.getPlugin("nodesSelection");
35172
35167
  if (selectionPlugin) selectionPlugin.setSelectedNodes([]);
35173
35168
  if (params?.position) this.setState(WEAVE_IMAGES_TOOL_STATE.SELECTED_POSITION);
35174
- if (params?.container) this.container = params.container;
35175
35169
  this.nodesIds = [];
35176
35170
  this.forceMainContainer = params.forceMainContainer ?? false;
35177
35171
  if (params.type === WEAVE_IMAGES_TOOL_UPLOAD_TYPE.FILE) {
@@ -35227,7 +35221,6 @@ var WeaveImagesToolAction = class extends WeaveAction {
35227
35221
  this.forceMainContainer = false;
35228
35222
  this.initialCursor = null;
35229
35223
  this.container = void 0;
35230
- this.stageClickPoint = null;
35231
35224
  this.clickPoint = null;
35232
35225
  this.nodesIds = [];
35233
35226
  this.toAdd = 0;
@@ -36990,13 +36983,11 @@ var WeaveVideoToolAction = class extends WeaveAction {
36990
36983
  const dragProperties = this.instance.getDragProperties();
36991
36984
  if (dragProperties && dragId === VIDEO_TOOL_ACTION_NAME) {
36992
36985
  this.instance.getStage().setPointersPositions(e);
36993
- const { mousePoint, container } = this.instance.getMousePointer();
36994
- if (!mousePoint) return;
36986
+ const position = this.instance.getStage().getRelativePointerPosition();
36995
36987
  this.instance.triggerAction(VIDEO_TOOL_ACTION_NAME, {
36996
36988
  videoId: dragProperties.videoId,
36997
36989
  videoParams: dragProperties.videoParams,
36998
- container,
36999
- position: mousePoint
36990
+ position
37000
36991
  });
37001
36992
  }
37002
36993
  });
@@ -37047,7 +37038,7 @@ var WeaveVideoToolAction = class extends WeaveAction {
37047
37038
  if (this.videoId && this.videoParams) {
37048
37039
  const { mousePoint, container } = this.instance.getMousePointer(position);
37049
37040
  this.clickPoint = mousePoint;
37050
- this.container = this.container ?? container;
37041
+ this.container = container;
37051
37042
  const nodeHandler = this.instance.getNodeHandler("video");
37052
37043
  if (nodeHandler) {
37053
37044
  const node = nodeHandler.create(this.videoId, {
@@ -37078,7 +37069,6 @@ var WeaveVideoToolAction = class extends WeaveAction {
37078
37069
  this.cancelAction = cancelAction;
37079
37070
  const selectionPlugin = this.instance.getPlugin("nodesSelection");
37080
37071
  if (selectionPlugin) selectionPlugin.setSelectedNodes([]);
37081
- this.container = params?.container;
37082
37072
  this.forceMainContainer = params?.forceMainContainer ?? false;
37083
37073
  if (params?.videoId) this.updateProps({ videoId: params.videoId });
37084
37074
  if (params?.videoParams) {
package/dist/sdk.node.js CHANGED
@@ -21409,16 +21409,10 @@ var WeaveTargetingManager = class {
21409
21409
  const utilityLayer = this.instance.getUtilityLayer();
21410
21410
  if (utilityLayer) utilityLayer.visible(false);
21411
21411
  let containerAlt = containerOverCursor(this.instance, [], relativeMousePointer);
21412
+ if (!containerAlt) containerAlt = this.instance.getMainLayer();
21412
21413
  const nodesSelection = this.instance.getPlugin("nodesSelection");
21413
21414
  if (nodesSelection) nodesSelection.getTransformer().visible(false);
21414
- if (containerAlt && typeof point === "undefined") relativeMousePointer = containerAlt.getRelativePointerPosition() ?? relativeMousePointer;
21415
- if (!containerAlt && typeof point === "undefined") {
21416
- containerAlt = this.instance.getMainLayer();
21417
- relativeMousePointer = containerAlt?.getRelativePointerPosition() ?? {
21418
- x: 0,
21419
- y: 0
21420
- };
21421
- }
21415
+ relativeMousePointer = containerAlt?.getRelativePointerPosition() ?? relativeMousePointer;
21422
21416
  if (utilityLayer) utilityLayer.visible(true);
21423
21417
  if (nodesSelection) nodesSelection.getTransformer().visible(true);
21424
21418
  return {
@@ -22013,7 +22007,7 @@ var WeaveRegisterManager = class {
22013
22007
 
22014
22008
  //#endregion
22015
22009
  //#region package.json
22016
- var version = "3.8.3-SNAPSHOT.214.1";
22010
+ var version = "3.8.3-SNAPSHOT.220.1";
22017
22011
 
22018
22012
  //#endregion
22019
22013
  //#region src/managers/setup.ts
@@ -34427,15 +34421,14 @@ var WeaveImageToolAction = class extends WeaveAction {
34427
34421
  const dragProperties = this.instance.getDragProperties();
34428
34422
  if (dragProperties && dragId === WEAVE_IMAGE_TOOL_ACTION_NAME) {
34429
34423
  this.instance.getStage().setPointersPositions(e);
34430
- const { mousePoint, container } = this.instance.getMousePointer();
34431
- if (!mousePoint) return;
34424
+ const position = this.instance.getStage().getRelativePointerPosition();
34425
+ if (!position) return;
34432
34426
  this.instance.triggerAction(WEAVE_IMAGE_TOOL_ACTION_NAME, {
34433
34427
  type: WEAVE_IMAGE_TOOL_UPLOAD_TYPE.IMAGE_URL,
34434
34428
  image: dragProperties.imageURL,
34435
34429
  ...dragProperties.imageId ? { imageId: dragProperties.imageId } : {},
34436
34430
  ...dragProperties.forceMainContainer && { forceMainContainer: dragProperties.forceMainContainer },
34437
- container,
34438
- position: mousePoint
34431
+ position
34439
34432
  });
34440
34433
  }
34441
34434
  });
@@ -34602,7 +34595,7 @@ var WeaveImageToolAction = class extends WeaveAction {
34602
34595
  }
34603
34596
  const { mousePoint, container } = this.instance.getMousePointer(position);
34604
34597
  this.imageAction[nodeId].clickPoint = mousePoint;
34605
- this.imageAction[nodeId].container = this.imageAction[nodeId].container ?? container;
34598
+ this.imageAction[nodeId].container = container;
34606
34599
  const nodeHandler = this.instance.getNodeHandler("image");
34607
34600
  const imageWidth = this.imageAction[nodeId].props.width ? this.imageAction[nodeId].props.width : imageSource?.width;
34608
34601
  const imageHeight = this.imageAction[nodeId].props.height ? this.imageAction[nodeId].props.height : imageSource?.height;
@@ -34669,9 +34662,9 @@ var WeaveImageToolAction = class extends WeaveAction {
34669
34662
  props: this.initProps(),
34670
34663
  imageId: nodeId,
34671
34664
  clickPoint: null,
34665
+ container: void 0,
34672
34666
  imageFile: null,
34673
34667
  imageURL: null,
34674
- container: params?.container,
34675
34668
  forceMainContainer: params?.forceMainContainer ?? false,
34676
34669
  uploadType: null,
34677
34670
  uploadImageFunction: null
@@ -34878,13 +34871,12 @@ var WeaveImagesToolAction = class extends WeaveAction {
34878
34871
  const dragProperties = this.instance.getDragProperties();
34879
34872
  if (dragProperties && dragId === WEAVE_IMAGES_TOOL_ACTION_NAME) {
34880
34873
  this.instance.getStage().setPointersPositions(e);
34881
- const { mousePoint, container } = this.instance.getMousePointer();
34882
- if (!mousePoint) return;
34874
+ const position = this.instance.getStage().getRelativePointerPosition();
34875
+ if (!position) return;
34883
34876
  this.instance.triggerAction(WEAVE_IMAGES_TOOL_ACTION_NAME, {
34884
34877
  type: WEAVE_IMAGES_TOOL_UPLOAD_TYPE.IMAGE_URL,
34885
34878
  images: dragProperties.imagesURL,
34886
- container,
34887
- position: mousePoint,
34879
+ position,
34888
34880
  ...dragProperties.forceMainContainer && { forceMainContainer: dragProperties.forceMainContainer }
34889
34881
  });
34890
34882
  }
@@ -35045,8 +35037,7 @@ var WeaveImagesToolAction = class extends WeaveAction {
35045
35037
  stage.container().style.cursor = "default";
35046
35038
  const { mousePoint, container } = this.instance.getMousePointer(position);
35047
35039
  this.clickPoint = mousePoint;
35048
- this.stageClickPoint = position ? position : stage.getRelativePointerPosition();
35049
- this.container = this.container ?? container;
35040
+ this.container = container;
35050
35041
  const originPoint = {
35051
35042
  x: this.clickPoint?.x ?? 0,
35052
35043
  y: this.clickPoint?.y ?? 0
@@ -35101,8 +35092,10 @@ var WeaveImagesToolAction = class extends WeaveAction {
35101
35092
  },
35102
35093
  uploadImageFunction: uploadImageFunctionInternal,
35103
35094
  ...imageId && { imageId },
35104
- position: position$1,
35105
- container: this.container,
35095
+ position: {
35096
+ x: position$1.x,
35097
+ y: position$1.y
35098
+ },
35106
35099
  forceMainContainer: this.forceMainContainer,
35107
35100
  nodeId: nodeId$1
35108
35101
  }, true);
@@ -35136,8 +35129,10 @@ var WeaveImagesToolAction = class extends WeaveAction {
35136
35129
  },
35137
35130
  ...imageId && { imageId },
35138
35131
  ...options && { options },
35139
- position: position$1,
35140
- container: this.container,
35132
+ position: {
35133
+ x: position$1.x,
35134
+ y: position$1.y
35135
+ },
35141
35136
  forceMainContainer: this.forceMainContainer,
35142
35137
  nodeId: nodeId$1
35143
35138
  }, true);
@@ -35170,7 +35165,6 @@ var WeaveImagesToolAction = class extends WeaveAction {
35170
35165
  const selectionPlugin = this.instance.getPlugin("nodesSelection");
35171
35166
  if (selectionPlugin) selectionPlugin.setSelectedNodes([]);
35172
35167
  if (params?.position) this.setState(WEAVE_IMAGES_TOOL_STATE.SELECTED_POSITION);
35173
- if (params?.container) this.container = params.container;
35174
35168
  this.nodesIds = [];
35175
35169
  this.forceMainContainer = params.forceMainContainer ?? false;
35176
35170
  if (params.type === WEAVE_IMAGES_TOOL_UPLOAD_TYPE.FILE) {
@@ -35226,7 +35220,6 @@ var WeaveImagesToolAction = class extends WeaveAction {
35226
35220
  this.forceMainContainer = false;
35227
35221
  this.initialCursor = null;
35228
35222
  this.container = void 0;
35229
- this.stageClickPoint = null;
35230
35223
  this.clickPoint = null;
35231
35224
  this.nodesIds = [];
35232
35225
  this.toAdd = 0;
@@ -36989,13 +36982,11 @@ var WeaveVideoToolAction = class extends WeaveAction {
36989
36982
  const dragProperties = this.instance.getDragProperties();
36990
36983
  if (dragProperties && dragId === VIDEO_TOOL_ACTION_NAME) {
36991
36984
  this.instance.getStage().setPointersPositions(e);
36992
- const { mousePoint, container } = this.instance.getMousePointer();
36993
- if (!mousePoint) return;
36985
+ const position = this.instance.getStage().getRelativePointerPosition();
36994
36986
  this.instance.triggerAction(VIDEO_TOOL_ACTION_NAME, {
36995
36987
  videoId: dragProperties.videoId,
36996
36988
  videoParams: dragProperties.videoParams,
36997
- container,
36998
- position: mousePoint
36989
+ position
36999
36990
  });
37000
36991
  }
37001
36992
  });
@@ -37046,7 +37037,7 @@ var WeaveVideoToolAction = class extends WeaveAction {
37046
37037
  if (this.videoId && this.videoParams) {
37047
37038
  const { mousePoint, container } = this.instance.getMousePointer(position);
37048
37039
  this.clickPoint = mousePoint;
37049
- this.container = this.container ?? container;
37040
+ this.container = container;
37050
37041
  const nodeHandler = this.instance.getNodeHandler("video");
37051
37042
  if (nodeHandler) {
37052
37043
  const node = nodeHandler.create(this.videoId, {
@@ -37077,7 +37068,6 @@ var WeaveVideoToolAction = class extends WeaveAction {
37077
37068
  this.cancelAction = cancelAction;
37078
37069
  const selectionPlugin = this.instance.getPlugin("nodesSelection");
37079
37070
  if (selectionPlugin) selectionPlugin.setSelectedNodes([]);
37080
- this.container = params?.container;
37081
37071
  this.forceMainContainer = params?.forceMainContainer ?? false;
37082
37072
  if (params?.videoId) this.updateProps({ videoId: params.videoId });
37083
37073
  if (params?.videoParams) {
package/dist/types.d.ts CHANGED
@@ -5,15 +5,15 @@ import * as Y$1 from "yjs";
5
5
  import * as Y from "yjs";
6
6
  import { Doc } from "yjs";
7
7
  import * as konva_lib_types8 from "konva/lib/types";
8
- import * as konva_lib_types22 from "konva/lib/types";
9
- import * as konva_lib_types23 from "konva/lib/types";
8
+ import * as konva_lib_types20 from "konva/lib/types";
9
+ import * as konva_lib_types21 from "konva/lib/types";
10
10
  import { Vector2d } from "konva/lib/types";
11
+ import * as konva_lib_Node22 from "konva/lib/Node";
12
+ import * as konva_lib_Node23 from "konva/lib/Node";
11
13
  import * as konva_lib_Node14 from "konva/lib/Node";
12
14
  import * as konva_lib_Node15 from "konva/lib/Node";
13
15
  import * as konva_lib_Node16 from "konva/lib/Node";
14
16
  import * as konva_lib_Node17 from "konva/lib/Node";
15
- import * as konva_lib_Node18 from "konva/lib/Node";
16
- import * as konva_lib_Node19 from "konva/lib/Node";
17
17
  import * as konva_lib_Node0 from "konva/lib/Node";
18
18
  import * as konva_lib_Node1 from "konva/lib/Node";
19
19
  import * as konva_lib_Node2 from "konva/lib/Node";
@@ -29,8 +29,8 @@ import { Stage, StageConfig } from "konva/lib/Stage";
29
29
  import * as konva_lib_shapes_Transformer4 from "konva/lib/shapes/Transformer";
30
30
  import { TransformerConfig } from "konva/lib/shapes/Transformer";
31
31
  import * as konva_lib_shapes_Rect12 from "konva/lib/shapes/Rect";
32
- import * as konva_lib_shapes_Line20 from "konva/lib/shapes/Line";
33
- import * as konva_lib_shapes_Line21 from "konva/lib/shapes/Line";
32
+ import * as konva_lib_shapes_Line18 from "konva/lib/shapes/Line";
33
+ import * as konva_lib_shapes_Line19 from "konva/lib/shapes/Line";
34
34
  import * as konva_lib_Layer13 from "konva/lib/Layer";
35
35
 
36
36
  //#region src/stores/store.d.ts
@@ -952,7 +952,7 @@ declare class WeaveTargetingManager {
952
952
  nodeIntersectsContainerElement(node: Konva.Node | Konva.Transformer, actualLayer?: Konva.Layer | Konva.Group): Konva.Node | undefined;
953
953
  getMousePointer(point?: Konva.Vector2d): WeaveMousePointInfo;
954
954
  getMousePointerRelativeToContainer(container: Konva.Node | Konva.Layer): WeaveMousePointInfoSimple;
955
- getRealSelectedNode: (nodeTarget: Konva.Node) => konva_lib_Node15.Node<konva_lib_Node14.NodeConfig>;
955
+ getRealSelectedNode: (nodeTarget: Konva.Node) => konva_lib_Node23.Node<konva_lib_Node22.NodeConfig>;
956
956
  }
957
957
 
958
958
  //#endregion
@@ -971,8 +971,8 @@ declare class WeaveCloningManager {
971
971
  cloneNode(targetNode: Konva.Node): Konva.Node | undefined;
972
972
  addClone(node: Konva.Node): void;
973
973
  removeClone(node: Konva.Node): void;
974
- getClones(): konva_lib_Node17.Node<konva_lib_Node16.NodeConfig>[];
975
- isClone(node: Konva.Node): konva_lib_Node19.Node<konva_lib_Node18.NodeConfig> | undefined;
974
+ getClones(): konva_lib_Node15.Node<konva_lib_Node14.NodeConfig>[];
975
+ isClone(node: Konva.Node): konva_lib_Node17.Node<konva_lib_Node16.NodeConfig> | undefined;
976
976
  cleanupClones(): void;
977
977
  }
978
978
 
@@ -2189,10 +2189,10 @@ declare class WeaveBaseLineTipManager {
2189
2189
  render(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): void;
2190
2190
  update(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): void;
2191
2191
  protected getTip(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): Konva.Node | undefined;
2192
- protected getInternalLine(instance: Konva.Group): konva_lib_shapes_Line21.Line<konva_lib_shapes_Line20.LineConfig> | undefined;
2192
+ protected getInternalLine(instance: Konva.Group): konva_lib_shapes_Line19.Line<konva_lib_shapes_Line18.LineConfig> | undefined;
2193
2193
  protected getLinePoints(instance: Konva.Group): {
2194
- lineStartPoint: konva_lib_types22.Vector2d;
2195
- lineEndPoint: konva_lib_types23.Vector2d;
2194
+ lineStartPoint: konva_lib_types20.Vector2d;
2195
+ lineEndPoint: konva_lib_types21.Vector2d;
2196
2196
  };
2197
2197
  }
2198
2198
 
@@ -3415,7 +3415,6 @@ type WeaveImageToolActionTriggerCommonParams = {
3415
3415
  imageId?: string;
3416
3416
  options?: ImageOptions;
3417
3417
  position?: Konva.Vector2d;
3418
- container?: Konva.Layer | Konva.Group;
3419
3418
  forceMainContainer?: boolean;
3420
3419
  };
3421
3420
  type WeaveImageFile = {
@@ -3555,7 +3554,6 @@ type ImageInfo = {
3555
3554
  };
3556
3555
  type WeaveImagesToolActionTriggerCommonParams = {
3557
3556
  position?: Vector2d;
3558
- container?: Konva.Layer | Konva.Group;
3559
3557
  forceMainContainer?: boolean;
3560
3558
  };
3561
3559
  type WeaveImagesToolActionInternalUploadFunction = () => Promise<void>;
@@ -3638,7 +3636,6 @@ declare class WeaveImagesToolAction extends WeaveAction {
3638
3636
  protected imagesFile: WeaveImagesFile[];
3639
3637
  protected imagesURL: WeaveImagesURL[];
3640
3638
  protected preloadImgs: Record<string, HTMLImageElement>;
3641
- protected stageClickPoint: Vector2d | null;
3642
3639
  protected clickPoint: Vector2d | null;
3643
3640
  protected forceMainContainer: boolean;
3644
3641
  protected cancelAction: () => void;
@@ -4235,7 +4232,6 @@ type WeaveVideoToolDragParams = {
4235
4232
  type WeaveVideoToolActionTriggerParams = {
4236
4233
  videoId?: string;
4237
4234
  videoParams?: WeaveVideoToolDragParams;
4238
- container?: Konva.Layer | Konva.Group;
4239
4235
  position?: Konva.Vector2d;
4240
4236
  forceMainContainer?: boolean;
4241
4237
  };