@vitessce/biomarker-select 3.6.6 → 3.6.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 +813 -802
- package/dist-tsc/SampleSetPairManagerSubscriber.d.ts.map +1 -1
- package/dist-tsc/SampleSetPairManagerSubscriber.js +7 -2
- package/dist-tsc/select-specific.d.ts.map +1 -1
- package/dist-tsc/select-specific.js +2 -0
- package/package.json +5 -5
- package/src/SampleSetPairManagerSubscriber.js +9 -1
- package/src/select-specific.js +2 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SampleSetPairManagerSubscriber.d.ts","sourceRoot":"","sources":["../src/SampleSetPairManagerSubscriber.js"],"names":[],"mappings":"AA6BA,
|
|
1
|
+
{"version":3,"file":"SampleSetPairManagerSubscriber.d.ts","sourceRoot":"","sources":["../src/SampleSetPairManagerSubscriber.js"],"names":[],"mappings":"AA6BA,wEA4HC"}
|
|
@@ -26,7 +26,12 @@ export function SampleSetPairManagerSubscriber(props) {
|
|
|
26
26
|
const [{ dataset, obsType, sampleType, sampleSetSelection, }, { setSampleSetSelection, }] = useCoordination(COMPONENT_COORDINATION_TYPES[ViewType.SAMPLE_SET_PAIR_MANAGER], coordinationScopes);
|
|
27
27
|
const sampleSetsLoader = useMatchingLoader(loaders, dataset, DataType.SAMPLE_SETS, { sampleType });
|
|
28
28
|
const sampleSetsColumnNameMappingReversed = useColumnNameMapping(sampleSetsLoader, true);
|
|
29
|
-
const [
|
|
29
|
+
const [
|
|
30
|
+
// eslint-disable-next-line no-unused-vars
|
|
31
|
+
{ comparisonMetadata }, cmpMetadataStatus, cmpMetadataUrls, cmpMetadataError,] = useComparisonMetadata(loaders, dataset, false, {}, {}, { obsType, sampleType });
|
|
32
|
+
const errors = [
|
|
33
|
+
cmpMetadataError,
|
|
34
|
+
];
|
|
30
35
|
const isReady = useReady([
|
|
31
36
|
cmpMetadataStatus,
|
|
32
37
|
]);
|
|
@@ -66,7 +71,7 @@ export function SampleSetPairManagerSubscriber(props) {
|
|
|
66
71
|
const onSelectPair = useCallback((sampleSetPair) => {
|
|
67
72
|
setSampleSetSelection(sampleSetPair);
|
|
68
73
|
}, [sampleSetSelection, setSampleSetSelection]);
|
|
69
|
-
return (_jsx(TitleInfo, { title: title, closeButtonVisible: closeButtonVisible, removeGridComponent: removeGridComponent, isScroll: true, theme: theme, isReady: isReady, helpText: helpText, children: _jsx("ul", { className: classes.pairUl, children: stratificationOptions?.map((pairObj) => {
|
|
74
|
+
return (_jsx(TitleInfo, { title: title, closeButtonVisible: closeButtonVisible, removeGridComponent: removeGridComponent, isScroll: true, theme: theme, isReady: isReady, helpText: helpText, errors: errors, children: _jsx("ul", { className: classes.pairUl, children: stratificationOptions?.map((pairObj) => {
|
|
70
75
|
const isSelected = Array.isArray(sampleSetSelection)
|
|
71
76
|
&& sampleSetSelection.length === 2
|
|
72
77
|
&& (isEqual(pairObj.sampleSets, sampleSetSelection)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-specific.d.ts","sourceRoot":"","sources":["../src/select-specific.js"],"names":[],"mappings":"AA+BA,
|
|
1
|
+
{"version":3,"file":"select-specific.d.ts","sourceRoot":"","sources":["../src/select-specific.js"],"names":[],"mappings":"AA+BA,wDA4FC"}
|
|
@@ -39,6 +39,8 @@ export function SelectSpecific(props) {
|
|
|
39
39
|
});
|
|
40
40
|
const anyLoading = queries.some(q => q.isFetching);
|
|
41
41
|
const anyError = queries.some(q => q.isError);
|
|
42
|
+
// eslint-disable-next-line no-unused-vars
|
|
43
|
+
const errors = anyError ? queries.filter(q => q.isError).map(q => q.error) : [];
|
|
42
44
|
// eslint-disable-next-line no-nested-ternary
|
|
43
45
|
const dataStatus = anyLoading ? 'loading' : (anyError ? 'error' : 'success');
|
|
44
46
|
const data = queries
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/biomarker-select",
|
|
3
|
-
"version": "3.6.
|
|
3
|
+
"version": "3.6.8",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
"fuse.js": "^7.0.0",
|
|
22
22
|
"d3-dsv": "^1.1.1",
|
|
23
23
|
"clsx": "^1.1.1",
|
|
24
|
-
"@vitessce/styles": "3.6.
|
|
25
|
-
"@vitessce/constants-internal": "3.6.
|
|
26
|
-
"@vitessce/vit-s": "3.6.
|
|
27
|
-
"@vitessce/types": "3.6.
|
|
24
|
+
"@vitessce/styles": "3.6.8",
|
|
25
|
+
"@vitessce/constants-internal": "3.6.8",
|
|
26
|
+
"@vitessce/vit-s": "3.6.8",
|
|
27
|
+
"@vitessce/types": "3.6.8"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@testing-library/jest-dom": "^6.6.3",
|
|
@@ -58,10 +58,17 @@ export function SampleSetPairManagerSubscriber(props) {
|
|
|
58
58
|
);
|
|
59
59
|
const sampleSetsColumnNameMappingReversed = useColumnNameMapping(sampleSetsLoader, true);
|
|
60
60
|
|
|
61
|
-
const [
|
|
61
|
+
const [
|
|
62
|
+
// eslint-disable-next-line no-unused-vars
|
|
63
|
+
{ comparisonMetadata }, cmpMetadataStatus, cmpMetadataUrls, cmpMetadataError,
|
|
64
|
+
] = useComparisonMetadata(
|
|
62
65
|
loaders, dataset, false, {}, {}, { obsType, sampleType },
|
|
63
66
|
);
|
|
64
67
|
|
|
68
|
+
const errors = [
|
|
69
|
+
cmpMetadataError,
|
|
70
|
+
];
|
|
71
|
+
|
|
65
72
|
const isReady = useReady([
|
|
66
73
|
cmpMetadataStatus,
|
|
67
74
|
]);
|
|
@@ -114,6 +121,7 @@ export function SampleSetPairManagerSubscriber(props) {
|
|
|
114
121
|
theme={theme}
|
|
115
122
|
isReady={isReady}
|
|
116
123
|
helpText={helpText}
|
|
124
|
+
errors={errors}
|
|
117
125
|
>
|
|
118
126
|
<ul className={classes.pairUl}>
|
|
119
127
|
{stratificationOptions?.map((pairObj) => {
|
package/src/select-specific.js
CHANGED
|
@@ -50,6 +50,8 @@ export function SelectSpecific(props) {
|
|
|
50
50
|
|
|
51
51
|
const anyLoading = queries.some(q => q.isFetching);
|
|
52
52
|
const anyError = queries.some(q => q.isError);
|
|
53
|
+
// eslint-disable-next-line no-unused-vars
|
|
54
|
+
const errors = anyError ? queries.filter(q => q.isError).map(q => q.error) : [];
|
|
53
55
|
// eslint-disable-next-line no-nested-ternary
|
|
54
56
|
const dataStatus = anyLoading ? 'loading' : (anyError ? 'error' : 'success');
|
|
55
57
|
|