@vitessce/json 4.0.7 → 4.0.8

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-D3-AvtIM.js";
2
+ import { B as BaseDecoder } from "./index-l5IGfUA8.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -94,7 +94,8 @@ const ViewType$1 = {
94
94
  DUAL_SCATTERPLOT: "dualScatterplot",
95
95
  TREEMAP: "treemap",
96
96
  SAMPLE_SET_PAIR_MANAGER: "sampleSetPairManager",
97
- FEATURE_STATS_TABLE: "featureStatsTable"
97
+ FEATURE_STATS_TABLE: "featureStatsTable",
98
+ SINGLE_OBS_SET_SELECTOR: "singleObsSetSelector"
98
99
  };
99
100
  const DataType$2 = {
100
101
  OBS_LABELS: "obsLabels",
@@ -1288,6 +1289,11 @@ const CoordinationType$1 = {
1288
1289
  CoordinationType$1.FEATURE_POINT_FOLD_CHANGE_THRESHOLD,
1289
1290
  CoordinationType$1.FEATURE_LABEL_FOLD_CHANGE_THRESHOLD
1290
1291
  ],
1292
+ [ViewType$1.SINGLE_OBS_SET_SELECTOR]: [
1293
+ CoordinationType$1.OBS_TYPE,
1294
+ CoordinationType$1.OBS_SET_COLOR,
1295
+ CoordinationType$1.OBS_SET_SELECTION
1296
+ ],
1291
1297
  [ViewType$1.OBS_SET_COMPOSITION_BAR_PLOT]: [
1292
1298
  CoordinationType$1.DATASET,
1293
1299
  CoordinationType$1.OBS_TYPE,
@@ -134939,22 +134945,22 @@ async function getDecoder(fileDirectory) {
134939
134945
  const Decoder = await importFn();
134940
134946
  return new Decoder(fileDirectory);
134941
134947
  }
134942
- addDecoder([void 0, 1], () => import("./raw-BgXNT663.js").then((m) => m.default));
134943
- addDecoder(5, () => import("./lzw-CD9kTc69.js").then((m) => m.default));
134948
+ addDecoder([void 0, 1], () => import("./raw-CskuC7zl.js").then((m) => m.default));
134949
+ addDecoder(5, () => import("./lzw-RW2_bdBg.js").then((m) => m.default));
134944
134950
  addDecoder(6, () => {
134945
134951
  throw new Error("old style JPEG compression is not supported.");
134946
134952
  });
134947
- addDecoder(7, () => import("./jpeg-gwkCEYa9.js").then((m) => m.default));
134948
- addDecoder([8, 32946], () => import("./deflate-ESHkuhOQ.js").then((m) => m.default));
134949
- addDecoder(32773, () => import("./packbits-vQncyXH1.js").then((m) => m.default));
134953
+ addDecoder(7, () => import("./jpeg-BhdOlr-5.js").then((m) => m.default));
134954
+ addDecoder([8, 32946], () => import("./deflate-cHMwz5aU.js").then((m) => m.default));
134955
+ addDecoder(32773, () => import("./packbits-Bma8MZki.js").then((m) => m.default));
134950
134956
  addDecoder(
134951
134957
  34887,
134952
- () => import("./lerc-LHTQh1pB.js").then(async (m) => {
134958
+ () => import("./lerc-6BfwN8Ff.js").then(async (m) => {
134953
134959
  await m.zstd.init();
134954
134960
  return m;
134955
134961
  }).then((m) => m.default)
134956
134962
  );
134957
- addDecoder(50001, () => import("./webimage-DMF58_l5.js").then((m) => m.default));
134963
+ addDecoder(50001, () => import("./webimage-CXVtM-OF.js").then((m) => m.default));
134958
134964
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
134959
134965
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
134960
134966
  }
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-D3-AvtIM.js";
1
+ import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-l5IGfUA8.js";
2
2
  export {
3
3
  C as CellsJsonAsObsEmbeddingLoader,
4
4
  d as CellsJsonAsObsLabelsLoader,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-D3-AvtIM.js";
1
+ import { B as BaseDecoder } from "./index-l5IGfUA8.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, L as LercParameters, a as LercAddCompression } from "./index-D3-AvtIM.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-l5IGfUA8.js";
3
3
  var LercDecode = { exports: {} };
4
4
  var hasRequiredLercDecode;
5
5
  function requireLercDecode() {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-D3-AvtIM.js";
1
+ import { B as BaseDecoder } from "./index-l5IGfUA8.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-D3-AvtIM.js";
1
+ import { B as BaseDecoder } from "./index-l5IGfUA8.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-D3-AvtIM.js";
1
+ import { B as BaseDecoder } from "./index-l5IGfUA8.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-D3-AvtIM.js";
1
+ import { B as BaseDecoder } from "./index-l5IGfUA8.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/json",
3
- "version": "4.0.7",
3
+ "version": "4.0.8",
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.7.5",
22
22
  "zod": "^3.21.4",
23
- "@vitessce/constants-internal": "4.0.7",
24
- "@vitessce/globals": "4.0.7",
25
- "@vitessce/schemas": "4.0.7",
26
- "@vitessce/gl": "4.0.7",
27
- "@vitessce/sets-utils": "4.0.7",
28
- "@vitessce/spatial-utils": "4.0.7",
29
- "@vitessce/utils": "4.0.7",
30
- "@vitessce/error": "4.0.7",
31
- "@vitessce/abstract": "4.0.7",
32
- "@vitessce/zarr-utils": "4.0.7",
33
- "@vitessce/config": "4.0.7"
23
+ "@vitessce/constants-internal": "4.0.8",
24
+ "@vitessce/gl": "4.0.8",
25
+ "@vitessce/globals": "4.0.8",
26
+ "@vitessce/schemas": "4.0.8",
27
+ "@vitessce/sets-utils": "4.0.8",
28
+ "@vitessce/spatial-utils": "4.0.8",
29
+ "@vitessce/utils": "4.0.8",
30
+ "@vitessce/abstract": "4.0.8",
31
+ "@vitessce/error": "4.0.8",
32
+ "@vitessce/zarr-utils": "4.0.8",
33
+ "@vitessce/config": "4.0.8"
34
34
  },
35
35
  "scripts": {
36
36
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",