@vitessce/layer-controller 3.9.3 → 3.9.4
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-CGoHOEkT.js → deflate-Cyfyz4ow.js} +1 -1
- package/dist/{index-D9q839LV.js → index-CJNHlEBq.js} +38 -70
- package/dist/index.js +1 -1
- package/dist/{jpeg-BQnbvzFc.js → jpeg-C62PTFeB.js} +1 -1
- package/dist/{lerc-Bp3OK9tj.js → lerc-B1_R8fp1.js} +1 -1
- package/dist/{lzw-Cwjzw73c.js → lzw-qRrO_FZw.js} +1 -1
- package/dist/{packbits-DY4aLBgc.js → packbits-CdzxG41_.js} +1 -1
- package/dist/{raw-kwXDn3Gr.js → raw-DhefG3KB.js} +1 -1
- package/dist/{webimage-DOxsTBut.js → webimage-BVdRA3Av.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-CJNHlEBq.js";
|
|
3
3
|
class DeflateDecoder extends BaseDecoder {
|
|
4
4
|
decodeBlock(buffer) {
|
|
5
5
|
return inflate_1(new Uint8Array(buffer)).buffer;
|
|
@@ -814,14 +814,14 @@ var createCache = function createCache2(options) {
|
|
|
814
814
|
cache2.sheet.hydrate(nodesToHydrate);
|
|
815
815
|
return cache2;
|
|
816
816
|
};
|
|
817
|
-
function _extends$
|
|
818
|
-
return _extends$
|
|
817
|
+
function _extends$2() {
|
|
818
|
+
return _extends$2 = Object.assign ? Object.assign.bind() : function(n2) {
|
|
819
819
|
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
820
820
|
var t = arguments[e2];
|
|
821
821
|
for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]);
|
|
822
822
|
}
|
|
823
823
|
return n2;
|
|
824
|
-
}, _extends$
|
|
824
|
+
}, _extends$2.apply(null, arguments);
|
|
825
825
|
}
|
|
826
826
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
827
827
|
function getDefaultExportFromCjs(x) {
|
|
@@ -2389,7 +2389,7 @@ var createStyled$1 = function createStyled(tag, options) {
|
|
|
2389
2389
|
}
|
|
2390
2390
|
});
|
|
2391
2391
|
Styled.withComponent = function(nextTag, nextOptions) {
|
|
2392
|
-
var newStyled2 = createStyled(nextTag, _extends$
|
|
2392
|
+
var newStyled2 = createStyled(nextTag, _extends$2({}, options, nextOptions, {
|
|
2393
2393
|
shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
|
|
2394
2394
|
}));
|
|
2395
2395
|
return newStyled2.apply(void 0, styles2);
|
|
@@ -8665,14 +8665,14 @@ function chainPropTypes(propType1, propType2) {
|
|
|
8665
8665
|
return propType1(...args) || propType2(...args);
|
|
8666
8666
|
};
|
|
8667
8667
|
}
|
|
8668
|
-
function _extends$
|
|
8669
|
-
return _extends$
|
|
8668
|
+
function _extends$1() {
|
|
8669
|
+
return _extends$1 = Object.assign ? Object.assign.bind() : function(n2) {
|
|
8670
8670
|
for (var e2 = 1; e2 < arguments.length; e2++) {
|
|
8671
8671
|
var t = arguments[e2];
|
|
8672
8672
|
for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n2[r2] = t[r2]);
|
|
8673
8673
|
}
|
|
8674
8674
|
return n2;
|
|
8675
|
-
}, _extends$
|
|
8675
|
+
}, _extends$1.apply(null, arguments);
|
|
8676
8676
|
}
|
|
8677
8677
|
function _objectWithoutPropertiesLoose(r2, e2) {
|
|
8678
8678
|
if (null == r2) return {};
|
|
@@ -8683,13 +8683,13 @@ function _objectWithoutPropertiesLoose(r2, e2) {
|
|
|
8683
8683
|
}
|
|
8684
8684
|
return t;
|
|
8685
8685
|
}
|
|
8686
|
-
function _setPrototypeOf
|
|
8687
|
-
return _setPrototypeOf
|
|
8686
|
+
function _setPrototypeOf(t, e2) {
|
|
8687
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e3) {
|
|
8688
8688
|
return t2.__proto__ = e3, t2;
|
|
8689
|
-
}, _setPrototypeOf
|
|
8689
|
+
}, _setPrototypeOf(t, e2);
|
|
8690
8690
|
}
|
|
8691
|
-
function _inheritsLoose
|
|
8692
|
-
t.prototype = Object.create(o2.prototype), t.prototype.constructor = t, _setPrototypeOf
|
|
8691
|
+
function _inheritsLoose(t, o2) {
|
|
8692
|
+
t.prototype = Object.create(o2.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o2);
|
|
8693
8693
|
}
|
|
8694
8694
|
const config$1 = {
|
|
8695
8695
|
disabled: false
|
|
@@ -8721,7 +8721,7 @@ var ENTERING = "entering";
|
|
|
8721
8721
|
var ENTERED = "entered";
|
|
8722
8722
|
var EXITING = "exiting";
|
|
8723
8723
|
var Transition$1 = /* @__PURE__ */ function(_React$Component) {
|
|
8724
|
-
_inheritsLoose
|
|
8724
|
+
_inheritsLoose(Transition2, _React$Component);
|
|
8725
8725
|
function Transition2(props, context) {
|
|
8726
8726
|
var _this;
|
|
8727
8727
|
_this = _React$Component.call(this, props, context) || this;
|
|
@@ -9137,7 +9137,7 @@ Transition$1.EXITED = EXITED;
|
|
|
9137
9137
|
Transition$1.ENTERING = ENTERING;
|
|
9138
9138
|
Transition$1.ENTERED = ENTERED;
|
|
9139
9139
|
Transition$1.EXITING = EXITING;
|
|
9140
|
-
function _assertThisInitialized
|
|
9140
|
+
function _assertThisInitialized(e2) {
|
|
9141
9141
|
if (void 0 === e2) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
9142
9142
|
return e2;
|
|
9143
9143
|
}
|
|
@@ -9245,11 +9245,11 @@ var defaultProps$P = {
|
|
|
9245
9245
|
}
|
|
9246
9246
|
};
|
|
9247
9247
|
var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
9248
|
-
_inheritsLoose
|
|
9248
|
+
_inheritsLoose(TransitionGroup2, _React$Component);
|
|
9249
9249
|
function TransitionGroup2(props, context) {
|
|
9250
9250
|
var _this;
|
|
9251
9251
|
_this = _React$Component.call(this, props, context) || this;
|
|
9252
|
-
var handleExited = _this.handleExited.bind(_assertThisInitialized
|
|
9252
|
+
var handleExited = _this.handleExited.bind(_assertThisInitialized(_this));
|
|
9253
9253
|
_this.state = {
|
|
9254
9254
|
contextValue: {
|
|
9255
9255
|
isMounting: true
|
|
@@ -9286,7 +9286,7 @@ var TransitionGroup = /* @__PURE__ */ function(_React$Component) {
|
|
|
9286
9286
|
}
|
|
9287
9287
|
if (this.mounted) {
|
|
9288
9288
|
this.setState(function(state) {
|
|
9289
|
-
var children = _extends$
|
|
9289
|
+
var children = _extends$1({}, state.children);
|
|
9290
9290
|
delete children[child.key];
|
|
9291
9291
|
return {
|
|
9292
9292
|
children
|
|
@@ -20209,7 +20209,7 @@ var defineProperty = function(obj, key, value) {
|
|
|
20209
20209
|
}
|
|
20210
20210
|
return obj;
|
|
20211
20211
|
};
|
|
20212
|
-
var _extends
|
|
20212
|
+
var _extends = Object.assign || function(target) {
|
|
20213
20213
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
20214
20214
|
var source = arguments[i2];
|
|
20215
20215
|
for (var key in source) {
|
|
@@ -20221,7 +20221,7 @@ var _extends$1 = Object.assign || function(target) {
|
|
|
20221
20221
|
return target;
|
|
20222
20222
|
};
|
|
20223
20223
|
function getClientRect(offsets) {
|
|
20224
|
-
return _extends
|
|
20224
|
+
return _extends({}, offsets, {
|
|
20225
20225
|
right: offsets.left + offsets.width,
|
|
20226
20226
|
bottom: offsets.top + offsets.height
|
|
20227
20227
|
});
|
|
@@ -20405,7 +20405,7 @@ function computeAutoPlacement(placement, refRect, popper, reference, boundariesE
|
|
|
20405
20405
|
}
|
|
20406
20406
|
};
|
|
20407
20407
|
var sortedAreas = Object.keys(rects).map(function(key) {
|
|
20408
|
-
return _extends
|
|
20408
|
+
return _extends({
|
|
20409
20409
|
key
|
|
20410
20410
|
}, rects[key], {
|
|
20411
20411
|
area: getArea(rects[key])
|
|
@@ -20713,9 +20713,9 @@ function computeStyle(data, options) {
|
|
|
20713
20713
|
var attributes = {
|
|
20714
20714
|
"x-placement": data.placement
|
|
20715
20715
|
};
|
|
20716
|
-
data.attributes = _extends
|
|
20717
|
-
data.styles = _extends
|
|
20718
|
-
data.arrowStyles = _extends
|
|
20716
|
+
data.attributes = _extends({}, attributes, data.attributes);
|
|
20717
|
+
data.styles = _extends({}, styles2, data.styles);
|
|
20718
|
+
data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);
|
|
20719
20719
|
return data;
|
|
20720
20720
|
}
|
|
20721
20721
|
function isModifierRequired(modifiers2, requestingName, requestedName) {
|
|
@@ -20850,7 +20850,7 @@ function flip(data, options) {
|
|
|
20850
20850
|
variation = getOppositeVariation(variation);
|
|
20851
20851
|
}
|
|
20852
20852
|
data.placement = placement + (variation ? "-" + variation : "");
|
|
20853
|
-
data.offsets.popper = _extends
|
|
20853
|
+
data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
|
|
20854
20854
|
data = runModifiers(data.instance.modifiers, data, "flip");
|
|
20855
20855
|
}
|
|
20856
20856
|
});
|
|
@@ -21009,7 +21009,7 @@ function preventOverflow(data, options) {
|
|
|
21009
21009
|
};
|
|
21010
21010
|
order.forEach(function(placement) {
|
|
21011
21011
|
var side = ["left", "top"].indexOf(placement) !== -1 ? "primary" : "secondary";
|
|
21012
|
-
popper = _extends
|
|
21012
|
+
popper = _extends({}, popper, check[side](placement));
|
|
21013
21013
|
});
|
|
21014
21014
|
data.offsets.popper = popper;
|
|
21015
21015
|
return data;
|
|
@@ -21027,7 +21027,7 @@ function shift(data) {
|
|
|
21027
21027
|
start: defineProperty({}, side, reference[side]),
|
|
21028
21028
|
end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])
|
|
21029
21029
|
};
|
|
21030
|
-
data.offsets.popper = _extends
|
|
21030
|
+
data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);
|
|
21031
21031
|
}
|
|
21032
21032
|
return data;
|
|
21033
21033
|
}
|
|
@@ -21430,7 +21430,7 @@ var Popper = function() {
|
|
|
21430
21430
|
return requestAnimationFrame(_this.update);
|
|
21431
21431
|
};
|
|
21432
21432
|
this.update = debounce$1(this.update.bind(this));
|
|
21433
|
-
this.options = _extends
|
|
21433
|
+
this.options = _extends({}, Popper2.Defaults, options);
|
|
21434
21434
|
this.state = {
|
|
21435
21435
|
isDestroyed: false,
|
|
21436
21436
|
isCreated: false,
|
|
@@ -21439,11 +21439,11 @@ var Popper = function() {
|
|
|
21439
21439
|
this.reference = reference && reference.jquery ? reference[0] : reference;
|
|
21440
21440
|
this.popper = popper && popper.jquery ? popper[0] : popper;
|
|
21441
21441
|
this.options.modifiers = {};
|
|
21442
|
-
Object.keys(_extends
|
|
21443
|
-
_this.options.modifiers[name2] = _extends
|
|
21442
|
+
Object.keys(_extends({}, Popper2.Defaults.modifiers, options.modifiers)).forEach(function(name2) {
|
|
21443
|
+
_this.options.modifiers[name2] = _extends({}, Popper2.Defaults.modifiers[name2] || {}, options.modifiers ? options.modifiers[name2] : {});
|
|
21444
21444
|
});
|
|
21445
21445
|
this.modifiers = Object.keys(this.options.modifiers).map(function(name2) {
|
|
21446
|
-
return _extends
|
|
21446
|
+
return _extends({
|
|
21447
21447
|
name: name2
|
|
21448
21448
|
}, _this.options.modifiers[name2]);
|
|
21449
21449
|
}).sort(function(a2, b) {
|
|
@@ -21673,38 +21673,6 @@ React.forwardRef((props, ref) => {
|
|
|
21673
21673
|
...style2
|
|
21674
21674
|
}, children: typeof children === "function" ? children(childProps) : children }) });
|
|
21675
21675
|
});
|
|
21676
|
-
function _extends() {
|
|
21677
|
-
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
21678
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
21679
|
-
var source = arguments[i2];
|
|
21680
|
-
for (var key in source) {
|
|
21681
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
21682
|
-
target[key] = source[key];
|
|
21683
|
-
}
|
|
21684
|
-
}
|
|
21685
|
-
}
|
|
21686
|
-
return target;
|
|
21687
|
-
};
|
|
21688
|
-
return _extends.apply(this, arguments);
|
|
21689
|
-
}
|
|
21690
|
-
function _assertThisInitialized(self2) {
|
|
21691
|
-
if (self2 === void 0) {
|
|
21692
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
21693
|
-
}
|
|
21694
|
-
return self2;
|
|
21695
|
-
}
|
|
21696
|
-
function _setPrototypeOf(o2, p) {
|
|
21697
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o3, p2) {
|
|
21698
|
-
o3.__proto__ = p2;
|
|
21699
|
-
return o3;
|
|
21700
|
-
};
|
|
21701
|
-
return _setPrototypeOf(o2, p);
|
|
21702
|
-
}
|
|
21703
|
-
function _inheritsLoose(subClass, superClass) {
|
|
21704
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
21705
|
-
subClass.prototype.constructor = subClass;
|
|
21706
|
-
_setPrototypeOf(subClass, superClass);
|
|
21707
|
-
}
|
|
21708
21676
|
var safeIsNaN = Number.isNaN || function ponyfill(value) {
|
|
21709
21677
|
return typeof value === "number" && value !== value;
|
|
21710
21678
|
};
|
|
@@ -22072,7 +22040,7 @@ function createListComponent(_ref) {
|
|
|
22072
22040
|
className,
|
|
22073
22041
|
onScroll,
|
|
22074
22042
|
ref: this._outerRefSetter,
|
|
22075
|
-
style: _extends({
|
|
22043
|
+
style: _extends$1({
|
|
22076
22044
|
position: "relative",
|
|
22077
22045
|
height: height2,
|
|
22078
22046
|
width: width2,
|
|
@@ -128785,22 +128753,22 @@ function addDecoder(cases, importFn) {
|
|
|
128785
128753
|
}
|
|
128786
128754
|
cases.forEach((c) => registry$1.set(c, importFn));
|
|
128787
128755
|
}
|
|
128788
|
-
addDecoder([void 0, 1], () => import("./raw-
|
|
128789
|
-
addDecoder(5, () => import("./lzw-
|
|
128756
|
+
addDecoder([void 0, 1], () => import("./raw-DhefG3KB.js").then((m) => m.default));
|
|
128757
|
+
addDecoder(5, () => import("./lzw-qRrO_FZw.js").then((m) => m.default));
|
|
128790
128758
|
addDecoder(6, () => {
|
|
128791
128759
|
throw new Error("old style JPEG compression is not supported.");
|
|
128792
128760
|
});
|
|
128793
|
-
addDecoder(7, () => import("./jpeg-
|
|
128794
|
-
addDecoder([8, 32946], () => import("./deflate-
|
|
128795
|
-
addDecoder(32773, () => import("./packbits-
|
|
128761
|
+
addDecoder(7, () => import("./jpeg-C62PTFeB.js").then((m) => m.default));
|
|
128762
|
+
addDecoder([8, 32946], () => import("./deflate-Cyfyz4ow.js").then((m) => m.default));
|
|
128763
|
+
addDecoder(32773, () => import("./packbits-CdzxG41_.js").then((m) => m.default));
|
|
128796
128764
|
addDecoder(
|
|
128797
128765
|
34887,
|
|
128798
|
-
() => import("./lerc-
|
|
128766
|
+
() => import("./lerc-B1_R8fp1.js").then(async (m) => {
|
|
128799
128767
|
await m.zstd.init();
|
|
128800
128768
|
return m;
|
|
128801
128769
|
}).then((m) => m.default)
|
|
128802
128770
|
);
|
|
128803
|
-
addDecoder(50001, () => import("./webimage-
|
|
128771
|
+
addDecoder(50001, () => import("./webimage-BVdRA3Av.js").then((m) => m.default));
|
|
128804
128772
|
function decodeRowAcc(row, stride) {
|
|
128805
128773
|
let length2 = row.length - stride;
|
|
128806
128774
|
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-CJNHlEBq.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.4",
|
|
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/
|
|
24
|
-
"@vitessce/
|
|
25
|
-
"@vitessce/
|
|
26
|
-
"@vitessce/
|
|
27
|
-
"@vitessce/
|
|
22
|
+
"@vitessce/styles": "3.9.4",
|
|
23
|
+
"@vitessce/constants-internal": "3.9.4",
|
|
24
|
+
"@vitessce/spatial-utils": "3.9.4",
|
|
25
|
+
"@vitessce/gl": "3.9.4",
|
|
26
|
+
"@vitessce/utils": "3.9.4",
|
|
27
|
+
"@vitessce/vit-s": "3.9.4"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"react": "18.3.1",
|