oncoprintjs 6.1.2 → 6.1.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.
@@ -1,13 +1,13 @@
1
1
 
2
- > oncoprintjs@6.1.2 build /home/runner/work/cbioportal-frontend/cbioportal-frontend/packages/oncoprintjs
2
+ > oncoprintjs@6.1.3 build /home/runner/work/cbioportal-frontend/cbioportal-frontend/packages/oncoprintjs
3
3
  > cross-env NODE_ENV=production NODE_OPTIONS=--max-old-space-size=2048 pnpm run rollup
4
4
 
5
5
 
6
- > oncoprintjs@6.1.2 rollup /home/runner/work/cbioportal-frontend/cbioportal-frontend/packages/oncoprintjs
6
+ > oncoprintjs@6.1.3 rollup /home/runner/work/cbioportal-frontend/cbioportal-frontend/packages/oncoprintjs
7
7
  > rollup -c rollup.config.ts
8
8
 
9
9
  
10
10
  src/index.tsx → dist/index.js, dist/index.es.js...
11
11
  (!) Circular dependency
12
12
  src/js/oncoprinttrackoptionsview.ts -> src/js/oncoprintheaderview.ts -> src/js/oncoprinttrackoptionsview.ts
13
- created dist/index.js, dist/index.es.js in 20.2s
13
+ created dist/index.js, dist/index.es.js in 20.6s
package/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { __awaiter, __generator, __spreadArray, __extends } from 'tslib';
1
+ import { __awaiter, __generator, __spreadArray, __extends as __extends$1 } from 'tslib';
2
2
  import $$2 from 'jquery';
3
3
  import _, { isNumber } from 'lodash';
4
4
  import gl_matrix from 'gl-matrix';
@@ -4233,6 +4233,42 @@ function getNumWebGLVertexes(shape) {
4233
4233
  return ret;
4234
4234
  }
4235
4235
 
4236
+ /******************************************************************************
4237
+ Copyright (c) Microsoft Corporation.
4238
+
4239
+ Permission to use, copy, modify, and/or distribute this software for any
4240
+ purpose with or without fee is hereby granted.
4241
+
4242
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
4243
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4244
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
4245
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
4246
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4247
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4248
+ PERFORMANCE OF THIS SOFTWARE.
4249
+ ***************************************************************************** */
4250
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
4251
+
4252
+ var extendStatics = function(d, b) {
4253
+ extendStatics = Object.setPrototypeOf ||
4254
+ ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
4255
+ function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
4256
+ return extendStatics(d, b);
4257
+ };
4258
+
4259
+ function __extends(d, b) {
4260
+ if (typeof b !== "function" && b !== null)
4261
+ throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
4262
+ extendStatics(d, b);
4263
+ function __() { this.constructor = d; }
4264
+ d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
4265
+ }
4266
+
4267
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
4268
+ var e = new Error(message);
4269
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
4270
+ };
4271
+
4236
4272
  var default_parameter_values = {
4237
4273
  width: 100,
4238
4274
  height: 100,
@@ -8312,7 +8348,7 @@ var RuleSet = /** @class */ (function () {
8312
8348
  return RuleSet;
8313
8349
  }());
8314
8350
  var LookupRuleSet = /** @class */ (function (_super) {
8315
- __extends(LookupRuleSet, _super);
8351
+ __extends$1(LookupRuleSet, _super);
8316
8352
  function LookupRuleSet() {
8317
8353
  var _this = _super !== null && _super.apply(this, arguments) || this;
8318
8354
  Object.defineProperty(_this, "lookup_map_by_key_and_value", {
@@ -8432,7 +8468,7 @@ var LookupRuleSet = /** @class */ (function (_super) {
8432
8468
  return LookupRuleSet;
8433
8469
  }(RuleSet));
8434
8470
  var ConditionRuleSet = /** @class */ (function (_super) {
8435
- __extends(ConditionRuleSet, _super);
8471
+ __extends$1(ConditionRuleSet, _super);
8436
8472
  function ConditionRuleSet(params, omitNArule) {
8437
8473
  var _this = _super.call(this, params) || this;
8438
8474
  Object.defineProperty(_this, "rule_id_to_condition", {
@@ -8493,7 +8529,7 @@ var ConditionRuleSet = /** @class */ (function (_super) {
8493
8529
  return ConditionRuleSet;
8494
8530
  }(RuleSet));
8495
8531
  var CategoricalRuleSet = /** @class */ (function (_super) {
8496
- __extends(CategoricalRuleSet, _super);
8532
+ __extends$1(CategoricalRuleSet, _super);
8497
8533
  function CategoricalRuleSet(params, omitNArule) {
8498
8534
  var _this = _super.call(this, params) || this;
8499
8535
  Object.defineProperty(_this, "category_key", {
@@ -8599,7 +8635,7 @@ var LinearInterpRangeType;
8599
8635
  LinearInterpRangeType["NON_POSITIVE"] = "NON_POSITIVE";
8600
8636
  })(LinearInterpRangeType || (LinearInterpRangeType = {}));
8601
8637
  var LinearInterpRuleSet = /** @class */ (function (_super) {
8602
- __extends(LinearInterpRuleSet, _super);
8638
+ __extends$1(LinearInterpRuleSet, _super);
8603
8639
  function LinearInterpRuleSet(params) {
8604
8640
  var _this = _super.call(this, params) || this;
8605
8641
  Object.defineProperty(_this, "value_key", {
@@ -8764,7 +8800,7 @@ var LinearInterpRuleSet = /** @class */ (function (_super) {
8764
8800
  return LinearInterpRuleSet;
8765
8801
  }(ConditionRuleSet));
8766
8802
  var GradientRuleSet = /** @class */ (function (_super) {
8767
- __extends(GradientRuleSet, _super);
8803
+ __extends$1(GradientRuleSet, _super);
8768
8804
  function GradientRuleSet(params) {
8769
8805
  var _a;
8770
8806
  var _this = _super.call(this, params) || this;
@@ -8910,7 +8946,7 @@ var GradientRuleSet = /** @class */ (function (_super) {
8910
8946
  return GradientRuleSet;
8911
8947
  }(LinearInterpRuleSet));
8912
8948
  var BarRuleSet = /** @class */ (function (_super) {
8913
- __extends(BarRuleSet, _super);
8949
+ __extends$1(BarRuleSet, _super);
8914
8950
  function BarRuleSet(params) {
8915
8951
  var _this = _super.call(this, params) || this;
8916
8952
  Object.defineProperty(_this, "fill", {
@@ -9039,7 +9075,7 @@ var BarRuleSet = /** @class */ (function (_super) {
9039
9075
  return BarRuleSet;
9040
9076
  }(LinearInterpRuleSet));
9041
9077
  var StackedBarRuleSet = /** @class */ (function (_super) {
9042
- __extends(StackedBarRuleSet, _super);
9078
+ __extends$1(StackedBarRuleSet, _super);
9043
9079
  function StackedBarRuleSet(params) {
9044
9080
  var _this = _super.call(this, params) || this;
9045
9081
  var value_key = params.value_key;
@@ -9101,7 +9137,7 @@ var StackedBarRuleSet = /** @class */ (function (_super) {
9101
9137
  return StackedBarRuleSet;
9102
9138
  }(ConditionRuleSet));
9103
9139
  var GeneticAlterationRuleSet = /** @class */ (function (_super) {
9104
- __extends(GeneticAlterationRuleSet, _super);
9140
+ __extends$1(GeneticAlterationRuleSet, _super);
9105
9141
  function GeneticAlterationRuleSet(params) {
9106
9142
  var _this = _super.call(this, params) || this;
9107
9143
  _this.addRulesFromParams(params);
@@ -9246,7 +9282,7 @@ var Rule = /** @class */ (function () {
9246
9282
  return Rule;
9247
9283
  }());
9248
9284
  var GradientCategoricalRuleSet = /** @class */ (function (_super) {
9249
- __extends(GradientCategoricalRuleSet, _super);
9285
+ __extends$1(GradientCategoricalRuleSet, _super);
9250
9286
  function GradientCategoricalRuleSet(params) {
9251
9287
  var _this = _super.call(this, params) || this;
9252
9288
  Object.defineProperty(_this, "gradientRuleSet", {