@jbrowse/plugin-variants 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/VcfTabixAdapter/VcfTabixAdapter.d.ts +2 -2
- package/dist/plugin-variants.cjs.development.js +27 -31
- package/dist/plugin-variants.cjs.development.js.map +1 -1
- package/dist/plugin-variants.cjs.production.min.js +1 -1
- package/dist/plugin-variants.cjs.production.min.js.map +1 -1
- package/dist/plugin-variants.esm.js +27 -31
- package/dist/plugin-variants.esm.js.map +1 -1
- package/package.json +5 -5
- package/src/VariantFeatureWidget/VariantFeatureWidget.tsx +1 -1
- package/src/VariantFeatureWidget/__snapshots__/VariantFeatureWidget.test.js.snap +1 -0
- package/src/VcfAdapter/VcfAdapter.ts +1 -1
- package/src/VcfTabixAdapter/VcfTabixAdapter.ts +1 -1
- package/src/declare.d.ts +0 -2
|
@@ -34,14 +34,9 @@ function ownKeys(object, enumerableOnly) {
|
|
|
34
34
|
|
|
35
35
|
if (Object.getOwnPropertySymbols) {
|
|
36
36
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
41
|
-
});
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
keys.push.apply(keys, symbols);
|
|
37
|
+
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
38
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
39
|
+
})), keys.push.apply(keys, symbols);
|
|
45
40
|
}
|
|
46
41
|
|
|
47
42
|
return keys;
|
|
@@ -49,19 +44,12 @@ function ownKeys(object, enumerableOnly) {
|
|
|
49
44
|
|
|
50
45
|
function _objectSpread2(target) {
|
|
51
46
|
for (var i = 1; i < arguments.length; i++) {
|
|
52
|
-
var source = arguments[i]
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
} else if (Object.getOwnPropertyDescriptors) {
|
|
59
|
-
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
|
|
60
|
-
} else {
|
|
61
|
-
ownKeys(Object(source)).forEach(function (key) {
|
|
62
|
-
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
63
|
-
});
|
|
64
|
-
}
|
|
47
|
+
var source = null != arguments[i] ? arguments[i] : {};
|
|
48
|
+
i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
|
|
49
|
+
_defineProperty(target, key, source[key]);
|
|
50
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
|
|
51
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
52
|
+
});
|
|
65
53
|
}
|
|
66
54
|
|
|
67
55
|
return target;
|
|
@@ -122,6 +110,9 @@ function _defineProperties(target, props) {
|
|
|
122
110
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
123
111
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
124
112
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
113
|
+
Object.defineProperty(Constructor, "prototype", {
|
|
114
|
+
writable: false
|
|
115
|
+
});
|
|
125
116
|
return Constructor;
|
|
126
117
|
}
|
|
127
118
|
|
|
@@ -145,12 +136,15 @@ function _inherits(subClass, superClass) {
|
|
|
145
136
|
throw new TypeError("Super expression must either be null or a function");
|
|
146
137
|
}
|
|
147
138
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
139
|
+
Object.defineProperty(subClass, "prototype", {
|
|
140
|
+
value: Object.create(superClass && superClass.prototype, {
|
|
141
|
+
constructor: {
|
|
142
|
+
value: subClass,
|
|
143
|
+
writable: true,
|
|
144
|
+
configurable: true
|
|
145
|
+
}
|
|
146
|
+
}),
|
|
147
|
+
writable: false
|
|
154
148
|
});
|
|
155
149
|
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
156
150
|
}
|
|
@@ -266,7 +260,7 @@ function _superPropBase(object, property) {
|
|
|
266
260
|
return object;
|
|
267
261
|
}
|
|
268
262
|
|
|
269
|
-
function _get(
|
|
263
|
+
function _get() {
|
|
270
264
|
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
271
265
|
_get = Reflect.get;
|
|
272
266
|
} else {
|
|
@@ -277,14 +271,14 @@ function _get(target, property, receiver) {
|
|
|
277
271
|
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
278
272
|
|
|
279
273
|
if (desc.get) {
|
|
280
|
-
return desc.get.call(receiver);
|
|
274
|
+
return desc.get.call(arguments.length < 3 ? target : receiver);
|
|
281
275
|
}
|
|
282
276
|
|
|
283
277
|
return desc.value;
|
|
284
278
|
};
|
|
285
279
|
}
|
|
286
280
|
|
|
287
|
-
return _get(
|
|
281
|
+
return _get.apply(this, arguments);
|
|
288
282
|
}
|
|
289
283
|
|
|
290
284
|
function _slicedToArray(arr, i) {
|
|
@@ -2894,7 +2888,9 @@ function VariantFeatureDetails(props) {
|
|
|
2894
2888
|
}, props)), /*#__PURE__*/React.createElement(Divider, null), feat.type === 'breakend' ? /*#__PURE__*/React.createElement(BreakendPanel, {
|
|
2895
2889
|
feature: feat,
|
|
2896
2890
|
locStrings: feat.ALT.map(function (alt) {
|
|
2897
|
-
|
|
2891
|
+
var _parseBreakend;
|
|
2892
|
+
|
|
2893
|
+
return ((_parseBreakend = parseBreakend(alt)) === null || _parseBreakend === void 0 ? void 0 : _parseBreakend.MatePosition) || '';
|
|
2898
2894
|
}),
|
|
2899
2895
|
model: model
|
|
2900
2896
|
}) : null, feat.type === 'translocation' ? /*#__PURE__*/React.createElement(BreakendPanel, {
|