@vitessce/heatmap 3.3.4 → 3.3.5
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-05e3ee40.js → deflate-e18d403c.js} +1 -1
- package/dist/{index-edc6cc12.js → index-dd20d252.js} +26 -42
- package/dist/index.js +1 -1
- package/dist/{jpeg-a2f977d0.js → jpeg-329d0b25.js} +1 -1
- package/dist/{lerc-0d65f0a5.js → lerc-497104ea.js} +1 -1
- package/dist/{lzw-5206f32d.js → lzw-c47337be.js} +1 -1
- package/dist/{packbits-5812e06c.js → packbits-4373d6cf.js} +1 -1
- package/dist/{raw-1b039310.js → raw-b95711bc.js} +1 -1
- package/dist/{webimage-199d4de9.js → webimage-85278526.js} +1 -1
- package/package.json +9 -9
|
@@ -1302,9 +1302,6 @@ var pluralizeExports = pluralize$1.exports;
|
|
|
1302
1302
|
const plur = /* @__PURE__ */ getDefaultExportFromCjs(pluralizeExports);
|
|
1303
1303
|
plur.addPluralRule("glomerulus", "glomeruli");
|
|
1304
1304
|
plur.addPluralRule("interstitium", "interstitia");
|
|
1305
|
-
function fromEntries(iterable) {
|
|
1306
|
-
return [...iterable].reduce((obj, { 0: key, 1: val }) => Object.assign(obj, { [key]: val }), {});
|
|
1307
|
-
}
|
|
1308
1305
|
function commaNumber(n2) {
|
|
1309
1306
|
const nf = new Intl.NumberFormat("en-US");
|
|
1310
1307
|
return nf.format(n2);
|
|
@@ -10939,6 +10936,7 @@ const FileType$1 = {
|
|
|
10939
10936
|
OBS_SEGMENTATIONS_OME_ZARR: "obsSegmentations.ome-zarr",
|
|
10940
10937
|
// AnnData
|
|
10941
10938
|
OBS_FEATURE_MATRIX_ANNDATA_ZARR: "obsFeatureMatrix.anndata.zarr",
|
|
10939
|
+
OBS_FEATURE_COLUMNS_ANNDATA_ZARR: "obsFeatureColumns.anndata.zarr",
|
|
10942
10940
|
OBS_SETS_ANNDATA_ZARR: "obsSets.anndata.zarr",
|
|
10943
10941
|
OBS_EMBEDDING_ANNDATA_ZARR: "obsEmbedding.anndata.zarr",
|
|
10944
10942
|
OBS_SPOTS_ANNDATA_ZARR: "obsSpots.anndata.zarr",
|
|
@@ -11665,7 +11663,7 @@ function configSchemaToVersion(zodSchema) {
|
|
|
11665
11663
|
return zodSchema.shape.version._def.value;
|
|
11666
11664
|
}
|
|
11667
11665
|
({
|
|
11668
|
-
...fromEntries(SCHEMA_HANDLERS.map(([zodSchema]) => {
|
|
11666
|
+
...Object.fromEntries(SCHEMA_HANDLERS.map(([zodSchema]) => {
|
|
11669
11667
|
const version2 = configSchemaToVersion(zodSchema);
|
|
11670
11668
|
return [version2, zodSchema];
|
|
11671
11669
|
})),
|
|
@@ -11741,6 +11739,9 @@ const annDataObsSets = z.array(z.object({
|
|
|
11741
11739
|
]),
|
|
11742
11740
|
scorePath: z.string().optional().describe("The location in the AnnData store for the set confidence scores, like 'obs/celltype_prediction_score.'")
|
|
11743
11741
|
}));
|
|
11742
|
+
z.array(z.object({
|
|
11743
|
+
path: z.string()
|
|
11744
|
+
}));
|
|
11744
11745
|
const annDataObsSpots = annDataObsm;
|
|
11745
11746
|
const annDataObsPoints = annDataObsm;
|
|
11746
11747
|
const annDataObsLocations = annDataObsm;
|
|
@@ -20673,19 +20674,19 @@ function _createClass$w(Constructor, protoProps, staticProps) {
|
|
|
20673
20674
|
});
|
|
20674
20675
|
return Constructor;
|
|
20675
20676
|
}
|
|
20676
|
-
function _setPrototypeOf$
|
|
20677
|
-
_setPrototypeOf$
|
|
20677
|
+
function _setPrototypeOf$v(o2, p) {
|
|
20678
|
+
_setPrototypeOf$v = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
|
|
20678
20679
|
o3.__proto__ = p2;
|
|
20679
20680
|
return o3;
|
|
20680
20681
|
};
|
|
20681
|
-
return _setPrototypeOf$
|
|
20682
|
+
return _setPrototypeOf$v(o2, p);
|
|
20682
20683
|
}
|
|
20683
|
-
function _inheritsLoose
|
|
20684
|
+
function _inheritsLoose(subClass, superClass) {
|
|
20684
20685
|
subClass.prototype = Object.create(superClass.prototype);
|
|
20685
20686
|
subClass.prototype.constructor = subClass;
|
|
20686
|
-
_setPrototypeOf$
|
|
20687
|
+
_setPrototypeOf$v(subClass, superClass);
|
|
20687
20688
|
}
|
|
20688
|
-
function _assertThisInitialized$
|
|
20689
|
+
function _assertThisInitialized$v(self2) {
|
|
20689
20690
|
if (self2 === void 0) {
|
|
20690
20691
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
20691
20692
|
}
|
|
@@ -20892,7 +20893,7 @@ var BaseStyleRule = /* @__PURE__ */ function() {
|
|
|
20892
20893
|
return BaseStyleRule2;
|
|
20893
20894
|
}();
|
|
20894
20895
|
var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
20895
|
-
_inheritsLoose
|
|
20896
|
+
_inheritsLoose(StyleRule2, _BaseStyleRule);
|
|
20896
20897
|
function StyleRule2(key, style2, options) {
|
|
20897
20898
|
var _this;
|
|
20898
20899
|
_this = _BaseStyleRule.call(this, key, style2, options) || this;
|
|
@@ -20900,7 +20901,7 @@ var StyleRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
|
20900
20901
|
if (selector2) {
|
|
20901
20902
|
_this.selectorText = selector2;
|
|
20902
20903
|
} else if (scoped !== false) {
|
|
20903
|
-
_this.id = generateId(_assertThisInitialized$
|
|
20904
|
+
_this.id = generateId(_assertThisInitialized$v(_assertThisInitialized$v(_this)), sheet);
|
|
20904
20905
|
_this.selectorText = "." + escape(_this.id);
|
|
20905
20906
|
}
|
|
20906
20907
|
return _this;
|
|
@@ -21130,7 +21131,7 @@ var pluginKeyframesRule = {
|
|
|
21130
21131
|
}
|
|
21131
21132
|
};
|
|
21132
21133
|
var KeyframeRule = /* @__PURE__ */ function(_BaseStyleRule) {
|
|
21133
|
-
_inheritsLoose
|
|
21134
|
+
_inheritsLoose(KeyframeRule2, _BaseStyleRule);
|
|
21134
21135
|
function KeyframeRule2() {
|
|
21135
21136
|
return _BaseStyleRule.apply(this, arguments) || this;
|
|
21136
21137
|
}
|
|
@@ -24042,25 +24043,7 @@ function useIsFocusVisible() {
|
|
|
24042
24043
|
ref
|
|
24043
24044
|
};
|
|
24044
24045
|
}
|
|
24045
|
-
function _setPrototypeOf$v(o2, p) {
|
|
24046
|
-
_setPrototypeOf$v = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
|
|
24047
|
-
o3.__proto__ = p2;
|
|
24048
|
-
return o3;
|
|
24049
|
-
};
|
|
24050
|
-
return _setPrototypeOf$v(o2, p);
|
|
24051
|
-
}
|
|
24052
|
-
function _inheritsLoose(subClass, superClass) {
|
|
24053
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
24054
|
-
subClass.prototype.constructor = subClass;
|
|
24055
|
-
_setPrototypeOf$v(subClass, superClass);
|
|
24056
|
-
}
|
|
24057
24046
|
const TransitionGroupContext = React__default.createContext(null);
|
|
24058
|
-
function _assertThisInitialized$v(self2) {
|
|
24059
|
-
if (self2 === void 0) {
|
|
24060
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
24061
|
-
}
|
|
24062
|
-
return self2;
|
|
24063
|
-
}
|
|
24064
24047
|
function getChildMapping(children2, mapFn) {
|
|
24065
24048
|
var mapper = function mapper2(child) {
|
|
24066
24049
|
return mapFn && isValidElement(child) ? mapFn(child) : child;
|
|
@@ -24209,7 +24192,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
24209
24192
|
}
|
|
24210
24193
|
if (this.mounted) {
|
|
24211
24194
|
this.setState(function(state) {
|
|
24212
|
-
var children2 = _extends$
|
|
24195
|
+
var children2 = _extends$2({}, state.children);
|
|
24213
24196
|
delete children2[child.key];
|
|
24214
24197
|
return {
|
|
24215
24198
|
children: children2
|
|
@@ -24218,7 +24201,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
24218
24201
|
}
|
|
24219
24202
|
};
|
|
24220
24203
|
_proto.render = function render() {
|
|
24221
|
-
var _this$props = this.props, Component2 = _this$props.component, childFactory2 = _this$props.childFactory, props2 = _objectWithoutPropertiesLoose
|
|
24204
|
+
var _this$props = this.props, Component2 = _this$props.component, childFactory2 = _this$props.childFactory, props2 = _objectWithoutPropertiesLoose(_this$props, ["component", "childFactory"]);
|
|
24222
24205
|
var contextValue = this.state.contextValue;
|
|
24223
24206
|
var children2 = values(this.state.children).map(childFactory2);
|
|
24224
24207
|
delete props2.appear;
|
|
@@ -131560,7 +131543,8 @@ const AXIS_MARGIN = 3;
|
|
|
131560
131543
|
const AXIS_PADDING = 10;
|
|
131561
131544
|
const THEME_TO_TEXT_COLOR = {
|
|
131562
131545
|
dark: [224, 224, 224],
|
|
131563
|
-
light: [64, 64, 64]
|
|
131546
|
+
light: [64, 64, 64],
|
|
131547
|
+
light2: [64, 64, 64]
|
|
131564
131548
|
};
|
|
131565
131549
|
const AXIS_FONT_FAMILY = "-apple-system, 'Helvetica Neue', Arial, sans-serif";
|
|
131566
131550
|
const PIXELATED_TEXTURE_PARAMETERS = {
|
|
@@ -132663,16 +132647,16 @@ function addDecoder(cases, importFn) {
|
|
|
132663
132647
|
}
|
|
132664
132648
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
132665
132649
|
}
|
|
132666
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
132667
|
-
addDecoder(5, () => import("./lzw-
|
|
132650
|
+
addDecoder([void 0, 1], () => import("./raw-b95711bc.js").then((m) => m.default));
|
|
132651
|
+
addDecoder(5, () => import("./lzw-c47337be.js").then((m) => m.default));
|
|
132668
132652
|
addDecoder(6, () => {
|
|
132669
132653
|
throw new Error("old style JPEG compression is not supported.");
|
|
132670
132654
|
});
|
|
132671
|
-
addDecoder(7, () => import("./jpeg-
|
|
132672
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
132673
|
-
addDecoder(32773, () => import("./packbits-
|
|
132674
|
-
addDecoder(34887, () => import("./lerc-
|
|
132675
|
-
addDecoder(50001, () => import("./webimage-
|
|
132655
|
+
addDecoder(7, () => import("./jpeg-329d0b25.js").then((m) => m.default));
|
|
132656
|
+
addDecoder([8, 32946], () => import("./deflate-e18d403c.js").then((m) => m.default));
|
|
132657
|
+
addDecoder(32773, () => import("./packbits-4373d6cf.js").then((m) => m.default));
|
|
132658
|
+
addDecoder(34887, () => import("./lerc-497104ea.js").then((m) => m.default));
|
|
132659
|
+
addDecoder(50001, () => import("./webimage-85278526.js").then((m) => m.default));
|
|
132676
132660
|
function decodeRowAcc(row, stride) {
|
|
132677
132661
|
let length2 = row.length - stride;
|
|
132678
132662
|
let offset5 = 0;
|
|
@@ -143914,7 +143898,7 @@ class BitmaskLayer2 extends XRLayer {
|
|
|
143914
143898
|
} = this.state;
|
|
143915
143899
|
if (textures && model) {
|
|
143916
143900
|
const scaleFactor = 1 / 2 ** (maxZoom - zoom);
|
|
143917
|
-
const colors = fromEntries(range$5(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
|
|
143901
|
+
const colors = Object.fromEntries(range$5(MAX_CHANNELS).map((i2) => [`color${i2}`, getColor(channelColors[i2])]));
|
|
143918
143902
|
model.setUniforms(Object.assign({}, uniforms, {
|
|
143919
143903
|
...colors,
|
|
143920
143904
|
// Bitmask image channel data textures
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-68f84e2a.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-dd20d252.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@vitessce/vit-s";
|
|
5
5
|
import "react-dom";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/heatmap",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.5",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
"lodash-es": "^4.17.21",
|
|
21
21
|
"uuid": "^9.0.0",
|
|
22
22
|
"react-aria": "^3.28.0",
|
|
23
|
-
"@vitessce/constants-internal": "3.3.
|
|
24
|
-
"@vitessce/gl": "3.3.
|
|
25
|
-
"@vitessce/legend": "3.3.
|
|
26
|
-
"@vitessce/tooltip": "3.3.
|
|
27
|
-
"@vitessce/sets-utils": "3.3.
|
|
28
|
-
"@vitessce/utils": "3.3.
|
|
29
|
-
"@vitessce/vit-s": "3.3.
|
|
30
|
-
"@vitessce/workers": "3.3.
|
|
23
|
+
"@vitessce/constants-internal": "3.3.5",
|
|
24
|
+
"@vitessce/gl": "3.3.5",
|
|
25
|
+
"@vitessce/legend": "3.3.5",
|
|
26
|
+
"@vitessce/tooltip": "3.3.5",
|
|
27
|
+
"@vitessce/sets-utils": "3.3.5",
|
|
28
|
+
"@vitessce/utils": "3.3.5",
|
|
29
|
+
"@vitessce/vit-s": "3.3.5",
|
|
30
|
+
"@vitessce/workers": "3.3.5"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@testing-library/jest-dom": "^5.16.4",
|