@vitessce/launcher 4.0.8 → 4.0.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.
@@ -4,7 +4,7 @@ import { useThree, useFrame, Canvas } from "@react-three/fiber";
4
4
  import { OrbitControls } from "@react-three/drei";
5
5
  import * as THREE from "three";
6
6
  import { Data3DTexture, RedFormat, UnsignedByteType, LinearFilter, RedIntegerFormat, UnsignedIntType, NearestFilter, Vector3, Vector2, Vector4, UniformsUtils } from "three";
7
- import { l as log, i as isEqual, C as CoordinationType, u as useEventCallback } from "./index-zOW1W7Ix.js";
7
+ import { l as log, i as isEqual, C as CoordinationType, u as useEventCallback } from "./index-BNVDQk5V.js";
8
8
  const LogLevel = {
9
9
  INFO: "info",
10
10
  WARN: "warn",
@@ -3,7 +3,7 @@ import React__default, { useRef, useState, useEffect, Suspense, forwardRef } fro
3
3
  import { Canvas } from "@react-three/fiber";
4
4
  import { Center, Text, Line, Bvh, OrbitControls } from "@react-three/drei";
5
5
  import { Matrix3, Matrix4, Vector3, Vector2, UniformsUtils, Data3DTexture, RedFormat, FloatType, LinearFilter, FrontSide, Scene, Group, MeshPhysicalMaterial, MeshBasicMaterial, MeshStandardMaterial, BackSide } from "three";
6
- import { C as CoordinationType, g as getImageSize } from "./index-zOW1W7Ix.js";
6
+ import { C as CoordinationType, g as getImageSize } from "./index-BNVDQk5V.js";
7
7
  function MeasureLine({ currentLine, scale }) {
8
8
  const textRef = useRef(null);
9
9
  return jsxs("group", { children: [jsx(Center, { bottom: true, right: true, position: [currentLine.midPoint.x, currentLine.midPoint.y, currentLine.midPoint.z], rotation: [0, 0, 0], children: jsx(Text, { color: "gray", scale: 0.05, ref: textRef, children: `${(currentLine.startPoint.distanceTo(currentLine.endPoint) * scale).toFixed(2)} µm` }) }), jsx(Line, {
@@ -945,8 +945,8 @@ function GeometryAndMesh(props) {
945
945
  setObsHighlight(e.object.name);
946
946
  }, onPointerOut: () => setObsHighlight(null) }) })] }) : null, renderingSettings.uniforms && renderingSettings.shader && renderingSettings.meshScale && renderingSettings.geometrySize ? jsx("group", { children: jsxs("mesh", { scale: renderingSettings.meshScale, ref: materialRef, children: [jsx("boxGeometry", { args: renderingSettings.geometrySize }), jsx("shaderMaterial", { customProgramCacheKey: () => "1", side: FrontSide, uniforms: renderingSettings.uniforms, needsUpdate: true, transparent: true, vertexShader: renderingSettings.shader.vertexShader, fragmentShader: renderingSettings.shader.fragmentShader })] }) }) : null] }), jsx("group", { name: "lines", children: lines.map((object) => jsx(MeasureLine, { currentLine: object, scale: 1 }, stringifyLineData(object))) })] });
947
947
  }
948
- const LazyGeometryAndMeshXR = React__default.lazy(() => import("./GeometryAndMeshXR-XVvuavzC.js").catch(() => ({ default: GeometryAndMesh })));
949
- const LazyXRSceneComponents = React__default.lazy(() => import("./XRSceneComponents-BvOsdx3B.js").catch(() => ({ default: () => null })));
948
+ const LazyGeometryAndMeshXR = React__default.lazy(() => import("./GeometryAndMeshXR-CayVV9Du.js").catch(() => ({ default: GeometryAndMesh })));
949
+ const LazyXRSceneComponents = React__default.lazy(() => import("./XRSceneComponents-BEbTIcw4.js").catch(() => ({ default: () => null })));
950
950
  function SpatialThree(props) {
951
951
  const materialRef = useRef(null);
952
952
  const orbitRef = useRef(null);
@@ -1303,13 +1303,13 @@ function getXRModule() {
1303
1303
  }
1304
1304
  const LazyXRWrapper = React__default.lazy(
1305
1305
  // eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
1306
- () => import("./XRWrapper-C-cU2E8B.js").catch(() => ({
1306
+ () => import("./XRWrapper-CSETDUgz.js").catch(() => ({
1307
1307
  default: ({ children }) => children
1308
1308
  }))
1309
1309
  );
1310
1310
  const LazyXREnterButton = React__default.lazy(
1311
1311
  // eslint-disable-next-line implicit-arrow-linebreak, function-paren-newline
1312
- () => import("./XREnterButton-NNfQGRVU.js").catch(() => ({
1312
+ () => import("./XREnterButton-7gx9Xl5R.js").catch(() => ({
1313
1313
  default: () => null
1314
1314
  }))
1315
1315
  );
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a2, a1 } from "./index-zOW1W7Ix.js";
1
+ import { a2, a1 } from "./index-BNVDQk5V.js";
2
2
  export {
3
3
  a2 as ControlledLauncher,
4
4
  a1 as UncontrolledLauncher
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-zOW1W7Ix.js";
1
+ import { B as BaseDecoder } from "./index-BNVDQk5V.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { a as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, b as LercAddCompression } from "./index-zOW1W7Ix.js";
2
+ import { a as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, b as LercAddCompression } from "./index-BNVDQk5V.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-zOW1W7Ix.js";
1
+ import { B as BaseDecoder } from "./index-BNVDQk5V.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-zOW1W7Ix.js";
1
+ import { B as BaseDecoder } from "./index-BNVDQk5V.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-zOW1W7Ix.js";
1
+ import { B as BaseDecoder } from "./index-BNVDQk5V.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-zOW1W7Ix.js";
1
+ import { B as BaseDecoder } from "./index-BNVDQk5V.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
@@ -1,4 +1,4 @@
1
- import { g as getXRModule } from "./index-Byfj8aLT.js";
1
+ import { g as getXRModule } from "./index-D_-Gt3v4.js";
2
2
  let store = null;
3
3
  function getXrStore() {
4
4
  if (!store) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/launcher",
3
- "version": "4.0.8",
3
+ "version": "4.0.9",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,14 +20,14 @@
20
20
  "use-query-params": "^1.1.9",
21
21
  "react-dropzone": "^14.3.8",
22
22
  "@tanstack/react-query": "^5.80.2",
23
- "@vitessce/example-configs": "4.0.8",
24
- "@vitessce/constants-internal": "4.0.8",
25
- "@vitessce/all": "4.0.8",
26
- "@vitessce/globals": "4.0.8",
27
- "@vitessce/styles": "4.0.8",
28
- "@vitessce/config": "4.0.8",
29
- "@vitessce/vit-s": "4.0.8",
30
- "@vitessce/example-plugins": "4.0.8"
23
+ "@vitessce/all": "4.0.9",
24
+ "@vitessce/styles": "4.0.9",
25
+ "@vitessce/globals": "4.0.9",
26
+ "@vitessce/constants-internal": "4.0.9",
27
+ "@vitessce/vit-s": "4.0.9",
28
+ "@vitessce/example-plugins": "4.0.9",
29
+ "@vitessce/example-configs": "4.0.9",
30
+ "@vitessce/config": "4.0.9"
31
31
  },
32
32
  "devDependencies": {
33
33
  "react": "19.2.6",