@inweb/markup 26.3.2 → 26.4.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/markup.js CHANGED
@@ -12017,7 +12017,7 @@
12017
12017
  params = {};
12018
12018
  if (!params.points)
12019
12019
  params.points = [
12020
- { x: 50, y: 50 },
12020
+ { x: 0, y: 0 },
12021
12021
  { x: 100, y: 100 },
12022
12022
  ];
12023
12023
  const konvaPoints = [];
@@ -12124,7 +12124,7 @@
12124
12124
  if (!params)
12125
12125
  params = {};
12126
12126
  if (!params.position)
12127
- params.position = { x: 100, y: 100 };
12127
+ params.position = { x: 0, y: 0 };
12128
12128
  if (!params.text)
12129
12129
  params.text = "default";
12130
12130
  this._ref = new Konva.Text({
@@ -12230,7 +12230,7 @@
12230
12230
  if (!params)
12231
12231
  params = {};
12232
12232
  if (!params.position)
12233
- params.position = { x: 100, y: 100 };
12233
+ params.position = { x: 0, y: 0 };
12234
12234
  this._ref = new Konva.Rect({
12235
12235
  stroke: (_a = params.color) !== null && _a !== undefined ? _a : "#ff0000",
12236
12236
  strokeWidth: (_b = params.lineWidth) !== null && _b !== undefined ? _b : 4,
@@ -12342,7 +12342,7 @@
12342
12342
  if (!params)
12343
12343
  params = {};
12344
12344
  if (!params.position)
12345
- params.position = { x: 100, y: 100 };
12345
+ params.position = { x: 0, y: 0 };
12346
12346
  if (!params.radius)
12347
12347
  params.radius = { x: 25, y: 25 };
12348
12348
  this._ref = new Konva.Ellipse({
@@ -12483,7 +12483,7 @@
12483
12483
  if (!params)
12484
12484
  params = {};
12485
12485
  if (!params.start)
12486
- params.start = { x: 50, y: 50 };
12486
+ params.start = { x: 0, y: 0 };
12487
12487
  if (!params.end)
12488
12488
  params.end = { x: 100, y: 100 };
12489
12489
  this._ref = new Konva.Arrow({
@@ -12594,7 +12594,7 @@
12594
12594
  if (!params)
12595
12595
  params = {};
12596
12596
  if (!params.position)
12597
- params.position = { x: 50, y: 50 };
12597
+ params.position = { x: 0, y: 0 };
12598
12598
  if (!params.src || !params.src.startsWith(this.BASE64_HEADER_START))
12599
12599
  params.src = this.BASE64_NOT_FOUND;
12600
12600
  this._canvasImage = new Image();
@@ -12738,7 +12738,7 @@
12738
12738
  if (!params)
12739
12739
  params = {};
12740
12740
  if (!params.position)
12741
- params.position = { x: 100, y: 100 };
12741
+ params.position = { x: 0, y: 0 };
12742
12742
  const arcRadius = 16;
12743
12743
  this._ref = new Konva.Shape({
12744
12744
  x: params.position.x,