@vitessce/layer-controller 4.1.2 → 4.1.3
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-Bn_X6_zo.js → deflate-C2UQgGog.js} +1 -1
- package/dist/{index-KPdFdtqD.js → index-D02mrrF9.js} +139 -24
- package/dist/index.js +1 -1
- package/dist/{jpeg-BKMAcEDV.js → jpeg-CmPtEpc0.js} +1 -1
- package/dist/{lerc-DrRHpq46.js → lerc-Rid4JLXA.js} +1 -1
- package/dist/{lzw-NyHi0pOJ.js → lzw-DDjeHDA5.js} +1 -1
- package/dist/{packbits-W8xQwU7O.js → packbits-y8Rve0qs.js} +1 -1
- package/dist/{raw-CQ1-Oqp0.js → raw-Dqdv3Ys2.js} +1 -1
- package/dist/{webimage-DckhYFL0.js → webimage-HwcV0mHJ.js} +1 -1
- package/package.json +7 -7
|
@@ -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-D02mrrF9.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -22487,6 +22487,8 @@ const CoordinationType = {
|
|
|
22487
22487
|
SPATIAL_SEGMENTATION_FILLED: "spatialSegmentationFilled",
|
|
22488
22488
|
SPATIAL_SEGMENTATION_STROKE_WIDTH: "spatialSegmentationStrokeWidth",
|
|
22489
22489
|
SPATIAL_POINT_STROKE_WIDTH: "spatialPointStrokeWidth",
|
|
22490
|
+
SPATIAL_POINT_RADIUS: "spatialPointRadius",
|
|
22491
|
+
SPATIAL_POINT_PROJECTION_SPACING: "spatialPointProjectionSpacing",
|
|
22490
22492
|
SPATIAL_CHANNEL_COLOR: "spatialChannelColor",
|
|
22491
22493
|
SPATIAL_CHANNEL_VISIBLE: "spatialChannelVisible",
|
|
22492
22494
|
SPATIAL_CHANNEL_OPACITY: "spatialChannelOpacity",
|
|
@@ -22501,6 +22503,12 @@ const CoordinationType = {
|
|
|
22501
22503
|
// Per-spatial-layer
|
|
22502
22504
|
SPATIAL_MAX_RESOLUTION: "spatialMaxResolution",
|
|
22503
22505
|
// Per-image-channel (for spatial-accelerated)
|
|
22506
|
+
SPATIAL_AXIS_LINES_VISIBLE: "spatialAxisLinesVisible",
|
|
22507
|
+
// axisLines' visibility in Neuroglancer View
|
|
22508
|
+
SPATIAL_BOUNDS_VISIBLE: "spatialBoundsVisible",
|
|
22509
|
+
// annotationBounds' visibility in Neuroglancer View
|
|
22510
|
+
SPATIAL_SCALE_BAR_VISIBLE: "spatialScaleBarVisible",
|
|
22511
|
+
SPATIAL_BACKGROUND_THEME: "spatialBackgroundTheme",
|
|
22504
22512
|
// For clipping plane sliders
|
|
22505
22513
|
SPATIAL_SLICE_X: "spatialSliceX",
|
|
22506
22514
|
SPATIAL_SLICE_Y: "spatialSliceY",
|
|
@@ -22510,6 +22518,7 @@ const CoordinationType = {
|
|
|
22510
22518
|
POINT_LAYER: "pointLayer",
|
|
22511
22519
|
SPATIAL_SPOT_RADIUS: "spatialSpotRadius",
|
|
22512
22520
|
// In micrometers?
|
|
22521
|
+
SPATIAL_SPOT_SHAPE: "spatialSpotShape",
|
|
22513
22522
|
SPATIAL_SPOT_FILLED: "spatialSpotFilled",
|
|
22514
22523
|
SPATIAL_SPOT_STROKE_WIDTH: "spatialSpotStrokeWidth",
|
|
22515
22524
|
SPATIAL_LAYER_COLOR: "spatialLayerColor",
|
|
@@ -22606,7 +22615,13 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
22606
22615
|
CoordinationType.SPATIAL_CHANNEL_OPACITY,
|
|
22607
22616
|
CoordinationType.SPATIAL_CHANNEL_VISIBLE,
|
|
22608
22617
|
CoordinationType.LEGEND_VISIBLE,
|
|
22609
|
-
CoordinationType.SPATIAL_POINT_STROKE_WIDTH
|
|
22618
|
+
CoordinationType.SPATIAL_POINT_STROKE_WIDTH,
|
|
22619
|
+
CoordinationType.SPATIAL_POINT_RADIUS,
|
|
22620
|
+
CoordinationType.SPATIAL_AXIS_LINES_VISIBLE,
|
|
22621
|
+
CoordinationType.SPATIAL_BOUNDS_VISIBLE,
|
|
22622
|
+
CoordinationType.SPATIAL_POINT_PROJECTION_SPACING,
|
|
22623
|
+
CoordinationType.SPATIAL_SCALE_BAR_VISIBLE,
|
|
22624
|
+
CoordinationType.SPATIAL_BACKGROUND_THEME
|
|
22610
22625
|
],
|
|
22611
22626
|
[ViewType.SCATTERPLOT]: [
|
|
22612
22627
|
CoordinationType.DATASET,
|
|
@@ -22855,6 +22870,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
22855
22870
|
CoordinationType.SPOT_LAYER,
|
|
22856
22871
|
CoordinationType.POINT_LAYER,
|
|
22857
22872
|
CoordinationType.SPATIAL_SPOT_RADIUS,
|
|
22873
|
+
CoordinationType.SPATIAL_SPOT_SHAPE,
|
|
22858
22874
|
CoordinationType.SPATIAL_SPOT_FILLED,
|
|
22859
22875
|
CoordinationType.SPATIAL_SPOT_STROKE_WIDTH,
|
|
22860
22876
|
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
@@ -22872,7 +22888,10 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
22872
22888
|
CoordinationType.ANNOTATION_OVERLAY_VISIBLE,
|
|
22873
22889
|
CoordinationType.ANNOTATION_TRANSITION_DURATION,
|
|
22874
22890
|
CoordinationType.ANNOTATION_EDITABLE,
|
|
22875
|
-
CoordinationType.ANNOTATION_SEMANTIC_ZOOM
|
|
22891
|
+
CoordinationType.ANNOTATION_SEMANTIC_ZOOM,
|
|
22892
|
+
CoordinationType.SPATIAL_POINT_RADIUS,
|
|
22893
|
+
CoordinationType.SPATIAL_POINT_STROKE_WIDTH,
|
|
22894
|
+
CoordinationType.SPATIAL_BACKGROUND_THEME
|
|
22876
22895
|
],
|
|
22877
22896
|
[ViewType.ANNOTATION_CONTROLLER]: [
|
|
22878
22897
|
CoordinationType.DATASET,
|
|
@@ -23037,6 +23056,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
23037
23056
|
CoordinationType.SPATIAL_SEGMENTATION_FILLED,
|
|
23038
23057
|
CoordinationType.SPATIAL_SEGMENTATION_STROKE_WIDTH,
|
|
23039
23058
|
CoordinationType.SPATIAL_POINT_STROKE_WIDTH,
|
|
23059
|
+
CoordinationType.SPATIAL_POINT_RADIUS,
|
|
23040
23060
|
CoordinationType.IMAGE_CHANNEL,
|
|
23041
23061
|
CoordinationType.IMAGE_LAYER,
|
|
23042
23062
|
CoordinationType.SEGMENTATION_CHANNEL,
|
|
@@ -23055,6 +23075,7 @@ const COMPONENT_COORDINATION_TYPES = {
|
|
|
23055
23075
|
CoordinationType.SPOT_LAYER,
|
|
23056
23076
|
CoordinationType.POINT_LAYER,
|
|
23057
23077
|
CoordinationType.SPATIAL_SPOT_RADIUS,
|
|
23078
|
+
CoordinationType.SPATIAL_SPOT_SHAPE,
|
|
23058
23079
|
CoordinationType.SPATIAL_SPOT_FILLED,
|
|
23059
23080
|
CoordinationType.SPATIAL_SPOT_STROKE_WIDTH,
|
|
23060
23081
|
CoordinationType.SPATIAL_LAYER_COLOR,
|
|
@@ -127220,22 +127241,22 @@ function addDecoder(cases, importFn) {
|
|
|
127220
127241
|
}
|
|
127221
127242
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
127222
127243
|
}
|
|
127223
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
127224
|
-
addDecoder(5, () => import("./lzw-
|
|
127244
|
+
addDecoder([void 0, 1], () => import("./raw-Dqdv3Ys2.js").then((m) => m.default));
|
|
127245
|
+
addDecoder(5, () => import("./lzw-DDjeHDA5.js").then((m) => m.default));
|
|
127225
127246
|
addDecoder(6, () => {
|
|
127226
127247
|
throw new Error("old style JPEG compression is not supported.");
|
|
127227
127248
|
});
|
|
127228
|
-
addDecoder(7, () => import("./jpeg-
|
|
127229
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
127230
|
-
addDecoder(32773, () => import("./packbits-
|
|
127249
|
+
addDecoder(7, () => import("./jpeg-CmPtEpc0.js").then((m) => m.default));
|
|
127250
|
+
addDecoder([8, 32946], () => import("./deflate-C2UQgGog.js").then((m) => m.default));
|
|
127251
|
+
addDecoder(32773, () => import("./packbits-y8Rve0qs.js").then((m) => m.default));
|
|
127231
127252
|
addDecoder(
|
|
127232
127253
|
34887,
|
|
127233
|
-
() => import("./lerc-
|
|
127254
|
+
() => import("./lerc-Rid4JLXA.js").then(async (m) => {
|
|
127234
127255
|
await m.zstd.init();
|
|
127235
127256
|
return m;
|
|
127236
127257
|
}).then((m) => m.default)
|
|
127237
127258
|
);
|
|
127238
|
-
addDecoder(50001, () => import("./webimage-
|
|
127259
|
+
addDecoder(50001, () => import("./webimage-HwcV0mHJ.js").then((m) => m.default));
|
|
127239
127260
|
function decodeRowAcc(row, stride) {
|
|
127240
127261
|
let length2 = row.length - stride;
|
|
127241
127262
|
let offset2 = 0;
|
|
@@ -138013,14 +138034,14 @@ vec4 colormap(float intensity) {
|
|
|
138013
138034
|
}
|
|
138014
138035
|
};
|
|
138015
138036
|
}
|
|
138016
|
-
const defaultProps$4$
|
|
138037
|
+
const defaultProps$4$2 = {
|
|
138017
138038
|
colormap: { type: "string", value: "viridis", compare: true },
|
|
138018
138039
|
opacity: { type: "number", value: 1, compare: true },
|
|
138019
138040
|
useTransparentColor: { type: "boolean", value: false, compare: true }
|
|
138020
138041
|
};
|
|
138021
138042
|
const AdditiveColormapExtension = class extends LayerExtension {
|
|
138022
138043
|
getShaders() {
|
|
138023
|
-
const name2 = this?.props?.colormap || defaultProps$4$
|
|
138044
|
+
const name2 = this?.props?.colormap || defaultProps$4$2.colormap.value;
|
|
138024
138045
|
const apply_cmap = cmaps[name2];
|
|
138025
138046
|
if (!apply_cmap) {
|
|
138026
138047
|
throw Error(`No colormap named ${name2} found in registry`);
|
|
@@ -138039,8 +138060,8 @@ const AdditiveColormapExtension = class extends LayerExtension {
|
|
|
138039
138060
|
}
|
|
138040
138061
|
draw() {
|
|
138041
138062
|
const {
|
|
138042
|
-
useTransparentColor = defaultProps$4$
|
|
138043
|
-
opacity = defaultProps$4$
|
|
138063
|
+
useTransparentColor = defaultProps$4$2.useTransparentColor.value,
|
|
138064
|
+
opacity = defaultProps$4$2.opacity.value
|
|
138044
138065
|
} = this.props;
|
|
138045
138066
|
const uniforms = {
|
|
138046
138067
|
opacity,
|
|
@@ -138050,7 +138071,7 @@ const AdditiveColormapExtension = class extends LayerExtension {
|
|
|
138050
138071
|
}
|
|
138051
138072
|
};
|
|
138052
138073
|
AdditiveColormapExtension.extensionName = "AdditiveColormapExtension";
|
|
138053
|
-
AdditiveColormapExtension.defaultProps = defaultProps$4$
|
|
138074
|
+
AdditiveColormapExtension.defaultProps = defaultProps$4$2;
|
|
138054
138075
|
const fs$1$2 = `uniform vec3 transparentColor;
|
|
138055
138076
|
uniform bool useTransparentColor;
|
|
138056
138077
|
uniform float opacity;
|
|
@@ -139343,7 +139364,7 @@ const ImageLayer = class extends CompositeLayer {
|
|
|
139343
139364
|
};
|
|
139344
139365
|
ImageLayer.layerName = "ImageLayer";
|
|
139345
139366
|
ImageLayer.defaultProps = defaultProps$5;
|
|
139346
|
-
const defaultProps$4 = {
|
|
139367
|
+
const defaultProps$4$1 = {
|
|
139347
139368
|
pickable: { type: "boolean", value: true, compare: true },
|
|
139348
139369
|
onHover: { type: "function", value: null, compare: false },
|
|
139349
139370
|
contrastLimits: { type: "array", value: [], compare: true },
|
|
@@ -139455,7 +139476,7 @@ const MultiscaleImageLayer = class extends CompositeLayer {
|
|
|
139455
139476
|
}
|
|
139456
139477
|
};
|
|
139457
139478
|
MultiscaleImageLayer.layerName = "MultiscaleImageLayer";
|
|
139458
|
-
MultiscaleImageLayer.defaultProps = defaultProps$4;
|
|
139479
|
+
MultiscaleImageLayer.defaultProps = defaultProps$4$1;
|
|
139459
139480
|
const defaultProps$3$1 = {
|
|
139460
139481
|
pickable: { type: "boolean", value: true, compare: true },
|
|
139461
139482
|
loader: {
|
|
@@ -140556,7 +140577,7 @@ function padWithDefault$1(arr, defaultValue2, padWidth) {
|
|
|
140556
140577
|
}
|
|
140557
140578
|
return newArr;
|
|
140558
140579
|
}
|
|
140559
|
-
const defaultProps$
|
|
140580
|
+
const defaultProps$4 = {
|
|
140560
140581
|
hoveredCell: { type: "number", value: null, compare: true },
|
|
140561
140582
|
// We do not want to deep-compare cellColorData,
|
|
140562
140583
|
// as it is potentially a TypedArray with millions of elements.
|
|
@@ -140673,7 +140694,7 @@ let BitmaskLayer$1 = class BitmaskLayer extends XRLayer {
|
|
|
140673
140694
|
}
|
|
140674
140695
|
};
|
|
140675
140696
|
BitmaskLayer$1.layerName = "BitmaskLayer";
|
|
140676
|
-
BitmaskLayer$1.defaultProps = defaultProps$
|
|
140697
|
+
BitmaskLayer$1.defaultProps = defaultProps$4;
|
|
140677
140698
|
const vs = `
|
|
140678
140699
|
#define SHADER_NAME bitmask-layer-vertex-shader
|
|
140679
140700
|
|
|
@@ -141015,7 +141036,7 @@ function isEqualShallow(prevArr, nextArr) {
|
|
|
141015
141036
|
}
|
|
141016
141037
|
return prevArr === nextArr;
|
|
141017
141038
|
}
|
|
141018
|
-
const defaultProps$
|
|
141039
|
+
const defaultProps$3 = {
|
|
141019
141040
|
channelStrokeWidths: { type: "array", value: null, compare: true },
|
|
141020
141041
|
channelsFilled: { type: "array", value: null, compare: true },
|
|
141021
141042
|
channelOpacities: { type: "array", value: null, compare: true },
|
|
@@ -141279,7 +141300,7 @@ class BitmaskLayer2 extends XRLayer {
|
|
|
141279
141300
|
}
|
|
141280
141301
|
}
|
|
141281
141302
|
BitmaskLayer2.layerName = "BitmaskLayer";
|
|
141282
|
-
BitmaskLayer2.defaultProps = defaultProps$
|
|
141303
|
+
BitmaskLayer2.defaultProps = defaultProps$3;
|
|
141283
141304
|
function geomEach(geojson, callback) {
|
|
141284
141305
|
var i2, j, g2, geometry2, stopG, geometryMaybeCollection, isGeometryCollection, featureProperties, featureBBox, featureId2, featureIndex = 0, isFeatureCollection = geojson.type === "FeatureCollection", isFeature = geojson.type === "Feature", stop = isFeatureCollection ? geojson.features.length : 1;
|
|
141285
141306
|
for (i2 = 0; i2 < stop; i2++) {
|
|
@@ -144368,7 +144389,7 @@ function distance(from2, to, options = {}) {
|
|
|
144368
144389
|
);
|
|
144369
144390
|
}
|
|
144370
144391
|
const DEFAULT_THRESHOLD = 1;
|
|
144371
|
-
const defaultProps$
|
|
144392
|
+
const defaultProps$2 = {
|
|
144372
144393
|
// for text
|
|
144373
144394
|
obsSetPath: { type: "object" },
|
|
144374
144395
|
sampleSetPath: { type: "object" },
|
|
@@ -144542,7 +144563,7 @@ class ContourLayerWithText extends ContourLayer {
|
|
|
144542
144563
|
}
|
|
144543
144564
|
}
|
|
144544
144565
|
ContourLayerWithText.layerName = "ContourLayerWithText";
|
|
144545
|
-
ContourLayerWithText.defaultProps = defaultProps$
|
|
144566
|
+
ContourLayerWithText.defaultProps = defaultProps$2;
|
|
144546
144567
|
const ARROW_SCREEN_PX = 14;
|
|
144547
144568
|
const LABEL_FONT_FAMILY = '"Roboto", "Helvetica", "Arial", sans-serif';
|
|
144548
144569
|
const LABEL_FONT_WEIGHT = "bold";
|
|
@@ -145549,7 +145570,7 @@ function createAnnotationLayers(shapes = [], zoom = 0, selectedShapeUid = null,
|
|
|
145549
145570
|
});
|
|
145550
145571
|
return [...selectionLayers, ...layers, ...measureLayers];
|
|
145551
145572
|
}
|
|
145552
|
-
const defaultProps = {
|
|
145573
|
+
const defaultProps$1 = {
|
|
145553
145574
|
// Array of annotation shape objects (see annotationShapeObj in @vitessce/schemas).
|
|
145554
145575
|
data: { type: "object", value: [], compare: true },
|
|
145555
145576
|
// UID of the shape to highlight with a selection halo.
|
|
@@ -145608,7 +145629,101 @@ class AnnotationLayer extends CompositeLayer {
|
|
|
145608
145629
|
}
|
|
145609
145630
|
}
|
|
145610
145631
|
AnnotationLayer.layerName = "AnnotationLayer";
|
|
145611
|
-
AnnotationLayer.defaultProps = defaultProps;
|
|
145632
|
+
AnnotationLayer.defaultProps = defaultProps$1;
|
|
145633
|
+
const DIST_TO_CENTER_ORIGINAL = "float distToCenter = length(unitPosition) * outerRadiusPixels;";
|
|
145634
|
+
const DIST_TO_CENTER_REPLACEMENT = `float distToCenter = (
|
|
145635
|
+
uIsSquare
|
|
145636
|
+
? max(abs(unitPosition.x), abs(unitPosition.y))
|
|
145637
|
+
: length(unitPosition)
|
|
145638
|
+
) * outerRadiusPixels;`;
|
|
145639
|
+
const defaultProps = {
|
|
145640
|
+
spotShape: { type: "string", value: "circle", compare: true }
|
|
145641
|
+
};
|
|
145642
|
+
class SpotLayer extends ScatterplotLayer {
|
|
145643
|
+
getShaders() {
|
|
145644
|
+
const shaders = super.getShaders();
|
|
145645
|
+
if (!shaders.fs.includes(DIST_TO_CENTER_ORIGINAL)) {
|
|
145646
|
+
log$5.warn("SpotLayer: unable to modify ScatterplotLayer fragment shader; spots will be rendered as circles.");
|
|
145647
|
+
return shaders;
|
|
145648
|
+
}
|
|
145649
|
+
return {
|
|
145650
|
+
...shaders,
|
|
145651
|
+
fs: shaders.fs.replace("uniform bool antialiasing;", "uniform bool antialiasing;\nuniform bool uIsSquare;").replace(DIST_TO_CENTER_ORIGINAL, DIST_TO_CENTER_REPLACEMENT)
|
|
145652
|
+
};
|
|
145653
|
+
}
|
|
145654
|
+
draw(opts) {
|
|
145655
|
+
const { spotShape } = this.props;
|
|
145656
|
+
super.draw({
|
|
145657
|
+
...opts,
|
|
145658
|
+
uniforms: {
|
|
145659
|
+
...opts.uniforms,
|
|
145660
|
+
uIsSquare: spotShape === "square"
|
|
145661
|
+
}
|
|
145662
|
+
});
|
|
145663
|
+
}
|
|
145664
|
+
}
|
|
145665
|
+
SpotLayer.layerName = "SpotLayer";
|
|
145666
|
+
SpotLayer.defaultProps = defaultProps;
|
|
145667
|
+
makeStyles()(() => ({
|
|
145668
|
+
toolButton: {
|
|
145669
|
+
display: "inline-flex",
|
|
145670
|
+
"&:active": {
|
|
145671
|
+
opacity: ".65",
|
|
145672
|
+
extend: "iconClicked"
|
|
145673
|
+
}
|
|
145674
|
+
},
|
|
145675
|
+
tool: {
|
|
145676
|
+
position: "absolute",
|
|
145677
|
+
display: "inline",
|
|
145678
|
+
zIndex: "1000",
|
|
145679
|
+
opacity: ".65",
|
|
145680
|
+
color: "black",
|
|
145681
|
+
"&:hover": {
|
|
145682
|
+
opacity: ".90"
|
|
145683
|
+
}
|
|
145684
|
+
},
|
|
145685
|
+
iconClicked: {
|
|
145686
|
+
// Styles for the clicked state
|
|
145687
|
+
boxShadow: "none",
|
|
145688
|
+
transform: "scale(0.98)"
|
|
145689
|
+
// make the button slightly smaller
|
|
145690
|
+
},
|
|
145691
|
+
toolIcon: {
|
|
145692
|
+
// btn btn-outline-secondary mr-2 icon
|
|
145693
|
+
padding: "0",
|
|
145694
|
+
height: "2em",
|
|
145695
|
+
width: "2em",
|
|
145696
|
+
backgroundColor: "white",
|
|
145697
|
+
display: "inline-block",
|
|
145698
|
+
fontWeight: "400",
|
|
145699
|
+
textAlign: "center",
|
|
145700
|
+
verticalAlign: "middle",
|
|
145701
|
+
cursor: "pointer",
|
|
145702
|
+
userSelect: "none",
|
|
145703
|
+
border: "1px solid #6c757d",
|
|
145704
|
+
fontSize: "16px",
|
|
145705
|
+
lineHeight: "1.5",
|
|
145706
|
+
borderRadius: "4px",
|
|
145707
|
+
transition: "color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out",
|
|
145708
|
+
color: "#6c757d",
|
|
145709
|
+
marginRight: "8px",
|
|
145710
|
+
"& > svg": {
|
|
145711
|
+
verticalAlign: "middle",
|
|
145712
|
+
display: "inline-block",
|
|
145713
|
+
color: "black"
|
|
145714
|
+
},
|
|
145715
|
+
"&:active": {
|
|
145716
|
+
extend: "iconClicked"
|
|
145717
|
+
}
|
|
145718
|
+
},
|
|
145719
|
+
toolActive: {
|
|
145720
|
+
// active
|
|
145721
|
+
color: "#fff",
|
|
145722
|
+
backgroundColor: "#6c757d",
|
|
145723
|
+
borderColor: "#6c757d",
|
|
145724
|
+
boxShadow: "0 0 0 3px rgba(108, 117, 125, 0.5)"
|
|
145725
|
+
}
|
|
145726
|
+
}));
|
|
145612
145727
|
const toRgbUIString = (on, arr, theme) => {
|
|
145613
145728
|
const color2 = on || theme !== "dark" && arr?.every((i2) => i2 === 255) ? [220, 220, 220] : arr;
|
|
145614
145729
|
return `rgb(${color2})`;
|
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-D02mrrF9.js";
|
|
3
3
|
const LercParameters = {
|
|
4
4
|
AddCompression: 1
|
|
5
5
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/layer-controller",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.3",
|
|
4
4
|
"author": "HIDIVE Lab at HMS",
|
|
5
5
|
"homepage": "http://vitessce.io",
|
|
6
6
|
"repository": {
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"lodash-es": "^4.17.21",
|
|
20
20
|
"math.gl": "^3.5.6",
|
|
21
21
|
"react-aria": "^3.47.0",
|
|
22
|
-
"@vitessce/
|
|
23
|
-
"@vitessce/
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/utils": "4.1.
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
22
|
+
"@vitessce/styles": "4.1.3",
|
|
23
|
+
"@vitessce/constants-internal": "4.1.3",
|
|
24
|
+
"@vitessce/gl": "4.1.3",
|
|
25
|
+
"@vitessce/spatial-utils": "4.1.3",
|
|
26
|
+
"@vitessce/utils": "4.1.3",
|
|
27
|
+
"@vitessce/vit-s": "4.1.3"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "19.2.6",
|