@vitessce/json 3.8.13 → 3.9.0

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-DLgJxMwz.js";
2
+ import { B as BaseDecoder } from "./index-BpSiljia.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -313,6 +313,7 @@ const CoordinationType$1 = {
313
313
  OBS_SET_HIGHLIGHT: "obsSetHighlight",
314
314
  OBS_SET_EXPANSION: "obsSetExpansion",
315
315
  OBS_SET_COLOR: "obsSetColor",
316
+ FEATURE_COLOR: "featureColor",
316
317
  FEATURE_HIGHLIGHT: "featureHighlight",
317
318
  FEATURE_SELECTION: "featureSelection",
318
319
  FEATURE_SET_SELECTION: "featureSetSelection",
@@ -887,6 +888,8 @@ const CoordinationType$1 = {
887
888
  CoordinationType$1.OBS_SET_FILTER,
888
889
  CoordinationType$1.OBS_SET_HIGHLIGHT,
889
890
  CoordinationType$1.OBS_SET_COLOR,
891
+ CoordinationType$1.FEATURE_COLOR,
892
+ CoordinationType$1.FEATURE_FILTER_MODE,
890
893
  CoordinationType$1.FEATURE_HIGHLIGHT,
891
894
  CoordinationType$1.FEATURE_SELECTION,
892
895
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
@@ -1101,6 +1104,8 @@ const CoordinationType$1 = {
1101
1104
  CoordinationType$1.SPATIAL_SPOT_STROKE_WIDTH,
1102
1105
  CoordinationType$1.SPATIAL_LAYER_COLOR,
1103
1106
  CoordinationType$1.OBS_COLOR_ENCODING,
1107
+ CoordinationType$1.FEATURE_COLOR,
1108
+ CoordinationType$1.FEATURE_FILTER_MODE,
1104
1109
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
1105
1110
  CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
1106
1111
  CoordinationType$1.FEATURE_SELECTION,
@@ -138914,22 +138919,22 @@ async function getDecoder(fileDirectory) {
138914
138919
  const Decoder = await importFn();
138915
138920
  return new Decoder(fileDirectory);
138916
138921
  }
138917
- addDecoder([void 0, 1], () => import("./raw-CiSlz5iU.js").then((m) => m.default));
138918
- addDecoder(5, () => import("./lzw-PjlHwnWk.js").then((m) => m.default));
138922
+ addDecoder([void 0, 1], () => import("./raw-eyW-hFLn.js").then((m) => m.default));
138923
+ addDecoder(5, () => import("./lzw-BltlUDwN.js").then((m) => m.default));
138919
138924
  addDecoder(6, () => {
138920
138925
  throw new Error("old style JPEG compression is not supported.");
138921
138926
  });
138922
- addDecoder(7, () => import("./jpeg-CMQUyiHQ.js").then((m) => m.default));
138923
- addDecoder([8, 32946], () => import("./deflate-CZehCoup.js").then((m) => m.default));
138924
- addDecoder(32773, () => import("./packbits-DA7Isyxs.js").then((m) => m.default));
138927
+ addDecoder(7, () => import("./jpeg-7JiyoUd7.js").then((m) => m.default));
138928
+ addDecoder([8, 32946], () => import("./deflate-NC5fP4jQ.js").then((m) => m.default));
138929
+ addDecoder(32773, () => import("./packbits-Bi-TjctC.js").then((m) => m.default));
138925
138930
  addDecoder(
138926
138931
  34887,
138927
- () => import("./lerc-BDyPGgaN.js").then(async (m) => {
138932
+ () => import("./lerc-BsKPHIOw.js").then(async (m) => {
138928
138933
  await m.zstd.init();
138929
138934
  return m;
138930
138935
  }).then((m) => m.default)
138931
138936
  );
138932
- addDecoder(50001, () => import("./webimage-Bf6gcEvN.js").then((m) => m.default));
138937
+ addDecoder(50001, () => import("./webimage-lXegwRfq.js").then((m) => m.default));
138933
138938
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
138934
138939
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
138935
138940
  }
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-DLgJxMwz.js";
1
+ import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-BpSiljia.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-DLgJxMwz.js";
1
+ import { B as BaseDecoder } from "./index-BpSiljia.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-DLgJxMwz.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-BpSiljia.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-DLgJxMwz.js";
1
+ import { B as BaseDecoder } from "./index-BpSiljia.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-DLgJxMwz.js";
1
+ import { B as BaseDecoder } from "./index-BpSiljia.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-DLgJxMwz.js";
1
+ import { B as BaseDecoder } from "./index-BpSiljia.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-DLgJxMwz.js";
1
+ import { B as BaseDecoder } from "./index-BpSiljia.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": "3.8.13",
3
+ "version": "3.9.0",
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.5.4",
22
22
  "zod": "^3.21.4",
23
- "@vitessce/constants-internal": "3.8.13",
24
- "@vitessce/gl": "3.8.13",
25
- "@vitessce/globals": "3.8.13",
26
- "@vitessce/sets-utils": "3.8.13",
27
- "@vitessce/schemas": "3.8.13",
28
- "@vitessce/spatial-utils": "3.8.13",
29
- "@vitessce/utils": "3.8.13",
30
- "@vitessce/abstract": "3.8.13",
31
- "@vitessce/zarr-utils": "3.8.13",
32
- "@vitessce/error": "3.8.13",
33
- "@vitessce/config": "3.8.13"
23
+ "@vitessce/gl": "3.9.0",
24
+ "@vitessce/constants-internal": "3.9.0",
25
+ "@vitessce/schemas": "3.9.0",
26
+ "@vitessce/sets-utils": "3.9.0",
27
+ "@vitessce/globals": "3.9.0",
28
+ "@vitessce/spatial-utils": "3.9.0",
29
+ "@vitessce/abstract": "3.9.0",
30
+ "@vitessce/utils": "3.9.0",
31
+ "@vitessce/error": "3.9.0",
32
+ "@vitessce/zarr-utils": "3.9.0",
33
+ "@vitessce/config": "3.9.0"
34
34
  },
35
35
  "scripts": {
36
36
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",