vitessce 4.0.5 → 4.0.6
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/{GeometryAndMeshXR-CLFbevMY.js → GeometryAndMeshXR-b-X0Zzj-.js} +1 -1
- package/dist/{ReactNeuroglancer-BSrEcyPh.js → ReactNeuroglancer-BfWBfio7.js} +1 -1
- package/dist/{XREnterButton-BwCG8QhP.js → XREnterButton-Ds1SaRw_.js} +1 -1
- package/dist/{XRSceneComponents-DPMVeFd9.js → XRSceneComponents-DWGzfOk0.js} +1 -1
- package/dist/{XRWrapper-BsBF7ydW.js → XRWrapper-D4MLfydV.js} +2 -2
- package/dist/{deflate-AX27IJZ1.js → deflate-DFY3qUSs.js} +1 -1
- package/dist/{higlass-BNWQcS0r.js → higlass-Cqc7iZHl.js} +1 -1
- package/dist/{index-sAHPnhdW.js → index-2wuvrL8L.js} +12 -12
- package/dist/{index-pB6iIC9F.js → index-D3bLRjD6.js} +4 -4
- package/dist/{index-BxNT2K4_.js → index-DKTi-cuf.js} +1 -1
- package/dist/index.min.js +1 -1
- package/dist/{jpeg-Cb0HITKr.js → jpeg-BPnskwPq.js} +1 -1
- package/dist/{lerc-LBthTC9w.js → lerc-Dg1VM0xG.js} +1 -1
- package/dist/{lzw-BF3BvlxR.js → lzw-Dzg6FzWL.js} +1 -1
- package/dist/{packbits-CUrF6LIu.js → packbits-DyFavsT7.js} +1 -1
- package/dist/{raw-A9xn1LCl.js → raw-CQtNhR7F.js} +1 -1
- package/dist/{webimage-De7zZ3Ui.js → webimage-DSY7WB8f.js} +1 -1
- package/dist/{xrStore-z0j3nHjp.js → xrStore-JZVFnWDG.js} +1 -1
- package/package.json +7 -7
|
@@ -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-
|
|
6
|
+
import { g as ye, i as Le, M as K, s as oe } from "./index-D3bLRjD6.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-
|
|
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-2wuvrL8L.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-
|
|
3
|
+
import { x as r } from "./xrStore-JZVFnWDG.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-
|
|
4
|
+
import { g as x } from "./index-D3bLRjD6.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-
|
|
3
|
-
import { x as e } from "./xrStore-
|
|
2
|
+
import { g as t } from "./index-D3bLRjD6.js";
|
|
3
|
+
import { x as e } from "./xrStore-JZVFnWDG.js";
|
|
4
4
|
const { XR: m } = t();
|
|
5
5
|
function f({ children: r }) {
|
|
6
6
|
return o(m, { store: e, children: r });
|
|
@@ -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-
|
|
3
|
+
import { b as PB, e as e4, f as qO } from "./index-2wuvrL8L.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) {
|
|
@@ -1313,7 +1313,7 @@ const Nvt = {
|
|
|
1313
1313
|
ee.SAMPLE_HIGHLIGHT,
|
|
1314
1314
|
ee.HIERARCHY_LEVELS
|
|
1315
1315
|
]
|
|
1316
|
-
}, Jvt = "4.0.
|
|
1316
|
+
}, Jvt = "4.0.6", vvt = {
|
|
1317
1317
|
version: Jvt
|
|
1318
1318
|
}, Ok = ["z", "t"], lnt = "Min/Max", Gvt = {
|
|
1319
1319
|
opacity: 1,
|
|
@@ -157749,19 +157749,19 @@ async function ZAi(t) {
|
|
|
157749
157749
|
const n = await e();
|
|
157750
157750
|
return new n(t);
|
|
157751
157751
|
}
|
|
157752
|
-
Jp([void 0, 1], () => import("./raw-
|
|
157753
|
-
Jp(5, () => import("./lzw-
|
|
157752
|
+
Jp([void 0, 1], () => import("./raw-CQtNhR7F.js").then((t) => t.default));
|
|
157753
|
+
Jp(5, () => import("./lzw-Dzg6FzWL.js").then((t) => t.default));
|
|
157754
157754
|
Jp(6, () => {
|
|
157755
157755
|
throw new Error("old style JPEG compression is not supported.");
|
|
157756
157756
|
});
|
|
157757
|
-
Jp(7, () => import("./jpeg-
|
|
157758
|
-
Jp([8, 32946], () => import("./deflate-
|
|
157759
|
-
Jp(32773, () => import("./packbits-
|
|
157757
|
+
Jp(7, () => import("./jpeg-BPnskwPq.js").then((t) => t.default));
|
|
157758
|
+
Jp([8, 32946], () => import("./deflate-DFY3qUSs.js").then((t) => t.default));
|
|
157759
|
+
Jp(32773, () => import("./packbits-DyFavsT7.js").then((t) => t.default));
|
|
157760
157760
|
Jp(
|
|
157761
157761
|
34887,
|
|
157762
|
-
() => import("./lerc-
|
|
157762
|
+
() => import("./lerc-Dg1VM0xG.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
|
|
157763
157763
|
);
|
|
157764
|
-
Jp(50001, () => import("./webimage-
|
|
157764
|
+
Jp(50001, () => import("./webimage-DSY7WB8f.js").then((t) => t.default));
|
|
157765
157765
|
function s$(t, e, n, i = 1) {
|
|
157766
157766
|
return new (Object.getPrototypeOf(t)).constructor(e * n * i);
|
|
157767
157767
|
}
|
|
@@ -186830,10 +186830,10 @@ class zft extends sn.Component {
|
|
|
186830
186830
|
}
|
|
186831
186831
|
}
|
|
186832
186832
|
const MRi = sn.lazy(async () => {
|
|
186833
|
-
const { SpatialWrapper: t } = await import("./index-
|
|
186833
|
+
const { SpatialWrapper: t } = await import("./index-D3bLRjD6.js").then((e) => e.a);
|
|
186834
186834
|
return { default: t };
|
|
186835
186835
|
}), xRi = sn.forwardRef((t, e) => _("div", { ref: e, style: { width: "100%", height: "100%" }, children: _(zft, { fallback: _("div", { children: "3D spatial view is not available in this environment." }), children: _(S5, { fallback: _("div", { children: "Loading..." }), children: _(MRi, { ...t }) }) }) })), YRi = sn.lazy(async () => {
|
|
186836
|
-
const { SpatialWrapper: t } = await import("./index-
|
|
186836
|
+
const { SpatialWrapper: t } = await import("./index-DKTi-cuf.js");
|
|
186837
186837
|
return { default: t };
|
|
186838
186838
|
}), XRi = sn.forwardRef((t, e) => _("div", { ref: e, style: { width: "100%", height: "100%" }, children: _(zft, { fallback: _("div", { children: "3D spatial view is not available in this environment." }), children: _(S5, { fallback: _("div", { children: "Loading..." }), children: _(YRi, { ...t }) }) }) })), HRi = $i()(() => ({
|
|
186839
186839
|
spatialBetaCameraLabel: {
|
|
@@ -195787,7 +195787,7 @@ function Xpt(t) {
|
|
|
195787
195787
|
}
|
|
195788
195788
|
BEi({ dataFetcher: yBe, config: yBe.config }, { pluginType: "dataFetcher" });
|
|
195789
195789
|
const gVi = sn.lazy(async () => {
|
|
195790
|
-
const { HiGlassComponent: t } = await import("./higlass-
|
|
195790
|
+
const { HiGlassComponent: t } = await import("./higlass-Cqc7iZHl.js");
|
|
195791
195791
|
return { default: t };
|
|
195792
195792
|
}), EO = 800;
|
|
195793
195793
|
function IVi(t, e) {
|
|
@@ -198670,7 +198670,7 @@ function RVi(t) {
|
|
|
198670
198670
|
const { classes: e } = t;
|
|
198671
198671
|
return ke(ur, { children: [_(xQe, { styles: fVi }), _(Qv, { styles: pVi, parentClassName: e.neuroglancerWrapper })] });
|
|
198672
198672
|
}
|
|
198673
|
-
const mVi = sn.lazy(() => import("./ReactNeuroglancer-
|
|
198673
|
+
const mVi = sn.lazy(() => import("./ReactNeuroglancer-BfWBfio7.js"));
|
|
198674
198674
|
function SVi() {
|
|
198675
198675
|
const t = new FVi();
|
|
198676
198676
|
return t.AsyncComputationWorker = QVi, t;
|
|
@@ -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-
|
|
9
|
+
import { C as j, g as Ue } from "./index-2wuvrL8L.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-
|
|
765
|
+
const at = ae.lazy(() => import("./GeometryAndMeshXR-b-X0Zzj-.js").catch(() => ({ default: re }))), lt = ae.lazy(() => import("./XRSceneComponents-DWGzfOk0.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-
|
|
979
|
+
() => import("./XRWrapper-D4MLfydV.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-
|
|
984
|
+
() => import("./XREnterButton-Ds1SaRw_.js").catch(() => ({
|
|
985
985
|
default: () => null
|
|
986
986
|
}))
|
|
987
987
|
), rt = Se((t, e) => {
|
|
@@ -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-
|
|
7
|
+
import { l as n, i as Oe, a as ue, L as he, C as P, u as K } from "./index-2wuvrL8L.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",
|
package/dist/index.min.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ag as i, ab as n, a9 as t, aa as r, ak as p, al as l, ac as d, ax as C, av as c, at as u, aw as g, au as T, a8 as y, as as S, ad as m, a7 as P, a6 as f, ar as F, ai as I, ao as N, ah as _, aj as x, an as A, am as V, af as w, ap as E, aq as G, aC as H, aF as M, az as O, aG as U, aH as h, aA as v, aD as z, aE as L, aB as B, ae as D, ay as Y } from "./index-
|
|
1
|
+
import { ag as i, ab as n, a9 as t, aa as r, ak as p, al as l, ac as d, ax as C, av as c, at as u, aw as g, au as T, a8 as y, as as S, ad as m, a7 as P, a6 as f, ar as F, ai as I, ao as N, ah as _, aj as x, an as A, am as V, af as w, ap as E, aq as G, aC as H, aF as M, az as O, aG as U, aH as h, aA as v, aD as z, aE as L, aB as B, ae as D, ay as Y } from "./index-2wuvrL8L.js";
|
|
2
2
|
import "react/jsx-runtime";
|
|
3
3
|
import "react";
|
|
4
4
|
export {
|
|
@@ -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-
|
|
2
|
+
import { b as DA, B as nA, c as fA, d as gA } from "./index-2wuvrL8L.js";
|
|
3
3
|
var BA = { exports: {} }, iA;
|
|
4
4
|
function tA() {
|
|
5
5
|
return iA || (iA = 1, function(j) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vitessce",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.6",
|
|
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/abstract": "4.0.
|
|
20
|
-
"@vitessce/error": "4.0.
|
|
21
|
-
"@vitessce/
|
|
22
|
-
"@vitessce/
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/export-utils": "4.0.
|
|
19
|
+
"@vitessce/abstract": "4.0.6",
|
|
20
|
+
"@vitessce/error": "4.0.6",
|
|
21
|
+
"@vitessce/config": "4.0.6",
|
|
22
|
+
"@vitessce/all": "4.0.6",
|
|
23
|
+
"@vitessce/constants": "4.0.6",
|
|
24
|
+
"@vitessce/export-utils": "4.0.6"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@vitejs/plugin-react": "^4.5.0",
|