@vitessce/spatial-utils 3.5.10 → 3.5.11

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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-8c2c6fcf.js";
2
+ import { B as BaseDecoder } from "./index-5cecf73a.js";
3
3
  import "react";
4
4
  class DeflateDecoder extends BaseDecoder {
5
5
  decodeBlock(buffer) {
@@ -124530,8 +124530,15 @@ class SelectionLayer extends CompositeLayer {
124530
124530
  if (!nodePolygonContainsSelectedPolygon && !nodePolygonWithinSelectedPolygon && !nodePolygonOverlapsSelectedPolgyon) {
124531
124531
  return true;
124532
124532
  }
124533
- if (node2.data && booleanPointInPolygon$1(point$1([].slice.call(getObsCoords(node2.data))), selectedPolygon)) {
124534
- pickingInfos.push(node2.data);
124533
+ if (node2.data) {
124534
+ let current = node2;
124535
+ while (current) {
124536
+ const pointCoords = [].slice.call(getObsCoords(current.data));
124537
+ if (booleanPointInPolygon$1(point$1(pointCoords), selectedPolygon)) {
124538
+ pickingInfos.push(current.data);
124539
+ }
124540
+ current = current.next;
124541
+ }
124535
124542
  }
124536
124543
  return false;
124537
124544
  });
@@ -125709,16 +125716,16 @@ function addDecoder(cases, importFn) {
125709
125716
  }
125710
125717
  cases.forEach((c) => registry$2.set(c, importFn));
125711
125718
  }
125712
- addDecoder([void 0, 1], () => import("./raw-3781811e.js").then((m) => m.default));
125713
- addDecoder(5, () => import("./lzw-b5e40415.js").then((m) => m.default));
125719
+ addDecoder([void 0, 1], () => import("./raw-7d52f1b0.js").then((m) => m.default));
125720
+ addDecoder(5, () => import("./lzw-662fbb52.js").then((m) => m.default));
125714
125721
  addDecoder(6, () => {
125715
125722
  throw new Error("old style JPEG compression is not supported.");
125716
125723
  });
125717
- addDecoder(7, () => import("./jpeg-e796db3c.js").then((m) => m.default));
125718
- addDecoder([8, 32946], () => import("./deflate-3a3dd9af.js").then((m) => m.default));
125719
- addDecoder(32773, () => import("./packbits-277eb59e.js").then((m) => m.default));
125720
- addDecoder(34887, () => import("./lerc-2a9be36c.js").then((m) => m.default));
125721
- addDecoder(50001, () => import("./webimage-92bb7c8d.js").then((m) => m.default));
125724
+ addDecoder(7, () => import("./jpeg-1271c3d4.js").then((m) => m.default));
125725
+ addDecoder([8, 32946], () => import("./deflate-d5372581.js").then((m) => m.default));
125726
+ addDecoder(32773, () => import("./packbits-25cbe04e.js").then((m) => m.default));
125727
+ addDecoder(34887, () => import("./lerc-7457d5a3.js").then((m) => m.default));
125728
+ addDecoder(50001, () => import("./webimage-244abcbd.js").then((m) => m.default));
125722
125729
  function decodeRowAcc(row, stride) {
125723
125730
  let length2 = row.length - stride;
125724
125731
  let offset = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { D, e, a, b, c, d, E, G, Z, A, r, n, C, z, x, l, m, y, w, h, q, u, o, i, f, j, k, t, s, p, v } from "./index-8c2c6fcf.js";
1
+ import { D, e, a, b, c, d, E, G, Z, A, r, n, C, z, x, l, m, y, w, h, q, u, o, i, f, j, k, t, s, p, v } from "./index-5cecf73a.js";
2
2
  import "react";
3
3
  export {
4
4
  D as DEFAULT_CELLS_LAYER,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-8c2c6fcf.js";
1
+ import { B as BaseDecoder } from "./index-5cecf73a.js";
2
2
  import "react";
3
3
  const dctZigZag = new Int32Array([
4
4
  0,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-8c2c6fcf.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-5cecf73a.js";
3
3
  import "react";
4
4
  const LercParameters = {
5
5
  Version: 0,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-8c2c6fcf.js";
1
+ import { B as BaseDecoder } from "./index-5cecf73a.js";
2
2
  import "react";
3
3
  const MIN_BITS = 9;
4
4
  const CLEAR_CODE = 256;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-8c2c6fcf.js";
1
+ import { B as BaseDecoder } from "./index-5cecf73a.js";
2
2
  import "react";
3
3
  class PackbitsDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-8c2c6fcf.js";
1
+ import { B as BaseDecoder } from "./index-5cecf73a.js";
2
2
  import "react";
3
3
  class RawDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-8c2c6fcf.js";
1
+ import { B as BaseDecoder } from "./index-5cecf73a.js";
2
2
  import "react";
3
3
  class WebImageDecoder extends BaseDecoder {
4
4
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/spatial-utils",
3
- "version": "3.5.10",
3
+ "version": "3.5.11",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,11 +20,11 @@
20
20
  "zarrita": "0.4.0",
21
21
  "math.gl": "^3.5.6",
22
22
  "mathjs": "^9.2.0",
23
- "@vitessce/gl": "3.5.10",
24
- "@vitessce/utils": "3.5.10",
25
- "@vitessce/zarr-utils": "3.5.10",
26
- "@vitessce/constants-internal": "3.5.10",
27
- "@vitessce/globals": "3.5.10"
23
+ "@vitessce/gl": "3.5.11",
24
+ "@vitessce/utils": "3.5.11",
25
+ "@vitessce/zarr-utils": "3.5.11",
26
+ "@vitessce/constants-internal": "3.5.11",
27
+ "@vitessce/globals": "3.5.11"
28
28
  },
29
29
  "scripts": {
30
30
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",