@vitessce/json 3.8.3 → 3.8.5

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-C5QAFO8r.js";
2
+ import { B as BaseDecoder } from "./index-DBh3VoJ_.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -1223,6 +1223,7 @@ const CoordinationType$1 = {
1223
1223
  CoordinationType$1.FEATURE_SELECTION,
1224
1224
  CoordinationType$1.FEATURE_VALUE_COLORMAP,
1225
1225
  CoordinationType$1.FEATURE_VALUE_COLORMAP_RANGE,
1226
+ CoordinationType$1.FEATURE_AGGREGATION_STRATEGY,
1226
1227
  // TODO: CoordinationType.FEATURE_COLOR_ENCODING,
1227
1228
  // TODO: CoordinationType.ADDITIONAL_FEATURE_SETS,
1228
1229
  CoordinationType$1.TOOLTIPS_VISIBLE,
@@ -10089,7 +10090,10 @@ z.object({
10089
10090
  obsSets: obsSetsSpatialdataSchema,
10090
10091
  obsEmbedding: obsEmbeddingSpatialdataSchemaConvenience,
10091
10092
  // TODO: obsLabels
10092
- // TODO: featureLabels
10093
+ featureLabels: z.union([
10094
+ annDataFeatureLabels,
10095
+ z.array(annDataConvenienceFeatureLabelsItem)
10096
+ ]),
10093
10097
  // TODO: allow specifying tablePath and region at the top-level here.
10094
10098
  coordinateSystem: z.string().optional().describe("The name of a coordinate transformation output used to transform all elements which lack a per-element coordinateSystem property.")
10095
10099
  }).partial();
@@ -137110,22 +137114,22 @@ async function getDecoder(fileDirectory) {
137110
137114
  const Decoder = await importFn();
137111
137115
  return new Decoder(fileDirectory);
137112
137116
  }
137113
- addDecoder([void 0, 1], () => import("./raw-C2jlWuRY.js").then((m) => m.default));
137114
- addDecoder(5, () => import("./lzw-9SxeqSou.js").then((m) => m.default));
137117
+ addDecoder([void 0, 1], () => import("./raw-BmUZmDEU.js").then((m) => m.default));
137118
+ addDecoder(5, () => import("./lzw-B90qv4bQ.js").then((m) => m.default));
137115
137119
  addDecoder(6, () => {
137116
137120
  throw new Error("old style JPEG compression is not supported.");
137117
137121
  });
137118
- addDecoder(7, () => import("./jpeg-BZFSrYFl.js").then((m) => m.default));
137119
- addDecoder([8, 32946], () => import("./deflate-wbIJjQvn.js").then((m) => m.default));
137120
- addDecoder(32773, () => import("./packbits-BRvtT912.js").then((m) => m.default));
137122
+ addDecoder(7, () => import("./jpeg-_qdvRJjm.js").then((m) => m.default));
137123
+ addDecoder([8, 32946], () => import("./deflate-DsYrRJ0u.js").then((m) => m.default));
137124
+ addDecoder(32773, () => import("./packbits-D8qk9Lqo.js").then((m) => m.default));
137121
137125
  addDecoder(
137122
137126
  34887,
137123
- () => import("./lerc-CsaFLvsz.js").then(async (m) => {
137127
+ () => import("./lerc-BfLXSvjY.js").then(async (m) => {
137124
137128
  await m.zstd.init();
137125
137129
  return m;
137126
137130
  }).then((m) => m.default)
137127
137131
  );
137128
- addDecoder(50001, () => import("./webimage-MhonL167.js").then((m) => m.default));
137132
+ addDecoder(50001, () => import("./webimage-DXalZ8FB.js").then((m) => m.default));
137129
137133
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
137130
137134
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
137131
137135
  }
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-C5QAFO8r.js";
1
+ import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-DBh3VoJ_.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-C5QAFO8r.js";
1
+ import { B as BaseDecoder } from "./index-DBh3VoJ_.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-C5QAFO8r.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-DBh3VoJ_.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-C5QAFO8r.js";
1
+ import { B as BaseDecoder } from "./index-DBh3VoJ_.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-C5QAFO8r.js";
1
+ import { B as BaseDecoder } from "./index-DBh3VoJ_.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-C5QAFO8r.js";
1
+ import { B as BaseDecoder } from "./index-DBh3VoJ_.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-C5QAFO8r.js";
1
+ import { B as BaseDecoder } from "./index-DBh3VoJ_.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.3",
3
+ "version": "3.8.5",
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.3",
24
- "@vitessce/gl": "3.8.3",
25
- "@vitessce/globals": "3.8.3",
26
- "@vitessce/schemas": "3.8.3",
27
- "@vitessce/sets-utils": "3.8.3",
28
- "@vitessce/spatial-utils": "3.8.3",
29
- "@vitessce/utils": "3.8.3",
30
- "@vitessce/abstract": "3.8.3",
31
- "@vitessce/error": "3.8.3",
32
- "@vitessce/zarr-utils": "3.8.3",
33
- "@vitessce/config": "3.8.3"
23
+ "@vitessce/constants-internal": "3.8.5",
24
+ "@vitessce/gl": "3.8.5",
25
+ "@vitessce/globals": "3.8.5",
26
+ "@vitessce/schemas": "3.8.5",
27
+ "@vitessce/sets-utils": "3.8.5",
28
+ "@vitessce/spatial-utils": "3.8.5",
29
+ "@vitessce/utils": "3.8.5",
30
+ "@vitessce/abstract": "3.8.5",
31
+ "@vitessce/error": "3.8.5",
32
+ "@vitessce/zarr-utils": "3.8.5",
33
+ "@vitessce/config": "3.8.5"
34
34
  },
35
35
  "scripts": {
36
36
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",