@vitessce/scatterplot-gating 3.8.1 → 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-BtZNxZ-h.js";
2
+ import { B as BaseDecoder } from "./index-BZoxwGBy.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -9650,6 +9650,9 @@ const FileType$1 = {
9650
9650
  OBS_SEGMENTATIONS_OME_TIFF: "obsSegmentations.ome-tiff",
9651
9651
  // GLB
9652
9652
  OBS_SEGMENTATIONS_GLB: "obsSegmentations.glb",
9653
+ // Neuroglancer
9654
+ // Precomputed (mesh) format
9655
+ OBS_SEGMENTATIONS_NG_PRECOMPUTED: "obsSegmentations.ng-precomputed",
9653
9656
  // New file types to support old file types:
9654
9657
  // - cells.json
9655
9658
  OBS_EMBEDDING_CELLS_JSON: "obsEmbedding.cells.json",
@@ -9877,6 +9880,7 @@ const ViewHelpMapping = {
9877
9880
  [FileType$1.OBS_LABELS_MUDATA_ZARR]: DataType$2.OBS_LABELS,
9878
9881
  [FileType$1.FEATURE_LABELS_MUDATA_ZARR]: DataType$2.FEATURE_LABELS,
9879
9882
  [FileType$1.OBS_SEGMENTATIONS_GLB]: DataType$2.OBS_SEGMENTATIONS,
9883
+ [FileType$1.OBS_SEGMENTATIONS_NG_PRECOMPUTED]: DataType$2.OBS_SEGMENTATIONS,
9880
9884
  [FileType$1.IMAGE_SPATIALDATA_ZARR]: DataType$2.IMAGE,
9881
9885
  [FileType$1.LABELS_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
9882
9886
  [FileType$1.SHAPES_SPATIALDATA_ZARR]: DataType$2.OBS_SEGMENTATIONS,
@@ -11140,6 +11144,18 @@ z.object({
11140
11144
  sceneScaleZ: z.number(),
11141
11145
  materialSide: z.enum(["front", "back"])
11142
11146
  }).partial().nullable();
11147
+ z.object({
11148
+ // TODO: Should this explicitly specify sharded vs. unsharded?
11149
+ // Or can/should that be inferred from the data?
11150
+ dimensionX: z.number(),
11151
+ dimensionY: z.number(),
11152
+ dimensionZ: z.number(),
11153
+ dimensionUnit: z.enum(["nm", "um", "µm", "mm", "cm", "m"]),
11154
+ // TODO: should the following be passed via coordination types instead?
11155
+ projectionScale: z.number(),
11156
+ position: z.array(z.number()).length(3),
11157
+ projectionOrientation: z.array(z.number()).length(4)
11158
+ }).partial().nullable();
11143
11159
  z.object({
11144
11160
  obsIndex: z.string(),
11145
11161
  obsEmbedding: z.array(z.string()).length(2)
@@ -123129,22 +123145,22 @@ function addDecoder(cases, importFn) {
123129
123145
  }
123130
123146
  cases.forEach((c2) => registry$1.set(c2, importFn));
123131
123147
  }
123132
- addDecoder([void 0, 1], () => import("./raw-CPZ15kc6.js").then((m2) => m2.default));
123133
- addDecoder(5, () => import("./lzw-UI7yv_i_.js").then((m2) => m2.default));
123148
+ addDecoder([void 0, 1], () => import("./raw-C5EHR8Uv.js").then((m2) => m2.default));
123149
+ addDecoder(5, () => import("./lzw-DpnaIz4v.js").then((m2) => m2.default));
123134
123150
  addDecoder(6, () => {
123135
123151
  throw new Error("old style JPEG compression is not supported.");
123136
123152
  });
123137
- addDecoder(7, () => import("./jpeg-DVC1608-.js").then((m2) => m2.default));
123138
- addDecoder([8, 32946], () => import("./deflate-BKZQ1leu.js").then((m2) => m2.default));
123139
- addDecoder(32773, () => import("./packbits-9luiYC71.js").then((m2) => m2.default));
123153
+ addDecoder(7, () => import("./jpeg-DnXWckxj.js").then((m2) => m2.default));
123154
+ addDecoder([8, 32946], () => import("./deflate-CKHV0khu.js").then((m2) => m2.default));
123155
+ addDecoder(32773, () => import("./packbits-DlOGmdZv.js").then((m2) => m2.default));
123140
123156
  addDecoder(
123141
123157
  34887,
123142
- () => import("./lerc-DNyzMqIs.js").then(async (m2) => {
123158
+ () => import("./lerc-DnC1d7LQ.js").then(async (m2) => {
123143
123159
  await m2.zstd.init();
123144
123160
  return m2;
123145
123161
  }).then((m2) => m2.default)
123146
123162
  );
123147
- addDecoder(50001, () => import("./webimage-D6ZE7-4c.js").then((m2) => m2.default));
123163
+ addDecoder(50001, () => import("./webimage-CXmDbYs_.js").then((m2) => m2.default));
123148
123164
  function decodeRowAcc(row, stride) {
123149
123165
  let length2 = row.length - stride;
123150
123166
  let offset2 = 0;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G } from "./index-BtZNxZ-h.js";
1
+ import { G } from "./index-BZoxwGBy.js";
2
2
  export {
3
3
  G as GatingSubscriber
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BtZNxZ-h.js";
1
+ import { B as BaseDecoder } from "./index-BZoxwGBy.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-BtZNxZ-h.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-BZoxwGBy.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BtZNxZ-h.js";
1
+ import { B as BaseDecoder } from "./index-BZoxwGBy.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-BtZNxZ-h.js";
1
+ import { B as BaseDecoder } from "./index-BZoxwGBy.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-BtZNxZ-h.js";
1
+ import { B as BaseDecoder } from "./index-BZoxwGBy.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-BtZNxZ-h.js";
1
+ import { B as BaseDecoder } from "./index-BZoxwGBy.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/scatterplot-gating",
3
- "version": "3.8.1",
3
+ "version": "3.8.2",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -19,12 +19,12 @@
19
19
  "d3-array": "^2.4.0",
20
20
  "lodash-es": "^4.17.21",
21
21
  "react-aria": "^3.28.0",
22
- "@vitessce/styles": "3.8.1",
23
- "@vitessce/constants-internal": "3.8.1",
24
- "@vitessce/scatterplot": "3.8.1",
25
- "@vitessce/sets-utils": "3.8.1",
26
- "@vitessce/utils": "3.8.1",
27
- "@vitessce/vit-s": "3.8.1"
22
+ "@vitessce/styles": "3.8.2",
23
+ "@vitessce/constants-internal": "3.8.2",
24
+ "@vitessce/scatterplot": "3.8.2",
25
+ "@vitessce/sets-utils": "3.8.2",
26
+ "@vitessce/utils": "3.8.2",
27
+ "@vitessce/vit-s": "3.8.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "react": "18.3.1",