microboard-temp 0.13.91 → 0.13.92

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.
@@ -74868,6 +74868,15 @@ class BoardSelection {
74868
74868
  }
74869
74869
  });
74870
74870
  });
74871
+ selected.forEach((item) => {
74872
+ const entry = selectedMap[item.getId()];
74873
+ if (!entry.nested && item.parent !== "Board") {
74874
+ const currentParent = this.board.items.getById(item.parent);
74875
+ if (currentParent?.index && currentParent.handleNesting(item)) {
74876
+ entry.nested = currentParent;
74877
+ }
74878
+ }
74879
+ });
74871
74880
  Object.values(selectedMap).forEach((val) => {
74872
74881
  const parentGroup = this.board.items.getById(val.item.parent);
74873
74882
  const parentGroupId = parentGroup?.getId();
package/dist/cjs/index.js CHANGED
@@ -74868,6 +74868,15 @@ class BoardSelection {
74868
74868
  }
74869
74869
  });
74870
74870
  });
74871
+ selected.forEach((item) => {
74872
+ const entry = selectedMap[item.getId()];
74873
+ if (!entry.nested && item.parent !== "Board") {
74874
+ const currentParent = this.board.items.getById(item.parent);
74875
+ if (currentParent?.index && currentParent.handleNesting(item)) {
74876
+ entry.nested = currentParent;
74877
+ }
74878
+ }
74879
+ });
74871
74880
  Object.values(selectedMap).forEach((val) => {
74872
74881
  const parentGroup = this.board.items.getById(val.item.parent);
74873
74882
  const parentGroupId = parentGroup?.getId();
package/dist/cjs/node.js CHANGED
@@ -77343,6 +77343,15 @@ class BoardSelection {
77343
77343
  }
77344
77344
  });
77345
77345
  });
77346
+ selected.forEach((item) => {
77347
+ const entry = selectedMap[item.getId()];
77348
+ if (!entry.nested && item.parent !== "Board") {
77349
+ const currentParent = this.board.items.getById(item.parent);
77350
+ if (currentParent?.index && currentParent.handleNesting(item)) {
77351
+ entry.nested = currentParent;
77352
+ }
77353
+ }
77354
+ });
77346
77355
  Object.values(selectedMap).forEach((val) => {
77347
77356
  const parentGroup = this.board.items.getById(val.item.parent);
77348
77357
  const parentGroupId = parentGroup?.getId();
@@ -74612,6 +74612,15 @@ class BoardSelection {
74612
74612
  }
74613
74613
  });
74614
74614
  });
74615
+ selected.forEach((item) => {
74616
+ const entry = selectedMap[item.getId()];
74617
+ if (!entry.nested && item.parent !== "Board") {
74618
+ const currentParent = this.board.items.getById(item.parent);
74619
+ if (currentParent?.index && currentParent.handleNesting(item)) {
74620
+ entry.nested = currentParent;
74621
+ }
74622
+ }
74623
+ });
74615
74624
  Object.values(selectedMap).forEach((val) => {
74616
74625
  const parentGroup = this.board.items.getById(val.item.parent);
74617
74626
  const parentGroupId = parentGroup?.getId();
package/dist/esm/index.js CHANGED
@@ -74605,6 +74605,15 @@ class BoardSelection {
74605
74605
  }
74606
74606
  });
74607
74607
  });
74608
+ selected.forEach((item) => {
74609
+ const entry = selectedMap[item.getId()];
74610
+ if (!entry.nested && item.parent !== "Board") {
74611
+ const currentParent = this.board.items.getById(item.parent);
74612
+ if (currentParent?.index && currentParent.handleNesting(item)) {
74613
+ entry.nested = currentParent;
74614
+ }
74615
+ }
74616
+ });
74608
74617
  Object.values(selectedMap).forEach((val) => {
74609
74618
  const parentGroup = this.board.items.getById(val.item.parent);
74610
74619
  const parentGroupId = parentGroup?.getId();
package/dist/esm/node.js CHANGED
@@ -77069,6 +77069,15 @@ class BoardSelection {
77069
77069
  }
77070
77070
  });
77071
77071
  });
77072
+ selected.forEach((item) => {
77073
+ const entry = selectedMap[item.getId()];
77074
+ if (!entry.nested && item.parent !== "Board") {
77075
+ const currentParent = this.board.items.getById(item.parent);
77076
+ if (currentParent?.index && currentParent.handleNesting(item)) {
77077
+ entry.nested = currentParent;
77078
+ }
77079
+ }
77080
+ });
77072
77081
  Object.values(selectedMap).forEach((val) => {
77073
77082
  const parentGroup = this.board.items.getById(val.item.parent);
77074
77083
  const parentGroupId = parentGroup?.getId();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-temp",
3
- "version": "0.13.91",
3
+ "version": "0.13.92",
4
4
  "description": "A flexible interactive whiteboard library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",