@vitessce/scatterplot-embedding 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-CcLuHSgx.js → deflate-ByvNJ45k.js} +1 -1
- package/dist/{index-Bxpb2AKZ.js → index-N75bp3XF.js} +37 -39
- package/dist/index.js +1 -1
- package/dist/{jpeg-DrCLRsoT.js → jpeg-apiltN1B.js} +1 -1
- package/dist/{lerc-B9rIwWOn.js → lerc-hQf_oOH-.js} +1 -1
- package/dist/{lzw-BUVadDKF.js → lzw-CD_6nkaP.js} +1 -1
- package/dist/{packbits-CaNBbQQ0.js → packbits-4HWilLQb.js} +1 -1
- package/dist/{raw-DSxiAWgk.js → raw-DN9VDLw4.js} +1 -1
- package/dist/{webimage-Bg7AiNmf.js → webimage-CQtI0xlA.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-N75bp3XF.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -11223,7 +11223,9 @@ const obsSegmentationsSpatialdataSchema = z.object({
|
|
|
11223
11223
|
const obsPointsSpatialdataSchema = z.object({
|
|
11224
11224
|
path: z.string().describe("The path to the point data."),
|
|
11225
11225
|
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."),
|
|
11226
|
-
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.')
|
|
11226
|
+
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.'),
|
|
11227
|
+
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)."),
|
|
11228
|
+
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".')
|
|
11227
11229
|
});
|
|
11228
11230
|
z.object({
|
|
11229
11231
|
path: z.string(),
|
|
@@ -123408,22 +123410,22 @@ function addDecoder(cases, importFn) {
|
|
|
123408
123410
|
}
|
|
123409
123411
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
123410
123412
|
}
|
|
123411
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
123412
|
-
addDecoder(5, () => import("./lzw-
|
|
123413
|
+
addDecoder([void 0, 1], () => import("./raw-DN9VDLw4.js").then((m2) => m2.default));
|
|
123414
|
+
addDecoder(5, () => import("./lzw-CD_6nkaP.js").then((m2) => m2.default));
|
|
123413
123415
|
addDecoder(6, () => {
|
|
123414
123416
|
throw new Error("old style JPEG compression is not supported.");
|
|
123415
123417
|
});
|
|
123416
|
-
addDecoder(7, () => import("./jpeg-
|
|
123417
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
123418
|
-
addDecoder(32773, () => import("./packbits-
|
|
123418
|
+
addDecoder(7, () => import("./jpeg-apiltN1B.js").then((m2) => m2.default));
|
|
123419
|
+
addDecoder([8, 32946], () => import("./deflate-ByvNJ45k.js").then((m2) => m2.default));
|
|
123420
|
+
addDecoder(32773, () => import("./packbits-4HWilLQb.js").then((m2) => m2.default));
|
|
123419
123421
|
addDecoder(
|
|
123420
123422
|
34887,
|
|
123421
|
-
() => import("./lerc-
|
|
123423
|
+
() => import("./lerc-hQf_oOH-.js").then(async (m2) => {
|
|
123422
123424
|
await m2.zstd.init();
|
|
123423
123425
|
return m2;
|
|
123424
123426
|
}).then((m2) => m2.default)
|
|
123425
123427
|
);
|
|
123426
|
-
addDecoder(50001, () => import("./webimage-
|
|
123428
|
+
addDecoder(50001, () => import("./webimage-CQtI0xlA.js").then((m2) => m2.default));
|
|
123427
123429
|
function decodeRowAcc(row, stride) {
|
|
123428
123430
|
let length2 = row.length - stride;
|
|
123429
123431
|
let offset2 = 0;
|
|
@@ -149888,21 +149890,20 @@ Popper$1.Utils = (typeof window !== "undefined" ? window : global).PopperUtils;
|
|
|
149888
149890
|
Popper$1.placements = placements;
|
|
149889
149891
|
Popper$1.Defaults = Defaults;
|
|
149890
149892
|
function createChainedFunction(...funcs) {
|
|
149891
|
-
return funcs.reduce(
|
|
149892
|
-
|
|
149893
|
-
|
|
149894
|
-
|
|
149895
|
-
{
|
|
149896
|
-
if (typeof func !== "function") {
|
|
149897
|
-
console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.");
|
|
149893
|
+
return funcs.reduce(
|
|
149894
|
+
(acc, func) => {
|
|
149895
|
+
if (func == null) {
|
|
149896
|
+
return acc;
|
|
149898
149897
|
}
|
|
149898
|
+
return function chainedFunction(...args) {
|
|
149899
|
+
acc.apply(this, args);
|
|
149900
|
+
func.apply(this, args);
|
|
149901
|
+
};
|
|
149902
|
+
},
|
|
149903
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
149904
|
+
() => {
|
|
149899
149905
|
}
|
|
149900
|
-
|
|
149901
|
-
acc.apply(this, args);
|
|
149902
|
-
func.apply(this, args);
|
|
149903
|
-
};
|
|
149904
|
-
}, () => {
|
|
149905
|
-
});
|
|
149906
|
+
);
|
|
149906
149907
|
}
|
|
149907
149908
|
function setRef(ref, value) {
|
|
149908
149909
|
if (typeof ref === "function") {
|
|
@@ -149941,7 +149942,7 @@ function flipPlacement(placement, theme) {
|
|
|
149941
149942
|
}
|
|
149942
149943
|
}
|
|
149943
149944
|
function getAnchorEl(anchorEl) {
|
|
149944
|
-
return typeof anchorEl === "function" ? anchorEl() : anchorEl;
|
|
149945
|
+
return typeof anchorEl === "function" ? anchorEl(document.body) : anchorEl;
|
|
149945
149946
|
}
|
|
149946
149947
|
const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
149947
149948
|
const defaultPopperOptions = {};
|
|
@@ -149971,25 +149972,18 @@ const Popper = React.forwardRef((props, ref) => {
|
|
|
149971
149972
|
}
|
|
149972
149973
|
if (popperRef.current) {
|
|
149973
149974
|
popperRef.current.destroy();
|
|
149974
|
-
handlePopperRefRef.current
|
|
149975
|
+
if (handlePopperRefRef.current) {
|
|
149976
|
+
setRef(handlePopperRefRef.current, null);
|
|
149977
|
+
}
|
|
149975
149978
|
}
|
|
149976
149979
|
const handlePopperUpdate = (data) => {
|
|
149977
149980
|
setPlacement(data.placement);
|
|
149978
149981
|
};
|
|
149979
|
-
const
|
|
149980
|
-
{
|
|
149981
|
-
|
|
149982
|
-
const box = resolvedAnchorEl.getBoundingClientRect();
|
|
149983
|
-
if (box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
|
|
149984
|
-
console.warn([
|
|
149985
|
-
"Material-UI: The `anchorEl` prop provided to the component is invalid.",
|
|
149986
|
-
"The anchor element should be part of the document layout.",
|
|
149987
|
-
"Make sure the element is present in the document or that it's not display none."
|
|
149988
|
-
].join("\n"));
|
|
149989
|
-
}
|
|
149990
|
-
}
|
|
149982
|
+
const anchorElement = getAnchorEl(anchorEl);
|
|
149983
|
+
if (!anchorElement) {
|
|
149984
|
+
return;
|
|
149991
149985
|
}
|
|
149992
|
-
const popper = new Popper$1(
|
|
149986
|
+
const popper = new Popper$1(anchorElement, tooltipRef.current, {
|
|
149993
149987
|
placement: rtlPlacement,
|
|
149994
149988
|
...popperOptions,
|
|
149995
149989
|
modifiers: {
|
|
@@ -150007,7 +150001,9 @@ const Popper = React.forwardRef((props, ref) => {
|
|
|
150007
150001
|
onCreate: createChainedFunction(handlePopperUpdate, popperOptions.onCreate),
|
|
150008
150002
|
onUpdate: createChainedFunction(handlePopperUpdate, popperOptions.onUpdate)
|
|
150009
150003
|
});
|
|
150010
|
-
handlePopperRefRef.current
|
|
150004
|
+
if (handlePopperRefRef.current) {
|
|
150005
|
+
setRef(handlePopperRefRef.current, popper);
|
|
150006
|
+
}
|
|
150011
150007
|
}, [anchorEl, disablePortal, modifiers2, open, rtlPlacement, popperOptions]);
|
|
150012
150008
|
const handleRef = React.useCallback((node2) => {
|
|
150013
150009
|
setRef(ownRef, node2);
|
|
@@ -150021,7 +150017,9 @@ const Popper = React.forwardRef((props, ref) => {
|
|
|
150021
150017
|
return;
|
|
150022
150018
|
}
|
|
150023
150019
|
popperRef.current.destroy();
|
|
150024
|
-
handlePopperRefRef.current
|
|
150020
|
+
if (handlePopperRefRef.current) {
|
|
150021
|
+
setRef(handlePopperRefRef.current, null);
|
|
150022
|
+
}
|
|
150025
150023
|
};
|
|
150026
150024
|
const handleExited = () => {
|
|
150027
150025
|
setExited(true);
|
|
@@ -150052,7 +150050,7 @@ const Popper = React.forwardRef((props, ref) => {
|
|
|
150052
150050
|
// Fix Popper.js display issue
|
|
150053
150051
|
top: 0,
|
|
150054
150052
|
left: 0,
|
|
150055
|
-
display: !open && keepMounted && !transition ? "none" :
|
|
150053
|
+
display: !open && keepMounted && !transition ? "none" : void 0,
|
|
150056
150054
|
...style2
|
|
150057
150055
|
}, children: typeof children2 === "function" ? children2(childProps) : children2 }) });
|
|
150058
150056
|
});
|
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-N75bp3XF.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/scatterplot-embedding",
|
|
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": {
|
|
@@ -20,13 +20,13 @@
|
|
|
20
20
|
"lodash-es": "^4.17.21",
|
|
21
21
|
"react-aria": "^3.28.0",
|
|
22
22
|
"@turf/circle": "^7.2.0",
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/utils": "3.9.
|
|
29
|
-
"@vitessce/vit-s": "3.9.
|
|
23
|
+
"@vitessce/legend": "3.9.2",
|
|
24
|
+
"@vitessce/scatterplot": "3.9.2",
|
|
25
|
+
"@vitessce/styles": "3.9.2",
|
|
26
|
+
"@vitessce/sets-utils": "3.9.2",
|
|
27
|
+
"@vitessce/constants-internal": "3.9.2",
|
|
28
|
+
"@vitessce/utils": "3.9.2",
|
|
29
|
+
"@vitessce/vit-s": "3.9.2"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"react": "18.3.1",
|