@vitessce/gl 3.4.11 → 3.4.14
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/{deflate-6ab1a341.js → deflate-2ed1d840.js} +1 -1
- package/dist/{index-26b66e69.js → index-ca31b7d3.js} +33 -18
- package/dist/index.js +3 -2
- package/dist/{jpeg-eea7bce6.js → jpeg-bb488207.js} +1 -1
- package/dist/{lerc-f773588e.js → lerc-2f0f94bb.js} +1 -1
- package/dist/{lzw-6cfce58b.js → lzw-01bcf7af.js} +1 -1
- package/dist/{packbits-d7300d83.js → packbits-5a00a194.js} +1 -1
- package/dist/{raw-8583411a.js → raw-5c4ce572.js} +1 -1
- package/dist/{webimage-7314a2d9.js → webimage-4fae1fa3.js} +1 -1
- package/dist-tsc/index.d.ts +1 -0
- package/dist-tsc/index.js +2 -0
- package/dist-tsc/math.d.ts +2 -0
- package/dist-tsc/math.d.ts.map +1 -0
- package/dist-tsc/math.js +1 -0
- package/package.json +2 -2
- package/src/index.js +2 -0
- package/src/math.js +5 -0
|
@@ -71777,16 +71777,24 @@ var getIntrinsic = function GetIntrinsic(name2, allowMissing) {
|
|
|
71777
71777
|
return value;
|
|
71778
71778
|
};
|
|
71779
71779
|
var callBind$3 = { exports: {} };
|
|
71780
|
-
var
|
|
71781
|
-
var
|
|
71782
|
-
|
|
71783
|
-
|
|
71784
|
-
|
|
71785
|
-
|
|
71786
|
-
|
|
71780
|
+
var esDefineProperty;
|
|
71781
|
+
var hasRequiredEsDefineProperty;
|
|
71782
|
+
function requireEsDefineProperty() {
|
|
71783
|
+
if (hasRequiredEsDefineProperty)
|
|
71784
|
+
return esDefineProperty;
|
|
71785
|
+
hasRequiredEsDefineProperty = 1;
|
|
71786
|
+
var GetIntrinsic3 = getIntrinsic;
|
|
71787
|
+
var $defineProperty2 = GetIntrinsic3("%Object.defineProperty%", true) || false;
|
|
71788
|
+
if ($defineProperty2) {
|
|
71789
|
+
try {
|
|
71790
|
+
$defineProperty2({}, "a", { value: 1 });
|
|
71791
|
+
} catch (e2) {
|
|
71792
|
+
$defineProperty2 = false;
|
|
71793
|
+
}
|
|
71787
71794
|
}
|
|
71795
|
+
esDefineProperty = $defineProperty2;
|
|
71796
|
+
return esDefineProperty;
|
|
71788
71797
|
}
|
|
71789
|
-
var esDefineProperty = $defineProperty$3;
|
|
71790
71798
|
var GetIntrinsic$3 = getIntrinsic;
|
|
71791
71799
|
var $gOPD$1 = GetIntrinsic$3("%Object.getOwnPropertyDescriptor%", true);
|
|
71792
71800
|
if ($gOPD$1) {
|
|
@@ -71797,7 +71805,7 @@ if ($gOPD$1) {
|
|
|
71797
71805
|
}
|
|
71798
71806
|
}
|
|
71799
71807
|
var gopd$1 = $gOPD$1;
|
|
71800
|
-
var $defineProperty$2 =
|
|
71808
|
+
var $defineProperty$2 = requireEsDefineProperty();
|
|
71801
71809
|
var $SyntaxError = syntax;
|
|
71802
71810
|
var $TypeError$3 = type;
|
|
71803
71811
|
var gopd = gopd$1;
|
|
@@ -71838,7 +71846,7 @@ var defineDataProperty$1 = function defineDataProperty(obj, property, value) {
|
|
|
71838
71846
|
throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");
|
|
71839
71847
|
}
|
|
71840
71848
|
};
|
|
71841
|
-
var $defineProperty$1 =
|
|
71849
|
+
var $defineProperty$1 = requireEsDefineProperty();
|
|
71842
71850
|
var hasPropertyDescriptors$1 = function hasPropertyDescriptors() {
|
|
71843
71851
|
return !!$defineProperty$1;
|
|
71844
71852
|
};
|
|
@@ -71907,7 +71915,7 @@ var setFunctionLength = function setFunctionLength2(fn, length2) {
|
|
|
71907
71915
|
var $apply = GetIntrinsic3("%Function.prototype.apply%");
|
|
71908
71916
|
var $call = GetIntrinsic3("%Function.prototype.call%");
|
|
71909
71917
|
var $reflectApply = GetIntrinsic3("%Reflect.apply%", true) || bind4.call($call, $apply);
|
|
71910
|
-
var $defineProperty2 =
|
|
71918
|
+
var $defineProperty2 = requireEsDefineProperty();
|
|
71911
71919
|
var $max = GetIntrinsic3("%Math.max%");
|
|
71912
71920
|
module2.exports = function callBind2(originalFunction) {
|
|
71913
71921
|
if (typeof originalFunction !== "function") {
|
|
@@ -106285,16 +106293,16 @@ async function getDecoder(fileDirectory) {
|
|
|
106285
106293
|
const Decoder = await importFn();
|
|
106286
106294
|
return new Decoder(fileDirectory);
|
|
106287
106295
|
}
|
|
106288
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
106289
|
-
addDecoder(5, () => import("./lzw-
|
|
106296
|
+
addDecoder([void 0, 1], () => import("./raw-5c4ce572.js").then((m) => m.default));
|
|
106297
|
+
addDecoder(5, () => import("./lzw-01bcf7af.js").then((m) => m.default));
|
|
106290
106298
|
addDecoder(6, () => {
|
|
106291
106299
|
throw new Error("old style JPEG compression is not supported.");
|
|
106292
106300
|
});
|
|
106293
|
-
addDecoder(7, () => import("./jpeg-
|
|
106294
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
106295
|
-
addDecoder(32773, () => import("./packbits-
|
|
106296
|
-
addDecoder(34887, () => import("./lerc-
|
|
106297
|
-
addDecoder(50001, () => import("./webimage-
|
|
106301
|
+
addDecoder(7, () => import("./jpeg-bb488207.js").then((m) => m.default));
|
|
106302
|
+
addDecoder([8, 32946], () => import("./deflate-2ed1d840.js").then((m) => m.default));
|
|
106303
|
+
addDecoder(32773, () => import("./packbits-5a00a194.js").then((m) => m.default));
|
|
106304
|
+
addDecoder(34887, () => import("./lerc-2f0f94bb.js").then((m) => m.default));
|
|
106305
|
+
addDecoder(50001, () => import("./webimage-4fae1fa3.js").then((m) => m.default));
|
|
106298
106306
|
function copyNewSize(array, width, height, samplesPerPixel = 1) {
|
|
106299
106307
|
return new (Object.getPrototypeOf(array)).constructor(width * height * samplesPerPixel);
|
|
106300
106308
|
}
|
|
@@ -123933,6 +123941,12 @@ const deck = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty
|
|
|
123933
123941
|
ScatterplotLayer,
|
|
123934
123942
|
TextLayer
|
|
123935
123943
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
123944
|
+
const math = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
123945
|
+
__proto__: null,
|
|
123946
|
+
Matrix4,
|
|
123947
|
+
Vector2,
|
|
123948
|
+
Vector3
|
|
123949
|
+
}, Symbol.toStringTag, { value: "Module" }));
|
|
123936
123950
|
export {
|
|
123937
123951
|
AXIS_MARGIN as A,
|
|
123938
123952
|
BaseDecoder as B,
|
|
@@ -123965,5 +123979,6 @@ export {
|
|
|
123965
123979
|
AXIS_MAX_SIZE as r,
|
|
123966
123980
|
luma as s,
|
|
123967
123981
|
deck as t,
|
|
123982
|
+
math as u,
|
|
123968
123983
|
viv as v
|
|
123969
123984
|
};
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as distEs6 } from "./index-
|
|
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, v } from "./index-
|
|
1
|
+
import { f as distEs6 } from "./index-ca31b7d3.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-ca31b7d3.js";
|
|
3
3
|
import "react";
|
|
4
4
|
const SELECTION_TYPE = distEs6.SELECTION_TYPE;
|
|
5
5
|
export {
|
|
@@ -30,5 +30,6 @@ export {
|
|
|
30
30
|
t as deck,
|
|
31
31
|
b as getSelectionLayer,
|
|
32
32
|
s as luma,
|
|
33
|
+
u as math,
|
|
33
34
|
v as viv
|
|
34
35
|
};
|
|
@@ -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-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder, L as LercParameters, a as LercAddCompression } from "./index-ca31b7d3.js";
|
|
3
3
|
import "react";
|
|
4
4
|
var LercDecode = { exports: {} };
|
|
5
5
|
(function(module) {
|
package/dist-tsc/index.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export { default as BitmaskLayerBeta } from "./BitmaskLayerBeta.js";
|
|
|
10
10
|
export * as viv from "./viv.js";
|
|
11
11
|
export * as luma from "./luma.js";
|
|
12
12
|
export * as deck from "./deck.js";
|
|
13
|
+
export * as math from "./math.js";
|
|
13
14
|
export { GLSL_COLORMAPS, GLSL_COLORMAP_DEFAULT, DEFAULT_GL_OPTIONS, SELECTION_TYPE } from "./constants.js";
|
|
14
15
|
export { TILE_SIZE, MAX_ROW_AGG, MIN_ROW_AGG, COLOR_BAR_SIZE, AXIS_MARGIN, DATA_TEXTURE_SIZE, PIXELATED_TEXTURE_PARAMETERS, AXIS_LABEL_TEXT_SIZE, AXIS_FONT_FAMILY, AXIS_PADDING, AXIS_MIN_SIZE, AXIS_MAX_SIZE } from "./heatmap-constants.js";
|
|
15
16
|
//# sourceMappingURL=index.d.ts.map
|
package/dist-tsc/index.js
CHANGED
|
@@ -18,3 +18,5 @@ export * as viv from './viv.js';
|
|
|
18
18
|
export * as luma from './luma.js';
|
|
19
19
|
// eslint-disable-next-line react-refresh/only-export-components
|
|
20
20
|
export * as deck from './deck.js';
|
|
21
|
+
// eslint-disable-next-line react-refresh/only-export-components
|
|
22
|
+
export * as math from './math.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"math.d.ts","sourceRoot":"","sources":["../src/math.js"],"names":[],"mappings":""}
|
package/dist-tsc/math.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Vector2, Vector3, Matrix4, } from '@math.gl/core';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/gl",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.14",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"math.gl": "^3.5.6",
|
|
53
53
|
"mathjs": "^9.2.0",
|
|
54
54
|
"nebula.gl": "0.23.8",
|
|
55
|
-
"@vitessce/utils": "3.4.
|
|
55
|
+
"@vitessce/utils": "3.4.14"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"glsl-colormap": "^1.0.1"
|
package/src/index.js
CHANGED
|
@@ -36,3 +36,5 @@ export * as viv from './viv.js';
|
|
|
36
36
|
export * as luma from './luma.js';
|
|
37
37
|
// eslint-disable-next-line react-refresh/only-export-components
|
|
38
38
|
export * as deck from './deck.js';
|
|
39
|
+
// eslint-disable-next-line react-refresh/only-export-components
|
|
40
|
+
export * as math from './math.js';
|