microboard-temp 0.13.65 → 0.13.66

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.
@@ -62005,6 +62005,15 @@ class Board {
62005
62005
  console.log(`[paste] ${itemData.itemType} ${itemId}: (${translateX},${translateY}) → (${newTx},${newTy})`);
62006
62006
  itemData.transformation.translateX = newTx;
62007
62007
  itemData.transformation.translateY = newTy;
62008
+ const d = itemData;
62009
+ if (d.text && typeof d.text === "object") {
62010
+ const textData = d.text;
62011
+ if (textData.transformation && typeof textData.transformation === "object") {
62012
+ const tt = textData.transformation;
62013
+ tt.translateX = newTx;
62014
+ tt.translateY = newTy;
62015
+ }
62016
+ }
62008
62017
  } else if (childItemIds.has(itemId)) {
62009
62018
  console.log(`[paste] SKIP child ${itemData.itemType} ${itemId}: keeping local (${translateX},${translateY})`);
62010
62019
  }
package/dist/cjs/index.js CHANGED
@@ -62005,6 +62005,15 @@ class Board {
62005
62005
  console.log(`[paste] ${itemData.itemType} ${itemId}: (${translateX},${translateY}) → (${newTx},${newTy})`);
62006
62006
  itemData.transformation.translateX = newTx;
62007
62007
  itemData.transformation.translateY = newTy;
62008
+ const d = itemData;
62009
+ if (d.text && typeof d.text === "object") {
62010
+ const textData = d.text;
62011
+ if (textData.transformation && typeof textData.transformation === "object") {
62012
+ const tt = textData.transformation;
62013
+ tt.translateX = newTx;
62014
+ tt.translateY = newTy;
62015
+ }
62016
+ }
62008
62017
  } else if (childItemIds.has(itemId)) {
62009
62018
  console.log(`[paste] SKIP child ${itemData.itemType} ${itemId}: keeping local (${translateX},${translateY})`);
62010
62019
  }
package/dist/cjs/node.js CHANGED
@@ -64480,6 +64480,15 @@ class Board {
64480
64480
  console.log(`[paste] ${itemData.itemType} ${itemId}: (${translateX},${translateY}) → (${newTx},${newTy})`);
64481
64481
  itemData.transformation.translateX = newTx;
64482
64482
  itemData.transformation.translateY = newTy;
64483
+ const d = itemData;
64484
+ if (d.text && typeof d.text === "object") {
64485
+ const textData = d.text;
64486
+ if (textData.transformation && typeof textData.transformation === "object") {
64487
+ const tt = textData.transformation;
64488
+ tt.translateX = newTx;
64489
+ tt.translateY = newTy;
64490
+ }
64491
+ }
64483
64492
  } else if (childItemIds.has(itemId)) {
64484
64493
  console.log(`[paste] SKIP child ${itemData.itemType} ${itemId}: keeping local (${translateX},${translateY})`);
64485
64494
  }
@@ -61748,6 +61748,15 @@ class Board {
61748
61748
  console.log(`[paste] ${itemData.itemType} ${itemId}: (${translateX},${translateY}) → (${newTx},${newTy})`);
61749
61749
  itemData.transformation.translateX = newTx;
61750
61750
  itemData.transformation.translateY = newTy;
61751
+ const d = itemData;
61752
+ if (d.text && typeof d.text === "object") {
61753
+ const textData = d.text;
61754
+ if (textData.transformation && typeof textData.transformation === "object") {
61755
+ const tt = textData.transformation;
61756
+ tt.translateX = newTx;
61757
+ tt.translateY = newTy;
61758
+ }
61759
+ }
61751
61760
  } else if (childItemIds.has(itemId)) {
61752
61761
  console.log(`[paste] SKIP child ${itemData.itemType} ${itemId}: keeping local (${translateX},${translateY})`);
61753
61762
  }
package/dist/esm/index.js CHANGED
@@ -61741,6 +61741,15 @@ class Board {
61741
61741
  console.log(`[paste] ${itemData.itemType} ${itemId}: (${translateX},${translateY}) → (${newTx},${newTy})`);
61742
61742
  itemData.transformation.translateX = newTx;
61743
61743
  itemData.transformation.translateY = newTy;
61744
+ const d = itemData;
61745
+ if (d.text && typeof d.text === "object") {
61746
+ const textData = d.text;
61747
+ if (textData.transformation && typeof textData.transformation === "object") {
61748
+ const tt = textData.transformation;
61749
+ tt.translateX = newTx;
61750
+ tt.translateY = newTy;
61751
+ }
61752
+ }
61744
61753
  } else if (childItemIds.has(itemId)) {
61745
61754
  console.log(`[paste] SKIP child ${itemData.itemType} ${itemId}: keeping local (${translateX},${translateY})`);
61746
61755
  }
package/dist/esm/node.js CHANGED
@@ -64205,6 +64205,15 @@ class Board {
64205
64205
  console.log(`[paste] ${itemData.itemType} ${itemId}: (${translateX},${translateY}) → (${newTx},${newTy})`);
64206
64206
  itemData.transformation.translateX = newTx;
64207
64207
  itemData.transformation.translateY = newTy;
64208
+ const d = itemData;
64209
+ if (d.text && typeof d.text === "object") {
64210
+ const textData = d.text;
64211
+ if (textData.transformation && typeof textData.transformation === "object") {
64212
+ const tt = textData.transformation;
64213
+ tt.translateX = newTx;
64214
+ tt.translateY = newTy;
64215
+ }
64216
+ }
64208
64217
  } else if (childItemIds.has(itemId)) {
64209
64218
  console.log(`[paste] SKIP child ${itemData.itemType} ${itemId}: keeping local (${translateX},${translateY})`);
64210
64219
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.13.65",
3
+ "version": "0.13.66",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",