@vitessce/gl 3.6.9 → 3.6.11

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-BvCO07xL.js";
2
+ import { B as BaseDecoder } from "./index-a7_YaihO.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -103726,7 +103726,8 @@ const PIXELATED_TEXTURE_PARAMETERS = {
103726
103726
  const GLSL_COLORMAPS = [
103727
103727
  "plasma",
103728
103728
  "viridis",
103729
- "jet"
103729
+ "jet",
103730
+ "greys"
103730
103731
  ];
103731
103732
  const GLSL_COLORMAP_DEFAULT = "plasma";
103732
103733
  const COLORMAP_SHADER_PLACEHOLDER = "COLORMAP_FUNC";
@@ -105574,22 +105575,22 @@ async function getDecoder(fileDirectory) {
105574
105575
  const Decoder = await importFn();
105575
105576
  return new Decoder(fileDirectory);
105576
105577
  }
105577
- addDecoder([void 0, 1], () => import("./raw-BKuuUvuj.js").then((m) => m.default));
105578
- addDecoder(5, () => import("./lzw-BaMqhIgE.js").then((m) => m.default));
105578
+ addDecoder([void 0, 1], () => import("./raw-DPrnB5GX.js").then((m) => m.default));
105579
+ addDecoder(5, () => import("./lzw-D4Qwk2Te.js").then((m) => m.default));
105579
105580
  addDecoder(6, () => {
105580
105581
  throw new Error("old style JPEG compression is not supported.");
105581
105582
  });
105582
- addDecoder(7, () => import("./jpeg-DcD9Rdd5.js").then((m) => m.default));
105583
- addDecoder([8, 32946], () => import("./deflate-B4KLsA1z.js").then((m) => m.default));
105584
- addDecoder(32773, () => import("./packbits-CRM43Fiw.js").then((m) => m.default));
105583
+ addDecoder(7, () => import("./jpeg-BwVvOAA3.js").then((m) => m.default));
105584
+ addDecoder([8, 32946], () => import("./deflate-cvpHBVjf.js").then((m) => m.default));
105585
+ addDecoder(32773, () => import("./packbits-DxtUONVW.js").then((m) => m.default));
105585
105586
  addDecoder(
105586
105587
  34887,
105587
- () => import("./lerc-ssyon6X7.js").then(async (m) => {
105588
+ () => import("./lerc-BYupqDZR.js").then(async (m) => {
105588
105589
  await m.zstd.init();
105589
105590
  return m;
105590
105591
  }).then((m) => m.default)
105591
105592
  );
105592
- addDecoder(50001, () => import("./webimage-CiKLGrMh.js").then((m) => m.default));
105593
+ addDecoder(50001, () => import("./webimage-CneQn29x.js").then((m) => m.default));
105593
105594
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
105594
105595
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
105595
105596
  }
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { f as distEs6Exports } from "./index-BvCO07xL.js";
2
- import { p, o, A, s, r, q, i, j, l, C, m, D, G, e, H, c, M, k, n, d, P, S, h, T, u, b, t, w, v } from "./index-BvCO07xL.js";
1
+ import { f as distEs6Exports } from "./index-a7_YaihO.js";
2
+ import { p, o, A, s, r, q, i, j, l, C, m, D, G, e, H, c, M, k, n, d, P, S, h, T, u, b, t, w, v } from "./index-a7_YaihO.js";
3
3
  const SELECTION_TYPE = distEs6Exports.SELECTION_TYPE;
4
4
  export {
5
5
  p as AXIS_FONT_FAMILY,
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BvCO07xL.js";
1
+ import { B as BaseDecoder } from "./index-a7_YaihO.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-BvCO07xL.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-a7_YaihO.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-BvCO07xL.js";
1
+ import { B as BaseDecoder } from "./index-a7_YaihO.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-BvCO07xL.js";
1
+ import { B as BaseDecoder } from "./index-a7_YaihO.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-BvCO07xL.js";
1
+ import { B as BaseDecoder } from "./index-a7_YaihO.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-BvCO07xL.js";
1
+ import { B as BaseDecoder } from "./index-a7_YaihO.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.js"],"names":[],"mappings":"AAEA,sCAIE;AACF,6CAA8C;AAC9C,0DAA2D"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.js"],"names":[],"mappings":"AAEA,sCAKE;AACF,6CAA8C;AAC9C,0DAA2D"}
@@ -4,6 +4,7 @@ export const GLSL_COLORMAPS = [
4
4
  'plasma',
5
5
  'viridis',
6
6
  'jet',
7
+ 'greys',
7
8
  ];
8
9
  export const GLSL_COLORMAP_DEFAULT = 'plasma';
9
10
  export const COLORMAP_SHADER_PLACEHOLDER = 'COLORMAP_FUNC';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/gl",
3
- "version": "3.6.9",
3
+ "version": "3.6.11",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -56,8 +56,8 @@
56
56
  "math.gl": "^3.5.6",
57
57
  "mathjs": "^9.2.0",
58
58
  "nebula.gl": "0.23.8",
59
- "@vitessce/utils": "3.6.9",
60
- "@vitessce/globals": "3.6.9"
59
+ "@vitessce/utils": "3.6.11",
60
+ "@vitessce/globals": "3.6.11"
61
61
  },
62
62
  "devDependencies": {
63
63
  "glsl-colormap": "^1.0.1",
package/src/constants.js CHANGED
@@ -4,6 +4,7 @@ export const GLSL_COLORMAPS = [
4
4
  'plasma',
5
5
  'viridis',
6
6
  'jet',
7
+ 'greys',
7
8
  ];
8
9
  export const GLSL_COLORMAP_DEFAULT = 'plasma';
9
10
  export const COLORMAP_SHADER_PLACEHOLDER = 'COLORMAP_FUNC';