@vitessce/scatterplot-embedding 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-CWfNPY8G.js → deflate-CPKmTD_H.js} +1 -1
- package/dist/{index-CDWR6IMJ.js → index-BFIHjDqy.js} +47 -15
- package/dist/index.js +1 -1
- package/dist/{jpeg-D1J3Yyuv.js → jpeg-DHOm-lsS.js} +1 -1
- package/dist/{lerc-BPUie9tO.js → lerc-BNgwp9p4.js} +1 -1
- package/dist/{lzw-C2v0Vgro.js → lzw-gYw3lEmK.js} +1 -1
- package/dist/{packbits-BdcRH7tW.js → packbits-C5YjAXWF.js} +1 -1
- package/dist/{raw-VHHlcd3d.js → raw-EACDAQyt.js} +1 -1
- package/dist/{webimage-DmwF48h3.js → webimage-BZfJm-XR.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-BFIHjDqy.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -9773,6 +9773,7 @@ const FileType$1 = {
|
|
|
9773
9773
|
// Neuroglancer
|
|
9774
9774
|
// Precomputed (mesh) format
|
|
9775
9775
|
OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
|
|
9776
|
+
OBS_POINTS_NG_ANNOTATIONS: "obsPoints.ng-annotations",
|
|
9776
9777
|
// New file types to support old file types:
|
|
9777
9778
|
// - cells.json
|
|
9778
9779
|
OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
|
|
@@ -10004,6 +10005,7 @@ const ViewHelpMapping = {
|
|
|
10004
10005
|
[FileType$1.FEATURE_LABELS_MUDATA_ZARR]: DataType$2.FEATURE_LABELS,
|
|
10005
10006
|
[FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$2.OBS_SEGMENTATIONS,
|
|
10006
10007
|
[FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$2.OBS_SEGMENTATIONS,
|
|
10008
|
+
[FileType$1.OBS_POINTS_NG_ANNOTATIONS]: DataType$2.OBS_POINTS,
|
|
10007
10009
|
[FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$2.IMAGE,
|
|
10008
10010
|
[FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
|
|
10009
10011
|
[FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
|
|
@@ -10223,6 +10225,8 @@ const ViewHelpMapping = {
|
|
|
10223
10225
|
];
|
|
10224
10226
|
const COMPONENT_COORDINATION_TYPES = {
|
|
10225
10227
|
[ViewType$1.NEUROGLANCER]: [
|
|
10228
|
+
CoordinationType$1.META_COORDINATION_SCOPES,
|
|
10229
|
+
CoordinationType$1.META_COORDINATION_SCOPES_BY,
|
|
10226
10230
|
CoordinationType$1.DATASET,
|
|
10227
10231
|
CoordinationType$1.SPATIAL_TARGET_X,
|
|
10228
10232
|
CoordinationType$1.SPATIAL_TARGET_Y,
|
|
@@ -10244,7 +10248,26 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
10244
10248
|
CoordinationType$1.OBS_COLOR_ENCODING,
|
|
10245
10249
|
CoordinationType$1.EMBEDDING_TYPE,
|
|
10246
10250
|
CoordinationType$1.ADDITIONAL_OBS_SETS,
|
|
10247
|
-
CoordinationType$1.TOOLTIPS_VISIBLE
|
|
10251
|
+
CoordinationType$1.TOOLTIPS_VISIBLE,
|
|
10252
|
+
CoordinationType$1.FILE_UID,
|
|
10253
|
+
CoordinationType$1.IMAGE_LAYER,
|
|
10254
|
+
CoordinationType$1.SEGMENTATION_LAYER,
|
|
10255
|
+
CoordinationType$1.IMAGE_CHANNEL,
|
|
10256
|
+
CoordinationType$1.SEGMENTATION_CHANNEL,
|
|
10257
|
+
CoordinationType$1.POINT_LAYER,
|
|
10258
|
+
CoordinationType$1.FEATURE_COLOR,
|
|
10259
|
+
CoordinationType$1.FEATURE_FILTER_MODE,
|
|
10260
|
+
CoordinationType$1.FEATURE_HIGHLIGHT,
|
|
10261
|
+
CoordinationType$1.FEATURE_SELECTION,
|
|
10262
|
+
CoordinationType$1.FEATURE_VALUE_COLORMAP,
|
|
10263
|
+
CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
|
|
10264
|
+
CoordinationType$1.SPATIAL_LAYER_COLOR,
|
|
10265
|
+
CoordinationType$1.SPATIAL_LAYER_OPACITY,
|
|
10266
|
+
CoordinationType$1.SPATIAL_LAYER_VISIBLE,
|
|
10267
|
+
CoordinationType$1.SPATIAL_CHANNEL_COLOR,
|
|
10268
|
+
CoordinationType$1.SPATIAL_CHANNEL_OPACITY,
|
|
10269
|
+
CoordinationType$1.SPATIAL_CHANNEL_VISIBLE,
|
|
10270
|
+
CoordinationType$1.LEGEND_VISIBLE
|
|
10248
10271
|
],
|
|
10249
10272
|
[ViewType$1.SCATTERPLOT]: [
|
|
10250
10273
|
CoordinationType$1.DATASET,
|
|
@@ -11288,14 +11311,23 @@ z.object({
|
|
|
11288
11311
|
z.object({
|
|
11289
11312
|
// TODO: Should this explicitly specify sharded vs. unsharded?
|
|
11290
11313
|
// Or can/should that be inferred from the data?
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11294
|
-
|
|
11314
|
+
// Note: None of these make sense to specify at the file level, since they
|
|
11315
|
+
// are global camera settings that would apply to all layers.
|
|
11316
|
+
// Intead, initial values should be set via the usual coordination space mechanism,
|
|
11317
|
+
// and the NeuroglancerSubscriber should handle conversion into values to pass to Neuroglancer.
|
|
11318
|
+
// dimensionX: z.number(),
|
|
11319
|
+
// dimensionY: z.number(),
|
|
11320
|
+
// dimensionZ: z.number(),
|
|
11321
|
+
// dimensionUnit: z.enum(['nm', 'um', 'µm', 'mm', 'cm', 'm']),
|
|
11295
11322
|
// TODO: should the following be passed via coordination types instead?
|
|
11296
|
-
projectionScale: z.number(),
|
|
11297
|
-
position: z.array(z.number()).length(3),
|
|
11298
|
-
projectionOrientation: z.array(z.number()).length(4)
|
|
11323
|
+
// projectionScale: z.number(),
|
|
11324
|
+
// position: z.array(z.number()).length(3),
|
|
11325
|
+
// projectionOrientation: z.array(z.number()).length(4),
|
|
11326
|
+
}).partial().nullable();
|
|
11327
|
+
z.object({
|
|
11328
|
+
projectionAnnotationSpacing: z.number(),
|
|
11329
|
+
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."),
|
|
11330
|
+
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.")
|
|
11299
11331
|
}).partial().nullable();
|
|
11300
11332
|
z.object({
|
|
11301
11333
|
obsIndex: z.string(),
|
|
@@ -123422,22 +123454,22 @@ function addDecoder(cases, importFn) {
|
|
|
123422
123454
|
}
|
|
123423
123455
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
123424
123456
|
}
|
|
123425
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
123426
|
-
addDecoder(5, () => import("./lzw-
|
|
123457
|
+
addDecoder([void 0, 1], () => import("./raw-EACDAQyt.js").then((m2) => m2.default));
|
|
123458
|
+
addDecoder(5, () => import("./lzw-gYw3lEmK.js").then((m2) => m2.default));
|
|
123427
123459
|
addDecoder(6, () => {
|
|
123428
123460
|
throw new Error("old style JPEG compression is not supported.");
|
|
123429
123461
|
});
|
|
123430
|
-
addDecoder(7, () => import("./jpeg-
|
|
123431
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
123432
|
-
addDecoder(32773, () => import("./packbits-
|
|
123462
|
+
addDecoder(7, () => import("./jpeg-DHOm-lsS.js").then((m2) => m2.default));
|
|
123463
|
+
addDecoder([8, 32946], () => import("./deflate-CPKmTD_H.js").then((m2) => m2.default));
|
|
123464
|
+
addDecoder(32773, () => import("./packbits-C5YjAXWF.js").then((m2) => m2.default));
|
|
123433
123465
|
addDecoder(
|
|
123434
123466
|
34887,
|
|
123435
|
-
() => import("./lerc-
|
|
123467
|
+
() => import("./lerc-BNgwp9p4.js").then(async (m2) => {
|
|
123436
123468
|
await m2.zstd.init();
|
|
123437
123469
|
return m2;
|
|
123438
123470
|
}).then((m2) => m2.default)
|
|
123439
123471
|
);
|
|
123440
|
-
addDecoder(50001, () => import("./webimage-
|
|
123472
|
+
addDecoder(50001, () => import("./webimage-BZfJm-XR.js").then((m2) => m2.default));
|
|
123441
123473
|
function decodeRowAcc(row, stride) {
|
|
123442
123474
|
let length2 = row.length - stride;
|
|
123443
123475
|
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-BFIHjDqy.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.6",
|
|
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/styles": "3.9.
|
|
24
|
-
"@vitessce/constants-internal": "3.9.
|
|
25
|
-
"@vitessce/legend": "3.9.
|
|
26
|
-
"@vitessce/scatterplot": "3.9.
|
|
27
|
-
"@vitessce/
|
|
28
|
-
"@vitessce/
|
|
29
|
-
"@vitessce/
|
|
23
|
+
"@vitessce/styles": "3.9.6",
|
|
24
|
+
"@vitessce/constants-internal": "3.9.6",
|
|
25
|
+
"@vitessce/legend": "3.9.6",
|
|
26
|
+
"@vitessce/scatterplot": "3.9.6",
|
|
27
|
+
"@vitessce/utils": "3.9.6",
|
|
28
|
+
"@vitessce/vit-s": "3.9.6",
|
|
29
|
+
"@vitessce/sets-utils": "3.9.6"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"react": "18.3.1",
|