@vitessce/dev 3.2.1 → 3.2.2
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-3fe67395.js → deflate-af678fef.js} +1 -1
- package/dist/{hglib-f72945ce.js → hglib-3a33324c.js} +1 -1
- package/dist/{index-c78951cf.js → index-d58f9b90.js} +165 -34
- package/dist/index.js +1 -1
- package/dist/{jpeg-dd6b6686.js → jpeg-44221470.js} +1 -1
- package/dist/{lerc-d34165f6.js → lerc-4cbb00e7.js} +1 -1
- package/dist/{lzw-03ef609f.js → lzw-d13c5059.js} +1 -1
- package/dist/{packbits-94a127f9.js → packbits-19177477.js} +1 -1
- package/dist/{raw-a84af721.js → raw-2892023d.js} +1 -1
- package/dist/{webimage-7c361b23.js → webimage-cd20c54c.js} +1 -1
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
2
|
import ReactDOM__default from "react-dom";
|
|
3
|
-
import { c as commonjsGlobal, o as objectAssign, g as getDefaultExportFromCjs, e as earcut, b as getAugmentedNamespace } from "./index-
|
|
3
|
+
import { c as commonjsGlobal, o as objectAssign, g as getDefaultExportFromCjs, e as earcut, b as getAugmentedNamespace } from "./index-d58f9b90.js";
|
|
4
4
|
function _mergeNamespaces(n, m) {
|
|
5
5
|
for (var i = 0; i < m.length; i++) {
|
|
6
6
|
const e = m[i];
|
|
@@ -660,10 +660,10 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
660
660
|
]
|
|
661
661
|
};
|
|
662
662
|
const note = "This file is autogenerated by .changeset/post-changelog.mjs.";
|
|
663
|
-
const version$6 = "3.2.
|
|
664
|
-
const date$3 = "2023-09-
|
|
663
|
+
const version$6 = "3.2.2";
|
|
664
|
+
const date$3 = "2023-09-20";
|
|
665
665
|
const branch = "changeset-release/main";
|
|
666
|
-
const hash$1 = "
|
|
666
|
+
const hash$1 = "715881ca";
|
|
667
667
|
const META_VERSION = {
|
|
668
668
|
note,
|
|
669
669
|
version: version$6,
|
|
@@ -11648,7 +11648,13 @@ function buildConfigSchema(pluginFileTypes, pluginJointFileTypes, pluginCoordina
|
|
|
11648
11648
|
// Wrap each value schema in z.record()
|
|
11649
11649
|
fromEntries(pluginCoordinationTypes.map((ct) => [
|
|
11650
11650
|
ct.name,
|
|
11651
|
-
z.record(
|
|
11651
|
+
z.record(
|
|
11652
|
+
// For now, assume the key type is string (though it would be
|
|
11653
|
+
// slightly nicer if we could use the coordinationScopeName schema here).
|
|
11654
|
+
// Once https://github.com/colinhacks/zod/issues/2746 gets resolved
|
|
11655
|
+
// then we can try that approach again, but it should not be a big deal.
|
|
11656
|
+
ct.valueSchema.optional()
|
|
11657
|
+
).optional()
|
|
11652
11658
|
]))
|
|
11653
11659
|
).strict().describe("The coordination space stores the values for each scope of each coordination object.").optional(),
|
|
11654
11660
|
layout: z.array(z.object({
|
|
@@ -52344,6 +52350,38 @@ const useTitleStyles = makeStyles((theme) => ({
|
|
|
52344
52350
|
}
|
|
52345
52351
|
}
|
|
52346
52352
|
}));
|
|
52353
|
+
function arrayToString(arr) {
|
|
52354
|
+
const arrF = arr.filter((item) => item !== void 0);
|
|
52355
|
+
if (arrF.length === 0) {
|
|
52356
|
+
return "";
|
|
52357
|
+
}
|
|
52358
|
+
if (arrF.length === 1) {
|
|
52359
|
+
return arrF[0];
|
|
52360
|
+
}
|
|
52361
|
+
return `${arr.slice(0, -1).join(", ")} and ${arr.slice(-1)}`;
|
|
52362
|
+
}
|
|
52363
|
+
const ViewTypesToText = /* @__PURE__ */ new Map([
|
|
52364
|
+
[ViewType$2.DESCRIPTION, "description"],
|
|
52365
|
+
[ViewType$2.STATUS, "status view for debugging"],
|
|
52366
|
+
[ViewType$2.SCATTERPLOT, "scatterplot with embeddings"],
|
|
52367
|
+
[ViewType$2.SPATIAL, "spatial view"],
|
|
52368
|
+
[ViewType$2.SPATIAL_BETA, "spatial view"],
|
|
52369
|
+
[ViewType$2.HEATMAP, "cell by gene heatmap"],
|
|
52370
|
+
[ViewType$2.LAYER_CONTROLLER, "layer controller"],
|
|
52371
|
+
[ViewType$2.LAYER_CONTROLLER_BETA, "layer controller"],
|
|
52372
|
+
[ViewType$2.GENOMIC_PROFILES, "genome browser tracks with bar plots"],
|
|
52373
|
+
[ViewType$2.GATING, "scatterplot of gated gene expression data"],
|
|
52374
|
+
[ViewType$2.FEATURE_LIST, "interactive list of features"],
|
|
52375
|
+
[ViewType$2.OBS_SETS, "list of potential observation sets"],
|
|
52376
|
+
[ViewType$2.OBS_SET_SIZES, "sizes of selected observation sets"],
|
|
52377
|
+
[ViewType$2.OBS_SET_FEATURE_VALUE_DISTRIBUTION, "violin plot with values"],
|
|
52378
|
+
[ViewType$2.FEATURE_VALUE_HISTOGRAM, "distribution of values"]
|
|
52379
|
+
]);
|
|
52380
|
+
function getAltText(config3) {
|
|
52381
|
+
const componentList = config3.layout.map((c2) => c2.component);
|
|
52382
|
+
const altText = `Vitessce grid with ${componentList.length} views, including ${arrayToString(componentList.map((c2) => ViewTypesToText.get(c2) || "plugin view"))}.`;
|
|
52383
|
+
return altText;
|
|
52384
|
+
}
|
|
52347
52385
|
const padding$2 = 10;
|
|
52348
52386
|
const margin = 5;
|
|
52349
52387
|
function VitessceGrid(props2) {
|
|
@@ -52353,6 +52391,7 @@ function VitessceGrid(props2) {
|
|
|
52353
52391
|
const [componentWidth] = useClosestVitessceContainerSize(containerRef);
|
|
52354
52392
|
const classes = useVitessceContainerStyles();
|
|
52355
52393
|
const titleClasses = useTitleStyles();
|
|
52394
|
+
const altText = useMemo(() => getAltText(config3), [configKey]);
|
|
52356
52395
|
useEffect(() => {
|
|
52357
52396
|
onResize();
|
|
52358
52397
|
}, [rowHeight, onResize]);
|
|
@@ -52377,7 +52416,7 @@ function VitessceGrid(props2) {
|
|
|
52377
52416
|
setViewConfig(newConfig);
|
|
52378
52417
|
setLoaders(newLoaders);
|
|
52379
52418
|
}, [success, configKey]);
|
|
52380
|
-
return jsxRuntimeExports.jsx("div", { ref: containerRef, className: clsx(VITESSCE_CONTAINER, classes.vitessceContainer), children: layout2 ? jsxRuntimeExports.jsx(VitessceGridLayout, { layout: layout2, height: height2, rowHeight, theme, viewTypes, draggableHandle: titleClasses.title, margin, padding: padding$2, onRemoveComponent: removeComponent, onLayoutChange: changeLayoutPostMount, isBounded, onResize, onResizeStop: onResize }) : null });
|
|
52419
|
+
return jsxRuntimeExports.jsx("div", { ref: containerRef, className: clsx(VITESSCE_CONTAINER, classes.vitessceContainer), role: "group", "aria-label": altText, children: layout2 ? jsxRuntimeExports.jsx(VitessceGridLayout, { role: "group", layout: layout2, height: height2, rowHeight, theme, viewTypes, draggableHandle: titleClasses.title, margin, padding: padding$2, onRemoveComponent: removeComponent, onLayoutChange: changeLayoutPostMount, isBounded, onResize, onResizeStop: onResize }) : null });
|
|
52381
52420
|
}
|
|
52382
52421
|
const useStyles$u = makeStyles((theme) => ({
|
|
52383
52422
|
warningLayout: {
|
|
@@ -170130,16 +170169,16 @@ async function getDecoder(fileDirectory) {
|
|
|
170130
170169
|
const Decoder = await importFn();
|
|
170131
170170
|
return new Decoder(fileDirectory);
|
|
170132
170171
|
}
|
|
170133
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
170134
|
-
addDecoder(5, () => import("./lzw-
|
|
170172
|
+
addDecoder([void 0, 1], () => import("./raw-2892023d.js").then((m2) => m2.default));
|
|
170173
|
+
addDecoder(5, () => import("./lzw-d13c5059.js").then((m2) => m2.default));
|
|
170135
170174
|
addDecoder(6, () => {
|
|
170136
170175
|
throw new Error("old style JPEG compression is not supported.");
|
|
170137
170176
|
});
|
|
170138
|
-
addDecoder(7, () => import("./jpeg-
|
|
170139
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
170140
|
-
addDecoder(32773, () => import("./packbits-
|
|
170141
|
-
addDecoder(34887, () => import("./lerc-
|
|
170142
|
-
addDecoder(50001, () => import("./webimage-
|
|
170177
|
+
addDecoder(7, () => import("./jpeg-44221470.js").then((m2) => m2.default));
|
|
170178
|
+
addDecoder([8, 32946], () => import("./deflate-af678fef.js").then((m2) => m2.default));
|
|
170179
|
+
addDecoder(32773, () => import("./packbits-19177477.js").then((m2) => m2.default));
|
|
170180
|
+
addDecoder(34887, () => import("./lerc-4cbb00e7.js").then((m2) => m2.default));
|
|
170181
|
+
addDecoder(50001, () => import("./webimage-cd20c54c.js").then((m2) => m2.default));
|
|
170143
170182
|
function copyNewSize(array2, width2, height2, samplesPerPixel = 1) {
|
|
170144
170183
|
return new (Object.getPrototypeOf(array2)).constructor(width2 * height2 * samplesPerPixel);
|
|
170145
170184
|
}
|
|
@@ -184677,6 +184716,67 @@ function makeBoundingBox(viewState) {
|
|
|
184677
184716
|
viewport.unproject([0, viewport.height])
|
|
184678
184717
|
];
|
|
184679
184718
|
}
|
|
184719
|
+
const TARGETS = [1, 2, 3, 4, 5, 10, 20, 25, 50, 100, 200, 250, 500, 1e3];
|
|
184720
|
+
const MIN_TARGET = TARGETS[0];
|
|
184721
|
+
const MAX_TARGET = TARGETS[TARGETS.length - 1];
|
|
184722
|
+
const SI_PREFIXES = [
|
|
184723
|
+
{ symbol: "Y", exponent: 24 },
|
|
184724
|
+
{ symbol: "Z", exponent: 21 },
|
|
184725
|
+
{ symbol: "E", exponent: 18 },
|
|
184726
|
+
{ symbol: "P", exponent: 15 },
|
|
184727
|
+
{ symbol: "T", exponent: 12 },
|
|
184728
|
+
{ symbol: "G", exponent: 9 },
|
|
184729
|
+
{ symbol: "M", exponent: 6 },
|
|
184730
|
+
{ symbol: "k", exponent: 3 },
|
|
184731
|
+
{ symbol: "h", exponent: 2 },
|
|
184732
|
+
{ symbol: "da", exponent: 1 },
|
|
184733
|
+
{ symbol: "", exponent: 0 },
|
|
184734
|
+
{ symbol: "d", exponent: -1 },
|
|
184735
|
+
{ symbol: "c", exponent: -2 },
|
|
184736
|
+
{ symbol: "m", exponent: -3 },
|
|
184737
|
+
{ symbol: "µ", exponent: -6 },
|
|
184738
|
+
{ symbol: "n", exponent: -9 },
|
|
184739
|
+
{ symbol: "p", exponent: -12 },
|
|
184740
|
+
{ symbol: "f", exponent: -15 },
|
|
184741
|
+
{ symbol: "a", exponent: -18 },
|
|
184742
|
+
{ symbol: "z", exponent: -21 },
|
|
184743
|
+
{ symbol: "y", exponent: -24 }
|
|
184744
|
+
];
|
|
184745
|
+
function sizeToMeters(size2, unit2) {
|
|
184746
|
+
if (!unit2 || unit2 === "m") {
|
|
184747
|
+
return size2;
|
|
184748
|
+
}
|
|
184749
|
+
if (unit2.length > 1) {
|
|
184750
|
+
let unitPrefix = unit2.substring(0, unit2.length - 1);
|
|
184751
|
+
if (unitPrefix === "u") {
|
|
184752
|
+
unitPrefix = "µ";
|
|
184753
|
+
}
|
|
184754
|
+
const unitObj = SI_PREFIXES.find((p) => p.symbol === unitPrefix);
|
|
184755
|
+
if (unitObj) {
|
|
184756
|
+
return size2 * 10 ** unitObj.exponent;
|
|
184757
|
+
}
|
|
184758
|
+
}
|
|
184759
|
+
throw new Error("Received unknown unit");
|
|
184760
|
+
}
|
|
184761
|
+
function snapValue(value2) {
|
|
184762
|
+
let magnitude = 0;
|
|
184763
|
+
if (value2 < MIN_TARGET || value2 > MAX_TARGET) {
|
|
184764
|
+
magnitude = Math.floor(Math.log10(value2));
|
|
184765
|
+
}
|
|
184766
|
+
let snappedUnit = SI_PREFIXES.find(
|
|
184767
|
+
(p) => p.exponent % 3 === 0 && p.exponent <= magnitude
|
|
184768
|
+
);
|
|
184769
|
+
let adjustedValue = value2 / 10 ** snappedUnit.exponent;
|
|
184770
|
+
if (adjustedValue > 500 && adjustedValue <= 1e3) {
|
|
184771
|
+
snappedUnit = SI_PREFIXES.find(
|
|
184772
|
+
(p) => p.exponent % 3 === 0 && p.exponent <= magnitude + 3
|
|
184773
|
+
);
|
|
184774
|
+
adjustedValue = value2 / 10 ** snappedUnit.exponent;
|
|
184775
|
+
}
|
|
184776
|
+
const targetNewUnits = TARGETS.find((t4) => t4 > adjustedValue);
|
|
184777
|
+
const targetOrigUnits = targetNewUnits * 10 ** snappedUnit.exponent;
|
|
184778
|
+
return [targetOrigUnits, targetNewUnits, snappedUnit.symbol];
|
|
184779
|
+
}
|
|
184680
184780
|
const fs$1$1 = `#define SHADER_NAME xr-layer-fragment-shader
|
|
184681
184781
|
|
|
184682
184782
|
precision highp float;
|
|
@@ -185444,26 +185544,27 @@ const OverviewLayer = class extends CompositeLayer {
|
|
|
185444
185544
|
OverviewLayer.layerName = "OverviewLayer";
|
|
185445
185545
|
OverviewLayer.defaultProps = defaultProps$3;
|
|
185446
185546
|
function getPosition$1(boundingBox, position2, length2) {
|
|
185447
|
-
const
|
|
185547
|
+
const viewWidth2 = boundingBox[2][0] - boundingBox[0][0];
|
|
185548
|
+
const viewHeight2 = boundingBox[2][1] - boundingBox[0][1];
|
|
185448
185549
|
switch (position2) {
|
|
185449
185550
|
case "bottom-right": {
|
|
185450
|
-
const yCoord = boundingBox[2][1] -
|
|
185451
|
-
const xLeftCoord = boundingBox[2][0] -
|
|
185551
|
+
const yCoord = boundingBox[2][1] - viewHeight2 * length2;
|
|
185552
|
+
const xLeftCoord = boundingBox[2][0] - viewWidth2 * length2;
|
|
185452
185553
|
return [yCoord, xLeftCoord];
|
|
185453
185554
|
}
|
|
185454
185555
|
case "top-right": {
|
|
185455
|
-
const yCoord =
|
|
185456
|
-
const xLeftCoord = boundingBox[2][0] -
|
|
185556
|
+
const yCoord = boundingBox[0][1] + viewHeight2 * length2;
|
|
185557
|
+
const xLeftCoord = boundingBox[2][0] - viewWidth2 * length2;
|
|
185457
185558
|
return [yCoord, xLeftCoord];
|
|
185458
185559
|
}
|
|
185459
185560
|
case "top-left": {
|
|
185460
|
-
const yCoord =
|
|
185461
|
-
const xLeftCoord =
|
|
185561
|
+
const yCoord = boundingBox[0][1] + viewHeight2 * length2;
|
|
185562
|
+
const xLeftCoord = boundingBox[0][0] + viewWidth2 * length2;
|
|
185462
185563
|
return [yCoord, xLeftCoord];
|
|
185463
185564
|
}
|
|
185464
185565
|
case "bottom-left": {
|
|
185465
|
-
const yCoord = boundingBox[2][1] -
|
|
185466
|
-
const xLeftCoord =
|
|
185566
|
+
const yCoord = boundingBox[2][1] - viewHeight2 * length2;
|
|
185567
|
+
const xLeftCoord = boundingBox[0][0] + viewWidth2 * length2;
|
|
185467
185568
|
return [yCoord, xLeftCoord];
|
|
185468
185569
|
}
|
|
185469
185570
|
default: {
|
|
@@ -185481,11 +185582,12 @@ const defaultProps$2 = {
|
|
|
185481
185582
|
unit: { type: "string", value: "", compare: true },
|
|
185482
185583
|
size: { type: "number", value: 1, compare: true },
|
|
185483
185584
|
position: { type: "string", value: "bottom-right", compare: true },
|
|
185484
|
-
length: { type: "number", value: 0.085, compare: true }
|
|
185585
|
+
length: { type: "number", value: 0.085, compare: true },
|
|
185586
|
+
snap: { type: "boolean", value: false, compare: true }
|
|
185485
185587
|
};
|
|
185486
185588
|
const ScaleBarLayer = class extends CompositeLayer {
|
|
185487
185589
|
renderLayers() {
|
|
185488
|
-
const { id: id2, unit: unit2, size: size2, position: position2, viewState, length: length2 } = this.props;
|
|
185590
|
+
const { id: id2, unit: unit2, size: size2, position: position2, viewState, length: length2, snap } = this.props;
|
|
185489
185591
|
const boundingBox = makeBoundingBox(viewState);
|
|
185490
185592
|
const { zoom: zoom2 } = viewState;
|
|
185491
185593
|
const viewLength = boundingBox[2][0] - boundingBox[0][0];
|
|
@@ -185494,15 +185596,27 @@ const ScaleBarLayer = class extends CompositeLayer {
|
|
|
185494
185596
|
2 ** (-zoom2 + 1.5),
|
|
185495
185597
|
(boundingBox[2][1] - boundingBox[0][1]) * 7e-3
|
|
185496
185598
|
);
|
|
185497
|
-
|
|
185599
|
+
let adjustedBarLength = barLength;
|
|
185600
|
+
let displayNumber = (barLength * size2).toPrecision(5);
|
|
185601
|
+
let displayUnit = unit2;
|
|
185602
|
+
if (snap) {
|
|
185603
|
+
const meterSize = sizeToMeters(size2, unit2);
|
|
185604
|
+
const numUnits = barLength * meterSize;
|
|
185605
|
+
const [snappedOrigUnits, snappedNewUnits, snappedUnitPrefix] = snapValue(numUnits);
|
|
185606
|
+
adjustedBarLength = snappedOrigUnits / meterSize;
|
|
185607
|
+
displayNumber = snappedNewUnits;
|
|
185608
|
+
displayUnit = `${snappedUnitPrefix}m`;
|
|
185609
|
+
}
|
|
185498
185610
|
const [yCoord, xLeftCoord] = getPosition$1(boundingBox, position2, length2);
|
|
185611
|
+
const xRightCoord = xLeftCoord + barLength;
|
|
185612
|
+
const isLeft = position2.endsWith("-left");
|
|
185499
185613
|
const lengthBar = new LineLayer({
|
|
185500
185614
|
id: `scale-bar-length-${id2}`,
|
|
185501
185615
|
coordinateSystem: COORDINATE_SYSTEM.CARTESIAN,
|
|
185502
185616
|
data: [
|
|
185503
185617
|
[
|
|
185504
|
-
[xLeftCoord, yCoord],
|
|
185505
|
-
[xLeftCoord +
|
|
185618
|
+
[isLeft ? xLeftCoord : xRightCoord - adjustedBarLength, yCoord],
|
|
185619
|
+
[isLeft ? xLeftCoord + adjustedBarLength : xRightCoord, yCoord]
|
|
185506
185620
|
]
|
|
185507
185621
|
],
|
|
185508
185622
|
getSourcePosition: (d) => d[0],
|
|
@@ -185515,8 +185629,14 @@ const ScaleBarLayer = class extends CompositeLayer {
|
|
|
185515
185629
|
coordinateSystem: COORDINATE_SYSTEM.CARTESIAN,
|
|
185516
185630
|
data: [
|
|
185517
185631
|
[
|
|
185518
|
-
[
|
|
185519
|
-
|
|
185632
|
+
[
|
|
185633
|
+
isLeft ? xLeftCoord : xRightCoord - adjustedBarLength,
|
|
185634
|
+
yCoord - barHeight
|
|
185635
|
+
],
|
|
185636
|
+
[
|
|
185637
|
+
isLeft ? xLeftCoord : xRightCoord - adjustedBarLength,
|
|
185638
|
+
yCoord + barHeight
|
|
185639
|
+
]
|
|
185520
185640
|
]
|
|
185521
185641
|
],
|
|
185522
185642
|
getSourcePosition: (d) => d[0],
|
|
@@ -185529,8 +185649,14 @@ const ScaleBarLayer = class extends CompositeLayer {
|
|
|
185529
185649
|
coordinateSystem: COORDINATE_SYSTEM.CARTESIAN,
|
|
185530
185650
|
data: [
|
|
185531
185651
|
[
|
|
185532
|
-
[
|
|
185533
|
-
|
|
185652
|
+
[
|
|
185653
|
+
isLeft ? xLeftCoord + adjustedBarLength : xRightCoord,
|
|
185654
|
+
yCoord - barHeight
|
|
185655
|
+
],
|
|
185656
|
+
[
|
|
185657
|
+
isLeft ? xLeftCoord + adjustedBarLength : xRightCoord,
|
|
185658
|
+
yCoord + barHeight
|
|
185659
|
+
]
|
|
185534
185660
|
]
|
|
185535
185661
|
],
|
|
185536
185662
|
getSourcePosition: (d) => d[0],
|
|
@@ -185543,8 +185669,11 @@ const ScaleBarLayer = class extends CompositeLayer {
|
|
|
185543
185669
|
coordinateSystem: COORDINATE_SYSTEM.CARTESIAN,
|
|
185544
185670
|
data: [
|
|
185545
185671
|
{
|
|
185546
|
-
text:
|
|
185547
|
-
position: [
|
|
185672
|
+
text: `${displayNumber}${displayUnit}`,
|
|
185673
|
+
position: [
|
|
185674
|
+
isLeft ? xLeftCoord + barLength * 0.5 : xRightCoord - barLength * 0.5,
|
|
185675
|
+
yCoord + barHeight * 4
|
|
185676
|
+
]
|
|
185548
185677
|
}
|
|
185549
185678
|
],
|
|
185550
185679
|
getColor: [220, 220, 220, 255],
|
|
@@ -185553,7 +185682,7 @@ const ScaleBarLayer = class extends CompositeLayer {
|
|
|
185553
185682
|
sizeUnits: "meters",
|
|
185554
185683
|
sizeScale: 2 ** -zoom2,
|
|
185555
185684
|
characterSet: [
|
|
185556
|
-
...
|
|
185685
|
+
...displayUnit.split(""),
|
|
185557
185686
|
...range$5(10).map((i2) => String(i2)),
|
|
185558
185687
|
".",
|
|
185559
185688
|
"e",
|
|
@@ -206513,6 +206642,7 @@ let Spatial$1 = class Spatial extends AbstractSpatialOrScatterplot {
|
|
|
206513
206642
|
id: "scalebar-layer",
|
|
206514
206643
|
unit: unit2,
|
|
206515
206644
|
size: size2,
|
|
206645
|
+
snap: true,
|
|
206516
206646
|
viewState: { ...viewState, width: width2, height: height2 }
|
|
206517
206647
|
});
|
|
206518
206648
|
}
|
|
@@ -207710,6 +207840,7 @@ class Spatial2 extends AbstractSpatialOrScatterplot {
|
|
|
207710
207840
|
id: "scalebar-layer",
|
|
207711
207841
|
unit: "um",
|
|
207712
207842
|
size: 1,
|
|
207843
|
+
snap: true,
|
|
207713
207844
|
viewState: { ...viewState, width: width2, height: height2 }
|
|
207714
207845
|
});
|
|
207715
207846
|
}
|
|
@@ -216648,7 +216779,7 @@ const HIGLASS_BUNDLE_VERSION = "1.11.13";
|
|
|
216648
216779
|
const HIGLASS_CSS_URL = `https://unpkg.com/${HIGLASS_PKG_NAME}@${HIGLASS_BUNDLE_VERSION}/dist/hglib.css`;
|
|
216649
216780
|
register({ dataFetcher: ZarrMultivecDataFetcher, config: ZarrMultivecDataFetcher.config }, { pluginType: "dataFetcher" });
|
|
216650
216781
|
const LazyHiGlassComponent = React__default.lazy(async () => {
|
|
216651
|
-
const { HiGlassComponent } = await import("./hglib-
|
|
216782
|
+
const { HiGlassComponent } = await import("./hglib-3a33324c.js").then((n3) => n3.h);
|
|
216652
216783
|
return { default: HiGlassComponent };
|
|
216653
216784
|
});
|
|
216654
216785
|
const HG_SIZE = 800;
|
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, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-d58f9b90.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "react-dom";
|
|
5
5
|
var LercDecode = { exports: {} };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/dev",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.2",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"dist-tsc"
|
|
17
17
|
],
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@vitessce/all": "3.2.
|
|
20
|
-
"@vitessce/config": "3.2.
|
|
21
|
-
"@vitessce/constants": "3.2.
|
|
22
|
-
"@vitessce/export-utils": "3.2.
|
|
19
|
+
"@vitessce/all": "3.2.2",
|
|
20
|
+
"@vitessce/config": "3.2.2",
|
|
21
|
+
"@vitessce/constants": "3.2.2",
|
|
22
|
+
"@vitessce/export-utils": "3.2.2"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@vitejs/plugin-react": "^4.0.0",
|