@vitessce/vit-s 3.9.5 → 4.0.0-test.0
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/{blosc-B8fjEpk7.js → blosc-DvQQ1ST0.js} +18 -19
- package/dist/index.js +2310 -3780
- package/dist/{lz4-C9lm_i9S.js → lz4-BIbM36RN.js} +13 -17
- package/dist/{zstd-y75FARxZ.js → zstd-CO575QiM.js} +15 -21
- package/dist-tsc/FallbackForView.d.ts +1 -1
- package/dist-tsc/FallbackForView.d.ts.map +1 -1
- package/dist-tsc/FallbackForVitS.d.ts +1 -1
- package/dist-tsc/FallbackForVitS.d.ts.map +1 -1
- package/dist-tsc/LoadingIndicator.d.ts +1 -1
- package/dist-tsc/LoadingIndicator.d.ts.map +1 -1
- package/dist-tsc/Sidebar.d.ts +1 -1
- package/dist-tsc/Sidebar.d.ts.map +1 -1
- package/dist-tsc/TitleInfo.d.ts +1 -1
- package/dist-tsc/TitleInfo.d.ts.map +1 -1
- package/dist-tsc/TitleInfo.js +5 -5
- package/dist-tsc/VitS.d.ts +1 -1
- package/dist-tsc/VitS.d.ts.map +1 -1
- package/dist-tsc/VitSContainer.d.ts +1 -1
- package/dist-tsc/VitSContainer.d.ts.map +1 -1
- package/dist-tsc/VitessceGrid.d.ts +1 -1
- package/dist-tsc/VitessceGrid.d.ts.map +1 -1
- package/dist-tsc/shared-mui/components.d.ts +1 -1
- package/dist-tsc/shared-mui/components.d.ts.map +1 -1
- package/dist-tsc/shared-mui/container.d.ts +1 -1
- package/dist-tsc/shared-mui/container.d.ts.map +1 -1
- package/dist-tsc/shared-plot-options/CellColorEncodingOption.d.ts +1 -1
- package/dist-tsc/shared-plot-options/CellColorEncodingOption.d.ts.map +1 -1
- package/dist-tsc/shared-plot-options/OptionSelect.d.ts +1 -1
- package/dist-tsc/shared-plot-options/OptionSelect.d.ts.map +1 -1
- package/dist-tsc/shared-plot-options/OptionsContainer.d.ts +1 -1
- package/dist-tsc/shared-plot-options/OptionsContainer.d.ts.map +1 -1
- package/dist-tsc/state/hooks.d.ts +2 -2
- package/dist-tsc/state/hooks.d.ts.map +1 -1
- package/package.json +16 -16
- package/src/TitleInfo.js +22 -3
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
var _a;
|
|
5
1
|
import { _ as __toBinary } from "./chunk-INHXZS53-DHVJiuU3.js";
|
|
6
2
|
var lz4_codec = (() => {
|
|
7
3
|
typeof document !== "undefined" && document.currentScript ? document.currentScript.src : void 0;
|
|
@@ -36,8 +32,7 @@ var lz4_codec = (() => {
|
|
|
36
32
|
}
|
|
37
33
|
var I = 0, L = null;
|
|
38
34
|
function x(a) {
|
|
39
|
-
|
|
40
|
-
(_a2 = f.onAbort) == null ? void 0 : _a2.call(f, a);
|
|
35
|
+
f.onAbort?.(a);
|
|
41
36
|
a = "Aborted(" + a + ")";
|
|
42
37
|
u(a);
|
|
43
38
|
da = true;
|
|
@@ -290,7 +285,7 @@ var lz4_codec = (() => {
|
|
|
290
285
|
}
|
|
291
286
|
return c;
|
|
292
287
|
}, $a = (a, b, c) => {
|
|
293
|
-
c
|
|
288
|
+
c ??= 2147483647;
|
|
294
289
|
if (2 > c)
|
|
295
290
|
return 0;
|
|
296
291
|
c -= 2;
|
|
@@ -310,7 +305,7 @@ var lz4_codec = (() => {
|
|
|
310
305
|
}
|
|
311
306
|
return d;
|
|
312
307
|
}, cb = (a, b, c) => {
|
|
313
|
-
c
|
|
308
|
+
c ??= 2147483647;
|
|
314
309
|
if (4 > c)
|
|
315
310
|
return 0;
|
|
316
311
|
var d = b;
|
|
@@ -681,22 +676,20 @@ var lz4_codec = (() => {
|
|
|
681
676
|
}
|
|
682
677
|
return false;
|
|
683
678
|
} }, Y = function() {
|
|
684
|
-
var _a2;
|
|
685
679
|
function a(c) {
|
|
686
|
-
var _a3;
|
|
687
680
|
Y = c.exports;
|
|
688
681
|
z = Y.r;
|
|
689
682
|
ha();
|
|
690
683
|
Na = Y.w;
|
|
691
684
|
ja.unshift(Y.s);
|
|
692
685
|
I--;
|
|
693
|
-
|
|
686
|
+
f.monitorRunDependencies?.(I);
|
|
694
687
|
0 == I && (L && (c = L, L = null, c()));
|
|
695
688
|
return Y;
|
|
696
689
|
}
|
|
697
690
|
var b = { a: gb };
|
|
698
691
|
I++;
|
|
699
|
-
|
|
692
|
+
f.monitorRunDependencies?.(I);
|
|
700
693
|
if (f.instantiateWasm)
|
|
701
694
|
try {
|
|
702
695
|
return f.instantiateWasm(
|
|
@@ -756,17 +749,20 @@ var DEFAULT_ACCELERATION = 1;
|
|
|
756
749
|
var MAX_BUFFER_SIZE = 2113929216;
|
|
757
750
|
var emscriptenModule;
|
|
758
751
|
var init = () => lz4_codec_default({ noInitialRun: true, wasmBinary: lz4_codec_default2 });
|
|
759
|
-
var LZ4 =
|
|
752
|
+
var LZ4 = class LZ42 {
|
|
753
|
+
static codecId = "lz4";
|
|
754
|
+
static DEFAULT_ACCELERATION = DEFAULT_ACCELERATION;
|
|
755
|
+
static max_buffer_size = MAX_BUFFER_SIZE;
|
|
756
|
+
max_buffer_size = MAX_BUFFER_SIZE;
|
|
757
|
+
acceleration;
|
|
760
758
|
constructor(acceleration = DEFAULT_ACCELERATION) {
|
|
761
|
-
__publicField(this, "max_buffer_size", MAX_BUFFER_SIZE);
|
|
762
|
-
__publicField(this, "acceleration");
|
|
763
759
|
if (!Number.isInteger(acceleration)) {
|
|
764
760
|
throw Error(`Invalid acceleration "${acceleration}". Must be a positive integer.`);
|
|
765
761
|
}
|
|
766
762
|
this.acceleration = acceleration <= 0 ? DEFAULT_ACCELERATION : acceleration;
|
|
767
763
|
}
|
|
768
764
|
static fromConfig({ acceleration }) {
|
|
769
|
-
return new
|
|
765
|
+
return new LZ42(acceleration);
|
|
770
766
|
}
|
|
771
767
|
async encode(data) {
|
|
772
768
|
if (!emscriptenModule) {
|
|
@@ -798,7 +794,7 @@ var LZ4 = (_a = class {
|
|
|
798
794
|
}
|
|
799
795
|
return result;
|
|
800
796
|
}
|
|
801
|
-
}
|
|
797
|
+
};
|
|
802
798
|
var lz4_default = LZ4;
|
|
803
799
|
export {
|
|
804
800
|
lz4_default as default
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
var _a;
|
|
5
1
|
import { _ as __toBinary } from "./chunk-INHXZS53-DHVJiuU3.js";
|
|
6
2
|
var zstd_codec = (() => {
|
|
7
|
-
|
|
8
|
-
typeof document != "undefined" ? (_a2 = document.currentScript) == null ? void 0 : _a2.src : void 0;
|
|
3
|
+
typeof document != "undefined" ? document.currentScript?.src : void 0;
|
|
9
4
|
return function(moduleArg = {}) {
|
|
10
5
|
var moduleRtn;
|
|
11
6
|
var f = moduleArg, aa, q, ba = new Promise((a, b) => {
|
|
@@ -35,8 +30,7 @@ var zstd_codec = (() => {
|
|
|
35
30
|
}
|
|
36
31
|
var F = 0, I = null;
|
|
37
32
|
function oa(a) {
|
|
38
|
-
|
|
39
|
-
(_a3 = f.onAbort) == null ? void 0 : _a3.call(f, a);
|
|
33
|
+
f.onAbort?.(a);
|
|
40
34
|
a = "Aborted(" + a + ")";
|
|
41
35
|
r(a);
|
|
42
36
|
da = true;
|
|
@@ -278,7 +272,7 @@ var zstd_codec = (() => {
|
|
|
278
272
|
}
|
|
279
273
|
return c;
|
|
280
274
|
}, ab = (a, b, c) => {
|
|
281
|
-
c
|
|
275
|
+
c ??= 2147483647;
|
|
282
276
|
if (2 > c)
|
|
283
277
|
return 0;
|
|
284
278
|
c -= 2;
|
|
@@ -298,7 +292,7 @@ var zstd_codec = (() => {
|
|
|
298
292
|
}
|
|
299
293
|
return d;
|
|
300
294
|
}, db = (a, b, c) => {
|
|
301
|
-
c
|
|
295
|
+
c ??= 2147483647;
|
|
302
296
|
if (4 > c)
|
|
303
297
|
return 0;
|
|
304
298
|
var d = b;
|
|
@@ -647,29 +641,27 @@ var zstd_codec = (() => {
|
|
|
647
641
|
}
|
|
648
642
|
return false;
|
|
649
643
|
} }, X = function() {
|
|
650
|
-
var _a3;
|
|
651
644
|
function a(c) {
|
|
652
|
-
var _a4;
|
|
653
645
|
X = c.exports;
|
|
654
646
|
u = X.o;
|
|
655
647
|
ia();
|
|
656
648
|
Ka = X.t;
|
|
657
649
|
ka.unshift(X.p);
|
|
658
650
|
F--;
|
|
659
|
-
|
|
651
|
+
f.monitorRunDependencies?.(F);
|
|
660
652
|
0 == F && (I && (c = I, I = null, c()));
|
|
661
653
|
return X;
|
|
662
654
|
}
|
|
663
655
|
var b = { a: pb };
|
|
664
656
|
F++;
|
|
665
|
-
|
|
657
|
+
f.monitorRunDependencies?.(F);
|
|
666
658
|
if (f.instantiateWasm)
|
|
667
659
|
try {
|
|
668
660
|
return f.instantiateWasm(b, a);
|
|
669
661
|
} catch (c) {
|
|
670
662
|
r(`Module.instantiateWasm callback failed with error: ${c}`), q(c);
|
|
671
663
|
}
|
|
672
|
-
J
|
|
664
|
+
J ||= qa("zstd_codec.wasm") ? "zstd_codec.wasm" : f.locateFile ? f.locateFile("zstd_codec.wasm", "") : "zstd_codec.wasm";
|
|
673
665
|
va(b, function(c) {
|
|
674
666
|
a(c.instance);
|
|
675
667
|
}).catch(q);
|
|
@@ -681,12 +673,11 @@ var zstd_codec = (() => {
|
|
|
681
673
|
};
|
|
682
674
|
function sb() {
|
|
683
675
|
function a() {
|
|
684
|
-
var _a3;
|
|
685
676
|
if (!Z && (Z = true, f.calledRun = true, !da)) {
|
|
686
677
|
ma = true;
|
|
687
678
|
K(ka);
|
|
688
679
|
aa(f);
|
|
689
|
-
|
|
680
|
+
f.onRuntimeInitialized?.();
|
|
690
681
|
if (f.postRun)
|
|
691
682
|
for ("function" == typeof f.postRun && (f.postRun = [f.postRun]); f.postRun.length; ) {
|
|
692
683
|
var b = f.postRun.shift();
|
|
@@ -722,16 +713,19 @@ var DEFAULT_CLEVEL = 1;
|
|
|
722
713
|
var MAX_CLEVEL = 22;
|
|
723
714
|
var emscriptenModule;
|
|
724
715
|
var init = () => zstd_codec_default({ noInitialRun: true, wasmBinary: zstd_codec_default2 });
|
|
725
|
-
var Zstd =
|
|
716
|
+
var Zstd = class Zstd2 {
|
|
717
|
+
static codecId = "zstd";
|
|
718
|
+
static DEFAULT_CLEVEL = DEFAULT_CLEVEL;
|
|
719
|
+
static MAX_CLEVEL = MAX_CLEVEL;
|
|
720
|
+
level;
|
|
726
721
|
constructor(level = DEFAULT_CLEVEL) {
|
|
727
|
-
__publicField(this, "level");
|
|
728
722
|
if (!Number.isInteger(level)) {
|
|
729
723
|
throw Error(`Invalid acceleration "${level}". Must be a positive integer.`);
|
|
730
724
|
}
|
|
731
725
|
this.level = level;
|
|
732
726
|
}
|
|
733
727
|
static fromConfig({ level }) {
|
|
734
|
-
return new
|
|
728
|
+
return new Zstd2(level);
|
|
735
729
|
}
|
|
736
730
|
async encode(data) {
|
|
737
731
|
if (!emscriptenModule) {
|
|
@@ -768,7 +762,7 @@ var Zstd = (_a = class {
|
|
|
768
762
|
throw new Error(module.getExceptionMessage(err).toString());
|
|
769
763
|
}
|
|
770
764
|
}
|
|
771
|
-
}
|
|
765
|
+
};
|
|
772
766
|
var zstd_default = Zstd;
|
|
773
767
|
export {
|
|
774
768
|
zstd_default as default
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function FallbackForView(props: any):
|
|
1
|
+
export function FallbackForView(props: any): any;
|
|
2
2
|
//# sourceMappingURL=FallbackForView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FallbackForView.d.ts","sourceRoot":"","sources":["../src/FallbackForView.js"],"names":[],"mappings":"AAOA,
|
|
1
|
+
{"version":3,"file":"FallbackForView.d.ts","sourceRoot":"","sources":["../src/FallbackForView.js"],"names":[],"mappings":"AAOA,iDAeC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function FallbackForVitS(props: any):
|
|
1
|
+
export function FallbackForVitS(props: any): any;
|
|
2
2
|
//# sourceMappingURL=FallbackForVitS.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FallbackForVitS.d.ts","sourceRoot":"","sources":["../src/FallbackForVitS.js"],"names":[],"mappings":"AAMA,
|
|
1
|
+
{"version":3,"file":"FallbackForVitS.d.ts","sourceRoot":"","sources":["../src/FallbackForVitS.js"],"names":[],"mappings":"AAMA,iDAcC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default function LoadingIndicator():
|
|
1
|
+
export default function LoadingIndicator(): any;
|
|
2
2
|
//# sourceMappingURL=LoadingIndicator.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../src/LoadingIndicator.js"],"names":[],"mappings":"AA+BA,
|
|
1
|
+
{"version":3,"file":"LoadingIndicator.d.ts","sourceRoot":"","sources":["../src/LoadingIndicator.js"],"names":[],"mappings":"AA+BA,gDAUC"}
|
package/dist-tsc/Sidebar.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function Sidebar(props: any):
|
|
1
|
+
export function Sidebar(props: any): any;
|
|
2
2
|
//# sourceMappingURL=Sidebar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../src/Sidebar.js"],"names":[],"mappings":"AAgCA,
|
|
1
|
+
{"version":3,"file":"Sidebar.d.ts","sourceRoot":"","sources":["../src/Sidebar.js"],"names":[],"mappings":"AAgCA,yCA+CC"}
|
package/dist-tsc/TitleInfo.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function TitleInfo(props: any):
|
|
1
|
+
export function TitleInfo(props: any): any;
|
|
2
2
|
//# sourceMappingURL=TitleInfo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TitleInfo.d.ts","sourceRoot":"","sources":["../src/TitleInfo.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TitleInfo.d.ts","sourceRoot":"","sources":["../src/TitleInfo.js"],"names":[],"mappings":"AAqOA,2CAyEC"}
|
package/dist-tsc/TitleInfo.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React, { useState, useMemo } from 'react';
|
|
3
3
|
import clsx from 'clsx';
|
|
4
|
-
import { makeStyles, MenuItem, IconButton, Link, List, Alert, CloudDownload as CloudDownloadIcon, ArrowDropDown as ArrowDropDownIcon, ArrowDropUp as ArrowDropUpIcon, Settings as SettingsIcon, Close as CloseIcon, Help as HelpIcon, Warning as WarningIcon, } from '@vitessce/styles';
|
|
4
|
+
import { makeStyles, MenuItem, IconButton, Link, List, Alert, CloudDownload as CloudDownloadIcon, ArrowDropDown as ArrowDropDownIcon, ArrowDropUp as ArrowDropUpIcon, Settings as SettingsIcon, Close as CloseIcon, Help as HelpIcon, Warning as WarningIcon, MenuBook as MenuBookIcon, } from '@vitessce/styles';
|
|
5
5
|
import { TOOLTIP_ANCESTOR } from './classNames.js';
|
|
6
6
|
import LoadingIndicator from './LoadingIndicator.js';
|
|
7
7
|
import { PopperMenu } from './shared-mui/components.js';
|
|
@@ -80,10 +80,10 @@ function DownloadOptions(props) {
|
|
|
80
80
|
return (urls && urls.length ? (_jsx(PopperMenu, { open: open, setOpen: setOpen, buttonIcon: buttonIcon, buttonClassName: classes.iconButton, placement: "bottom-end", title: "Download Options", "aria-label": "Open download options menu", children: urls.map(({ url, name }) => (_jsx(MenuItem, { dense: true, "aria-label": `Click to download ${name}`, children: _jsxs(Link, { underline: "always", href: url, target: "_blank", rel: "noopener", className: classes.downloadLink, children: ["Download ", name] }) }, `${url}_${name}`))) })) : null);
|
|
81
81
|
}
|
|
82
82
|
function HelpButton(props) {
|
|
83
|
-
const { helpText } = props;
|
|
83
|
+
const { helpText, guideUrl } = props;
|
|
84
84
|
const [open, setOpen] = useState(false);
|
|
85
85
|
const { classes } = useStyles();
|
|
86
|
-
return (_jsx(PopperMenu, { open: open, setOpen: setOpen, buttonIcon: _jsx(HelpIcon, {}), buttonClassName: classes.iconButton, placement: "bottom-end", title: "Help Info", "aria-label": "Open help info", withPaper: false, children:
|
|
86
|
+
return (_jsx(PopperMenu, { open: open, setOpen: setOpen, buttonIcon: _jsx(HelpIcon, {}), buttonClassName: classes.iconButton, placement: "bottom-end", title: "Help Info", "aria-label": "Open help info", withPaper: false, children: _jsxs("span", { className: classes.helpTextSpan, children: [helpText, guideUrl ? (_jsx(IconButton, { component: "a", href: guideUrl, target: "_blank", rel: "noopener noreferrer", size: "small", className: classes.iconButton, title: "Open Navigation Guide", "aria-label": "Open navigation guide", children: _jsx(MenuBookIcon, {}) })) : null] }) }));
|
|
87
87
|
}
|
|
88
88
|
function ErrorInfo(props) {
|
|
89
89
|
const { errors } = props;
|
|
@@ -99,13 +99,13 @@ function ClosePaneButton(props) {
|
|
|
99
99
|
return (_jsx(IconButton, { onClick: removeGridComponent, size: "small", className: classes.iconButton, title: "Close View", "aria-label": "Close panel button", children: _jsx(CloseIcon, {}) }));
|
|
100
100
|
}
|
|
101
101
|
export function TitleInfo(props) {
|
|
102
|
-
const { title, info, children, isScroll, isSpatial, removeGridComponent, urls, isReady, options, closeButtonVisible = true, downloadButtonVisible = true, helpText, withPadding = true, errors: errorsProp, } = props;
|
|
102
|
+
const { title, info, children, isScroll, isSpatial, removeGridComponent, urls, isReady, options, closeButtonVisible = true, downloadButtonVisible = true, helpText, withPadding = true, errors: errorsProp, guideUrl, } = props;
|
|
103
103
|
const errors = errorsProp?.filter(Boolean);
|
|
104
104
|
const { classes } = useTitleStyles();
|
|
105
105
|
const hasInfoText = Boolean(info);
|
|
106
106
|
return (
|
|
107
107
|
// d-flex without wrapping div is not always full height; I don't understand the root cause.
|
|
108
|
-
_jsxs(_Fragment, { children: [_jsxs("div", { className: classes.title, role: "banner", children: [_jsx("div", { className: classes.titleLeft, role: "heading", "aria-level": "1", children: title }), _jsxs("div", { className: classes.titleButtons, role: "toolbar", "aria-label": "Plot options and controls", children: [_jsx(PlotOptions, { options: options }), downloadButtonVisible ? (_jsx(DownloadOptions, { urls: urls })) : null, Array.isArray(errors) && errors.length > 0 ? (_jsx(ErrorInfo, { errors: errors })) : null, helpText ? (_jsx(HelpButton, { helpText: helpText })) : null, closeButtonVisible && removeGridComponent ? (_jsx(ClosePaneButton, { removeGridComponent: removeGridComponent })) : null] })] }), _jsxs("div", { className: clsx(TOOLTIP_ANCESTOR, classes.card, {
|
|
108
|
+
_jsxs(_Fragment, { children: [_jsxs("div", { className: classes.title, role: "banner", children: [_jsx("div", { className: classes.titleLeft, role: "heading", "aria-level": "1", children: title }), _jsxs("div", { className: classes.titleButtons, role: "toolbar", "aria-label": "Plot options and controls", children: [_jsx(PlotOptions, { options: options }), downloadButtonVisible ? (_jsx(DownloadOptions, { urls: urls })) : null, Array.isArray(errors) && errors.length > 0 ? (_jsx(ErrorInfo, { errors: errors })) : null, helpText ? (_jsx(HelpButton, { helpText: helpText, guideUrl: guideUrl })) : null, closeButtonVisible && removeGridComponent ? (_jsx(ClosePaneButton, { removeGridComponent: removeGridComponent })) : null] })] }), _jsxs("div", { className: clsx(TOOLTIP_ANCESTOR, classes.card, {
|
|
109
109
|
[classes.scrollCard]: isScroll,
|
|
110
110
|
[classes.spatialCard]: isSpatial,
|
|
111
111
|
[classes.noScrollCard]: !isScroll && !isSpatial,
|
package/dist-tsc/VitS.d.ts
CHANGED
package/dist-tsc/VitS.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VitS.d.ts","sourceRoot":"","sources":["../src/VitS.js"],"names":[],"mappings":"AAwCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,4BApCG;IAAsB,MAAM,EAApB,MAAM;IAGkB,SAAS,EAAjC,SAAS,GAAC,MAAM;IACF,MAAM,EAApB,MAAM;IACQ,KAAK,EAAnB,MAAM;IAEU,MAAM;IACN,cAAc;IAEd,cAAc;IAEf,cAAc,EAA7B,OAAO;IAIQ,sBAAsB,EAArC,OAAO;IAGY,GAAG,EAAtB,IAAI,GAAC,MAAM;IAGW,cAAc,EAApC,SAAS,GAAC,IAAI;IAEC,kBAAkB,EAAjC,OAAO;IAEM,SAAS,EAAtB,KAAK;IACQ,SAAS,EAAtB,KAAK;IACQ,cAAc,EAA3B,KAAK;IACQ,iBAAiB,EAA9B,KAAK;IACc,OAAO,EAA1B,IAAI,GAAC,MAAM;IACI,QAAQ,EAAvB,OAAO;IACQ,SAAS,EAAxB,OAAO;IACY,QAAQ,EAA3B,IAAI,GAAC,MAAM;CAErB,
|
|
1
|
+
{"version":3,"file":"VitS.d.ts","sourceRoot":"","sources":["../src/VitS.js"],"names":[],"mappings":"AAwCA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,4BApCG;IAAsB,MAAM,EAApB,MAAM;IAGkB,SAAS,EAAjC,SAAS,GAAC,MAAM;IACF,MAAM,EAApB,MAAM;IACQ,KAAK,EAAnB,MAAM;IAEU,MAAM;IACN,cAAc;IAEd,cAAc;IAEf,cAAc,EAA7B,OAAO;IAIQ,sBAAsB,EAArC,OAAO;IAGY,GAAG,EAAtB,IAAI,GAAC,MAAM;IAGW,cAAc,EAApC,SAAS,GAAC,IAAI;IAEC,kBAAkB,EAAjC,OAAO;IAEM,SAAS,EAAtB,KAAK;IACQ,SAAS,EAAtB,KAAK;IACQ,cAAc,EAA3B,KAAK;IACQ,iBAAiB,EAA9B,KAAK;IACc,OAAO,EAA1B,IAAI,GAAC,MAAM;IACI,QAAQ,EAAvB,OAAO;IACQ,SAAS,EAAxB,OAAO;IACY,QAAQ,EAA3B,IAAI,GAAC,MAAM;CAErB,OAsSA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VitSContainer.d.ts","sourceRoot":"","sources":["../src/VitSContainer.js"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,qCAFW,GAAC,
|
|
1
|
+
{"version":3,"file":"VitSContainer.d.ts","sourceRoot":"","sources":["../src/VitSContainer.js"],"names":[],"mappings":"AAKA;;;;;;GAMG;AACH,qCAFW,GAAC,OAQX"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VitessceGrid.d.ts","sourceRoot":"","sources":["../src/VitessceGrid.js"],"names":[],"mappings":"AA+BA;;;;;;;;;;;;GAYG;AACH,4CAVG;IAAsB,SAAS,EAAvB,MAAM;IACQ,MAAM,EAApB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,MAAM,EAApB,MAAM;IACU,MAAM;IACE,SAAS,EAAjC,cAAc,EAAE;IACQ,SAAS,EAAjC,cAAc,EAAE;IACgB,iBAAiB,EAAjD,sBAAsB,EAAE;IACT,QAAQ,EAAvB,OAAO;CACjB,
|
|
1
|
+
{"version":3,"file":"VitessceGrid.d.ts","sourceRoot":"","sources":["../src/VitessceGrid.js"],"names":[],"mappings":"AA+BA;;;;;;;;;;;;GAYG;AACH,4CAVG;IAAsB,SAAS,EAAvB,MAAM;IACQ,MAAM,EAApB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,MAAM,EAApB,MAAM;IACU,MAAM;IACE,SAAS,EAAjC,cAAc,EAAE;IACQ,SAAS,EAAjC,cAAc,EAAE;IACgB,iBAAiB,EAAjD,sBAAsB,EAAE;IACT,QAAQ,EAAvB,OAAO;CACjB,OAwGA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export function PopperMenu(props: any):
|
|
1
|
+
export function PopperMenu(props: any): any;
|
|
2
2
|
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/shared-mui/components.js"],"names":[],"mappings":"AA4BA,
|
|
1
|
+
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/shared-mui/components.js"],"names":[],"mappings":"AA4BA,4CAkEC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export function GridLayoutGlobalStyles(props: any):
|
|
1
|
+
export function GridLayoutGlobalStyles(props: any): any;
|
|
2
2
|
export const useVitessceContainerStyles: (params: void, muiStyleOverridesParams?: {
|
|
3
3
|
props: Record<string, unknown>;
|
|
4
4
|
ownerState?: Record<string, unknown> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/shared-mui/container.js"],"names":[],"mappings":"AA0NA,
|
|
1
|
+
{"version":3,"file":"container.d.ts","sourceRoot":"","sources":["../../src/shared-mui/container.js"],"names":[],"mappings":"AA0NA,wDASC;AA/ND;;cAekB,CAAC;;;kBAQA,eACL;gBAAyB,WAAU;eAG/C,WAFO;EAJL"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default function CellColorEncodingOption(props: any):
|
|
1
|
+
export default function CellColorEncodingOption(props: any): any;
|
|
2
2
|
//# sourceMappingURL=CellColorEncodingOption.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CellColorEncodingOption.d.ts","sourceRoot":"","sources":["../../src/shared-plot-options/CellColorEncodingOption.js"],"names":[],"mappings":"AAOA,
|
|
1
|
+
{"version":3,"file":"CellColorEncodingOption.d.ts","sourceRoot":"","sources":["../../src/shared-plot-options/CellColorEncodingOption.js"],"names":[],"mappings":"AAOA,iEAyCC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default function OptionSelect(props: any):
|
|
1
|
+
export default function OptionSelect(props: any): any;
|
|
2
2
|
//# sourceMappingURL=OptionSelect.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionSelect.d.ts","sourceRoot":"","sources":["../../src/shared-plot-options/OptionSelect.js"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"OptionSelect.d.ts","sourceRoot":"","sources":["../../src/shared-plot-options/OptionSelect.js"],"names":[],"mappings":"AAIA,sDAcC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export default function OptionsContainer(props: any):
|
|
1
|
+
export default function OptionsContainer(props: any): any;
|
|
2
2
|
//# sourceMappingURL=OptionsContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OptionsContainer.d.ts","sourceRoot":"","sources":["../../src/shared-plot-options/OptionsContainer.js"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"OptionsContainer.d.ts","sourceRoot":"","sources":["../../src/shared-plot-options/OptionsContainer.js"],"names":[],"mappings":"AAIA,0DAsBC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export function ViewConfigProvider(props: any):
|
|
1
|
+
export function ViewConfigProvider(props: any): any;
|
|
2
2
|
export function useViewConfigStoreApi(): any;
|
|
3
3
|
export function useViewConfigStore(selector: any): any;
|
|
4
4
|
export function useViewConfigStoreShallow(selector: any): any;
|
|
5
|
-
export function AuxiliaryProvider(props: any):
|
|
5
|
+
export function AuxiliaryProvider(props: any): any;
|
|
6
6
|
export function useAuxiliaryStoreApi(): any;
|
|
7
7
|
export function useAuxiliaryStore(selector: any): any;
|
|
8
8
|
export function useAuxiliaryStoreShallow(selector: any): any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/state/hooks.js"],"names":[],"mappings":"AA8BA,
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/state/hooks.js"],"names":[],"mappings":"AA8BA,oDAiBC;AAED,6CAMC;AACD,uDAOC;AAED,8DAEC;AAGD,mDAiBC;AAED,4CAMC;AACD,sDAOC;AAED,6DAEC;AAID;;;;;;GAMG;AACH,8CAJW,GAAC,mBAEC,MAAM,GAAC,SAAS,CA4B5B;AAED;;;;;;;GAOG;AACH,gDALW,GAAC,wBACD,GAAC,qBAEC,MAAM,GAAC,SAAS,CA0C5B;AAED;;;;;GAKG;AACH,6CAJW,MAAM,sBACN,GAAC,GACC,MAAM,GAAC,SAAS,CAI5B;AAED;;;;;;GAMG;AACH,+CALW,MAAM,mDACN,GAAC,wBACD,GAAC,GACC,MAAM,GAAC,SAAS,CAc5B;AAySD;;;;;;;;;GASG;AACH,mDALW,MAAM,EAAE,sBACR,MAAM,GAEJ,MAAM,CAclB;AAED;;;;;;;;;;;;;;;GAeG;AACH,4CATW,MAAM,EAAE,sBACR,MAAM,GAEJ,KAAK,CAmCjB;AAED,yFAKC;AAED,gGAqBC;AAED,0IA4BC;AAED,iJAkEC;AAED,yFAmBC;AAED;;;;GAIG;AACH,mDAHW,MAAM,GACJ,MAAM,CAIlB;AAED;;;;;;;;;;;;;GAaG;AACH,mDAXW,MAAM,EAAE,sBACR,MAAM,wBACN,MAAM,UAEN,MAAM,GAEJ,KAAK,CA2EjB;AAED;;;;;GAKG;AACH,0DAHW,MAAM,GACJ,MAAM,CAiBlB;AAED;;;;;;GAMG;AACH,4DAJW,MAAM,wBACN,MAAM,GACJ,MAAM,CAgBlB;AAED;;;;;;;GAOG;AACH,4DANW,MAAM,EAAE,iDACR,MAAM,eACN,MAAM,iBACN,MAAM,SAuEhB;AAGD;;;;;;;;;;;GAWG;AACH,wDATW,MAAM,EAAE,sBACR,MAAM,wBACN,MAAM,GAEJ,KAAK,CAUjB;AA+BD;;;;;;;;;;;;;;;GAeG;AACH,qDATW,MAAM,EAAE,sBACR,MAAM,GAEJ,KAAK,CAiCjB;AAED;;;;;GAKG;AACH,8BAHa,MAAM,CAKlB;AAGD;;;;;;;;;;;;GAYG;AACH,2CARW,MAAM,WACN,MAAM,YACN,MAAM,0BACN,MAAM,OAoBhB;AAED;;;;;;;;;;;;GAYG;AACH,2CARW,MAAM,WACN,MAAM,YACN,MAAM,0BACN,MAAM,OAShB;AAED;;;;;GAKG;AACH,6BAHa,MAAM,EAAE,CAKpB;AAED;;;;;GAKG;AACH,+CAEC;AAED;;;;;GAKG;AACH,0EAEC;AAED;;;;;GAKG;AACH,uEAEC;AAED;;;;;GAKG;AACH,4CAEC;AAED;;;;;GAKG;AACH,0CAEC;AAED;;;;;GAKG;AACH,iDAEC;AAED;;;;;GAKG;AACH,iCAHa,MAAM,CAKlB;AAED;;;;;GAKG;AACH,oEAIC;AAGD;;;;;GAKG;AACH,qCAHa,MAAM,CAKlB;AAED;;;;;GAKG;AACH,iDAEC;AAED;;;;;GAKG;AACH,8BAHa,MAAM,CAKlB;AAED;;;;;GAKG;AACH,0CAEC;AAED;;;;;GAKG;AACH,iDAHa,MAAM,CAKlB;AAED;;;;;GAKG;AACH,6DAOC;AAED;;;;GAIG;AACH,iCAFa,MAAM,CAIlB;AAED;;;;;GAKG;AACH,8CAEC;AA5hCM,yFA4LH;AAOG,0FAFM,MAAM,CAOlB;AAcM,iDAUJ"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/vit-s",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "4.0.0-test.0",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -27,30 +27,30 @@
|
|
|
27
27
|
"react-grid-layout-with-lodash": "^1.3.5",
|
|
28
28
|
"uuid": "^9.0.0",
|
|
29
29
|
"zustand": "^5.0.4",
|
|
30
|
-
"react-aria": "^3.
|
|
30
|
+
"react-aria": "^3.47.0",
|
|
31
31
|
"react-error-boundary": "^5.0.0",
|
|
32
32
|
"@placemarkio/flat-drop-files": "^1.0.2",
|
|
33
33
|
"zarrita": "0.6.1",
|
|
34
|
-
"@vitessce/
|
|
35
|
-
"@vitessce/
|
|
36
|
-
"@vitessce/abstract": "
|
|
37
|
-
"@vitessce/
|
|
38
|
-
"@vitessce/
|
|
39
|
-
"@vitessce/
|
|
40
|
-
"@vitessce/
|
|
41
|
-
"@vitessce/
|
|
42
|
-
"@vitessce/
|
|
43
|
-
"@vitessce/
|
|
44
|
-
"@vitessce/
|
|
34
|
+
"@vitessce/error": "4.0.0-test.0",
|
|
35
|
+
"@vitessce/constants-internal": "4.0.0-test.0",
|
|
36
|
+
"@vitessce/abstract": "4.0.0-test.0",
|
|
37
|
+
"@vitessce/schemas": "4.0.0-test.0",
|
|
38
|
+
"@vitessce/utils": "4.0.0-test.0",
|
|
39
|
+
"@vitessce/sets-utils": "4.0.0-test.0",
|
|
40
|
+
"@vitessce/globals": "4.0.0-test.0",
|
|
41
|
+
"@vitessce/config": "4.0.0-test.0",
|
|
42
|
+
"@vitessce/styles": "4.0.0-test.0",
|
|
43
|
+
"@vitessce/zarr-utils": "4.0.0-test.0",
|
|
44
|
+
"@vitessce/plugins": "4.0.0-test.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@testing-library/jest-dom": "^6.6.3",
|
|
48
48
|
"@testing-library/react": "^16.3.0",
|
|
49
|
-
"react": "
|
|
50
|
-
"react-dom": "
|
|
49
|
+
"react": "19.1.0",
|
|
50
|
+
"react-dom": "19.1.0",
|
|
51
51
|
"vite": "^7.0.0",
|
|
52
52
|
"vitest": "^3.1.4",
|
|
53
|
-
"@vitessce/types": "
|
|
53
|
+
"@vitessce/types": "4.0.0-test.0"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
package/src/TitleInfo.js
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
Close as CloseIcon,
|
|
15
15
|
Help as HelpIcon,
|
|
16
16
|
Warning as WarningIcon,
|
|
17
|
+
MenuBook as MenuBookIcon,
|
|
17
18
|
} from '@vitessce/styles';
|
|
18
19
|
|
|
19
20
|
import { TOOLTIP_ANCESTOR } from './classNames.js';
|
|
@@ -141,7 +142,7 @@ function DownloadOptions(props) {
|
|
|
141
142
|
}
|
|
142
143
|
|
|
143
144
|
function HelpButton(props) {
|
|
144
|
-
const { helpText } = props;
|
|
145
|
+
const { helpText, guideUrl } = props;
|
|
145
146
|
const [open, setOpen] = useState(false);
|
|
146
147
|
const { classes } = useStyles();
|
|
147
148
|
return (
|
|
@@ -155,7 +156,23 @@ function HelpButton(props) {
|
|
|
155
156
|
aria-label="Open help info"
|
|
156
157
|
withPaper={false}
|
|
157
158
|
>
|
|
158
|
-
<span className={classes.helpTextSpan}>
|
|
159
|
+
<span className={classes.helpTextSpan}>
|
|
160
|
+
{helpText}
|
|
161
|
+
{guideUrl ? (
|
|
162
|
+
<IconButton
|
|
163
|
+
component="a"
|
|
164
|
+
href={guideUrl}
|
|
165
|
+
target="_blank"
|
|
166
|
+
rel="noopener noreferrer"
|
|
167
|
+
size="small"
|
|
168
|
+
className={classes.iconButton}
|
|
169
|
+
title="Open Navigation Guide"
|
|
170
|
+
aria-label="Open navigation guide"
|
|
171
|
+
>
|
|
172
|
+
<MenuBookIcon />
|
|
173
|
+
</IconButton>
|
|
174
|
+
) : null}
|
|
175
|
+
</span>
|
|
159
176
|
</PopperMenu>
|
|
160
177
|
);
|
|
161
178
|
}
|
|
@@ -209,11 +226,12 @@ function ClosePaneButton(props) {
|
|
|
209
226
|
);
|
|
210
227
|
}
|
|
211
228
|
|
|
229
|
+
|
|
212
230
|
export function TitleInfo(props) {
|
|
213
231
|
const {
|
|
214
232
|
title, info, children, isScroll, isSpatial, removeGridComponent, urls,
|
|
215
233
|
isReady, options, closeButtonVisible = true, downloadButtonVisible = true,
|
|
216
|
-
helpText, withPadding = true, errors: errorsProp,
|
|
234
|
+
helpText, withPadding = true, errors: errorsProp, guideUrl,
|
|
217
235
|
} = props;
|
|
218
236
|
|
|
219
237
|
const errors = errorsProp?.filter(Boolean);
|
|
@@ -245,6 +263,7 @@ export function TitleInfo(props) {
|
|
|
245
263
|
{helpText ? (
|
|
246
264
|
<HelpButton
|
|
247
265
|
helpText={helpText}
|
|
266
|
+
guideUrl={guideUrl}
|
|
248
267
|
/>
|
|
249
268
|
) : null}
|
|
250
269
|
{closeButtonVisible && removeGridComponent ? (
|