@vitessce/scatterplot-gating 3.3.3 → 3.3.4
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-77caba00.js → deflate-a0ad3b95.js} +1 -1
- package/dist/{index-46421b0b.js → index-ad0b1f6c.js} +14 -8
- package/dist/index.js +1 -1
- package/dist/{jpeg-8db09338.js → jpeg-19ae8d45.js} +1 -1
- package/dist/{lerc-e0aaacab.js → lerc-bff6809d.js} +1 -1
- package/dist/{lzw-0fc42bf7.js → lzw-52e5b3a7.js} +1 -1
- package/dist/{packbits-25bf12f6.js → packbits-a7ae738c.js} +1 -1
- package/dist/{raw-dd940ebd.js → raw-c8fd6778.js} +1 -1
- package/dist/{webimage-3b65bcee.js → webimage-58661116.js} +1 -1
- package/dist-tsc/GatingSubscriber.d.ts.map +1 -1
- package/dist-tsc/GatingSubscriber.js +2 -2
- package/package.json +6 -6
- package/src/GatingSubscriber.js +3 -2
|
@@ -18594,7 +18594,13 @@ interpolateSequentialMulti(schemePlasma);
|
|
|
18594
18594
|
function getCellColors(params) {
|
|
18595
18595
|
const { cellSets, cellSetSelection, cellSetColor, obsIndex, theme } = params;
|
|
18596
18596
|
if (cellSetSelection && cellSets) {
|
|
18597
|
-
return treeToCellColorsBySetNames(
|
|
18597
|
+
return treeToCellColorsBySetNames(
|
|
18598
|
+
cellSets,
|
|
18599
|
+
cellSetSelection,
|
|
18600
|
+
cellSetColor,
|
|
18601
|
+
theme
|
|
18602
|
+
/* as string */
|
|
18603
|
+
);
|
|
18598
18604
|
}
|
|
18599
18605
|
if (obsIndex && theme) {
|
|
18600
18606
|
return new Map(obsIndex.map((o2) => [o2, getDefaultColor(theme)]));
|
|
@@ -121222,16 +121228,16 @@ function addDecoder(cases, importFn) {
|
|
|
121222
121228
|
}
|
|
121223
121229
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
121224
121230
|
}
|
|
121225
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
121226
|
-
addDecoder(5, () => import("./lzw-
|
|
121231
|
+
addDecoder([void 0, 1], () => import("./raw-c8fd6778.js").then((m2) => m2.default));
|
|
121232
|
+
addDecoder(5, () => import("./lzw-52e5b3a7.js").then((m2) => m2.default));
|
|
121227
121233
|
addDecoder(6, () => {
|
|
121228
121234
|
throw new Error("old style JPEG compression is not supported.");
|
|
121229
121235
|
});
|
|
121230
|
-
addDecoder(7, () => import("./jpeg-
|
|
121231
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
121232
|
-
addDecoder(32773, () => import("./packbits-
|
|
121233
|
-
addDecoder(34887, () => import("./lerc-
|
|
121234
|
-
addDecoder(50001, () => import("./webimage-
|
|
121236
|
+
addDecoder(7, () => import("./jpeg-19ae8d45.js").then((m2) => m2.default));
|
|
121237
|
+
addDecoder([8, 32946], () => import("./deflate-a0ad3b95.js").then((m2) => m2.default));
|
|
121238
|
+
addDecoder(32773, () => import("./packbits-a7ae738c.js").then((m2) => m2.default));
|
|
121239
|
+
addDecoder(34887, () => import("./lerc-bff6809d.js").then((m2) => m2.default));
|
|
121240
|
+
addDecoder(50001, () => import("./webimage-58661116.js").then((m2) => m2.default));
|
|
121235
121241
|
function decodeRowAcc(row, stride) {
|
|
121236
121242
|
let length2 = row.length - stride;
|
|
121237
121243
|
let offset5 = 0;
|
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-ad0b1f6c.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@vitessce/vit-s";
|
|
5
5
|
import "react-dom";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GatingSubscriber.d.ts","sourceRoot":"","sources":["../src/GatingSubscriber.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"GatingSubscriber.d.ts","sourceRoot":"","sources":["../src/GatingSubscriber.js"],"names":[],"mappings":"AAmCA;;;;;;;;;;;;KAYK;AACL;IAV2B,IAAI,EAAlB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAES,cAAc,EAA7B,OAAO;IACS,mBAAmB;IAErB,kBAAkB,EAAhC,MAAM;gBAgalB"}
|
|
@@ -2,9 +2,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import React, { useState, useEffect, useCallback, useMemo, } from 'react';
|
|
3
3
|
import { extent } from 'd3-array';
|
|
4
4
|
import { isEqual } from 'lodash-es';
|
|
5
|
-
import { pluralize as plur, capitalize, commaNumber,
|
|
5
|
+
import { pluralize as plur, capitalize, commaNumber, getValueTransformFunction, VALUE_TRANSFORM_OPTIONS, } from '@vitessce/utils';
|
|
6
6
|
import { TitleInfo, useDeckCanvasSize, useReady, useUrls, useUint8FeatureSelection, useExpressionValueGetter, useObsSetsData, useFeatureSelection, useObsFeatureMatrixIndices, useCoordination, useLoaders, useSetComponentHover, useSetComponentViewInfo, } from '@vitessce/vit-s';
|
|
7
|
-
import { getCellSetPolygons, mergeObsSets, setObsSelection } from '@vitessce/sets-utils';
|
|
7
|
+
import { getCellSetPolygons, mergeObsSets, setObsSelection, getCellColors, } from '@vitessce/sets-utils';
|
|
8
8
|
import { Scatterplot, ScatterplotTooltipSubscriber, ScatterplotOptions, getPointSizeDevicePixels, getPointOpacity, EmptyMessage, } from '@vitessce/scatterplot';
|
|
9
9
|
import { ViewType, COMPONENT_COORDINATION_TYPES } from '@vitessce/constants-internal';
|
|
10
10
|
import GatingScatterplotOptions from './GatingScatterplotOptions.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/scatterplot-gating",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.4",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"d3-array": "^2.4.0",
|
|
21
21
|
"lodash-es": "^4.17.21",
|
|
22
22
|
"react-aria": "^3.28.0",
|
|
23
|
-
"@vitessce/constants-internal": "3.3.
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/utils": "3.3.
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/vit-s": "3.3.
|
|
23
|
+
"@vitessce/constants-internal": "3.3.4",
|
|
24
|
+
"@vitessce/scatterplot": "3.3.4",
|
|
25
|
+
"@vitessce/sets-utils": "3.3.4",
|
|
26
|
+
"@vitessce/utils": "3.3.4",
|
|
27
|
+
"@vitessce/vit-s": "3.3.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "^18.0.0",
|
package/src/GatingSubscriber.js
CHANGED
|
@@ -6,7 +6,6 @@ import { isEqual } from 'lodash-es';
|
|
|
6
6
|
import {
|
|
7
7
|
pluralize as plur,
|
|
8
8
|
capitalize, commaNumber,
|
|
9
|
-
getCellColors,
|
|
10
9
|
getValueTransformFunction, VALUE_TRANSFORM_OPTIONS,
|
|
11
10
|
} from '@vitessce/utils';
|
|
12
11
|
import {
|
|
@@ -22,7 +21,9 @@ import {
|
|
|
22
21
|
useSetComponentHover,
|
|
23
22
|
useSetComponentViewInfo,
|
|
24
23
|
} from '@vitessce/vit-s';
|
|
25
|
-
import {
|
|
24
|
+
import {
|
|
25
|
+
getCellSetPolygons, mergeObsSets, setObsSelection, getCellColors,
|
|
26
|
+
} from '@vitessce/sets-utils';
|
|
26
27
|
import {
|
|
27
28
|
Scatterplot, ScatterplotTooltipSubscriber, ScatterplotOptions,
|
|
28
29
|
getPointSizeDevicePixels,
|