microboard-temp 0.4.46 → 0.4.47
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 +5 -2
- package/dist/cjs/index.js +5 -2
- package/dist/cjs/node.js +5 -2
- package/dist/esm/browser.js +5 -2
- package/dist/esm/index.js +5 -2
- package/dist/esm/node.js +5 -2
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -46498,8 +46498,11 @@ class Select extends Tool {
|
|
|
46498
46498
|
this.board.selection.add(underPointer);
|
|
46499
46499
|
if ("index" in underPointer && underPointer.index) {
|
|
46500
46500
|
const { left, right, top, bottom } = underPointer.getMbr();
|
|
46501
|
-
const
|
|
46502
|
-
|
|
46501
|
+
const childrenIds = underPointer.getChildrenIds();
|
|
46502
|
+
if (childrenIds) {
|
|
46503
|
+
const itemsInFrame = this.board.items.getEnclosedOrCrossed(left, top, right, bottom).filter((item) => childrenIds.includes(item.getId()));
|
|
46504
|
+
this.board.selection.add(itemsInFrame);
|
|
46505
|
+
}
|
|
46503
46506
|
}
|
|
46504
46507
|
this.board.selection.setContext("EditUnderPointer");
|
|
46505
46508
|
} else {
|
package/dist/cjs/index.js
CHANGED
|
@@ -46498,8 +46498,11 @@ class Select extends Tool {
|
|
|
46498
46498
|
this.board.selection.add(underPointer);
|
|
46499
46499
|
if ("index" in underPointer && underPointer.index) {
|
|
46500
46500
|
const { left, right, top, bottom } = underPointer.getMbr();
|
|
46501
|
-
const
|
|
46502
|
-
|
|
46501
|
+
const childrenIds = underPointer.getChildrenIds();
|
|
46502
|
+
if (childrenIds) {
|
|
46503
|
+
const itemsInFrame = this.board.items.getEnclosedOrCrossed(left, top, right, bottom).filter((item) => childrenIds.includes(item.getId()));
|
|
46504
|
+
this.board.selection.add(itemsInFrame);
|
|
46505
|
+
}
|
|
46503
46506
|
}
|
|
46504
46507
|
this.board.selection.setContext("EditUnderPointer");
|
|
46505
46508
|
} else {
|
package/dist/cjs/node.js
CHANGED
|
@@ -48971,8 +48971,11 @@ class Select extends Tool {
|
|
|
48971
48971
|
this.board.selection.add(underPointer);
|
|
48972
48972
|
if ("index" in underPointer && underPointer.index) {
|
|
48973
48973
|
const { left, right, top, bottom } = underPointer.getMbr();
|
|
48974
|
-
const
|
|
48975
|
-
|
|
48974
|
+
const childrenIds = underPointer.getChildrenIds();
|
|
48975
|
+
if (childrenIds) {
|
|
48976
|
+
const itemsInFrame = this.board.items.getEnclosedOrCrossed(left, top, right, bottom).filter((item) => childrenIds.includes(item.getId()));
|
|
48977
|
+
this.board.selection.add(itemsInFrame);
|
|
48978
|
+
}
|
|
48976
48979
|
}
|
|
48977
48980
|
this.board.selection.setContext("EditUnderPointer");
|
|
48978
48981
|
} else {
|
package/dist/esm/browser.js
CHANGED
|
@@ -46348,8 +46348,11 @@ class Select extends Tool {
|
|
|
46348
46348
|
this.board.selection.add(underPointer);
|
|
46349
46349
|
if ("index" in underPointer && underPointer.index) {
|
|
46350
46350
|
const { left, right, top, bottom } = underPointer.getMbr();
|
|
46351
|
-
const
|
|
46352
|
-
|
|
46351
|
+
const childrenIds = underPointer.getChildrenIds();
|
|
46352
|
+
if (childrenIds) {
|
|
46353
|
+
const itemsInFrame = this.board.items.getEnclosedOrCrossed(left, top, right, bottom).filter((item) => childrenIds.includes(item.getId()));
|
|
46354
|
+
this.board.selection.add(itemsInFrame);
|
|
46355
|
+
}
|
|
46353
46356
|
}
|
|
46354
46357
|
this.board.selection.setContext("EditUnderPointer");
|
|
46355
46358
|
} else {
|
package/dist/esm/index.js
CHANGED
|
@@ -46341,8 +46341,11 @@ class Select extends Tool {
|
|
|
46341
46341
|
this.board.selection.add(underPointer);
|
|
46342
46342
|
if ("index" in underPointer && underPointer.index) {
|
|
46343
46343
|
const { left, right, top, bottom } = underPointer.getMbr();
|
|
46344
|
-
const
|
|
46345
|
-
|
|
46344
|
+
const childrenIds = underPointer.getChildrenIds();
|
|
46345
|
+
if (childrenIds) {
|
|
46346
|
+
const itemsInFrame = this.board.items.getEnclosedOrCrossed(left, top, right, bottom).filter((item) => childrenIds.includes(item.getId()));
|
|
46347
|
+
this.board.selection.add(itemsInFrame);
|
|
46348
|
+
}
|
|
46346
46349
|
}
|
|
46347
46350
|
this.board.selection.setContext("EditUnderPointer");
|
|
46348
46351
|
} else {
|
package/dist/esm/node.js
CHANGED
|
@@ -48809,8 +48809,11 @@ class Select extends Tool {
|
|
|
48809
48809
|
this.board.selection.add(underPointer);
|
|
48810
48810
|
if ("index" in underPointer && underPointer.index) {
|
|
48811
48811
|
const { left, right, top, bottom } = underPointer.getMbr();
|
|
48812
|
-
const
|
|
48813
|
-
|
|
48812
|
+
const childrenIds = underPointer.getChildrenIds();
|
|
48813
|
+
if (childrenIds) {
|
|
48814
|
+
const itemsInFrame = this.board.items.getEnclosedOrCrossed(left, top, right, bottom).filter((item) => childrenIds.includes(item.getId()));
|
|
48815
|
+
this.board.selection.add(itemsInFrame);
|
|
48816
|
+
}
|
|
48814
48817
|
}
|
|
48815
48818
|
this.board.selection.setContext("EditUnderPointer");
|
|
48816
48819
|
} else {
|