react-mutation-mapper 0.8.101 → 0.8.103
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/component/civic/CivicCard.spec.d.ts +1 -3
- package/dist/index.es.js +12 -12
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +12 -12
- package/dist/index.js.map +1 -1
- package/dist/store/DefaultMutationMapperFilterApplier.d.ts +1 -1
- package/dist/store/DefaultMutationMapperStore.d.ts +2 -2
- package/package.json +5 -6
package/dist/index.js
CHANGED
|
@@ -27,7 +27,6 @@ var oncoKbImg = require('oncokb-styles/dist/images/oncogenic.svg');
|
|
|
27
27
|
require('oncokb-frontend-commons/dist/styles.css');
|
|
28
28
|
var request = require('superagent');
|
|
29
29
|
var memoize = require('memoize-weak-decorator');
|
|
30
|
-
var mobxpromise = require('mobxpromise');
|
|
31
30
|
|
|
32
31
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
33
32
|
|
|
@@ -100,15 +99,16 @@ var CivicCard = /** @class */ (function (_super) {
|
|
|
100
99
|
else {
|
|
101
100
|
for (var name_1 in variantMap) {
|
|
102
101
|
var variant = variantMap[name_1];
|
|
103
|
-
var entryTypes =
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
102
|
+
var entryTypes = Object.entries(variant.evidenceCounts)
|
|
103
|
+
.filter(function (_a) {
|
|
104
|
+
_a[0]; var value = _a[1];
|
|
105
|
+
return value !== 0;
|
|
106
|
+
})
|
|
107
|
+
.map(function (_a) {
|
|
108
|
+
var key = _a[0], value = _a[1];
|
|
109
|
+
return key.slice(0, -5) + ": " + value;
|
|
110
|
+
}) // Remove "Count" substring from key
|
|
111
|
+
.join(', ');
|
|
112
112
|
list.push(this.variantItem(name_1, variant.url, variant.name, entryTypes, variant.description));
|
|
113
113
|
}
|
|
114
114
|
}
|
|
@@ -10304,7 +10304,7 @@ var DefaultMutationMapperStore = /** @class */ (function () {
|
|
|
10304
10304
|
invoke: function () { return tslib.__awaiter(_this, void 0, void 0, function () {
|
|
10305
10305
|
return tslib.__generator(this, function (_a) {
|
|
10306
10306
|
return [2 /*return*/, this.config.enableCivic
|
|
10307
|
-
? cbioportalUtils.fetchCivicGenes(this.mutationData.result || []
|
|
10307
|
+
? cbioportalUtils.fetchCivicGenes(this.mutationData.result || [])
|
|
10308
10308
|
: {}];
|
|
10309
10309
|
});
|
|
10310
10310
|
}); },
|
|
@@ -10743,7 +10743,7 @@ var DefaultMutationMapperStore = /** @class */ (function () {
|
|
|
10743
10743
|
mobx.computed
|
|
10744
10744
|
], DefaultMutationMapperStore.prototype, "annotationFields", null);
|
|
10745
10745
|
tslib.__decorate([
|
|
10746
|
-
|
|
10746
|
+
cbioportalFrontendCommons.cached,
|
|
10747
10747
|
mobx.computed
|
|
10748
10748
|
], DefaultMutationMapperStore.prototype, "dataStore", null);
|
|
10749
10749
|
tslib.__decorate([
|