@vitessce/json 3.8.13 → 3.9.1
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-CZehCoup.js → deflate-DBGHWmLO.js} +1 -1
- package/dist/{index-DLgJxMwz.js → index-D-9lDyoy.js} +15 -8
- package/dist/index.js +1 -1
- package/dist/{jpeg-CMQUyiHQ.js → jpeg-D6lzBVpH.js} +1 -1
- package/dist/{lerc-BDyPGgaN.js → lerc-CH7-yTFe.js} +1 -1
- package/dist/{lzw-PjlHwnWk.js → lzw-Bqw8_gwL.js} +1 -1
- package/dist/{packbits-DA7Isyxs.js → packbits-BG83n6hr.js} +1 -1
- package/dist/{raw-CiSlz5iU.js → raw-Dw6hNFOi.js} +1 -1
- package/dist/{webimage-Bf6gcEvN.js → webimage-D0I5RF8i.js} +1 -1
- package/package.json +12 -12
|
@@ -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-D-9lDyoy.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -313,6 +313,7 @@ const CoordinationType$1 = {
|
|
|
313
313
|
OBS_SET_HIGHLIGHT: "obsSetHighlight",
|
|
314
314
|
OBS_SET_EXPANSION: "obsSetExpansion",
|
|
315
315
|
OBS_SET_COLOR: "obsSetColor",
|
|
316
|
+
FEATURE_COLOR: "featureColor",
|
|
316
317
|
FEATURE_HIGHLIGHT: "featureHighlight",
|
|
317
318
|
FEATURE_SELECTION: "featureSelection",
|
|
318
319
|
FEATURE_SET_SELECTION: "featureSetSelection",
|
|
@@ -887,6 +888,8 @@ const CoordinationType$1 = {
|
|
|
887
888
|
CoordinationType$1.OBS_SET_FILTER,
|
|
888
889
|
CoordinationType$1.OBS_SET_HIGHLIGHT,
|
|
889
890
|
CoordinationType$1.OBS_SET_COLOR,
|
|
891
|
+
CoordinationType$1.FEATURE_COLOR,
|
|
892
|
+
CoordinationType$1.FEATURE_FILTER_MODE,
|
|
890
893
|
CoordinationType$1.FEATURE_HIGHLIGHT,
|
|
891
894
|
CoordinationType$1.FEATURE_SELECTION,
|
|
892
895
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
@@ -1101,6 +1104,8 @@ const CoordinationType$1 = {
|
|
|
1101
1104
|
CoordinationType$1.SPATIAL_SPOT_STROKE_WIDTH,
|
|
1102
1105
|
CoordinationType$1.SPATIAL_LAYER_COLOR,
|
|
1103
1106
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
1107
|
+
CoordinationType$1.FEATURE_COLOR,
|
|
1108
|
+
CoordinationType$1.FEATURE_FILTER_MODE,
|
|
1104
1109
|
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
1105
1110
|
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
1106
1111
|
CoordinationType$1.FEATURE_SELECTION,
|
|
@@ -9968,7 +9973,9 @@ const obsSegmentationsSpatialdataSchema = z.object({
|
|
|
9968
9973
|
const obsPointsSpatialdataSchema = z.object({
|
|
9969
9974
|
path: z.string().describe("The path to the point data."),
|
|
9970
9975
|
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."),
|
|
9971
|
-
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.')
|
|
9976
|
+
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.'),
|
|
9977
|
+
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)."),
|
|
9978
|
+
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".')
|
|
9972
9979
|
});
|
|
9973
9980
|
z.object({
|
|
9974
9981
|
path: z.string(),
|
|
@@ -138914,22 +138921,22 @@ async function getDecoder(fileDirectory) {
|
|
|
138914
138921
|
const Decoder = await importFn();
|
|
138915
138922
|
return new Decoder(fileDirectory);
|
|
138916
138923
|
}
|
|
138917
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
138918
|
-
addDecoder(5, () => import("./lzw-
|
|
138924
|
+
addDecoder([void 0, 1], () => import("./raw-Dw6hNFOi.js").then((m) => m.default));
|
|
138925
|
+
addDecoder(5, () => import("./lzw-Bqw8_gwL.js").then((m) => m.default));
|
|
138919
138926
|
addDecoder(6, () => {
|
|
138920
138927
|
throw new Error("old style JPEG compression is not supported.");
|
|
138921
138928
|
});
|
|
138922
|
-
addDecoder(7, () => import("./jpeg-
|
|
138923
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
138924
|
-
addDecoder(32773, () => import("./packbits-
|
|
138929
|
+
addDecoder(7, () => import("./jpeg-D6lzBVpH.js").then((m) => m.default));
|
|
138930
|
+
addDecoder([8, 32946], () => import("./deflate-DBGHWmLO.js").then((m) => m.default));
|
|
138931
|
+
addDecoder(32773, () => import("./packbits-BG83n6hr.js").then((m) => m.default));
|
|
138925
138932
|
addDecoder(
|
|
138926
138933
|
34887,
|
|
138927
|
-
() => import("./lerc-
|
|
138934
|
+
() => import("./lerc-CH7-yTFe.js").then(async (m) => {
|
|
138928
138935
|
await m.zstd.init();
|
|
138929
138936
|
return m;
|
|
138930
138937
|
}).then((m) => m.default)
|
|
138931
138938
|
);
|
|
138932
|
-
addDecoder(50001, () => import("./webimage-
|
|
138939
|
+
addDecoder(50001, () => import("./webimage-D0I5RF8i.js").then((m) => m.default));
|
|
138933
138940
|
function copyNewSize(array, width, height, samplesPerPixel = 1) {
|
|
138934
138941
|
return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
|
|
138935
138942
|
}
|
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, L as LercParameters, a as LercAddCompression } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-D-9lDyoy.js";
|
|
3
3
|
var LercDecode = { exports: {} };
|
|
4
4
|
var hasRequiredLercDecode;
|
|
5
5
|
function requireLercDecode() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/json",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.9.1",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"lodash-es": "^4.17.21",
|
|
21
21
|
"zarrita": "0.5.4",
|
|
22
22
|
"zod": "^3.21.4",
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/
|
|
30
|
-
"@vitessce/
|
|
31
|
-
"@vitessce/zarr-utils": "3.
|
|
32
|
-
"@vitessce/
|
|
33
|
-
"@vitessce/
|
|
23
|
+
"@vitessce/gl": "3.9.1",
|
|
24
|
+
"@vitessce/globals": "3.9.1",
|
|
25
|
+
"@vitessce/constants-internal": "3.9.1",
|
|
26
|
+
"@vitessce/schemas": "3.9.1",
|
|
27
|
+
"@vitessce/sets-utils": "3.9.1",
|
|
28
|
+
"@vitessce/utils": "3.9.1",
|
|
29
|
+
"@vitessce/abstract": "3.9.1",
|
|
30
|
+
"@vitessce/error": "3.9.1",
|
|
31
|
+
"@vitessce/zarr-utils": "3.9.1",
|
|
32
|
+
"@vitessce/config": "3.9.1",
|
|
33
|
+
"@vitessce/spatial-utils": "3.9.1"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
36
|
"bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",
|