react-mutation-mapper 0.8.60 → 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.
- package/dist/component/ptm/PtmReferenceList.d.ts +1 -0
- package/dist/index.d.ts +0 -12
- package/dist/index.es.js +176 -1840
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +187 -1875
- package/dist/index.js.map +1 -1
- package/dist/styles.css +0 -229
- package/package.json +5 -4
- package/dist/component/oncokb/ArticleAbstractItem.d.ts +0 -5
- package/dist/component/oncokb/OncoKB.d.ts +0 -33
- package/dist/component/oncokb/OncoKB.spec.d.ts +0 -1
- package/dist/component/oncokb/OncoKBSuggestAnnotationLinkout.d.ts +0 -6
- package/dist/component/oncokb/OncoKbCard.d.ts +0 -20
- package/dist/component/oncokb/OncoKbCardBody.d.ts +0 -15
- package/dist/component/oncokb/OncoKbCardLevelsOfEvidenceDropdown.d.ts +0 -15
- package/dist/component/oncokb/OncoKbCardTitle.d.ts +0 -8
- package/dist/component/oncokb/OncoKbFeedback.d.ts +0 -12
- package/dist/component/oncokb/OncoKbHelper.d.ts +0 -33
- package/dist/component/oncokb/OncoKbSummaryTable.d.ts +0 -31
- package/dist/component/oncokb/OncoKbTooltip.d.ts +0 -21
- package/dist/component/oncokb/OncoKbTreatmentTable.d.ts +0 -86
- package/dist/component/oncokb/PmidItem.d.ts +0 -12
- package/dist/component/oncokb/RefComponent.d.ts +0 -9
- package/dist/component/oncokb/ReferenceList.d.ts +0 -13
- package/dist/component/oncokb/SummaryWithRefs.d.ts +0 -11
- package/dist/component/oncokb/constants.d.ts +0 -10
- package/dist/component/oncokb/icon/AnnotationIcon.d.ts +0 -13
- package/dist/component/oncokb/icon/CompactAnnotationIcon.d.ts +0 -8
- package/dist/component/oncokb/icon/LevelIcon.d.ts +0 -6
- package/dist/component/oncokb/icon/OncogenicIcon.d.ts +0 -6
- package/dist/component/oncokb/oncokbCard/BiologicalContent.d.ts +0 -8
- package/dist/component/oncokb/oncokbCard/EvidenceReferenceContent.d.ts +0 -9
- package/dist/component/oncokb/oncokbCard/ImplicationContent.d.ts +0 -11
- package/dist/util/OncoKbUtils.d.ts +0 -40
- package/dist/util/OncoKbUtils.spec.d.ts +0 -1
package/dist/styles.css
CHANGED
|
@@ -1,48 +1,6 @@
|
|
|
1
1
|
.gnomad-frequency-table .rt-table .rt-tbody .rt-td {
|
|
2
2
|
padding: 4px 5px;
|
|
3
3
|
}
|
|
4
|
-
.oncokb-treatment-table {
|
|
5
|
-
font-size: 0.8rem;
|
|
6
|
-
}
|
|
7
|
-
.oncokb-treatment-table .rt-tbody {
|
|
8
|
-
line-height: 0.8rem;
|
|
9
|
-
}
|
|
10
|
-
.oncokb-tooltip {
|
|
11
|
-
background: none;
|
|
12
|
-
}
|
|
13
|
-
.oncokb-tooltip .rc-tooltip-inner {
|
|
14
|
-
padding: 0;
|
|
15
|
-
border-color: #DDDDDD;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.oncokb-card-tabs > .nav {
|
|
19
|
-
margin: 0 auto;
|
|
20
|
-
position: relative;
|
|
21
|
-
z-index: 1;
|
|
22
|
-
display: flex;
|
|
23
|
-
}
|
|
24
|
-
.oncokb-card-tabs > .nav > li > a {
|
|
25
|
-
padding: 7px 10px;
|
|
26
|
-
}
|
|
27
|
-
.oncokb-card-tabs > .nav > li a:focus {
|
|
28
|
-
outline-width: 0;
|
|
29
|
-
}
|
|
30
|
-
.oncokb-card-tabs > .nav > li:not(.active) a:hover {
|
|
31
|
-
background: none !important;
|
|
32
|
-
border-color: transparent !important;
|
|
33
|
-
}
|
|
34
|
-
.oncokb-card-tabs > .nav .active a {
|
|
35
|
-
border-top: 3px solid #0968C3 !important;
|
|
36
|
-
padding-top: 5px;
|
|
37
|
-
}
|
|
38
|
-
.oncokb-card-tabs > .tab-content {
|
|
39
|
-
padding: 10px 0;
|
|
40
|
-
min-height: 50px;
|
|
41
|
-
position: relative;
|
|
42
|
-
}
|
|
43
|
-
.oncokb-card-tabs .rt-thead .rt-resizable-header-content {
|
|
44
|
-
text-align: left;
|
|
45
|
-
}
|
|
46
4
|
.default-mutation-table {
|
|
47
5
|
font-size: 0.8rem;
|
|
48
6
|
min-width: 300px;
|
|
@@ -185,193 +143,6 @@
|
|
|
185
143
|
list-style-position: inside;
|
|
186
144
|
padding-left: 0;
|
|
187
145
|
}
|
|
188
|
-
.main-module_oncokb-card__32DzD {
|
|
189
|
-
margin: auto;
|
|
190
|
-
width: 600px;
|
|
191
|
-
font-size: 14px;
|
|
192
|
-
line-height: 18px;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.main-module_tab-content__8nUyf {
|
|
196
|
-
max-height: 300px;
|
|
197
|
-
overflow-y: auto;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.main-module_tooltip-refs__SpA4W {
|
|
201
|
-
max-width: 400px;
|
|
202
|
-
max-height: 400px;
|
|
203
|
-
overflow-y: auto;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
.main-module_disclaimer__3CLlM {
|
|
207
|
-
color: grey;
|
|
208
|
-
font-style: italic;
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
.main-module_blue-icon__2Hs-v {
|
|
212
|
-
color: #0968C3;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.main-module_footer__2dc-8 {
|
|
216
|
-
display: flex;
|
|
217
|
-
justify-content: space-between;
|
|
218
|
-
padding: 5px 10px;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.main-module_oncokb-logo__3RVg7 {
|
|
222
|
-
height: 16px;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
.main-module_title__2kT-n {
|
|
226
|
-
line-height: 22px;
|
|
227
|
-
font-size: 22px;
|
|
228
|
-
background-color: #0968C3;
|
|
229
|
-
color: #fff;
|
|
230
|
-
text-align: center;
|
|
231
|
-
padding: 5px 10px;
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
.main-module_additional-info__1nXTm {
|
|
235
|
-
padding: 5px 10px;
|
|
236
|
-
line-height: 20px;
|
|
237
|
-
border-bottom: 1px solid lightgrey;
|
|
238
|
-
}
|
|
239
|
-
|
|
240
|
-
.main-module_biological-info__2efDC {
|
|
241
|
-
display: flex;
|
|
242
|
-
flex-direction: row;
|
|
243
|
-
background-color: #064785;
|
|
244
|
-
color: white;
|
|
245
|
-
padding: 10px 0;
|
|
246
|
-
font-weight: bold;
|
|
247
|
-
text-align: center;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
.main-module_ellipsis-text-wrapper__18dny {
|
|
251
|
-
overflow: hidden;
|
|
252
|
-
white-space: nowrap;
|
|
253
|
-
display: flex;
|
|
254
|
-
align-items: center;
|
|
255
|
-
}
|
|
256
|
-
.level-module_levels__2ZL1B {
|
|
257
|
-
padding: 5px 10px;
|
|
258
|
-
font-size: 12px;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
.level-module_levels-li__1tgCC {
|
|
262
|
-
line-height: 16px;
|
|
263
|
-
margin: 3px 0;
|
|
264
|
-
display: flex;
|
|
265
|
-
align-items: flex-start;
|
|
266
|
-
}
|
|
267
|
-
.collapsible-module_collapsible-header__3nZtU {
|
|
268
|
-
cursor: pointer;
|
|
269
|
-
min-height: 30px;
|
|
270
|
-
line-height: 30px;
|
|
271
|
-
padding: 0 10px;
|
|
272
|
-
background-color: white;
|
|
273
|
-
border-bottom: 1px solid #DDDDDD;
|
|
274
|
-
border-top: 1px solid #DDDDDD;
|
|
275
|
-
}
|
|
276
|
-
|
|
277
|
-
.collapsible-module_levels-collapse__2GBRW {
|
|
278
|
-
border-bottom: 1px solid #DDDDDD;
|
|
279
|
-
}
|
|
280
|
-
.listGroupItem-module_list-group-item__1Y5zb {
|
|
281
|
-
border: 0;
|
|
282
|
-
padding: 5px 0;
|
|
283
|
-
font-size: 13px;
|
|
284
|
-
display: flex;
|
|
285
|
-
flex-direction: column;
|
|
286
|
-
}
|
|
287
|
-
.listGroupItem-module_list-group-item__1Y5zb a {
|
|
288
|
-
color: #0968C3;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.listGroupItem-module_list-group-item__1Y5zb:not(:first-child) {
|
|
292
|
-
border-top: 1px solid #DDDDDD;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.listGroupItem-module_list-group-item__1Y5zb:last-child {
|
|
296
|
-
border-bottom-right-radius: 0;
|
|
297
|
-
border-bottom-left-radius: 0;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.listGroupItem-module_list-group-item__1Y5zb:first-child {
|
|
301
|
-
border-top-left-radius: 0;
|
|
302
|
-
border-top-right-radius: 0;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
.listGroupItem-module_list-group-item-title__3diZg {
|
|
306
|
-
line-height: 16px;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.listGroupItem-module_list-group-item-content__Sspft {
|
|
310
|
-
display: flex;
|
|
311
|
-
flex-direction: row;
|
|
312
|
-
justify-content: space-between;
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
.listGroupItem-module_no-style-ul__2Rf8i {
|
|
316
|
-
padding: 0;
|
|
317
|
-
margin-bottom: 0 !important;
|
|
318
|
-
}
|
|
319
|
-
.listGroupItem-module_no-style-ul__2Rf8i li {
|
|
320
|
-
list-style-type: none;
|
|
321
|
-
}
|
|
322
|
-
.tabs-module_tabs-wrapper__XKjzo {
|
|
323
|
-
display: flex;
|
|
324
|
-
flex-direction: column;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
.tabs-module_tabs__2I3mz {
|
|
328
|
-
display: flex;
|
|
329
|
-
flex-direction: row;
|
|
330
|
-
background-color: #0b2569;
|
|
331
|
-
margin-bottom: 5px !important;
|
|
332
|
-
white-space: nowrap;
|
|
333
|
-
height: 45px;
|
|
334
|
-
padding: 0;
|
|
335
|
-
}
|
|
336
|
-
|
|
337
|
-
.tabs-module_tab__3MoDA {
|
|
338
|
-
flex-grow: 1;
|
|
339
|
-
text-align: center;
|
|
340
|
-
height: 45px;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
.tabs-module_tab-pane__sGd85 {
|
|
344
|
-
padding: 0 10px 0 10px;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
.tabs-module_tab-title-a__2WTNA {
|
|
348
|
-
color: white;
|
|
349
|
-
display: flex;
|
|
350
|
-
flex-direction: column;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
.tabs-module_tab__3MoDA > a:hover {
|
|
354
|
-
text-decoration: none !important;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
.tabs-module_tab-title-a__2WTNA:hover {
|
|
358
|
-
transition: color 0.28s ease;
|
|
359
|
-
color: white;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
.tabs-module_tab-title__2z9-D {
|
|
363
|
-
line-height: 22px;
|
|
364
|
-
float: left;
|
|
365
|
-
color: white;
|
|
366
|
-
text-transform: uppercase;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
.tabs-module_tab-subtitle__1P8B_ {
|
|
370
|
-
width: 100%;
|
|
371
|
-
line-height: 20px;
|
|
372
|
-
color: orange;
|
|
373
|
-
text-overflow: ellipsis;
|
|
374
|
-
}
|
|
375
146
|
.hotspotInfo-module_hotspot-info__S24fX {
|
|
376
147
|
max-width: 400px;
|
|
377
148
|
display: block;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-mutation-mapper",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.61",
|
|
4
4
|
"description": "Generic Mutation Mapper",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.es.js",
|
|
@@ -39,14 +39,15 @@
|
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"autobind-decorator": "^2.1.0",
|
|
42
|
-
"cbioportal-frontend-commons": "^0.5.
|
|
43
|
-
"cbioportal-utils": "^0.3.
|
|
42
|
+
"cbioportal-frontend-commons": "^0.5.36",
|
|
43
|
+
"cbioportal-utils": "^0.3.26",
|
|
44
44
|
"classnames": "^2.2.5",
|
|
45
45
|
"genome-nexus-ts-api-client": "^1.1.23",
|
|
46
46
|
"jquery": "^3.2.1",
|
|
47
47
|
"lodash": "^4.17.15",
|
|
48
48
|
"memoize-weak-decorator": "^1.0.3",
|
|
49
49
|
"mobxpromise": "github:cbioportal/mobxpromise#303db72588860bff0a6862a4f07a4e8a3578c94f",
|
|
50
|
+
"oncokb-frontend-commons": "^0.0.2",
|
|
50
51
|
"oncokb-styles": "~1.4.2",
|
|
51
52
|
"oncokb-ts-api-client": "^1.3.3",
|
|
52
53
|
"react-collapse": "^4.0.3",
|
|
@@ -59,5 +60,5 @@
|
|
|
59
60
|
"superagent": "^3.8.3",
|
|
60
61
|
"typescript": "4.0.3"
|
|
61
62
|
},
|
|
62
|
-
"gitHead": "
|
|
63
|
+
"gitHead": "8caac8fb93d25204e83064f42f9ed4a0143a2c62"
|
|
63
64
|
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { MobxCache, OncoKbCardDataType } from 'cbioportal-utils';
|
|
2
|
-
import { IndicatorQueryResp } from 'oncokb-ts-api-client';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import './oncokb.scss';
|
|
5
|
-
import 'oncokb-styles/dist/oncokb.css';
|
|
6
|
-
export interface IOncoKbProps {
|
|
7
|
-
status: 'pending' | 'error' | 'complete';
|
|
8
|
-
indicator?: IndicatorQueryResp;
|
|
9
|
-
availableDataTypes?: OncoKbCardDataType[];
|
|
10
|
-
mergeAnnotationIcons?: boolean;
|
|
11
|
-
pubMedCache?: MobxCache;
|
|
12
|
-
usingPublicOncoKbInstance: boolean;
|
|
13
|
-
isCancerGene: boolean;
|
|
14
|
-
geneNotExist: boolean;
|
|
15
|
-
hugoGeneSymbol: string;
|
|
16
|
-
userEmailAddress?: string;
|
|
17
|
-
disableFeedback?: boolean;
|
|
18
|
-
contentPadding?: number;
|
|
19
|
-
}
|
|
20
|
-
export declare function sortValue(indicator?: IndicatorQueryResp | undefined | null): number[];
|
|
21
|
-
export declare function download(indicator?: IndicatorQueryResp | undefined | null): string;
|
|
22
|
-
export default class OncoKB extends React.Component<IOncoKbProps, {}> {
|
|
23
|
-
constructor(props: IOncoKbProps);
|
|
24
|
-
showFeedback: boolean;
|
|
25
|
-
tooltipDataLoadComplete: boolean;
|
|
26
|
-
render(): JSX.Element;
|
|
27
|
-
private multiAnnotationIcon;
|
|
28
|
-
private levelIcons;
|
|
29
|
-
private singleAnnotationIcon;
|
|
30
|
-
private tooltipContent;
|
|
31
|
-
private handleFeedbackOpen;
|
|
32
|
-
private handleFeedbackClose;
|
|
33
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { IndicatorQueryResp } from 'oncokb-ts-api-client';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import { ICache } from '../../model/SimpleCache';
|
|
4
|
-
import { OncoKbCardDataType } from 'cbioportal-utils';
|
|
5
|
-
export declare type OncoKbCardProps = {
|
|
6
|
-
type: OncoKbCardDataType;
|
|
7
|
-
hugoSymbol: string;
|
|
8
|
-
geneNotExist: boolean;
|
|
9
|
-
isCancerGene: boolean;
|
|
10
|
-
usingPublicOncoKbInstance: boolean;
|
|
11
|
-
pmidData: ICache;
|
|
12
|
-
indicator?: IndicatorQueryResp;
|
|
13
|
-
displayHighestLevelInTabTitle?: boolean;
|
|
14
|
-
handleFeedbackOpen?: React.EventHandler<any>;
|
|
15
|
-
};
|
|
16
|
-
export default class OncoKbCard extends React.Component<OncoKbCardProps> {
|
|
17
|
-
constructor(props: any);
|
|
18
|
-
get oncokbLinkOut(): string | undefined;
|
|
19
|
-
render(): JSX.Element;
|
|
20
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { IndicatorQueryResp } from 'oncokb-ts-api-client';
|
|
3
|
-
import { OncoKbCardDataType } from 'cbioportal-utils';
|
|
4
|
-
import { ICache } from '../../model/SimpleCache';
|
|
5
|
-
export declare type OncoKbCardBodyProps = {
|
|
6
|
-
type: OncoKbCardDataType;
|
|
7
|
-
geneNotExist: boolean;
|
|
8
|
-
isCancerGene: boolean;
|
|
9
|
-
hugoSymbol: string;
|
|
10
|
-
pmidData: ICache;
|
|
11
|
-
indicator?: IndicatorQueryResp;
|
|
12
|
-
usingPublicOncoKbInstance: boolean;
|
|
13
|
-
displayHighestLevelInTabTitle?: boolean;
|
|
14
|
-
};
|
|
15
|
-
export declare const OncoKbCardBody: React.FunctionComponent<OncoKbCardBodyProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare type LevelsOfEvidenceDropdownProps = {
|
|
3
|
-
levels: string[];
|
|
4
|
-
levelDes: {
|
|
5
|
-
[level: string]: JSX.Element;
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export default class OncoKbCardLevelsOfEvidenceDropdown extends React.Component<LevelsOfEvidenceDropdownProps> {
|
|
9
|
-
constructor(props: any);
|
|
10
|
-
levelsCollapsed: boolean;
|
|
11
|
-
levelListItem(level: string, levelDes: JSX.Element): JSX.Element;
|
|
12
|
-
generateLevelRows(): JSX.Element[];
|
|
13
|
-
handleLevelCollapse(): void;
|
|
14
|
-
render(): JSX.Element;
|
|
15
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
interface IOncoKbFeedbackProps {
|
|
3
|
-
showFeedback: boolean;
|
|
4
|
-
hugoSymbol?: string;
|
|
5
|
-
alteration?: string;
|
|
6
|
-
userEmailAddress?: string;
|
|
7
|
-
handleFeedbackClose: () => void;
|
|
8
|
-
}
|
|
9
|
-
export default class OncoKbFeedback extends React.Component<IOncoKbFeedbackProps, {}> {
|
|
10
|
-
render(): JSX.Element;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { OncoKbCardDataType } from 'cbioportal-utils';
|
|
2
|
-
export default class OncoKbHelper {
|
|
3
|
-
static get TX_LEVELS(): string[];
|
|
4
|
-
static get DX_LEVELS(): string[];
|
|
5
|
-
static get PX_LEVELS(): string[];
|
|
6
|
-
static get LEVELS(): string[];
|
|
7
|
-
static getLevelsDesc(dataType: OncoKbCardDataType): Pick<{
|
|
8
|
-
[level: string]: JSX.Element;
|
|
9
|
-
}, string>;
|
|
10
|
-
static get LEVEL_DESC(): {
|
|
11
|
-
[level: string]: JSX.Element;
|
|
12
|
-
};
|
|
13
|
-
static getDefaultColumnDefinition(columnKey: 'level' | 'alterations'): {
|
|
14
|
-
id: string;
|
|
15
|
-
Header: JSX.Element;
|
|
16
|
-
accessor: string;
|
|
17
|
-
maxWidth: number;
|
|
18
|
-
sortMethod: (a: string, b: string) => number;
|
|
19
|
-
Cell: (props: {
|
|
20
|
-
value: string;
|
|
21
|
-
}) => JSX.Element;
|
|
22
|
-
minWidth?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
id: string;
|
|
25
|
-
Header: JSX.Element;
|
|
26
|
-
accessor: string;
|
|
27
|
-
minWidth: number;
|
|
28
|
-
sortMethod: (a: string[], b: string[]) => number;
|
|
29
|
-
maxWidth?: undefined;
|
|
30
|
-
Cell?: undefined;
|
|
31
|
-
};
|
|
32
|
-
static getAlterationsColumnCell: (alterations: string[], variant: string) => JSX.Element;
|
|
33
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { Column } from 'react-table';
|
|
3
|
-
export declare type OncoKbSummaryTableProps = {
|
|
4
|
-
usingPublicOncoKbInstance: boolean;
|
|
5
|
-
data: OncoKbSummary[];
|
|
6
|
-
initialSortColumn?: string;
|
|
7
|
-
initialSortDirection?: 'asc' | 'desc';
|
|
8
|
-
initialItemsPerPage?: number;
|
|
9
|
-
};
|
|
10
|
-
export declare type OncoKbSummary = {
|
|
11
|
-
count: number;
|
|
12
|
-
proteinChange: string;
|
|
13
|
-
clinicalImplication: string[];
|
|
14
|
-
biologicalEffect: string[];
|
|
15
|
-
level: {
|
|
16
|
-
level: string;
|
|
17
|
-
tumorTypes: string[];
|
|
18
|
-
}[];
|
|
19
|
-
};
|
|
20
|
-
export default class OncoKbSummaryTable extends React.Component<OncoKbSummaryTableProps, {}> {
|
|
21
|
-
static defaultProps: {
|
|
22
|
-
data: never[];
|
|
23
|
-
initialSortColumn: string;
|
|
24
|
-
initialSortDirection: string;
|
|
25
|
-
initialItemsPerPage: number;
|
|
26
|
-
};
|
|
27
|
-
constructor(props: OncoKbSummaryTableProps);
|
|
28
|
-
get hasLevelData(): boolean;
|
|
29
|
-
get columns(): Column[];
|
|
30
|
-
render(): JSX.Element;
|
|
31
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ICache } from 'cbioportal-frontend-commons';
|
|
2
|
-
import { MobxCache, OncoKbCardDataType } from 'cbioportal-utils';
|
|
3
|
-
import { IndicatorQueryResp } from 'oncokb-ts-api-client';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
export interface IOncoKbTooltipProps {
|
|
6
|
-
type: OncoKbCardDataType;
|
|
7
|
-
indicator?: IndicatorQueryResp;
|
|
8
|
-
pubMedCache?: MobxCache;
|
|
9
|
-
handleFeedbackOpen?: () => void;
|
|
10
|
-
hugoSymbol: string;
|
|
11
|
-
isCancerGene: boolean;
|
|
12
|
-
geneNotExist: boolean;
|
|
13
|
-
usingPublicOncoKbInstance: boolean;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @author Selcuk Onur Sumer
|
|
17
|
-
*/
|
|
18
|
-
export default class OncoKbTooltip extends React.Component<IOncoKbTooltipProps, {}> {
|
|
19
|
-
get pmidData(): ICache<any>;
|
|
20
|
-
render(): JSX.Element;
|
|
21
|
-
}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { ICache } from 'cbioportal-frontend-commons';
|
|
2
|
-
import { ArticleAbstract, IndicatorQueryTreatment } from 'oncokb-ts-api-client';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
import './oncoKbTreatmentTable.scss';
|
|
5
|
-
declare type OncoKbTreatmentTableProps = {
|
|
6
|
-
variant: string;
|
|
7
|
-
treatments: IndicatorQueryTreatment[];
|
|
8
|
-
pmidData: ICache<any>;
|
|
9
|
-
};
|
|
10
|
-
export default class OncoKbTreatmentTable extends React.Component<OncoKbTreatmentTableProps> {
|
|
11
|
-
levelTooltipContent: (level: string) => JSX.Element;
|
|
12
|
-
treatmentTooltipContent: (abstracts: ArticleAbstract[], pmids: number[], pmidData: ICache<any>, description?: string | undefined) => JSX.Element | (() => JSX.Element);
|
|
13
|
-
readonly columns: ({
|
|
14
|
-
id: string;
|
|
15
|
-
Header: JSX.Element;
|
|
16
|
-
accessor: string;
|
|
17
|
-
maxWidth: number;
|
|
18
|
-
sortMethod: (a: string, b: string) => number;
|
|
19
|
-
Cell: (props: {
|
|
20
|
-
value: string;
|
|
21
|
-
}) => JSX.Element;
|
|
22
|
-
minWidth?: undefined;
|
|
23
|
-
} | {
|
|
24
|
-
id: string;
|
|
25
|
-
Header: JSX.Element;
|
|
26
|
-
accessor: string;
|
|
27
|
-
minWidth: number;
|
|
28
|
-
sortMethod: (a: string[], b: string[]) => number;
|
|
29
|
-
maxWidth?: undefined;
|
|
30
|
-
Cell?: undefined;
|
|
31
|
-
} | {
|
|
32
|
-
Cell: (props: {
|
|
33
|
-
value: string[];
|
|
34
|
-
}) => JSX.Element;
|
|
35
|
-
id: string;
|
|
36
|
-
Header: JSX.Element;
|
|
37
|
-
accessor: string;
|
|
38
|
-
maxWidth: number;
|
|
39
|
-
sortMethod: (a: string, b: string) => number;
|
|
40
|
-
minWidth?: undefined;
|
|
41
|
-
sortable?: undefined;
|
|
42
|
-
} | {
|
|
43
|
-
Cell: (props: {
|
|
44
|
-
value: string[];
|
|
45
|
-
}) => JSX.Element;
|
|
46
|
-
id: string;
|
|
47
|
-
Header: JSX.Element;
|
|
48
|
-
accessor: string;
|
|
49
|
-
minWidth: number;
|
|
50
|
-
sortMethod: (a: string[], b: string[]) => number;
|
|
51
|
-
maxWidth?: undefined;
|
|
52
|
-
sortable?: undefined;
|
|
53
|
-
} | {
|
|
54
|
-
id: string;
|
|
55
|
-
Header: JSX.Element;
|
|
56
|
-
accessor: string;
|
|
57
|
-
Cell: (props: {
|
|
58
|
-
original: IndicatorQueryTreatment;
|
|
59
|
-
}) => JSX.Element;
|
|
60
|
-
minWidth?: undefined;
|
|
61
|
-
sortable?: undefined;
|
|
62
|
-
maxWidth?: undefined;
|
|
63
|
-
} | {
|
|
64
|
-
id: string;
|
|
65
|
-
Header: JSX.Element;
|
|
66
|
-
accessor: string;
|
|
67
|
-
minWidth: number;
|
|
68
|
-
Cell: (props: {
|
|
69
|
-
original: IndicatorQueryTreatment;
|
|
70
|
-
}) => JSX.Element;
|
|
71
|
-
sortable?: undefined;
|
|
72
|
-
maxWidth?: undefined;
|
|
73
|
-
} | {
|
|
74
|
-
id: string;
|
|
75
|
-
Header: JSX.Element;
|
|
76
|
-
sortable: boolean;
|
|
77
|
-
maxWidth: number;
|
|
78
|
-
Cell: (props: {
|
|
79
|
-
original: IndicatorQueryTreatment;
|
|
80
|
-
}) => false | JSX.Element;
|
|
81
|
-
accessor?: undefined;
|
|
82
|
-
minWidth?: undefined;
|
|
83
|
-
})[];
|
|
84
|
-
render(): JSX.Element;
|
|
85
|
-
}
|
|
86
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare type PmidItemProps = {
|
|
3
|
-
title: string;
|
|
4
|
-
author: string;
|
|
5
|
-
source: string;
|
|
6
|
-
date: string;
|
|
7
|
-
pmid: string;
|
|
8
|
-
};
|
|
9
|
-
export default class PmidItem extends React.Component<PmidItemProps> {
|
|
10
|
-
render(): JSX.Element;
|
|
11
|
-
}
|
|
12
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ICache } from 'cbioportal-frontend-commons';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export default class RefComponent extends React.Component<{
|
|
4
|
-
content: string;
|
|
5
|
-
componentType: 'tooltip' | 'linkout';
|
|
6
|
-
pmidData: ICache<any>;
|
|
7
|
-
}> {
|
|
8
|
-
render(): JSX.Element;
|
|
9
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ICache } from 'cbioportal-frontend-commons';
|
|
2
|
-
import { ArticleAbstract } from 'oncokb-ts-api-client';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
declare type ReferenceListProps = {
|
|
5
|
-
pmids: number[];
|
|
6
|
-
pmidData?: ICache<any>;
|
|
7
|
-
abstracts: ArticleAbstract[];
|
|
8
|
-
};
|
|
9
|
-
export default class ReferenceList extends React.Component<ReferenceListProps> {
|
|
10
|
-
get isLoading(): boolean;
|
|
11
|
-
render(): JSX.Element;
|
|
12
|
-
}
|
|
13
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ICache } from 'cbioportal-frontend-commons';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare type SummaryWithRefsProps = {
|
|
4
|
-
content: string | undefined;
|
|
5
|
-
type: 'tooltip' | 'linkout';
|
|
6
|
-
pmidData: ICache<any>;
|
|
7
|
-
};
|
|
8
|
-
export default class SummaryWithRefs extends React.Component<SummaryWithRefsProps> {
|
|
9
|
-
render(): JSX.Element;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare enum OtherBiomarkersQueryType {
|
|
2
|
-
MSIH = "MSIH",
|
|
3
|
-
TMBH = "TMBI"
|
|
4
|
-
}
|
|
5
|
-
export declare const OTHER_BIOMARKER_HUGO_SYMBOL = "Other Biomarkers";
|
|
6
|
-
export declare const MSI_H_NAME = "MSI-H";
|
|
7
|
-
export declare const TMB_H_NAME = "TMB-H";
|
|
8
|
-
export declare const OTHER_BIOMARKER_NAME: {
|
|
9
|
-
[key in OtherBiomarkersQueryType]: string;
|
|
10
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { OncoKbCardDataType } from 'cbioportal-utils';
|
|
3
|
-
import { IndicatorQueryResp } from 'oncokb-ts-api-client';
|
|
4
|
-
export declare const AnnotationIcon: React.FunctionComponent<{
|
|
5
|
-
type: OncoKbCardDataType;
|
|
6
|
-
tooltipOverlay?: JSX.Element;
|
|
7
|
-
indicator?: IndicatorQueryResp;
|
|
8
|
-
availableDataTypes?: OncoKbCardDataType[];
|
|
9
|
-
}>;
|
|
10
|
-
export declare const AnnotationIconWithTooltip: React.FunctionComponent<{
|
|
11
|
-
tooltipOverlay?: JSX.Element;
|
|
12
|
-
icon?: JSX.Element;
|
|
13
|
-
}>;
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}>;
|