@vitessce/scatterplot-gating 3.9.1 → 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.
@@ -1,5 +1,5 @@
1
1
  import { i as inflate_1 } from "./pako.esm-SxljTded.js";
2
- import { B as BaseDecoder } from "./index-BGY07H7h.js";
2
+ import { B as BaseDecoder } from "./index-DVfFavh_.js";
3
3
  class DeflateDecoder extends BaseDecoder {
4
4
  decodeBlock(buffer) {
5
5
  return inflate_1(new Uint8Array(buffer)).buffer;
@@ -123158,22 +123158,22 @@ function addDecoder(cases, importFn) {
123158
123158
  }
123159
123159
  cases.forEach((c2) => registry$1.set(c2, importFn));
123160
123160
  }
123161
- addDecoder([void 0, 1], () => import("./raw-BCj3AzSX.js").then((m2) => m2.default));
123162
- addDecoder(5, () => import("./lzw-D1vl8V6Y.js").then((m2) => m2.default));
123161
+ addDecoder([void 0, 1], () => import("./raw-BUqgQjTn.js").then((m2) => m2.default));
123162
+ addDecoder(5, () => import("./lzw-TcgFT-gP.js").then((m2) => m2.default));
123163
123163
  addDecoder(6, () => {
123164
123164
  throw new Error("old style JPEG compression is not supported.");
123165
123165
  });
123166
- addDecoder(7, () => import("./jpeg-CPebmeu5.js").then((m2) => m2.default));
123167
- addDecoder([8, 32946], () => import("./deflate-DXdIi6jD.js").then((m2) => m2.default));
123168
- addDecoder(32773, () => import("./packbits-Bigy3Uzm.js").then((m2) => m2.default));
123166
+ addDecoder(7, () => import("./jpeg-rVxXlThu.js").then((m2) => m2.default));
123167
+ addDecoder([8, 32946], () => import("./deflate-D9OkgEWJ.js").then((m2) => m2.default));
123168
+ addDecoder(32773, () => import("./packbits-BY5eSCr6.js").then((m2) => m2.default));
123169
123169
  addDecoder(
123170
123170
  34887,
123171
- () => import("./lerc--JYJ9WzW.js").then(async (m2) => {
123171
+ () => import("./lerc-DzkC6Fdj.js").then(async (m2) => {
123172
123172
  await m2.zstd.init();
123173
123173
  return m2;
123174
123174
  }).then((m2) => m2.default)
123175
123175
  );
123176
- addDecoder(50001, () => import("./webimage-BR0--9fV.js").then((m2) => m2.default));
123176
+ addDecoder(50001, () => import("./webimage-Bb-l68O4.js").then((m2) => m2.default));
123177
123177
  function decodeRowAcc(row, stride) {
123178
123178
  let length2 = row.length - stride;
123179
123179
  let offset2 = 0;
@@ -157927,21 +157927,20 @@ Popper$1.Utils = (typeof window !== "undefined" ? window : global).PopperUtils;
157927
157927
  Popper$1.placements = placements;
157928
157928
  Popper$1.Defaults = Defaults;
157929
157929
  function createChainedFunction(...funcs) {
157930
- return funcs.reduce((acc, func) => {
157931
- if (func == null) {
157932
- return acc;
157933
- }
157934
- {
157935
- if (typeof func !== "function") {
157936
- console.error("Material-UI: Invalid Argument Type, must only provide functions, undefined, or null.");
157930
+ return funcs.reduce(
157931
+ (acc, func) => {
157932
+ if (func == null) {
157933
+ return acc;
157937
157934
  }
157935
+ return function chainedFunction(...args) {
157936
+ acc.apply(this, args);
157937
+ func.apply(this, args);
157938
+ };
157939
+ },
157940
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
157941
+ () => {
157938
157942
  }
157939
- return function chainedFunction(...args) {
157940
- acc.apply(this, args);
157941
- func.apply(this, args);
157942
- };
157943
- }, () => {
157944
- });
157943
+ );
157945
157944
  }
157946
157945
  function setRef(ref, value) {
157947
157946
  if (typeof ref === "function") {
@@ -157980,7 +157979,7 @@ function flipPlacement(placement, theme) {
157980
157979
  }
157981
157980
  }
157982
157981
  function getAnchorEl(anchorEl) {
157983
- return typeof anchorEl === "function" ? anchorEl() : anchorEl;
157982
+ return typeof anchorEl === "function" ? anchorEl(document.body) : anchorEl;
157984
157983
  }
157985
157984
  const useEnhancedEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
157986
157985
  const defaultPopperOptions = {};
@@ -158010,25 +158009,18 @@ const Popper = React.forwardRef((props, ref) => {
158010
158009
  }
158011
158010
  if (popperRef.current) {
158012
158011
  popperRef.current.destroy();
158013
- handlePopperRefRef.current(null);
158012
+ if (handlePopperRefRef.current) {
158013
+ setRef(handlePopperRefRef.current, null);
158014
+ }
158014
158015
  }
158015
158016
  const handlePopperUpdate = (data) => {
158016
158017
  setPlacement(data.placement);
158017
158018
  };
158018
- const resolvedAnchorEl = getAnchorEl(anchorEl);
158019
- {
158020
- if (resolvedAnchorEl && resolvedAnchorEl.nodeType === 1) {
158021
- const box = resolvedAnchorEl.getBoundingClientRect();
158022
- if (box.top === 0 && box.left === 0 && box.right === 0 && box.bottom === 0) {
158023
- console.warn([
158024
- "Material-UI: The `anchorEl` prop provided to the component is invalid.",
158025
- "The anchor element should be part of the document layout.",
158026
- "Make sure the element is present in the document or that it's not display none."
158027
- ].join("\n"));
158028
- }
158029
- }
158019
+ const anchorElement = getAnchorEl(anchorEl);
158020
+ if (!anchorElement) {
158021
+ return;
158030
158022
  }
158031
- const popper = new Popper$1(getAnchorEl(anchorEl), tooltipRef.current, {
158023
+ const popper = new Popper$1(anchorElement, tooltipRef.current, {
158032
158024
  placement: rtlPlacement,
158033
158025
  ...popperOptions,
158034
158026
  modifiers: {
@@ -158046,7 +158038,9 @@ const Popper = React.forwardRef((props, ref) => {
158046
158038
  onCreate: createChainedFunction(handlePopperUpdate, popperOptions.onCreate),
158047
158039
  onUpdate: createChainedFunction(handlePopperUpdate, popperOptions.onUpdate)
158048
158040
  });
158049
- handlePopperRefRef.current(popper);
158041
+ if (handlePopperRefRef.current) {
158042
+ setRef(handlePopperRefRef.current, popper);
158043
+ }
158050
158044
  }, [anchorEl, disablePortal, modifiers2, open, rtlPlacement, popperOptions]);
158051
158045
  const handleRef = React.useCallback((node2) => {
158052
158046
  setRef(ownRef, node2);
@@ -158060,7 +158054,9 @@ const Popper = React.forwardRef((props, ref) => {
158060
158054
  return;
158061
158055
  }
158062
158056
  popperRef.current.destroy();
158063
- handlePopperRefRef.current(null);
158057
+ if (handlePopperRefRef.current) {
158058
+ setRef(handlePopperRefRef.current, null);
158059
+ }
158064
158060
  };
158065
158061
  const handleExited = () => {
158066
158062
  setExited(true);
@@ -158091,7 +158087,7 @@ const Popper = React.forwardRef((props, ref) => {
158091
158087
  // Fix Popper.js display issue
158092
158088
  top: 0,
158093
158089
  left: 0,
158094
- display: !open && keepMounted && !transition ? "none" : null,
158090
+ display: !open && keepMounted && !transition ? "none" : void 0,
158095
158091
  ...style2
158096
158092
  }, children: typeof children === "function" ? children(childProps) : children }) });
158097
158093
  });
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { G } from "./index-BGY07H7h.js";
1
+ import { G } from "./index-DVfFavh_.js";
2
2
  export {
3
3
  G as GatingSubscriber
4
4
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BGY07H7h.js";
1
+ import { B as BaseDecoder } from "./index-DVfFavh_.js";
2
2
  const dctZigZag = new Int32Array([
3
3
  0,
4
4
  1,
@@ -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-BGY07H7h.js";
2
+ import { g as getDefaultExportFromCjs, B as BaseDecoder } from "./index-DVfFavh_.js";
3
3
  const LercParameters = {
4
4
  AddCompression: 1
5
5
  };
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BGY07H7h.js";
1
+ import { B as BaseDecoder } from "./index-DVfFavh_.js";
2
2
  const MIN_BITS = 9;
3
3
  const CLEAR_CODE = 256;
4
4
  const EOI_CODE = 257;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BGY07H7h.js";
1
+ import { B as BaseDecoder } from "./index-DVfFavh_.js";
2
2
  class PackbitsDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  const dataView = new DataView(buffer);
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BGY07H7h.js";
1
+ import { B as BaseDecoder } from "./index-DVfFavh_.js";
2
2
  class RawDecoder extends BaseDecoder {
3
3
  decodeBlock(buffer) {
4
4
  return buffer;
@@ -1,4 +1,4 @@
1
- import { B as BaseDecoder } from "./index-BGY07H7h.js";
1
+ import { B as BaseDecoder } from "./index-DVfFavh_.js";
2
2
  class WebImageDecoder extends BaseDecoder {
3
3
  constructor() {
4
4
  super();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitessce/scatterplot-gating",
3
- "version": "3.9.1",
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
  "d3-array": "^2.4.0",
20
20
  "lodash-es": "^4.17.21",
21
21
  "react-aria": "^3.28.0",
22
- "@vitessce/constants-internal": "3.9.1",
23
- "@vitessce/styles": "3.9.1",
24
- "@vitessce/utils": "3.9.1",
25
- "@vitessce/vit-s": "3.9.1",
26
- "@vitessce/sets-utils": "3.9.1",
27
- "@vitessce/scatterplot": "3.9.1"
22
+ "@vitessce/styles": "3.9.2",
23
+ "@vitessce/scatterplot": "3.9.2",
24
+ "@vitessce/constants-internal": "3.9.2",
25
+ "@vitessce/sets-utils": "3.9.2",
26
+ "@vitessce/utils": "3.9.2",
27
+ "@vitessce/vit-s": "3.9.2"
28
28
  },
29
29
  "devDependencies": {
30
30
  "react": "18.3.1",