@vitessce/gl 3.5.6 → 3.5.8

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.
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { f as distEs6 } from "./index-c65f0da2.js";
2
- import { o, n, A, r, q, p, i, j, C, l, D, G, e, H, c, M, k, m, d, P, S, h, T, t, b, s, u, v } from "./index-c65f0da2.js";
1
+ import { f as distEs6 } from "./index-06f9318c.js";
2
+ import { o, n, A, r, q, p, i, j, C, l, D, G, e, H, c, M, k, m, d, P, S, h, T, t, b, s, u, v } from "./index-06f9318c.js";
3
3
  import "react";
4
4
  const SELECTION_TYPE = distEs6.SELECTION_TYPE;
5
5
  export {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-c65f0da2.js";
1
+ import { B as BaseDecoder } from "./index-06f9318c.js";
2
2
  import "react";
3
3
  const dctZigZag = new Int32Array([
4
4
  0,
@@ -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-c65f0da2.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-06f9318c.js";
3
3
  import "react";
4
4
  var LercDecode = { exports: {} };
5
5
  (function(module) {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-c65f0da2.js";
1
+ import { B as BaseDecoder } from "./index-06f9318c.js";
2
2
  import "react";
3
3
  const MIN_BITS = 9;
4
4
  const CLEAR_CODE = 256;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-c65f0da2.js";
1
+ import { B as BaseDecoder } from "./index-06f9318c.js";
2
2
  import "react";
3
3
  class PackbitsDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-c65f0da2.js";
1
+ import { B as BaseDecoder } from "./index-06f9318c.js";
2
2
  import "react";
3
3
  class RawDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-c65f0da2.js";
1
+ import { B as BaseDecoder } from "./index-06f9318c.js";
2
2
  import "react";
3
3
  class WebImageDecoder extends BaseDecoder {
4
4
  constructor() {
@@ -1 +1 @@
1
- {"version":3,"file":"bitmask-utils.d.ts","sourceRoot":"","sources":["../src/bitmask-utils.js"],"names":[],"mappings":"AAcA;;;;;;;;;GASG;AACH,2DARW,KAAK,EAAE,4CACP,MAAM,EAAE,yBACR,OAAO,EAAE,WAET,MAAM,mCAwHhB"}
1
+ {"version":3,"file":"bitmask-utils.d.ts","sourceRoot":"","sources":["../src/bitmask-utils.js"],"names":[],"mappings":"AAeA;;;;;;;;;GASG;AACH,2DARW,KAAK,EAAE,4CACP,MAAM,EAAE,yBACR,OAAO,EAAE,WAET,MAAM,mCAwHhB"}
@@ -1,6 +1,7 @@
1
1
  /* eslint-disable radix */
2
2
  /* eslint-disable-next-line camelcase */
3
3
  import { extent, max as d3_max } from 'd3-array';
4
+ import { log } from '@vitessce/globals';
4
5
  function normalize(arr) {
5
6
  const [min, max] = extent(arr);
6
7
  const ratio = 255 / (max - min);
@@ -42,10 +43,10 @@ export function multiSetsToTextureData(multiFeatureValues, multiMatrixObsIndex,
42
43
  const valueTexHeight = Math.max(2, Math.ceil(totalValuesLength / texSize));
43
44
  const colorTexHeight = Math.max(2, Math.ceil(totalColorsLength / texSize));
44
45
  if (valueTexHeight > texSize) {
45
- console.error('Error: length of concatenated quantitative feature values larger than maximum texture size');
46
+ log.error('Error: length of concatenated quantitative feature values larger than maximum texture size');
46
47
  }
47
48
  if (colorTexHeight > texSize) {
48
- console.error('Error: length of concatenated quantitative feature values larger than maximum texture size');
49
+ log.error('Error: length of concatenated quantitative feature values larger than maximum texture size');
49
50
  }
50
51
  // Array for texture containing color indices.
51
52
  const totalData = new Uint8Array(texSize * valueTexHeight);
package/dist-tsc/deck.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { default as DeckGL } from 'deck.gl';
2
2
  export { COORDINATE_SYSTEM } from '@deck.gl/core';
3
- export { PolygonLayer, TextLayer, ScatterplotLayer } from '@deck.gl/layers';
3
+ export { PolygonLayer, TextLayer, ScatterplotLayer, LineLayer, } from '@deck.gl/layers';
4
4
  export { OrthographicView, OrbitView } from '@deck.gl/core';
5
5
  export { ContourLayer } from '@deck.gl/aggregation-layers';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/gl",
3
- "version": "3.5.6",
3
+ "version": "3.5.8",
4
4
  "author": "HIDIVE Lab at HMS",
5
5
  "homepage": "http://vitessce.io",
6
6
  "repository": {
@@ -52,7 +52,8 @@
52
52
  "math.gl": "^3.5.6",
53
53
  "mathjs": "^9.2.0",
54
54
  "nebula.gl": "0.23.8",
55
- "@vitessce/utils": "3.5.6"
55
+ "@vitessce/utils": "3.5.8",
56
+ "@vitessce/globals": "3.5.8"
56
57
  },
57
58
  "devDependencies": {
58
59
  "glsl-colormap": "^1.0.1"
@@ -2,6 +2,7 @@
2
2
  /* eslint-disable-next-line camelcase */
3
3
  import { extent, max as d3_max } from 'd3-array';
4
4
 
5
+ import { log } from '@vitessce/globals';
5
6
 
6
7
  function normalize(arr) {
7
8
  const [min, max] = extent(arr);
@@ -57,10 +58,10 @@ export function multiSetsToTextureData(
57
58
  const colorTexHeight = Math.max(2, Math.ceil(totalColorsLength / texSize));
58
59
 
59
60
  if (valueTexHeight > texSize) {
60
- console.error('Error: length of concatenated quantitative feature values larger than maximum texture size');
61
+ log.error('Error: length of concatenated quantitative feature values larger than maximum texture size');
61
62
  }
62
63
  if (colorTexHeight > texSize) {
63
- console.error('Error: length of concatenated quantitative feature values larger than maximum texture size');
64
+ log.error('Error: length of concatenated quantitative feature values larger than maximum texture size');
64
65
  }
65
66
  // Array for texture containing color indices.
66
67
  const totalData = new Uint8Array(texSize * valueTexHeight);
package/src/deck.js CHANGED
@@ -1,5 +1,10 @@
1
1
  export { default as DeckGL } from 'deck.gl';
2
2
  export { COORDINATE_SYSTEM } from '@deck.gl/core';
3
- export { PolygonLayer, TextLayer, ScatterplotLayer } from '@deck.gl/layers';
3
+ export {
4
+ PolygonLayer,
5
+ TextLayer,
6
+ ScatterplotLayer,
7
+ LineLayer,
8
+ } from '@deck.gl/layers';
4
9
  export { OrthographicView, OrbitView } from '@deck.gl/core';
5
10
  export { ContourLayer } from '@deck.gl/aggregation-layers';