@vitessce/heatmap 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-BkVXwIOr.js → deflate-DoBsfd5X.js} +1 -1
- package/dist/{index-DYmO2OXo.js → index-COwftYHh.js} +37 -39
- package/dist/index.js +1 -1
- package/dist/{jpeg-BgSqSBcW.js → jpeg-ej4QpQD2.js} +1 -1
- package/dist/{lerc-Bh37u7Qj.js → lerc-DmcLtqzg.js} +1 -1
- package/dist/{lzw-CqQYDnuj.js → lzw-B49kANWk.js} +1 -1
- package/dist/{packbits-DLjqHTtn.js → packbits-Chm1I75k.js} +1 -1
- package/dist/{raw-X9wB5QOd.js → raw-CuoVZYgh.js} +1 -1
- package/dist/{webimage-CgODQeEE.js → webimage-BTaPGzt_.js} +1 -1
- package/package.json +10 -10
|
@@ -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-COwftYHh.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -11139,7 +11139,9 @@ const obsSegmentationsSpatialdataSchema = z.object({
|
|
|
11139
11139
|
const obsPointsSpatialdataSchema = z.object({
|
|
11140
11140
|
path: z.string().describe("The path to the point data."),
|
|
11141
11141
|
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."),
|
|
11142
|
-
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.')
|
|
11142
|
+
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.'),
|
|
11143
|
+
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)."),
|
|
11144
|
+
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".')
|
|
11143
11145
|
});
|
|
11144
11146
|
z.object({
|
|
11145
11147
|
path: z.string(),
|
|
@@ -31570,21 +31572,20 @@ Popper$1.Utils = (typeof window !== "undefined" ? window : global).PopperUtils;
|
|
|
31570
31572
|
Popper$1.placements = placements;
|
|
31571
31573
|
Popper$1.Defaults = Defaults;
|
|
31572
31574
|
function createChainedFunction(...funcs) {
|
|
31573
|
-
return funcs.reduce(
|
|
31574
|
-
|
|
31575
|
-
|
|
31576
|
-
|
|
31577
|
-
{
|
|
31578
|
-
if (typeof func !== "function") {
|
|
31579
|
-
console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.");
|
|
31575
|
+
return funcs.reduce(
|
|
31576
|
+
(acc, func) => {
|
|
31577
|
+
if (func == null) {
|
|
31578
|
+
return acc;
|
|
31580
31579
|
}
|
|
31580
|
+
return function chainedFunction(...args) {
|
|
31581
|
+
acc.apply(this, args);
|
|
31582
|
+
func.apply(this, args);
|
|
31583
|
+
};
|
|
31584
|
+
},
|
|
31585
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
31586
|
+
() => {
|
|
31581
31587
|
}
|
|
31582
|
-
|
|
31583
|
-
acc.apply(this, args);
|
|
31584
|
-
func.apply(this, args);
|
|
31585
|
-
};
|
|
31586
|
-
}, () => {
|
|
31587
|
-
});
|
|
31588
|
+
);
|
|
31588
31589
|
}
|
|
31589
31590
|
function setRef(ref, value) {
|
|
31590
31591
|
if (typeof ref === "function") {
|
|
@@ -31623,7 +31624,7 @@ function flipPlacement(placement, theme) {
|
|
|
31623
31624
|
}
|
|
31624
31625
|
}
|
|
31625
31626
|
function getAnchorEl(anchorEl) {
|
|
31626
|
-
return typeof anchorEl === "function" ? anchorEl() : anchorEl;
|
|
31627
|
+
return typeof anchorEl === "function" ? anchorEl(document.body) : anchorEl;
|
|
31627
31628
|
}
|
|
31628
31629
|
const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
31629
31630
|
const defaultPopperOptions = {};
|
|
@@ -31653,25 +31654,18 @@ const Popper = React.forwardRef((props, ref) => {
|
|
|
31653
31654
|
}
|
|
31654
31655
|
if (popperRef.current) {
|
|
31655
31656
|
popperRef.current.destroy();
|
|
31656
|
-
handlePopperRefRef.current
|
|
31657
|
+
if (handlePopperRefRef.current) {
|
|
31658
|
+
setRef(handlePopperRefRef.current, null);
|
|
31659
|
+
}
|
|
31657
31660
|
}
|
|
31658
31661
|
const handlePopperUpdate = (data) => {
|
|
31659
31662
|
setPlacement(data.placement);
|
|
31660
31663
|
};
|
|
31661
|
-
const
|
|
31662
|
-
{
|
|
31663
|
-
|
|
31664
|
-
const box = resolvedAnchorEl.getBoundingClientRect();
|
|
31665
|
-
if (box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
|
|
31666
|
-
console.warn([
|
|
31667
|
-
"Material-UI: The `anchorEl` prop provided to the component is invalid.",
|
|
31668
|
-
"The anchor element should be part of the document layout.",
|
|
31669
|
-
"Make sure the element is present in the document or that it's not display none."
|
|
31670
|
-
].join("\n"));
|
|
31671
|
-
}
|
|
31672
|
-
}
|
|
31664
|
+
const anchorElement = getAnchorEl(anchorEl);
|
|
31665
|
+
if (!anchorElement) {
|
|
31666
|
+
return;
|
|
31673
31667
|
}
|
|
31674
|
-
const popper = new Popper$1(
|
|
31668
|
+
const popper = new Popper$1(anchorElement, tooltipRef.current, {
|
|
31675
31669
|
placement: rtlPlacement,
|
|
31676
31670
|
...popperOptions,
|
|
31677
31671
|
modifiers: {
|
|
@@ -31689,7 +31683,9 @@ const Popper = React.forwardRef((props, ref) => {
|
|
|
31689
31683
|
onCreate: createChainedFunction(handlePopperUpdate, popperOptions.onCreate),
|
|
31690
31684
|
onUpdate: createChainedFunction(handlePopperUpdate, popperOptions.onUpdate)
|
|
31691
31685
|
});
|
|
31692
|
-
handlePopperRefRef.current
|
|
31686
|
+
if (handlePopperRefRef.current) {
|
|
31687
|
+
setRef(handlePopperRefRef.current, popper);
|
|
31688
|
+
}
|
|
31693
31689
|
}, [anchorEl, disablePortal, modifiers2, open, rtlPlacement, popperOptions]);
|
|
31694
31690
|
const handleRef = React.useCallback((node2) => {
|
|
31695
31691
|
setRef(ownRef, node2);
|
|
@@ -31703,7 +31699,9 @@ const Popper = React.forwardRef((props, ref) => {
|
|
|
31703
31699
|
return;
|
|
31704
31700
|
}
|
|
31705
31701
|
popperRef.current.destroy();
|
|
31706
|
-
handlePopperRefRef.current
|
|
31702
|
+
if (handlePopperRefRef.current) {
|
|
31703
|
+
setRef(handlePopperRefRef.current, null);
|
|
31704
|
+
}
|
|
31707
31705
|
};
|
|
31708
31706
|
const handleExited = () => {
|
|
31709
31707
|
setExited(true);
|
|
@@ -31734,7 +31732,7 @@ const Popper = React.forwardRef((props, ref) => {
|
|
|
31734
31732
|
// Fix Popper.js display issue
|
|
31735
31733
|
top: 0,
|
|
31736
31734
|
left: 0,
|
|
31737
|
-
display: !open && keepMounted && !transition ? "none" :
|
|
31735
|
+
display: !open && keepMounted && !transition ? "none" : void 0,
|
|
31738
31736
|
...style2
|
|
31739
31737
|
}, children: typeof children2 === "function" ? children2(childProps) : children2 }) });
|
|
31740
31738
|
});
|
|
@@ -138181,22 +138179,22 @@ function addDecoder(cases, importFn) {
|
|
|
138181
138179
|
}
|
|
138182
138180
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
138183
138181
|
}
|
|
138184
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
138185
|
-
addDecoder(5, () => import("./lzw-
|
|
138182
|
+
addDecoder([void 0, 1], () => import("./raw-CuoVZYgh.js").then((m) => m.default));
|
|
138183
|
+
addDecoder(5, () => import("./lzw-B49kANWk.js").then((m) => m.default));
|
|
138186
138184
|
addDecoder(6, () => {
|
|
138187
138185
|
throw new Error("old style JPEG compression is not supported.");
|
|
138188
138186
|
});
|
|
138189
|
-
addDecoder(7, () => import("./jpeg-
|
|
138190
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
138191
|
-
addDecoder(32773, () => import("./packbits-
|
|
138187
|
+
addDecoder(7, () => import("./jpeg-ej4QpQD2.js").then((m) => m.default));
|
|
138188
|
+
addDecoder([8, 32946], () => import("./deflate-DoBsfd5X.js").then((m) => m.default));
|
|
138189
|
+
addDecoder(32773, () => import("./packbits-Chm1I75k.js").then((m) => m.default));
|
|
138192
138190
|
addDecoder(
|
|
138193
138191
|
34887,
|
|
138194
|
-
() => import("./lerc-
|
|
138192
|
+
() => import("./lerc-DmcLtqzg.js").then(async (m) => {
|
|
138195
138193
|
await m.zstd.init();
|
|
138196
138194
|
return m;
|
|
138197
138195
|
}).then((m) => m.default)
|
|
138198
138196
|
);
|
|
138199
|
-
addDecoder(50001, () => import("./webimage-
|
|
138197
|
+
addDecoder(50001, () => import("./webimage-BTaPGzt_.js").then((m) => m.default));
|
|
138200
138198
|
function decodeRowAcc(row, stride) {
|
|
138201
138199
|
let length2 = row.length - stride;
|
|
138202
138200
|
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-COwftYHh.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/heatmap",
|
|
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": {
|
|
@@ -19,15 +19,15 @@
|
|
|
19
19
|
"lodash-es": "^4.17.21",
|
|
20
20
|
"uuid": "^9.0.0",
|
|
21
21
|
"react-aria": "^3.28.0",
|
|
22
|
-
"@vitessce/
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/legend": "3.9.
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/
|
|
30
|
-
"@vitessce/
|
|
22
|
+
"@vitessce/styles": "3.9.2",
|
|
23
|
+
"@vitessce/constants-internal": "3.9.2",
|
|
24
|
+
"@vitessce/gl": "3.9.2",
|
|
25
|
+
"@vitessce/legend": "3.9.2",
|
|
26
|
+
"@vitessce/tooltip": "3.9.2",
|
|
27
|
+
"@vitessce/sets-utils": "3.9.2",
|
|
28
|
+
"@vitessce/utils": "3.9.2",
|
|
29
|
+
"@vitessce/workers": "3.9.2",
|
|
30
|
+
"@vitessce/vit-s": "3.9.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@testing-library/jest-dom": "^6.6.3",
|