@vitessce/heatmap 3.9.4 → 3.9.6
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-CafSYkE8.js → deflate-CDKIJBw3.js} +1 -1
- package/dist/{index-CdqVjZrU.js → index-stFbThbw.js} +47 -15
- package/dist/index.js +1 -1
- package/dist/{jpeg-MuaEoA29.js → jpeg-DXi1pVDo.js} +1 -1
- package/dist/{lerc-Crl3Us1z.js → lerc-CUtCqjY7.js} +1 -1
- package/dist/{lzw-SmfMfK-N.js → lzw-DBfYScam.js} +1 -1
- package/dist/{packbits-DM8_km8s.js → packbits-C-l4CWf4.js} +1 -1
- package/dist/{raw-M2AeXGn-.js → raw-DXh9TK8E.js} +1 -1
- package/dist/{webimage-BH-xh1eM.js → webimage-TsvHDfMH.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-stFbThbw.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -9689,6 +9689,7 @@ const FileType$1 = {
|
|
|
9689
9689
|
// Neuroglancer
|
|
9690
9690
|
// Precomputed (mesh) format
|
|
9691
9691
|
OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
|
|
9692
|
+
OBS_POINTS_NG_ANNOTATIONS: "obsPoints.ng-annotations",
|
|
9692
9693
|
// New file types to support old file types:
|
|
9693
9694
|
// - cells.json
|
|
9694
9695
|
OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
|
|
@@ -9920,6 +9921,7 @@ const ViewHelpMapping = {
|
|
|
9920
9921
|
[FileType$1.FEATURE_LABELS_MUDATA_ZARR]: DataType$2.FEATURE_LABELS,
|
|
9921
9922
|
[FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$2.OBS_SEGMENTATIONS,
|
|
9922
9923
|
[FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$2.OBS_SEGMENTATIONS,
|
|
9924
|
+
[FileType$1.OBS_POINTS_NG_ANNOTATIONS]: DataType$2.OBS_POINTS,
|
|
9923
9925
|
[FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$2.IMAGE,
|
|
9924
9926
|
[FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
|
|
9925
9927
|
[FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
|
|
@@ -10139,6 +10141,8 @@ const ViewHelpMapping = {
|
|
|
10139
10141
|
];
|
|
10140
10142
|
const COMPONENT_COORDINATION_TYPES = {
|
|
10141
10143
|
[ViewType$1.NEUROGLANCER]: [
|
|
10144
|
+
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
10145
|
+
CoordinationType$1.META_COORDINATION_SCOPES_BY,
|
|
10142
10146
|
CoordinationType$1.DATASET,
|
|
10143
10147
|
CoordinationType$1.SPATIAL_TARGET_X,
|
|
10144
10148
|
CoordinationType$1.SPATIAL_TARGET_Y,
|
|
@@ -10160,7 +10164,26 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
10160
10164
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
10161
10165
|
CoordinationType$1.EMBEDDING_TYPE,
|
|
10162
10166
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
10163
|
-
CoordinationType$1.TOOLTIPS_VISIBLE
|
|
10167
|
+
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
10168
|
+
CoordinationType$1.FILE_UID,
|
|
10169
|
+
CoordinationType$1.IMAGE_LAYER,
|
|
10170
|
+
CoordinationType$1.SEGMENTATION_LAYER,
|
|
10171
|
+
CoordinationType$1.IMAGE_CHANNEL,
|
|
10172
|
+
CoordinationType$1.SEGMENTATION_CHANNEL,
|
|
10173
|
+
CoordinationType$1.POINT_LAYER,
|
|
10174
|
+
CoordinationType$1.FEATURE_COLOR,
|
|
10175
|
+
CoordinationType$1.FEATURE_FILTER_MODE,
|
|
10176
|
+
CoordinationType$1.FEATURE_HIGHLIGHT,
|
|
10177
|
+
CoordinationType$1.FEATURE_SELECTION,
|
|
10178
|
+
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
10179
|
+
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
10180
|
+
CoordinationType$1.SPATIAL_LAYER_COLOR,
|
|
10181
|
+
CoordinationType$1.SPATIAL_LAYER_OPACITY,
|
|
10182
|
+
CoordinationType$1.SPATIAL_LAYER_VISIBLE,
|
|
10183
|
+
CoordinationType$1.SPATIAL_CHANNEL_COLOR,
|
|
10184
|
+
CoordinationType$1.SPATIAL_CHANNEL_OPACITY,
|
|
10185
|
+
CoordinationType$1.SPATIAL_CHANNEL_VISIBLE,
|
|
10186
|
+
CoordinationType$1.LEGEND_VISIBLE
|
|
10164
10187
|
],
|
|
10165
10188
|
[ViewType$1.SCATTERPLOT]: [
|
|
10166
10189
|
CoordinationType$1.DATASET,
|
|
@@ -11204,14 +11227,23 @@ z.object({
|
|
|
11204
11227
|
z.object({
|
|
11205
11228
|
// TODO: Should this explicitly specify sharded vs. unsharded?
|
|
11206
11229
|
// Or can/should that be inferred from the data?
|
|
11207
|
-
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
|
|
11230
|
+
// Note: None of these make sense to specify at the file level, since they
|
|
11231
|
+
// are global camera settings that would apply to all layers.
|
|
11232
|
+
// Intead, initial values should be set via the usual coordination space mechanism,
|
|
11233
|
+
// and the NeuroglancerSubscriber should handle conversion into values to pass to Neuroglancer.
|
|
11234
|
+
// dimensionX: z.number(),
|
|
11235
|
+
// dimensionY: z.number(),
|
|
11236
|
+
// dimensionZ: z.number(),
|
|
11237
|
+
// dimensionUnit: z.enum(['nm', 'um', 'µm', 'mm', 'cm', 'm']),
|
|
11211
11238
|
// TODO: should the following be passed via coordination types instead?
|
|
11212
|
-
projectionScale: z.number(),
|
|
11213
|
-
position: z.array(z.number()).length(3),
|
|
11214
|
-
projectionOrientation: z.array(z.number()).length(4)
|
|
11239
|
+
// projectionScale: z.number(),
|
|
11240
|
+
// position: z.array(z.number()).length(3),
|
|
11241
|
+
// projectionOrientation: z.array(z.number()).length(4),
|
|
11242
|
+
}).partial().nullable();
|
|
11243
|
+
z.object({
|
|
11244
|
+
projectionAnnotationSpacing: z.number(),
|
|
11245
|
+
featureIndexProp: z.string().optional().describe("The name of the Neuroglancer AnnotationProperty containing feature IDs. For example, specify 'gene' to use prop_gene() in the Neuroglancer shader code."),
|
|
11246
|
+
pointIndexProp: z.string().optional().describe("The name of the Neuroglancer AnnotationProperty containing point IDs. For example, specify 'point_id' to use prop_point_id() in the Neuroglancer shader code.")
|
|
11215
11247
|
}).partial().nullable();
|
|
11216
11248
|
z.object({
|
|
11217
11249
|
obsIndex: z.string(),
|
|
@@ -139166,22 +139198,22 @@ function addDecoder(cases, importFn) {
|
|
|
139166
139198
|
}
|
|
139167
139199
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
139168
139200
|
}
|
|
139169
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
139170
|
-
addDecoder(5, () => import("./lzw-
|
|
139201
|
+
addDecoder([void 0, 1], () => import("./raw-DXh9TK8E.js").then((m) => m.default));
|
|
139202
|
+
addDecoder(5, () => import("./lzw-DBfYScam.js").then((m) => m.default));
|
|
139171
139203
|
addDecoder(6, () => {
|
|
139172
139204
|
throw new Error("old style JPEG compression is not supported.");
|
|
139173
139205
|
});
|
|
139174
|
-
addDecoder(7, () => import("./jpeg-
|
|
139175
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
139176
|
-
addDecoder(32773, () => import("./packbits-
|
|
139206
|
+
addDecoder(7, () => import("./jpeg-DXi1pVDo.js").then((m) => m.default));
|
|
139207
|
+
addDecoder([8, 32946], () => import("./deflate-CDKIJBw3.js").then((m) => m.default));
|
|
139208
|
+
addDecoder(32773, () => import("./packbits-C-l4CWf4.js").then((m) => m.default));
|
|
139177
139209
|
addDecoder(
|
|
139178
139210
|
34887,
|
|
139179
|
-
() => import("./lerc-
|
|
139211
|
+
() => import("./lerc-CUtCqjY7.js").then(async (m) => {
|
|
139180
139212
|
await m.zstd.init();
|
|
139181
139213
|
return m;
|
|
139182
139214
|
}).then((m) => m.default)
|
|
139183
139215
|
);
|
|
139184
|
-
addDecoder(50001, () => import("./webimage-
|
|
139216
|
+
addDecoder(50001, () => import("./webimage-TsvHDfMH.js").then((m) => m.default));
|
|
139185
139217
|
function decodeRowAcc(row, stride) {
|
|
139186
139218
|
let length2 = row.length - stride;
|
|
139187
139219
|
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-stFbThbw.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.6",
|
|
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/sets-utils": "3.9.
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/workers": "3.9.
|
|
30
|
-
"@vitessce/
|
|
22
|
+
"@vitessce/gl": "3.9.6",
|
|
23
|
+
"@vitessce/legend": "3.9.6",
|
|
24
|
+
"@vitessce/sets-utils": "3.9.6",
|
|
25
|
+
"@vitessce/styles": "3.9.6",
|
|
26
|
+
"@vitessce/tooltip": "3.9.6",
|
|
27
|
+
"@vitessce/constants-internal": "3.9.6",
|
|
28
|
+
"@vitessce/vit-s": "3.9.6",
|
|
29
|
+
"@vitessce/workers": "3.9.6",
|
|
30
|
+
"@vitessce/utils": "3.9.6"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@testing-library/jest-dom": "^6.6.3",
|