microboard-temp 0.4.36 → 0.4.37
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 +3 -3
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/node.js +3 -3
- package/dist/esm/browser.js +3 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/node.js +3 -3
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -50455,12 +50455,12 @@ class BoardSelection {
|
|
|
50455
50455
|
if (val.nested) {
|
|
50456
50456
|
const isRemoveChildFromFrame = Object.values(selectedMap).some((val2) => val2.nested && val2.nested.getId() !== parentFrameId);
|
|
50457
50457
|
if (isParentFrame && isRemoveChildFromFrame) {
|
|
50458
|
-
parentFrame
|
|
50458
|
+
parentFrame?.removeChildItems([val.item]);
|
|
50459
50459
|
}
|
|
50460
50460
|
val.nested.addChildItems([val.item]);
|
|
50461
50461
|
} else if (val.item.parent !== "Board") {
|
|
50462
50462
|
if (isParentFrame) {
|
|
50463
|
-
parentFrame
|
|
50463
|
+
parentFrame?.removeChildItems([val.item]);
|
|
50464
50464
|
} else {
|
|
50465
50465
|
console.warn(`Didnt find frame with id ${val.item.parent}`);
|
|
50466
50466
|
}
|
|
@@ -52151,7 +52151,7 @@ class SpatialIndex {
|
|
|
52151
52151
|
}
|
|
52152
52152
|
if (item.parent !== "Board") {
|
|
52153
52153
|
const parentFrame = this.items.getById(item.parent);
|
|
52154
|
-
parentFrame?.
|
|
52154
|
+
parentFrame?.removeChildItems(item);
|
|
52155
52155
|
}
|
|
52156
52156
|
if (item instanceof Frame) {
|
|
52157
52157
|
this.framesArray.splice(this.framesArray.indexOf(item), 1);
|
package/dist/cjs/index.js
CHANGED
|
@@ -50455,12 +50455,12 @@ class BoardSelection {
|
|
|
50455
50455
|
if (val.nested) {
|
|
50456
50456
|
const isRemoveChildFromFrame = Object.values(selectedMap).some((val2) => val2.nested && val2.nested.getId() !== parentFrameId);
|
|
50457
50457
|
if (isParentFrame && isRemoveChildFromFrame) {
|
|
50458
|
-
parentFrame
|
|
50458
|
+
parentFrame?.removeChildItems([val.item]);
|
|
50459
50459
|
}
|
|
50460
50460
|
val.nested.addChildItems([val.item]);
|
|
50461
50461
|
} else if (val.item.parent !== "Board") {
|
|
50462
50462
|
if (isParentFrame) {
|
|
50463
|
-
parentFrame
|
|
50463
|
+
parentFrame?.removeChildItems([val.item]);
|
|
50464
50464
|
} else {
|
|
50465
50465
|
console.warn(`Didnt find frame with id ${val.item.parent}`);
|
|
50466
50466
|
}
|
|
@@ -52151,7 +52151,7 @@ class SpatialIndex {
|
|
|
52151
52151
|
}
|
|
52152
52152
|
if (item.parent !== "Board") {
|
|
52153
52153
|
const parentFrame = this.items.getById(item.parent);
|
|
52154
|
-
parentFrame?.
|
|
52154
|
+
parentFrame?.removeChildItems(item);
|
|
52155
52155
|
}
|
|
52156
52156
|
if (item instanceof Frame) {
|
|
52157
52157
|
this.framesArray.splice(this.framesArray.indexOf(item), 1);
|
package/dist/cjs/node.js
CHANGED
|
@@ -52995,12 +52995,12 @@ class BoardSelection {
|
|
|
52995
52995
|
if (val.nested) {
|
|
52996
52996
|
const isRemoveChildFromFrame = Object.values(selectedMap).some((val2) => val2.nested && val2.nested.getId() !== parentFrameId);
|
|
52997
52997
|
if (isParentFrame && isRemoveChildFromFrame) {
|
|
52998
|
-
parentFrame
|
|
52998
|
+
parentFrame?.removeChildItems([val.item]);
|
|
52999
52999
|
}
|
|
53000
53000
|
val.nested.addChildItems([val.item]);
|
|
53001
53001
|
} else if (val.item.parent !== "Board") {
|
|
53002
53002
|
if (isParentFrame) {
|
|
53003
|
-
parentFrame
|
|
53003
|
+
parentFrame?.removeChildItems([val.item]);
|
|
53004
53004
|
} else {
|
|
53005
53005
|
console.warn(`Didnt find frame with id ${val.item.parent}`);
|
|
53006
53006
|
}
|
|
@@ -54624,7 +54624,7 @@ class SpatialIndex {
|
|
|
54624
54624
|
}
|
|
54625
54625
|
if (item.parent !== "Board") {
|
|
54626
54626
|
const parentFrame = this.items.getById(item.parent);
|
|
54627
|
-
parentFrame?.
|
|
54627
|
+
parentFrame?.removeChildItems(item);
|
|
54628
54628
|
}
|
|
54629
54629
|
if (item instanceof Frame) {
|
|
54630
54630
|
this.framesArray.splice(this.framesArray.indexOf(item), 1);
|
package/dist/esm/browser.js
CHANGED
|
@@ -50305,12 +50305,12 @@ class BoardSelection {
|
|
|
50305
50305
|
if (val.nested) {
|
|
50306
50306
|
const isRemoveChildFromFrame = Object.values(selectedMap).some((val2) => val2.nested && val2.nested.getId() !== parentFrameId);
|
|
50307
50307
|
if (isParentFrame && isRemoveChildFromFrame) {
|
|
50308
|
-
parentFrame
|
|
50308
|
+
parentFrame?.removeChildItems([val.item]);
|
|
50309
50309
|
}
|
|
50310
50310
|
val.nested.addChildItems([val.item]);
|
|
50311
50311
|
} else if (val.item.parent !== "Board") {
|
|
50312
50312
|
if (isParentFrame) {
|
|
50313
|
-
parentFrame
|
|
50313
|
+
parentFrame?.removeChildItems([val.item]);
|
|
50314
50314
|
} else {
|
|
50315
50315
|
console.warn(`Didnt find frame with id ${val.item.parent}`);
|
|
50316
50316
|
}
|
|
@@ -52001,7 +52001,7 @@ class SpatialIndex {
|
|
|
52001
52001
|
}
|
|
52002
52002
|
if (item.parent !== "Board") {
|
|
52003
52003
|
const parentFrame = this.items.getById(item.parent);
|
|
52004
|
-
parentFrame?.
|
|
52004
|
+
parentFrame?.removeChildItems(item);
|
|
52005
52005
|
}
|
|
52006
52006
|
if (item instanceof Frame) {
|
|
52007
52007
|
this.framesArray.splice(this.framesArray.indexOf(item), 1);
|
package/dist/esm/index.js
CHANGED
|
@@ -50298,12 +50298,12 @@ class BoardSelection {
|
|
|
50298
50298
|
if (val.nested) {
|
|
50299
50299
|
const isRemoveChildFromFrame = Object.values(selectedMap).some((val2) => val2.nested && val2.nested.getId() !== parentFrameId);
|
|
50300
50300
|
if (isParentFrame && isRemoveChildFromFrame) {
|
|
50301
|
-
parentFrame
|
|
50301
|
+
parentFrame?.removeChildItems([val.item]);
|
|
50302
50302
|
}
|
|
50303
50303
|
val.nested.addChildItems([val.item]);
|
|
50304
50304
|
} else if (val.item.parent !== "Board") {
|
|
50305
50305
|
if (isParentFrame) {
|
|
50306
|
-
parentFrame
|
|
50306
|
+
parentFrame?.removeChildItems([val.item]);
|
|
50307
50307
|
} else {
|
|
50308
50308
|
console.warn(`Didnt find frame with id ${val.item.parent}`);
|
|
50309
50309
|
}
|
|
@@ -51994,7 +51994,7 @@ class SpatialIndex {
|
|
|
51994
51994
|
}
|
|
51995
51995
|
if (item.parent !== "Board") {
|
|
51996
51996
|
const parentFrame = this.items.getById(item.parent);
|
|
51997
|
-
parentFrame?.
|
|
51997
|
+
parentFrame?.removeChildItems(item);
|
|
51998
51998
|
}
|
|
51999
51999
|
if (item instanceof Frame) {
|
|
52000
52000
|
this.framesArray.splice(this.framesArray.indexOf(item), 1);
|
package/dist/esm/node.js
CHANGED
|
@@ -52833,12 +52833,12 @@ class BoardSelection {
|
|
|
52833
52833
|
if (val.nested) {
|
|
52834
52834
|
const isRemoveChildFromFrame = Object.values(selectedMap).some((val2) => val2.nested && val2.nested.getId() !== parentFrameId);
|
|
52835
52835
|
if (isParentFrame && isRemoveChildFromFrame) {
|
|
52836
|
-
parentFrame
|
|
52836
|
+
parentFrame?.removeChildItems([val.item]);
|
|
52837
52837
|
}
|
|
52838
52838
|
val.nested.addChildItems([val.item]);
|
|
52839
52839
|
} else if (val.item.parent !== "Board") {
|
|
52840
52840
|
if (isParentFrame) {
|
|
52841
|
-
parentFrame
|
|
52841
|
+
parentFrame?.removeChildItems([val.item]);
|
|
52842
52842
|
} else {
|
|
52843
52843
|
console.warn(`Didnt find frame with id ${val.item.parent}`);
|
|
52844
52844
|
}
|
|
@@ -54462,7 +54462,7 @@ class SpatialIndex {
|
|
|
54462
54462
|
}
|
|
54463
54463
|
if (item.parent !== "Board") {
|
|
54464
54464
|
const parentFrame = this.items.getById(item.parent);
|
|
54465
|
-
parentFrame?.
|
|
54465
|
+
parentFrame?.removeChildItems(item);
|
|
54466
54466
|
}
|
|
54467
54467
|
if (item instanceof Frame) {
|
|
54468
54468
|
this.framesArray.splice(this.framesArray.indexOf(item), 1);
|