microboard-temp 0.4.75 → 0.4.77
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 -4
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/node.js +4 -4
- package/dist/esm/browser.js +4 -4
- package/dist/esm/index.js +4 -4
- package/dist/esm/node.js +4 -4
- package/package.json +1 -1
package/dist/cjs/browser.js
CHANGED
|
@@ -21433,7 +21433,7 @@ class SimpleSpatialIndex {
|
|
|
21433
21433
|
return items;
|
|
21434
21434
|
}
|
|
21435
21435
|
getMbr() {
|
|
21436
|
-
return this.
|
|
21436
|
+
return this.Mbr;
|
|
21437
21437
|
}
|
|
21438
21438
|
list() {
|
|
21439
21439
|
return this.itemsArray.concat();
|
|
@@ -48034,11 +48034,11 @@ class Deck extends BaseItem {
|
|
|
48034
48034
|
}
|
|
48035
48035
|
updateMbr() {
|
|
48036
48036
|
const { translateX, translateY } = this.transformation.matrix;
|
|
48037
|
-
const
|
|
48037
|
+
const indexMbr = this.index.getMbr();
|
|
48038
48038
|
this.left = translateX;
|
|
48039
48039
|
this.top = translateY;
|
|
48040
|
-
this.right =
|
|
48041
|
-
this.bottom =
|
|
48040
|
+
this.right = translateX + indexMbr.getWidth();
|
|
48041
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
48042
48042
|
}
|
|
48043
48043
|
deserialize(data) {
|
|
48044
48044
|
super.deserialize(data);
|
package/dist/cjs/index.js
CHANGED
|
@@ -21433,7 +21433,7 @@ class SimpleSpatialIndex {
|
|
|
21433
21433
|
return items;
|
|
21434
21434
|
}
|
|
21435
21435
|
getMbr() {
|
|
21436
|
-
return this.
|
|
21436
|
+
return this.Mbr;
|
|
21437
21437
|
}
|
|
21438
21438
|
list() {
|
|
21439
21439
|
return this.itemsArray.concat();
|
|
@@ -48034,11 +48034,11 @@ class Deck extends BaseItem {
|
|
|
48034
48034
|
}
|
|
48035
48035
|
updateMbr() {
|
|
48036
48036
|
const { translateX, translateY } = this.transformation.matrix;
|
|
48037
|
-
const
|
|
48037
|
+
const indexMbr = this.index.getMbr();
|
|
48038
48038
|
this.left = translateX;
|
|
48039
48039
|
this.top = translateY;
|
|
48040
|
-
this.right =
|
|
48041
|
-
this.bottom =
|
|
48040
|
+
this.right = translateX + indexMbr.getWidth();
|
|
48041
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
48042
48042
|
}
|
|
48043
48043
|
deserialize(data) {
|
|
48044
48044
|
super.deserialize(data);
|
package/dist/cjs/node.js
CHANGED
|
@@ -23905,7 +23905,7 @@ class SimpleSpatialIndex {
|
|
|
23905
23905
|
return items;
|
|
23906
23906
|
}
|
|
23907
23907
|
getMbr() {
|
|
23908
|
-
return this.
|
|
23908
|
+
return this.Mbr;
|
|
23909
23909
|
}
|
|
23910
23910
|
list() {
|
|
23911
23911
|
return this.itemsArray.concat();
|
|
@@ -50507,11 +50507,11 @@ class Deck extends BaseItem {
|
|
|
50507
50507
|
}
|
|
50508
50508
|
updateMbr() {
|
|
50509
50509
|
const { translateX, translateY } = this.transformation.matrix;
|
|
50510
|
-
const
|
|
50510
|
+
const indexMbr = this.index.getMbr();
|
|
50511
50511
|
this.left = translateX;
|
|
50512
50512
|
this.top = translateY;
|
|
50513
|
-
this.right =
|
|
50514
|
-
this.bottom =
|
|
50513
|
+
this.right = translateX + indexMbr.getWidth();
|
|
50514
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
50515
50515
|
}
|
|
50516
50516
|
deserialize(data) {
|
|
50517
50517
|
super.deserialize(data);
|
package/dist/esm/browser.js
CHANGED
|
@@ -21282,7 +21282,7 @@ class SimpleSpatialIndex {
|
|
|
21282
21282
|
return items;
|
|
21283
21283
|
}
|
|
21284
21284
|
getMbr() {
|
|
21285
|
-
return this.
|
|
21285
|
+
return this.Mbr;
|
|
21286
21286
|
}
|
|
21287
21287
|
list() {
|
|
21288
21288
|
return this.itemsArray.concat();
|
|
@@ -47883,11 +47883,11 @@ class Deck extends BaseItem {
|
|
|
47883
47883
|
}
|
|
47884
47884
|
updateMbr() {
|
|
47885
47885
|
const { translateX, translateY } = this.transformation.matrix;
|
|
47886
|
-
const
|
|
47886
|
+
const indexMbr = this.index.getMbr();
|
|
47887
47887
|
this.left = translateX;
|
|
47888
47888
|
this.top = translateY;
|
|
47889
|
-
this.right =
|
|
47890
|
-
this.bottom =
|
|
47889
|
+
this.right = translateX + indexMbr.getWidth();
|
|
47890
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
47891
47891
|
}
|
|
47892
47892
|
deserialize(data) {
|
|
47893
47893
|
super.deserialize(data);
|
package/dist/esm/index.js
CHANGED
|
@@ -21275,7 +21275,7 @@ class SimpleSpatialIndex {
|
|
|
21275
21275
|
return items;
|
|
21276
21276
|
}
|
|
21277
21277
|
getMbr() {
|
|
21278
|
-
return this.
|
|
21278
|
+
return this.Mbr;
|
|
21279
21279
|
}
|
|
21280
21280
|
list() {
|
|
21281
21281
|
return this.itemsArray.concat();
|
|
@@ -47876,11 +47876,11 @@ class Deck extends BaseItem {
|
|
|
47876
47876
|
}
|
|
47877
47877
|
updateMbr() {
|
|
47878
47878
|
const { translateX, translateY } = this.transformation.matrix;
|
|
47879
|
-
const
|
|
47879
|
+
const indexMbr = this.index.getMbr();
|
|
47880
47880
|
this.left = translateX;
|
|
47881
47881
|
this.top = translateY;
|
|
47882
|
-
this.right =
|
|
47883
|
-
this.bottom =
|
|
47882
|
+
this.right = translateX + indexMbr.getWidth();
|
|
47883
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
47884
47884
|
}
|
|
47885
47885
|
deserialize(data) {
|
|
47886
47886
|
super.deserialize(data);
|
package/dist/esm/node.js
CHANGED
|
@@ -23742,7 +23742,7 @@ class SimpleSpatialIndex {
|
|
|
23742
23742
|
return items;
|
|
23743
23743
|
}
|
|
23744
23744
|
getMbr() {
|
|
23745
|
-
return this.
|
|
23745
|
+
return this.Mbr;
|
|
23746
23746
|
}
|
|
23747
23747
|
list() {
|
|
23748
23748
|
return this.itemsArray.concat();
|
|
@@ -50344,11 +50344,11 @@ class Deck extends BaseItem {
|
|
|
50344
50344
|
}
|
|
50345
50345
|
updateMbr() {
|
|
50346
50346
|
const { translateX, translateY } = this.transformation.matrix;
|
|
50347
|
-
const
|
|
50347
|
+
const indexMbr = this.index.getMbr();
|
|
50348
50348
|
this.left = translateX;
|
|
50349
50349
|
this.top = translateY;
|
|
50350
|
-
this.right =
|
|
50351
|
-
this.bottom =
|
|
50350
|
+
this.right = translateX + indexMbr.getWidth();
|
|
50351
|
+
this.bottom = translateY + indexMbr.getHeight();
|
|
50352
50352
|
}
|
|
50353
50353
|
deserialize(data) {
|
|
50354
50354
|
super.deserialize(data);
|