vitessce 4.0.0-test.0 → 4.0.0-test.1

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.
Files changed (23) hide show
  1. package/dist/{GeometryAndMeshXR-BXSNjAqF.js → GeometryAndMeshXR-CDuFtV77.js} +4 -4
  2. package/dist/{OrbitControls-sTxvpi67.js → OrbitControls-BrJBuUSe.js} +1 -1
  3. package/dist/{ReactNeuroglancer-fiVOZeyq.js → ReactNeuroglancer-n_mccJEi.js} +696 -661
  4. package/dist/{XREnterButton-CqAKdcbm.js → XREnterButton-s3JNl4Y5.js} +1 -1
  5. package/dist/{XRSceneComponents-576Z0OEa.js → XRSceneComponents-BsPxVGaX.js} +2 -2
  6. package/dist/{XRWrapper-CEbjgPSQ.js → XRWrapper-B3mqy7wn.js} +2 -2
  7. package/dist/{deflate-CRhk-nLA.js → deflate-BhW_mYsS.js} +1 -1
  8. package/dist/{emulate-CAN_KLPP.js → emulate-Dy4Vqc5l.js} +2 -2
  9. package/dist/{higlass-CxcCRpJe.js → higlass-moXDbnqp.js} +31823 -30868
  10. package/dist/{index-DGE5D5mY.js → index-BLeXhxTK.js} +100221 -100035
  11. package/dist/{index-ZG9rMo1v.js → index-CRWembQ4.js} +12 -8
  12. package/dist/{index-D4CxZdC_.js → index-DWzI2Mwu.js} +2 -2
  13. package/dist/{index-D4KH2LJg.js → index-WPOnaDjf.js} +1 -1
  14. package/dist/index.min.js +1 -1
  15. package/dist/{jpeg-CNrYxDrc.js → jpeg-BT_-26Ph.js} +1 -1
  16. package/dist/{lerc-KMDR2rmU.js → lerc-CTMmM_q8.js} +1 -1
  17. package/dist/{lzw-Dby8KO0a.js → lzw-Dg9ghyv5.js} +1 -1
  18. package/dist/{packbits-ClNSUn48.js → packbits-CrJ-qt3Y.js} +1 -1
  19. package/dist/{raw-ChZAypg0.js → raw-DzihOYOe.js} +1 -1
  20. package/dist/{ray-grab-JOm82e9E.js → ray-grab-9OEL2ULp.js} +3 -3
  21. package/dist/{webimage-BHhPz6os.js → webimage-CNPDR7gt.js} +1 -1
  22. package/dist/{xrStore-CEMqzA4H.js → xrStore-D3c_VFug.js} +1 -1
  23. package/package.json +7 -7
@@ -4,8 +4,8 @@ var Ye = (c, n, l) => Ua(c, typeof n != "symbol" ? n + "" : n, l);
4
4
  import { jsxs as _t, jsx as _e, Fragment as Ca } from "react/jsx-runtime";
5
5
  import * as be from "react";
6
6
  import Sr, { useRef as gr, useState as mt, useEffect as hr, Suspense as yr, forwardRef as Ma } from "react";
7
- import { u as Ui, s as Ea, O as Fa, C as Da } from "./OrbitControls-sTxvpi67.js";
8
- import { a6 as No, a7 as Vo, a8 as no, a9 as fi, aa as tn, ab as Pa, a as je, ac as rn, V as K, o as ka, m as xr, ad as ro, j as ke, p as Dt, k as Pt, ae as gt, M as tt, af as La, Q as Pn, a3 as Dn, ag as Ba, ah as Ra, ai as za, aj as Ia, ak as Wo, al as Oa, am as Ga, d as br, an as jo, ao as Ho, P as Ci, ap as Xo, a2 as Yo, aq as en, q as qo, F as _r, ar as Na, a1 as Va, C as nt, D as Wa, R as ja, as as Ha, at as Xa, S as Ya, au as qa, av as Ja, aw as Ka } from "./index-DGE5D5mY.js";
7
+ import { u as Ui, s as Ea, O as Fa, C as Da } from "./OrbitControls-BrJBuUSe.js";
8
+ import { a6 as No, a7 as Vo, a8 as no, a9 as fi, aa as tn, ab as Pa, a as je, ac as rn, V as K, o as ka, m as xr, ad as ro, j as ke, p as Dt, k as Pt, ae as gt, M as tt, af as La, Q as Pn, a3 as Dn, ag as Ba, ah as Ra, ai as za, aj as Ia, ak as Wo, al as Oa, am as Ga, d as br, an as jo, ao as Ho, P as Ci, ap as Xo, a2 as Yo, aq as en, q as qo, F as _r, ar as Na, a1 as Va, C as nt, D as Wa, R as ja, as as Ha, at as Xa, S as Ya, au as qa, av as Ja, aw as Ka } from "./index-BLeXhxTK.js";
9
9
  const Jo = parseInt(No.replace(/\D+/g, "")), Ko = Jo >= 125 ? "uv1" : "uv2", io = /* @__PURE__ */ new je(), Xn = /* @__PURE__ */ new K();
10
10
  class Mi extends Vo {
11
11
  constructor() {
@@ -7404,7 +7404,11 @@ function yc(c) {
7404
7404
  }
7405
7405
  function xc(c) {
7406
7406
  const { x: n, y: l, z: u } = c?.meta?.physicalSizes ?? {};
7407
- return [{ size: n ?? 1 }, { size: l ?? 1 }, { size: u ?? 1 }];
7407
+ return [
7408
+ n ?? { size: 1 },
7409
+ l ?? { size: 1 },
7410
+ u ?? { size: 1 }
7411
+ ];
7408
7412
  }
7409
7413
  function bc(c) {
7410
7414
  const [n, l] = c.computeMinMax(), u = new Float32Array(c.data.length);
@@ -7432,7 +7436,7 @@ function wc(c) {
7432
7436
  return `${c.startPoint.x},${c.startPoint.y},${c.startPoint.z};${c.endPoint.x},${c.endPoint.y},${c.endPoint.z}`;
7433
7437
  }
7434
7438
  function Lc(c) {
7435
- return !Array.isArray(c) || c.length !== 6 ? !1 : c.every((n) => typeof n == "number" || n === void 0);
7439
+ return !Array.isArray(c) || c.length !== 3 ? !1 : c.every((n) => typeof n == "number" && Number.isFinite(n));
7436
7440
  }
7437
7441
  function Ai(c) {
7438
7442
  const { segmentationGroup: n, segmentationSettings: l, segmentationSceneScale: u, renderingSettings: t, materialRef: e, highlightEntity: r, setObsHighlight: o } = c, i = gr(null), [a] = mt([]);
@@ -7442,7 +7446,7 @@ function Ai(c) {
7442
7446
  o(s.object.name);
7443
7447
  }, onPointerOut: () => o(null) }) })] }) : null, t.uniforms && t.shader && t.meshScale && t.geometrySize ? _e("group", { children: _t("mesh", { scale: t.meshScale, ref: e, children: [_e("boxGeometry", { args: t.geometrySize }), _e("shaderMaterial", { customProgramCacheKey: () => "1", side: _r, uniforms: t.uniforms, needsUpdate: !0, transparent: !0, vertexShader: t.shader.vertexShader, fragmentShader: t.shader.fragmentShader })] }) }) : null] }), _e("group", { name: "lines", children: a.map((s) => _e(sc, { currentLine: s, scale: 1 }, wc(s))) })] });
7444
7448
  }
7445
- const Sc = Sr.lazy(() => import("./GeometryAndMeshXR-BXSNjAqF.js").catch(() => ({ default: Ai }))), Tc = Sr.lazy(() => import("./XRSceneComponents-576Z0OEa.js").catch(() => ({ default: () => null })));
7449
+ const Sc = Sr.lazy(() => import("./GeometryAndMeshXR-CDuFtV77.js").catch(() => ({ default: Ai }))), Tc = Sr.lazy(() => import("./XRSceneComponents-BsPxVGaX.js").catch(() => ({ default: () => null })));
7446
7450
  function ui(c) {
7447
7451
  const n = gr(null), l = gr(null), [u, t] = mt(!1), [e, r] = mt(!1), [o, i] = mt(null), [a, s] = mt([1, 1, 1]), [d, f] = mt({
7448
7452
  uniforms: null,
@@ -7647,18 +7651,18 @@ function ui(c) {
7647
7651
  }
7648
7652
  const Ac = Sr.lazy(
7649
7653
  // eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
7650
- () => import("./XRWrapper-CEbjgPSQ.js").catch(() => ({
7654
+ () => import("./XRWrapper-B3mqy7wn.js").catch(() => ({
7651
7655
  default: ({ children: c }) => c
7652
7656
  }))
7653
7657
  ), Uc = Sr.lazy(
7654
7658
  // eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
7655
- () => import("./XREnterButton-CqAKdcbm.js").catch(() => ({
7659
+ () => import("./XREnterButton-s3JNl4Y5.js").catch(() => ({
7656
7660
  default: () => null
7657
7661
  }))
7658
7662
  ), Cc = Ma((c, n) => {
7659
7663
  const [l, u] = mt(!1);
7660
7664
  return hr(() => {
7661
- import("./index-D4KH2LJg.js").then(() => u(!0)).catch(() => {
7665
+ import("./index-WPOnaDjf.js").then(() => u(!0)).catch(() => {
7662
7666
  });
7663
7667
  }, []), _t("div", { style: { width: "100%", height: "100%" }, children: [l && _e(yr, { fallback: null, children: _e(Uc, {}) }), _e(Da, { style: { position: "absolute", top: 0, left: 0 }, camera: {
7664
7668
  fov: 50,
@@ -1,7 +1,7 @@
1
1
  import { jsxs as ne, jsx as F } from "react/jsx-runtime";
2
2
  import { useRef as M, useState as he, useMemo as fe, useEffect as $, Suspense as ze } from "react";
3
- import { u as de, a as ke, O as ve, C as Ie } from "./OrbitControls-sTxvpi67.js";
4
- import { l as n, i as De, c as le, D as me, R as Me, U as Ce, d as ge, e as Pe, f as Ae, N as ie, h as ce, V as C, j as _, k as Z, m as Be, C as P, W as Ne, n as Ue, S as Le, O as Oe, o as Fe, p as Ve, P as Ge, u as j, G as qe, q as Ze } from "./index-DGE5D5mY.js";
3
+ import { u as de, a as ke, O as ve, C as Ie } from "./OrbitControls-BrJBuUSe.js";
4
+ import { l as n, i as De, c as le, D as me, R as Me, U as Ce, d as ge, e as Pe, f as Ae, N as ie, h as ce, V as C, j as _, k as Z, m as Be, C as P, W as Ne, n as Ue, S as Le, O as Oe, o as Fe, p as Ve, P as Ge, u as j, G as qe, q as Ze } from "./index-BLeXhxTK.js";
5
5
  const S = 32, B = 64, G = 64, ue = 4, se = B * G * ue, xe = B * S, pe = G * S, be = ue * S, V = {
6
6
  NOT_STARTED: "not_started",
7
7
  IN_PROGRESS: "in_progress",
@@ -1,4 +1,4 @@
1
- import { C as o, y as r, v as n, B as u, z as i, D as R, x as l, w as X, F as p, E as c, A as S, S as P, Z as d, m as y, P as f, R as m, T as I, K as D, W as b, d as M, e as C, Q as G, X as T, O as H, J as h, G as v, H as x, I as L, i as E, o as O, U as A, b as B, a as F, h as V, Y as k, V as z, k as K, n as g, j, l as q, M as w, c as J, N, s as Q, t as U, f as W, g as Y, r as Z, q as _, p as $, u as ee, L as ae } from "./ray-grab-JOm82e9E.js";
1
+ import { C as o, y as r, v as n, B as u, z as i, D as R, x as l, w as X, F as p, E as c, A as S, S as P, Z as d, m as y, P as f, R as m, T as I, K as D, W as b, d as M, e as C, Q as G, X as T, O as H, J as h, G as v, H as x, I as L, i as E, o as O, U as A, b as B, a as F, h as V, Y as k, V as z, k as K, n as g, j, l as q, M as w, c as J, N, s as Q, t as U, f as W, g as Y, r as Z, q as _, p as $, u as ee, L as ae } from "./ray-grab-9OEL2ULp.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  export {
package/dist/index.min.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ck as i, cf as n, cd as c, ce as t, co as r, cp as p, cg as l, cA as d, cy as C, cw as u, cz as g, cx as T, cc as y, cv as S, ch as P, cb as m, ca as I, cm as f, cs as F, cl as N, cn as _, cr as x, cq as A, cj as V, ct as w, cu as E, cF as H, cI as M, cC as O, cJ as U, cK as v, cD as z, cG as G, cH as L, cE as h, ci as B, cB as D } from "./index-DGE5D5mY.js";
1
+ import { ck as i, cf as n, cd as c, ce as t, co as r, cp as p, cg as l, cA as d, cy as C, cw as u, cz as g, cx as T, cc as y, cv as S, ch as P, cb as m, ca as I, cm as f, cs as F, cl as N, cn as _, cr as x, cq as A, cj as V, ct as w, cu as E, cF as H, cI as M, cC as O, cJ as U, cK as v, cD as z, cG as G, cH as L, cE as h, ci as B, cB as D } from "./index-BLeXhxTK.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-DGE5D5mY.js";
1
+ import { B as re } from "./index-BLeXhxTK.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 { g as DA, B as nA, L as fA, b as gA } from "./index-DGE5D5mY.js";
2
+ import { g as DA, B as nA, L as fA, b as gA } from "./index-BLeXhxTK.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-DGE5D5mY.js";
1
+ import { B as b } from "./index-BLeXhxTK.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-DGE5D5mY.js";
1
+ import { B as c } from "./index-BLeXhxTK.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-DGE5D5mY.js";
1
+ import { B as o } from "./index-BLeXhxTK.js";
2
2
  class d extends o {
3
3
  decodeBlock(e) {
4
4
  return e;
@@ -2,9 +2,9 @@ var Sr = Object.defineProperty;
2
2
  var Pr = (t, e, n) => e in t ? Sr(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
3
3
  var v = (t, e, n) => Pr(t, typeof e != "symbol" ? e + "" : e, n);
4
4
  import { jsx as m, jsxs as N, Fragment as q } from "react/jsx-runtime";
5
- import { ax as qe, M as j, V as w, ap as $, o as Mr, j as W, Q as st, ad as Rr, a6 as Cr, g as Ir, p as Z, ay as _n, ak as On, _ as U, a1 as Pt, az as Tn, aA as Et, aq as Xn, ae as Mt, a2 as Ge, v as $e, ac as Fn, aB as Ar, aC as Er, P as zn, aD as Lr, aE as _r, aF as Or, aG as Tr, aH as we, aI as Xr, aJ as Fr, d as Vt, aK as zr, am as Wr, H as Dr, aL as Hr, aM as Wn, aN as Dn, w as Vr, S as jr, k as Hn, O as kr } from "./index-DGE5D5mY.js";
5
+ import { ax as qe, M as j, V as w, ap as $, o as Mr, j as W, Q as st, ad as Rr, a6 as Cr, g as Ir, p as Z, ay as _n, ak as On, _ as U, a1 as Pt, az as Tn, aA as Et, aq as Xn, ae as Mt, a2 as Ge, v as $e, ac as Fn, aB as Ar, aC as Er, P as zn, aD as Lr, aE as _r, aF as Or, aG as Tr, aH as we, aI as Xr, aJ as Fr, d as Vt, aK as zr, am as Wr, H as Dr, aL as Hr, aM as Wn, aN as Dn, w as Vr, S as jr, k as Hn, O as kr } from "./index-BLeXhxTK.js";
6
6
  import re, { createContext as Ue, forwardRef as _, useImperativeHandle as k, useMemo as A, useState as be, useRef as C, useContext as se, useEffect as O, Suspense as oe, useSyncExternalStore as Br, useCallback as Vn } from "react";
7
- import { s as Nr, a as X, c as Lt, b as qr, d as ae, u as xe, r as jn, e as kn, f as Gr } from "./OrbitControls-sTxvpi67.js";
7
+ import { s as Nr, a as X, c as Lt, b as qr, d as ae, u as xe, r as jn, e as kn, f as Gr } from "./OrbitControls-BrJBuUSe.js";
8
8
  import { createRoot as $r } from "react-dom/client";
9
9
  var Ur = Object.defineProperty, Qr = (t, e, n) => e in t ? Ur(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, S = (t, e, n) => (Qr(t, typeof e != "symbol" ? e + "" : e, n), n);
10
10
  function ot(t, e, n, r, i) {
@@ -2186,7 +2186,7 @@ async function yn(t, e, n) {
2186
2186
  ]);
2187
2187
  if (i || r)
2188
2188
  return !1;
2189
- const { emulate: s } = await import("./emulate-CAN_KLPP.js");
2189
+ const { emulate: s } = await import("./emulate-Dy4Vqc5l.js");
2190
2190
  return n && window.alert("emulator started"), t.setState({
2191
2191
  emulator: s(e === !0 ? "metaQuest3" : e)
2192
2192
  }), !0;
@@ -1,4 +1,4 @@
1
- import { B as r } from "./index-DGE5D5mY.js";
1
+ import { B as r } from "./index-BLeXhxTK.js";
2
2
  class s extends r {
3
3
  constructor() {
4
4
  if (super(), typeof createImageBitmap > "u")
@@ -1,4 +1,4 @@
1
- import { J as r } from "./ray-grab-JOm82e9E.js";
1
+ import { J as r } from "./ray-grab-9OEL2ULp.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  const a = r({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitessce",
3
- "version": "4.0.0-test.0",
3
+ "version": "4.0.0-test.1",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -16,12 +16,12 @@
16
16
  "dist-tsc"
17
17
  ],
18
18
  "dependencies": {
19
- "@vitessce/all": "4.0.0-test.0",
20
- "@vitessce/config": "4.0.0-test.0",
21
- "@vitessce/export-utils": "4.0.0-test.0",
22
- "@vitessce/error": "4.0.0-test.0",
23
- "@vitessce/abstract": "4.0.0-test.0",
24
- "@vitessce/constants": "4.0.0-test.0"
19
+ "@vitessce/config": "4.0.0-test.1",
20
+ "@vitessce/all": "4.0.0-test.1",
21
+ "@vitessce/error": "4.0.0-test.1",
22
+ "@vitessce/abstract": "4.0.0-test.1",
23
+ "@vitessce/export-utils": "4.0.0-test.1",
24
+ "@vitessce/constants": "4.0.0-test.1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@vitejs/plugin-react": "^4.5.0",