@vitessce/comparative 4.0.2 → 4.0.3

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 Pe, useState as L } from "react";
3
3
  import { useThree as Se, useFrame as xe } from "@react-three/fiber";
4
4
  import { Bvh as be } from "@react-three/drei";
5
5
  import { Matrix4 as Fe, Vector3 as g, Box3 as J, FrontSide as ie } from "three";
6
- import { g as ye, i as Le, M as K, s as oe } from "./index-0awuGaBo.js";
6
+ import { g as ye, i as Le, M as K, s as oe } from "./index-mAwKp-BM.js";
7
7
  const { useXR: we, useXRInputSourceState: se } = ye();
8
8
  function Be(l, o) {
9
9
  return l.get(o);
@@ -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-CqaxSb93.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-B0HjR6Tv.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 { x as r } from "./xrStore-BqZ5T1S3.js";
3
+ import { x as r } from "./xrStore-Ikvx6LLB.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 a, Fragment as d, jsx as i } from "react/jsx-runtime";
2
2
  import { useRef as f } from "react";
3
3
  import { useThree as g, useFrame as h } from "@react-three/fiber";
4
- import { g as x } from "./index-0awuGaBo.js";
4
+ import { g as x } from "./index-mAwKp-BM.js";
5
5
  const { useXRInputSourceState: m } = x();
6
6
  function l(n, r) {
7
7
  return n.get(r);
@@ -1,6 +1,6 @@
1
1
  import { jsx as o } from "react/jsx-runtime";
2
- import { g as t } from "./index-0awuGaBo.js";
3
- import { x as e } from "./xrStore-BqZ5T1S3.js";
2
+ import { g as t } from "./index-mAwKp-BM.js";
3
+ import { x as e } from "./xrStore-Ikvx6LLB.js";
4
4
  const { XR: m } = t();
5
5
  function f({ children: r }) {
6
6
  return o(m, { store: e, children: r });
@@ -1,5 +1,5 @@
1
1
  import { i as r } from "./pako.esm-D68R8YXe.js";
2
- import { B as a } from "./index-CqaxSb93.js";
2
+ import { B as a } from "./index-B0HjR6Tv.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-CqaxSb93.js";
3
+ import { b as PB, e as e4, f as qO } from "./index-B0HjR6Tv.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 xe, RedIntegerFormat as Ne, UnsignedIntType as Ue, NearestFilter as pe, Vector3 as C, 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-CqaxSb93.js";
7
+ import { l as n, i as Oe, a as ue, L as he, C as P, u as K } from "./index-B0HjR6Tv.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",
@@ -1305,7 +1305,7 @@ const z1t = {
1305
1305
  ie.SAMPLE_HIGHLIGHT,
1306
1306
  ie.HIERARCHY_LEVELS
1307
1307
  ]
1308
- }, j1t = "4.0.2", q1t = {
1308
+ }, j1t = "4.0.3", q1t = {
1309
1309
  version: j1t
1310
1310
  }, cx = ["z", "t"], Cnt = "Min/Max", $1t = {
1311
1311
  opacity: 1,
@@ -159581,19 +159581,19 @@ async function joi(t) {
159581
159581
  const n = await e();
159582
159582
  return new n(t);
159583
159583
  }
159584
- am([void 0, 1], () => import("./raw-BoxiLGf0.js").then((t) => t.default));
159585
- am(5, () => import("./lzw-DpAp6tQI.js").then((t) => t.default));
159584
+ am([void 0, 1], () => import("./raw-s-pLRFQJ.js").then((t) => t.default));
159585
+ am(5, () => import("./lzw-CdCk8kWv.js").then((t) => t.default));
159586
159586
  am(6, () => {
159587
159587
  throw new Error("old style JPEG compression is not supported.");
159588
159588
  });
159589
- am(7, () => import("./jpeg-BEZQVOi8.js").then((t) => t.default));
159590
- am([8, 32946], () => import("./deflate-Df2g3bU2.js").then((t) => t.default));
159591
- am(32773, () => import("./packbits-D63-DMx0.js").then((t) => t.default));
159589
+ am(7, () => import("./jpeg-F4t150gA.js").then((t) => t.default));
159590
+ am([8, 32946], () => import("./deflate-COhnYD7M.js").then((t) => t.default));
159591
+ am(32773, () => import("./packbits-Dphwu5tY.js").then((t) => t.default));
159592
159592
  am(
159593
159593
  34887,
159594
- () => import("./lerc-fhnCz5dM.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
159594
+ () => import("./lerc-DQ5JWtPx.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
159595
159595
  );
159596
- am(50001, () => import("./webimage-DJPS1Ukk.js").then((t) => t.default));
159596
+ am(50001, () => import("./webimage-CRaAk8or.js").then((t) => t.default));
159597
159597
  function b$(t, e, n, i = 1) {
159598
159598
  return new (Object.getPrototypeOf(t)).constructor(e * n * i);
159599
159599
  }
@@ -188551,10 +188551,10 @@ class kft extends Bn.Component {
188551
188551
  }
188552
188552
  }
188553
188553
  const omi = Bn.lazy(async () => {
188554
- const { SpatialWrapper: t } = await import("./index-0awuGaBo.js").then((e) => e.a);
188554
+ const { SpatialWrapper: t } = await import("./index-mAwKp-BM.js").then((e) => e.a);
188555
188555
  return { default: t };
188556
188556
  }), smi = Bn.forwardRef((t, e) => H("div", { ref: e, style: { width: "100%", height: "100%" }, children: H(kft, { fallback: H("div", { children: "3D spatial view is not available in this environment." }), children: H(L5, { fallback: H("div", { children: "Loading..." }), children: H(omi, { ...t }) }) }) })), Ami = Bn.lazy(async () => {
188557
- const { SpatialWrapper: t } = await import("./index-C152YJI6.js");
188557
+ const { SpatialWrapper: t } = await import("./index-5tyz_v9K.js");
188558
188558
  return { default: t };
188559
188559
  }), ami = Bn.forwardRef((t, e) => H("div", { ref: e, style: { width: "100%", height: "100%" }, children: H(kft, { fallback: H("div", { children: "3D spatial view is not available in this environment." }), children: H(L5, { fallback: H("div", { children: "Loading..." }), children: H(Ami, { ...t }) }) }) })), xft = "first";
188560
188560
  function lmi({ multiExpressionData: t, layerScopes: e, layerCoordination: n }) {
@@ -197405,7 +197405,7 @@ function Wpt(t) {
197405
197405
  }
197406
197406
  Gbi({ dataFetcher: vBe, config: vBe.config }, { pluginType: "dataFetcher" });
197407
197407
  const bEi = Bn.lazy(async () => {
197408
- const { HiGlassComponent: t } = await import("./higlass-Blypk3d_.js");
197408
+ const { HiGlassComponent: t } = await import("./higlass-vYvKq4h0.js");
197409
197409
  return { default: t };
197410
197410
  }), YO = 800;
197411
197411
  function EEi(t, e) {
@@ -200288,7 +200288,7 @@ function kEi(t) {
200288
200288
  const { classes: e } = t;
200289
200289
  return xe(_i, { children: [H(OQe, { styles: TEi }), H(M1, { styles: DEi, parentClassName: e.neuroglancerWrapper })] });
200290
200290
  }
200291
- const xEi = Bn.lazy(() => import("./ReactNeuroglancer-vRjc3Ow9.js"));
200291
+ const xEi = Bn.lazy(() => import("./ReactNeuroglancer-BBCwblqh.js"));
200292
200292
  function MEi() {
200293
200293
  const t = new vEi();
200294
200294
  return t.AsyncComputationWorker = GEi, t;
@@ -6,7 +6,7 @@ import ae, { useRef as Q, useState as G, 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 L, Vector2 as j, 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 N, g as Ue } from "./index-CqaxSb93.js";
9
+ import { C as N, g as Ue } from "./index-B0HjR6Tv.js";
10
10
  function Ne({ currentLine: t, scale: e }) {
11
11
  const a = Q(null);
12
12
  return $("group", { children: [p(ze, { bottom: !0, right: !0, position: [t.midPoint.x, t.midPoint.y, t.midPoint.z], rotation: [0, 0, 0], children: p(ve, { color: "gray", scale: 0.05, ref: a, children: `${(t.startPoint.distanceTo(t.endPoint) * e).toFixed(2)} µm` }) }), p(Te, {
@@ -762,7 +762,7 @@ function re(t) {
762
762
  m(r.object.name);
763
763
  }, onPointerOut: () => m(null) }) })] }) : null, i.uniforms && i.shader && i.meshScale && i.geometrySize ? p("group", { children: $("mesh", { scale: i.meshScale, ref: l, children: [p("boxGeometry", { args: i.geometrySize }), p("shaderMaterial", { customProgramCacheKey: () => "1", side: _e, uniforms: i.uniforms, needsUpdate: !0, transparent: !0, vertexShader: i.shader.vertexShader, fragmentShader: i.shader.fragmentShader })] }) }) : null] }), p("group", { name: "lines", children: g.map((r) => p(Ne, { currentLine: r, scale: 1 }, tt(r))) })] });
764
764
  }
765
- const at = ae.lazy(() => import("./GeometryAndMeshXR-TtNqh1RJ.js").catch(() => ({ default: re }))), lt = ae.lazy(() => import("./XRSceneComponents-BjttpYE7.js").catch(() => ({ default: () => null })));
765
+ const at = ae.lazy(() => import("./GeometryAndMeshXR-BHrmC4cr.js").catch(() => ({ default: re }))), lt = ae.lazy(() => import("./XRSceneComponents-BwYYzNAC.js").catch(() => ({ default: () => null })));
766
766
  function oe(t) {
767
767
  const e = Q(null), a = Q(null), [o, i] = G(!1), [l, n] = G(!1), [m, x] = G(null), [g, r] = G([1, 1, 1]), [c, T] = G({
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-Dut6jbVX.js").catch(() => ({
979
+ () => import("./XRWrapper-wqMkk4za.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-CXX1LK9d.js").catch(() => ({
984
+ () => import("./XREnterButton-a9dBPVyT.js").catch(() => ({
985
985
  default: () => null
986
986
  }))
987
987
  ), rt = Se((t, e) => {
package/dist/index.min.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aI as i, ag as n, ab as t, a9 as r, aa as l, ak as p, al as C, ac as d, ax as c, av as u, at as g, aw as T, au as y, aJ as m, a8 as S, as as P, ad as f, a7 as F, a6 as I, ar as N, ai as _, ao as v, ah as x, aj as A, an as U, am as V, af as w, ap as E, aq as G, aC as H, aF as M, az as O, aG as h, aH as z, aA as L, aD as B, aE as D, aB as J, ae as Y, ay as b } from "./index-CqaxSb93.js";
1
+ import { aI as i, ag as n, ab as t, a9 as r, aa as l, ak as p, al as C, ac as d, ax as c, av as u, at as g, aw as T, au as y, aJ as m, a8 as S, as as P, ad as f, a7 as F, a6 as I, ar as N, ai as _, ao as v, ah as x, aj as A, an as U, am as V, af as w, ap as E, aq as G, aC as H, aF as M, az as O, aG as h, aH as z, aA as L, aD as B, aE as D, aB as J, ae as Y, ay as b } from "./index-B0HjR6Tv.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-CqaxSb93.js";
1
+ import { B as re } from "./index-B0HjR6Tv.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-CqaxSb93.js";
2
+ import { b as DA, B as nA, c as fA, d as gA } from "./index-B0HjR6Tv.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-CqaxSb93.js";
1
+ import { B as b } from "./index-B0HjR6Tv.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-CqaxSb93.js";
1
+ import { B as c } from "./index-B0HjR6Tv.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-CqaxSb93.js";
1
+ import { B as o } from "./index-B0HjR6Tv.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-CqaxSb93.js";
1
+ import { B as r } from "./index-B0HjR6Tv.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 e } from "./index-0awuGaBo.js";
1
+ import { g as e } from "./index-mAwKp-BM.js";
2
2
  const t = e().createXRStore({
3
3
  handTracking: !0,
4
4
  emulate: !1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/comparative",
3
- "version": "4.0.2",
3
+ "version": "4.0.3",
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/abstract": "4.0.2",
26
- "@vitessce/all": "4.0.2",
27
- "@vitessce/error": "4.0.2",
28
- "@vitessce/config": "4.0.2",
29
- "@vitessce/constants": "4.0.2",
30
- "@vitessce/constants-internal": "4.0.2",
31
- "@vitessce/vit-s": "4.0.2",
32
- "@vitessce/export-utils": "4.0.2",
33
- "@vitessce/styles": "4.0.2",
34
- "@vitessce/zarr": "4.0.2"
25
+ "@vitessce/error": "4.0.3",
26
+ "@vitessce/all": "4.0.3",
27
+ "@vitessce/config": "4.0.3",
28
+ "@vitessce/abstract": "4.0.3",
29
+ "@vitessce/constants": "4.0.3",
30
+ "@vitessce/export-utils": "4.0.3",
31
+ "@vitessce/constants-internal": "4.0.3",
32
+ "@vitessce/vit-s": "4.0.3",
33
+ "@vitessce/styles": "4.0.3",
34
+ "@vitessce/zarr": "4.0.3"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@vitejs/plugin-react": "^4.5.0",