@vitessce/gl 4.0.1 → 4.0.2

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-BQHFXNXh.js";
2
+ import { B as BaseDecoder } from "./index-D4_i_p4Y.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -105568,22 +105568,22 @@ async function getDecoder(fileDirectory) {
105568
105568
  const Decoder = await importFn();
105569
105569
  return new Decoder(fileDirectory);
105570
105570
  }
105571
- addDecoder([void 0, 1], () => import("./raw-BjYEfRIW.js").then((m) => m.default));
105572
- addDecoder(5, () => import("./lzw-8TIzVIR0.js").then((m) => m.default));
105571
+ addDecoder([void 0, 1], () => import("./raw-Bj2SZ3rC.js").then((m) => m.default));
105572
+ addDecoder(5, () => import("./lzw-CIZFFT4X.js").then((m) => m.default));
105573
105573
  addDecoder(6, () => {
105574
105574
  throw new Error("old style JPEG compression is not supported.");
105575
105575
  });
105576
- addDecoder(7, () => import("./jpeg-ByxJf3q3.js").then((m) => m.default));
105577
- addDecoder([8, 32946], () => import("./deflate-CnnoNgiQ.js").then((m) => m.default));
105578
- addDecoder(32773, () => import("./packbits-DemxrEqu.js").then((m) => m.default));
105576
+ addDecoder(7, () => import("./jpeg-B0R_2GXY.js").then((m) => m.default));
105577
+ addDecoder([8, 32946], () => import("./deflate-M1pBMBic.js").then((m) => m.default));
105578
+ addDecoder(32773, () => import("./packbits-C8FGPd9t.js").then((m) => m.default));
105579
105579
  addDecoder(
105580
105580
  34887,
105581
- () => import("./lerc-DZIEFPVR.js").then(async (m) => {
105581
+ () => import("./lerc-B3-C5ALH.js").then(async (m) => {
105582
105582
  await m.zstd.init();
105583
105583
  return m;
105584
105584
  }).then((m) => m.default)
105585
105585
  );
105586
- addDecoder(50001, () => import("./webimage-CLyLkbQ0.js").then((m) => m.default));
105586
+ addDecoder(50001, () => import("./webimage-DficvJzn.js").then((m) => m.default));
105587
105587
  function copyNewSize(array, width, height, samplesPerPixel = 1) {
105588
105588
  return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
105589
105589
  }
@@ -126521,20 +126521,21 @@ export {
126521
126521
  GLSL_COLORMAP_DEFAULT as e,
126522
126522
  distEs6Exports$2 as f,
126523
126523
  getDefaultExportFromCjs as g,
126524
- SelectionExtension as h,
126525
- BitmaskLayer$1 as i,
126526
- BitmaskLayer2 as j,
126527
- MIN_ROW_AGG as k,
126528
- COLOR_BAR_SIZE as l,
126529
- DATA_TEXTURE_SIZE as m,
126530
- PIXELATED_TEXTURE_PARAMETERS as n,
126531
- AXIS_LABEL_TEXT_SIZE as o,
126532
- AXIS_FONT_FAMILY as p,
126533
- AXIS_PADDING as q,
126534
- AXIS_MIN_SIZE as r,
126535
- AXIS_MAX_SIZE as s,
126536
- luma as t,
126537
- deck as u,
126524
+ colormaps as h,
126525
+ SelectionExtension as i,
126526
+ BitmaskLayer$1 as j,
126527
+ BitmaskLayer2 as k,
126528
+ MIN_ROW_AGG as l,
126529
+ COLOR_BAR_SIZE as m,
126530
+ DATA_TEXTURE_SIZE as n,
126531
+ PIXELATED_TEXTURE_PARAMETERS as o,
126532
+ AXIS_LABEL_TEXT_SIZE as p,
126533
+ AXIS_FONT_FAMILY as q,
126534
+ AXIS_PADDING as r,
126535
+ AXIS_MIN_SIZE as s,
126536
+ AXIS_MAX_SIZE as t,
126537
+ luma as u,
126538
126538
  viv as v,
126539
- math as w
126539
+ deck as w,
126540
+ math as x
126540
126541
  };
package/dist/index.js CHANGED
@@ -1,35 +1,36 @@
1
- import { f as distEs6Exports } from "./index-BQHFXNXh.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-BQHFXNXh.js";
1
+ import { f as distEs6Exports } from "./index-D4_i_p4Y.js";
2
+ import { q, p, A, t, s, r, j, k, m, C, n, D, G, e, H, c, M, l, o, d, P, S, i, T, h, w, b, u, x, v } from "./index-D4_i_p4Y.js";
3
3
  const SELECTION_TYPE = distEs6Exports.SELECTION_TYPE;
4
4
  export {
5
- p as AXIS_FONT_FAMILY,
6
- o as AXIS_LABEL_TEXT_SIZE,
5
+ q as AXIS_FONT_FAMILY,
6
+ p as AXIS_LABEL_TEXT_SIZE,
7
7
  A as AXIS_MARGIN,
8
- s as AXIS_MAX_SIZE,
9
- r as AXIS_MIN_SIZE,
10
- q as AXIS_PADDING,
11
- i as BitmaskLayer,
12
- j as BitmaskLayerBeta,
13
- l as COLOR_BAR_SIZE,
8
+ t as AXIS_MAX_SIZE,
9
+ s as AXIS_MIN_SIZE,
10
+ r as AXIS_PADDING,
11
+ j as BitmaskLayer,
12
+ k as BitmaskLayerBeta,
13
+ m as COLOR_BAR_SIZE,
14
14
  C as ContourLayerWithText,
15
- m as DATA_TEXTURE_SIZE,
15
+ n as DATA_TEXTURE_SIZE,
16
16
  D as DEFAULT_GL_OPTIONS,
17
17
  G as GLSL_COLORMAPS,
18
18
  e as GLSL_COLORMAP_DEFAULT,
19
19
  H as HeatmapBitmapLayer,
20
20
  c as HeatmapCompositeTextLayer,
21
21
  M as MAX_ROW_AGG,
22
- k as MIN_ROW_AGG,
23
- n as PIXELATED_TEXTURE_PARAMETERS,
22
+ l as MIN_ROW_AGG,
23
+ o as PIXELATED_TEXTURE_PARAMETERS,
24
24
  d as PaddedExpressionHeatmapBitmapLayer,
25
25
  P as PixelatedBitmapLayer,
26
26
  SELECTION_TYPE,
27
27
  S as ScaledExpressionExtension,
28
- h as SelectionExtension,
28
+ i as SelectionExtension,
29
29
  T as TILE_SIZE,
30
- u as deck,
30
+ h as colormaps,
31
+ w as deck,
31
32
  b as getSelectionLayer,
32
- t as luma,
33
- w as math,
33
+ u as luma,
34
+ x as math,
34
35
  v as viv
35
36
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BQHFXNXh.js";
1
+ import { B as BaseDecoder } from "./index-D4_i_p4Y.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-BQHFXNXh.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-D4_i_p4Y.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-BQHFXNXh.js";
1
+ import { B as BaseDecoder } from "./index-D4_i_p4Y.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-BQHFXNXh.js";
1
+ import { B as BaseDecoder } from "./index-D4_i_p4Y.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-BQHFXNXh.js";
1
+ import { B as BaseDecoder } from "./index-D4_i_p4Y.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-BQHFXNXh.js";
1
+ import { B as BaseDecoder } from "./index-D4_i_p4Y.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
@@ -3,6 +3,7 @@ export { default as HeatmapBitmapLayer } from "./HeatmapBitmapLayer.js";
3
3
  export { default as PixelatedBitmapLayer } from "./PixelatedBitmapLayer.js";
4
4
  export { default as HeatmapCompositeTextLayer } from "./HeatmapCompositeTextLayer.js";
5
5
  export { default as PaddedExpressionHeatmapBitmapLayer } from "./PaddedExpressionHeatmapBitmapLayer.js";
6
+ export { colormaps } from "./glsl/index.js";
6
7
  export { default as ScaledExpressionExtension } from "./ScaledExpressionExtension/index.js";
7
8
  export { default as SelectionExtension } from "./SelectionExtension/index.js";
8
9
  export { default as BitmaskLayer } from "./BitmaskLayer.js";
package/dist-tsc/index.js CHANGED
@@ -6,6 +6,7 @@ export { default as PixelatedBitmapLayer } from './PixelatedBitmapLayer.js';
6
6
  export { default as HeatmapCompositeTextLayer } from './HeatmapCompositeTextLayer.js';
7
7
  export { default as PaddedExpressionHeatmapBitmapLayer } from './PaddedExpressionHeatmapBitmapLayer.js';
8
8
  export { GLSL_COLORMAPS, GLSL_COLORMAP_DEFAULT, DEFAULT_GL_OPTIONS, SELECTION_TYPE, } from './constants.js';
9
+ export { colormaps } from './glsl/index.js';
9
10
  // Layer extensions
10
11
  export { default as ScaledExpressionExtension } from './ScaledExpressionExtension/index.js';
11
12
  export { default as SelectionExtension } from './SelectionExtension/index.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.js"],"names":[],"mappings":"AAAA,mBAAmB;AACnB,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AAEzD,iBAAiB;AACjB,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AACxE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAC5E,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AACtF,OAAO,EAAE,OAAO,IAAI,kCAAkC,EAAE,MAAM,yCAAyC,CAAC;AAExG,OAAO,EACL,cAAc,EAAE,qBAAqB,EAAE,kBAAkB,EAAE,cAAc,GAC1E,MAAM,gBAAgB,CAAC;AAExB,mBAAmB;AACnB,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,s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CAAC;AAE5C,mBAAmB;AACnB,OAAO,EAAE,OAAO,IAAI,yBAAyB,EAAE,MAAM,sCAAsC,CAAC;AAC5F,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAE5E,OAAO,EACL,SAAS,EAAE,WAAW,EAAE,WAAW,EACnC,cAAc,EACd,WAAW,EACX,iBAAiB,EACjB,4BAA4B,EAC5B,oBAAoB,EACpB,gBAAgB,EAChB,YAAY,EACZ,aAAa,EACb,aAAa,GACd,MAAM,wBAAwB,CAAC;AAChC,gEAAgE;AAChE,OAAO,KAAK,GAAG,MAAM,UAAU,CAAC;AAChC,gEAAgE;AAChE,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,gEAAgE;AAChE,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC;AAClC,gEAAgE;AAChE,OAAO,KAAK,IAAI,MAAM,WAAW,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/gl",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
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": "4.0.1",
60
- "@vitessce/globals": "4.0.1"
59
+ "@vitessce/globals": "4.0.2",
60
+ "@vitessce/utils": "4.0.2"
61
61
  },
62
62
  "devDependencies": {
63
63
  "glsl-colormap": "^1.0.1",
package/src/index.js CHANGED
@@ -10,6 +10,7 @@ export { default as PaddedExpressionHeatmapBitmapLayer } from './PaddedExpressio
10
10
  export {
11
11
  GLSL_COLORMAPS, GLSL_COLORMAP_DEFAULT, DEFAULT_GL_OPTIONS, SELECTION_TYPE,
12
12
  } from './constants.js';
13
+ export { colormaps } from './glsl/index.js';
13
14
 
14
15
  // Layer extensions
15
16
  export { default as ScaledExpressionExtension } from './ScaledExpressionExtension/index.js';