@vitessce/all 3.4.3 → 3.4.5
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/{deflate-ada542ca.js → deflate-37e298ad.js} +1 -1
- package/dist/{hglib-5baff511.js → hglib-382a2a9f.js} +1 -1
- package/dist/{index-277a2372.js → index-27ea6e6d.js} +15 -18
- package/dist/{index-7453cd48.js → index-a0d21216.js} +110 -134
- package/dist/index.js +1 -1
- package/dist/{jpeg-92cf173f.js → jpeg-7e0742ed.js} +1 -1
- package/dist/{lerc-f05c9ce8.js → lerc-e9376ce5.js} +1 -1
- package/dist/{lzw-6e1b0460.js → lzw-5d92c02a.js} +1 -1
- package/dist/{packbits-c127f48f.js → packbits-6b74bad0.js} +1 -1
- package/dist/{raw-c2960c08.js → raw-eead4407.js} +1 -1
- package/dist/{troika-three-text.esm-c89ceb26.js → troika-three-text.esm-f1101f37.js} +1 -1
- package/dist/{webimage-a2f88ffe.js → webimage-9e2a568a.js} +1 -1
- package/package.json +24 -24
@@ -1,6 +1,6 @@
|
|
1
1
|
import React__default from "react";
|
2
2
|
import ReactDOM__default from "react-dom";
|
3
|
-
import { aS as commonjsGlobal, aT as objectAssign, g as getDefaultExportFromCjs, aU as earcut, aV as getAugmentedNamespace } from "./index-
|
3
|
+
import { aS as commonjsGlobal, aT as objectAssign, g as getDefaultExportFromCjs, aU as earcut, aV as getAugmentedNamespace } from "./index-a0d21216.js";
|
4
4
|
function _mergeNamespaces(n, m) {
|
5
5
|
for (var i = 0; i < m.length; i++) {
|
6
6
|
const e = m[i];
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, L as Layers, T as Texture, c as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, d as PCFShadowMap, e as VSMShadowMap, f as BufferGeometry, M as Material, h as Color, i as Clock, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, p as Loader, q as LoaderUtils, F as FileLoader, r as SpotLight, s as PointLight, D as DirectionalLight, t as MeshBasicMaterial, u as MeshPhysicalMaterial, I as InstancedMesh, v as Object3D, w as TextureLoader, x as ImageBitmapLoader, y as BufferAttribute, z as InterleavedBuffer, E as LinearFilter, H as LinearMipmapLinearFilter, J as RepeatWrapping, K as PointsMaterial, Q as LineBasicMaterial, X as MeshStandardMaterial, Y as DoubleSide, Z as PropertyBinding, $ as SkinnedMesh, a0 as Mesh, a1 as LineSegments, a2 as Line$1, a3 as LineLoop, a4 as Points, a5 as MathUtils, a6 as Skeleton, a7 as InterpolateLinear, a8 as AnimationClip, a9 as Bone, aa as Quaternion, ab as NearestFilter, ac as NearestMipmapNearestFilter, ad as LinearMipmapNearestFilter, ae as NearestMipmapLinearFilter, af as ClampToEdgeWrapping, ag as MirroredRepeatWrapping, ah as InterpolateDiscrete, ai as FrontSide, aj as InterleavedBufferAttribute, ak as VectorKeyframeTrack, al as QuaternionKeyframeTrack, am as NumberKeyframeTrack, an as Box3, ao as Sphere, ap as Interpolant, aq as SphereGeometry, ar as Ray$1, as as Plane, at as EventDispatcher, au as MOUSE, av as TOUCH, aw as Spherical, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-
|
1
|
+
import { g as getDefaultExportFromCjs, R as Raycaster, O as OrthographicCamera, P as PerspectiveCamera, S as Scene, a as PCFSoftShadowMap, N as NoToneMapping, A as ACESFilmicToneMapping, V as Vector2, b as Vector3, L as Layers, T as Texture, c as RGBAFormat, U as UnsignedByteType, W as WebGLRenderer, C as Camera, B as BasicShadowMap, d as PCFShadowMap, e as VSMShadowMap, f as BufferGeometry, M as Material, h as Color, i as Clock, _ as _extends, j as THREE, G as Group, k as Matrix4, l as TrianglesDrawMode, m as TriangleFanDrawMode, n as TriangleStripDrawMode, o as REVISION, p as Loader, q as LoaderUtils, F as FileLoader, r as SpotLight, s as PointLight, D as DirectionalLight, t as MeshBasicMaterial, u as MeshPhysicalMaterial, I as InstancedMesh, v as Object3D, w as TextureLoader, x as ImageBitmapLoader, y as BufferAttribute, z as InterleavedBuffer, E as LinearFilter, H as LinearMipmapLinearFilter, J as RepeatWrapping, K as PointsMaterial, Q as LineBasicMaterial, X as MeshStandardMaterial, Y as DoubleSide, Z as PropertyBinding, $ as SkinnedMesh, a0 as Mesh, a1 as LineSegments, a2 as Line$1, a3 as LineLoop, a4 as Points, a5 as MathUtils, a6 as Skeleton, a7 as InterpolateLinear, a8 as AnimationClip, a9 as Bone, aa as Quaternion, ab as NearestFilter, ac as NearestMipmapNearestFilter, ad as LinearMipmapNearestFilter, ae as NearestMipmapLinearFilter, af as ClampToEdgeWrapping, ag as MirroredRepeatWrapping, ah as InterpolateDiscrete, ai as FrontSide, aj as InterleavedBufferAttribute, ak as VectorKeyframeTrack, al as QuaternionKeyframeTrack, am as NumberKeyframeTrack, an as Box3, ao as Sphere, ap as Interpolant, aq as SphereGeometry, ar as Ray$1, as as Plane, at as EventDispatcher, au as MOUSE, av as TOUCH, aw as Spherical, ax as InstancedBufferGeometry, ay as Float32BufferAttribute, az as InstancedInterleavedBuffer, aA as WireframeGeometry, aB as ShaderMaterial, aC as UniformsUtils, aD as UniformsLib, aE as Vector4, aF as Line3, aG as Triangle, aH as BackSide, aI as jsxRuntimeExports, aJ as Matrix3, aK as CoordinationType, aL as Data3DTexture, aM as RedFormat, aN as FloatType, aO as getImageSize } from "./index-a0d21216.js";
|
2
2
|
import * as React from "react";
|
3
3
|
import React__default, { useReducer, useRef, useDebugValue, useEffect, useLayoutEffect, useState, useMemo, forwardRef } from "react";
|
4
4
|
import "@vitessce/vit-s";
|
@@ -23800,7 +23800,7 @@ const Text = /* @__PURE__ */ React.forwardRef(({
|
|
23800
23800
|
const {
|
23801
23801
|
Text: TextMeshImpl,
|
23802
23802
|
preloadFont
|
23803
|
-
} = suspend(async () => import("./troika-three-text.esm-
|
23803
|
+
} = suspend(async () => import("./troika-three-text.esm-f1101f37.js"), []);
|
23804
23804
|
const invalidate2 = useThree(({
|
23805
23805
|
invalidate: invalidate3
|
23806
23806
|
}) => invalidate3);
|
@@ -28766,22 +28766,19 @@ function SpatialThree(props) {
|
|
28766
28766
|
}
|
28767
28767
|
const SpatialWrapper = forwardRef((props, canvasRef) => jsxRuntimeExports.jsxs("div", { style: { width: "100%", height: "100%" }, children: [jsxRuntimeExports.jsx(XRButton, { mode: "AR", sessionInit: { optionalFeatures: ["hand-tracking"] }, style: {
|
28768
28768
|
border: "none",
|
28769
|
-
background: "rgba(0, 0, 0, 0.0)"
|
28770
|
-
|
28771
|
-
|
28772
|
-
|
28773
|
-
|
28774
|
-
|
28775
|
-
|
28776
|
-
|
28777
|
-
|
28778
|
-
|
28779
|
-
|
28780
|
-
|
28781
|
-
|
28782
|
-
cursor: "pointer"
|
28783
|
-
}, children: status === "entered" ? "Exit AR" : "Enter AR" });
|
28784
|
-
} }), jsxRuntimeExports.jsx(Canvas2, { style: { position: "absolute", top: 0, left: 0 }, camera: {
|
28769
|
+
background: "rgba(0, 0, 0, 0.0)",
|
28770
|
+
zIndex: 1,
|
28771
|
+
position: "absolute"
|
28772
|
+
}, children: (status) => status ? jsxRuntimeExports.jsx("div", { style: {
|
28773
|
+
border: "1px solid white",
|
28774
|
+
padding: "12px 24px",
|
28775
|
+
borderRadius: "4px",
|
28776
|
+
background: "rgba(0, 0, 0, 0.1)",
|
28777
|
+
color: "white",
|
28778
|
+
font: "normal 0.8125rem sans-serif",
|
28779
|
+
outline: "none",
|
28780
|
+
cursor: "pointer"
|
28781
|
+
}, children: status === "entered" ? "Exit AR" : "Enter AR" }) : null }), jsxRuntimeExports.jsx(Canvas2, { style: { position: "absolute", top: 0, left: 0 }, camera: {
|
28785
28782
|
fov: 50,
|
28786
28783
|
up: [0, 1, 0],
|
28787
28784
|
position: [0, 0, 800],
|
@@ -15863,7 +15863,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
15863
15863
|
}
|
15864
15864
|
}
|
15865
15865
|
return {
|
15866
|
-
create: function
|
15866
|
+
create: function create6(theme, name2) {
|
15867
15867
|
var styles35;
|
15868
15868
|
try {
|
15869
15869
|
styles35 = themingEnabled ? stylesOrCreator(theme) : stylesOrCreator;
|
@@ -25060,7 +25060,7 @@ var classCallCheck$1 = function(instance, Constructor) {
|
|
25060
25060
|
}
|
25061
25061
|
};
|
25062
25062
|
var createClass$1 = function() {
|
25063
|
-
function
|
25063
|
+
function defineProperties4(target2, props) {
|
25064
25064
|
for (var i2 = 0; i2 < props.length; i2++) {
|
25065
25065
|
var descriptor2 = props[i2];
|
25066
25066
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
@@ -25072,9 +25072,9 @@ var createClass$1 = function() {
|
|
25072
25072
|
}
|
25073
25073
|
return function(Constructor, protoProps, staticProps) {
|
25074
25074
|
if (protoProps)
|
25075
|
-
|
25075
|
+
defineProperties4(Constructor.prototype, protoProps);
|
25076
25076
|
if (staticProps)
|
25077
|
-
|
25077
|
+
defineProperties4(Constructor, staticProps);
|
25078
25078
|
return Constructor;
|
25079
25079
|
};
|
25080
25080
|
}();
|
@@ -39184,10 +39184,10 @@ var _propertyDesc = function(bitmap, value2) {
|
|
39184
39184
|
value: value2
|
39185
39185
|
};
|
39186
39186
|
};
|
39187
|
-
var dP$
|
39187
|
+
var dP$2 = require_objectDp();
|
39188
39188
|
var createDesc$2 = _propertyDesc;
|
39189
39189
|
var _hide = require_descriptors() ? function(object2, key2, value2) {
|
39190
|
-
return dP$
|
39190
|
+
return dP$2.f(object2, key2, createDesc$2(1, value2));
|
39191
39191
|
} : function(object2, key2, value2) {
|
39192
39192
|
object2[key2] = value2;
|
39193
39193
|
return object2;
|
@@ -39201,7 +39201,7 @@ var core$3 = _coreExports;
|
|
39201
39201
|
var ctx = _ctx;
|
39202
39202
|
var hide$2 = _hide;
|
39203
39203
|
var has$a = _has$1;
|
39204
|
-
var PROTOTYPE$
|
39204
|
+
var PROTOTYPE$2 = "prototype";
|
39205
39205
|
var $export$6 = function(type2, name2, source2) {
|
39206
39206
|
var IS_FORCED = type2 & $export$6.F;
|
39207
39207
|
var IS_GLOBAL = type2 & $export$6.G;
|
@@ -39210,8 +39210,8 @@ var $export$6 = function(type2, name2, source2) {
|
|
39210
39210
|
var IS_BIND = type2 & $export$6.B;
|
39211
39211
|
var IS_WRAP = type2 & $export$6.W;
|
39212
39212
|
var exports2 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
|
39213
|
-
var expProto = exports2[PROTOTYPE$
|
39214
|
-
var target2 = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$
|
39213
|
+
var expProto = exports2[PROTOTYPE$2];
|
39214
|
+
var target2 = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$2];
|
39215
39215
|
var key2, own, out;
|
39216
39216
|
if (IS_GLOBAL)
|
39217
39217
|
source2 = name2;
|
@@ -39235,7 +39235,7 @@ var $export$6 = function(type2, name2, source2) {
|
|
39235
39235
|
}
|
39236
39236
|
return C3.apply(this, arguments);
|
39237
39237
|
};
|
39238
|
-
F[PROTOTYPE$
|
39238
|
+
F[PROTOTYPE$2] = C3[PROTOTYPE$2];
|
39239
39239
|
return F;
|
39240
39240
|
}(out) : IS_PROTO && typeof out == "function" ? ctx(Function.call, out) : out;
|
39241
39241
|
if (IS_PROTO) {
|
@@ -39340,30 +39340,22 @@ var px$2 = Math.random();
|
|
39340
39340
|
var _uid = function(key2) {
|
39341
39341
|
return "Symbol(".concat(key2 === void 0 ? "" : key2, ")_", (++id$4 + px$2).toString(36));
|
39342
39342
|
};
|
39343
|
-
var
|
39344
|
-
var
|
39345
|
-
function
|
39346
|
-
|
39347
|
-
|
39348
|
-
hasRequired_sharedKey = 1;
|
39349
|
-
var shared2 = _sharedExports("keys");
|
39350
|
-
var uid2 = _uid;
|
39351
|
-
_sharedKey = function(key2) {
|
39352
|
-
return shared2[key2] || (shared2[key2] = uid2(key2));
|
39353
|
-
};
|
39354
|
-
return _sharedKey;
|
39355
|
-
}
|
39343
|
+
var shared$1 = _sharedExports("keys");
|
39344
|
+
var uid$3 = _uid;
|
39345
|
+
var _sharedKey = function(key2) {
|
39346
|
+
return shared$1[key2] || (shared$1[key2] = uid$3(key2));
|
39347
|
+
};
|
39356
39348
|
var has$9 = _has$1;
|
39357
39349
|
var toIObject$4 = _toIobject;
|
39358
39350
|
var arrayIndexOf = _arrayIncludes(false);
|
39359
|
-
var IE_PROTO$
|
39351
|
+
var IE_PROTO$2 = _sharedKey("IE_PROTO");
|
39360
39352
|
var _objectKeysInternal = function(object2, names) {
|
39361
39353
|
var O = toIObject$4(object2);
|
39362
39354
|
var i2 = 0;
|
39363
39355
|
var result = [];
|
39364
39356
|
var key2;
|
39365
39357
|
for (key2 in O)
|
39366
|
-
if (key2 != IE_PROTO$
|
39358
|
+
if (key2 != IE_PROTO$2)
|
39367
39359
|
has$9(O, key2) && result.push(key2);
|
39368
39360
|
while (names.length > i2)
|
39369
39361
|
if (has$9(O, key2 = names[i2++])) {
|
@@ -39373,9 +39365,9 @@ var _objectKeysInternal = function(object2, names) {
|
|
39373
39365
|
};
|
39374
39366
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
39375
39367
|
var $keys$2 = _objectKeysInternal;
|
39376
|
-
var enumBugKeys = _enumBugKeys;
|
39368
|
+
var enumBugKeys$1 = _enumBugKeys;
|
39377
39369
|
var _objectKeys$1 = Object.keys || function keys(O) {
|
39378
|
-
return $keys$2(O, enumBugKeys);
|
39370
|
+
return $keys$2(O, enumBugKeys$1);
|
39379
39371
|
};
|
39380
39372
|
var _objectGops = {};
|
39381
39373
|
_objectGops.f = Object.getOwnPropertySymbols;
|
@@ -39493,7 +39485,7 @@ function _interopRequireDefault$o(obj) {
|
|
39493
39485
|
return obj && obj.__esModule ? obj : { default: obj };
|
39494
39486
|
}
|
39495
39487
|
var _default$5 = function() {
|
39496
|
-
function
|
39488
|
+
function defineProperties4(target2, props) {
|
39497
39489
|
for (var i2 = 0; i2 < props.length; i2++) {
|
39498
39490
|
var descriptor2 = props[i2];
|
39499
39491
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
@@ -39505,9 +39497,9 @@ var _default$5 = function() {
|
|
39505
39497
|
}
|
39506
39498
|
return function(Constructor, protoProps, staticProps) {
|
39507
39499
|
if (protoProps)
|
39508
|
-
|
39500
|
+
defineProperties4(Constructor.prototype, protoProps);
|
39509
39501
|
if (staticProps)
|
39510
|
-
|
39502
|
+
defineProperties4(Constructor, staticProps);
|
39511
39503
|
return Constructor;
|
39512
39504
|
};
|
39513
39505
|
}();
|
@@ -39528,27 +39520,19 @@ var _stringAt = function(TO_STRING) {
|
|
39528
39520
|
};
|
39529
39521
|
var _redefine = _hide;
|
39530
39522
|
var _iterators = {};
|
39531
|
-
var
|
39532
|
-
var
|
39533
|
-
|
39534
|
-
|
39535
|
-
|
39536
|
-
|
39537
|
-
var
|
39538
|
-
var
|
39539
|
-
var
|
39540
|
-
|
39541
|
-
|
39542
|
-
|
39543
|
-
|
39544
|
-
var i2 = 0;
|
39545
|
-
var P2;
|
39546
|
-
while (length2 > i2)
|
39547
|
-
dP2.f(O, P2 = keys4[i2++], Properties[P2]);
|
39548
|
-
return O;
|
39549
|
-
};
|
39550
|
-
return _objectDps;
|
39551
|
-
}
|
39523
|
+
var dP$1 = require_objectDp();
|
39524
|
+
var anObject$2 = _anObject;
|
39525
|
+
var getKeys$1 = _objectKeys$1;
|
39526
|
+
var _objectDps = require_descriptors() ? Object.defineProperties : function defineProperties(O, Properties) {
|
39527
|
+
anObject$2(O);
|
39528
|
+
var keys4 = getKeys$1(Properties);
|
39529
|
+
var length2 = keys4.length;
|
39530
|
+
var i2 = 0;
|
39531
|
+
var P2;
|
39532
|
+
while (length2 > i2)
|
39533
|
+
dP$1.f(O, P2 = keys4[i2++], Properties[P2]);
|
39534
|
+
return O;
|
39535
|
+
};
|
39552
39536
|
var _html;
|
39553
39537
|
var hasRequired_html;
|
39554
39538
|
function require_html() {
|
@@ -39559,50 +39543,42 @@ function require_html() {
|
|
39559
39543
|
_html = document2 && document2.documentElement;
|
39560
39544
|
return _html;
|
39561
39545
|
}
|
39562
|
-
var
|
39563
|
-
var
|
39564
|
-
|
39565
|
-
|
39566
|
-
|
39567
|
-
|
39568
|
-
|
39569
|
-
|
39570
|
-
var
|
39571
|
-
var
|
39572
|
-
var
|
39573
|
-
|
39574
|
-
var
|
39575
|
-
|
39576
|
-
|
39577
|
-
|
39578
|
-
|
39579
|
-
|
39580
|
-
|
39581
|
-
|
39582
|
-
|
39583
|
-
|
39584
|
-
|
39585
|
-
|
39586
|
-
|
39587
|
-
|
39588
|
-
|
39589
|
-
|
39590
|
-
|
39591
|
-
|
39592
|
-
|
39593
|
-
|
39594
|
-
|
39595
|
-
|
39596
|
-
|
39597
|
-
|
39598
|
-
Empty2[PROTOTYPE2] = null;
|
39599
|
-
result[IE_PROTO2] = O;
|
39600
|
-
} else
|
39601
|
-
result = createDict();
|
39602
|
-
return Properties === void 0 ? result : dPs(result, Properties);
|
39603
|
-
};
|
39604
|
-
return _objectCreate;
|
39605
|
-
}
|
39546
|
+
var anObject$1 = _anObject;
|
39547
|
+
var dPs = _objectDps;
|
39548
|
+
var enumBugKeys = _enumBugKeys;
|
39549
|
+
var IE_PROTO$1 = _sharedKey("IE_PROTO");
|
39550
|
+
var Empty$2 = function() {
|
39551
|
+
};
|
39552
|
+
var PROTOTYPE$1 = "prototype";
|
39553
|
+
var createDict = function() {
|
39554
|
+
var iframe = require_domCreate()("iframe");
|
39555
|
+
var i2 = enumBugKeys.length;
|
39556
|
+
var lt2 = "<";
|
39557
|
+
var gt2 = ">";
|
39558
|
+
var iframeDocument;
|
39559
|
+
iframe.style.display = "none";
|
39560
|
+
require_html().appendChild(iframe);
|
39561
|
+
iframe.src = "javascript:";
|
39562
|
+
iframeDocument = iframe.contentWindow.document;
|
39563
|
+
iframeDocument.open();
|
39564
|
+
iframeDocument.write(lt2 + "script" + gt2 + "document.F=Object" + lt2 + "/script" + gt2);
|
39565
|
+
iframeDocument.close();
|
39566
|
+
createDict = iframeDocument.F;
|
39567
|
+
while (i2--)
|
39568
|
+
delete createDict[PROTOTYPE$1][enumBugKeys[i2]];
|
39569
|
+
return createDict();
|
39570
|
+
};
|
39571
|
+
var _objectCreate = Object.create || function create2(O, Properties) {
|
39572
|
+
var result;
|
39573
|
+
if (O !== null) {
|
39574
|
+
Empty$2[PROTOTYPE$1] = anObject$1(O);
|
39575
|
+
result = new Empty$2();
|
39576
|
+
Empty$2[PROTOTYPE$1] = null;
|
39577
|
+
result[IE_PROTO$1] = O;
|
39578
|
+
} else
|
39579
|
+
result = createDict();
|
39580
|
+
return Properties === void 0 ? result : dPs(result, Properties);
|
39581
|
+
};
|
39606
39582
|
var _wks = { exports: {} };
|
39607
39583
|
var store = _sharedExports("wks");
|
39608
39584
|
var uid$2 = _uid;
|
@@ -39620,7 +39596,7 @@ var _setToStringTag = function(it, tag2, stat) {
|
|
39620
39596
|
if (it && !has$8(it = stat ? it : it.prototype, TAG))
|
39621
39597
|
def$1(it, TAG, { configurable: true, value: tag2 });
|
39622
39598
|
};
|
39623
|
-
var create$b =
|
39599
|
+
var create$b = _objectCreate;
|
39624
39600
|
var descriptor = _propertyDesc;
|
39625
39601
|
var setToStringTag$2 = _setToStringTag;
|
39626
39602
|
var IteratorPrototype$2 = {};
|
@@ -39633,7 +39609,7 @@ var _iterCreate = function(Constructor, NAME2, next3) {
|
|
39633
39609
|
};
|
39634
39610
|
var has$7 = _has$1;
|
39635
39611
|
var toObject$2 = _toObject;
|
39636
|
-
var IE_PROTO =
|
39612
|
+
var IE_PROTO = _sharedKey("IE_PROTO");
|
39637
39613
|
var ObjectProto$1 = Object.prototype;
|
39638
39614
|
var _objectGpo = Object.getPrototypeOf || function(O) {
|
39639
39615
|
O = toObject$2(O);
|
@@ -39796,23 +39772,23 @@ var setMeta = function(it) {
|
|
39796
39772
|
// weak collections IDs
|
39797
39773
|
} });
|
39798
39774
|
};
|
39799
|
-
var fastKey = function(it,
|
39775
|
+
var fastKey = function(it, create6) {
|
39800
39776
|
if (!isObject$h(it))
|
39801
39777
|
return typeof it == "symbol" ? it : (typeof it == "string" ? "S" : "P") + it;
|
39802
39778
|
if (!has$6(it, META$1)) {
|
39803
39779
|
if (!isExtensible(it))
|
39804
39780
|
return "F";
|
39805
|
-
if (!
|
39781
|
+
if (!create6)
|
39806
39782
|
return "E";
|
39807
39783
|
setMeta(it);
|
39808
39784
|
}
|
39809
39785
|
return it[META$1].i;
|
39810
39786
|
};
|
39811
|
-
var getWeak = function(it,
|
39787
|
+
var getWeak = function(it, create6) {
|
39812
39788
|
if (!has$6(it, META$1)) {
|
39813
39789
|
if (!isExtensible(it))
|
39814
39790
|
return true;
|
39815
|
-
if (!
|
39791
|
+
if (!create6)
|
39816
39792
|
return false;
|
39817
39793
|
setMeta(it);
|
39818
39794
|
}
|
@@ -39921,7 +39897,7 @@ var toObject$1 = _toObject;
|
|
39921
39897
|
var toIObject = _toIobject;
|
39922
39898
|
var toPrimitive = _toPrimitive;
|
39923
39899
|
var createDesc = _propertyDesc;
|
39924
|
-
var _create$1 =
|
39900
|
+
var _create$1 = _objectCreate;
|
39925
39901
|
var gOPNExt = _objectGopnExt;
|
39926
39902
|
var $GOPD = _objectGopd;
|
39927
39903
|
var $GOPS = _objectGops;
|
@@ -39988,7 +39964,7 @@ var $defineProperty$1 = function defineProperty2(it, key2, D2) {
|
|
39988
39964
|
}
|
39989
39965
|
return dP(it, key2, D2);
|
39990
39966
|
};
|
39991
|
-
var $defineProperties = function
|
39967
|
+
var $defineProperties = function defineProperties2(it, P2) {
|
39992
39968
|
anObject(it);
|
39993
39969
|
var keys4 = enumKeys(P2 = toIObject(P2));
|
39994
39970
|
var i2 = 0;
|
@@ -39998,7 +39974,7 @@ var $defineProperties = function defineProperties(it, P2) {
|
|
39998
39974
|
$defineProperty$1(it, key2 = keys4[i2++], P2[key2]);
|
39999
39975
|
return it;
|
40000
39976
|
};
|
40001
|
-
var $create = function
|
39977
|
+
var $create = function create3(it, P2) {
|
40002
39978
|
return P2 === void 0 ? _create$1(it) : $defineProperties(_create$1(it), P2);
|
40003
39979
|
};
|
40004
39980
|
var $propertyIsEnumerable = function propertyIsEnumerable(key2) {
|
@@ -40225,9 +40201,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
|
|
40225
40201
|
var setPrototypeOf$2 = _coreExports.Object.setPrototypeOf;
|
40226
40202
|
var setPrototypeOf$1 = { "default": setPrototypeOf$2, __esModule: true };
|
40227
40203
|
var $export = _export;
|
40228
|
-
$export($export.S, "Object", { create:
|
40204
|
+
$export($export.S, "Object", { create: _objectCreate });
|
40229
40205
|
var $Object$1 = _coreExports.Object;
|
40230
|
-
var create$a = function
|
40206
|
+
var create$a = function create4(P2, D2) {
|
40231
40207
|
return $Object$1.create(P2, D2);
|
40232
40208
|
};
|
40233
40209
|
var create$9 = { "default": create$a, __esModule: true };
|
@@ -93973,11 +93949,11 @@ class Tileset2D {
|
|
93973
93949
|
this._dirty = false;
|
93974
93950
|
}
|
93975
93951
|
}
|
93976
|
-
_getTile(index2,
|
93952
|
+
_getTile(index2, create6) {
|
93977
93953
|
const id2 = this.getTileId(index2);
|
93978
93954
|
let tile = this._cache.get(id2);
|
93979
93955
|
let needsReload = false;
|
93980
|
-
if (!tile &&
|
93956
|
+
if (!tile && create6) {
|
93981
93957
|
tile = new Tile2DHeader(index2);
|
93982
93958
|
Object.assign(tile, this.getTileMetadata(tile.index));
|
93983
93959
|
Object.assign(tile, {
|
@@ -122227,7 +122203,7 @@ var defineProperty$2 = function(object2, name2, value2, predicate) {
|
|
122227
122203
|
object2[name2] = value2;
|
122228
122204
|
}
|
122229
122205
|
};
|
122230
|
-
var
|
122206
|
+
var defineProperties3 = function(object2, map2) {
|
122231
122207
|
var predicates = arguments.length > 2 ? arguments[2] : {};
|
122232
122208
|
var props = keys$4(map2);
|
122233
122209
|
if (hasSymbols2) {
|
@@ -122237,8 +122213,8 @@ var defineProperties2 = function(object2, map2) {
|
|
122237
122213
|
defineProperty$2(object2, props[i2], map2[props[i2]], predicates[props[i2]]);
|
122238
122214
|
}
|
122239
122215
|
};
|
122240
|
-
|
122241
|
-
var defineProperties_1 =
|
122216
|
+
defineProperties3.supportsDescriptors = !!supportsDescriptors$2;
|
122217
|
+
var defineProperties_1 = defineProperties3;
|
122242
122218
|
var numberIsNaN = function(value2) {
|
122243
122219
|
return value2 !== value2;
|
122244
122220
|
};
|
@@ -156468,16 +156444,16 @@ async function getDecoder(fileDirectory) {
|
|
156468
156444
|
const Decoder = await importFn();
|
156469
156445
|
return new Decoder(fileDirectory);
|
156470
156446
|
}
|
156471
|
-
addDecoder([void 0, 1], () => import("./raw-
|
156472
|
-
addDecoder(5, () => import("./lzw-
|
156447
|
+
addDecoder([void 0, 1], () => import("./raw-eead4407.js").then((m2) => m2.default));
|
156448
|
+
addDecoder(5, () => import("./lzw-5d92c02a.js").then((m2) => m2.default));
|
156473
156449
|
addDecoder(6, () => {
|
156474
156450
|
throw new Error("old style JPEG compression is not supported.");
|
156475
156451
|
});
|
156476
|
-
addDecoder(7, () => import("./jpeg-
|
156477
|
-
addDecoder([8, 32946], () => import("./deflate-
|
156478
|
-
addDecoder(32773, () => import("./packbits-
|
156479
|
-
addDecoder(34887, () => import("./lerc-
|
156480
|
-
addDecoder(50001, () => import("./webimage-
|
156452
|
+
addDecoder(7, () => import("./jpeg-7e0742ed.js").then((m2) => m2.default));
|
156453
|
+
addDecoder([8, 32946], () => import("./deflate-37e298ad.js").then((m2) => m2.default));
|
156454
|
+
addDecoder(32773, () => import("./packbits-6b74bad0.js").then((m2) => m2.default));
|
156455
|
+
addDecoder(34887, () => import("./lerc-e9376ce5.js").then((m2) => m2.default));
|
156456
|
+
addDecoder(50001, () => import("./webimage-9e2a568a.js").then((m2) => m2.default));
|
156481
156457
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
156482
156458
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
156483
156459
|
}
|
@@ -175440,18 +175416,18 @@ function selection_lower() {
|
|
175440
175416
|
return this.each(lower);
|
175441
175417
|
}
|
175442
175418
|
function selection_append(name2) {
|
175443
|
-
var
|
175419
|
+
var create6 = typeof name2 === "function" ? name2 : creator(name2);
|
175444
175420
|
return this.select(function() {
|
175445
|
-
return this.appendChild(
|
175421
|
+
return this.appendChild(create6.apply(this, arguments));
|
175446
175422
|
});
|
175447
175423
|
}
|
175448
175424
|
function constantNull() {
|
175449
175425
|
return null;
|
175450
175426
|
}
|
175451
175427
|
function selection_insert(name2, before) {
|
175452
|
-
var
|
175428
|
+
var create6 = typeof name2 === "function" ? name2 : creator(name2), select2 = before == null ? constantNull : typeof before === "function" ? before : selector(before);
|
175453
175429
|
return this.select(function() {
|
175454
|
-
return this.insertBefore(
|
175430
|
+
return this.insertBefore(create6.apply(this, arguments), select2.apply(this, arguments) || null);
|
175455
175431
|
});
|
175456
175432
|
}
|
175457
175433
|
function remove$1() {
|
@@ -179473,7 +179449,7 @@ var typedFunction$1 = { exports: {} };
|
|
179473
179449
|
function undef() {
|
179474
179450
|
return void 0;
|
179475
179451
|
}
|
179476
|
-
function
|
179452
|
+
function create6() {
|
179477
179453
|
var _types = [
|
179478
179454
|
{ name: "number", test: function(x2) {
|
179479
179455
|
return typeof x2 === "number";
|
@@ -180225,7 +180201,7 @@ var typedFunction$1 = { exports: {} };
|
|
180225
180201
|
return createTypedFunction(name2, extractSignatures(fns));
|
180226
180202
|
}
|
180227
180203
|
});
|
180228
|
-
typed2.create =
|
180204
|
+
typed2.create = create6;
|
180229
180205
|
typed2.types = _types;
|
180230
180206
|
typed2.conversions = _conversions;
|
180231
180207
|
typed2.ignore = _ignore;
|
@@ -180256,7 +180232,7 @@ var typedFunction$1 = { exports: {} };
|
|
180256
180232
|
};
|
180257
180233
|
return typed2;
|
180258
180234
|
}
|
180259
|
-
return
|
180235
|
+
return create6();
|
180260
180236
|
});
|
180261
180237
|
})(typedFunction$1);
|
180262
180238
|
var typedFunctionExports = typedFunction$1.exports;
|
@@ -180968,11 +180944,11 @@ function getArrayDataType(array2, typeOf2) {
|
|
180968
180944
|
}
|
180969
180945
|
return type2;
|
180970
180946
|
}
|
180971
|
-
function factory(name2, dependencies2,
|
180947
|
+
function factory(name2, dependencies2, create6, meta2) {
|
180972
180948
|
function assertAndCreate(scope) {
|
180973
180949
|
var deps = pickShallow(scope, dependencies2.map(stripOptionalNotation));
|
180974
180950
|
assertDependencies(name2, dependencies2, scope);
|
180975
|
-
return
|
180951
|
+
return create6(deps);
|
180976
180952
|
}
|
180977
180953
|
assertAndCreate.isFactory = true;
|
180978
180954
|
assertAndCreate.fn = name2;
|
@@ -199616,7 +199592,7 @@ class ErrorBoundary extends React__default.Component {
|
|
199616
199592
|
}
|
199617
199593
|
}
|
199618
199594
|
const LazySpatialThree = React__default.lazy(async () => {
|
199619
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
199595
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-27ea6e6d.js");
|
199620
199596
|
return { default: SpatialWrapper2 };
|
199621
199597
|
});
|
199622
199598
|
const SpatialThreeAdapter = React__default.forwardRef((props, ref2) => jsxRuntimeExports.jsx("div", { ref: ref2, style: { width: "100%", height: "100%" }, children: jsxRuntimeExports.jsx(ErrorBoundary, { children: jsxRuntimeExports.jsx(Suspense, { fallback: jsxRuntimeExports.jsx("div", { children: "Loading..." }), children: jsxRuntimeExports.jsx(LazySpatialThree, { ...props }) }) }) }));
|
@@ -208664,7 +208640,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
|
|
208664
208640
|
const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
|
208665
208641
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
208666
208642
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
208667
|
-
const { HiGlassComponent } = await import("./hglib-
|
208643
|
+
const { HiGlassComponent } = await import("./hglib-382a2a9f.js").then((n3) => n3.h);
|
208668
208644
|
return { default: HiGlassComponent };
|
208669
208645
|
});
|
208670
208646
|
const HG_SIZE = 800;
|
@@ -232078,7 +232054,7 @@ inherits(Projection$1, Transform2, {
|
|
232078
232054
|
transform(_, pulse2) {
|
232079
232055
|
let proj = this.value;
|
232080
232056
|
if (!proj || _.modified("type")) {
|
232081
|
-
this.value = proj =
|
232057
|
+
this.value = proj = create5(_.type);
|
232082
232058
|
projectionProperties.forEach((prop) => {
|
232083
232059
|
if (_[prop] != null)
|
232084
232060
|
set$3(proj, prop, _[prop]);
|
@@ -232100,7 +232076,7 @@ function fit(proj, _) {
|
|
232100
232076
|
const data2 = collectGeoJSON(_.fit);
|
232101
232077
|
_.extent ? proj.fitExtent(_.extent, data2) : _.size ? proj.fitSize(_.size, data2) : 0;
|
232102
232078
|
}
|
232103
|
-
function
|
232079
|
+
function create5(type2) {
|
232104
232080
|
const constructor = projection((type2 || "mercator").toLowerCase());
|
232105
232081
|
if (!constructor)
|
232106
232082
|
error("Unrecognized projection type: " + type2);
|
@@ -240907,8 +240883,8 @@ function bind3(view, el2, binding) {
|
|
240907
240883
|
bind4.update = debounce(param2.debounce, bind4.update);
|
240908
240884
|
}
|
240909
240885
|
}
|
240910
|
-
const
|
240911
|
-
|
240886
|
+
const create6 = param2.input == null && param2.element ? target : generate;
|
240887
|
+
create6(bind4, el2, param2, view);
|
240912
240888
|
if (!bind4.active) {
|
240913
240889
|
view.on(view._signals[param2.signal], null, () => {
|
240914
240890
|
bind4.source ? bind4.source = false : bind4.set(view.signal(param2.signal));
|
@@ -266683,7 +266659,7 @@ function FeatureBarPlot(props) {
|
|
266683
266659
|
(_c2 = (_b2 = (_a3 = additionalCellSets == null ? void 0 : additionalCellSets.tree) == null ? void 0 : _a3[0]) == null ? void 0 : _b2.children) == null ? void 0 : _c2.forEach((child) => {
|
266684
266660
|
if (child.name === selectedElement) {
|
266685
266661
|
child.set.forEach(([obsId]) => {
|
266686
|
-
const info2 = { name: "", id: "", color: [] };
|
266662
|
+
const info2 = { name: "", id: "", color: [255, 255, 255] };
|
266687
266663
|
info2.name = selectedElement;
|
266688
266664
|
info2.id = obsId;
|
266689
266665
|
cellSetColor.forEach((color2) => {
|
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
|
2
|
-
import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-
|
2
|
+
import { g as getDefaultExportFromCjs, aP as BaseDecoder, aQ as LercParameters, aR as LercAddCompression } from "./index-a0d21216.js";
|
3
3
|
import "react";
|
4
4
|
import "@vitessce/vit-s";
|
5
5
|
import "react-dom";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { aC as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, E as LinearFilter, ax as InstancedBufferGeometry, ao as Sphere, an as Box3, aH as BackSide, Y as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aE as Vector4, h as Color, aJ as Matrix3, a0 as Mesh, ai as FrontSide, a$ as PlaneGeometry, f as BufferGeometry, ay as Float32BufferAttribute, t as MeshBasicMaterial, k as Matrix4, b as Vector3 } from "./index-
|
1
|
+
import { aC as UniformsUtils, aW as MeshDepthMaterial, aX as RGBADepthPacking, aY as MeshDistanceMaterial, aZ as ShaderChunk, T as Texture, E as LinearFilter, ax as InstancedBufferGeometry, ao as Sphere, an as Box3, aH as BackSide, Y as DoubleSide, a_ as InstancedBufferAttribute, V as Vector2, aE as Vector4, h as Color, aJ as Matrix3, a0 as Mesh, ai as FrontSide, a$ as PlaneGeometry, f as BufferGeometry, ay as Float32BufferAttribute, t as MeshBasicMaterial, k as Matrix4, b as Vector3 } from "./index-a0d21216.js";
|
2
2
|
import "react";
|
3
3
|
import "@vitessce/vit-s";
|
4
4
|
import "react-dom";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitessce/all",
|
3
|
-
"version": "3.4.
|
3
|
+
"version": "3.4.5",
|
4
4
|
"author": "Gehlenborg Lab",
|
5
5
|
"homepage": "http://vitessce.io",
|
6
6
|
"repository": {
|
@@ -18,29 +18,29 @@
|
|
18
18
|
"dependencies": {
|
19
19
|
"@material-ui/core": "~4.12.3",
|
20
20
|
"zod": "^3.21.4",
|
21
|
-
"@vitessce/constants-internal": "3.4.
|
22
|
-
"@vitessce/csv": "3.4.
|
23
|
-
"@vitessce/description": "3.4.
|
24
|
-
"@vitessce/feature-list": "3.4.
|
25
|
-
"@vitessce/genomic-profiles": "3.4.
|
26
|
-
"@vitessce/
|
27
|
-
"@vitessce/
|
28
|
-
"@vitessce/json": "3.4.
|
29
|
-
"@vitessce/layer-controller": "3.4.
|
30
|
-
"@vitessce/layer-controller
|
31
|
-
"@vitessce/obs-sets-manager": "3.4.
|
32
|
-
"@vitessce/ome-tiff": "3.4.
|
33
|
-
"@vitessce/plugins": "3.4.
|
34
|
-
"@vitessce/scatterplot-
|
35
|
-
"@vitessce/scatterplot-
|
36
|
-
"@vitessce/schemas": "3.4.
|
37
|
-
"@vitessce/
|
38
|
-
"@vitessce/spatial": "3.4.
|
39
|
-
"@vitessce/status": "3.4.
|
40
|
-
"@vitessce/
|
41
|
-
"@vitessce/
|
42
|
-
"@vitessce/
|
43
|
-
"@vitessce/
|
21
|
+
"@vitessce/constants-internal": "3.4.5",
|
22
|
+
"@vitessce/csv": "3.4.5",
|
23
|
+
"@vitessce/description": "3.4.5",
|
24
|
+
"@vitessce/feature-list": "3.4.5",
|
25
|
+
"@vitessce/genomic-profiles": "3.4.5",
|
26
|
+
"@vitessce/heatmap": "3.4.5",
|
27
|
+
"@vitessce/glb": "3.4.5",
|
28
|
+
"@vitessce/json": "3.4.5",
|
29
|
+
"@vitessce/layer-controller-beta": "3.4.5",
|
30
|
+
"@vitessce/layer-controller": "3.4.5",
|
31
|
+
"@vitessce/obs-sets-manager": "3.4.5",
|
32
|
+
"@vitessce/ome-tiff": "3.4.5",
|
33
|
+
"@vitessce/plugins": "3.4.5",
|
34
|
+
"@vitessce/scatterplot-embedding": "3.4.5",
|
35
|
+
"@vitessce/scatterplot-gating": "3.4.5",
|
36
|
+
"@vitessce/schemas": "3.4.5",
|
37
|
+
"@vitessce/spatial": "3.4.5",
|
38
|
+
"@vitessce/spatial-beta": "3.4.5",
|
39
|
+
"@vitessce/status": "3.4.5",
|
40
|
+
"@vitessce/statistical-plots": "3.4.5",
|
41
|
+
"@vitessce/zarr": "3.4.5",
|
42
|
+
"@vitessce/spatial-three": "3.4.5",
|
43
|
+
"@vitessce/vit-s": "3.4.5"
|
44
44
|
},
|
45
45
|
"devDependencies": {
|
46
46
|
"@types/react": "^18.0.28",
|