@vitessce/scatterplot-gating 3.6.17 → 3.6.18
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-DxHXH5xg.js → deflate-X_zVM_Qy.js} +1 -1
- package/dist/{index-DNmU76cL.js → index-DxIbmbec.js} +10 -9
- package/dist/index.js +1 -1
- package/dist/{jpeg-DVzsG58A.js → jpeg-uWYr3prx.js} +1 -1
- package/dist/{lerc-DDH4E1vF.js → lerc-SWg2S-02.js} +1 -1
- package/dist/{lzw-DurWd6oh.js → lzw-ByCiT6yw.js} +1 -1
- package/dist/{packbits-Wx1kBQ0B.js → packbits-BfbBkUze.js} +1 -1
- package/dist/{raw-BVRj2spn.js → raw-Cpi81EiU.js} +1 -1
- package/dist/{webimage-D9sKJsjg.js → webimage-DDFe5y5S.js} +1 -1
- package/dist-tsc/GatingSubscriber.d.ts.map +1 -1
- package/dist-tsc/GatingSubscriber.js +3 -2
- package/package.json +7 -7
- package/src/GatingSubscriber.js +3 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { B as BaseDecoder } from "./index-
|
|
2
|
+
import { B as BaseDecoder } from "./index-DxIbmbec.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -4,7 +4,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4
4
|
var _a2, _b;
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import React__default, { useLayoutEffect, useEffect, cloneElement, createElement, forwardRef, useState, useRef, useMemo, useImperativeHandle, useContext, createContext, isValidElement, Children, PureComponent, useCallback } from "react";
|
|
7
|
-
import { usePlotOptionsStyles, OptionsContainer, CellColorEncodingOption, OptionSelect, useVitessceContainer, useComponentHover, useComponentViewInfo, useLoaders, useSetComponentHover, useSetComponentViewInfo, useCoordination, useDeckCanvasSize, useObsSetsData, useFeatureSelection, useObsFeatureMatrixIndices, useReady, useUrls, useUint8FeatureSelection, useExpressionValueGetter, TitleInfo } from "@vitessce/vit-s";
|
|
7
|
+
import { usePlotOptionsStyles, OptionsContainer, CellColorEncodingOption, OptionSelect, useVitessceContainer, useComponentHover, useComponentViewInfo, useLoaders, useCoordinationScopes, useSetComponentHover, useSetComponentViewInfo, useCoordination, useDeckCanvasSize, useObsSetsData, useFeatureSelection, useObsFeatureMatrixIndices, useReady, useUrls, useUint8FeatureSelection, useExpressionValueGetter, TitleInfo } from "@vitessce/vit-s";
|
|
8
8
|
import * as ReactDOM from "react-dom";
|
|
9
9
|
import ReactDOM__default from "react-dom";
|
|
10
10
|
function _mergeNamespaces(n2, m2) {
|
|
@@ -123124,22 +123124,22 @@ function addDecoder(cases, importFn) {
|
|
|
123124
123124
|
}
|
|
123125
123125
|
cases.forEach((c2) => registry$1.set(c2, importFn));
|
|
123126
123126
|
}
|
|
123127
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
123128
|
-
addDecoder(5, () => import("./lzw-
|
|
123127
|
+
addDecoder([void 0, 1], () => import("./raw-Cpi81EiU.js").then((m2) => m2.default));
|
|
123128
|
+
addDecoder(5, () => import("./lzw-ByCiT6yw.js").then((m2) => m2.default));
|
|
123129
123129
|
addDecoder(6, () => {
|
|
123130
123130
|
throw new Error("old style JPEG compression is not supported.");
|
|
123131
123131
|
});
|
|
123132
|
-
addDecoder(7, () => import("./jpeg-
|
|
123133
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
123134
|
-
addDecoder(32773, () => import("./packbits-
|
|
123132
|
+
addDecoder(7, () => import("./jpeg-uWYr3prx.js").then((m2) => m2.default));
|
|
123133
|
+
addDecoder([8, 32946], () => import("./deflate-X_zVM_Qy.js").then((m2) => m2.default));
|
|
123134
|
+
addDecoder(32773, () => import("./packbits-BfbBkUze.js").then((m2) => m2.default));
|
|
123135
123135
|
addDecoder(
|
|
123136
123136
|
34887,
|
|
123137
|
-
() => import("./lerc-
|
|
123137
|
+
() => import("./lerc-SWg2S-02.js").then(async (m2) => {
|
|
123138
123138
|
await m2.zstd.init();
|
|
123139
123139
|
return m2;
|
|
123140
123140
|
}).then((m2) => m2.default)
|
|
123141
123141
|
);
|
|
123142
|
-
addDecoder(50001, () => import("./webimage-
|
|
123142
|
+
addDecoder(50001, () => import("./webimage-DDFe5y5S.js").then((m2) => m2.default));
|
|
123143
123143
|
function decodeRowAcc(row, stride) {
|
|
123144
123144
|
let length2 = row.length - stride;
|
|
123145
123145
|
let offset2 = 0;
|
|
@@ -159378,7 +159378,7 @@ function GatingScatterplotOptions(props) {
|
|
|
159378
159378
|
function GatingSubscriber(props) {
|
|
159379
159379
|
const {
|
|
159380
159380
|
uuid,
|
|
159381
|
-
coordinationScopes,
|
|
159381
|
+
coordinationScopes: coordinationScopesRaw,
|
|
159382
159382
|
closeButtonVisible,
|
|
159383
159383
|
downloadButtonVisible,
|
|
159384
159384
|
removeGridComponent,
|
|
@@ -159390,6 +159390,7 @@ function GatingSubscriber(props) {
|
|
|
159390
159390
|
helpText = ViewHelpMapping.GATING
|
|
159391
159391
|
} = props;
|
|
159392
159392
|
const loaders = useLoaders();
|
|
159393
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
159393
159394
|
const setComponentHover = useSetComponentHover();
|
|
159394
159395
|
const setComponentViewInfo = useSetComponentViewInfo(uuid);
|
|
159395
159396
|
const [{
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { i as inflate_1 } from "./pako.esm-SxljTded.js";
|
|
2
|
-
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-
|
|
2
|
+
import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-DxIbmbec.js";
|
|
3
3
|
const LercParameters = {
|
|
4
4
|
AddCompression: 1
|
|
5
5
|
};
|
|
@@ -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":"AAoCA;;;;;;;;;;;;KAYK;AACL,wCAVK;IAAsB,IAAI,EAAlB,MAAM;IACQ,KAAK,EAAnB,MAAM;IACQ,kBAAkB,EAAhC,MAAM;IAES,cAAc,EAA7B,OAAO;IACS,mBAAmB;IAErB,kBAAkB,EAAhC,MAAM;CAEhB,eAobF"}
|
|
@@ -3,7 +3,7 @@ import React, { useState, useEffect, useCallback, useMemo, } from 'react';
|
|
|
3
3
|
import { extent } from 'd3-array';
|
|
4
4
|
import { isEqual } from 'lodash-es';
|
|
5
5
|
import { pluralize as plur, capitalize, commaNumber, getValueTransformFunction, VALUE_TRANSFORM_OPTIONS, } from '@vitessce/utils';
|
|
6
|
-
import { TitleInfo, useDeckCanvasSize, useReady, useUrls, useUint8FeatureSelection, useExpressionValueGetter, useObsSetsData, useFeatureSelection, useObsFeatureMatrixIndices, useCoordination, useLoaders, useSetComponentHover, useSetComponentViewInfo, } from '@vitessce/vit-s';
|
|
6
|
+
import { TitleInfo, useDeckCanvasSize, useReady, useUrls, useUint8FeatureSelection, useExpressionValueGetter, useObsSetsData, useFeatureSelection, useObsFeatureMatrixIndices, useCoordination, useLoaders, useSetComponentHover, useSetComponentViewInfo, useCoordinationScopes, } from '@vitessce/vit-s';
|
|
7
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, ViewHelpMapping } from '@vitessce/constants-internal';
|
|
@@ -22,10 +22,11 @@ import GatingScatterplotOptions from './GatingScatterplotOptions.js';
|
|
|
22
22
|
* when using dynamic opacity mode.
|
|
23
23
|
*/
|
|
24
24
|
export function GatingSubscriber(props) {
|
|
25
|
-
const { uuid, coordinationScopes, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, disableTooltip = false, title: titleOverride,
|
|
25
|
+
const { uuid, coordinationScopes: coordinationScopesRaw, closeButtonVisible, downloadButtonVisible, removeGridComponent, theme, disableTooltip = false, title: titleOverride,
|
|
26
26
|
// Average fill density for dynamic opacity calculation.
|
|
27
27
|
averageFillDensity, helpText = ViewHelpMapping.GATING, } = props;
|
|
28
28
|
const loaders = useLoaders();
|
|
29
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
29
30
|
const setComponentHover = useSetComponentHover();
|
|
30
31
|
const setComponentViewInfo = useSetComponentViewInfo(uuid);
|
|
31
32
|
// Get "props" from the coordination space.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/scatterplot-gating",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.18",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"d3-array": "^2.4.0",
|
|
20
20
|
"lodash-es": "^4.17.21",
|
|
21
21
|
"react-aria": "^3.28.0",
|
|
22
|
-
"@vitessce/styles": "3.6.
|
|
23
|
-
"@vitessce/constants-internal": "3.6.
|
|
24
|
-
"@vitessce/scatterplot": "3.6.
|
|
25
|
-
"@vitessce/sets-utils": "3.6.
|
|
26
|
-
"@vitessce/utils": "3.6.
|
|
27
|
-
"@vitessce/vit-s": "3.6.
|
|
22
|
+
"@vitessce/styles": "3.6.18",
|
|
23
|
+
"@vitessce/constants-internal": "3.6.18",
|
|
24
|
+
"@vitessce/scatterplot": "3.6.18",
|
|
25
|
+
"@vitessce/sets-utils": "3.6.18",
|
|
26
|
+
"@vitessce/utils": "3.6.18",
|
|
27
|
+
"@vitessce/vit-s": "3.6.18"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "^18.0.0",
|
package/src/GatingSubscriber.js
CHANGED
|
@@ -20,6 +20,7 @@ import {
|
|
|
20
20
|
useLoaders,
|
|
21
21
|
useSetComponentHover,
|
|
22
22
|
useSetComponentViewInfo,
|
|
23
|
+
useCoordinationScopes,
|
|
23
24
|
} from '@vitessce/vit-s';
|
|
24
25
|
import {
|
|
25
26
|
getCellSetPolygons, mergeObsSets, setObsSelection, getCellColors,
|
|
@@ -49,7 +50,7 @@ import GatingScatterplotOptions from './GatingScatterplotOptions.js';
|
|
|
49
50
|
export function GatingSubscriber(props) {
|
|
50
51
|
const {
|
|
51
52
|
uuid,
|
|
52
|
-
coordinationScopes,
|
|
53
|
+
coordinationScopes: coordinationScopesRaw,
|
|
53
54
|
closeButtonVisible,
|
|
54
55
|
downloadButtonVisible,
|
|
55
56
|
removeGridComponent,
|
|
@@ -62,6 +63,7 @@ export function GatingSubscriber(props) {
|
|
|
62
63
|
} = props;
|
|
63
64
|
|
|
64
65
|
const loaders = useLoaders();
|
|
66
|
+
const coordinationScopes = useCoordinationScopes(coordinationScopesRaw);
|
|
65
67
|
const setComponentHover = useSetComponentHover();
|
|
66
68
|
const setComponentViewInfo = useSetComponentViewInfo(uuid);
|
|
67
69
|
|