@vitessce/layer-controller 3.9.0 → 3.9.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/{deflate-CyL4JI03.js → deflate-phr9wiNk.js} +1 -1
- package/dist/{index-C4EkHEVb.js → index-BRGiAso5.js} +34 -38
- package/dist/index.js +1 -1
- package/dist/{jpeg-C7ecuzEn.js → jpeg-CsRFjvjp.js} +1 -1
- package/dist/{lerc-ZGPFp1Hj.js → lerc-CyQkkL3x.js} +1 -1
- package/dist/{lzw-DJfAqgfY.js → lzw-D-jYFTkN.js} +1 -1
- package/dist/{packbits-D614rb-x.js → packbits-DGzSq1LG.js} +1 -1
- package/dist/{raw-DvssO6aO.js → raw-D9IbY0yO.js} +1 -1
- package/dist/{webimage-DJ4Hxbhz.js → webimage-yeUEpC5w.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-BRGiAso5.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -21509,21 +21509,20 @@ Popper.Utils = (typeof window !== "undefined" ? window : global).PopperUtils;
|
|
|
21509
21509
|
Popper.placements = placements;
|
|
21510
21510
|
Popper.Defaults = Defaults;
|
|
21511
21511
|
function createChainedFunction(...funcs) {
|
|
21512
|
-
return funcs.reduce(
|
|
21513
|
-
|
|
21514
|
-
|
|
21515
|
-
|
|
21516
|
-
{
|
|
21517
|
-
if (typeof func !== "function") {
|
|
21518
|
-
console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.");
|
|
21512
|
+
return funcs.reduce(
|
|
21513
|
+
(acc, func) => {
|
|
21514
|
+
if (func == null) {
|
|
21515
|
+
return acc;
|
|
21519
21516
|
}
|
|
21517
|
+
return function chainedFunction(...args) {
|
|
21518
|
+
acc.apply(this, args);
|
|
21519
|
+
func.apply(this, args);
|
|
21520
|
+
};
|
|
21521
|
+
},
|
|
21522
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
21523
|
+
() => {
|
|
21520
21524
|
}
|
|
21521
|
-
|
|
21522
|
-
acc.apply(this, args);
|
|
21523
|
-
func.apply(this, args);
|
|
21524
|
-
};
|
|
21525
|
-
}, () => {
|
|
21526
|
-
});
|
|
21525
|
+
);
|
|
21527
21526
|
}
|
|
21528
21527
|
function setRef(ref, value) {
|
|
21529
21528
|
if (typeof ref === "function") {
|
|
@@ -21562,7 +21561,7 @@ function flipPlacement(placement, theme) {
|
|
|
21562
21561
|
}
|
|
21563
21562
|
}
|
|
21564
21563
|
function getAnchorEl(anchorEl) {
|
|
21565
|
-
return typeof anchorEl === "function" ? anchorEl() : anchorEl;
|
|
21564
|
+
return typeof anchorEl === "function" ? anchorEl(document.body) : anchorEl;
|
|
21566
21565
|
}
|
|
21567
21566
|
const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
|
|
21568
21567
|
const defaultPopperOptions = {};
|
|
@@ -21592,25 +21591,18 @@ React.forwardRef((props, ref) => {
|
|
|
21592
21591
|
}
|
|
21593
21592
|
if (popperRef.current) {
|
|
21594
21593
|
popperRef.current.destroy();
|
|
21595
|
-
handlePopperRefRef.current
|
|
21594
|
+
if (handlePopperRefRef.current) {
|
|
21595
|
+
setRef(handlePopperRefRef.current, null);
|
|
21596
|
+
}
|
|
21596
21597
|
}
|
|
21597
21598
|
const handlePopperUpdate = (data) => {
|
|
21598
21599
|
setPlacement(data.placement);
|
|
21599
21600
|
};
|
|
21600
|
-
const
|
|
21601
|
-
{
|
|
21602
|
-
|
|
21603
|
-
const box = resolvedAnchorEl.getBoundingClientRect();
|
|
21604
|
-
if (box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
|
|
21605
|
-
console.warn([
|
|
21606
|
-
"Material-UI: The `anchorEl` prop provided to the component is invalid.",
|
|
21607
|
-
"The anchor element should be part of the document layout.",
|
|
21608
|
-
"Make sure the element is present in the document or that it's not display none."
|
|
21609
|
-
].join("\n"));
|
|
21610
|
-
}
|
|
21611
|
-
}
|
|
21601
|
+
const anchorElement = getAnchorEl(anchorEl);
|
|
21602
|
+
if (!anchorElement) {
|
|
21603
|
+
return;
|
|
21612
21604
|
}
|
|
21613
|
-
const popper = new Popper(
|
|
21605
|
+
const popper = new Popper(anchorElement, tooltipRef.current, {
|
|
21614
21606
|
placement: rtlPlacement,
|
|
21615
21607
|
...popperOptions,
|
|
21616
21608
|
modifiers: {
|
|
@@ -21628,7 +21620,9 @@ React.forwardRef((props, ref) => {
|
|
|
21628
21620
|
onCreate: createChainedFunction(handlePopperUpdate, popperOptions.onCreate),
|
|
21629
21621
|
onUpdate: createChainedFunction(handlePopperUpdate, popperOptions.onUpdate)
|
|
21630
21622
|
});
|
|
21631
|
-
handlePopperRefRef.current
|
|
21623
|
+
if (handlePopperRefRef.current) {
|
|
21624
|
+
setRef(handlePopperRefRef.current, popper);
|
|
21625
|
+
}
|
|
21632
21626
|
}, [anchorEl, disablePortal, modifiers2, open, rtlPlacement, popperOptions]);
|
|
21633
21627
|
const handleRef = React.useCallback((node2) => {
|
|
21634
21628
|
setRef(ownRef, node2);
|
|
@@ -21642,7 +21636,9 @@ React.forwardRef((props, ref) => {
|
|
|
21642
21636
|
return;
|
|
21643
21637
|
}
|
|
21644
21638
|
popperRef.current.destroy();
|
|
21645
|
-
handlePopperRefRef.current
|
|
21639
|
+
if (handlePopperRefRef.current) {
|
|
21640
|
+
setRef(handlePopperRefRef.current, null);
|
|
21641
|
+
}
|
|
21646
21642
|
};
|
|
21647
21643
|
const handleExited = () => {
|
|
21648
21644
|
setExited(true);
|
|
@@ -21673,7 +21669,7 @@ React.forwardRef((props, ref) => {
|
|
|
21673
21669
|
// Fix Popper.js display issue
|
|
21674
21670
|
top: 0,
|
|
21675
21671
|
left: 0,
|
|
21676
|
-
display: !open && keepMounted && !transition ? "none" :
|
|
21672
|
+
display: !open && keepMounted && !transition ? "none" : void 0,
|
|
21677
21673
|
...style2
|
|
21678
21674
|
}, children: typeof children === "function" ? children(childProps) : children }) });
|
|
21679
21675
|
});
|
|
@@ -128083,22 +128079,22 @@ function addDecoder(cases, importFn) {
|
|
|
128083
128079
|
}
|
|
128084
128080
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
128085
128081
|
}
|
|
128086
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
128087
|
-
addDecoder(5, () => import("./lzw-
|
|
128082
|
+
addDecoder([void 0, 1], () => import("./raw-D9IbY0yO.js").then((m) => m.default));
|
|
128083
|
+
addDecoder(5, () => import("./lzw-D-jYFTkN.js").then((m) => m.default));
|
|
128088
128084
|
addDecoder(6, () => {
|
|
128089
128085
|
throw new Error("old style JPEG compression is not supported.");
|
|
128090
128086
|
});
|
|
128091
|
-
addDecoder(7, () => import("./jpeg-
|
|
128092
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
128093
|
-
addDecoder(32773, () => import("./packbits-
|
|
128087
|
+
addDecoder(7, () => import("./jpeg-CsRFjvjp.js").then((m) => m.default));
|
|
128088
|
+
addDecoder([8, 32946], () => import("./deflate-phr9wiNk.js").then((m) => m.default));
|
|
128089
|
+
addDecoder(32773, () => import("./packbits-DGzSq1LG.js").then((m) => m.default));
|
|
128094
128090
|
addDecoder(
|
|
128095
128091
|
34887,
|
|
128096
|
-
() => import("./lerc-
|
|
128092
|
+
() => import("./lerc-CyQkkL3x.js").then(async (m) => {
|
|
128097
128093
|
await m.zstd.init();
|
|
128098
128094
|
return m;
|
|
128099
128095
|
}).then((m) => m.default)
|
|
128100
128096
|
);
|
|
128101
|
-
addDecoder(50001, () => import("./webimage-
|
|
128097
|
+
addDecoder(50001, () => import("./webimage-yeUEpC5w.js").then((m) => m.default));
|
|
128102
128098
|
function decodeRowAcc(row, stride) {
|
|
128103
128099
|
let length2 = row.length - stride;
|
|
128104
128100
|
let offset2 = 0;
|
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-BRGiAso5.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": "3.9.
|
|
3
|
+
"version": "3.9.2",
|
|
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.28.0",
|
|
22
|
-
"@vitessce/
|
|
23
|
-
"@vitessce/gl": "3.9.
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/utils": "3.9.
|
|
26
|
-
"@vitessce/vit-s": "3.9.
|
|
27
|
-
"@vitessce/
|
|
22
|
+
"@vitessce/styles": "3.9.2",
|
|
23
|
+
"@vitessce/gl": "3.9.2",
|
|
24
|
+
"@vitessce/constants-internal": "3.9.2",
|
|
25
|
+
"@vitessce/spatial-utils": "3.9.2",
|
|
26
|
+
"@vitessce/vit-s": "3.9.2",
|
|
27
|
+
"@vitessce/utils": "3.9.2"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "18.3.1",
|