@vitessce/spatial-accelerated 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/index.js +36 -56
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -46770,14 +46770,14 @@ reconciler.injectIntoDevTools({
|
|
|
46770
46770
|
rendererPackageName: "@react-three/fiber",
|
|
46771
46771
|
version: React.version
|
|
46772
46772
|
});
|
|
46773
|
-
function _extends$
|
|
46774
|
-
return _extends$
|
|
46773
|
+
function _extends$2() {
|
|
46774
|
+
return _extends$2 = Object.assign ? Object.assign.bind() : function(n) {
|
|
46775
46775
|
for (var e = 1; e < arguments.length; e++) {
|
|
46776
46776
|
var t = arguments[e];
|
|
46777
46777
|
for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n[r2] = t[r2]);
|
|
46778
46778
|
}
|
|
46779
46779
|
return n;
|
|
46780
|
-
}, _extends$
|
|
46780
|
+
}, _extends$2.apply(null, arguments);
|
|
46781
46781
|
}
|
|
46782
46782
|
var debounce_1;
|
|
46783
46783
|
var hasRequiredDebounce;
|
|
@@ -47258,7 +47258,7 @@ const CanvasImpl = /* @__PURE__ */ React.forwardRef(function Canvas({
|
|
|
47258
47258
|
if (canvas) return () => unmountComponentAtNode(canvas);
|
|
47259
47259
|
}, []);
|
|
47260
47260
|
const pointerEvents = eventSource ? "none" : "auto";
|
|
47261
|
-
return /* @__PURE__ */ React.createElement("div", _extends$
|
|
47261
|
+
return /* @__PURE__ */ React.createElement("div", _extends$2({
|
|
47262
47262
|
ref: divRef,
|
|
47263
47263
|
style: {
|
|
47264
47264
|
position: "relative",
|
|
@@ -47282,7 +47282,7 @@ const CanvasImpl = /* @__PURE__ */ React.forwardRef(function Canvas({
|
|
|
47282
47282
|
}, fallback)));
|
|
47283
47283
|
});
|
|
47284
47284
|
const Canvas2 = /* @__PURE__ */ React.forwardRef(function CanvasWrapper(props, ref) {
|
|
47285
|
-
return /* @__PURE__ */ React.createElement(FiberProvider, null, /* @__PURE__ */ React.createElement(CanvasImpl, _extends$
|
|
47285
|
+
return /* @__PURE__ */ React.createElement(FiberProvider, null, /* @__PURE__ */ React.createElement(CanvasImpl, _extends$2({}, props, {
|
|
47286
47286
|
ref
|
|
47287
47287
|
})));
|
|
47288
47288
|
});
|
|
@@ -48165,7 +48165,7 @@ const OrbitControls2 = /* @__PURE__ */ React.forwardRef(({
|
|
|
48165
48165
|
});
|
|
48166
48166
|
}
|
|
48167
48167
|
}, [makeDefault, controls]);
|
|
48168
|
-
return /* @__PURE__ */ React.createElement("primitive", _extends$
|
|
48168
|
+
return /* @__PURE__ */ React.createElement("primitive", _extends$2({
|
|
48169
48169
|
ref,
|
|
48170
48170
|
object: controls,
|
|
48171
48171
|
enableDamping
|
|
@@ -50021,14 +50021,14 @@ var createCache = function createCache2(options) {
|
|
|
50021
50021
|
cache.sheet.hydrate(nodesToHydrate);
|
|
50022
50022
|
return cache;
|
|
50023
50023
|
};
|
|
50024
|
-
function _extends$
|
|
50025
|
-
return _extends$
|
|
50024
|
+
function _extends$1() {
|
|
50025
|
+
return _extends$1 = Object.assign ? Object.assign.bind() : function(n) {
|
|
50026
50026
|
for (var e = 1; e < arguments.length; e++) {
|
|
50027
50027
|
var t = arguments[e];
|
|
50028
50028
|
for (var r2 in t) ({}).hasOwnProperty.call(t, r2) && (n[r2] = t[r2]);
|
|
50029
50029
|
}
|
|
50030
50030
|
return n;
|
|
50031
|
-
}, _extends$
|
|
50031
|
+
}, _extends$1.apply(null, arguments);
|
|
50032
50032
|
}
|
|
50033
50033
|
var isBrowser$1 = true;
|
|
50034
50034
|
function getRegisteredStyles(registered, registeredStyles, classNames) {
|
|
@@ -51171,7 +51171,7 @@ var createStyled$1 = function createStyled(tag, options) {
|
|
|
51171
51171
|
}
|
|
51172
51172
|
});
|
|
51173
51173
|
Styled.withComponent = function(nextTag, nextOptions) {
|
|
51174
|
-
var newStyled2 = createStyled(nextTag, _extends$
|
|
51174
|
+
var newStyled2 = createStyled(nextTag, _extends$1({}, options, nextOptions, {
|
|
51175
51175
|
shouldForwardProp: composeShouldForwardProps(Styled, nextOptions, true)
|
|
51176
51176
|
}));
|
|
51177
51177
|
return newStyled2.apply(void 0, styles);
|
|
@@ -55843,6 +55843,18 @@ function useForkRef$1(...refs) {
|
|
|
55843
55843
|
};
|
|
55844
55844
|
}, refs);
|
|
55845
55845
|
}
|
|
55846
|
+
function _setPrototypeOf(t, e) {
|
|
55847
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(t2, e2) {
|
|
55848
|
+
return t2.__proto__ = e2, t2;
|
|
55849
|
+
}, _setPrototypeOf(t, e);
|
|
55850
|
+
}
|
|
55851
|
+
function _inheritsLoose(t, o) {
|
|
55852
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
55853
|
+
}
|
|
55854
|
+
function _assertThisInitialized(e) {
|
|
55855
|
+
if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
55856
|
+
return e;
|
|
55857
|
+
}
|
|
55846
55858
|
function hasCorrectMainProperty(obj) {
|
|
55847
55859
|
return typeof obj.main === "string";
|
|
55848
55860
|
}
|
|
@@ -56437,7 +56449,7 @@ var defineProperty = function(obj, key, value) {
|
|
|
56437
56449
|
}
|
|
56438
56450
|
return obj;
|
|
56439
56451
|
};
|
|
56440
|
-
var _extends
|
|
56452
|
+
var _extends = Object.assign || function(target) {
|
|
56441
56453
|
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
56442
56454
|
var source = arguments[i2];
|
|
56443
56455
|
for (var key in source) {
|
|
@@ -56449,7 +56461,7 @@ var _extends$1 = Object.assign || function(target) {
|
|
|
56449
56461
|
return target;
|
|
56450
56462
|
};
|
|
56451
56463
|
function getClientRect(offsets) {
|
|
56452
|
-
return _extends
|
|
56464
|
+
return _extends({}, offsets, {
|
|
56453
56465
|
right: offsets.left + offsets.width,
|
|
56454
56466
|
bottom: offsets.top + offsets.height
|
|
56455
56467
|
});
|
|
@@ -56633,7 +56645,7 @@ function computeAutoPlacement(placement, refRect, popper, reference, boundariesE
|
|
|
56633
56645
|
}
|
|
56634
56646
|
};
|
|
56635
56647
|
var sortedAreas = Object.keys(rects).map(function(key) {
|
|
56636
|
-
return _extends
|
|
56648
|
+
return _extends({
|
|
56637
56649
|
key
|
|
56638
56650
|
}, rects[key], {
|
|
56639
56651
|
area: getArea(rects[key])
|
|
@@ -56941,9 +56953,9 @@ function computeStyle(data, options) {
|
|
|
56941
56953
|
var attributes = {
|
|
56942
56954
|
"x-placement": data.placement
|
|
56943
56955
|
};
|
|
56944
|
-
data.attributes = _extends
|
|
56945
|
-
data.styles = _extends
|
|
56946
|
-
data.arrowStyles = _extends
|
|
56956
|
+
data.attributes = _extends({}, attributes, data.attributes);
|
|
56957
|
+
data.styles = _extends({}, styles, data.styles);
|
|
56958
|
+
data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles);
|
|
56947
56959
|
return data;
|
|
56948
56960
|
}
|
|
56949
56961
|
function isModifierRequired(modifiers2, requestingName, requestedName) {
|
|
@@ -57078,7 +57090,7 @@ function flip(data, options) {
|
|
|
57078
57090
|
variation = getOppositeVariation(variation);
|
|
57079
57091
|
}
|
|
57080
57092
|
data.placement = placement + (variation ? "-" + variation : "");
|
|
57081
|
-
data.offsets.popper = _extends
|
|
57093
|
+
data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement));
|
|
57082
57094
|
data = runModifiers(data.instance.modifiers, data, "flip");
|
|
57083
57095
|
}
|
|
57084
57096
|
});
|
|
@@ -57237,7 +57249,7 @@ function preventOverflow(data, options) {
|
|
|
57237
57249
|
};
|
|
57238
57250
|
order.forEach(function(placement) {
|
|
57239
57251
|
var side = ["left", "top"].indexOf(placement) !== -1 ? "primary" : "secondary";
|
|
57240
|
-
popper = _extends
|
|
57252
|
+
popper = _extends({}, popper, check[side](placement));
|
|
57241
57253
|
});
|
|
57242
57254
|
data.offsets.popper = popper;
|
|
57243
57255
|
return data;
|
|
@@ -57255,7 +57267,7 @@ function shift(data) {
|
|
|
57255
57267
|
start: defineProperty({}, side, reference[side]),
|
|
57256
57268
|
end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement])
|
|
57257
57269
|
};
|
|
57258
|
-
data.offsets.popper = _extends
|
|
57270
|
+
data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]);
|
|
57259
57271
|
}
|
|
57260
57272
|
return data;
|
|
57261
57273
|
}
|
|
@@ -57658,7 +57670,7 @@ var Popper = function() {
|
|
|
57658
57670
|
return requestAnimationFrame(_this.update);
|
|
57659
57671
|
};
|
|
57660
57672
|
this.update = debounce(this.update.bind(this));
|
|
57661
|
-
this.options = _extends
|
|
57673
|
+
this.options = _extends({}, Popper2.Defaults, options);
|
|
57662
57674
|
this.state = {
|
|
57663
57675
|
isDestroyed: false,
|
|
57664
57676
|
isCreated: false,
|
|
@@ -57667,11 +57679,11 @@ var Popper = function() {
|
|
|
57667
57679
|
this.reference = reference && reference.jquery ? reference[0] : reference;
|
|
57668
57680
|
this.popper = popper && popper.jquery ? popper[0] : popper;
|
|
57669
57681
|
this.options.modifiers = {};
|
|
57670
|
-
Object.keys(_extends
|
|
57671
|
-
_this.options.modifiers[name] = _extends
|
|
57682
|
+
Object.keys(_extends({}, Popper2.Defaults.modifiers, options.modifiers)).forEach(function(name) {
|
|
57683
|
+
_this.options.modifiers[name] = _extends({}, Popper2.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {});
|
|
57672
57684
|
});
|
|
57673
57685
|
this.modifiers = Object.keys(this.options.modifiers).map(function(name) {
|
|
57674
|
-
return _extends
|
|
57686
|
+
return _extends({
|
|
57675
57687
|
name
|
|
57676
57688
|
}, _this.options.modifiers[name]);
|
|
57677
57689
|
}).sort(function(a, b) {
|
|
@@ -57901,38 +57913,6 @@ React.forwardRef((props, ref) => {
|
|
|
57901
57913
|
...style2
|
|
57902
57914
|
}, children: typeof children === "function" ? children(childProps) : children }) });
|
|
57903
57915
|
});
|
|
57904
|
-
function _extends() {
|
|
57905
|
-
_extends = Object.assign ? Object.assign.bind() : function(target) {
|
|
57906
|
-
for (var i2 = 1; i2 < arguments.length; i2++) {
|
|
57907
|
-
var source = arguments[i2];
|
|
57908
|
-
for (var key in source) {
|
|
57909
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
57910
|
-
target[key] = source[key];
|
|
57911
|
-
}
|
|
57912
|
-
}
|
|
57913
|
-
}
|
|
57914
|
-
return target;
|
|
57915
|
-
};
|
|
57916
|
-
return _extends.apply(this, arguments);
|
|
57917
|
-
}
|
|
57918
|
-
function _assertThisInitialized(self2) {
|
|
57919
|
-
if (self2 === void 0) {
|
|
57920
|
-
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
57921
|
-
}
|
|
57922
|
-
return self2;
|
|
57923
|
-
}
|
|
57924
|
-
function _setPrototypeOf(o, p) {
|
|
57925
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf2(o2, p2) {
|
|
57926
|
-
o2.__proto__ = p2;
|
|
57927
|
-
return o2;
|
|
57928
|
-
};
|
|
57929
|
-
return _setPrototypeOf(o, p);
|
|
57930
|
-
}
|
|
57931
|
-
function _inheritsLoose(subClass, superClass) {
|
|
57932
|
-
subClass.prototype = Object.create(superClass.prototype);
|
|
57933
|
-
subClass.prototype.constructor = subClass;
|
|
57934
|
-
_setPrototypeOf(subClass, superClass);
|
|
57935
|
-
}
|
|
57936
57916
|
var safeIsNaN = Number.isNaN || function ponyfill(value) {
|
|
57937
57917
|
return typeof value === "number" && value !== value;
|
|
57938
57918
|
};
|
|
@@ -58300,7 +58280,7 @@ function createListComponent(_ref) {
|
|
|
58300
58280
|
className,
|
|
58301
58281
|
onScroll,
|
|
58302
58282
|
ref: this._outerRefSetter,
|
|
58303
|
-
style: _extends({
|
|
58283
|
+
style: _extends$2({
|
|
58304
58284
|
position: "relative",
|
|
58305
58285
|
height: height2,
|
|
58306
58286
|
width: width2,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vitessce/spatial-accelerated",
|
|
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": {
|
|
@@ -28,16 +28,16 @@
|
|
|
28
28
|
"short-number": "^1.0.6",
|
|
29
29
|
"three": "^0.154.0",
|
|
30
30
|
"zarrita": "0.6.1",
|
|
31
|
-
"@vitessce/constants-internal": "3.9.
|
|
32
|
-
"@vitessce/
|
|
33
|
-
"@vitessce/
|
|
34
|
-
"@vitessce/
|
|
35
|
-
"@vitessce/
|
|
36
|
-
"@vitessce/
|
|
37
|
-
"@vitessce/
|
|
38
|
-
"@vitessce/styles": "3.9.
|
|
39
|
-
"@vitessce/
|
|
40
|
-
"@vitessce/
|
|
31
|
+
"@vitessce/constants-internal": "3.9.4",
|
|
32
|
+
"@vitessce/gl": "3.9.4",
|
|
33
|
+
"@vitessce/legend": "3.9.4",
|
|
34
|
+
"@vitessce/sets-utils": "3.9.4",
|
|
35
|
+
"@vitessce/spatial-utils": "3.9.4",
|
|
36
|
+
"@vitessce/tooltip": "3.9.4",
|
|
37
|
+
"@vitessce/utils": "3.9.4",
|
|
38
|
+
"@vitessce/styles": "3.9.4",
|
|
39
|
+
"@vitessce/globals": "3.9.4",
|
|
40
|
+
"@vitessce/vit-s": "3.9.4"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/three": "^0.154.0",
|