react-mutation-mapper 0.8.121 → 0.9.2

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 (73) hide show
  1. package/dist/component/clinvar/ClinvarSummary.d.ts +1 -1
  2. package/dist/component/column/Annotation.d.ts +2 -2
  3. package/dist/component/column/ClinvarInterpretation.d.ts +1 -1
  4. package/dist/component/column/ColumnHeader.d.ts +1 -1
  5. package/dist/component/column/Hgvsc.d.ts +1 -1
  6. package/dist/component/column/Hgvsg.d.ts +1 -1
  7. package/dist/component/column/MutationStatus.d.ts +1 -1
  8. package/dist/component/column/MutationType.d.ts +2 -2
  9. package/dist/component/column/MyVariantInfoHelper.d.ts +1 -1
  10. package/dist/component/column/ProteinChange.d.ts +1 -1
  11. package/dist/component/column/Signal.d.ts +2 -2
  12. package/dist/component/dataTable/ColumnSelector.d.ts +2 -2
  13. package/dist/component/dataTable/DataTable.d.ts +4 -4
  14. package/dist/component/dataTable/DataTableToolbar.d.ts +1 -1
  15. package/dist/component/dbsnp/DbsnpId.d.ts +1 -1
  16. package/dist/component/filter/BadgeLabel.d.ts +1 -1
  17. package/dist/component/filter/BadgeSelector.d.ts +2 -2
  18. package/dist/component/filter/DropdownSelector.d.ts +1 -1
  19. package/dist/component/filter/MutationStatusBadgeSelector.d.ts +1 -1
  20. package/dist/component/filter/ProteinImpactTypeBadgeSelector.d.ts +1 -1
  21. package/dist/component/filter/ProteinImpactTypeDropdownSelector.d.ts +1 -1
  22. package/dist/component/gnomad/GnomadFrequency.d.ts +1 -1
  23. package/dist/component/hotspot/HotspotInfo.d.ts +1 -1
  24. package/dist/component/lollipopMutationPlot/DefaultLollipopPlotLegend.d.ts +1 -1
  25. package/dist/component/lollipopMutationPlot/LollipopMutationPlot.d.ts +1 -1
  26. package/dist/component/lollipopMutationPlot/LollipopMutationPlotControls.d.ts +1 -1
  27. package/dist/component/lollipopPlot/Domain.d.ts +1 -1
  28. package/dist/component/lollipopPlot/Lollipop.d.ts +1 -1
  29. package/dist/component/lollipopPlot/LollipopPlot.d.ts +1 -1
  30. package/dist/component/lollipopPlot/LollipopPlotNoTooltip.d.ts +1 -1
  31. package/dist/component/lollipopPlot/Sequence.d.ts +1 -1
  32. package/dist/component/mutationMapper/DefaultMutationRateSummary.d.ts +2 -2
  33. package/dist/component/mutationMapper/FilterResetPanel.d.ts +1 -1
  34. package/dist/component/mutationMapper/GeneSummary.d.ts +1 -1
  35. package/dist/component/mutationMapper/MutationMapper.d.ts +1 -1
  36. package/dist/component/mutationMapper/TranscriptDropdown.d.ts +1 -1
  37. package/dist/component/mutationTable/DefaultMutationTable.d.ts +2 -2
  38. package/dist/component/ptm/PtmAnnotationTable.d.ts +1 -1
  39. package/dist/component/ptm/PtmReferenceList.d.ts +1 -1
  40. package/dist/component/track/ExonTrack.d.ts +1 -1
  41. package/dist/component/track/HotspotTrack.d.ts +1 -1
  42. package/dist/component/track/OncoKbTrack.d.ts +1 -1
  43. package/dist/component/track/OncoKbTrackTooltip.d.ts +1 -1
  44. package/dist/component/track/PtmTrack.d.ts +1 -1
  45. package/dist/component/track/Track.d.ts +1 -1
  46. package/dist/component/track/TrackCircle.d.ts +2 -2
  47. package/dist/component/track/TrackItem.d.ts +2 -2
  48. package/dist/component/track/TrackPanel.d.ts +1 -1
  49. package/dist/component/track/TrackRect.d.ts +2 -2
  50. package/dist/component/track/TrackSelector.d.ts +3 -3
  51. package/dist/component/track/UniprotTopologyTrack.d.ts +1 -1
  52. package/dist/filter/CancerTypeFilter.d.ts +1 -1
  53. package/dist/filter/CategoricalFilter.d.ts +2 -2
  54. package/dist/filter/HotspotFilter.d.ts +1 -1
  55. package/dist/filter/MutationFilter.d.ts +2 -2
  56. package/dist/filter/MutationStatusFilter.d.ts +1 -1
  57. package/dist/filter/NumericalFilter.d.ts +2 -2
  58. package/dist/filter/OncoKbFilter.d.ts +1 -1
  59. package/dist/filter/PositionFilter.d.ts +1 -1
  60. package/dist/filter/ProteinChangeFilter.d.ts +1 -1
  61. package/dist/filter/ProteinImpactTypeFilter.d.ts +1 -1
  62. package/dist/index.es.js +97 -79
  63. package/dist/index.es.js.map +1 -1
  64. package/dist/index.js +95 -77
  65. package/dist/index.js.map +1 -1
  66. package/dist/model/DataFilter.d.ts +1 -1
  67. package/dist/model/DomainSpec.d.ts +1 -1
  68. package/dist/model/FilterApplier.d.ts +1 -1
  69. package/dist/model/GnomadSummary.d.ts +1 -1
  70. package/dist/model/LollipopSpec.d.ts +2 -2
  71. package/dist/model/SequenceSpec.d.ts +1 -1
  72. package/dist/store/DefaultMutationMapperDataStore.d.ts +1 -1
  73. package/package.json +9 -9
@@ -1,5 +1,5 @@
1
1
  import { Clinvar } from 'genome-nexus-ts-api-client';
2
- export declare type ClinvarSummaryProps = {
2
+ export type ClinvarSummaryProps = {
3
3
  clinvar?: Clinvar;
4
4
  };
5
5
  declare const ClinvarSummary: (props: ClinvarSummaryProps) => JSX.Element;
@@ -2,7 +2,7 @@ import { ICivicEntry, ICivicGeneIndex, ICivicVariantIndex, IHotspotIndex, IOncoK
2
2
  import { CancerGene, IndicatorQueryResp } from 'oncokb-ts-api-client';
3
3
  import * as React from 'react';
4
4
  import { VariantAnnotation, Vues as VUE } from 'genome-nexus-ts-api-client';
5
- export declare type AnnotationProps = {
5
+ export type AnnotationProps = {
6
6
  mutation?: Mutation;
7
7
  enableOncoKb: boolean;
8
8
  enableHotspot: boolean;
@@ -25,7 +25,7 @@ export declare type AnnotationProps = {
25
25
  userDisplayName?: string;
26
26
  hasMultipleCancerTypes?: boolean;
27
27
  };
28
- export declare type GenericAnnotationProps = {
28
+ export type GenericAnnotationProps = {
29
29
  annotation: IAnnotation;
30
30
  enableCivic: boolean;
31
31
  enableHotspot: boolean;
@@ -1,7 +1,7 @@
1
1
  import { Clinvar, VariantAnnotation } from 'genome-nexus-ts-api-client';
2
2
  import * as React from 'react';
3
3
  import { Mutation, RemoteData } from 'cbioportal-utils';
4
- declare type ClinvarInterpretationProps = {
4
+ type ClinvarInterpretationProps = {
5
5
  mutation: Mutation;
6
6
  indexedVariantAnnotations?: RemoteData<{
7
7
  [genomicLocation: string]: VariantAnnotation;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type ColumnHeaderProps = {
2
+ export type ColumnHeaderProps = {
3
3
  headerContent: string | JSX.Element;
4
4
  overlay?: JSX.Element;
5
5
  className?: string;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Mutation, RemoteData } from 'cbioportal-utils';
3
3
  import { VariantAnnotation } from 'genome-nexus-ts-api-client';
4
- declare type HgvscProps = {
4
+ type HgvscProps = {
5
5
  mutation: Mutation;
6
6
  indexedVariantAnnotations?: RemoteData<{
7
7
  [genomicLocation: string]: VariantAnnotation;
@@ -1,6 +1,6 @@
1
1
  import { Mutation } from 'cbioportal-utils';
2
2
  import * as React from 'react';
3
- declare type HgvsgProps = {
3
+ type HgvsgProps = {
4
4
  mutation: Mutation;
5
5
  constructHref?: (hgvsg: string) => string;
6
6
  constructLink?: (hgvsg: string, content: JSX.Element, href?: string) => JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import { Mutation } from 'cbioportal-utils';
2
2
  import * as React from 'react';
3
- declare type MutationStatusProps = {
3
+ type MutationStatusProps = {
4
4
  value?: string;
5
5
  mutation?: Mutation;
6
6
  displayValueMap?: {
@@ -1,9 +1,9 @@
1
1
  import { Mutation } from 'cbioportal-utils';
2
2
  import * as React from 'react';
3
- declare type MutationTypeProps = {
3
+ type MutationTypeProps = {
4
4
  mutation: Mutation;
5
5
  };
6
- declare type MutationTypeFormat = {
6
+ type MutationTypeFormat = {
7
7
  label?: string;
8
8
  className: string;
9
9
  };
@@ -1,6 +1,6 @@
1
1
  import { Mutation, RemoteData } from 'cbioportal-utils';
2
2
  import { MyVariantInfo, VariantAnnotation } from 'genome-nexus-ts-api-client';
3
- export declare type MyVariantInfoProps = {
3
+ export type MyVariantInfoProps = {
4
4
  mutation?: Mutation;
5
5
  indexedVariantAnnotations?: RemoteData<{
6
6
  [genomicLocation: string]: VariantAnnotation;
@@ -1,6 +1,6 @@
1
1
  import { Mutation } from 'cbioportal-utils';
2
2
  import * as React from 'react';
3
- declare type ProteinChangeProps = {
3
+ type ProteinChangeProps = {
4
4
  mutation: Mutation;
5
5
  enableMutationStatusIndicator?: boolean;
6
6
  };
@@ -2,14 +2,14 @@ import * as React from 'react';
2
2
  import 'rc-tooltip/assets/bootstrap_white.css';
3
3
  import { IExtendedSignalMutation, Mutation, RemoteData, Pathogenicity } from 'cbioportal-utils';
4
4
  import { VariantAnnotation } from 'genome-nexus-ts-api-client';
5
- declare type SignalProps = {
5
+ type SignalProps = {
6
6
  mutation: Mutation;
7
7
  indexedVariantAnnotations?: RemoteData<{
8
8
  [genomicLocation: string]: VariantAnnotation;
9
9
  } | undefined>;
10
10
  mutationType?: Pathogenicity;
11
11
  };
12
- declare type SignalValueProps = SignalProps & {
12
+ type SignalValueProps = SignalProps & {
13
13
  significantDigits?: number;
14
14
  };
15
15
  export declare function getSignalData(mutation: Mutation, indexedVariantAnnotations?: RemoteData<{
@@ -1,12 +1,12 @@
1
1
  import { Option } from 'cbioportal-frontend-commons';
2
2
  import * as React from 'react';
3
- export declare type ColumnVisibilityDef = {
3
+ export type ColumnVisibilityDef = {
4
4
  id: string;
5
5
  name: string;
6
6
  visible: boolean;
7
7
  togglable?: boolean;
8
8
  };
9
- export declare type ColumnSelectorProps = {
9
+ export type ColumnSelectorProps = {
10
10
  name?: string;
11
11
  placeholder?: string;
12
12
  columnVisibility?: ColumnVisibilityDef[];
@@ -5,7 +5,7 @@ import { Column, RowInfo, TableProps } from 'react-table';
5
5
  import { DataFilter } from '../../model/DataFilter';
6
6
  import { DataStore } from '../../model/DataStore';
7
7
  import { ColumnSelectorProps, ColumnVisibilityDef } from './ColumnSelector';
8
- export declare type DataTableColumn<T> = Column<T> & {
8
+ export type DataTableColumn<T> = Column<T> & {
9
9
  name?: string;
10
10
  togglable?: boolean;
11
11
  searchable?: boolean;
@@ -14,11 +14,11 @@ export declare enum ColumnSortDirection {
14
14
  ASC = "asc",
15
15
  DESC = "desc"
16
16
  }
17
- export declare type ColumnSort = {
17
+ export type ColumnSort = {
18
18
  column: string;
19
19
  sortDirection?: ColumnSortDirection;
20
20
  };
21
- export declare type DataTableProps<T> = {
21
+ export type DataTableProps<T> = {
22
22
  data?: T[];
23
23
  dataStore?: DataStore;
24
24
  columns?: DataTableColumn<T>[];
@@ -85,7 +85,7 @@ export default class DataTable<T> extends React.Component<DataTableProps<T>, {}>
85
85
  protected createFilterInputResetReaction(dataStore: DataStore): IReactionDisposer;
86
86
  protected getTrProps(state: any, row?: RowInfo): {
87
87
  style: {
88
- background: string | undefined;
88
+ background: any;
89
89
  };
90
90
  };
91
91
  protected filterInputRef(input: HTMLInputElement): void;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { ColumnSelectorProps, ColumnVisibilityDef } from './ColumnSelector';
3
- declare type DataTableToolbarProps = {
3
+ type DataTableToolbarProps = {
4
4
  showColumnVisibility?: boolean;
5
5
  visibilityToggle?: (selectedColumnIds: string[]) => void;
6
6
  columnVisibility?: ColumnVisibilityDef[];
@@ -1,6 +1,6 @@
1
1
  import { MyVariantInfo } from 'genome-nexus-ts-api-client';
2
2
  import * as React from 'react';
3
- export declare type DbsnpIdProps = {
3
+ export type DbsnpIdProps = {
4
4
  myVariantInfo?: MyVariantInfo;
5
5
  };
6
6
  export default class DbsnpId extends React.Component<DbsnpIdProps, {}> {
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { CSSProperties } from 'react';
3
- export declare type BadgeLabelProps = {
3
+ export type BadgeLabelProps = {
4
4
  label: JSX.Element | string;
5
5
  badgeContent?: number | string;
6
6
  badgeStyleOverride?: CSSProperties;
@@ -2,14 +2,14 @@ import * as React from 'react';
2
2
  import { CSSProperties } from 'react';
3
3
  import { DataFilter } from '../../model/DataFilter';
4
4
  import { CheckBoxType, Option } from 'cbioportal-frontend-commons';
5
- export declare type BadgeSelectorOption = {
5
+ export type BadgeSelectorOption = {
6
6
  value: string;
7
7
  label?: string | JSX.Element;
8
8
  badgeContent?: number | string;
9
9
  badgeStyleOverride?: CSSProperties;
10
10
  badgeStyleSelectedOverride?: CSSProperties;
11
11
  };
12
- export declare type BadgeSelectorProps = {
12
+ export type BadgeSelectorProps = {
13
13
  name?: string;
14
14
  placeholder?: string;
15
15
  isDisabled?: boolean;
@@ -1,7 +1,7 @@
1
1
  import { Option } from 'cbioportal-frontend-commons';
2
2
  import * as React from 'react';
3
3
  import { DataFilter } from '../../model/DataFilter';
4
- export declare type DropdownSelectorProps = {
4
+ export type DropdownSelectorProps = {
5
5
  name?: string;
6
6
  placeholder?: string;
7
7
  onSelect?: (selectedOptionIds: string[], allValuesSelected?: boolean) => void;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { BadgeSelectorOption, BadgeSelectorProps } from './BadgeSelector';
3
- export declare type MutationStatusBadgeSelectorProps = BadgeSelectorProps & {
3
+ export type MutationStatusBadgeSelectorProps = BadgeSelectorProps & {
4
4
  rates?: {
5
5
  [mutationStatus: string]: number;
6
6
  };
@@ -3,7 +3,7 @@ import * as React from 'react';
3
3
  import { CSSProperties } from 'react';
4
4
  import { IProteinImpactTypeColors } from '../../model/ProteinImpact';
5
5
  import { BadgeSelectorOption, BadgeSelectorProps } from './BadgeSelector';
6
- export declare type ProteinImpactTypeBadgeSelectorProps = BadgeSelectorProps & {
6
+ export type ProteinImpactTypeBadgeSelectorProps = BadgeSelectorProps & {
7
7
  colors: IProteinImpactTypeColors;
8
8
  counts?: {
9
9
  [proteinImpactType: string]: number;
@@ -2,7 +2,7 @@ import { ProteinImpactType } from 'cbioportal-frontend-commons';
2
2
  import * as React from 'react';
3
3
  import { IProteinImpactTypeColors } from '../../model/ProteinImpact';
4
4
  import { DropdownSelectorProps } from './DropdownSelector';
5
- export declare type ProteinImpactTypeDropdownSelectorProps = DropdownSelectorProps & {
5
+ export type ProteinImpactTypeDropdownSelectorProps = DropdownSelectorProps & {
6
6
  colors: IProteinImpactTypeColors;
7
7
  };
8
8
  export declare class ProteinImpactTypeDropdownSelector extends React.Component<ProteinImpactTypeDropdownSelectorProps, {}> {
@@ -1,7 +1,7 @@
1
1
  import { MyVariantInfo, VariantAnnotation } from 'genome-nexus-ts-api-client';
2
2
  import * as React from 'react';
3
3
  import { GnomadSummary } from '../../model/GnomadSummary';
4
- export declare type GnomadFrequencyProps = {
4
+ export type GnomadFrequencyProps = {
5
5
  myVariantInfo?: MyVariantInfo;
6
6
  annotation?: VariantAnnotation;
7
7
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- export declare type HotspotInfoProps = {
2
+ export type HotspotInfoProps = {
3
3
  isHotspot: boolean;
4
4
  is3dHotspot: boolean;
5
5
  count?: number;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type DefaultLollipopPlotLegendProps = {
2
+ type DefaultLollipopPlotLegendProps = {
3
3
  missenseColor?: string;
4
4
  truncatingColor?: string;
5
5
  inframeColor?: string;
@@ -6,7 +6,7 @@ import { MutationMapperStore } from '../../model/MutationMapperStore';
6
6
  import { TrackDataStatus, TrackName, TrackVisibility } from '../track/TrackSelector';
7
7
  import './lollipopMutationPlot.scss';
8
8
  import { AxisScale } from './AxisScaleSwitch';
9
- export declare type LollipopMutationPlotProps<T extends Mutation> = {
9
+ export type LollipopMutationPlotProps<T extends Mutation> = {
10
10
  store: MutationMapperStore<T>;
11
11
  controlsConfig?: LollipopPlotControlsConfig;
12
12
  pubMedCache?: MobxCache;
@@ -2,7 +2,7 @@ import * as React from 'react';
2
2
  import { TrackDataStatus, TrackName, TrackVisibility } from '../track/TrackSelector';
3
3
  import 'react-rangeslider/lib/index.css';
4
4
  import { AxisScale } from './AxisScaleSwitch';
5
- declare type LollipopMutationPlotControlsProps = {
5
+ type LollipopMutationPlotControlsProps = {
6
6
  showControls: boolean;
7
7
  hugoGeneSymbol: string;
8
8
  countRange: [number, number];
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { DomainSpec } from '../../model/DomainSpec';
3
- declare type DomainProps = {
3
+ type DomainProps = {
4
4
  x: number;
5
5
  y: number;
6
6
  width: number;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { LollipopLabel, LollipopSpec } from '../../model/LollipopSpec';
3
- declare type LollipopProps = {
3
+ type LollipopProps = {
4
4
  x: number;
5
5
  stickBaseY: number;
6
6
  stickHeight: number;
@@ -3,7 +3,7 @@ import DataStore from '../../model/DataStore';
3
3
  import { SequenceSpec } from '../../model/SequenceSpec';
4
4
  import { LollipopSpec } from '../../model/LollipopSpec';
5
5
  import { DomainSpec } from '../../model/DomainSpec';
6
- export declare type LollipopPlotProps = {
6
+ export type LollipopPlotProps = {
7
7
  sequence?: SequenceSpec;
8
8
  lollipops: LollipopSpec[];
9
9
  domains: DomainSpec[];
@@ -2,7 +2,7 @@
2
2
  import * as React from 'react';
3
3
  import { SyntheticEvent } from 'react';
4
4
  import { LollipopPlotProps } from './LollipopPlot';
5
- export declare type LollipopPlotNoTooltipProps = LollipopPlotProps & {
5
+ export type LollipopPlotNoTooltipProps = LollipopPlotProps & {
6
6
  setHitZone?: (hitRect: {
7
7
  x: number;
8
8
  y: number;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import { SequenceSpec } from '../../model/SequenceSpec';
3
- declare type SequenceProps = {
3
+ type SequenceProps = {
4
4
  x: number;
5
5
  y: number;
6
6
  width: number;
@@ -1,10 +1,10 @@
1
1
  import * as React from 'react';
2
- export declare type MutationRate = {
2
+ export type MutationRate = {
3
3
  rate: number;
4
4
  title: string;
5
5
  description?: string;
6
6
  };
7
- export declare type DefaultMutationRateSummaryProps = {
7
+ export type DefaultMutationRateSummaryProps = {
8
8
  rates: MutationRate[];
9
9
  fractionDigits?: number;
10
10
  };
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type FilterResetPanelProps = {
2
+ type FilterResetPanelProps = {
3
3
  resetFilters: () => void;
4
4
  filterInfo?: JSX.Element | string;
5
5
  additionalInfo?: JSX.Element | string;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Mutation, RemoteData } from 'cbioportal-utils';
3
3
  import { EnsemblTranscript, VariantAnnotation } from 'genome-nexus-ts-api-client';
4
- export declare type GeneSummaryProps = {
4
+ export type GeneSummaryProps = {
5
5
  hugoGeneSymbol: string;
6
6
  uniprotId?: string;
7
7
  transcriptSummaryUrlTemplate?: string;
@@ -11,7 +11,7 @@ import DefaultMutationMapperStore from '../../store/DefaultMutationMapperStore';
11
11
  import { ColumnSort, DataTableColumn } from '../dataTable/DataTable';
12
12
  import { MutationRate } from './DefaultMutationRateSummary';
13
13
  import { TrackDataStatus, TrackName, TrackVisibility } from '../track/TrackSelector';
14
- export declare type MutationMapperProps = {
14
+ export type MutationMapperProps = {
15
15
  hugoSymbol?: string;
16
16
  entrezGeneId?: number;
17
17
  data?: Partial<Mutation>[];
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Mutation, RemoteData } from 'cbioportal-utils';
3
3
  import { EnsemblTranscript, VariantAnnotation } from 'genome-nexus-ts-api-client';
4
- export declare type TranscriptDropdownProps = {
4
+ export type TranscriptDropdownProps = {
5
5
  showDropDown: boolean;
6
6
  showOnlyAnnotatedTranscriptsInDropdown: boolean;
7
7
  activeTranscript?: string;
@@ -6,7 +6,7 @@ import { Column } from 'react-table';
6
6
  import { DataTableColumn, DataTableProps } from '../dataTable/DataTable';
7
7
  import { MutationColumn } from './MutationColumnHelper';
8
8
  import './defaultMutationTable.scss';
9
- export declare type DefaultMutationTableProps = {
9
+ export type DefaultMutationTableProps = {
10
10
  hotspotData?: RemoteData<IHotspotIndex | undefined>;
11
11
  oncoKbData?: RemoteData<IOncoKbData | Error | undefined>;
12
12
  oncoKbCancerGenes?: RemoteData<CancerGene[] | Error | undefined>;
@@ -48,7 +48,7 @@ export default class DefaultMutationTable extends React.Component<DefaultMutatio
48
48
  protected getDefaultColumnAccessor(columnKey: MutationColumn): ((mutation: Mutation) => import("../column/Annotation").IAnnotation) | ((mutation: Mutation) => MyVariantInfo | undefined) | ((mutation: Mutation) => string | null) | ((mutation: Mutation) => import("cbioportal-utils").IExtendedSignalMutation) | ((mutation: Mutation) => import("genome-nexus-ts-api-client").Clinvar | undefined) | undefined;
49
49
  protected getDefaultColumnCellRender(columnKey: MutationColumn): ((column: any) => JSX.Element) | undefined;
50
50
  get columns(): {
51
- accessor?: string | string[] | import("react-table").AccessorFunction<Partial<Mutation>> | undefined;
51
+ accessor?: import("react-table").Accessor<Partial<Mutation>> | undefined;
52
52
  id?: string | undefined;
53
53
  aggregate?: import("react-table").Aggregator | undefined;
54
54
  width?: number | undefined;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Column } from 'react-table';
3
3
  import { Cache, MobxCache, PostTranslationalModification } from 'cbioportal-utils';
4
- export declare type PtmSummaryTableProps = {
4
+ export type PtmSummaryTableProps = {
5
5
  data: PostTranslationalModification[];
6
6
  pubMedCache?: MobxCache;
7
7
  initialSortColumn?: string;
@@ -1,7 +1,7 @@
1
1
  import { Cache } from 'cbioportal-utils';
2
2
  import * as React from 'react';
3
3
  import 'oncokb-frontend-commons/dist/styles.css';
4
- declare type PtmReferenceListProps = {
4
+ type PtmReferenceListProps = {
5
5
  pubmedIds: string[];
6
6
  pmidData: Cache;
7
7
  };
@@ -4,7 +4,7 @@ import { TrackProps } from './Track';
4
4
  import { TrackItemSpec } from './TrackItem';
5
5
  import { Mutation } from 'cbioportal-utils';
6
6
  import { EnsemblTranscript } from 'genome-nexus-ts-api-client';
7
- declare type ExonTrackProps = TrackProps & {
7
+ type ExonTrackProps = TrackProps & {
8
8
  store: MutationMapperStore<Mutation>;
9
9
  };
10
10
  export default class ExonTrack extends React.Component<ExonTrackProps, {}> {
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import MutationMapperStore from '../../model/MutationMapperStore';
5
5
  import { TrackProps } from './Track';
6
6
  import { TrackItemSpec } from './TrackItem';
7
- declare type HotspotTrackProps = TrackProps & {
7
+ type HotspotTrackProps = TrackProps & {
8
8
  store: MutationMapperStore<Mutation>;
9
9
  hotspotIndex: IHotspotIndex;
10
10
  };
@@ -3,7 +3,7 @@ import MutationMapperStore from '../../model/MutationMapperStore';
3
3
  import { TrackProps } from './Track';
4
4
  import { TrackItemSpec } from './TrackItem';
5
5
  import { Mutation } from 'cbioportal-utils';
6
- declare type OncoKbTrackProps = TrackProps & {
6
+ type OncoKbTrackProps = TrackProps & {
7
7
  store: MutationMapperStore<Mutation>;
8
8
  };
9
9
  export declare function getOncoKbImage(): JSX.Element;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import { Mutation } from 'cbioportal-utils';
3
3
  import { IndicatorQueryResp } from 'oncokb-ts-api-client';
4
- declare type OncoKbTrackTooltipProps = {
4
+ type OncoKbTrackTooltipProps = {
5
5
  usingPublicOncoKbInstance: boolean;
6
6
  mutations: Mutation[];
7
7
  indicatorData?: IndicatorQueryResp[];
@@ -4,7 +4,7 @@ import { MobxCache, Mutation, PostTranslationalModification } from 'cbioportal-u
4
4
  import MutationMapperStore from '../../model/MutationMapperStore';
5
5
  import { TrackProps } from './Track';
6
6
  import { TrackItemSpec } from './TrackItem';
7
- declare type PtmTrackProps = TrackProps & {
7
+ type PtmTrackProps = TrackProps & {
8
8
  store: MutationMapperStore<Mutation>;
9
9
  pubMedCache?: MobxCache;
10
10
  ensemblTranscriptId?: string;
@@ -4,7 +4,7 @@ import { SyntheticEvent } from 'react';
4
4
  import { DataFilter } from '../../model/DataFilter';
5
5
  import DataStore from '../../model/DataStore';
6
6
  import TrackItem, { TrackItemSpec } from './TrackItem';
7
- export declare type TrackProps = {
7
+ export type TrackProps = {
8
8
  dataStore: DataStore;
9
9
  width: number;
10
10
  proteinLength: number;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type TrackCircleProps = {
2
+ type TrackCircleProps = {
3
3
  x: number;
4
4
  y: number;
5
5
  radius?: number;
@@ -9,7 +9,7 @@ declare type TrackCircleProps = {
9
9
  hitZoneXOffset?: number;
10
10
  spec: TrackCircleSpec;
11
11
  };
12
- export declare type TrackCircleSpec = {
12
+ export type TrackCircleSpec = {
13
13
  startCodon: number;
14
14
  label?: string;
15
15
  color?: string;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type TrackItemProps = {
2
+ type TrackItemProps = {
3
3
  x: number;
4
4
  y: number;
5
5
  dim1: number;
@@ -13,7 +13,7 @@ export declare enum TrackItemType {
13
13
  CIRCLE = 0,
14
14
  RECTANGLE = 1
15
15
  }
16
- export declare type TrackItemSpec = {
16
+ export type TrackItemSpec = {
17
17
  startCodon: number;
18
18
  endCodon?: number;
19
19
  itemType?: TrackItemType;
@@ -3,7 +3,7 @@ import { MobxCache, Mutation } from 'cbioportal-utils';
3
3
  import MutationMapperStore from '../../model/MutationMapperStore';
4
4
  import { TrackName, TrackVisibility } from './TrackSelector';
5
5
  import './defaultTrackTooltipTable.scss';
6
- declare type TrackPanelProps = {
6
+ type TrackPanelProps = {
7
7
  store: MutationMapperStore<Mutation>;
8
8
  pubMedCache?: MobxCache;
9
9
  geneWidth: number;
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- declare type TrackRectProps = {
2
+ type TrackRectProps = {
3
3
  x: number;
4
4
  y: number;
5
5
  width?: number;
@@ -9,7 +9,7 @@ declare type TrackRectProps = {
9
9
  hitZoneXOffset?: number;
10
10
  spec: TrackRectSpec;
11
11
  };
12
- export declare type TrackRectSpec = {
12
+ export type TrackRectSpec = {
13
13
  startCodon: number;
14
14
  endCodon?: number;
15
15
  label?: string;
@@ -1,9 +1,9 @@
1
1
  import * as React from 'react';
2
2
  import { Option } from 'cbioportal-frontend-commons';
3
- export declare type TrackVisibility = {
3
+ export type TrackVisibility = {
4
4
  [trackName: string]: 'visible' | 'hidden';
5
5
  };
6
- export declare type TrackDataStatus = {
6
+ export type TrackDataStatus = {
7
7
  [trackName: string]: 'pending' | 'error' | 'complete' | 'empty';
8
8
  };
9
9
  export declare enum TrackName {
@@ -15,7 +15,7 @@ export declare enum TrackName {
15
15
  Exon = "EXON",
16
16
  UniprotTopology = "UNIPROT_TOPOLOGY"
17
17
  }
18
- declare type TrackSelectorProps = {
18
+ type TrackSelectorProps = {
19
19
  tracks?: TrackName[];
20
20
  trackVisibility: TrackVisibility;
21
21
  trackDataStatus?: TrackDataStatus;
@@ -3,7 +3,7 @@ import { TrackProps } from './Track';
3
3
  import { TrackItemSpec } from './TrackItem';
4
4
  import { MutationMapperStore } from '../../model/MutationMapperStore';
5
5
  import { Mutation } from 'cbioportal-utils';
6
- declare type UniprotTopologyTrackProps = TrackProps & {
6
+ type UniprotTopologyTrackProps = TrackProps & {
7
7
  store: MutationMapperStore<Mutation>;
8
8
  subTrackMargin?: number;
9
9
  collapsed?: boolean;
@@ -1,2 +1,2 @@
1
1
  import { DataFilter } from '../model/DataFilter';
2
- export declare type CancerTypeFilter = DataFilter<string>;
2
+ export type CancerTypeFilter = DataFilter<string>;
@@ -1,7 +1,7 @@
1
1
  import { DataFilter } from '../model/DataFilter';
2
- export declare type CategoricalFilterValue = {
2
+ export type CategoricalFilterValue = {
3
3
  filterCondition: string;
4
4
  filterString: string;
5
5
  selections: Set<string>;
6
6
  };
7
- export declare type CategoricalFilter = DataFilter<CategoricalFilterValue>;
7
+ export type CategoricalFilter = DataFilter<CategoricalFilterValue>;
@@ -2,4 +2,4 @@ import { DataFilter } from '../model/DataFilter';
2
2
  export declare enum HotspotFilterValue {
3
3
  DefaultHotspot = "DEFAULT_HOTSPOT"
4
4
  }
5
- export declare type HotspotFilter = DataFilter<HotspotFilterValue>;
5
+ export type HotspotFilter = DataFilter<HotspotFilterValue>;
@@ -1,6 +1,6 @@
1
1
  import { Mutation } from 'cbioportal-utils';
2
2
  import { DataFilter } from '../model/DataFilter';
3
- export declare type MutationFilterValue = {
3
+ export type MutationFilterValue = {
4
4
  [field in keyof Mutation]: string;
5
5
  };
6
- export declare type MutationFilter = DataFilter<MutationFilterValue>;
6
+ export type MutationFilter = DataFilter<MutationFilterValue>;