react-mutation-mapper 0.8.77 → 0.8.78
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/index.js
CHANGED
|
@@ -2402,8 +2402,10 @@ var ProteinImpactTypeBadgeSelector = /** @class */ (function (_super) {
|
|
|
2402
2402
|
backgroundColor: _this.proteinImpactTypeColors[value],
|
|
2403
2403
|
},
|
|
2404
2404
|
}); }).filter(function (type) {
|
|
2405
|
-
|
|
2406
|
-
|
|
2405
|
+
var _a;
|
|
2406
|
+
return !(((_a = _this.props.excludedProteinTypes) === null || _a === void 0 ? void 0 : _a.includes(type.value)) ||
|
|
2407
|
+
(type.value === cbioportalFrontendCommons.ProteinImpactType.OTHER &&
|
|
2408
|
+
type.badgeContent === 0));
|
|
2407
2409
|
});
|
|
2408
2410
|
},
|
|
2409
2411
|
enumerable: false,
|
|
@@ -2414,7 +2416,8 @@ var ProteinImpactTypeBadgeSelector = /** @class */ (function (_super) {
|
|
|
2414
2416
|
configurable: true,
|
|
2415
2417
|
writable: true,
|
|
2416
2418
|
value: function () {
|
|
2417
|
-
return (React__namespace.createElement(
|
|
2419
|
+
return (React__namespace.createElement("table", null,
|
|
2420
|
+
React__namespace.createElement(BadgeSelector, tslib.__assign({ options: this.options, getOptionLabel: getProteinImpactTypeOptionLabel, getBadgeLabel: getProteinImpactTypeBadgeLabel, useOnlyFeature: true }, this.props))));
|
|
2418
2421
|
}
|
|
2419
2422
|
});
|
|
2420
2423
|
Object.defineProperty(ProteinImpactTypeBadgeSelector, "defaultProps", {
|
|
@@ -2476,7 +2479,8 @@ var MutationStatusBadgeSelector = /** @class */ (function (_super) {
|
|
|
2476
2479
|
configurable: true,
|
|
2477
2480
|
writable: true,
|
|
2478
2481
|
value: function () {
|
|
2479
|
-
return React__namespace.createElement(
|
|
2482
|
+
return (React__namespace.createElement("table", null,
|
|
2483
|
+
React__namespace.createElement(BadgeSelector, tslib.__assign({ options: this.options }, this.props))));
|
|
2480
2484
|
}
|
|
2481
2485
|
});
|
|
2482
2486
|
Object.defineProperty(MutationStatusBadgeSelector, "defaultProps", {
|