vitessce 3.6.8 → 3.6.9

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.
@@ -1,4 +1,4 @@
1
- import { g as at, aU as N_, aV as en, aW as xt, aX as ey, aY as ty, aZ as Xk, a_ as ny, a$ as $r, b0 as iy, b1 as ca, b2 as No, b3 as Oo, b4 as Zk, b5 as da, b6 as Yu, b7 as Gr, b8 as Xu, b9 as Zu, ba as xs, bb as O_, bc as V_, bd as B_, be as Qu, bf as F_, bg as U_, bh as Qk, bi as eh, bj as z_, bk as $_, bl as G_, bm as W_, bn as H_, bo as ry, bp as eT, bq as q_, br as sy, bs as j_, bt as J_, bu as K_, bv as Y_, bw as X_, bx as Z_, by as Q_, bz as eM, bA as tM, bB as Es, bC as nM, aI as iM } from "./index-CbVLHliX.js";
1
+ import { g as at, aU as N_, aV as en, aW as xt, aX as ey, aY as ty, aZ as Xk, a_ as ny, a$ as $r, b0 as iy, b1 as ca, b2 as No, b3 as Oo, b4 as Zk, b5 as da, b6 as Yu, b7 as Gr, b8 as Xu, b9 as Zu, ba as xs, bb as O_, bc as V_, bd as B_, be as Qu, bf as F_, bg as U_, bh as Qk, bi as eh, bj as z_, bk as $_, bl as G_, bm as W_, bn as H_, bo as ry, bp as eT, bq as q_, br as sy, bs as j_, bt as J_, bu as K_, bv as Y_, bw as X_, bx as Z_, by as Q_, bz as eM, bA as tM, bB as Es, bC as nM, aI as iM } from "./index-BPcC8g-R.js";
2
2
  import tT from "react";
3
3
  var qf = {}, rM = N_();
4
4
  const H = /* @__PURE__ */ at(rM);
@@ -1,5 +1,5 @@
1
1
  import { i as r } from "./pako.esm-D68R8YXe.js";
2
- import { aP as a } from "./index-CbVLHliX.js";
2
+ import { aP as a } from "./index-BPcC8g-R.js";
3
3
  class s extends a {
4
4
  decodeBlock(e) {
5
5
  return r(new Uint8Array(e)).buffer;
@@ -1,7 +1,7 @@
1
1
  import * as iK from "react";
2
2
  import C, { isValidElement as oK, PureComponent as c1, Component as Ps, createElement as av, createContext as aK, createRef as jC } from "react";
3
3
  import Xo, { findDOMNode as BC } from "react-dom";
4
- import { aS as sv, g as W0, aT as FC } from "./index-CbVLHliX.js";
4
+ import { aS as sv, g as W0, aT as FC } from "./index-BPcC8g-R.js";
5
5
  var pm = {}, oI;
6
6
  function sK() {
7
7
  return oI || (oI = 1, function(t) {
@@ -1238,7 +1238,7 @@ const yOt = {
1238
1238
  ae.SAMPLE_HIGHLIGHT,
1239
1239
  ae.HIERARCHY_LEVELS
1240
1240
  ]
1241
- }, EOt = "3.6.8", SOt = {
1241
+ }, EOt = "3.6.9", SOt = {
1242
1242
  version: EOt
1243
1243
  }, LL = ["z", "t"], Klt = "Min/Max", QOt = {
1244
1244
  opacity: 1,
@@ -56065,29 +56065,29 @@ Before: ${JSON.stringify(t)}
56065
56065
  After: ${JSON.stringify(a)}`), a;
56066
56066
  }
56067
56067
  function qFe(t, e, n, r, i) {
56068
- const o = {}, s = new oA([], JSON.stringify), a = Object.fromEntries(r.map((l) => [l.name, l.defaultValue]));
56069
- return t.forEach((l) => {
56070
- const A = {
56071
- name: l.name,
56072
- description: l.description || e,
56068
+ const o = {}, s = new oA([], JSON.stringify), a = Object.fromEntries(r.map((A) => [A.name, A.defaultValue])), l = Array.from(new Set(n.map((A) => A.dataSourceClass)));
56069
+ return t.forEach((A) => {
56070
+ const c = {
56071
+ name: A.name,
56072
+ description: A.description || e,
56073
56073
  loaders: {}
56074
56074
  };
56075
- l.files.forEach((c) => {
56076
- const { url: g, options: u, requestInit: d, fileType: I, coordinationValues: C = {} } = c, h = Imn(I, n), f = pmn(C, h, I, l.uid, a), [m, p] = dmn(I, n), B = g || JSON.stringify(u), E = m.prototype.constructor.name, b = [B, E];
56077
- s.has(b) || s.set(b, new m({
56078
- url: g,
56079
- fileType: I,
56080
- requestInit: d,
56081
- refSpecUrl: u?.refSpecUrl,
56075
+ A.files.forEach((g) => {
56076
+ const { url: u, options: d, requestInit: I, fileType: C, coordinationValues: h = {} } = g, f = Imn(C, n), m = pmn(h, f, C, A.uid, a), [p, B] = dmn(C, n), E = u || JSON.stringify(d), b = l.indexOf(p), Q = [E, b];
56077
+ s.has(Q) || s.set(Q, new p({
56078
+ url: u,
56079
+ fileType: C,
56080
+ requestInit: I,
56081
+ refSpecUrl: d?.refSpecUrl,
56082
56082
  // Optionally, pass a Zarrita store to the data source,
56083
56083
  // if one was mapped to this URL.
56084
- store: i?.[g]
56084
+ store: i?.[u]
56085
56085
  }));
56086
- const Q = new p(s.get(b), c);
56087
- A.loaders[h] ? A.loaders[h].set(f, Q) : A.loaders[h] = new oA([
56088
- [f, Q]
56086
+ const S = new B(s.get(Q), g);
56087
+ c.loaders[f] ? c.loaders[f].set(m, S) : c.loaders[f] = new oA([
56088
+ [m, S]
56089
56089
  ], JSON.stringify);
56090
- }), o[l.uid] = A;
56090
+ }), o[A.uid] = c;
56091
56091
  }), o;
56092
56092
  }
56093
56093
  function _te(t, e) {
@@ -156282,19 +156282,19 @@ async function qgr(t) {
156282
156282
  const n = await e();
156283
156283
  return new n(t);
156284
156284
  }
156285
- QS([void 0, 1], () => import("./raw-C-La78zV.js").then((t) => t.default));
156286
- QS(5, () => import("./lzw-hFDqFx3m.js").then((t) => t.default));
156285
+ QS([void 0, 1], () => import("./raw-ePwiQEIK.js").then((t) => t.default));
156286
+ QS(5, () => import("./lzw-C6E8aN1n.js").then((t) => t.default));
156287
156287
  QS(6, () => {
156288
156288
  throw new Error("old style JPEG compression is not supported.");
156289
156289
  });
156290
- QS(7, () => import("./jpeg-6G7gdPiP.js").then((t) => t.default));
156291
- QS([8, 32946], () => import("./deflate-zVystH_9.js").then((t) => t.default));
156292
- QS(32773, () => import("./packbits-C8uGFeAW.js").then((t) => t.default));
156290
+ QS(7, () => import("./jpeg-ItEWDMwr.js").then((t) => t.default));
156291
+ QS([8, 32946], () => import("./deflate-Ci-UNDiU.js").then((t) => t.default));
156292
+ QS(32773, () => import("./packbits-DQikN_zb.js").then((t) => t.default));
156293
156293
  QS(
156294
156294
  34887,
156295
- () => import("./lerc-B-QIMk0B.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
156295
+ () => import("./lerc-BrOBEb_r.js").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
156296
156296
  );
156297
- QS(50001, () => import("./webimage-Bjj4b2Rb.js").then((t) => t.default));
156297
+ QS(50001, () => import("./webimage-4K9jn5xc.js").then((t) => t.default));
156298
156298
  function jne(t, e, n, r = 1) {
156299
156299
  return new (Object.getPrototypeOf(t)).constructor(e * n * r);
156300
156300
  }
@@ -186854,7 +186854,7 @@ class wwr extends vn.Component {
186854
186854
  }
186855
186855
  }
186856
186856
  const Uwr = vn.lazy(async () => {
186857
- const { SpatialWrapper: t } = await import("./index-DWUnObcq.js");
186857
+ const { SpatialWrapper: t } = await import("./index-NFhJLfIz.js");
186858
186858
  return { default: t };
186859
186859
  }), xwr = vn.forwardRef((t, e) => O.jsx("div", { ref: e, style: { width: "100%", height: "100%" }, children: O.jsx(wwr, { children: O.jsx(cee, { fallback: O.jsx("div", { children: "Loading..." }), children: O.jsx(Uwr, { ...t }) }) }) })), j$e = {
186860
186860
  zoom: 0,
@@ -194318,7 +194318,7 @@ function g1t(t) {
194318
194318
  }
194319
194319
  Xxr({ dataFetcher: pye, config: pye.config }, { pluginType: "dataFetcher" });
194320
194320
  const Kxr = vn.lazy(async () => {
194321
- const { HiGlassComponent: t } = await import("./higlass-BAQrST9C.js");
194321
+ const { HiGlassComponent: t } = await import("./higlass-4-gSgs2k.js");
194322
194322
  return { default: t };
194323
194323
  }), _z = 800;
194324
194324
  function jxr(t, e) {
@@ -197190,7 +197190,7 @@ function ANr(t) {
197190
197190
  const { classes: e } = t;
197191
197191
  return O.jsxs(O.Fragment, { children: [O.jsx(rQe, { styles: aNr }), O.jsx(rM, { styles: lNr, parentClassName: e.neuroglancerWrapper })] });
197192
197192
  }
197193
- const cNr = vn.lazy(() => import("./ReactNeuroglancer-9U_WGZah.js"));
197193
+ const cNr = vn.lazy(() => import("./ReactNeuroglancer-DLSI9x2D.js"));
197194
197194
  function gNr() {
197195
197195
  return new oNr();
197196
197196
  }
@@ -1,4 +1,4 @@
1
- import { g as Qf, R as Zf, O as Wr, P as Xr, S as va, a as kl, V as qp, b as Qp, B as Zp, N as Jp, A as $p, c as V, d as ye, C as eh, W as th, e as nh, f as Ba, M as po, L as Fl, T as ya, h as rh, U as ih, i as _n, _ as Wn, j as sh, G as ar, k as $e, l as oh, m as xa, n as Jf, o as $f, E as lh, p as Mr, q as Lr, r as kc, Q as go, s as ed, t as ja, u as ah, v as ur, F as td, w as Tn, x as uh, y as ch, D as fh, I as dh, z as Ua, H as ph, J as hh, K as ki, X as mh, Y as nd, Z as gh, $ as vh, a0 as yh, a1 as vo, a2 as xh, a3 as Sa, a4 as Sh, a5 as wh, a6 as _h, a7 as Eh, a8 as Ha, a9 as rd, aa as or, ab as Th, ac as Ah, ad as Xn, ae as Ph, af as Ch, ag as Mh, ah as Lh, ai as id, aj as Rh, ak as Nh, al as sd, am as Ih, an as zh, ao as lr, ap as Oh, aq as Fc, ar as bh, as as Qr, at as Dh, au as Ye, av as Jr, aw as kh, ax as Bc, ay as wa, az as Fh, aA as Bh, aB as _a, aC as jc, aD as Ui, aE as pn, aF as jh, aG as bi, aH as od, aI as re, aJ as Uh, aK as Bt, aL as Hh, aM as Vh, aN as Gh, aO as Wh } from "./index-CbVLHliX.js";
1
+ import { g as Qf, R as Zf, O as Wr, P as Xr, S as va, a as kl, V as qp, b as Qp, B as Zp, N as Jp, A as $p, c as V, d as ye, C as eh, W as th, e as nh, f as Ba, M as po, L as Fl, T as ya, h as rh, U as ih, i as _n, _ as Wn, j as sh, G as ar, k as $e, l as oh, m as xa, n as Jf, o as $f, E as lh, p as Mr, q as Lr, r as kc, Q as go, s as ed, t as ja, u as ah, v as ur, F as td, w as Tn, x as uh, y as ch, D as fh, I as dh, z as Ua, H as ph, J as hh, K as ki, X as mh, Y as nd, Z as gh, $ as vh, a0 as yh, a1 as vo, a2 as xh, a3 as Sa, a4 as Sh, a5 as wh, a6 as _h, a7 as Eh, a8 as Ha, a9 as rd, aa as or, ab as Th, ac as Ah, ad as Xn, ae as Ph, af as Ch, ag as Mh, ah as Lh, ai as id, aj as Rh, ak as Nh, al as sd, am as Ih, an as zh, ao as lr, ap as Oh, aq as Fc, ar as bh, as as Qr, at as Dh, au as Ye, av as Jr, aw as kh, ax as Bc, ay as wa, az as Fh, aA as Bh, aB as _a, aC as jc, aD as Ui, aE as pn, aF as jh, aG as bi, aH as od, aI as re, aJ as Uh, aK as Bt, aL as Hh, aM as Vh, aN as Gh, aO as Wh } from "./index-BPcC8g-R.js";
2
2
  import * as B from "react";
3
3
  import Xh, { useReducer as Kh, useRef as dt, useEffect as hn, useLayoutEffect as Yh, useDebugValue as qh, useState as mt, useMemo as Qh, forwardRef as Zh } from "react";
4
4
  var Bl = { exports: {} }, Bn = {};
@@ -9493,7 +9493,7 @@ const vv = /* @__PURE__ */ B.forwardRef(function({
9493
9493
  const {
9494
9494
  Text: p,
9495
9495
  preloadFont: h
9496
- } = qc(async () => import("./troika-three-text.esm-96fScAaZ.js"), []), v = rt(({
9496
+ } = qc(async () => import("./troika-three-text.esm-DyNuF1F1.js"), []), v = rt(({
9497
9497
  invalidate: T
9498
9498
  }) => T), [x] = B.useState(() => new p()), [_, A] = B.useMemo(() => {
9499
9499
  const T = [];
package/dist/index.min.js CHANGED
@@ -1,4 +1,4 @@
1
- import { bT as i, bO as n, bM as s, bN as c, bX as t, bY as d, bP as r, c4 as p, c2 as l, c0 as C, c3 as b, c1 as u, bL as T, b$ as g, bQ as y, bK as S, bJ as P, bV as N, bU as I, bW as m, b_ as _, bZ as f, bS as F, c9 as V, cc as M, c6 as O, cd as x, ce as L, c7 as w, ca as A, cb as E, c8 as H, bR as U, c5 as Y } from "./index-CbVLHliX.js";
1
+ import { bT as i, bO as n, bM as s, bN as c, bX as t, bY as d, bP as r, c4 as p, c2 as l, c0 as C, c3 as b, c1 as u, bL as T, b$ as g, bQ as y, bK as S, bJ as P, bV as N, bU as I, bW as m, b_ as _, bZ as f, bS as F, c9 as V, cc as M, c6 as O, cd as x, ce as L, c7 as w, ca as A, cb as E, c8 as H, bR as U, c5 as Y } from "./index-BPcC8g-R.js";
2
2
  import "react";
3
3
  export {
4
4
  i as CoordinationLevel,
@@ -1,4 +1,4 @@
1
- import { aP as re } from "./index-CbVLHliX.js";
1
+ import { aP as re } from "./index-BPcC8g-R.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, aP as nA, aQ as fA, aR as gA } from "./index-CbVLHliX.js";
2
+ import { g as DA, aP as nA, aQ as fA, aR as gA } from "./index-BPcC8g-R.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 { aP as k } from "./index-CbVLHliX.js";
1
+ import { aP as k } from "./index-BPcC8g-R.js";
2
2
  const b = 9, E = 256, p = 257, x = 12;
3
3
  function A(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 { aP as c } from "./index-CbVLHliX.js";
1
+ import { aP as c } from "./index-BPcC8g-R.js";
2
2
  class l extends c {
3
3
  decodeBlock(r) {
4
4
  const a = new DataView(r), n = [];
@@ -1,4 +1,4 @@
1
- import { aP as a } from "./index-CbVLHliX.js";
1
+ import { aP as a } from "./index-BPcC8g-R.js";
2
2
  class d extends a {
3
3
  decodeBlock(e) {
4
4
  return e;
@@ -1,4 +1,4 @@
1
- import { bD as wn, bE as Tn, bF as Fn, aB as Cn, bG as An, aw as Dn, av as En, au as Mn, aH as Rn, a9 as on, ad as vr, as as Gn, aa as On, i as pr, c as gr, k as Ln, d as Bt, aJ as Bn, aD as Wr, T as Pn, a1 as zr, bH as mr, f as In, ax as Nn, bI as Wn } from "./index-CbVLHliX.js";
1
+ import { bD as wn, bE as Tn, bF as Fn, aB as Cn, bG as An, aw as Dn, av as En, au as Mn, aH as Rn, a9 as on, ad as vr, as as Gn, aa as On, i as pr, c as gr, k as Ln, d as Bt, aJ as Bn, aD as Wr, T as Pn, a1 as zr, bH as mr, f as In, ax as Nn, bI as Wn } from "./index-BPcC8g-R.js";
2
2
  function zn() {
3
3
  var c = /* @__PURE__ */ Object.create(null);
4
4
  function r(t, e) {
@@ -1,4 +1,4 @@
1
- import { aP as r } from "./index-CbVLHliX.js";
1
+ import { aP as r } from "./index-BPcC8g-R.js";
2
2
  class s extends r {
3
3
  constructor() {
4
4
  if (super(), typeof createImageBitmap > "u")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitessce",
3
- "version": "3.6.8",
3
+ "version": "3.6.9",
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": "3.6.8",
20
- "@vitessce/error": "3.6.8",
21
- "@vitessce/all": "3.6.8",
22
- "@vitessce/config": "3.6.8",
23
- "@vitessce/constants": "3.6.8",
24
- "@vitessce/export-utils": "3.6.8"
19
+ "@vitessce/abstract": "3.6.9",
20
+ "@vitessce/error": "3.6.9",
21
+ "@vitessce/all": "3.6.9",
22
+ "@vitessce/config": "3.6.9",
23
+ "@vitessce/constants": "3.6.9",
24
+ "@vitessce/export-utils": "3.6.9"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@vitejs/plugin-react": "^4.5.0",