react-mutation-mapper 0.8.59 → 0.8.61

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.
Files changed (35) hide show
  1. package/dist/component/ptm/PtmReferenceList.d.ts +1 -0
  2. package/dist/index.d.ts +0 -12
  3. package/dist/index.es.js +179 -1840
  4. package/dist/index.es.js.map +1 -1
  5. package/dist/index.js +190 -1875
  6. package/dist/index.js.map +1 -1
  7. package/dist/styles.css +0 -229
  8. package/package.json +5 -4
  9. package/dist/component/oncokb/ArticleAbstractItem.d.ts +0 -5
  10. package/dist/component/oncokb/OncoKB.d.ts +0 -33
  11. package/dist/component/oncokb/OncoKB.spec.d.ts +0 -1
  12. package/dist/component/oncokb/OncoKBSuggestAnnotationLinkout.d.ts +0 -6
  13. package/dist/component/oncokb/OncoKbCard.d.ts +0 -20
  14. package/dist/component/oncokb/OncoKbCardBody.d.ts +0 -15
  15. package/dist/component/oncokb/OncoKbCardLevelsOfEvidenceDropdown.d.ts +0 -15
  16. package/dist/component/oncokb/OncoKbCardTitle.d.ts +0 -8
  17. package/dist/component/oncokb/OncoKbFeedback.d.ts +0 -12
  18. package/dist/component/oncokb/OncoKbHelper.d.ts +0 -33
  19. package/dist/component/oncokb/OncoKbSummaryTable.d.ts +0 -31
  20. package/dist/component/oncokb/OncoKbTooltip.d.ts +0 -21
  21. package/dist/component/oncokb/OncoKbTreatmentTable.d.ts +0 -86
  22. package/dist/component/oncokb/PmidItem.d.ts +0 -12
  23. package/dist/component/oncokb/RefComponent.d.ts +0 -9
  24. package/dist/component/oncokb/ReferenceList.d.ts +0 -13
  25. package/dist/component/oncokb/SummaryWithRefs.d.ts +0 -11
  26. package/dist/component/oncokb/constants.d.ts +0 -10
  27. package/dist/component/oncokb/icon/AnnotationIcon.d.ts +0 -13
  28. package/dist/component/oncokb/icon/CompactAnnotationIcon.d.ts +0 -8
  29. package/dist/component/oncokb/icon/LevelIcon.d.ts +0 -6
  30. package/dist/component/oncokb/icon/OncogenicIcon.d.ts +0 -6
  31. package/dist/component/oncokb/oncokbCard/BiologicalContent.d.ts +0 -8
  32. package/dist/component/oncokb/oncokbCard/EvidenceReferenceContent.d.ts +0 -9
  33. package/dist/component/oncokb/oncokbCard/ImplicationContent.d.ts +0 -11
  34. package/dist/util/OncoKbUtils.d.ts +0 -40
  35. package/dist/util/OncoKbUtils.spec.d.ts +0 -1
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- import { Citations } from 'oncokb-ts-api-client';
3
- import { ICache } from '../../../model/SimpleCache';
4
- export declare const BiologicalContent: React.FunctionComponent<{
5
- biologicalSummary: string;
6
- mutationEffectCitations: Citations;
7
- pmidData: ICache;
8
- }>;
@@ -1,9 +0,0 @@
1
- import React from 'react';
2
- import { Citations } from 'oncokb-ts-api-client';
3
- import { ICache } from '../../../model/SimpleCache';
4
- export declare const EvidenceReferenceContent: React.FunctionComponent<{
5
- description?: string;
6
- citations?: Citations;
7
- noInfoDisclaimer?: string;
8
- pmidData?: ICache;
9
- }>;
@@ -1,11 +0,0 @@
1
- import { Implication } from 'oncokb-ts-api-client';
2
- import * as React from 'react';
3
- import { ICache } from '../../../model/SimpleCache';
4
- declare type ImplicationContentProps = {
5
- variant: string;
6
- summary: string;
7
- implications: Implication[];
8
- pmidData: ICache;
9
- };
10
- export declare const ImplicationContent: React.FunctionComponent<ImplicationContentProps>;
11
- export {};
@@ -1,40 +0,0 @@
1
- import { IOncoKbData, Mutation, OncoKbCardDataType } from 'cbioportal-utils';
2
- import { IndicatorQueryResp, TumorType } from 'oncokb-ts-api-client';
3
- export declare function normalizeLevel(level: string | null): string | null;
4
- export declare function normalizeOncogenicity(oncogenicity?: string): string;
5
- export declare function oncogenicXPosition(highestSensitiveLevel: string | null): number;
6
- export declare function oncogenicYPosition(oncogenicity: string, isVUS: boolean, resistanceLevel: string | null): number;
7
- export declare function levelIconClassNames(level: string): string;
8
- export declare function oncogenicityIconClassNames(oncogenicity: string): string;
9
- export declare function annotationIconClassNames(type: OncoKbCardDataType, highestLevel: string, indicator?: IndicatorQueryResp): string;
10
- export declare function calcHighestIndicatorLevel(type: OncoKbCardDataType, indicator?: IndicatorQueryResp): string;
11
- export declare function calcOncogenicScore(oncogenic: string): number;
12
- export declare function calcSensitivityLevelScore(level: string): number;
13
- export declare function calcResistanceLevelScore(level: string): number;
14
- export declare function calcDiagnosticLevelScore(level: string): number;
15
- export declare function calcPrognosticLevelScore(level: string): number;
16
- export declare function generateOncogenicCitations(oncogenicRefs: any): number[];
17
- export declare function levelComparator(a: string, b: string): 1 | -1;
18
- /**
19
- * Return combined alterations name, separated by comma.
20
- * Same location variant will be truncated into AALocationAllele e.g. V600E/K
21
- *
22
- * @param {Array} alterations - List of alterations
23
- * @return {string} - Truncated alteration name
24
- */
25
- export declare function mergeAlterations(alterations: string | string[]): string;
26
- /**
27
- * Return the positional variant of the missense mutation
28
- * @param alteration The missense mutation
29
- */
30
- export declare function getPositionalVariant(alteration: string): string | undefined;
31
- export declare function getTumorTypeName(tumorType?: TumorType): string;
32
- export declare function getTumorTypeNameWithExclusionInfo(tumorType?: TumorType, excludedTumorTypes?: TumorType[]): string;
33
- export declare function groupOncoKbIndicatorDataByMutations(mutationsByPosition: {
34
- [pos: number]: Mutation[];
35
- }, oncoKbData: IOncoKbData, getTumorType: (mutation: Mutation) => string, getEntrezGeneId: (mutation: Mutation) => number, filter?: (indicator: IndicatorQueryResp) => boolean): {
36
- [pos: number]: IndicatorQueryResp[];
37
- };
38
- export declare function getIndicatorData(mutation: Mutation, oncoKbData: IOncoKbData, getTumorType: (mutation: Mutation) => string, getEntrezGeneId: (mutation: Mutation) => number): IndicatorQueryResp | undefined;
39
- export declare function defaultOncoKbIndicatorFilter(indicator: IndicatorQueryResp): boolean;
40
- export declare function defaultOncoKbFilter(mutation: Mutation, oncoKbData?: IOncoKbData, getTumorType?: (mutation: Mutation) => string, getEntrezGeneId?: (mutation: Mutation) => number): boolean;
@@ -1 +0,0 @@
1
- export {};