@vitessce/comparative 4.0.9 → 4.0.10

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.
@@ -3,7 +3,7 @@ import { useRef as r, useEffect as Se, useState as B } from "react";
3
3
  import { useThree as xe, useFrame as be } from "@react-three/fiber";
4
4
  import { Bvh as Fe } from "@react-three/drei";
5
5
  import { Matrix4 as ye, Vector3 as P, Box3 as N, FrontSide as se } from "three";
6
- import { g as Le, i as we, M as W, s as ce } from "./index-u1iqMslE.js";
6
+ import { g as Le, i as we, M as W, s as ce } from "./index-BOg9lrqg.js";
7
7
  function Be(a, d) {
8
8
  return a.get(d);
9
9
  }
@@ -3,7 +3,7 @@ var g_ = (i, e, t) => e in i ? p_(i, e, { enumerable: !0, configurable: !0, writ
3
3
  var Fn = (i, e, t) => g_(i, typeof e != "symbol" ? e + "" : e, t);
4
4
  import { jsx as m_, jsxs as v_ } from "react/jsx-runtime";
5
5
  import Hb from "react";
6
- import { b as Qe, r as y_, h as Vt, j as ut, k as Hv, m as qv, n as Gk, o as jv, p as Nr, q as Jv, s as aa, t as Ro, v as Ao, w as Wk, x as oa, y as qu, z as Or, A as ju, D as Ju, E as xs, F as S_, G as b_, H as w_, I as Ku, J as C_, K as x_, M as Hk, N as Yu, O as E_, P as k_, Q as T_, R as L_, S as D_, T as Kv, U as qk, V as I_, W as Yv, X as P_, Y as R_, Z as A_, _ as __, $ as M_, a0 as N_, a1 as O_, a2 as V_, a3 as B_, a4 as qb, a5 as F_ } from "./index-CpojjmYg.js";
6
+ import { b as Qe, r as y_, h as Vt, j as ut, k as Hv, m as qv, n as Gk, o as jv, p as Nr, q as Jv, s as aa, t as Ro, v as Ao, w as Wk, x as oa, y as qu, z as Or, A as ju, D as Ju, E as xs, F as S_, G as b_, H as w_, I as Ku, J as C_, K as x_, M as Hk, N as Yu, O as E_, P as k_, Q as T_, R as L_, S as D_, T as Kv, U as qk, V as I_, W as Yv, X as P_, Y as R_, Z as A_, _ as __, $ as M_, a0 as N_, a1 as O_, a2 as V_, a3 as B_, a4 as qb, a5 as F_ } from "./index-ijFu2_54.js";
7
7
  var U_ = y_();
8
8
  const H = /* @__PURE__ */ Qe(U_);
9
9
  var jb = {}, Nf, Jb;
@@ -1,6 +1,6 @@
1
1
  import { jsx as l } from "react/jsx-runtime";
2
2
  import { useState as s, useEffect as o } from "react";
3
- import { g as r } from "./xrStore-ClISXCXV.js";
3
+ import { g as r } from "./xrStore-CBc2L1ft.js";
4
4
  function b() {
5
5
  const [i, u] = s(!1), [n, a] = s(!1);
6
6
  return o(() => {
@@ -1,7 +1,7 @@
1
1
  import { jsxs as c, Fragment as d, jsx as i } from "react/jsx-runtime";
2
2
  import { useRef as m } from "react";
3
3
  import { useThree as g, useFrame as h } from "@react-three/fiber";
4
- import { g as x } from "./index-u1iqMslE.js";
4
+ import { g as x } from "./index-BOg9lrqg.js";
5
5
  function l(n, r) {
6
6
  return n.get(r);
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { g as e } from "./index-u1iqMslE.js";
3
- import { g as m } from "./xrStore-ClISXCXV.js";
2
+ import { g as e } from "./index-BOg9lrqg.js";
3
+ import { g as m } from "./xrStore-CBc2L1ft.js";
4
4
  function f({ children: r }) {
5
5
  const { XR: o } = e();
6
6
  return t(o, { store: m(), children: r });
@@ -1,5 +1,5 @@
1
1
  import { i as r } from "./pako.esm-D68R8YXe.js";
2
- import { B as a } from "./index-CpojjmYg.js";
2
+ import { B as a } from "./index-ijFu2_54.js";
3
3
  class s extends a {
4
4
  decodeBlock(e) {
5
5
  return r(new Uint8Array(e)).buffer;
@@ -1,6 +1,6 @@
1
1
  import * as KY from "react";
2
2
  import I, { createContext as op, isValidElement as ZY, PureComponent as ap, Component as sp, useMemo as Zt, useState as Ur, useRef as Mt, useEffect as ar, useCallback as zt, memo as QY, useContext as nl, useReducer as JY, useLayoutEffect as eK } from "react";
3
- import { b as PB, e as e4, f as qO } from "./index-CpojjmYg.js";
3
+ import { b as PB, e as e4, f as qO } from "./index-ijFu2_54.js";
4
4
  import ga, { unstable_batchedUpdates as Yp, createPortal as tK } from "react-dom";
5
5
  import { jsx as Ic, jsxs as rK } from "react/jsx-runtime";
6
6
  function nK(t) {
@@ -4,7 +4,7 @@ import { useThree as ve, useFrame as Me, Canvas as Pe } from "@react-three/fiber
4
4
  import { OrbitControls as me } from "@react-three/drei";
5
5
  import * as M from "three";
6
6
  import { Data3DTexture as ge, RedFormat as Ae, UnsignedByteType as Be, LinearFilter as pe, RedIntegerFormat as Ne, UnsignedIntType as Ue, NearestFilter as xe, Vector3 as R, Vector2 as _, Vector4 as j, UniformsUtils as Le } from "three";
7
- import { l as n, i as Oe, a as ue, L as he, C as P, u as K } from "./index-CpojjmYg.js";
7
+ import { l as n, i as Oe, a as ue, L as he, C as P, u as K } from "./index-ijFu2_54.js";
8
8
  const w = 32, B = 64, Z = 64, fe = 4, ce = B * Z * fe, be = B * w, _e = Z * w, Ce = fe * w, V = {
9
9
  NOT_STARTED: "not_started",
10
10
  IN_PROGRESS: "in_progress",
@@ -6,7 +6,7 @@ import ae, { useRef as Q, useState as X, useEffect as q, Suspense as ee, forward
6
6
  import { Canvas as Ce } from "@react-three/fiber";
7
7
  import { Center as ze, Text as ve, Line as Te, Bvh as we, OrbitControls as Me } from "@react-three/drei";
8
8
  import { Matrix3 as Le, Matrix4 as ie, Vector3 as P, Vector2 as G, UniformsUtils as Pe, Data3DTexture as Ae, RedFormat as De, FloatType as Ie, LinearFilter as ge, FrontSide as _e, Scene as Fe, Group as Ee, MeshPhysicalMaterial as Re, MeshBasicMaterial as Ve, MeshStandardMaterial as Oe, BackSide as ke } from "three";
9
- import { C as j, g as Ue } from "./index-CpojjmYg.js";
9
+ import { C as j, g as Ue } from "./index-ijFu2_54.js";
10
10
  function Ne({ currentLine: t, scale: e }) {
11
11
  const a = Q(null);
12
12
  return H("group", { children: [_(ze, { bottom: !0, right: !0, position: [t.midPoint.x, t.midPoint.y, t.midPoint.z], rotation: [0, 0, 0], children: _(ve, { color: "gray", scale: 0.05, ref: a, children: `${(t.startPoint.distanceTo(t.endPoint) * e).toFixed(2)} µm` }) }), _(Te, {
@@ -762,7 +762,7 @@ function re(t) {
762
762
  g(c.object.name);
763
763
  }, onPointerOut: () => g(null) }) })] }) : null, i.uniforms && i.shader && i.meshScale && i.geometrySize ? _("group", { children: H("mesh", { scale: i.meshScale, ref: l, children: [_("boxGeometry", { args: i.geometrySize }), _("shaderMaterial", { customProgramCacheKey: () => "1", side: _e, uniforms: i.uniforms, needsUpdate: !0, transparent: !0, vertexShader: i.shader.vertexShader, fragmentShader: i.shader.fragmentShader })] }) }) : null] }), _("group", { name: "lines", children: m.map((c) => _(Ne, { currentLine: c, scale: 1 }, tt(c))) })] });
764
764
  }
765
- const at = ae.lazy(() => import("./GeometryAndMeshXR-C57GfGLn.js").catch(() => ({ default: re }))), lt = ae.lazy(() => import("./XRSceneComponents-C7yAruTs.js").catch(() => ({ default: () => null })));
765
+ const at = ae.lazy(() => import("./GeometryAndMeshXR-B4XWJxH1.js").catch(() => ({ default: re }))), lt = ae.lazy(() => import("./XRSceneComponents-NWLoWke0.js").catch(() => ({ default: () => null })));
766
766
  function oe(t) {
767
767
  const e = Q(null), a = Q(null), [o, i] = X(!1), [l, n] = X(!1), [g, p] = X(null), [m, c] = X([1, 1, 1]), [s, w] = X({
768
768
  uniforms: null,
@@ -976,12 +976,12 @@ function pt() {
976
976
  }
977
977
  const it = ae.lazy(
978
978
  // eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
979
- () => import("./XRWrapper-D7dzBKv1.js").catch(() => ({
979
+ () => import("./XRWrapper-DJ-HNKqI.js").catch(() => ({
980
980
  default: ({ children: t }) => t
981
981
  }))
982
982
  ), ot = ae.lazy(
983
983
  // eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
984
- () => import("./XREnterButton-DLg_f7IQ.js").catch(() => ({
984
+ () => import("./XREnterButton-BFAeZzBn.js").catch(() => ({
985
985
  default: () => null
986
986
  }))
987
987
  ), rt = Se((t, e) => {
@@ -1368,7 +1368,7 @@ const lwt = {
1368
1368
  $.SAMPLE_HIGHLIGHT,
1369
1369
  $.HIERARCHY_LEVELS
1370
1370
  ]
1371
- }, Iwt = "4.0.9", Cwt = {
1371
+ }, Iwt = "4.0.10", Cwt = {
1372
1372
  version: Iwt
1373
1373
  }, cx = ["z", "t"], fit = "Min/Max", cwt = {
1374
1374
  opacity: 1,
@@ -158267,19 +158267,19 @@ async function Rai(t) {
158267
158267
  const n = await e();
158268
158268
  return new n(t);
158269
158269
  }
158270
- Mp([void 0, 1], () => import("./raw-C6dfmo84.js").then((t) => t.default));
158271
- Mp(5, () => import("./lzw-Cbje5k1f.js").then((t) => t.default));
158270
+ Mp([void 0, 1], () => import("./raw-nT79p4eF.js").then((t) => t.default));
158271
+ Mp(5, () => import("./lzw-B4uWX_F-.js").then((t) => t.default));
158272
158272
  Mp(6, () => {
158273
158273
  throw new Error("old style JPEG compression is not supported.");
158274
158274
  });
158275
- Mp(7, () => import("./jpeg-9tz6Z9TT.js").then((t) => t.default));
158276
- Mp([8, 32946], () => import("./deflate-BoaTxqUC.js").then((t) => t.default));
158277
- Mp(32773, () => import("./packbits-BdmGerdc.js").then((t) => t.default));
158275
+ Mp(7, () => import("./jpeg-CATV6uHf.js").then((t) => t.default));
158276
+ Mp([8, 32946], () => import("./deflate-DrcHxVTM.js").then((t) => t.default));
158277
+ Mp(32773, () => import("./packbits-B0tB1n-b.js").then((t) => t.default));
158278
158278
  Mp(
158279
158279
  34887,
158280
- () => import("./lerc-CTHvQZls.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
158280
+ () => import("./lerc-DJ6AQpvY.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
158281
158281
  );
158282
- Mp(50001, () => import("./webimage-D7xw5-uR.js").then((t) => t.default));
158282
+ Mp(50001, () => import("./webimage-CYu7GefZ.js").then((t) => t.default));
158283
158283
  function M$(t, e, n, i = 1) {
158284
158284
  return new (Object.getPrototypeOf(t)).constructor(e * n * i);
158285
158285
  }
@@ -188248,10 +188248,10 @@ class hmt extends an.Component {
188248
188248
  }
188249
188249
  }
188250
188250
  const YSi = an.lazy(async () => {
188251
- const { SpatialWrapper: t } = await import("./index-u1iqMslE.js").then((e) => e.a);
188251
+ const { SpatialWrapper: t } = await import("./index-BOg9lrqg.js").then((e) => e.a);
188252
188252
  return { default: t };
188253
188253
  }), XSi = an.forwardRef((t, e) => H("div", { ref: e, style: { width: "100%", height: "100%" }, children: H(hmt, { fallback: H("div", { children: "3D spatial view is not available in this environment." }), children: H(_5, { fallback: H("div", { children: "Loading..." }), children: H(YSi, { ...t }) }) }) })), HSi = an.lazy(async () => {
188254
- const { SpatialWrapper: t } = await import("./index-B3GqvhME.js");
188254
+ const { SpatialWrapper: t } = await import("./index--sa35WMA.js");
188255
188255
  return { default: t };
188256
188256
  }), LSi = an.forwardRef((t, e) => H("div", { ref: e, style: { width: "100%", height: "100%" }, children: H(hmt, { fallback: H("div", { children: "3D spatial view is not available in this environment." }), children: H(_5, { fallback: H("div", { children: "Loading..." }), children: H(HSi, { ...t }) }) }) })), OSi = Oi()(() => ({
188257
188257
  spatialBetaCameraLabel: {
@@ -197382,7 +197382,7 @@ function cRt(t) {
197382
197382
  }
197383
197383
  Vyi({ dataFetcher: Fhe, config: Fhe.config }, { pluginType: "dataFetcher" });
197384
197384
  const pZi = an.lazy(async () => {
197385
- const { HiGlassComponent: t } = await import("./higlass-B2x8w_MH.js");
197385
+ const { HiGlassComponent: t } = await import("./higlass-B3dS73cy.js");
197386
197386
  return { default: t };
197387
197387
  }), $O = 800;
197388
197388
  function mZi(t, e) {
@@ -200265,7 +200265,7 @@ function GZi(t) {
200265
200265
  const { classes: e } = t;
200266
200266
  return Ge(Ei, { children: [H(GUe, { styles: JZi }), H(k1, { styles: vZi, parentClassName: e.neuroglancerWrapper })] });
200267
200267
  }
200268
- const wZi = an.lazy(() => import("./ReactNeuroglancer--CkGQsYV.js"));
200268
+ const wZi = an.lazy(() => import("./ReactNeuroglancer-RhSnBPjH.js"));
200269
200269
  function TZi() {
200270
200270
  const t = new ZZi();
200271
200271
  return t.AsyncComputationWorker = NZi, t;
package/dist/index.min.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aN as e, ag as s, ab as t, a9 as r, aa as l, ak as d, al as C, ac as p, ax as c, av as g, at as u, aw as y, au as T, aO as m, a8 as S, as as A, ad as P, aA as f, a7 as F, aD as I, aC as N, a6 as E, ar as V, ai as w, ao as _, ah as v, aj as x, an as M, am as O, az as U, af as h, aB as G, ap as H, aq as L, aH as b, aK as z, aE as B, aL as D, aM as J, aF as Y, aI as j, aJ as k, aG as q, ae as K, ay as R } from "./index-CpojjmYg.js";
1
+ import { aN as e, ag as s, ab as t, a9 as r, aa as l, ak as d, al as C, ac as p, ax as c, av as g, at as u, aw as y, au as T, aO as m, a8 as S, as as A, ad as P, aA as f, a7 as F, aD as I, aC as N, a6 as E, ar as V, ai as w, ao as _, ah as v, aj as x, an as M, am as O, az as U, af as h, aB as G, ap as H, aq as L, aH as b, aK as z, aE as B, aL as D, aM as J, aF as Y, aI as j, aJ as k, aG as q, ae as K, ay as R } from "./index-ijFu2_54.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { B as re } from "./index-CpojjmYg.js";
1
+ import { B as re } from "./index-ijFu2_54.js";
2
2
  const O = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as sA } from "./pako.esm-D68R8YXe.js";
2
- import { b as DA, B as nA, c as fA, d as gA } from "./index-CpojjmYg.js";
2
+ import { b as DA, B as nA, c as fA, d as gA } from "./index-ijFu2_54.js";
3
3
  var BA = { exports: {} }, iA;
4
4
  function tA() {
5
5
  return iA || (iA = 1, function(j) {
@@ -1,4 +1,4 @@
1
- import { B as b } from "./index-CpojjmYg.js";
1
+ import { B as b } from "./index-ijFu2_54.js";
2
2
  const B = 9, E = 256, p = 257, k = 12;
3
3
  function x(c, o, r) {
4
4
  const i = o % 8, n = Math.floor(o / 8), h = 8 - i, g = o + r - (n + 1) * 8;
@@ -1,4 +1,4 @@
1
- import { B as c } from "./index-CpojjmYg.js";
1
+ import { B as c } from "./index-ijFu2_54.js";
2
2
  class l extends c {
3
3
  decodeBlock(s) {
4
4
  const n = new DataView(s), r = [];
@@ -1,4 +1,4 @@
1
- import { B as o } from "./index-CpojjmYg.js";
1
+ import { B as o } from "./index-ijFu2_54.js";
2
2
  class d extends o {
3
3
  decodeBlock(e) {
4
4
  return e;
@@ -1,4 +1,4 @@
1
- import { B as r } from "./index-CpojjmYg.js";
1
+ import { B as r } from "./index-ijFu2_54.js";
2
2
  class s extends r {
3
3
  constructor() {
4
4
  if (super(), typeof createImageBitmap > "u")
@@ -1,4 +1,4 @@
1
- import { g as t } from "./index-u1iqMslE.js";
1
+ import { g as t } from "./index-BOg9lrqg.js";
2
2
  let e = null;
3
3
  function o() {
4
4
  return e || (e = t().createXRStore({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/comparative",
3
- "version": "4.0.9",
3
+ "version": "4.0.10",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -22,16 +22,16 @@
22
22
  "react-sticky-el": "^2.1.1",
23
23
  "react-window": "^1.8.10",
24
24
  "nuqs": "^2.6.0",
25
- "@vitessce/all": "4.0.9",
26
- "@vitessce/config": "4.0.9",
27
- "@vitessce/constants-internal": "4.0.9",
28
- "@vitessce/abstract": "4.0.9",
29
- "@vitessce/vit-s": "4.0.9",
30
- "@vitessce/constants": "4.0.9",
31
- "@vitessce/styles": "4.0.9",
32
- "@vitessce/error": "4.0.9",
33
- "@vitessce/zarr": "4.0.9",
34
- "@vitessce/export-utils": "4.0.9"
25
+ "@vitessce/abstract": "4.0.10",
26
+ "@vitessce/error": "4.0.10",
27
+ "@vitessce/config": "4.0.10",
28
+ "@vitessce/constants": "4.0.10",
29
+ "@vitessce/export-utils": "4.0.10",
30
+ "@vitessce/styles": "4.0.10",
31
+ "@vitessce/constants-internal": "4.0.10",
32
+ "@vitessce/all": "4.0.10",
33
+ "@vitessce/vit-s": "4.0.10",
34
+ "@vitessce/zarr": "4.0.10"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@vitejs/plugin-react": "^4.5.0",