vitessce 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/index.min.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ag as e, ab as s, a9 as t, aa as r, ak as l, al as d, ac as p, ax as C, av as c, at as g, aw as u, au as y, a8 as T, as as S, ad as m, aA as A, a7 as P, aD as f, aC as F, a6 as I, ar as N, ai as E, ao as V, ah as w, aj as _, an as x, am as M, az as h, af as G, aB as H, ap as L, aq as O, aH as U, aK as b, aE as v, aL as z, aM as B, aF as D, aI as J, aJ as Y, aG as j, ae as k, ay as q } from "./index-BxAPNwM0.js";
1
+ import { ag as e, ab as s, a9 as t, aa as r, ak as l, al as d, ac as C, ax as p, av as c, at as g, aw as u, au as y, a8 as T, as as A, ad as S, aA as m, a7 as P, aF as f, aE as F, a6 as I, ar as N, ai as V, ao as w, ah as E, aj as _, an as h, am as x, az as M, aC as O, af as v, aD as G, ap as H, aq as L, aB as U, aJ as b, aM as z, aG as B, aN as D, aO as J, aH as Y, aK as j, aL as k, aI as q, ae as K, ay as R } from "./index-DoThz0it.js";
2
2
  import "react/jsx-runtime";
3
3
  import "react";
4
4
  export {
@@ -8,41 +8,43 @@ export {
8
8
  r as FileType,
9
9
  l as HINTS_CONFIG,
10
10
  d as HINT_TYPE_TO_FILE_TYPE_MAP,
11
- p as OldCoordinationType,
12
- C as PluginAsyncFunction,
11
+ C as OldCoordinationType,
12
+ p as PluginAsyncFunction,
13
13
  c as PluginCoordinationType,
14
14
  g as PluginFileType,
15
15
  u as PluginJointFileType,
16
16
  y as PluginViewType,
17
17
  T as ViewType,
18
- S as Vitessce,
19
- m as VitessceConfig,
20
- A as addAnnotationControllerView,
18
+ A as Vitessce,
19
+ S as VitessceConfig,
20
+ m as addAnnotationControllerView,
21
21
  P as decodeURLParamsToConf,
22
22
  f as disableAnnotationEditing,
23
23
  F as enableAnnotationEditing,
24
24
  I as encodeConfInUrl,
25
25
  N as fetchConfigFromGist,
26
- E as generateConfig,
27
- V as generateConfigAlt,
28
- w as getCoordinationSpaceAndScopes,
26
+ V as generateConfig,
27
+ w as generateConfigAlt,
28
+ E as getCoordinationSpaceAndScopes,
29
29
  _ as getHintOptions,
30
- x as getInitialCoordinationScopeName,
31
- M as getInitialCoordinationScopePrefix,
32
- h as hasAnnotationControllerView,
33
- G as hconcat,
34
- H as isAnyAnnotationEditing,
35
- L as parseUrls,
36
- O as parseUrlsFromString,
37
- U as useComplexCoordination,
38
- b as useComplexCoordinationSecondary,
39
- v as useCoordination,
40
- z as useCoordinationScopes,
41
- B as useCoordinationScopesBy,
42
- D as useGridItemSize,
43
- J as useMultiCoordinationScopesNonNull,
44
- Y as useMultiCoordinationScopesSecondaryNonNull,
45
- j as usePageModeView,
46
- k as vconcat,
47
- q as z
30
+ h as getInitialCoordinationScopeName,
31
+ x as getInitialCoordinationScopePrefix,
32
+ M as hasAnnotationControllerView,
33
+ O as hasAnyAnnotationStory,
34
+ v as hconcat,
35
+ G as isAnyAnnotationEditing,
36
+ H as parseUrls,
37
+ L as parseUrlsFromString,
38
+ U as removeAnnotationControllerView,
39
+ b as useComplexCoordination,
40
+ z as useComplexCoordinationSecondary,
41
+ B as useCoordination,
42
+ D as useCoordinationScopes,
43
+ J as useCoordinationScopesBy,
44
+ Y as useGridItemSize,
45
+ j as useMultiCoordinationScopesNonNull,
46
+ k as useMultiCoordinationScopesSecondaryNonNull,
47
+ q as usePageModeView,
48
+ K as vconcat,
49
+ R as z
48
50
  };
@@ -1,4 +1,4 @@
1
- import { B as re } from "./index-BxAPNwM0.js";
1
+ import { B as re } from "./index-DoThz0it.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, a as gA } from "./index-BxAPNwM0.js";
2
+ import { g as DA, B as nA, L as fA, a as gA } from "./index-DoThz0it.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-BxAPNwM0.js";
1
+ import { B as b } from "./index-DoThz0it.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-BxAPNwM0.js";
1
+ import { B as c } from "./index-DoThz0it.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-BxAPNwM0.js";
1
+ import { B as o } from "./index-DoThz0it.js";
2
2
  class d extends o {
3
3
  decodeBlock(e) {
4
4
  return 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, c as ue, d as he, C as P, u as K } from "./index-BxAPNwM0.js";
7
+ import { l as n, i as Oe, c as ue, d as he, C as P, u as K } from "./index-DoThz0it.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",
@@ -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, b as Ue } from "./index-BxAPNwM0.js";
9
+ import { C as j, b as Ue } from "./index-DoThz0it.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-BAZ231bj.js").catch(() => ({ default: re }))), lt = ae.lazy(() => import("./XRSceneComponents-CTTtdQD3.js").catch(() => ({ default: () => null })));
765
+ const at = ae.lazy(() => import("./GeometryAndMeshXR-NxpHVIlJ.js").catch(() => ({ default: re }))), lt = ae.lazy(() => import("./XRSceneComponents-DvhE91JT.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-D3s_qXpS.js").catch(() => ({
979
+ () => import("./XRWrapper-BAme_4gx.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-CNJDUkyO.js").catch(() => ({
984
+ () => import("./XREnterButton-ZkxNVs_D.js").catch(() => ({
985
985
  default: () => null
986
986
  }))
987
987
  ), rt = Se((t, e) => {
@@ -1,4 +1,4 @@
1
- import { B as r } from "./index-BxAPNwM0.js";
1
+ import { B as r } from "./index-DoThz0it.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 t } from "./index-Dafjntfy.js";
1
+ import { g as t } from "./spatial-three-C8GY0nVz.js";
2
2
  let e = null;
3
3
  function o() {
4
4
  return e || (e = t().createXRStore({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vitessce",
3
- "version": "4.1.0",
3
+ "version": "4.1.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.1.0",
20
- "@vitessce/abstract": "4.1.0",
21
- "@vitessce/error": "4.1.0",
22
- "@vitessce/constants": "4.1.0",
23
- "@vitessce/config": "4.1.0",
24
- "@vitessce/export-utils": "4.1.0"
19
+ "@vitessce/abstract": "4.1.1",
20
+ "@vitessce/all": "4.1.1",
21
+ "@vitessce/error": "4.1.1",
22
+ "@vitessce/config": "4.1.1",
23
+ "@vitessce/constants": "4.1.1",
24
+ "@vitessce/export-utils": "4.1.1"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@vitejs/plugin-react": "^4.5.0",