@vitessce/comparative 4.1.0 → 4.1.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.
- package/dist/{GeometryAndMeshXR-qHQYB6CA.js → GeometryAndMeshXR-CuTKXwPD.js} +1 -1
- package/dist/{ReactNeuroglancer-BSUuHhWW.js → ReactNeuroglancer-DhuDavZb.js} +3 -3
- package/dist/{XREnterButton-BonCC7dG.js → XREnterButton-CEYxQwBt.js} +1 -1
- package/dist/{XRSceneComponents-D8285PRP.js → XRSceneComponents-B8vnGyIu.js} +1 -1
- package/dist/{XRWrapper-CYEmj6vR.js → XRWrapper-Dtif0nQ_.js} +2 -2
- package/dist/{deflate-CO20ZUdR.js → deflate-amSmfVYH.js} +1 -1
- package/dist/{higlass-_1s7tgQG.js → higlass-BdcpgQFd.js} +1 -1
- package/dist/{index-C0uUrn6l.js → index-B47ib_JD.js} +1 -1
- package/dist/{index-DWhGHajp.js → index-BSAO1UUu.js} +48043 -47840
- package/dist/{index-DQg7eKkE.js → index-CFoMRRE5.js} +4 -4
- package/dist/index.min.js +29 -27
- package/dist/{jpeg-BDLkhZen.js → jpeg-BhfQroHw.js} +1 -1
- package/dist/{lerc-DlKuxLHP.js → lerc-woMXqp0N.js} +1 -1
- package/dist/{lzw-DHZevmjp.js → lzw-DDKIXMc7.js} +1 -1
- package/dist/{packbits-X9MBlicn.js → packbits-C0nvCxax.js} +1 -1
- package/dist/{raw-BMgqCWY1.js → raw-DG248puO.js} +1 -1
- package/dist/{webimage-B7Kcywtt.js → webimage-BxikE-fG.js} +1 -1
- package/dist/{xrStore-Dxdn36aU.js → xrStore-7j13je3W.js} +1 -1
- package/package.json +11 -11
|
@@ -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-
|
|
6
|
+
import { g as Le, i as we, M as W, s as ce } from "./index-CFoMRRE5.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 { g 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 L_, R as T_, 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 { g 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 L_, R as T_, 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-BSAO1UUu.js";
|
|
7
7
|
var U_ = y_();
|
|
8
8
|
const H = /* @__PURE__ */ Qe(U_);
|
|
9
9
|
var jb = {}, Nf, Jb;
|
|
@@ -43534,12 +43534,12 @@ class g8 extends Hb.Component {
|
|
|
43534
43534
|
});
|
|
43535
43535
|
const C = (d ?? []).filter((D) => D.type === "segmentation"), b = (u ?? []).filter((D) => D.type === "segmentation"), E = (D) => {
|
|
43536
43536
|
const T = C.find((M) => M.name === D)?.segments ?? [], A = b.find((M) => M.name === D)?.segments ?? [];
|
|
43537
|
-
return T.length !== A.length
|
|
43537
|
+
return T.length !== A.length ? !0 : T.some((M, O) => String(M) !== String(A[O]));
|
|
43538
43538
|
}, P = [.../* @__PURE__ */ new Set([
|
|
43539
43539
|
...C.map((D) => D.name),
|
|
43540
43540
|
...b.map((D) => D.name)
|
|
43541
43541
|
])].some(E), R = b.flatMap((D) => D.segments ?? []);
|
|
43542
|
-
P && R.length > 0 && (this.preserveDimensions(() => {
|
|
43542
|
+
P && (R.length > 0 || this.props.allowEmptySegments) && (this.preserveDimensions(() => {
|
|
43543
43543
|
this.viewer.state.restoreState({ layers: u });
|
|
43544
43544
|
}), this.applyColorsAndVisibility(s));
|
|
43545
43545
|
}
|
|
@@ -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-
|
|
3
|
+
import { g as r } from "./xrStore-7j13je3W.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-
|
|
4
|
+
import { g as x } from "./index-CFoMRRE5.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-
|
|
3
|
-
import { g as m } from "./xrStore-
|
|
2
|
+
import { g as e } from "./index-CFoMRRE5.js";
|
|
3
|
+
import { g as m } from "./xrStore-7j13je3W.js";
|
|
4
4
|
function f({ children: r }) {
|
|
5
5
|
const { XR: o } = e();
|
|
6
6
|
return t(o, { store: m(), 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 { g as PB, e as e4, f as qO } from "./index-
|
|
3
|
+
import { g as PB, e as e4, f as qO } from "./index-BSAO1UUu.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, c as ue, d as he, C as P, u as K } from "./index-
|
|
7
|
+
import { l as n, i as Oe, c as ue, d as he, C as P, u as K } from "./index-BSAO1UUu.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",
|