@jbrowse/plugin-wiggle 1.5.3 → 1.5.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/plugin-wiggle.cjs.development.js +26 -33
- package/dist/plugin-wiggle.cjs.development.js.map +1 -1
- package/dist/plugin-wiggle.cjs.production.min.js +1 -1
- package/dist/plugin-wiggle.cjs.production.min.js.map +1 -1
- package/dist/plugin-wiggle.esm.js +26 -33
- package/dist/plugin-wiggle.esm.js.map +1 -1
- package/package.json +3 -3
- package/src/LinearWiggleDisplay/components/Tooltip.tsx +2 -2
|
@@ -52,14 +52,9 @@ function ownKeys(object, enumerableOnly) {
|
|
|
52
52
|
|
|
53
53
|
if (Object.getOwnPropertySymbols) {
|
|
54
54
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
keys.push.apply(keys, symbols);
|
|
55
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
56
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
57
|
+
})), keys.push.apply(keys, symbols);
|
|
63
58
|
}
|
|
64
59
|
|
|
65
60
|
return keys;
|
|
@@ -67,19 +62,12 @@ function ownKeys(object, enumerableOnly) {
|
|
|
67
62
|
|
|
68
63
|
function _objectSpread2(target) {
|
|
69
64
|
for (var i = 1; i < arguments.length; i++) {
|
|
70
|
-
var source = arguments[i]
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} else if (Object.getOwnPropertyDescriptors) {
|
|
77
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
78
|
-
} else {
|
|
79
|
-
ownKeys(Object(source)).forEach(function (key) {
|
|
80
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
81
|
-
});
|
|
82
|
-
}
|
|
65
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
66
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
67
|
+
_defineProperty(target, key, source[key]);
|
|
68
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
69
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
70
|
+
});
|
|
83
71
|
}
|
|
84
72
|
|
|
85
73
|
return target;
|
|
@@ -140,6 +128,9 @@ function _defineProperties(target, props) {
|
|
|
140
128
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
141
129
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
142
130
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
131
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
132
|
+
writable: false
|
|
133
|
+
});
|
|
143
134
|
return Constructor;
|
|
144
135
|
}
|
|
145
136
|
|
|
@@ -163,12 +154,15 @@ function _inherits(subClass, superClass) {
|
|
|
163
154
|
throw new TypeError("Super expression must either be null or a function");
|
|
164
155
|
}
|
|
165
156
|
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
157
|
+
Object.defineProperty(subClass, "prototype", {
|
|
158
|
+
value: Object.create(superClass && superClass.prototype, {
|
|
159
|
+
constructor: {
|
|
160
|
+
value: subClass,
|
|
161
|
+
writable: true,
|
|
162
|
+
configurable: true
|
|
163
|
+
}
|
|
164
|
+
}),
|
|
165
|
+
writable: false
|
|
172
166
|
});
|
|
173
167
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
174
168
|
}
|
|
@@ -248,7 +242,7 @@ function _superPropBase(object, property) {
|
|
|
248
242
|
return object;
|
|
249
243
|
}
|
|
250
244
|
|
|
251
|
-
function _get(
|
|
245
|
+
function _get() {
|
|
252
246
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
253
247
|
_get = Reflect.get;
|
|
254
248
|
} else {
|
|
@@ -259,14 +253,14 @@ function _get(target, property, receiver) {
|
|
|
259
253
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
260
254
|
|
|
261
255
|
if (desc.get) {
|
|
262
|
-
return desc.get.call(receiver);
|
|
256
|
+
return desc.get.call(arguments.length < 3 ? target : receiver);
|
|
263
257
|
}
|
|
264
258
|
|
|
265
259
|
return desc.value;
|
|
266
260
|
};
|
|
267
261
|
}
|
|
268
262
|
|
|
269
|
-
return _get(
|
|
263
|
+
return _get.apply(this, arguments);
|
|
270
264
|
}
|
|
271
265
|
|
|
272
266
|
function _slicedToArray(arr, i) {
|
|
@@ -1674,7 +1668,7 @@ function WiggleConfigFactory(pluginManager) {
|
|
|
1674
1668
|
|
|
1675
1669
|
function toP() {
|
|
1676
1670
|
var s = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
1677
|
-
return
|
|
1671
|
+
return +(+s).toPrecision(6);
|
|
1678
1672
|
}
|
|
1679
1673
|
|
|
1680
1674
|
function round(value) {
|
|
@@ -1700,8 +1694,7 @@ var useStyles = /*#__PURE__*/core.makeStyles(function (theme) {
|
|
|
1700
1694
|
fontSize: theme.typography.pxToRem(10),
|
|
1701
1695
|
lineHeight: "".concat(round(14 / 10), "em"),
|
|
1702
1696
|
maxWidth: 300,
|
|
1703
|
-
wordWrap: 'break-word'
|
|
1704
|
-
fontWeight: theme.typography.fontWeightMedium
|
|
1697
|
+
wordWrap: 'break-word'
|
|
1705
1698
|
},
|
|
1706
1699
|
hoverVertical: {
|
|
1707
1700
|
background: '#333',
|