@inditextech/weave-sdk 3.8.1-SNAPSHOT.194.1 → 3.8.1-SNAPSHOT.199.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
@@ -22008,7 +22008,7 @@ var WeaveRegisterManager = class {
22008
22008
 
22009
22009
  //#endregion
22010
22010
  //#region package.json
22011
- var version = "3.8.1-SNAPSHOT.194.1";
22011
+ var version = "3.8.1-SNAPSHOT.199.1";
22012
22012
 
22013
22013
  //#endregion
22014
22014
  //#region src/managers/setup.ts
@@ -26897,29 +26897,12 @@ var WeaveImageNode = class extends WeaveNode {
26897
26897
  });
26898
26898
  }
26899
26899
  if (this.imageState[id ?? ""]?.loaded && this.imageState[id ?? ""]?.error) {
26900
- imagePlaceholder?.setAttrs({
26901
- ...internalImageProps,
26902
- ...nodeAttrs.imageProperties ?? {},
26903
- name: void 0,
26904
- id: `${id}-placeholder`,
26905
- nodeId: id,
26906
- x: 0,
26907
- y: 0,
26908
- scaleX: 1,
26909
- scaleY: 1,
26910
- rotation: 0,
26911
- visible: true,
26912
- fill: this.config.style.placeholder.fill,
26913
- strokeWidth: 0,
26914
- draggable: false,
26915
- zIndex: 0
26916
- });
26917
26900
  internalImage?.setAttrs({
26918
26901
  ...internalImageProps,
26919
26902
  ...nodeAttrs.imageProperties ?? {},
26920
26903
  name: void 0,
26921
26904
  id: `${id}-image`,
26922
- image: void 0,
26905
+ image: this.imageFallback[id ?? ""],
26923
26906
  nodeId: id,
26924
26907
  x: 0,
26925
26908
  y: 0,
@@ -26930,6 +26913,8 @@ var WeaveImageNode = class extends WeaveNode {
26930
26913
  draggable: false,
26931
26914
  zIndex: 1
26932
26915
  });
26916
+ internalImage?.visible(true);
26917
+ this.updateImageCrop(nodeInstance);
26933
26918
  }
26934
26919
  if (this.imageState[id ?? ""]?.loaded && !this.imageState[id ?? ""]?.error) {
26935
26920
  internalImage?.setAttrs({
@@ -26984,14 +26969,18 @@ var WeaveImageNode = class extends WeaveNode {
26984
26969
  }
26985
26970
  preloadImage(imageId, imageURL, { onLoad, onError }, loadingTryout = false) {
26986
26971
  const imageURLToLoad = imageURL ?? "http://localhost/false-image";
26972
+ if (imageURLToLoad === "") {
26973
+ this.setErrorState(imageId);
26974
+ return;
26975
+ }
26987
26976
  this.imageSource[imageId] = Konva.Util.createImageElement();
26988
26977
  this.imageSource[imageId].crossOrigin = this.config.crossOrigin;
26989
26978
  this.imageSource[imageId].onerror = (error) => {
26990
- if (!loadingTryout) this.imageState[imageId] = {
26991
- status: "error",
26992
- loaded: false,
26993
- error: true
26994
- };
26979
+ if (!loadingTryout) {
26980
+ const stage = this.instance.getStage();
26981
+ const image = stage.findOne(`#${imageId}`);
26982
+ if (image) this.setErrorState(imageId, image);
26983
+ }
26995
26984
  onError(error);
26996
26985
  };
26997
26986
  this.imageSource[imageId].onload = async () => {
@@ -27086,36 +27075,29 @@ var WeaveImageNode = class extends WeaveNode {
27086
27075
  }
27087
27076
  },
27088
27077
  onError: (error) => {
27089
- if (!this.config.useFallbackImage) this.imageTryoutIds[id] = setTimeout(() => {
27090
- const node = this.instance.getStage().findOne(`#${id}`);
27091
- if (node) {
27092
- this.imageTryoutAttempts[id] = (this.imageTryoutAttempts[id] ?? 0) + 1;
27093
- this.loadImage(node.getAttrs(), node, false, true);
27094
- }
27095
- }, this.config.imageLoading.retryDelayMs);
27078
+ if (!this.config.useFallbackImage) {
27079
+ const tryoutAttempts = this.imageTryoutAttempts[id] ?? 0;
27080
+ if (tryoutAttempts - 1 < this.config.imageLoading.maxRetryAttempts) {
27081
+ this.loadImageTryout(id);
27082
+ return;
27083
+ } else this.setErrorState(id, image);
27084
+ }
27096
27085
  if (loadTryout) {
27097
27086
  const tryoutAttempts = this.imageTryoutAttempts[id] ?? 0;
27098
- if (tryoutAttempts < this.config.imageLoading.maxRetryAttempts) this.imageTryoutIds[id] = setTimeout(() => {
27099
- const node = this.instance.getStage().findOne(`#${id}`);
27100
- if (node) {
27101
- this.imageTryoutAttempts[id] = tryoutAttempts + 1;
27102
- this.loadImage(node.getAttrs(), node, false, true);
27103
- }
27104
- }, this.config.imageLoading.retryDelayMs);
27087
+ if (tryoutAttempts - 1 < this.config.imageLoading.maxRetryAttempts) {
27088
+ this.loadImageTryout(id);
27089
+ return;
27090
+ } else this.setErrorState(id, image);
27105
27091
  return;
27106
27092
  }
27107
27093
  if (this.config.useFallbackImage && !useFallback && !loadTryout && imageProps.imageFallback) {
27108
27094
  this.loadImage({ ...params }, image, true);
27109
27095
  return;
27110
27096
  }
27111
- this.imageState[id] = {
27112
- status: "error",
27113
- loaded: false,
27114
- error: true
27115
- };
27097
+ this.setErrorState(id, image);
27116
27098
  image.setAttrs({ image: void 0 });
27099
+ console.error("Error loading image", error);
27117
27100
  this.resolveAsyncElement(id);
27118
- console.error("Error loading image", realImageURL, error);
27119
27101
  imagePlaceholder?.setAttrs({ visible: true });
27120
27102
  internalImage?.setAttrs({ visible: false });
27121
27103
  this.cacheNode(image);
@@ -27245,6 +27227,25 @@ var WeaveImageNode = class extends WeaveNode {
27245
27227
  }
27246
27228
  nodeInstance.destroy();
27247
27229
  }
27230
+ loadImageTryout(imageId) {
27231
+ this.imageTryoutIds[imageId] = setTimeout(() => {
27232
+ const node = this.instance.getStage().findOne(`#${imageId}`);
27233
+ if (node) {
27234
+ const tryoutAttempts = this.imageTryoutAttempts[imageId] ?? 0;
27235
+ this.imageTryoutAttempts[imageId] = tryoutAttempts + 1;
27236
+ this.loadImage(node.getAttrs(), node, false, true);
27237
+ }
27238
+ }, this.config.imageLoading.retryDelayMs);
27239
+ }
27240
+ setErrorState(imageId, image) {
27241
+ this.imageState[imageId] = {
27242
+ status: "loaded",
27243
+ loaded: true,
27244
+ error: true
27245
+ };
27246
+ this.resolveAsyncElement(imageId);
27247
+ if (image) this.cacheNode(image);
27248
+ }
27248
27249
  };
27249
27250
 
27250
27251
  //#endregion
package/dist/sdk.node.js CHANGED
@@ -22007,7 +22007,7 @@ var WeaveRegisterManager = class {
22007
22007
 
22008
22008
  //#endregion
22009
22009
  //#region package.json
22010
- var version = "3.8.1-SNAPSHOT.194.1";
22010
+ var version = "3.8.1-SNAPSHOT.199.1";
22011
22011
 
22012
22012
  //#endregion
22013
22013
  //#region src/managers/setup.ts
@@ -26896,29 +26896,12 @@ var WeaveImageNode = class extends WeaveNode {
26896
26896
  });
26897
26897
  }
26898
26898
  if (this.imageState[id ?? ""]?.loaded && this.imageState[id ?? ""]?.error) {
26899
- imagePlaceholder?.setAttrs({
26900
- ...internalImageProps,
26901
- ...nodeAttrs.imageProperties ?? {},
26902
- name: void 0,
26903
- id: `${id}-placeholder`,
26904
- nodeId: id,
26905
- x: 0,
26906
- y: 0,
26907
- scaleX: 1,
26908
- scaleY: 1,
26909
- rotation: 0,
26910
- visible: true,
26911
- fill: this.config.style.placeholder.fill,
26912
- strokeWidth: 0,
26913
- draggable: false,
26914
- zIndex: 0
26915
- });
26916
26899
  internalImage?.setAttrs({
26917
26900
  ...internalImageProps,
26918
26901
  ...nodeAttrs.imageProperties ?? {},
26919
26902
  name: void 0,
26920
26903
  id: `${id}-image`,
26921
- image: void 0,
26904
+ image: this.imageFallback[id ?? ""],
26922
26905
  nodeId: id,
26923
26906
  x: 0,
26924
26907
  y: 0,
@@ -26929,6 +26912,8 @@ var WeaveImageNode = class extends WeaveNode {
26929
26912
  draggable: false,
26930
26913
  zIndex: 1
26931
26914
  });
26915
+ internalImage?.visible(true);
26916
+ this.updateImageCrop(nodeInstance);
26932
26917
  }
26933
26918
  if (this.imageState[id ?? ""]?.loaded && !this.imageState[id ?? ""]?.error) {
26934
26919
  internalImage?.setAttrs({
@@ -26983,14 +26968,18 @@ var WeaveImageNode = class extends WeaveNode {
26983
26968
  }
26984
26969
  preloadImage(imageId, imageURL, { onLoad, onError }, loadingTryout = false) {
26985
26970
  const imageURLToLoad = imageURL ?? "http://localhost/false-image";
26971
+ if (imageURLToLoad === "") {
26972
+ this.setErrorState(imageId);
26973
+ return;
26974
+ }
26986
26975
  this.imageSource[imageId] = Konva.Util.createImageElement();
26987
26976
  this.imageSource[imageId].crossOrigin = this.config.crossOrigin;
26988
26977
  this.imageSource[imageId].onerror = (error) => {
26989
- if (!loadingTryout) this.imageState[imageId] = {
26990
- status: "error",
26991
- loaded: false,
26992
- error: true
26993
- };
26978
+ if (!loadingTryout) {
26979
+ const stage = this.instance.getStage();
26980
+ const image = stage.findOne(`#${imageId}`);
26981
+ if (image) this.setErrorState(imageId, image);
26982
+ }
26994
26983
  onError(error);
26995
26984
  };
26996
26985
  this.imageSource[imageId].onload = async () => {
@@ -27085,36 +27074,29 @@ var WeaveImageNode = class extends WeaveNode {
27085
27074
  }
27086
27075
  },
27087
27076
  onError: (error) => {
27088
- if (!this.config.useFallbackImage) this.imageTryoutIds[id] = setTimeout(() => {
27089
- const node = this.instance.getStage().findOne(`#${id}`);
27090
- if (node) {
27091
- this.imageTryoutAttempts[id] = (this.imageTryoutAttempts[id] ?? 0) + 1;
27092
- this.loadImage(node.getAttrs(), node, false, true);
27093
- }
27094
- }, this.config.imageLoading.retryDelayMs);
27077
+ if (!this.config.useFallbackImage) {
27078
+ const tryoutAttempts = this.imageTryoutAttempts[id] ?? 0;
27079
+ if (tryoutAttempts - 1 < this.config.imageLoading.maxRetryAttempts) {
27080
+ this.loadImageTryout(id);
27081
+ return;
27082
+ } else this.setErrorState(id, image);
27083
+ }
27095
27084
  if (loadTryout) {
27096
27085
  const tryoutAttempts = this.imageTryoutAttempts[id] ?? 0;
27097
- if (tryoutAttempts < this.config.imageLoading.maxRetryAttempts) this.imageTryoutIds[id] = setTimeout(() => {
27098
- const node = this.instance.getStage().findOne(`#${id}`);
27099
- if (node) {
27100
- this.imageTryoutAttempts[id] = tryoutAttempts + 1;
27101
- this.loadImage(node.getAttrs(), node, false, true);
27102
- }
27103
- }, this.config.imageLoading.retryDelayMs);
27086
+ if (tryoutAttempts - 1 < this.config.imageLoading.maxRetryAttempts) {
27087
+ this.loadImageTryout(id);
27088
+ return;
27089
+ } else this.setErrorState(id, image);
27104
27090
  return;
27105
27091
  }
27106
27092
  if (this.config.useFallbackImage && !useFallback && !loadTryout && imageProps.imageFallback) {
27107
27093
  this.loadImage({ ...params }, image, true);
27108
27094
  return;
27109
27095
  }
27110
- this.imageState[id] = {
27111
- status: "error",
27112
- loaded: false,
27113
- error: true
27114
- };
27096
+ this.setErrorState(id, image);
27115
27097
  image.setAttrs({ image: void 0 });
27098
+ console.error("Error loading image", error);
27116
27099
  this.resolveAsyncElement(id);
27117
- console.error("Error loading image", realImageURL, error);
27118
27100
  imagePlaceholder?.setAttrs({ visible: true });
27119
27101
  internalImage?.setAttrs({ visible: false });
27120
27102
  this.cacheNode(image);
@@ -27244,6 +27226,25 @@ var WeaveImageNode = class extends WeaveNode {
27244
27226
  }
27245
27227
  nodeInstance.destroy();
27246
27228
  }
27229
+ loadImageTryout(imageId) {
27230
+ this.imageTryoutIds[imageId] = setTimeout(() => {
27231
+ const node = this.instance.getStage().findOne(`#${imageId}`);
27232
+ if (node) {
27233
+ const tryoutAttempts = this.imageTryoutAttempts[imageId] ?? 0;
27234
+ this.imageTryoutAttempts[imageId] = tryoutAttempts + 1;
27235
+ this.loadImage(node.getAttrs(), node, false, true);
27236
+ }
27237
+ }, this.config.imageLoading.retryDelayMs);
27238
+ }
27239
+ setErrorState(imageId, image) {
27240
+ this.imageState[imageId] = {
27241
+ status: "loaded",
27242
+ loaded: true,
27243
+ error: true
27244
+ };
27245
+ this.resolveAsyncElement(imageId);
27246
+ if (image) this.cacheNode(image);
27247
+ }
27247
27248
  };
27248
27249
 
27249
27250
  //#endregion
package/dist/types.d.ts CHANGED
@@ -4,34 +4,34 @@ import { DeepPartial, ImageCrossOrigin, MappedTypeDescription, NodeSerializable,
4
4
  import * as Y$1 from "yjs";
5
5
  import * as Y from "yjs";
6
6
  import { Doc } from "yjs";
7
- import * as konva_lib_types13 from "konva/lib/types";
8
- import * as konva_lib_types16 from "konva/lib/types";
9
- import * as konva_lib_types17 from "konva/lib/types";
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";
10
10
  import { Vector2d } from "konva/lib/types";
11
+ import * as konva_lib_Node14 from "konva/lib/Node";
12
+ import * as konva_lib_Node15 from "konva/lib/Node";
13
+ import * as konva_lib_Node16 from "konva/lib/Node";
14
+ import * as konva_lib_Node17 from "konva/lib/Node";
11
15
  import * as konva_lib_Node18 from "konva/lib/Node";
12
16
  import * as konva_lib_Node19 from "konva/lib/Node";
13
- import * as konva_lib_Node20 from "konva/lib/Node";
14
- import * as konva_lib_Node21 from "konva/lib/Node";
15
- import * as konva_lib_Node22 from "konva/lib/Node";
16
- import * as konva_lib_Node23 from "konva/lib/Node";
17
- import * as konva_lib_Node0 from "konva/lib/Node";
17
+ import * as konva_lib_Node5 from "konva/lib/Node";
18
+ import * as konva_lib_Node6 from "konva/lib/Node";
18
19
  import * as konva_lib_Node1 from "konva/lib/Node";
19
20
  import * as konva_lib_Node2 from "konva/lib/Node";
20
21
  import * as konva_lib_Node3 from "konva/lib/Node";
21
- import * as konva_lib_Node5 from "konva/lib/Node";
22
- import * as konva_lib_Node6 from "konva/lib/Node";
22
+ import * as konva_lib_Node4 from "konva/lib/Node";
23
23
  import { KonvaEventObject } from "konva/lib/Node";
24
- import * as konva_lib_Shape8 from "konva/lib/Shape";
25
24
  import * as konva_lib_Shape9 from "konva/lib/Shape";
26
- import * as konva_lib_Group10 from "konva/lib/Group";
25
+ import * as konva_lib_Shape10 from "konva/lib/Shape";
26
+ import * as konva_lib_Group11 from "konva/lib/Group";
27
27
  import * as konva_lib_Group7 from "konva/lib/Group";
28
28
  import { Stage, StageConfig } from "konva/lib/Stage";
29
- import * as konva_lib_shapes_Transformer4 from "konva/lib/shapes/Transformer";
29
+ import * as konva_lib_shapes_Transformer0 from "konva/lib/shapes/Transformer";
30
30
  import { TransformerConfig } from "konva/lib/shapes/Transformer";
31
- import * as konva_lib_shapes_Rect11 from "konva/lib/shapes/Rect";
32
- import * as konva_lib_shapes_Line14 from "konva/lib/shapes/Line";
33
- import * as konva_lib_shapes_Line15 from "konva/lib/shapes/Line";
34
- import * as konva_lib_Layer12 from "konva/lib/Layer";
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";
34
+ import * as konva_lib_Layer13 from "konva/lib/Layer";
35
35
 
36
36
  //#region src/stores/store.d.ts
37
37
  declare abstract class WeaveStore implements WeaveStoreBase {
@@ -630,7 +630,7 @@ declare class WeaveStagePanningPlugin extends WeavePlugin {
630
630
  getNodesEdgeSnappingPlugin(): WeaveNodesEdgeSnappingPlugin | undefined;
631
631
  getNodesDistanceSnappingPlugin(): WeaveNodesDistanceSnappingPlugin | undefined;
632
632
  getStageGridPlugin(): WeaveStageGridPlugin | undefined;
633
- getCurrentPointer(): konva_lib_types13.Vector2d | null;
633
+ getCurrentPointer(): konva_lib_types8.Vector2d | null;
634
634
  cleanupEdgeMoveIntervals(): void;
635
635
  enable(): void;
636
636
  disable(): void;
@@ -665,7 +665,7 @@ declare class WeaveNodesMultiSelectionFeedbackPlugin extends WeavePlugin {
665
665
  getName(): string;
666
666
  getLayerName(): string;
667
667
  initLayer(): void;
668
- getSelectedHalos(): Record<string, konva_lib_shapes_Rect11.Rect>;
668
+ getSelectedHalos(): Record<string, konva_lib_shapes_Rect12.Rect>;
669
669
  cleanupSelectedHalos(): void;
670
670
  private getNodeRectInfo;
671
671
  private getNodeInfo;
@@ -801,7 +801,7 @@ declare class WeaveNodesSelectionPlugin extends WeavePlugin {
801
801
  getHoverTransformer(): Konva.Transformer;
802
802
  handleBehaviors(): void;
803
803
  setSelectedNodes(nodes: Konva.Node[]): void;
804
- getSelectedNodes(): (konva_lib_Shape9.Shape<konva_lib_Shape8.ShapeConfig> | konva_lib_Group10.Group)[];
804
+ getSelectedNodes(): (konva_lib_Shape10.Shape<konva_lib_Shape9.ShapeConfig> | konva_lib_Group11.Group)[];
805
805
  getSelectedNodesExtended(): WeaveSelection[];
806
806
  selectAll(): void;
807
807
  selectNone(): void;
@@ -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_Node19.Node<konva_lib_Node18.NodeConfig>;
955
+ getRealSelectedNode: (nodeTarget: Konva.Node) => konva_lib_Node15.Node<konva_lib_Node14.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_Node21.Node<konva_lib_Node20.NodeConfig>[];
975
- isClone(node: Konva.Node): konva_lib_Node23.Node<konva_lib_Node22.NodeConfig> | undefined;
974
+ getClones(): konva_lib_Node17.Node<konva_lib_Node16.NodeConfig>[];
975
+ isClone(node: Konva.Node): konva_lib_Node19.Node<konva_lib_Node18.NodeConfig> | undefined;
976
976
  cleanupClones(): void;
977
977
  }
978
978
 
@@ -1229,7 +1229,7 @@ declare class Weave {
1229
1229
  getMousePointer(point?: Konva.Vector2d): WeaveMousePointInfo;
1230
1230
  getMousePointerRelativeToContainer(container: Konva.Node | Konva.Layer): WeaveMousePointInfoSimple;
1231
1231
  selectNodesByKey(nodesIds: string[]): void;
1232
- getRealSelectedNode: (nodeTarget: Konva.Node) => konva_lib_Node1.Node<konva_lib_Node0.NodeConfig>;
1232
+ getRealSelectedNode: (nodeTarget: Konva.Node) => konva_lib_Node6.Node<konva_lib_Node5.NodeConfig>;
1233
1233
  getCloningManager(): WeaveCloningManager;
1234
1234
  nodesToGroupSerialized(instancesToClone: Konva.Node[]): WeaveSerializedGroup;
1235
1235
  getFonts(): WeaveFont[];
@@ -1375,10 +1375,10 @@ declare function getSelectedNodesMetadata(transformer: Konva.Transformer): {
1375
1375
  nodes: string[];
1376
1376
  };
1377
1377
  declare function getTargetAndSkipNodes(instance: Weave, e: KonvaEventObject<any, any>, forceTransformer?: boolean): {
1378
- targetNode: konva_lib_Node3.Node<konva_lib_Node2.NodeConfig> | konva_lib_shapes_Transformer4.Transformer | undefined;
1378
+ targetNode: konva_lib_shapes_Transformer0.Transformer | konva_lib_Node2.Node<konva_lib_Node1.NodeConfig> | undefined;
1379
1379
  skipNodes: string[];
1380
1380
  };
1381
- declare function getVisibleNodesInViewport(stage: Konva.Stage, referenceLayer: Konva.Layer | Konva.Group | undefined): konva_lib_Node6.Node<konva_lib_Node5.NodeConfig>[];
1381
+ declare function getVisibleNodesInViewport(stage: Konva.Stage, referenceLayer: Konva.Layer | Konva.Group | undefined): konva_lib_Node4.Node<konva_lib_Node3.NodeConfig>[];
1382
1382
  declare function isInShadowDOM(el: DOMElement): boolean;
1383
1383
  declare function getTopmostShadowHost(el: DOMElement): ShadowRoot | null;
1384
1384
  declare function getVisibleNodes({
@@ -1945,6 +1945,8 @@ declare class WeaveImageNode extends WeaveNode {
1945
1945
  getIsAsync(): boolean;
1946
1946
  forceLoadImage(nodeInstance: WeaveElementInstance): void;
1947
1947
  onDestroy(nodeInstance: WeaveElementInstance): void;
1948
+ private loadImageTryout;
1949
+ private setErrorState;
1948
1950
  }
1949
1951
 
1950
1952
  //#endregion
@@ -2187,10 +2189,10 @@ declare class WeaveBaseLineTipManager {
2187
2189
  render(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): void;
2188
2190
  update(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): void;
2189
2191
  protected getTip(instance: Konva.Group, point: WeaveStrokeSingleNodeTipSide): Konva.Node | undefined;
2190
- protected getInternalLine(instance: Konva.Group): konva_lib_shapes_Line15.Line<konva_lib_shapes_Line14.LineConfig> | undefined;
2192
+ protected getInternalLine(instance: Konva.Group): konva_lib_shapes_Line21.Line<konva_lib_shapes_Line20.LineConfig> | undefined;
2191
2193
  protected getLinePoints(instance: Konva.Group): {
2192
- lineStartPoint: konva_lib_types16.Vector2d;
2193
- lineEndPoint: konva_lib_types17.Vector2d;
2194
+ lineStartPoint: konva_lib_types22.Vector2d;
2195
+ lineEndPoint: konva_lib_types23.Vector2d;
2194
2196
  };
2195
2197
  }
2196
2198
 
@@ -4955,7 +4957,7 @@ declare class WeaveCommentsRendererPlugin<T> extends WeavePlugin {
4955
4957
  private initCommentsLayer;
4956
4958
  deleteComments(): void;
4957
4959
  render(): void;
4958
- getCommentsLayer(): konva_lib_Layer12.Layer;
4960
+ getCommentsLayer(): konva_lib_Layer13.Layer;
4959
4961
  enable(): void;
4960
4962
  disable(): void;
4961
4963
  }