@vitessce/json 3.4.10 → 3.4.12

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-68f84e2a.js";
2
- import { B as BaseDecoder } from "./index-e57214db.js";
2
+ import { B as BaseDecoder } from "./index-819ce366.js";
3
3
  import "@vitessce/vit-s";
4
4
  import "react";
5
5
  class DeflateDecoder extends BaseDecoder {
@@ -227,6 +227,7 @@ const CoordinationType$1 = {
227
227
  FEATURE_TYPE: "featureType",
228
228
  FEATURE_VALUE_TYPE: "featureValueType",
229
229
  OBS_LABELS_TYPE: "obsLabelsType",
230
+ FEATURE_LABELS_TYPE: "featureLabelsType",
230
231
  // Other types
231
232
  EMBEDDING_TYPE: "embeddingType",
232
233
  EMBEDDING_ZOOM: "embeddingZoom",
@@ -8827,7 +8828,7 @@ const annDataObsSetsArr = z.array(z.object({
8827
8828
  ]),
8828
8829
  scorePath: z.string().optional().describe("The location in the AnnData store for the set confidence scores, like 'obs/celltype_prediction_score.'")
8829
8830
  }));
8830
- const annDataObsSets = z.object({
8831
+ z.object({
8831
8832
  obsSets: annDataObsSetsArr
8832
8833
  });
8833
8834
  const annDataObsFeatureColumnsArr = z.array(z.object({
@@ -8889,7 +8890,7 @@ const obsFeatureMatrixSpatialdataSchema = annDataObsFeatureMatrix.extend({
8889
8890
  const obsSetsSpatialdataSchema = z.object({
8890
8891
  region: z.string().describe("The name of a region to use to filter instances (i.e., rows) in the table").optional(),
8891
8892
  tablePath: z.string().optional().describe("The path to a table which contains the index for the set values."),
8892
- obsSets: annDataObsSets
8893
+ obsSets: annDataObsSetsArr
8893
8894
  });
8894
8895
  z.object({
8895
8896
  targetX: z.number(),
@@ -135065,16 +135066,16 @@ async function getDecoder(fileDirectory) {
135065
135066
  const Decoder = await importFn();
135066
135067
  return new Decoder(fileDirectory);
135067
135068
  }
135068
- addDecoder([void 0, 1], () => import("./raw-0a868094.js").then((m) => m.default));
135069
- addDecoder(5, () => import("./lzw-138e1cde.js").then((m) => m.default));
135069
+ addDecoder([void 0, 1], () => import("./raw-eb767b0e.js").then((m) => m.default));
135070
+ addDecoder(5, () => import("./lzw-16f68724.js").then((m) => m.default));
135070
135071
  addDecoder(6, () => {
135071
135072
  throw new Error("old style JPEG compression is not supported.");
135072
135073
  });
135073
- addDecoder(7, () => import("./jpeg-66ca148e.js").then((m) => m.default));
135074
- addDecoder([8, 32946], () => import("./deflate-ae673a66.js").then((m) => m.default));
135075
- addDecoder(32773, () => import("./packbits-8ad74a5e.js").then((m) => m.default));
135076
- addDecoder(34887, () => import("./lerc-5bb256f6.js").then((m) => m.default));
135077
- addDecoder(50001, () => import("./webimage-bc6cbf52.js").then((m) => m.default));
135074
+ addDecoder(7, () => import("./jpeg-32bca2cd.js").then((m) => m.default));
135075
+ addDecoder([8, 32946], () => import("./deflate-b93d431c.js").then((m) => m.default));
135076
+ addDecoder(32773, () => import("./packbits-d2498095.js").then((m) => m.default));
135077
+ addDecoder(34887, () => import("./lerc-4ba8e84e.js").then((m) => m.default));
135078
+ addDecoder(50001, () => import("./webimage-8d3fba71.js").then((m) => m.default));
135078
135079
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
135079
135080
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
135080
135081
  }
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-e57214db.js";
1
+ import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-819ce366.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  export {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-e57214db.js";
1
+ import { B as BaseDecoder } from "./index-819ce366.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  const dctZigZag = new Int32Array([
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
2
- import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-e57214db.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-819ce366.js";
3
3
  import "@vitessce/vit-s";
4
4
  import "react";
5
5
  var LercDecode = { exports: {} };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-e57214db.js";
1
+ import { B as BaseDecoder } from "./index-819ce366.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  const MIN_BITS = 9;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-e57214db.js";
1
+ import { B as BaseDecoder } from "./index-819ce366.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  class PackbitsDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-e57214db.js";
1
+ import { B as BaseDecoder } from "./index-819ce366.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  class RawDecoder extends BaseDecoder {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-e57214db.js";
1
+ import { B as BaseDecoder } from "./index-819ce366.js";
2
2
  import "@vitessce/vit-s";
3
3
  import "react";
4
4
  class WebImageDecoder extends BaseDecoder {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/json",
3
- "version": "3.4.10",
3
+ "version": "3.4.12",
4
4
  "author": "Gehlenborg Lab",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -20,15 +20,15 @@
20
20
  "lodash-es": "^4.17.21",
21
21
  "zarrita": "0.4.0-next.16",
22
22
  "zod": "^3.21.4",
23
- "@vitessce/constants-internal": "3.4.10",
24
- "@vitessce/gl": "3.4.10",
25
- "@vitessce/schemas": "3.4.10",
26
- "@vitessce/sets-utils": "3.4.10",
27
- "@vitessce/spatial-utils": "3.4.10",
28
- "@vitessce/utils": "3.4.10",
29
- "@vitessce/vit-s": "3.4.10",
30
- "@vitessce/zarr-utils": "3.4.10",
31
- "@vitessce/config": "3.4.10"
23
+ "@vitessce/constants-internal": "3.4.12",
24
+ "@vitessce/gl": "3.4.12",
25
+ "@vitessce/schemas": "3.4.12",
26
+ "@vitessce/sets-utils": "3.4.12",
27
+ "@vitessce/spatial-utils": "3.4.12",
28
+ "@vitessce/utils": "3.4.12",
29
+ "@vitessce/vit-s": "3.4.12",
30
+ "@vitessce/zarr-utils": "3.4.12",
31
+ "@vitessce/config": "3.4.12"
32
32
  },
33
33
  "scripts": {
34
34
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.js",