microboard-temp 0.4.81 → 0.4.82
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/cjs/browser.js +4 -0
- package/dist/cjs/index.js +4 -0
- package/dist/cjs/node.js +4 -0
- package/dist/esm/browser.js +4 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/node.js +4 -0
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -20792,6 +20792,10 @@ class SpatialIndex {
|
|
|
20792
20792
|
if ("index" in item && item.index) {
|
|
20793
20793
|
item.removeChildItems(item.index.list());
|
|
20794
20794
|
}
|
|
20795
|
+
if (item.parent !== "Board") {
|
|
20796
|
+
const parentFrame = this.items.getById(item.parent);
|
|
20797
|
+
parentFrame?.removeChildItems(item);
|
|
20798
|
+
}
|
|
20795
20799
|
this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
|
|
20796
20800
|
this.itemsIndex.remove(item);
|
|
20797
20801
|
this.Mbr = new Mbr;
|
package/dist/cjs/index.js
CHANGED
|
@@ -20792,6 +20792,10 @@ class SpatialIndex {
|
|
|
20792
20792
|
if ("index" in item && item.index) {
|
|
20793
20793
|
item.removeChildItems(item.index.list());
|
|
20794
20794
|
}
|
|
20795
|
+
if (item.parent !== "Board") {
|
|
20796
|
+
const parentFrame = this.items.getById(item.parent);
|
|
20797
|
+
parentFrame?.removeChildItems(item);
|
|
20798
|
+
}
|
|
20795
20799
|
this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
|
|
20796
20800
|
this.itemsIndex.remove(item);
|
|
20797
20801
|
this.Mbr = new Mbr;
|
package/dist/cjs/node.js
CHANGED
|
@@ -23264,6 +23264,10 @@ class SpatialIndex {
|
|
|
23264
23264
|
if ("index" in item && item.index) {
|
|
23265
23265
|
item.removeChildItems(item.index.list());
|
|
23266
23266
|
}
|
|
23267
|
+
if (item.parent !== "Board") {
|
|
23268
|
+
const parentFrame = this.items.getById(item.parent);
|
|
23269
|
+
parentFrame?.removeChildItems(item);
|
|
23270
|
+
}
|
|
23267
23271
|
this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
|
|
23268
23272
|
this.itemsIndex.remove(item);
|
|
23269
23273
|
this.Mbr = new Mbr;
|
package/dist/esm/browser.js
CHANGED
|
@@ -20641,6 +20641,10 @@ class SpatialIndex {
|
|
|
20641
20641
|
if ("index" in item && item.index) {
|
|
20642
20642
|
item.removeChildItems(item.index.list());
|
|
20643
20643
|
}
|
|
20644
|
+
if (item.parent !== "Board") {
|
|
20645
|
+
const parentFrame = this.items.getById(item.parent);
|
|
20646
|
+
parentFrame?.removeChildItems(item);
|
|
20647
|
+
}
|
|
20644
20648
|
this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
|
|
20645
20649
|
this.itemsIndex.remove(item);
|
|
20646
20650
|
this.Mbr = new Mbr;
|
package/dist/esm/index.js
CHANGED
|
@@ -20634,6 +20634,10 @@ class SpatialIndex {
|
|
|
20634
20634
|
if ("index" in item && item.index) {
|
|
20635
20635
|
item.removeChildItems(item.index.list());
|
|
20636
20636
|
}
|
|
20637
|
+
if (item.parent !== "Board") {
|
|
20638
|
+
const parentFrame = this.items.getById(item.parent);
|
|
20639
|
+
parentFrame?.removeChildItems(item);
|
|
20640
|
+
}
|
|
20637
20641
|
this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
|
|
20638
20642
|
this.itemsIndex.remove(item);
|
|
20639
20643
|
this.Mbr = new Mbr;
|
package/dist/esm/node.js
CHANGED
|
@@ -23101,6 +23101,10 @@ class SpatialIndex {
|
|
|
23101
23101
|
if ("index" in item && item.index) {
|
|
23102
23102
|
item.removeChildItems(item.index.list());
|
|
23103
23103
|
}
|
|
23104
|
+
if (item.parent !== "Board") {
|
|
23105
|
+
const parentFrame = this.items.getById(item.parent);
|
|
23106
|
+
parentFrame?.removeChildItems(item);
|
|
23107
|
+
}
|
|
23104
23108
|
this.itemsArray.splice(this.itemsArray.indexOf(item), 1);
|
|
23105
23109
|
this.itemsIndex.remove(item);
|
|
23106
23110
|
this.Mbr = new Mbr;
|