react-mutation-mapper 0.8.25 → 0.8.29
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/column/Annotation.d.ts +2 -0
- package/dist/component/oncokb/AnnotationIcon.d.ts +4 -1
- package/dist/component/oncokb/CompactAnnotationIcon.d.ts +8 -0
- package/dist/component/oncokb/OncoKB.d.ts +4 -0
- package/dist/component/oncokb/OncoKbCard.d.ts +1 -0
- package/dist/component/oncokb/OncoKbCardBody.d.ts +1 -0
- package/dist/index.es.js +322 -130
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +321 -129
- package/dist/index.js.map +1 -1
- package/dist/util/OncoKbUtils.d.ts +4 -1
- package/package.json +6 -6
|
@@ -11,6 +11,7 @@ export declare type AnnotationProps = {
|
|
|
11
11
|
oncoKbData?: RemoteData<IOncoKbData | Error | undefined>;
|
|
12
12
|
oncoKbCancerGenes?: RemoteData<CancerGene[] | Error | undefined>;
|
|
13
13
|
usingPublicOncoKbInstance: boolean;
|
|
14
|
+
mergeOncoKbIcons?: boolean;
|
|
14
15
|
pubMedCache?: MobxCache;
|
|
15
16
|
resolveEntrezGeneId?: (mutation: Mutation) => number;
|
|
16
17
|
resolveTumorType?: (mutation: Mutation) => string;
|
|
@@ -25,6 +26,7 @@ export declare type GenericAnnotationProps = {
|
|
|
25
26
|
enableHotspot: boolean;
|
|
26
27
|
enableMyCancerGenome: boolean;
|
|
27
28
|
enableOncoKb: boolean;
|
|
29
|
+
mergeOncoKbIcons?: boolean;
|
|
28
30
|
pubMedCache?: MobxCache;
|
|
29
31
|
userEmailAddress?: string;
|
|
30
32
|
};
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { OncoKbCardDataType } from 'cbioportal-utils';
|
|
3
3
|
import { IndicatorQueryResp } from 'oncokb-ts-api-client';
|
|
4
|
-
export declare function hideArrow(tooltipEl: any): void;
|
|
5
4
|
export declare const AnnotationIcon: React.FunctionComponent<{
|
|
6
5
|
type: OncoKbCardDataType;
|
|
7
6
|
tooltipOverlay?: JSX.Element;
|
|
8
7
|
indicator?: IndicatorQueryResp;
|
|
9
8
|
availableDataTypes?: OncoKbCardDataType[];
|
|
10
9
|
}>;
|
|
10
|
+
export declare const AnnotationIconWithTooltip: React.FunctionComponent<{
|
|
11
|
+
tooltipOverlay?: JSX.Element;
|
|
12
|
+
icon?: JSX.Element;
|
|
13
|
+
}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { OncoKbCardDataType } from 'cbioportal-utils';
|
|
3
|
+
import { IndicatorQueryResp } from 'oncokb-ts-api-client';
|
|
4
|
+
export declare const CompactAnnotationIcon: React.FunctionComponent<{
|
|
5
|
+
usingPublicOncoKbInstance: boolean;
|
|
6
|
+
indicator?: IndicatorQueryResp;
|
|
7
|
+
availableDataTypes?: OncoKbCardDataType[];
|
|
8
|
+
}>;
|
|
@@ -7,6 +7,7 @@ export interface IOncoKbProps {
|
|
|
7
7
|
status: 'pending' | 'error' | 'complete';
|
|
8
8
|
indicator?: IndicatorQueryResp;
|
|
9
9
|
availableDataTypes?: OncoKbCardDataType[];
|
|
10
|
+
mergeAnnotationIcons?: boolean;
|
|
10
11
|
pubMedCache?: MobxCache;
|
|
11
12
|
usingPublicOncoKbInstance: boolean;
|
|
12
13
|
isCancerGene: boolean;
|
|
@@ -22,6 +23,9 @@ export default class OncoKB extends React.Component<IOncoKbProps, {}> {
|
|
|
22
23
|
showFeedback: boolean;
|
|
23
24
|
tooltipDataLoadComplete: boolean;
|
|
24
25
|
render(): JSX.Element;
|
|
26
|
+
private multiAnnotationIcon;
|
|
27
|
+
private levelIcons;
|
|
28
|
+
private singleAnnotationIcon;
|
|
25
29
|
private tooltipContent;
|
|
26
30
|
private handleFeedbackOpen;
|
|
27
31
|
private handleFeedbackClose;
|
|
@@ -10,6 +10,7 @@ export declare type OncoKbCardProps = {
|
|
|
10
10
|
usingPublicOncoKbInstance: boolean;
|
|
11
11
|
pmidData: ICache;
|
|
12
12
|
indicator?: IndicatorQueryResp;
|
|
13
|
+
displayHighestLevelInTabTitle?: boolean;
|
|
13
14
|
handleFeedbackOpen?: React.EventHandler<any>;
|
|
14
15
|
};
|
|
15
16
|
export default class OncoKbCard extends React.Component<OncoKbCardProps> {
|
|
@@ -10,5 +10,6 @@ export declare type OncoKbCardBodyProps = {
|
|
|
10
10
|
pmidData: ICache;
|
|
11
11
|
indicator?: IndicatorQueryResp;
|
|
12
12
|
usingPublicOncoKbInstance: boolean;
|
|
13
|
+
displayHighestLevelInTabTitle?: boolean;
|
|
13
14
|
};
|
|
14
15
|
export declare const OncoKbCardBody: React.FunctionComponent<OncoKbCardBodyProps>;
|