microboard-temp 0.14.11 → 0.14.12
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
|
@@ -68534,7 +68534,7 @@ class BoardSelection {
|
|
|
68534
68534
|
this.itemsSubject.publish([]);
|
|
68535
68535
|
}
|
|
68536
68536
|
addAll() {
|
|
68537
|
-
const items = this.board.items.listAll()
|
|
68537
|
+
const items = this.board.items.listAll();
|
|
68538
68538
|
this.add(items);
|
|
68539
68539
|
this.setContext("SelectByRect");
|
|
68540
68540
|
}
|
|
@@ -68803,8 +68803,8 @@ class BoardSelection {
|
|
|
68803
68803
|
}
|
|
68804
68804
|
selectEnclosedOrCrossedBy(rect) {
|
|
68805
68805
|
this.removeAll();
|
|
68806
|
-
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom)
|
|
68807
|
-
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) =>
|
|
68806
|
+
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom);
|
|
68807
|
+
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) => item.itemType !== "Frame" || enclosedFrames.includes(item)));
|
|
68808
68808
|
if (list6.length !== 0) {
|
|
68809
68809
|
this.add(list6);
|
|
68810
68810
|
this.setContext("SelectByRect");
|
package/dist/cjs/index.js
CHANGED
|
@@ -68534,7 +68534,7 @@ class BoardSelection {
|
|
|
68534
68534
|
this.itemsSubject.publish([]);
|
|
68535
68535
|
}
|
|
68536
68536
|
addAll() {
|
|
68537
|
-
const items = this.board.items.listAll()
|
|
68537
|
+
const items = this.board.items.listAll();
|
|
68538
68538
|
this.add(items);
|
|
68539
68539
|
this.setContext("SelectByRect");
|
|
68540
68540
|
}
|
|
@@ -68803,8 +68803,8 @@ class BoardSelection {
|
|
|
68803
68803
|
}
|
|
68804
68804
|
selectEnclosedOrCrossedBy(rect) {
|
|
68805
68805
|
this.removeAll();
|
|
68806
|
-
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom)
|
|
68807
|
-
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) =>
|
|
68806
|
+
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom);
|
|
68807
|
+
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) => item.itemType !== "Frame" || enclosedFrames.includes(item)));
|
|
68808
68808
|
if (list6.length !== 0) {
|
|
68809
68809
|
this.add(list6);
|
|
68810
68810
|
this.setContext("SelectByRect");
|
package/dist/cjs/node.js
CHANGED
|
@@ -71007,7 +71007,7 @@ class BoardSelection {
|
|
|
71007
71007
|
this.itemsSubject.publish([]);
|
|
71008
71008
|
}
|
|
71009
71009
|
addAll() {
|
|
71010
|
-
const items = this.board.items.listAll()
|
|
71010
|
+
const items = this.board.items.listAll();
|
|
71011
71011
|
this.add(items);
|
|
71012
71012
|
this.setContext("SelectByRect");
|
|
71013
71013
|
}
|
|
@@ -71276,8 +71276,8 @@ class BoardSelection {
|
|
|
71276
71276
|
}
|
|
71277
71277
|
selectEnclosedOrCrossedBy(rect) {
|
|
71278
71278
|
this.removeAll();
|
|
71279
|
-
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom)
|
|
71280
|
-
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) =>
|
|
71279
|
+
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom);
|
|
71280
|
+
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) => item.itemType !== "Frame" || enclosedFrames.includes(item)));
|
|
71281
71281
|
if (list6.length !== 0) {
|
|
71282
71282
|
this.add(list6);
|
|
71283
71283
|
this.setContext("SelectByRect");
|
package/dist/esm/browser.js
CHANGED
|
@@ -68345,7 +68345,7 @@ class BoardSelection {
|
|
|
68345
68345
|
this.itemsSubject.publish([]);
|
|
68346
68346
|
}
|
|
68347
68347
|
addAll() {
|
|
68348
|
-
const items = this.board.items.listAll()
|
|
68348
|
+
const items = this.board.items.listAll();
|
|
68349
68349
|
this.add(items);
|
|
68350
68350
|
this.setContext("SelectByRect");
|
|
68351
68351
|
}
|
|
@@ -68614,8 +68614,8 @@ class BoardSelection {
|
|
|
68614
68614
|
}
|
|
68615
68615
|
selectEnclosedOrCrossedBy(rect) {
|
|
68616
68616
|
this.removeAll();
|
|
68617
|
-
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom)
|
|
68618
|
-
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) =>
|
|
68617
|
+
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom);
|
|
68618
|
+
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) => item.itemType !== "Frame" || enclosedFrames.includes(item)));
|
|
68619
68619
|
if (list6.length !== 0) {
|
|
68620
68620
|
this.add(list6);
|
|
68621
68621
|
this.setContext("SelectByRect");
|
package/dist/esm/index.js
CHANGED
|
@@ -68338,7 +68338,7 @@ class BoardSelection {
|
|
|
68338
68338
|
this.itemsSubject.publish([]);
|
|
68339
68339
|
}
|
|
68340
68340
|
addAll() {
|
|
68341
|
-
const items = this.board.items.listAll()
|
|
68341
|
+
const items = this.board.items.listAll();
|
|
68342
68342
|
this.add(items);
|
|
68343
68343
|
this.setContext("SelectByRect");
|
|
68344
68344
|
}
|
|
@@ -68607,8 +68607,8 @@ class BoardSelection {
|
|
|
68607
68607
|
}
|
|
68608
68608
|
selectEnclosedOrCrossedBy(rect) {
|
|
68609
68609
|
this.removeAll();
|
|
68610
|
-
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom)
|
|
68611
|
-
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) =>
|
|
68610
|
+
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom);
|
|
68611
|
+
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) => item.itemType !== "Frame" || enclosedFrames.includes(item)));
|
|
68612
68612
|
if (list6.length !== 0) {
|
|
68613
68613
|
this.add(list6);
|
|
68614
68614
|
this.setContext("SelectByRect");
|
package/dist/esm/node.js
CHANGED
|
@@ -70806,7 +70806,7 @@ class BoardSelection {
|
|
|
70806
70806
|
this.itemsSubject.publish([]);
|
|
70807
70807
|
}
|
|
70808
70808
|
addAll() {
|
|
70809
|
-
const items = this.board.items.listAll()
|
|
70809
|
+
const items = this.board.items.listAll();
|
|
70810
70810
|
this.add(items);
|
|
70811
70811
|
this.setContext("SelectByRect");
|
|
70812
70812
|
}
|
|
@@ -71075,8 +71075,8 @@ class BoardSelection {
|
|
|
71075
71075
|
}
|
|
71076
71076
|
selectEnclosedOrCrossedBy(rect) {
|
|
71077
71077
|
this.removeAll();
|
|
71078
|
-
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom)
|
|
71079
|
-
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) =>
|
|
71078
|
+
const enclosedFrames = this.board.items.getEnclosed(rect.left, rect.top, rect.right, rect.bottom);
|
|
71079
|
+
const list6 = this.getCanvasSelectableItems(this.board.items.getEnclosedOrCrossed(rect.left, rect.top, rect.right, rect.bottom).filter((item) => item.itemType !== "Frame" || enclosedFrames.includes(item)));
|
|
71080
71080
|
if (list6.length !== 0) {
|
|
71081
71081
|
this.add(list6);
|
|
71082
71082
|
this.setContext("SelectByRect");
|