@vitessce/json 4.0.0 → 4.0.1

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-Cn40fSKe.js";
2
+ import { B as BaseDecoder } from "./index-0bqqM1Gy.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -394,6 +394,7 @@ const CoordinationType$1 = {
394
394
  SPATIAL_CHANNEL_LABELS_VISIBLE: "spatialChannelLabelsVisible",
395
395
  SPATIAL_CHANNEL_LABELS_ORIENTATION: "spatialChannelLabelsOrientation",
396
396
  SPATIAL_CHANNEL_LABEL_SIZE: "spatialChannelLabelSize",
397
+ SPATIAL_CHANNELS_SORT_ORDER: "spatialChannelsSortOrder",
397
398
  // Multi-sample / comparative
398
399
  SAMPLE_TYPE: "sampleType",
399
400
  SAMPLE_SELECTION: "sampleSelection",
@@ -967,6 +968,7 @@ const CoordinationType$1 = {
967
968
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_VISIBLE,
968
969
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_ORIENTATION,
969
970
  CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE,
971
+ CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER,
970
972
  CoordinationType$1.PHOTOMETRIC_INTERPRETATION
971
973
  ],
972
974
  [ViewType$1.HEATMAP]: [
@@ -1148,7 +1150,8 @@ const CoordinationType$1 = {
1148
1150
  CoordinationType$1.LEGEND_VISIBLE,
1149
1151
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_VISIBLE,
1150
1152
  CoordinationType$1.SPATIAL_CHANNEL_LABELS_ORIENTATION,
1151
- CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE
1153
+ CoordinationType$1.SPATIAL_CHANNEL_LABEL_SIZE,
1154
+ CoordinationType$1.SPATIAL_CHANNELS_SORT_ORDER
1152
1155
  ],
1153
1156
  [ViewType$1.GENOMIC_PROFILES]: [
1154
1157
  CoordinationType$1.DATASET,
@@ -139096,22 +139099,22 @@ async function getDecoder(fileDirectory) {
139096
139099
  const Decoder = await importFn();
139097
139100
  return new Decoder(fileDirectory);
139098
139101
  }
139099
- addDecoder([void 0, 1], () => import("./raw-Cy3n_MS0.js").then((m) => m.default));
139100
- addDecoder(5, () => import("./lzw-BDmSoqFA.js").then((m) => m.default));
139102
+ addDecoder([void 0, 1], () => import("./raw-Bm6Q1EHH.js").then((m) => m.default));
139103
+ addDecoder(5, () => import("./lzw-016C0LMV.js").then((m) => m.default));
139101
139104
  addDecoder(6, () => {
139102
139105
  throw new Error("old style JPEG compression is not supported.");
139103
139106
  });
139104
- addDecoder(7, () => import("./jpeg-B969ZHtN.js").then((m) => m.default));
139105
- addDecoder([8, 32946], () => import("./deflate-CXIit8eH.js").then((m) => m.default));
139106
- addDecoder(32773, () => import("./packbits-D_DO5dJs.js").then((m) => m.default));
139107
+ addDecoder(7, () => import("./jpeg-CZ464CJl.js").then((m) => m.default));
139108
+ addDecoder([8, 32946], () => import("./deflate-BeDz4wLa.js").then((m) => m.default));
139109
+ addDecoder(32773, () => import("./packbits-OFFFkBNX.js").then((m) => m.default));
139107
139110
  addDecoder(
139108
139111
  34887,
139109
- () => import("./lerc-dL1383Q3.js").then(async (m) => {
139112
+ () => import("./lerc-D1SLB6aZ.js").then(async (m) => {
139110
139113
  await m.zstd.init();
139111
139114
  return m;
139112
139115
  }).then((m) => m.default)
139113
139116
  );
139114
- addDecoder(50001, () => import("./webimage-DXWHR9qK.js").then((m) => m.default));
139117
+ addDecoder(50001, () => import("./webimage-0xK2_OHs.js").then((m) => m.default));
139115
139118
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
139116
139119
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
139117
139120
  }
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-Cn40fSKe.js";
1
+ import { C, d, e, f, h, G, b, J, M, i, O, c, R, j } from "./index-0bqqM1Gy.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-Cn40fSKe.js";
1
+ import { B as BaseDecoder } from "./index-0bqqM1Gy.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-Cn40fSKe.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-0bqqM1Gy.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-Cn40fSKe.js";
1
+ import { B as BaseDecoder } from "./index-0bqqM1Gy.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-Cn40fSKe.js";
1
+ import { B as BaseDecoder } from "./index-0bqqM1Gy.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-Cn40fSKe.js";
1
+ import { B as BaseDecoder } from "./index-0bqqM1Gy.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-Cn40fSKe.js";
1
+ import { B as BaseDecoder } from "./index-0bqqM1Gy.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.0",
3
+ "version": "4.0.1",
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.6.1",
22
22
  "zod": "^3.21.4",
23
- "@vitessce/constants-internal": "4.0.0",
24
- "@vitessce/gl": "4.0.0",
25
- "@vitessce/globals": "4.0.0",
26
- "@vitessce/schemas": "4.0.0",
27
- "@vitessce/spatial-utils": "4.0.0",
28
- "@vitessce/sets-utils": "4.0.0",
29
- "@vitessce/utils": "4.0.0",
30
- "@vitessce/error": "4.0.0",
31
- "@vitessce/abstract": "4.0.0",
32
- "@vitessce/zarr-utils": "4.0.0",
33
- "@vitessce/config": "4.0.0"
23
+ "@vitessce/constants-internal": "4.0.1",
24
+ "@vitessce/gl": "4.0.1",
25
+ "@vitessce/globals": "4.0.1",
26
+ "@vitessce/schemas": "4.0.1",
27
+ "@vitessce/utils": "4.0.1",
28
+ "@vitessce/spatial-utils": "4.0.1",
29
+ "@vitessce/abstract": "4.0.1",
30
+ "@vitessce/error": "4.0.1",
31
+ "@vitessce/zarr-utils": "4.0.1",
32
+ "@vitessce/sets-utils": "4.0.1",
33
+ "@vitessce/config": "4.0.1"
34
34
  },
35
35
  "scripts": {
36
36
  "bundle": "pnpm exec vite build -c ../../../scripts/vite.config.mjs",