@jbrowse/plugin-circular-view 1.4.4 → 1.5.3
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/BaseChordDisplay/models/BaseChordDisplayModel.d.ts +7 -9
- package/dist/CircularView/models/CircularView.d.ts +1 -1
- package/dist/plugin-circular-view.cjs.development.js +21 -22
- package/dist/plugin-circular-view.cjs.development.js.map +1 -1
- package/dist/plugin-circular-view.cjs.production.min.js +1 -1
- package/dist/plugin-circular-view.cjs.production.min.js.map +1 -1
- package/dist/plugin-circular-view.esm.js +21 -22
- package/dist/plugin-circular-view.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/BaseChordDisplay/models/BaseChordDisplayModel.ts +3 -9
- package/src/CircularView/models/CircularView.ts +4 -6
- package/src/index.ts +1 -1
|
@@ -228,6 +228,8 @@ function _assertThisInitialized(self) {
|
|
|
228
228
|
function _possibleConstructorReturn(self, call) {
|
|
229
229
|
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
230
230
|
return call;
|
|
231
|
+
} else if (call !== void 0) {
|
|
232
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
231
233
|
}
|
|
232
234
|
|
|
233
235
|
return _assertThisInitialized(self);
|
|
@@ -1506,11 +1508,9 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
1506
1508
|
|
|
1507
1509
|
|
|
1508
1510
|
var IteratorPrototype = {};
|
|
1509
|
-
|
|
1510
|
-
IteratorPrototype[iteratorSymbol] = function () {
|
|
1511
|
+
define(IteratorPrototype, iteratorSymbol, function () {
|
|
1511
1512
|
return this;
|
|
1512
|
-
};
|
|
1513
|
-
|
|
1513
|
+
});
|
|
1514
1514
|
var getProto = Object.getPrototypeOf;
|
|
1515
1515
|
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
1516
1516
|
|
|
@@ -1521,8 +1521,9 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
1521
1521
|
}
|
|
1522
1522
|
|
|
1523
1523
|
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
1524
|
-
GeneratorFunction.prototype =
|
|
1525
|
-
|
|
1524
|
+
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
1525
|
+
define(Gp, "constructor", GeneratorFunctionPrototype);
|
|
1526
|
+
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
1526
1527
|
GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the
|
|
1527
1528
|
// Iterator interface in terms of a single ._invoke method.
|
|
1528
1529
|
|
|
@@ -1627,11 +1628,9 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
1627
1628
|
}
|
|
1628
1629
|
|
|
1629
1630
|
defineIteratorMethods(AsyncIterator.prototype);
|
|
1630
|
-
|
|
1631
|
-
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
|
|
1631
|
+
define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
|
|
1632
1632
|
return this;
|
|
1633
|
-
};
|
|
1634
|
-
|
|
1633
|
+
});
|
|
1635
1634
|
exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of
|
|
1636
1635
|
// AsyncIterator objects; they just return a Promise for the value of
|
|
1637
1636
|
// the final result produced by the iterator.
|
|
@@ -1808,13 +1807,12 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
1808
1807
|
// object to not be returned from this call. This ensures that doesn't happen.
|
|
1809
1808
|
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
1810
1809
|
|
|
1811
|
-
Gp
|
|
1810
|
+
define(Gp, iteratorSymbol, function () {
|
|
1812
1811
|
return this;
|
|
1813
|
-
};
|
|
1814
|
-
|
|
1815
|
-
Gp.toString = function () {
|
|
1812
|
+
});
|
|
1813
|
+
define(Gp, "toString", function () {
|
|
1816
1814
|
return "[object Generator]";
|
|
1817
|
-
};
|
|
1815
|
+
});
|
|
1818
1816
|
|
|
1819
1817
|
function pushTryEntry(locs) {
|
|
1820
1818
|
var entry = {
|
|
@@ -2126,14 +2124,19 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
|
|
|
2126
2124
|
} catch (accidentalStrictMode) {
|
|
2127
2125
|
// This module should not be running in strict mode, so the above
|
|
2128
2126
|
// assignment should always work unless something is misconfigured. Just
|
|
2129
|
-
// in case runtime.js accidentally runs in strict mode,
|
|
2127
|
+
// in case runtime.js accidentally runs in strict mode, in modern engines
|
|
2128
|
+
// we can explicitly access globalThis. In older engines we can escape
|
|
2130
2129
|
// strict mode using a global Function call. This could conceivably fail
|
|
2131
2130
|
// if a Content Security Policy forbids using Function, but in that case
|
|
2132
2131
|
// the proper solution is to fix the accidental strict mode problem. If
|
|
2133
2132
|
// you've misconfigured your bundler to force strict mode and applied a
|
|
2134
2133
|
// CSP to forbid Function, and you're not willing to fix either of those
|
|
2135
2134
|
// problems, please detail your unique predicament in a GitHub issue.
|
|
2136
|
-
|
|
2135
|
+
if (typeof globalThis === "object") {
|
|
2136
|
+
globalThis.regeneratorRuntime = runtime;
|
|
2137
|
+
} else {
|
|
2138
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
2139
|
+
}
|
|
2137
2140
|
}
|
|
2138
2141
|
});
|
|
2139
2142
|
|
|
@@ -2267,7 +2270,6 @@ var BaseChordDisplayModel = /*#__PURE__*/types.compose('BaseChordDisplay', BaseD
|
|
|
2267
2270
|
reactElement: undefined,
|
|
2268
2271
|
data: undefined,
|
|
2269
2272
|
message: '',
|
|
2270
|
-
error: undefined,
|
|
2271
2273
|
renderingComponent: undefined,
|
|
2272
2274
|
refNameMap: undefined
|
|
2273
2275
|
};
|
|
@@ -2419,9 +2421,6 @@ var BaseChordDisplayModel = /*#__PURE__*/types.compose('BaseChordDisplay', BaseD
|
|
|
2419
2421
|
},
|
|
2420
2422
|
setRefNameMap: function setRefNameMap(refNameMap) {
|
|
2421
2423
|
self.refNameMap = refNameMap;
|
|
2422
|
-
},
|
|
2423
|
-
setError: function setError(error) {
|
|
2424
|
-
self.error = error;
|
|
2425
2424
|
}
|
|
2426
2425
|
};
|
|
2427
2426
|
}).actions(function (self) {
|
|
@@ -2528,7 +2527,7 @@ var CircularViewPlugin = /*#__PURE__*/function (_Plugin) {
|
|
|
2528
2527
|
key: "configure",
|
|
2529
2528
|
value: function configure(pluginManager) {
|
|
2530
2529
|
if (isAbstractMenuManager(pluginManager.rootModel)) {
|
|
2531
|
-
pluginManager.rootModel.appendToSubMenu(['
|
|
2530
|
+
pluginManager.rootModel.appendToSubMenu(['Add'], {
|
|
2532
2531
|
label: 'Circular view',
|
|
2533
2532
|
icon: DataUsageIcon,
|
|
2534
2533
|
onClick: function onClick(session) {
|