@vitessce/statistical-plots 3.9.0 → 3.9.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-Bj5O1nfg.js → deflate-B-ETt-yB.js} +1 -1
- package/dist/{index-9fVs96zH.js → index-ButG05zl.js} +37 -39
- package/dist/index.js +1 -1
- package/dist/{jpeg-Wvr1Cm-A.js → jpeg-C6yr9rB2.js} +1 -1
- package/dist/{lerc-bi6D1HS5.js → lerc-CZimPdvH.js} +1 -1
- package/dist/{lzw-D4ly43Bg.js → lzw-D3137bqn.js} +1 -1
- package/dist/{packbits-2vnLiyhJ.js → packbits-CE3ikUHn.js} +1 -1
- package/dist/{raw-BY6qb5oD.js → raw-Cf7lJAa6.js} +1 -1
- package/dist/{webimage-0VOGQ7_T.js → webimage-WgWEq7iv.js} +1 -1
- package/package.json +8 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { B as BaseDecoder } from "./index-
|
|
2
|
+
import { B as BaseDecoder } from "./index-ButG05zl.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -11479,7 +11479,9 @@ const obsSegmentationsSpatialdataSchema = z.object({
|
|
|
11479
11479
|
const obsPointsSpatialdataSchema = z.object({
|
|
11480
11480
|
path: z.string().describe("The path to the point data."),
|
|
11481
11481
|
tablePath: z.string().optional().describe("The path to a table which annotates the points. If available but not specified, the spot identifiers may not be aligned with associated tabular data as expected."),
|
|
11482
|
-
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.')
|
|
11482
|
+
coordinateSystem: z.string().optional().describe('The name of a coordinate transformation output used to transform the image. If not provided, the "global" coordinate system is assumed.'),
|
|
11483
|
+
featureIndexColumn: z.string().optional().describe("The name of the column in the table which contains the feature (e.g., gene) indices associated with each point (aligned with the table var.index dataframe column)."),
|
|
11484
|
+
mortonCodeColumn: z.string().optional().describe('The name of the column in the table which contains the Morton codes for each point, used for efficient spatial querying. If not provided, Vitessce will assume the default column name "morton_code_2d".')
|
|
11483
11485
|
});
|
|
11484
11486
|
z.object({
|
|
11485
11487
|
path: z.string(),
|
|
@@ -75381,21 +75383,20 @@ Popper.Utils = (typeof window !== "undefined" ? window : global).PopperUtils;
|
|
|
75381
75383
|
Popper.placements = placements;
|
|
75382
75384
|
Popper.Defaults = Defaults;
|
|
75383
75385
|
function createChainedFunction(...funcs) {
|
|
75384
|
-
return funcs.reduce(
|
|
75385
|
-
|
|
75386
|
-
|
|
75387
|
-
|
|
75388
|
-
{
|
|
75389
|
-
if (typeof func !== "function") {
|
|
75390
|
-
console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.");
|
|
75386
|
+
return funcs.reduce(
|
|
75387
|
+
(acc, func) => {
|
|
75388
|
+
if (func == null) {
|
|
75389
|
+
return acc;
|
|
75391
75390
|
}
|
|
75391
|
+
return function chainedFunction(...args) {
|
|
75392
|
+
acc.apply(this, args);
|
|
75393
|
+
func.apply(this, args);
|
|
75394
|
+
};
|
|
75395
|
+
},
|
|
75396
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
75397
|
+
() => {
|
|
75392
75398
|
}
|
|
75393
|
-
|
|
75394
|
-
acc.apply(this, args);
|
|
75395
|
-
func.apply(this, args);
|
|
75396
|
-
};
|
|
75397
|
-
}, () => {
|
|
75398
|
-
});
|
|
75399
|
+
);
|
|
75399
75400
|
}
|
|
75400
75401
|
function setRef(ref2, value2) {
|
|
75401
75402
|
if (typeof ref2 === "function") {
|
|
@@ -75434,7 +75435,7 @@ function flipPlacement(placement, theme) {
|
|
|
75434
75435
|
}
|
|
75435
75436
|
}
|
|
75436
75437
|
function getAnchorEl(anchorEl) {
|
|
75437
|
-
return typeof anchorEl === "function" ? anchorEl() : anchorEl;
|
|
75438
|
+
return typeof anchorEl === "function" ? anchorEl(document.body) : anchorEl;
|
|
75438
75439
|
}
|
|
75439
75440
|
const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
75440
75441
|
const defaultPopperOptions = {};
|
|
@@ -75464,25 +75465,18 @@ React.forwardRef((props, ref2) => {
|
|
|
75464
75465
|
}
|
|
75465
75466
|
if (popperRef.current) {
|
|
75466
75467
|
popperRef.current.destroy();
|
|
75467
|
-
handlePopperRefRef.current
|
|
75468
|
+
if (handlePopperRefRef.current) {
|
|
75469
|
+
setRef(handlePopperRefRef.current, null);
|
|
75470
|
+
}
|
|
75468
75471
|
}
|
|
75469
75472
|
const handlePopperUpdate = (data2) => {
|
|
75470
75473
|
setPlacement(data2.placement);
|
|
75471
75474
|
};
|
|
75472
|
-
const
|
|
75473
|
-
{
|
|
75474
|
-
|
|
75475
|
-
const box = resolvedAnchorEl.getBoundingClientRect();
|
|
75476
|
-
if (box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
|
|
75477
|
-
console.warn([
|
|
75478
|
-
"Material-UI: The `anchorEl` prop provided to the component is invalid.",
|
|
75479
|
-
"The anchor element should be part of the document layout.",
|
|
75480
|
-
"Make sure the element is present in the document or that it's not display none."
|
|
75481
|
-
].join("\n"));
|
|
75482
|
-
}
|
|
75483
|
-
}
|
|
75475
|
+
const anchorElement = getAnchorEl(anchorEl);
|
|
75476
|
+
if (!anchorElement) {
|
|
75477
|
+
return;
|
|
75484
75478
|
}
|
|
75485
|
-
const popper2 = new Popper(
|
|
75479
|
+
const popper2 = new Popper(anchorElement, tooltipRef.current, {
|
|
75486
75480
|
placement: rtlPlacement,
|
|
75487
75481
|
...popperOptions,
|
|
75488
75482
|
modifiers: {
|
|
@@ -75500,7 +75494,9 @@ React.forwardRef((props, ref2) => {
|
|
|
75500
75494
|
onCreate: createChainedFunction(handlePopperUpdate, popperOptions.onCreate),
|
|
75501
75495
|
onUpdate: createChainedFunction(handlePopperUpdate, popperOptions.onUpdate)
|
|
75502
75496
|
});
|
|
75503
|
-
handlePopperRefRef.current
|
|
75497
|
+
if (handlePopperRefRef.current) {
|
|
75498
|
+
setRef(handlePopperRefRef.current, popper2);
|
|
75499
|
+
}
|
|
75504
75500
|
}, [anchorEl, disablePortal, modifiers2, open, rtlPlacement, popperOptions]);
|
|
75505
75501
|
const handleRef = React.useCallback((node2) => {
|
|
75506
75502
|
setRef(ownRef, node2);
|
|
@@ -75514,7 +75510,9 @@ React.forwardRef((props, ref2) => {
|
|
|
75514
75510
|
return;
|
|
75515
75511
|
}
|
|
75516
75512
|
popperRef.current.destroy();
|
|
75517
|
-
handlePopperRefRef.current
|
|
75513
|
+
if (handlePopperRefRef.current) {
|
|
75514
|
+
setRef(handlePopperRefRef.current, null);
|
|
75515
|
+
}
|
|
75518
75516
|
};
|
|
75519
75517
|
const handleExited = () => {
|
|
75520
75518
|
setExited(true);
|
|
@@ -75545,7 +75543,7 @@ React.forwardRef((props, ref2) => {
|
|
|
75545
75543
|
// Fix Popper.js display issue
|
|
75546
75544
|
top: 0,
|
|
75547
75545
|
left: 0,
|
|
75548
|
-
display: !open && keepMounted && !transition2 ? "none" :
|
|
75546
|
+
display: !open && keepMounted && !transition2 ? "none" : void 0,
|
|
75549
75547
|
...style2
|
|
75550
75548
|
}, children: typeof children2 === "function" ? children2(childProps) : children2 }) });
|
|
75551
75549
|
});
|
|
@@ -179155,22 +179153,22 @@ function addDecoder(cases2, importFn) {
|
|
|
179155
179153
|
}
|
|
179156
179154
|
cases2.forEach((c2) => registry$1.set(c2, importFn));
|
|
179157
179155
|
}
|
|
179158
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
179159
|
-
addDecoder(5, () => import("./lzw-
|
|
179156
|
+
addDecoder([void 0, 1], () => import("./raw-Cf7lJAa6.js").then((m2) => m2.default));
|
|
179157
|
+
addDecoder(5, () => import("./lzw-D3137bqn.js").then((m2) => m2.default));
|
|
179160
179158
|
addDecoder(6, () => {
|
|
179161
179159
|
throw new Error("old style JPEG compression is not supported.");
|
|
179162
179160
|
});
|
|
179163
|
-
addDecoder(7, () => import("./jpeg-
|
|
179164
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
179165
|
-
addDecoder(32773, () => import("./packbits-
|
|
179161
|
+
addDecoder(7, () => import("./jpeg-C6yr9rB2.js").then((m2) => m2.default));
|
|
179162
|
+
addDecoder([8, 32946], () => import("./deflate-B-ETt-yB.js").then((m2) => m2.default));
|
|
179163
|
+
addDecoder(32773, () => import("./packbits-CE3ikUHn.js").then((m2) => m2.default));
|
|
179166
179164
|
addDecoder(
|
|
179167
179165
|
34887,
|
|
179168
|
-
() => import("./lerc-
|
|
179166
|
+
() => import("./lerc-CZimPdvH.js").then(async (m2) => {
|
|
179169
179167
|
await m2.zstd.init();
|
|
179170
179168
|
return m2;
|
|
179171
179169
|
}).then((m2) => m2.default)
|
|
179172
179170
|
);
|
|
179173
|
-
addDecoder(50001, () => import("./webimage-
|
|
179171
|
+
addDecoder(50001, () => import("./webimage-WgWEq7iv.js").then((m2) => m2.default));
|
|
179174
179172
|
function decodeRowAcc(row, stride) {
|
|
179175
179173
|
let length2 = row.length - stride;
|
|
179176
179174
|
let offset2 = 0;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-ButG05zl.js";
|
|
3
3
|
const LercParameters = {
|
|
4
4
|
AddCompression: 1
|
|
5
5
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/statistical-plots",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.2",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
"react-aria": "^3.28.0",
|
|
29
29
|
"internmap": "^2.0.3",
|
|
30
30
|
"uuid": "^9.0.0",
|
|
31
|
-
"@vitessce/styles": "3.9.
|
|
32
|
-
"@vitessce/sets-utils": "3.9.
|
|
33
|
-
"@vitessce/
|
|
34
|
-
"@vitessce/
|
|
35
|
-
"@vitessce/
|
|
36
|
-
"@vitessce/vit-s": "3.9.
|
|
37
|
-
"@vitessce/gl": "3.9.
|
|
31
|
+
"@vitessce/styles": "3.9.2",
|
|
32
|
+
"@vitessce/sets-utils": "3.9.2",
|
|
33
|
+
"@vitessce/utils": "3.9.2",
|
|
34
|
+
"@vitessce/vega": "3.9.2",
|
|
35
|
+
"@vitessce/constants-internal": "3.9.2",
|
|
36
|
+
"@vitessce/vit-s": "3.9.2",
|
|
37
|
+
"@vitessce/gl": "3.9.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"react": "18.3.1",
|