@vitessce/gl 3.5.10 → 3.5.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/{deflate-b17d64b1.js → deflate-42c41f45.js} +1 -1
- package/dist/{index-e113c88f.js → index-e9a35e78.js} +16 -12
- package/dist/index.js +2 -2
- package/dist/{jpeg-a43f1407.js → jpeg-31708f4f.js} +1 -1
- package/dist/{lerc-d05b8280.js → lerc-6c75cc96.js} +1 -1
- package/dist/{lzw-cae4aaf9.js → lzw-793cc915.js} +1 -1
- package/dist/{packbits-965c5d70.js → packbits-2aeb17ec.js} +1 -1
- package/dist/{raw-3c07a927.js → raw-603c0fb6.js} +1 -1
- package/dist/{webimage-36b3a167.js → webimage-64e48b0b.js} +1 -1
- package/dist-tsc/SelectionLayer.d.ts.map +1 -1
- package/dist-tsc/SelectionLayer.js +9 -5
- package/package.json +3 -3
- package/src/SelectionLayer.js +9 -8
|
@@ -108409,11 +108409,15 @@ class SelectionLayer extends CompositeLayer {
|
|
|
108409
108409
|
if (!nodePolygonContainsSelectedPolygon && !nodePolygonWithinSelectedPolygon && !nodePolygonOverlapsSelectedPolgyon) {
|
|
108410
108410
|
return true;
|
|
108411
108411
|
}
|
|
108412
|
-
if (node.data
|
|
108413
|
-
|
|
108414
|
-
|
|
108415
|
-
|
|
108416
|
-
|
|
108412
|
+
if (node.data) {
|
|
108413
|
+
let current = node;
|
|
108414
|
+
while (current) {
|
|
108415
|
+
const pointCoords = [].slice.call(getObsCoords(current.data));
|
|
108416
|
+
if (booleanPointInPolygon$1(point$1(pointCoords), selectedPolygon)) {
|
|
108417
|
+
pickingInfos.push(current.data);
|
|
108418
|
+
}
|
|
108419
|
+
current = current.next;
|
|
108420
|
+
}
|
|
108417
108421
|
}
|
|
108418
108422
|
return false;
|
|
108419
108423
|
});
|
|
@@ -110388,16 +110392,16 @@ async function getDecoder(fileDirectory) {
|
|
|
110388
110392
|
const Decoder = await importFn();
|
|
110389
110393
|
return new Decoder(fileDirectory);
|
|
110390
110394
|
}
|
|
110391
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
110392
|
-
addDecoder(5, () => import("./lzw-
|
|
110395
|
+
addDecoder([void 0, 1], () => import("./raw-603c0fb6.js").then((m) => m.default));
|
|
110396
|
+
addDecoder(5, () => import("./lzw-793cc915.js").then((m) => m.default));
|
|
110393
110397
|
addDecoder(6, () => {
|
|
110394
110398
|
throw new Error("old style JPEG compression is not supported.");
|
|
110395
110399
|
});
|
|
110396
|
-
addDecoder(7, () => import("./jpeg-
|
|
110397
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
110398
|
-
addDecoder(32773, () => import("./packbits-
|
|
110399
|
-
addDecoder(34887, () => import("./lerc-
|
|
110400
|
-
addDecoder(50001, () => import("./webimage-
|
|
110400
|
+
addDecoder(7, () => import("./jpeg-31708f4f.js").then((m) => m.default));
|
|
110401
|
+
addDecoder([8, 32946], () => import("./deflate-42c41f45.js").then((m) => m.default));
|
|
110402
|
+
addDecoder(32773, () => import("./packbits-2aeb17ec.js").then((m) => m.default));
|
|
110403
|
+
addDecoder(34887, () => import("./lerc-6c75cc96.js").then((m) => m.default));
|
|
110404
|
+
addDecoder(50001, () => import("./webimage-64e48b0b.js").then((m) => m.default));
|
|
110401
110405
|
function copyNewSize(array, width, height, samplesPerPixel = 1) {
|
|
110402
110406
|
return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
|
|
110403
110407
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as distEs6 } from "./index-
|
|
2
|
-
import { p, o, A, s, r, q, i, j, l, C, m, D, G, e, H, c, M, k, n, d, P, S, h, T, u, b, t, w, v } from "./index-
|
|
1
|
+
import { f as distEs6 } from "./index-e9a35e78.js";
|
|
2
|
+
import { p, o, A, s, r, q, i, j, l, C, m, D, G, e, H, c, M, k, n, d, P, S, h, T, u, b, t, w, v } from "./index-e9a35e78.js";
|
|
3
3
|
import "react";
|
|
4
4
|
const SELECTION_TYPE = distEs6.SELECTION_TYPE;
|
|
5
5
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-e9a35e78.js";
|
|
3
3
|
import "react";
|
|
4
4
|
var LercDecode = { exports: {} };
|
|
5
5
|
(function(module) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectionLayer.d.ts","sourceRoot":"","sources":["../src/SelectionLayer.js"],"names":[],"mappings":"AAqEA;IACE,
|
|
1
|
+
{"version":3,"file":"SelectionLayer.d.ts","sourceRoot":"","sources":["../src/SelectionLayer.js"],"names":[],"mappings":"AAqEA;IACE,8CAsEC;IAED,qBAMC;IAED,uCAmDC;CACF;;;;;;qCA9LoC,mBAAmB;;;IAmB5C,0BAAQ"}
|
|
@@ -95,11 +95,15 @@ export default class SelectionLayer extends CompositeLayer {
|
|
|
95
95
|
// This node made it past the above return statement, so it must either
|
|
96
96
|
// contain, be within, or overlap with the selected polygon.
|
|
97
97
|
// Check if this is a leaf node.
|
|
98
|
-
if (node.data
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
98
|
+
if (node.data) {
|
|
99
|
+
let current = node;
|
|
100
|
+
while (current) {
|
|
101
|
+
const pointCoords = [].slice.call(getObsCoords(current.data));
|
|
102
|
+
if (booleanPointInPolygon(turfPoint(pointCoords), selectedPolygon)) {
|
|
103
|
+
pickingInfos.push(current.data);
|
|
104
|
+
}
|
|
105
|
+
current = current.next;
|
|
106
|
+
}
|
|
103
107
|
}
|
|
104
108
|
// Return false because we are not done.
|
|
105
109
|
// We want to visit the children of this node.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/gl",
|
|
3
|
-
"version": "3.5.
|
|
3
|
+
"version": "3.5.12",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"math.gl": "^3.5.6",
|
|
57
57
|
"mathjs": "^9.2.0",
|
|
58
58
|
"nebula.gl": "0.23.8",
|
|
59
|
-
"@vitessce/utils": "3.5.
|
|
60
|
-
"@vitessce/globals": "3.5.
|
|
59
|
+
"@vitessce/utils": "3.5.12",
|
|
60
|
+
"@vitessce/globals": "3.5.12"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"glsl-colormap": "^1.0.1"
|
package/src/SelectionLayer.js
CHANGED
|
@@ -120,14 +120,15 @@ export default class SelectionLayer extends CompositeLayer {
|
|
|
120
120
|
// contain, be within, or overlap with the selected polygon.
|
|
121
121
|
|
|
122
122
|
// Check if this is a leaf node.
|
|
123
|
-
if (node.data
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
123
|
+
if (node.data) {
|
|
124
|
+
let current = node;
|
|
125
|
+
while (current) {
|
|
126
|
+
const pointCoords = [].slice.call(getObsCoords(current.data));
|
|
127
|
+
if (booleanPointInPolygon(turfPoint(pointCoords), selectedPolygon)) {
|
|
128
|
+
pickingInfos.push(current.data);
|
|
129
|
+
}
|
|
130
|
+
current = current.next;
|
|
131
|
+
}
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
// Return false because we are not done.
|