microboard-temp 0.13.68 → 0.13.69

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.
@@ -62060,7 +62060,16 @@ class Board {
62060
62060
  select: select2
62061
62061
  });
62062
62062
  const items = Object.keys(newMap).map((id) => this.items.getById(id)).filter((item) => typeof item !== "undefined");
62063
+ for (const item of items) {
62064
+ const mbr = item.getMbr();
62065
+ const pos = item.transformation.getTranslation();
62066
+ console.log(`[nest-pre] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) mbr=(${mbr.left.toFixed(0)},${mbr.top.toFixed(0)},${mbr.right.toFixed(0)},${mbr.bottom.toFixed(0)}) parent=${item.parent}`);
62067
+ }
62063
62068
  this.handleNesting(items);
62069
+ for (const item of items) {
62070
+ const pos = item.transformation.getTranslation();
62071
+ console.log(`[nest-post] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) parent=${item.parent}`);
62072
+ }
62064
62073
  this.selection.removeAll();
62065
62074
  this.selection.add(items);
62066
62075
  this.selection.setContext("EditUnderPointer");
package/dist/cjs/index.js CHANGED
@@ -62060,7 +62060,16 @@ class Board {
62060
62060
  select: select2
62061
62061
  });
62062
62062
  const items = Object.keys(newMap).map((id) => this.items.getById(id)).filter((item) => typeof item !== "undefined");
62063
+ for (const item of items) {
62064
+ const mbr = item.getMbr();
62065
+ const pos = item.transformation.getTranslation();
62066
+ console.log(`[nest-pre] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) mbr=(${mbr.left.toFixed(0)},${mbr.top.toFixed(0)},${mbr.right.toFixed(0)},${mbr.bottom.toFixed(0)}) parent=${item.parent}`);
62067
+ }
62063
62068
  this.handleNesting(items);
62069
+ for (const item of items) {
62070
+ const pos = item.transformation.getTranslation();
62071
+ console.log(`[nest-post] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) parent=${item.parent}`);
62072
+ }
62064
62073
  this.selection.removeAll();
62065
62074
  this.selection.add(items);
62066
62075
  this.selection.setContext("EditUnderPointer");
package/dist/cjs/node.js CHANGED
@@ -64535,7 +64535,16 @@ class Board {
64535
64535
  select: select2
64536
64536
  });
64537
64537
  const items = Object.keys(newMap).map((id) => this.items.getById(id)).filter((item) => typeof item !== "undefined");
64538
+ for (const item of items) {
64539
+ const mbr = item.getMbr();
64540
+ const pos = item.transformation.getTranslation();
64541
+ console.log(`[nest-pre] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) mbr=(${mbr.left.toFixed(0)},${mbr.top.toFixed(0)},${mbr.right.toFixed(0)},${mbr.bottom.toFixed(0)}) parent=${item.parent}`);
64542
+ }
64538
64543
  this.handleNesting(items);
64544
+ for (const item of items) {
64545
+ const pos = item.transformation.getTranslation();
64546
+ console.log(`[nest-post] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) parent=${item.parent}`);
64547
+ }
64539
64548
  this.selection.removeAll();
64540
64549
  this.selection.add(items);
64541
64550
  this.selection.setContext("EditUnderPointer");
@@ -61803,7 +61803,16 @@ class Board {
61803
61803
  select: select2
61804
61804
  });
61805
61805
  const items = Object.keys(newMap).map((id) => this.items.getById(id)).filter((item) => typeof item !== "undefined");
61806
+ for (const item of items) {
61807
+ const mbr = item.getMbr();
61808
+ const pos = item.transformation.getTranslation();
61809
+ console.log(`[nest-pre] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) mbr=(${mbr.left.toFixed(0)},${mbr.top.toFixed(0)},${mbr.right.toFixed(0)},${mbr.bottom.toFixed(0)}) parent=${item.parent}`);
61810
+ }
61806
61811
  this.handleNesting(items);
61812
+ for (const item of items) {
61813
+ const pos = item.transformation.getTranslation();
61814
+ console.log(`[nest-post] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) parent=${item.parent}`);
61815
+ }
61807
61816
  this.selection.removeAll();
61808
61817
  this.selection.add(items);
61809
61818
  this.selection.setContext("EditUnderPointer");
package/dist/esm/index.js CHANGED
@@ -61796,7 +61796,16 @@ class Board {
61796
61796
  select: select2
61797
61797
  });
61798
61798
  const items = Object.keys(newMap).map((id) => this.items.getById(id)).filter((item) => typeof item !== "undefined");
61799
+ for (const item of items) {
61800
+ const mbr = item.getMbr();
61801
+ const pos = item.transformation.getTranslation();
61802
+ console.log(`[nest-pre] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) mbr=(${mbr.left.toFixed(0)},${mbr.top.toFixed(0)},${mbr.right.toFixed(0)},${mbr.bottom.toFixed(0)}) parent=${item.parent}`);
61803
+ }
61799
61804
  this.handleNesting(items);
61805
+ for (const item of items) {
61806
+ const pos = item.transformation.getTranslation();
61807
+ console.log(`[nest-post] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) parent=${item.parent}`);
61808
+ }
61800
61809
  this.selection.removeAll();
61801
61810
  this.selection.add(items);
61802
61811
  this.selection.setContext("EditUnderPointer");
package/dist/esm/node.js CHANGED
@@ -64260,7 +64260,16 @@ class Board {
64260
64260
  select: select2
64261
64261
  });
64262
64262
  const items = Object.keys(newMap).map((id) => this.items.getById(id)).filter((item) => typeof item !== "undefined");
64263
+ for (const item of items) {
64264
+ const mbr = item.getMbr();
64265
+ const pos = item.transformation.getTranslation();
64266
+ console.log(`[nest-pre] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) mbr=(${mbr.left.toFixed(0)},${mbr.top.toFixed(0)},${mbr.right.toFixed(0)},${mbr.bottom.toFixed(0)}) parent=${item.parent}`);
64267
+ }
64263
64268
  this.handleNesting(items);
64269
+ for (const item of items) {
64270
+ const pos = item.transformation.getTranslation();
64271
+ console.log(`[nest-post] ${item.itemType} ${item.getId()}: pos=(${pos.x.toFixed(0)},${pos.y.toFixed(0)}) parent=${item.parent}`);
64272
+ }
64264
64273
  this.selection.removeAll();
64265
64274
  this.selection.add(items);
64266
64275
  this.selection.setContext("EditUnderPointer");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.13.68",
3
+ "version": "0.13.69",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",