@vitessce/all 3.5.0 → 3.5.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/{deflate-48ab44f6.js → deflate-bd057fd5.js} +1 -1
- package/dist/{higlass-32619fd7.js → higlass-49ce7d9f.js} +1 -1
- package/dist/{index-509a394d.js → index-195bc2aa.js} +183 -139
- package/dist/{index-2d447f13.js → index-908956f5.js} +3 -3
- package/dist/index.js +3 -2
- package/dist/{jpeg-924502fe.js → jpeg-5fe084a0.js} +1 -1
- package/dist/{lerc-1339f69d.js → lerc-d322fa2d.js} +1 -1
- package/dist/{lzw-098e43e6.js → lzw-5013a0fa.js} +1 -1
- package/dist/{packbits-eecc1015.js → packbits-8141bdd6.js} +1 -1
- package/dist/{raw-9c07a573.js → raw-bb9d619e.js} +1 -1
- package/dist/{troika-three-text.esm-aadb7de3.js → troika-three-text.esm-d11f4b55.js} +1 -1
- package/dist/{webimage-ebd59020.js → webimage-dcad2a16.js} +1 -1
- package/dist-tsc/index.d.ts +1 -1
- package/dist-tsc/index.d.ts.map +1 -1
- package/dist-tsc/index.js +1 -1
- package/package.json +25 -25
- package/src/index.ts +1 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
import React__default, { createElement, isValidElement, PureComponent, Component } from "react";
|
2
2
|
import ReactDOM__default, { findDOMNode as findDOMNode$1 } from "react-dom";
|
3
|
-
import { aS as commonjsGlobal$1, aT as objectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-
|
3
|
+
import { aS as commonjsGlobal$1, aT as objectAssign, g as getDefaultExportFromCjs$1, aU as earcut } from "./index-195bc2aa.js";
|
4
4
|
import "@vitessce/vit-s";
|
5
5
|
var promise = {};
|
6
6
|
(function(exports2) {
|
@@ -16625,7 +16625,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
16625
16625
|
}
|
16626
16626
|
}
|
16627
16627
|
return {
|
16628
|
-
create: function
|
16628
|
+
create: function create5(theme, name2) {
|
16629
16629
|
var styles50;
|
16630
16630
|
try {
|
16631
16631
|
styles50 = themingEnabled ? stylesOrCreator(theme) : stylesOrCreator;
|
@@ -27691,7 +27691,7 @@ var classCallCheck$1 = function(instance2, Constructor) {
|
|
27691
27691
|
}
|
27692
27692
|
};
|
27693
27693
|
var createClass$1 = function() {
|
27694
|
-
function
|
27694
|
+
function defineProperties3(target2, props) {
|
27695
27695
|
for (var i2 = 0; i2 < props.length; i2++) {
|
27696
27696
|
var descriptor2 = props[i2];
|
27697
27697
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
@@ -27703,9 +27703,9 @@ var createClass$1 = function() {
|
|
27703
27703
|
}
|
27704
27704
|
return function(Constructor, protoProps, staticProps) {
|
27705
27705
|
if (protoProps)
|
27706
|
-
|
27706
|
+
defineProperties3(Constructor.prototype, protoProps);
|
27707
27707
|
if (staticProps)
|
27708
|
-
|
27708
|
+
defineProperties3(Constructor, staticProps);
|
27709
27709
|
return Constructor;
|
27710
27710
|
};
|
27711
27711
|
}();
|
@@ -35698,14 +35698,14 @@ function toJsxRuntime(tree2, options) {
|
|
35698
35698
|
throw new TypeError("Expected `Fragment` in options");
|
35699
35699
|
}
|
35700
35700
|
const filePath = options.filePath || void 0;
|
35701
|
-
let
|
35701
|
+
let create5;
|
35702
35702
|
if (options.development) {
|
35703
35703
|
if (typeof options.jsxDEV !== "function") {
|
35704
35704
|
throw new TypeError(
|
35705
35705
|
"Expected `jsxDEV` in options when `development: true`"
|
35706
35706
|
);
|
35707
35707
|
}
|
35708
|
-
|
35708
|
+
create5 = developmentCreate(filePath, options.jsxDEV);
|
35709
35709
|
} else {
|
35710
35710
|
if (typeof options.jsx !== "function") {
|
35711
35711
|
throw new TypeError("Expected `jsx` in production options");
|
@@ -35713,13 +35713,13 @@ function toJsxRuntime(tree2, options) {
|
|
35713
35713
|
if (typeof options.jsxs !== "function") {
|
35714
35714
|
throw new TypeError("Expected `jsxs` in production options");
|
35715
35715
|
}
|
35716
|
-
|
35716
|
+
create5 = productionCreate(filePath, options.jsx, options.jsxs);
|
35717
35717
|
}
|
35718
35718
|
const state = {
|
35719
35719
|
Fragment: options.Fragment,
|
35720
35720
|
ancestors: [],
|
35721
35721
|
components: options.components || {},
|
35722
|
-
create:
|
35722
|
+
create: create5,
|
35723
35723
|
elementAttributeNameCase: options.elementAttributeNameCase || "react",
|
35724
35724
|
evaluater: options.createEvaluater ? options.createEvaluater() : void 0,
|
35725
35725
|
filePath,
|
@@ -35843,16 +35843,16 @@ function addChildren(props, children2) {
|
|
35843
35843
|
}
|
35844
35844
|
}
|
35845
35845
|
function productionCreate(_2, jsx, jsxs) {
|
35846
|
-
return
|
35847
|
-
function
|
35846
|
+
return create5;
|
35847
|
+
function create5(_3, type2, props, key2) {
|
35848
35848
|
const isStaticChildren = Array.isArray(props.children);
|
35849
35849
|
const fn2 = isStaticChildren ? jsxs : jsx;
|
35850
35850
|
return key2 ? fn2(type2, props, key2) : fn2(type2, props);
|
35851
35851
|
}
|
35852
35852
|
}
|
35853
35853
|
function developmentCreate(filePath, jsxDEV) {
|
35854
|
-
return
|
35855
|
-
function
|
35854
|
+
return create5;
|
35855
|
+
function create5(node2, type2, props, key2) {
|
35856
35856
|
const isStaticChildren = Array.isArray(props.children);
|
35857
35857
|
const point2 = pointStart(node2);
|
35858
35858
|
return jsxDEV(
|
@@ -39995,14 +39995,14 @@ function parse$e(options) {
|
|
39995
39995
|
defined: [],
|
39996
39996
|
lazy: {},
|
39997
39997
|
constructs: constructs2,
|
39998
|
-
content:
|
39999
|
-
document:
|
40000
|
-
flow:
|
40001
|
-
string:
|
40002
|
-
text:
|
39998
|
+
content: create5(content$2),
|
39999
|
+
document: create5(document$2),
|
40000
|
+
flow: create5(flow$1),
|
40001
|
+
string: create5(string$4),
|
40002
|
+
text: create5(text$5)
|
40003
40003
|
};
|
40004
40004
|
return parser2;
|
40005
|
-
function
|
40005
|
+
function create5(initial) {
|
40006
40006
|
return creator2;
|
40007
40007
|
function creator2(from) {
|
40008
40008
|
return createTokenizer(parser2, initial, from);
|
@@ -40370,10 +40370,10 @@ function compiler(options) {
|
|
40370
40370
|
events2[start][1]._spread = listSpread;
|
40371
40371
|
return length2;
|
40372
40372
|
}
|
40373
|
-
function opener(
|
40373
|
+
function opener(create5, and) {
|
40374
40374
|
return open2;
|
40375
40375
|
function open2(token) {
|
40376
|
-
enter.call(this,
|
40376
|
+
enter.call(this, create5(token), token);
|
40377
40377
|
if (and)
|
40378
40378
|
and.call(this, token);
|
40379
40379
|
}
|
@@ -53172,10 +53172,10 @@ var _propertyDesc = function(bitmap, value2) {
|
|
53172
53172
|
value: value2
|
53173
53173
|
};
|
53174
53174
|
};
|
53175
|
-
var dP$
|
53175
|
+
var dP$1 = require_objectDp();
|
53176
53176
|
var createDesc$2 = _propertyDesc;
|
53177
53177
|
var _hide = require_descriptors() ? function(object2, key2, value2) {
|
53178
|
-
return dP$
|
53178
|
+
return dP$1.f(object2, key2, createDesc$2(1, value2));
|
53179
53179
|
} : function(object2, key2, value2) {
|
53180
53180
|
object2[key2] = value2;
|
53181
53181
|
return object2;
|
@@ -53189,7 +53189,7 @@ var core$3 = _coreExports;
|
|
53189
53189
|
var ctx = _ctx;
|
53190
53190
|
var hide$2 = _hide;
|
53191
53191
|
var has$a = _has$1;
|
53192
|
-
var PROTOTYPE$
|
53192
|
+
var PROTOTYPE$1 = "prototype";
|
53193
53193
|
var $export$6 = function(type2, name2, source2) {
|
53194
53194
|
var IS_FORCED = type2 & $export$6.F;
|
53195
53195
|
var IS_GLOBAL = type2 & $export$6.G;
|
@@ -53198,8 +53198,8 @@ var $export$6 = function(type2, name2, source2) {
|
|
53198
53198
|
var IS_BIND = type2 & $export$6.B;
|
53199
53199
|
var IS_WRAP = type2 & $export$6.W;
|
53200
53200
|
var exports2 = IS_GLOBAL ? core$3 : core$3[name2] || (core$3[name2] = {});
|
53201
|
-
var expProto = exports2[PROTOTYPE$
|
53202
|
-
var target2 = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$
|
53201
|
+
var expProto = exports2[PROTOTYPE$1];
|
53202
|
+
var target2 = IS_GLOBAL ? global$5 : IS_STATIC ? global$5[name2] : (global$5[name2] || {})[PROTOTYPE$1];
|
53203
53203
|
var key2, own2, out;
|
53204
53204
|
if (IS_GLOBAL)
|
53205
53205
|
source2 = name2;
|
@@ -53223,7 +53223,7 @@ var $export$6 = function(type2, name2, source2) {
|
|
53223
53223
|
}
|
53224
53224
|
return C3.apply(this, arguments);
|
53225
53225
|
};
|
53226
|
-
F[PROTOTYPE$
|
53226
|
+
F[PROTOTYPE$1] = C3[PROTOTYPE$1];
|
53227
53227
|
return F;
|
53228
53228
|
}(out) : IS_PROTO && typeof out == "function" ? ctx(Function.call, out) : out;
|
53229
53229
|
if (IS_PROTO) {
|
@@ -53328,22 +53328,30 @@ var px$2 = Math.random();
|
|
53328
53328
|
var _uid = function(key2) {
|
53329
53329
|
return "Symbol(".concat(key2 === void 0 ? "" : key2, ")_", (++id$4 + px$2).toString(36));
|
53330
53330
|
};
|
53331
|
-
var
|
53332
|
-
var
|
53333
|
-
|
53334
|
-
|
53335
|
-
|
53331
|
+
var _sharedKey;
|
53332
|
+
var hasRequired_sharedKey;
|
53333
|
+
function require_sharedKey() {
|
53334
|
+
if (hasRequired_sharedKey)
|
53335
|
+
return _sharedKey;
|
53336
|
+
hasRequired_sharedKey = 1;
|
53337
|
+
var shared2 = _sharedExports("keys");
|
53338
|
+
var uid2 = _uid;
|
53339
|
+
_sharedKey = function(key2) {
|
53340
|
+
return shared2[key2] || (shared2[key2] = uid2(key2));
|
53341
|
+
};
|
53342
|
+
return _sharedKey;
|
53343
|
+
}
|
53336
53344
|
var has$9 = _has$1;
|
53337
53345
|
var toIObject$4 = _toIobject;
|
53338
53346
|
var arrayIndexOf = _arrayIncludes(false);
|
53339
|
-
var IE_PROTO$
|
53347
|
+
var IE_PROTO$1 = require_sharedKey()("IE_PROTO");
|
53340
53348
|
var _objectKeysInternal = function(object2, names) {
|
53341
53349
|
var O = toIObject$4(object2);
|
53342
53350
|
var i2 = 0;
|
53343
53351
|
var result = [];
|
53344
53352
|
var key2;
|
53345
53353
|
for (key2 in O)
|
53346
|
-
if (key2 != IE_PROTO$
|
53354
|
+
if (key2 != IE_PROTO$1)
|
53347
53355
|
has$9(O, key2) && result.push(key2);
|
53348
53356
|
while (names.length > i2)
|
53349
53357
|
if (has$9(O, key2 = names[i2++])) {
|
@@ -53353,9 +53361,9 @@ var _objectKeysInternal = function(object2, names) {
|
|
53353
53361
|
};
|
53354
53362
|
var _enumBugKeys = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",");
|
53355
53363
|
var $keys$2 = _objectKeysInternal;
|
53356
|
-
var enumBugKeys
|
53364
|
+
var enumBugKeys = _enumBugKeys;
|
53357
53365
|
var _objectKeys$1 = Object.keys || function keys(O) {
|
53358
|
-
return $keys$2(O, enumBugKeys
|
53366
|
+
return $keys$2(O, enumBugKeys);
|
53359
53367
|
};
|
53360
53368
|
var _objectGops = {};
|
53361
53369
|
_objectGops.f = Object.getOwnPropertySymbols;
|
@@ -53473,7 +53481,7 @@ function _interopRequireDefault$o(obj) {
|
|
53473
53481
|
return obj && obj.__esModule ? obj : { default: obj };
|
53474
53482
|
}
|
53475
53483
|
var _default$5 = function() {
|
53476
|
-
function
|
53484
|
+
function defineProperties3(target2, props) {
|
53477
53485
|
for (var i2 = 0; i2 < props.length; i2++) {
|
53478
53486
|
var descriptor2 = props[i2];
|
53479
53487
|
descriptor2.enumerable = descriptor2.enumerable || false;
|
@@ -53485,9 +53493,9 @@ var _default$5 = function() {
|
|
53485
53493
|
}
|
53486
53494
|
return function(Constructor, protoProps, staticProps) {
|
53487
53495
|
if (protoProps)
|
53488
|
-
|
53496
|
+
defineProperties3(Constructor.prototype, protoProps);
|
53489
53497
|
if (staticProps)
|
53490
|
-
|
53498
|
+
defineProperties3(Constructor, staticProps);
|
53491
53499
|
return Constructor;
|
53492
53500
|
};
|
53493
53501
|
}();
|
@@ -53508,19 +53516,27 @@ var _stringAt = function(TO_STRING) {
|
|
53508
53516
|
};
|
53509
53517
|
var _redefine = _hide;
|
53510
53518
|
var _iterators = {};
|
53511
|
-
var
|
53512
|
-
var
|
53513
|
-
|
53514
|
-
|
53515
|
-
|
53516
|
-
|
53517
|
-
var
|
53518
|
-
var
|
53519
|
-
var
|
53520
|
-
|
53521
|
-
|
53522
|
-
|
53523
|
-
|
53519
|
+
var _objectDps;
|
53520
|
+
var hasRequired_objectDps;
|
53521
|
+
function require_objectDps() {
|
53522
|
+
if (hasRequired_objectDps)
|
53523
|
+
return _objectDps;
|
53524
|
+
hasRequired_objectDps = 1;
|
53525
|
+
var dP2 = require_objectDp();
|
53526
|
+
var anObject2 = _anObject;
|
53527
|
+
var getKeys2 = _objectKeys$1;
|
53528
|
+
_objectDps = require_descriptors() ? Object.defineProperties : function defineProperties3(O, Properties) {
|
53529
|
+
anObject2(O);
|
53530
|
+
var keys4 = getKeys2(Properties);
|
53531
|
+
var length2 = keys4.length;
|
53532
|
+
var i2 = 0;
|
53533
|
+
var P2;
|
53534
|
+
while (length2 > i2)
|
53535
|
+
dP2.f(O, P2 = keys4[i2++], Properties[P2]);
|
53536
|
+
return O;
|
53537
|
+
};
|
53538
|
+
return _objectDps;
|
53539
|
+
}
|
53524
53540
|
var _html;
|
53525
53541
|
var hasRequired_html;
|
53526
53542
|
function require_html() {
|
@@ -53531,42 +53547,50 @@ function require_html() {
|
|
53531
53547
|
_html = document2 && document2.documentElement;
|
53532
53548
|
return _html;
|
53533
53549
|
}
|
53534
|
-
var
|
53535
|
-
var
|
53536
|
-
|
53537
|
-
|
53538
|
-
|
53539
|
-
|
53540
|
-
var
|
53541
|
-
var
|
53542
|
-
var
|
53543
|
-
var
|
53544
|
-
var
|
53545
|
-
|
53546
|
-
var
|
53547
|
-
|
53548
|
-
|
53549
|
-
|
53550
|
-
|
53551
|
-
|
53552
|
-
|
53553
|
-
|
53554
|
-
|
53555
|
-
|
53556
|
-
|
53557
|
-
|
53558
|
-
|
53559
|
-
|
53560
|
-
|
53561
|
-
|
53562
|
-
|
53563
|
-
|
53564
|
-
|
53565
|
-
|
53566
|
-
|
53567
|
-
|
53568
|
-
|
53569
|
-
|
53550
|
+
var _objectCreate;
|
53551
|
+
var hasRequired_objectCreate;
|
53552
|
+
function require_objectCreate() {
|
53553
|
+
if (hasRequired_objectCreate)
|
53554
|
+
return _objectCreate;
|
53555
|
+
hasRequired_objectCreate = 1;
|
53556
|
+
var anObject2 = _anObject;
|
53557
|
+
var dPs = require_objectDps();
|
53558
|
+
var enumBugKeys2 = _enumBugKeys;
|
53559
|
+
var IE_PROTO2 = require_sharedKey()("IE_PROTO");
|
53560
|
+
var Empty2 = function() {
|
53561
|
+
};
|
53562
|
+
var PROTOTYPE2 = "prototype";
|
53563
|
+
var createDict = function() {
|
53564
|
+
var iframe = require_domCreate()("iframe");
|
53565
|
+
var i2 = enumBugKeys2.length;
|
53566
|
+
var lt2 = "<";
|
53567
|
+
var gt2 = ">";
|
53568
|
+
var iframeDocument;
|
53569
|
+
iframe.style.display = "none";
|
53570
|
+
require_html().appendChild(iframe);
|
53571
|
+
iframe.src = "javascript:";
|
53572
|
+
iframeDocument = iframe.contentWindow.document;
|
53573
|
+
iframeDocument.open();
|
53574
|
+
iframeDocument.write(lt2 + "script" + gt2 + "document.F=Object" + lt2 + "/script" + gt2);
|
53575
|
+
iframeDocument.close();
|
53576
|
+
createDict = iframeDocument.F;
|
53577
|
+
while (i2--)
|
53578
|
+
delete createDict[PROTOTYPE2][enumBugKeys2[i2]];
|
53579
|
+
return createDict();
|
53580
|
+
};
|
53581
|
+
_objectCreate = Object.create || function create5(O, Properties) {
|
53582
|
+
var result;
|
53583
|
+
if (O !== null) {
|
53584
|
+
Empty2[PROTOTYPE2] = anObject2(O);
|
53585
|
+
result = new Empty2();
|
53586
|
+
Empty2[PROTOTYPE2] = null;
|
53587
|
+
result[IE_PROTO2] = O;
|
53588
|
+
} else
|
53589
|
+
result = createDict();
|
53590
|
+
return Properties === void 0 ? result : dPs(result, Properties);
|
53591
|
+
};
|
53592
|
+
return _objectCreate;
|
53593
|
+
}
|
53570
53594
|
var _wks = { exports: {} };
|
53571
53595
|
var store = _sharedExports("wks");
|
53572
53596
|
var uid$2 = _uid;
|
@@ -53584,7 +53608,7 @@ var _setToStringTag = function(it2, tag2, stat) {
|
|
53584
53608
|
if (it2 && !has$8(it2 = stat ? it2 : it2.prototype, TAG))
|
53585
53609
|
def$1(it2, TAG, { configurable: true, value: tag2 });
|
53586
53610
|
};
|
53587
|
-
var create$c =
|
53611
|
+
var create$c = require_objectCreate();
|
53588
53612
|
var descriptor = _propertyDesc;
|
53589
53613
|
var setToStringTag$2 = _setToStringTag;
|
53590
53614
|
var IteratorPrototype$2 = {};
|
@@ -53597,7 +53621,7 @@ var _iterCreate = function(Constructor, NAME2, next3) {
|
|
53597
53621
|
};
|
53598
53622
|
var has$7 = _has$1;
|
53599
53623
|
var toObject$2 = _toObject;
|
53600
|
-
var IE_PROTO =
|
53624
|
+
var IE_PROTO = require_sharedKey()("IE_PROTO");
|
53601
53625
|
var ObjectProto$1 = Object.prototype;
|
53602
53626
|
var _objectGpo = Object.getPrototypeOf || function(O) {
|
53603
53627
|
O = toObject$2(O);
|
@@ -53760,23 +53784,23 @@ var setMeta = function(it2) {
|
|
53760
53784
|
// weak collections IDs
|
53761
53785
|
} });
|
53762
53786
|
};
|
53763
|
-
var fastKey = function(it2,
|
53787
|
+
var fastKey = function(it2, create5) {
|
53764
53788
|
if (!isObject$h(it2))
|
53765
53789
|
return typeof it2 == "symbol" ? it2 : (typeof it2 == "string" ? "S" : "P") + it2;
|
53766
53790
|
if (!has$6(it2, META$1)) {
|
53767
53791
|
if (!isExtensible(it2))
|
53768
53792
|
return "F";
|
53769
|
-
if (!
|
53793
|
+
if (!create5)
|
53770
53794
|
return "E";
|
53771
53795
|
setMeta(it2);
|
53772
53796
|
}
|
53773
53797
|
return it2[META$1].i;
|
53774
53798
|
};
|
53775
|
-
var getWeak = function(it2,
|
53799
|
+
var getWeak = function(it2, create5) {
|
53776
53800
|
if (!has$6(it2, META$1)) {
|
53777
53801
|
if (!isExtensible(it2))
|
53778
53802
|
return true;
|
53779
|
-
if (!
|
53803
|
+
if (!create5)
|
53780
53804
|
return false;
|
53781
53805
|
setMeta(it2);
|
53782
53806
|
}
|
@@ -53885,7 +53909,7 @@ var toObject$1 = _toObject;
|
|
53885
53909
|
var toIObject = _toIobject;
|
53886
53910
|
var toPrimitive = _toPrimitive;
|
53887
53911
|
var createDesc = _propertyDesc;
|
53888
|
-
var _create$1 =
|
53912
|
+
var _create$1 = require_objectCreate();
|
53889
53913
|
var gOPNExt = _objectGopnExt;
|
53890
53914
|
var $GOPD = _objectGopd;
|
53891
53915
|
var $GOPS = _objectGops;
|
@@ -53952,7 +53976,7 @@ var $defineProperty$4 = function defineProperty2(it2, key2, D2) {
|
|
53952
53976
|
}
|
53953
53977
|
return dP(it2, key2, D2);
|
53954
53978
|
};
|
53955
|
-
var $defineProperties = function
|
53979
|
+
var $defineProperties = function defineProperties(it2, P2) {
|
53956
53980
|
anObject(it2);
|
53957
53981
|
var keys4 = enumKeys(P2 = toIObject(P2));
|
53958
53982
|
var i2 = 0;
|
@@ -53962,7 +53986,7 @@ var $defineProperties = function defineProperties2(it2, P2) {
|
|
53962
53986
|
$defineProperty$4(it2, key2 = keys4[i2++], P2[key2]);
|
53963
53987
|
return it2;
|
53964
53988
|
};
|
53965
|
-
var $create = function
|
53989
|
+
var $create = function create2(it2, P2) {
|
53966
53990
|
return P2 === void 0 ? _create$1(it2) : $defineProperties(_create$1(it2), P2);
|
53967
53991
|
};
|
53968
53992
|
var $propertyIsEnumerable = function propertyIsEnumerable(key2) {
|
@@ -54189,9 +54213,9 @@ $export$1($export$1.S, "Object", { setPrototypeOf: require_setProto().set });
|
|
54189
54213
|
var setPrototypeOf$2 = _coreExports.Object.setPrototypeOf;
|
54190
54214
|
var setPrototypeOf$1 = { "default": setPrototypeOf$2, __esModule: true };
|
54191
54215
|
var $export = _export;
|
54192
|
-
$export($export.S, "Object", { create:
|
54216
|
+
$export($export.S, "Object", { create: require_objectCreate() });
|
54193
54217
|
var $Object$2 = _coreExports.Object;
|
54194
|
-
var create$b = function
|
54218
|
+
var create$b = function create3(P2, D2) {
|
54195
54219
|
return $Object$2.create(P2, D2);
|
54196
54220
|
};
|
54197
54221
|
var create$a = { "default": create$b, __esModule: true };
|
@@ -109983,11 +110007,11 @@ class Tileset2D {
|
|
109983
110007
|
this._dirty = false;
|
109984
110008
|
}
|
109985
110009
|
}
|
109986
|
-
_getTile(index2,
|
110010
|
+
_getTile(index2, create5) {
|
109987
110011
|
const id2 = this.getTileId(index2);
|
109988
110012
|
let tile = this._cache.get(id2);
|
109989
110013
|
let needsReload = false;
|
109990
|
-
if (!tile &&
|
110014
|
+
if (!tile && create5) {
|
109991
110015
|
tile = new Tile2DHeader(index2);
|
109992
110016
|
Object.assign(tile, this.getTileMetadata(tile.index));
|
109993
110017
|
Object.assign(tile, {
|
@@ -138387,7 +138411,7 @@ var defineProperty$2 = function(object2, name2, value2, predicate) {
|
|
138387
138411
|
defineDataProperty2(object2, name2, value2);
|
138388
138412
|
}
|
138389
138413
|
};
|
138390
|
-
var
|
138414
|
+
var defineProperties2 = function(object2, map2) {
|
138391
138415
|
var predicates = arguments.length > 2 ? arguments[2] : {};
|
138392
138416
|
var props = keys$4(map2);
|
138393
138417
|
if (hasSymbols2) {
|
@@ -138397,8 +138421,8 @@ var defineProperties3 = function(object2, map2) {
|
|
138397
138421
|
defineProperty$2(object2, props[i2], map2[props[i2]], predicates[props[i2]]);
|
138398
138422
|
}
|
138399
138423
|
};
|
138400
|
-
|
138401
|
-
var defineProperties_1 =
|
138424
|
+
defineProperties2.supportsDescriptors = !!supportsDescriptors$2;
|
138425
|
+
var defineProperties_1 = defineProperties2;
|
138402
138426
|
var numberIsNaN = function(value2) {
|
138403
138427
|
return value2 !== value2;
|
138404
138428
|
};
|
@@ -172651,16 +172675,16 @@ async function getDecoder(fileDirectory) {
|
|
172651
172675
|
const Decoder = await importFn();
|
172652
172676
|
return new Decoder(fileDirectory);
|
172653
172677
|
}
|
172654
|
-
addDecoder([void 0, 1], () => import("./raw-
|
172655
|
-
addDecoder(5, () => import("./lzw-
|
172678
|
+
addDecoder([void 0, 1], () => import("./raw-bb9d619e.js").then((m2) => m2.default));
|
172679
|
+
addDecoder(5, () => import("./lzw-5013a0fa.js").then((m2) => m2.default));
|
172656
172680
|
addDecoder(6, () => {
|
172657
172681
|
throw new Error("old style JPEG compression is not supported.");
|
172658
172682
|
});
|
172659
|
-
addDecoder(7, () => import("./jpeg-
|
172660
|
-
addDecoder([8, 32946], () => import("./deflate-
|
172661
|
-
addDecoder(32773, () => import("./packbits-
|
172662
|
-
addDecoder(34887, () => import("./lerc-
|
172663
|
-
addDecoder(50001, () => import("./webimage-
|
172683
|
+
addDecoder(7, () => import("./jpeg-5fe084a0.js").then((m2) => m2.default));
|
172684
|
+
addDecoder([8, 32946], () => import("./deflate-bd057fd5.js").then((m2) => m2.default));
|
172685
|
+
addDecoder(32773, () => import("./packbits-8141bdd6.js").then((m2) => m2.default));
|
172686
|
+
addDecoder(34887, () => import("./lerc-d322fa2d.js").then((m2) => m2.default));
|
172687
|
+
addDecoder(50001, () => import("./webimage-dcad2a16.js").then((m2) => m2.default));
|
172664
172688
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
172665
172689
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
172666
172690
|
}
|
@@ -188292,18 +188316,18 @@ function selection_lower() {
|
|
188292
188316
|
return this.each(lower);
|
188293
188317
|
}
|
188294
188318
|
function selection_append(name2) {
|
188295
|
-
var
|
188319
|
+
var create5 = typeof name2 === "function" ? name2 : creator(name2);
|
188296
188320
|
return this.select(function() {
|
188297
|
-
return this.appendChild(
|
188321
|
+
return this.appendChild(create5.apply(this, arguments));
|
188298
188322
|
});
|
188299
188323
|
}
|
188300
188324
|
function constantNull() {
|
188301
188325
|
return null;
|
188302
188326
|
}
|
188303
188327
|
function selection_insert(name2, before) {
|
188304
|
-
var
|
188328
|
+
var create5 = typeof name2 === "function" ? name2 : creator(name2), select2 = before == null ? constantNull : typeof before === "function" ? before : selector(before);
|
188305
188329
|
return this.select(function() {
|
188306
|
-
return this.insertBefore(
|
188330
|
+
return this.insertBefore(create5.apply(this, arguments), select2.apply(this, arguments) || null);
|
188307
188331
|
});
|
188308
188332
|
}
|
188309
188333
|
function remove$1() {
|
@@ -192730,12 +192754,14 @@ function ChannelNamesLegend(props) {
|
|
192730
192754
|
var _a3, _b3;
|
192731
192755
|
const { spatialTargetC, spatialChannelVisible, spatialChannelColor } = channelCoordination[cScope];
|
192732
192756
|
const rgbColor = colorArrayToString(spatialChannelColor);
|
192733
|
-
const
|
192734
|
-
const
|
192757
|
+
const imageWrapperInstance = (_b3 = (_a3 = images == null ? void 0 : images[layerScope]) == null ? void 0 : _a3.image) == null ? void 0 : _b3.instance;
|
192758
|
+
const channelNames = imageWrapperInstance == null ? void 0 : imageWrapperInstance.getChannelNames();
|
192759
|
+
const channelIndex = imageWrapperInstance == null ? void 0 : imageWrapperInstance.getChannelIndex(spatialTargetC);
|
192760
|
+
const channelName = channelNames == null ? void 0 : channelNames[channelIndex];
|
192735
192761
|
return spatialLayerVisible && spatialChannelVisible && spatialChannelLabelsVisible ? jsxRuntimeExports.jsx(Typography$1, { variant: "h6", className: classes.channelNameText, style: {
|
192736
192762
|
color: rgbColor,
|
192737
192763
|
fontSize: `${spatialChannelLabelSize}px`
|
192738
|
-
}, children: channelName }, `${layerScope}-${cScope}-${
|
192764
|
+
}, children: channelName }, `${layerScope}-${cScope}-${channelIndex}-${rgbColor}`) : null;
|
192739
192765
|
}) }, layerScope) : null;
|
192740
192766
|
}) : null });
|
192741
192767
|
}
|
@@ -193597,7 +193623,7 @@ var typedFunction$1 = { exports: {} };
|
|
193597
193623
|
function undef() {
|
193598
193624
|
return void 0;
|
193599
193625
|
}
|
193600
|
-
function
|
193626
|
+
function create5() {
|
193601
193627
|
var _types = [
|
193602
193628
|
{ name: "number", test: function(x2) {
|
193603
193629
|
return typeof x2 === "number";
|
@@ -194349,7 +194375,7 @@ var typedFunction$1 = { exports: {} };
|
|
194349
194375
|
return createTypedFunction(name2, extractSignatures(fns));
|
194350
194376
|
}
|
194351
194377
|
});
|
194352
|
-
typed2.create =
|
194378
|
+
typed2.create = create5;
|
194353
194379
|
typed2.types = _types;
|
194354
194380
|
typed2.conversions = _conversions;
|
194355
194381
|
typed2.ignore = _ignore;
|
@@ -194380,7 +194406,7 @@ var typedFunction$1 = { exports: {} };
|
|
194380
194406
|
};
|
194381
194407
|
return typed2;
|
194382
194408
|
}
|
194383
|
-
return
|
194409
|
+
return create5();
|
194384
194410
|
});
|
194385
194411
|
})(typedFunction$1);
|
194386
194412
|
var typedFunctionExports = typedFunction$1.exports;
|
@@ -195092,11 +195118,11 @@ function getArrayDataType(array2, typeOf2) {
|
|
195092
195118
|
}
|
195093
195119
|
return type2;
|
195094
195120
|
}
|
195095
|
-
function factory(name2, dependencies2,
|
195121
|
+
function factory(name2, dependencies2, create5, meta2) {
|
195096
195122
|
function assertAndCreate(scope) {
|
195097
195123
|
var deps = pickShallow(scope, dependencies2.map(stripOptionalNotation));
|
195098
195124
|
assertDependencies(name2, dependencies2, scope);
|
195099
|
-
return
|
195125
|
+
return create5(deps);
|
195100
195126
|
}
|
195101
195127
|
assertAndCreate.isFactory = true;
|
195102
195128
|
assertAndCreate.fn = name2;
|
@@ -213171,11 +213197,14 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
|
|
213171
213197
|
const visible = layerCoordination[CoordinationType$1.SPATIAL_LAYER_VISIBLE];
|
213172
213198
|
const layerDefModelMatrix = (_d3 = (_c3 = image2 == null ? void 0 : image2.obsSegmentations) == null ? void 0 : _c3.instance) == null ? void 0 : _d3.getModelMatrix();
|
213173
213199
|
let selections;
|
213174
|
-
const nextLoaderSelection = channelScopes.map((cScope) =>
|
213175
|
-
|
213176
|
-
|
213177
|
-
|
213178
|
-
|
213200
|
+
const nextLoaderSelection = channelScopes.map((cScope) => {
|
213201
|
+
var _a4, _b4;
|
213202
|
+
return filterSelection(data2, {
|
213203
|
+
z: targetZ,
|
213204
|
+
t: targetT,
|
213205
|
+
c: (_b4 = (_a4 = image2 == null ? void 0 : image2.obsSegmentations) == null ? void 0 : _a4.instance) == null ? void 0 : _b4.getChannelIndex(channelCoordination[cScope][CoordinationType$1.SPATIAL_TARGET_C])
|
213206
|
+
});
|
213207
|
+
});
|
213179
213208
|
const prevLoaderSelection = this.segmentationLayerLoaderSelections[layerScope];
|
213180
213209
|
if (isEqual$5(prevLoaderSelection, nextLoaderSelection)) {
|
213181
213210
|
selections = prevLoaderSelection;
|
@@ -213272,11 +213301,14 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
|
|
213272
213301
|
z: targetZ,
|
213273
213302
|
t: targetT,
|
213274
213303
|
c: targetC
|
213275
|
-
})) : channelScopes.map((cScope) =>
|
213276
|
-
|
213277
|
-
|
213278
|
-
|
213279
|
-
|
213304
|
+
})) : channelScopes.map((cScope) => {
|
213305
|
+
var _a4, _b4;
|
213306
|
+
return filterSelection(data2, {
|
213307
|
+
z: targetZ,
|
213308
|
+
t: targetT,
|
213309
|
+
c: (_b4 = (_a4 = image2 == null ? void 0 : image2.image) == null ? void 0 : _a4.instance) == null ? void 0 : _b4.getChannelIndex(channelCoordination[cScope][CoordinationType$1.SPATIAL_TARGET_C])
|
213310
|
+
});
|
213311
|
+
});
|
213280
213312
|
const prevLoaderSelection = this.imageLayerLoaderSelections[layerScope];
|
213281
213313
|
if (isEqual$5(prevLoaderSelection, nextLoaderSelection)) {
|
213282
213314
|
selections = prevLoaderSelection;
|
@@ -214038,7 +214070,7 @@ class ErrorBoundary extends React__default.Component {
|
|
214038
214070
|
}
|
214039
214071
|
}
|
214040
214072
|
const LazySpatialThree = React__default.lazy(async () => {
|
214041
|
-
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-
|
214073
|
+
const { SpatialWrapper: SpatialWrapper2 } = await import("./index-908956f5.js");
|
214042
214074
|
return { default: SpatialWrapper2 };
|
214043
214075
|
});
|
214044
214076
|
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 }) }) }) }));
|
@@ -222826,7 +222858,8 @@ function ImageLayerController(props) {
|
|
222826
222858
|
return jsxRuntimeExports.jsx(Grid$3, { item: true, className: controllerSectionClasses.layerControllerGrid, children: jsxRuntimeExports.jsxs(M$1, { className: controllerSectionClasses.layerControllerRoot, children: [jsxRuntimeExports.jsxs(Grid$3, { container: true, direction: "row", justifyContent: "space-between", children: [jsxRuntimeExports.jsx(Grid$3, { item: true, xs: 1, children: jsxRuntimeExports.jsx(Button$1, { className: menuClasses.imageLayerVisibleButton, onClick: handleVisibleChange, "aria-label": "Toggle layer visibility", children: jsxRuntimeExports.jsx(Visibility, {}) }) }), jsxRuntimeExports.jsx(Grid$3, { item: true, xs: 1 }), jsxRuntimeExports.jsx(Grid$3, { item: true, xs: 6, children: jsxRuntimeExports.jsx(Typography$1, { className: menuClasses.imageLayerName, children: label2 }) }), jsxRuntimeExports.jsx(Grid$3, { item: true, xs: 2, children: jsxRuntimeExports.jsx(Slider$1, { value: opacity2, min: 0, max: 1, step: 1e-3, onChange: handleOpacityChange, className: menuClasses.imageLayerOpacitySlider, orientation: "horizontal", "aria-label": `Adjust opacity for layer ${label2}` }) }), jsxRuntimeExports.jsx(Grid$3, { item: true, xs: 1, children: jsxRuntimeExports.jsx(ImageLayerEllipsisMenu, { colormap, setColormap, photometricInterpretation, setPhotometricInterpretation, spatialTargetResolution, setSpatialTargetResolution, volumetricRenderingAlgorithm, setVolumetricRenderingAlgorithm, spatialLayerTransparentColor, setSpatialLayerTransparentColor, spatialRenderingMode, image: image2, channelScopes, tooltipsVisible, setTooltipsVisible, channelLabelsVisible, setChannelLabelsVisible, channelLabelsOrientation, setChannelLabelsOrientation, channelLabelSize, setChannelLabelSize }) }), jsxRuntimeExports.jsxs(Grid$3, { item: true, xs: 1, container: true, direction: "row", children: [jsxRuntimeExports.jsx(ImageIcon, { className: classes.layerTypeImageIcon }), isMultiChannel ? jsxRuntimeExports.jsx(Button$1, { onClick: handleOpenChange, className: classes.channelExpansionButton, "aria-label": "Expand or collapse channel controls", children: open2 ? jsxRuntimeExports.jsx(ExpandLess, {}) : jsxRuntimeExports.jsx(ExpandMoreIcon, {}) }) : null] })] }), isMultiChannel && open2 ? jsxRuntimeExports.jsxs(Grid$3, { container: true, direction: "column", justifyContent: "space-between", className: classes.imageChannelControllerGrid, children: [channelScopes.map((cScope) => {
|
222827
222859
|
const { spatialTargetC, spatialChannelVisible, spatialChannelOpacity, spatialChannelColor, spatialChannelWindow } = channelCoordination[cScope];
|
222828
222860
|
const { setSpatialTargetC, setSpatialChannelVisible, setSpatialChannelOpacity, setSpatialChannelColor, setSpatialChannelWindow } = setChannelCoordination[cScope];
|
222829
|
-
|
222861
|
+
const channelIndex = image2 == null ? void 0 : image2.getChannelIndex(spatialTargetC);
|
222862
|
+
return jsxRuntimeExports.jsx(ImageChannelController, { theme, coordinationScopesRaw, layerScope, channelScope: cScope, targetT, targetZ, targetC: channelIndex, setTargetC: setSpatialTargetC, visible: spatialChannelVisible, setVisible: setSpatialChannelVisible, opacity: spatialChannelOpacity, setOpacity: setSpatialChannelOpacity, color: spatialChannelColor, setColor: setSpatialChannelColor, window: spatialChannelWindow, setWindow: setSpatialChannelWindow, colormapOn: colormap !== null, featureIndex, image: image2, spatialRenderingMode }, cScope);
|
222830
222863
|
}), jsxRuntimeExports.jsx(Button$1, { disabled: channelScopes.length === MAX_CHANNELS$1 || channelScopes.length === imageNumChannels, onClick: handleChannelAdd, fullWidth: true, variant: "outlined", className: classes.imageLayerButton, startIcon: jsxRuntimeExports.jsx(AddIcon, {}), size: "small", "aria-label": "Add a channel to this layer", children: "Add Channel" })] }) : null, is3dMode && image2 ? jsxRuntimeExports.jsxs(Grid$3, { container: true, direction: "column", justifyContent: "space-between", className: classes.imageChannelControllerGrid, children: [jsxRuntimeExports.jsx(Typography$1, { className: classes.clippingPanesLabel, children: "Clipping planes:" }), jsxRuntimeExports.jsx(Grid$3, { item: true, xs: 12, className: classes.clippingSliders, children: jsxRuntimeExports.jsx(ClippingSliders, { image: image2, spatialSliceX, spatialSliceY, spatialSliceZ, setSpatialSliceX, setSpatialSliceY, setSpatialSliceZ }) })] }) : null] }) });
|
222831
222864
|
}
|
222832
222865
|
const useStyles$5 = makeStyles((theme) => ({
|
@@ -224602,7 +224635,7 @@ const useStyles$3 = makeStyles((theme) => ({
|
|
224602
224635
|
}));
|
224603
224636
|
register({ dataFetcher: ZarrMultivecDataFetcher_default, config: ZarrMultivecDataFetcher_default.config }, { pluginType: "dataFetcher" });
|
224604
224637
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
224605
|
-
const { HiGlassComponent } = await import("./higlass-
|
224638
|
+
const { HiGlassComponent } = await import("./higlass-49ce7d9f.js");
|
224606
224639
|
return { default: HiGlassComponent };
|
224607
224640
|
});
|
224608
224641
|
const HG_SIZE = 800;
|
@@ -255262,8 +255295,8 @@ function bind3(view, el2, binding) {
|
|
255262
255295
|
bind4.update = debounce(param2.debounce, bind4.update);
|
255263
255296
|
}
|
255264
255297
|
}
|
255265
|
-
const
|
255266
|
-
|
255298
|
+
const create5 = param2.input == null && param2.element ? target : generate$1;
|
255299
|
+
create5(bind4, el2, param2, view);
|
255267
255300
|
if (!bind4.active) {
|
255268
255301
|
view.on(view._signals[param2.signal], null, () => {
|
255269
255302
|
bind4.source ? bind4.source = false : bind4.set(view.signal(param2.signal));
|
@@ -293682,7 +293715,7 @@ function createStyleFunction(obj) {
|
|
293682
293715
|
}
|
293683
293716
|
const Feature$1 = Feature;
|
293684
293717
|
new Array(6);
|
293685
|
-
function
|
293718
|
+
function create4() {
|
293686
293719
|
return [1, 0, 0, 1, 0, 0];
|
293687
293720
|
}
|
293688
293721
|
function compose(transform4, dx1, dy1, sx, sy, angle2, dx2, dy2) {
|
@@ -294351,7 +294384,7 @@ function translate(flatCoordinates, offset6, end, stride, deltaX, deltaY, dest)
|
|
294351
294384
|
}
|
294352
294385
|
return dest;
|
294353
294386
|
}
|
294354
|
-
const tmpTransform =
|
294387
|
+
const tmpTransform = create4();
|
294355
294388
|
class Geometry2 extends BaseObject$1 {
|
294356
294389
|
constructor() {
|
294357
294390
|
super();
|
@@ -299845,6 +299878,17 @@ class ImageWrapper {
|
|
299845
299878
|
}
|
299846
299879
|
return [];
|
299847
299880
|
}
|
299881
|
+
getChannelIndex(channelSpecifier) {
|
299882
|
+
if (typeof channelSpecifier === "number") {
|
299883
|
+
return channelSpecifier;
|
299884
|
+
}
|
299885
|
+
const channelNames = this.getChannelNames();
|
299886
|
+
const channelIndex = channelNames.indexOf(channelSpecifier);
|
299887
|
+
if (channelIndex === -1) {
|
299888
|
+
console.error(`Channel ${channelSpecifier} not found in image.`);
|
299889
|
+
}
|
299890
|
+
return channelIndex;
|
299891
|
+
}
|
299848
299892
|
// TODO: support passing a custom color palette array.
|
299849
299893
|
getChannelObjects() {
|
299850
299894
|
if ("image-label" in this.vivLoader.metadata) {
|
@@ -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 Ray$1, q as Plane, E as EventDispatcher, r as MOUSE, s as TOUCH, Q as Quaternion, t as Spherical, u as Loader, v as LoaderUtils, F as FileLoader, w as SpotLight, x as PointLight, D as DirectionalLight, y as MeshBasicMaterial, z as MeshPhysicalMaterial, I as InstancedMesh, H as Object3D, J as TextureLoader, K as ImageBitmapLoader, X as BufferAttribute, Y as InterleavedBuffer, Z as LinearFilter, $ as LinearMipmapLinearFilter, a0 as RepeatWrapping, a1 as PointsMaterial, a2 as LineBasicMaterial, a3 as MeshStandardMaterial, a4 as DoubleSide, a5 as PropertyBinding, a6 as SkinnedMesh, a7 as Mesh, a8 as LineSegments, a9 as Line$1, aa as LineLoop, ab as Points, ac as MathUtils, ad as Skeleton, ae as InterpolateLinear, af as AnimationClip, ag as Bone, ah as NearestFilter, ai as NearestMipmapNearestFilter, aj as LinearMipmapNearestFilter, ak as NearestMipmapLinearFilter, al as ClampToEdgeWrapping, am as MirroredRepeatWrapping, an as InterpolateDiscrete, ao as FrontSide, ap as InterleavedBufferAttribute, aq as VectorKeyframeTrack, ar as QuaternionKeyframeTrack, as as NumberKeyframeTrack, at as Box3, au as Sphere, av as Interpolant, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, 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 Ray$1, q as Plane, E as EventDispatcher, r as MOUSE, s as TOUCH, Q as Quaternion, t as Spherical, u as Loader, v as LoaderUtils, F as FileLoader, w as SpotLight, x as PointLight, D as DirectionalLight, y as MeshBasicMaterial, z as MeshPhysicalMaterial, I as InstancedMesh, H as Object3D, J as TextureLoader, K as ImageBitmapLoader, X as BufferAttribute, Y as InterleavedBuffer, Z as LinearFilter, $ as LinearMipmapLinearFilter, a0 as RepeatWrapping, a1 as PointsMaterial, a2 as LineBasicMaterial, a3 as MeshStandardMaterial, a4 as DoubleSide, a5 as PropertyBinding, a6 as SkinnedMesh, a7 as Mesh, a8 as LineSegments, a9 as Line$1, aa as LineLoop, ab as Points, ac as MathUtils, ad as Skeleton, ae as InterpolateLinear, af as AnimationClip, ag as Bone, ah as NearestFilter, ai as NearestMipmapNearestFilter, aj as LinearMipmapNearestFilter, ak as NearestMipmapLinearFilter, al as ClampToEdgeWrapping, am as MirroredRepeatWrapping, an as InterpolateDiscrete, ao as FrontSide, ap as InterleavedBufferAttribute, aq as VectorKeyframeTrack, ar as QuaternionKeyframeTrack, as as NumberKeyframeTrack, at as Box3, au as Sphere, av as Interpolant, aw as InstancedBufferGeometry, ax as Float32BufferAttribute, ay as InstancedInterleavedBuffer, az as WireframeGeometry, aA as ShaderMaterial, aB as UniformsUtils, aC as UniformsLib, aD as Vector4, aE as Line3, aF as SphereGeometry, 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-195bc2aa.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-d11f4b55.js"), []);
|
23804
23804
|
const invalidate2 = useThree(({
|
23805
23805
|
invalidate: invalidate3
|
23806
23806
|
}) => invalidate3);
|
@@ -28147,7 +28147,7 @@ function extractInformationFromProps(layerScope, layerCoordination, channelScope
|
|
28147
28147
|
visible && true
|
28148
28148
|
] : channelScopes.map((cScope) => (
|
28149
28149
|
// Layer visible AND channel visible
|
28150
|
-
visible && channelCoordination[cScope][CoordinationType.SPATIAL_TARGET_C]
|
28150
|
+
visible && imageWrapperInstance.getChannelIndex(channelCoordination[cScope][CoordinationType.SPATIAL_TARGET_C])
|
28151
28151
|
));
|
28152
28152
|
const autoTargetResolution = imageWrapperInstance.getAutoTargetResolution();
|
28153
28153
|
const targetResolution = layerCoordination[CoordinationType.SPATIAL_TARGET_RESOLUTION];
|
package/dist/index.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { b4, b2, b0, b3, b1, a$, b5 } from "./index-
|
2
|
-
import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull } from "@vitessce/vit-s";
|
1
|
+
import { b4, b2, b0, b3, b1, a$, b5 } from "./index-195bc2aa.js";
|
2
|
+
import { useComplexCoordination, useComplexCoordinationSecondary, useCoordination, useCoordinationScopes, useCoordinationScopesBy, useGridItemSize, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, usePageModeView } from "@vitessce/vit-s";
|
3
3
|
import "react";
|
4
4
|
import "react-dom";
|
5
5
|
export {
|
@@ -17,5 +17,6 @@ export {
|
|
17
17
|
useGridItemSize,
|
18
18
|
useMultiCoordinationScopesNonNull,
|
19
19
|
useMultiCoordinationScopesSecondaryNonNull,
|
20
|
+
usePageModeView,
|
20
21
|
b5 as z
|
21
22
|
};
|
@@ -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-195bc2aa.js";
|
3
3
|
import "react";
|
4
4
|
import "@vitessce/vit-s";
|
5
5
|
import "react-dom";
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { aB as UniformsUtils, aV as MeshDepthMaterial, aW as RGBADepthPacking, aX as MeshDistanceMaterial, aY as ShaderChunk, T as Texture, Z as LinearFilter, aw as InstancedBufferGeometry, au as Sphere, at as Box3, aH as BackSide, a4 as DoubleSide, aZ as InstancedBufferAttribute, V as Vector2, aD as Vector4, h as Color, aJ as Matrix3, a7 as Mesh, ao as FrontSide, a_ as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, y as MeshBasicMaterial, k as Matrix4, b as Vector3 } from "./index-
|
1
|
+
import { aB as UniformsUtils, aV as MeshDepthMaterial, aW as RGBADepthPacking, aX as MeshDistanceMaterial, aY as ShaderChunk, T as Texture, Z as LinearFilter, aw as InstancedBufferGeometry, au as Sphere, at as Box3, aH as BackSide, a4 as DoubleSide, aZ as InstancedBufferAttribute, V as Vector2, aD as Vector4, h as Color, aJ as Matrix3, a7 as Mesh, ao as FrontSide, a_ as PlaneGeometry, f as BufferGeometry, ax as Float32BufferAttribute, y as MeshBasicMaterial, k as Matrix4, b as Vector3 } from "./index-195bc2aa.js";
|
2
2
|
import "react";
|
3
3
|
import "@vitessce/vit-s";
|
4
4
|
import "react-dom";
|
package/dist-tsc/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
export { Vitessce } from './Vitessce.js';
|
2
2
|
export { PluginFileType, PluginViewType, PluginCoordinationType, PluginJointFileType, PluginAsyncFunction, } from '@vitessce/plugins';
|
3
3
|
export { z } from '@vitessce/schemas';
|
4
|
-
export { useCoordination, useGridItemSize, useComplexCoordination, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, useComplexCoordinationSecondary, useCoordinationScopes, useCoordinationScopesBy, } from '@vitessce/vit-s';
|
4
|
+
export { useCoordination, useGridItemSize, usePageModeView, useComplexCoordination, useMultiCoordinationScopesNonNull, useMultiCoordinationScopesSecondaryNonNull, useComplexCoordinationSecondary, useCoordinationScopes, useCoordinationScopesBy, } from '@vitessce/vit-s';
|
5
5
|
//# sourceMappingURL=index.d.ts.map
|
package/dist-tsc/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EACL,cAAc,EACd,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EACL,eAAe,EACf,eAAe,EAIf,sBAAsB,EACtB,iCAAiC,EACjC,0CAA0C,EAC1C,+BAA+B,EAC/B,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,iBAAiB,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EACL,cAAc,EACd,cAAc,EACd,sBAAsB,EACtB,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,CAAC,EAAE,MAAM,mBAAmB,CAAC;AACtC,OAAO,EACL,eAAe,EACf,eAAe,EACf,eAAe,EAIf,sBAAsB,EACtB,iCAAiC,EACjC,0CAA0C,EAC1C,+BAA+B,EAC/B,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,iBAAiB,CAAC"}
|
package/dist-tsc/index.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
export { Vitessce } from './Vitessce.js';
|
2
2
|
export { PluginFileType, PluginViewType, PluginCoordinationType, PluginJointFileType, PluginAsyncFunction, } from '@vitessce/plugins';
|
3
3
|
export { z } from '@vitessce/schemas';
|
4
|
-
export { useCoordination, useGridItemSize,
|
4
|
+
export { useCoordination, useGridItemSize, usePageModeView,
|
5
5
|
// TODO: names and function signatures are subject to change
|
6
6
|
// for the following functions
|
7
7
|
// Reference: https://github.com/keller-mark/use-coordination/issues/37#issuecomment-1946226827
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vitessce/all",
|
3
|
-
"version": "3.5.
|
3
|
+
"version": "3.5.1",
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
5
5
|
"homepage": "http://vitessce.io",
|
6
6
|
"repository": {
|
@@ -18,30 +18,30 @@
|
|
18
18
|
"dependencies": {
|
19
19
|
"@material-ui/core": "~4.12.3",
|
20
20
|
"zod": "^3.21.4",
|
21
|
-
"@vitessce/constants-internal": "3.5.
|
22
|
-
"@vitessce/csv": "3.5.
|
23
|
-
"@vitessce/description": "3.5.
|
24
|
-
"@vitessce/feature-list": "3.5.
|
25
|
-
"@vitessce/genomic-profiles": "3.5.
|
26
|
-
"@vitessce/heatmap": "3.5.
|
27
|
-
"@vitessce/glb": "3.5.
|
28
|
-
"@vitessce/json": "3.5.
|
29
|
-
"@vitessce/layer-controller": "3.5.
|
30
|
-
"@vitessce/layer-controller-beta": "3.5.
|
31
|
-
"@vitessce/obs-sets-manager": "3.5.
|
32
|
-
"@vitessce/ome-tiff": "3.5.
|
33
|
-
"@vitessce/plugins": "3.5.
|
34
|
-
"@vitessce/scatterplot-embedding": "3.5.
|
35
|
-
"@vitessce/scatterplot-gating": "3.5.
|
36
|
-
"@vitessce/schemas": "3.5.
|
37
|
-
"@vitessce/spatial": "3.5.
|
38
|
-
"@vitessce/spatial-beta": "3.5.
|
39
|
-
"@vitessce/statistical-plots": "3.5.
|
40
|
-
"@vitessce/status": "3.5.
|
41
|
-
"@vitessce/vit-s": "3.5.
|
42
|
-
"@vitessce/zarr": "3.5.
|
43
|
-
"@vitessce/spatial-three": "3.5.
|
44
|
-
"@vitessce/biomarker-select": "3.5.
|
21
|
+
"@vitessce/constants-internal": "3.5.1",
|
22
|
+
"@vitessce/csv": "3.5.1",
|
23
|
+
"@vitessce/description": "3.5.1",
|
24
|
+
"@vitessce/feature-list": "3.5.1",
|
25
|
+
"@vitessce/genomic-profiles": "3.5.1",
|
26
|
+
"@vitessce/heatmap": "3.5.1",
|
27
|
+
"@vitessce/glb": "3.5.1",
|
28
|
+
"@vitessce/json": "3.5.1",
|
29
|
+
"@vitessce/layer-controller": "3.5.1",
|
30
|
+
"@vitessce/layer-controller-beta": "3.5.1",
|
31
|
+
"@vitessce/obs-sets-manager": "3.5.1",
|
32
|
+
"@vitessce/ome-tiff": "3.5.1",
|
33
|
+
"@vitessce/plugins": "3.5.1",
|
34
|
+
"@vitessce/scatterplot-embedding": "3.5.1",
|
35
|
+
"@vitessce/scatterplot-gating": "3.5.1",
|
36
|
+
"@vitessce/schemas": "3.5.1",
|
37
|
+
"@vitessce/spatial": "3.5.1",
|
38
|
+
"@vitessce/spatial-beta": "3.5.1",
|
39
|
+
"@vitessce/statistical-plots": "3.5.1",
|
40
|
+
"@vitessce/status": "3.5.1",
|
41
|
+
"@vitessce/vit-s": "3.5.1",
|
42
|
+
"@vitessce/zarr": "3.5.1",
|
43
|
+
"@vitessce/spatial-three": "3.5.1",
|
44
|
+
"@vitessce/biomarker-select": "3.5.1"
|
45
45
|
},
|
46
46
|
"devDependencies": {
|
47
47
|
"@types/react": "^18.0.28",
|
package/src/index.ts
CHANGED
@@ -10,6 +10,7 @@ export { z } from '@vitessce/schemas';
|
|
10
10
|
export {
|
11
11
|
useCoordination,
|
12
12
|
useGridItemSize,
|
13
|
+
usePageModeView,
|
13
14
|
// TODO: names and function signatures are subject to change
|
14
15
|
// for the following functions
|
15
16
|
// Reference: https://github.com/keller-mark/use-coordination/issues/37#issuecomment-1946226827
|