@vitessce/statistical-plots 3.8.0 → 3.8.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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { B as BaseDecoder } from "./index-CBlESl44.js";
2
+ import { B as BaseDecoder } from "./index-Cbe4c7In.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -32,7 +32,7 @@ const ViewType$1 = {
32
32
  SCATTERPLOT: "scatterplot",
33
33
  SPATIAL: "spatial",
34
34
  SPATIAL_BETA: "spatialBeta",
35
- SPATIAL_ACCELERATED: "spatialAccelerated",
35
+ // SPATIAL_ACCELERATED: 'spatialAccelerated',
36
36
  HEATMAP: "heatmap",
37
37
  LAYER_CONTROLLER: "layerController",
38
38
  LAYER_CONTROLLER_BETA: "layerControllerBeta",
@@ -193,6 +193,9 @@ const FileType$1 = {
193
193
  OBS_SEGMENTATIONS_OME_TIFF: "obsSegmentations.ome-tiff",
194
194
  // GLB
195
195
  OBS_SEGMENTATIONS_GLB: "obsSegmentations.glb",
196
+ // Neuroglancer
197
+ // Precomputed (mesh) format
198
+ OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
196
199
  // New file types to support old file types:
197
200
  // - cells.json
198
201
  OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
@@ -429,6 +432,7 @@ const ViewHelpMapping = {
429
432
  [FileType$1.OBS_LABELS_MUDATA_ZARR]: DataType$2.OBS_LABELS,
430
433
  [FileType$1.FEATURE_LABELS_MUDATA_ZARR]: DataType$2.FEATURE_LABELS,
431
434
  [FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$2.OBS_SEGMENTATIONS,
435
+ [FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$2.OBS_SEGMENTATIONS,
432
436
  [FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$2.IMAGE,
433
437
  [FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
434
438
  [FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
@@ -11129,6 +11133,18 @@ z.object({
11129
11133
  sceneScaleZ: z.number(),
11130
11134
  materialSide: z.enum(["front", "back"])
11131
11135
  }).partial().nullable();
11136
+ z.object({
11137
+ // TODO: Should this explicitly specify sharded vs. unsharded?
11138
+ // Or can/should that be inferred from the data?
11139
+ dimensionX: z.number(),
11140
+ dimensionY: z.number(),
11141
+ dimensionZ: z.number(),
11142
+ dimensionUnit: z.enum(["nm", "um", "µm", "mm", "cm", "m"]),
11143
+ // TODO: should the following be passed via coordination types instead?
11144
+ projectionScale: z.number(),
11145
+ position: z.array(z.number()).length(3),
11146
+ projectionOrientation: z.array(z.number()).length(4)
11147
+ }).partial().nullable();
11132
11148
  z.object({
11133
11149
  obsIndex: z.string(),
11134
11150
  obsEmbedding: z.array(z.string()).length(2)
@@ -178742,22 +178758,22 @@ function addDecoder(cases2, importFn) {
178742
178758
  }
178743
178759
  cases2.forEach((c2) => registry$1.set(c2, importFn));
178744
178760
  }
178745
- addDecoder([void 0, 1], () => import("./raw-BRhDP5pl.js").then((m2) => m2.default));
178746
- addDecoder(5, () => import("./lzw-C3n2EPuo.js").then((m2) => m2.default));
178761
+ addDecoder([void 0, 1], () => import("./raw-B1EQg_SA.js").then((m2) => m2.default));
178762
+ addDecoder(5, () => import("./lzw-Eb5O3C7F.js").then((m2) => m2.default));
178747
178763
  addDecoder(6, () => {
178748
178764
  throw new Error("old style JPEG compression is not supported.");
178749
178765
  });
178750
- addDecoder(7, () => import("./jpeg-BHVtMh8a.js").then((m2) => m2.default));
178751
- addDecoder([8, 32946], () => import("./deflate-BE3DOVpx.js").then((m2) => m2.default));
178752
- addDecoder(32773, () => import("./packbits-Byi5S9of.js").then((m2) => m2.default));
178766
+ addDecoder(7, () => import("./jpeg-hmwNBzu7.js").then((m2) => m2.default));
178767
+ addDecoder([8, 32946], () => import("./deflate-7ohytk11.js").then((m2) => m2.default));
178768
+ addDecoder(32773, () => import("./packbits-TfpJF6VX.js").then((m2) => m2.default));
178753
178769
  addDecoder(
178754
178770
  34887,
178755
- () => import("./lerc-CCK2xeTV.js").then(async (m2) => {
178771
+ () => import("./lerc-CyTLEcX2.js").then(async (m2) => {
178756
178772
  await m2.zstd.init();
178757
178773
  return m2;
178758
178774
  }).then((m2) => m2.default)
178759
178775
  );
178760
- addDecoder(50001, () => import("./webimage-Bss6PdfZ.js").then((m2) => m2.default));
178776
+ addDecoder(50001, () => import("./webimage-DkHQ713h.js").then((m2) => m2.default));
178761
178777
  function decodeRowAcc(row, stride) {
178762
178778
  let length2 = row.length - stride;
178763
178779
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b, f, C, e, a, i, D, h, E, F, c, d, T, V } from "./index-CBlESl44.js";
1
+ import { b, f, C, e, a, i, D, h, E, F, c, d, T, V } from "./index-Cbe4c7In.js";
2
2
  export {
3
3
  b as CellSetCompositionBarPlotSubscriber,
4
4
  f as CellSetExpressionPlot,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CBlESl44.js";
1
+ import { B as BaseDecoder } from "./index-Cbe4c7In.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -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-CBlESl44.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-Cbe4c7In.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CBlESl44.js";
1
+ import { B as BaseDecoder } from "./index-Cbe4c7In.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CBlESl44.js";
1
+ import { B as BaseDecoder } from "./index-Cbe4c7In.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CBlESl44.js";
1
+ import { B as BaseDecoder } from "./index-Cbe4c7In.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-CBlESl44.js";
1
+ import { B as BaseDecoder } from "./index-Cbe4c7In.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/statistical-plots",
3
- "version": "3.8.0",
3
+ "version": "3.8.2",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -28,13 +28,13 @@
28
28
  "react-aria": "^3.28.0",
29
29
  "internmap": "^2.0.3",
30
30
  "uuid": "^9.0.0",
31
- "@vitessce/styles": "3.8.0",
32
- "@vitessce/constants-internal": "3.8.0",
33
- "@vitessce/sets-utils": "3.8.0",
34
- "@vitessce/utils": "3.8.0",
35
- "@vitessce/vega": "3.8.0",
36
- "@vitessce/vit-s": "3.8.0",
37
- "@vitessce/gl": "3.8.0"
31
+ "@vitessce/styles": "3.8.2",
32
+ "@vitessce/constants-internal": "3.8.2",
33
+ "@vitessce/sets-utils": "3.8.2",
34
+ "@vitessce/utils": "3.8.2",
35
+ "@vitessce/vega": "3.8.2",
36
+ "@vitessce/vit-s": "3.8.2",
37
+ "@vitessce/gl": "3.8.2"
38
38
  },
39
39
  "devDependencies": {
40
40
  "react": "18.3.1",