@vitessce/layer-controller 2.0.0-beta.2 → 2.0.2
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/LayerController.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import React, { useState, useRef, useEffect } from 'react';
|
|
3
|
-
import { viv
|
|
3
|
+
import { viv } from '@vitessce/gl';
|
|
4
|
+
import { GLOBAL_LABELS, getSourceFromLoader, isRgb, } from '@vitessce/spatial-utils';
|
|
4
5
|
import Grid from '@material-ui/core/Grid';
|
|
5
6
|
import Button from '@material-ui/core/Button';
|
|
6
7
|
import AddIcon from '@material-ui/icons/Add';
|
|
@@ -6,7 +6,7 @@ import Grid from '@material-ui/core/Grid';
|
|
|
6
6
|
import { TitleInfo, useReady, useClosestVitessceContainerSize, useWindowDimensions, useImageData, useObsLocationsData, useObsSegmentationsData, useCoordination, useLoaders, useAuxiliaryCoordination, useComponentLayout, registerPluginViewType, } from '@vitessce/vit-s';
|
|
7
7
|
import { ViewType, COMPONENT_COORDINATION_TYPES } from '@vitessce/constants-internal';
|
|
8
8
|
import { capitalize } from '@vitessce/utils';
|
|
9
|
-
import { initializeLayerChannels, DEFAULT_RASTER_LAYER_PROPS } from '@vitessce/
|
|
9
|
+
import { initializeLayerChannels, DEFAULT_RASTER_LAYER_PROPS } from '@vitessce/spatial-utils';
|
|
10
10
|
import RasterChannelController from './RasterChannelController';
|
|
11
11
|
import BitmaskChannelController from './BitmaskChannelController';
|
|
12
12
|
import VectorLayerController from './VectorLayerController';
|
package/dist/LayerOptions.js
CHANGED
|
@@ -7,7 +7,8 @@ import Slider from '@material-ui/core/Slider';
|
|
|
7
7
|
import InputLabel from '@material-ui/core/InputLabel';
|
|
8
8
|
import Select from '@material-ui/core/Select';
|
|
9
9
|
import Checkbox from '@material-ui/core/Checkbox';
|
|
10
|
-
import { viv
|
|
10
|
+
import { viv } from '@vitessce/gl';
|
|
11
|
+
import { DEFAULT_RASTER_DOMAIN_TYPE } from '@vitessce/spatial-utils';
|
|
11
12
|
import { COLORMAP_OPTIONS, canLoadResolution, formatBytes, getStatsForResolution, } from '@vitessce/utils';
|
|
12
13
|
import { getBoundingCube, getMultiSelectionStats, } from './utils';
|
|
13
14
|
import { StyledSelectionSlider, useSelectStyles } from './styles';
|
|
@@ -4,7 +4,7 @@ import Grid from '@material-ui/core/Grid';
|
|
|
4
4
|
import Slider from '@material-ui/core/Slider';
|
|
5
5
|
import debounce from 'lodash/debounce';
|
|
6
6
|
import isEqual from 'lodash/isEqual';
|
|
7
|
-
import { getSourceFromLoader } from '@vitessce/
|
|
7
|
+
import { getSourceFromLoader } from '@vitessce/spatial-utils';
|
|
8
8
|
import ChannelOptions from './ChannelOptions';
|
|
9
9
|
import { DOMAINS } from './constants';
|
|
10
10
|
import { getMultiSelectionStats } from './utils';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/layer-controller",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"author": "Gehlenborg Lab",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -15,12 +15,13 @@
|
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@material-ui/core": "~4.12.3",
|
|
17
17
|
"@material-ui/icons": "~4.11.2",
|
|
18
|
-
"@vitessce/constants-internal": "2.0.0-beta.2",
|
|
19
|
-
"@vitessce/gl": "2.0.0-beta.2",
|
|
20
|
-
"@vitessce/utils": "2.0.0-beta.2",
|
|
21
|
-
"@vitessce/vit-s": "2.0.0-beta.2",
|
|
22
18
|
"lodash": "^4.17.21",
|
|
23
|
-
"math.gl": "^3.5.6"
|
|
19
|
+
"math.gl": "^3.5.6",
|
|
20
|
+
"@vitessce/constants-internal": "2.0.2",
|
|
21
|
+
"@vitessce/gl": "2.0.2",
|
|
22
|
+
"@vitessce/spatial-utils": "2.0.2",
|
|
23
|
+
"@vitessce/utils": "2.0.2",
|
|
24
|
+
"@vitessce/vit-s": "2.0.2"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
27
|
"react": "^18.0.0",
|