@jbrowse/plugin-linear-comparative-view 2.7.0 → 2.7.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.
- package/dist/LinearComparativeView/model.d.ts +2 -1
- package/dist/LinearSyntenyView/components/{ImportCustomTrack.js → ImportForm/ImportCustomTrack.js} +5 -21
- package/dist/LinearSyntenyView/components/{ImportSyntenyTrackSelector.d.ts → ImportForm/ImportSyntenyTrackSelector.d.ts} +1 -1
- package/{esm/LinearSyntenyView/components/ImportForm.d.ts → dist/LinearSyntenyView/components/ImportForm/index.d.ts} +1 -1
- package/dist/LinearSyntenyView/components/ImportForm/util.d.ts +10 -0
- package/dist/LinearSyntenyView/components/ImportForm/util.js +27 -0
- package/dist/LinearSyntenyView/model.d.ts +7 -4
- package/dist/LinearSyntenyView/model.js +1 -1
- package/esm/LinearComparativeView/model.d.ts +2 -1
- package/esm/LinearSyntenyView/components/{ImportCustomTrack.js → ImportForm/ImportCustomTrack.js} +4 -17
- package/esm/LinearSyntenyView/components/{ImportSyntenyTrackSelector.d.ts → ImportForm/ImportSyntenyTrackSelector.d.ts} +1 -1
- package/{dist/LinearSyntenyView/components/ImportForm.d.ts → esm/LinearSyntenyView/components/ImportForm/index.d.ts} +1 -1
- package/esm/LinearSyntenyView/components/ImportForm/util.d.ts +10 -0
- package/esm/LinearSyntenyView/components/ImportForm/util.js +20 -0
- package/esm/LinearSyntenyView/model.d.ts +7 -4
- package/esm/LinearSyntenyView/model.js +1 -1
- package/package.json +2 -2
- /package/dist/LinearSyntenyView/components/{ImportCustomTrack.d.ts → ImportForm/ImportCustomTrack.d.ts} +0 -0
- /package/dist/LinearSyntenyView/components/{ImportSyntenyTrackSelector.js → ImportForm/ImportSyntenyTrackSelector.js} +0 -0
- /package/dist/LinearSyntenyView/components/{ImportForm.js → ImportForm/index.js} +0 -0
- /package/esm/LinearSyntenyView/components/{ImportCustomTrack.d.ts → ImportForm/ImportCustomTrack.d.ts} +0 -0
- /package/esm/LinearSyntenyView/components/{ImportSyntenyTrackSelector.js → ImportForm/ImportSyntenyTrackSelector.js} +0 -0
- /package/esm/LinearSyntenyView/components/{ImportForm.js → ImportForm/index.js} +0 -0
|
@@ -46,9 +46,9 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
46
46
|
hideHeaderOverview: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
47
47
|
hideNoTracksActive: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
48
48
|
trackSelectorType: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
49
|
-
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
50
49
|
showCenterLine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
51
50
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
51
|
+
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
52
52
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
53
53
|
}, {
|
|
54
54
|
width: number;
|
|
@@ -71,6 +71,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
71
71
|
leftOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
72
72
|
rightOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
73
73
|
} & {
|
|
74
|
+
readonly trackLabelsSetting: any;
|
|
74
75
|
readonly width: number;
|
|
75
76
|
readonly interRegionPaddingWidth: number;
|
|
76
77
|
readonly assemblyNames: string[];
|
package/dist/LinearSyntenyView/components/{ImportCustomTrack.js → ImportForm/ImportCustomTrack.js}
RENAMED
|
@@ -22,28 +22,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
__setModuleDefault(result, mod);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
26
|
const react_1 = __importStar(require("react"));
|
|
30
|
-
const path_1 = __importDefault(require("path"));
|
|
31
27
|
const material_1 = require("@mui/material");
|
|
32
28
|
const ui_1 = require("@jbrowse/core/ui");
|
|
33
29
|
const mobx_react_1 = require("mobx-react");
|
|
34
|
-
|
|
35
|
-
return sessionTrackData
|
|
36
|
-
? // @ts-expect-error
|
|
37
|
-
sessionTrackData.uri ||
|
|
38
|
-
// @ts-expect-error
|
|
39
|
-
sessionTrackData.localPath ||
|
|
40
|
-
// @ts-expect-error
|
|
41
|
-
sessionTrackData.name
|
|
42
|
-
: undefined;
|
|
43
|
-
}
|
|
44
|
-
function stripGz(fileName) {
|
|
45
|
-
return fileName.endsWith('.gz') ? fileName.slice(0, -3) : fileName;
|
|
46
|
-
}
|
|
30
|
+
const util_1 = require("./util");
|
|
47
31
|
function getAdapter({ radioOption, assembly1, assembly2, fileLocation, bed1Location, bed2Location, }) {
|
|
48
32
|
if (radioOption === '.paf') {
|
|
49
33
|
return {
|
|
@@ -96,7 +80,7 @@ function getAdapter({ radioOption, assembly1, assembly2, fileLocation, bed1Locat
|
|
|
96
80
|
};
|
|
97
81
|
}
|
|
98
82
|
else {
|
|
99
|
-
throw new Error(
|
|
83
|
+
throw new Error(`Unknown to detect type ${radioOption} from filename (select radio button to clarify)`);
|
|
100
84
|
}
|
|
101
85
|
}
|
|
102
86
|
const OpenTrack = (0, mobx_react_1.observer)(({ assembly1, assembly2, setSessionTrackData, }) => {
|
|
@@ -105,12 +89,12 @@ const OpenTrack = (0, mobx_react_1.observer)(({ assembly1, assembly2, setSession
|
|
|
105
89
|
const [fileLocation, setFileLocation] = (0, react_1.useState)();
|
|
106
90
|
const [value, setValue] = (0, react_1.useState)('');
|
|
107
91
|
const [error, setError] = (0, react_1.useState)();
|
|
108
|
-
const fileName = getName(fileLocation);
|
|
109
|
-
const radioOption = value || (fileName ?
|
|
92
|
+
const fileName = (0, util_1.getName)(fileLocation);
|
|
93
|
+
const radioOption = value || (fileName ? (0, util_1.extName)((0, util_1.stripGz)(fileName)) : '');
|
|
110
94
|
(0, react_1.useEffect)(() => {
|
|
111
95
|
try {
|
|
112
96
|
if (fileLocation) {
|
|
113
|
-
const fn = fileName ?
|
|
97
|
+
const fn = fileName ? (0, util_1.basename)(fileName) : 'MyTrack';
|
|
114
98
|
const trackId = `${fn}-${Date.now()}`;
|
|
115
99
|
setError(undefined);
|
|
116
100
|
setSessionTrackData({
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function getName(sessionTrackData?: {
|
|
2
|
+
uri: string;
|
|
3
|
+
} | {
|
|
4
|
+
localPath: string;
|
|
5
|
+
} | {
|
|
6
|
+
name: string;
|
|
7
|
+
}): any;
|
|
8
|
+
export declare function stripGz(fileName: string): string;
|
|
9
|
+
export declare function basename(str: string): string | undefined;
|
|
10
|
+
export declare function extName(str: string): string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.extName = exports.basename = exports.stripGz = exports.getName = void 0;
|
|
4
|
+
function getName(sessionTrackData) {
|
|
5
|
+
return sessionTrackData
|
|
6
|
+
? // @ts-expect-error
|
|
7
|
+
sessionTrackData.uri ||
|
|
8
|
+
// @ts-expect-error
|
|
9
|
+
sessionTrackData.localPath ||
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
sessionTrackData.name
|
|
12
|
+
: undefined;
|
|
13
|
+
}
|
|
14
|
+
exports.getName = getName;
|
|
15
|
+
function stripGz(fileName) {
|
|
16
|
+
return fileName.endsWith('.gz') ? fileName.slice(0, -3) : fileName;
|
|
17
|
+
}
|
|
18
|
+
exports.stripGz = stripGz;
|
|
19
|
+
function basename(str) {
|
|
20
|
+
return str.split('#')[0].split('?')[0].split('/').pop();
|
|
21
|
+
}
|
|
22
|
+
exports.basename = basename;
|
|
23
|
+
function extName(str) {
|
|
24
|
+
const r = str.split('.').pop();
|
|
25
|
+
return r ? `.${r}` : '';
|
|
26
|
+
}
|
|
27
|
+
exports.extName = extName;
|
|
@@ -57,9 +57,9 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
57
57
|
hideHeaderOverview: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
58
58
|
hideNoTracksActive: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
59
59
|
trackSelectorType: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
60
|
-
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
61
60
|
showCenterLine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
62
61
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
62
|
+
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
63
63
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
64
64
|
}, {
|
|
65
65
|
width: number;
|
|
@@ -82,6 +82,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
82
82
|
leftOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
83
83
|
rightOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
84
84
|
} & {
|
|
85
|
+
readonly trackLabelsSetting: any;
|
|
85
86
|
readonly width: number;
|
|
86
87
|
readonly interRegionPaddingWidth: number;
|
|
87
88
|
readonly assemblyNames: string[];
|
|
@@ -271,9 +272,9 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
271
272
|
hideHeaderOverview: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
272
273
|
hideNoTracksActive: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
273
274
|
trackSelectorType: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
274
|
-
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
275
275
|
showCenterLine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
276
276
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
277
|
+
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
277
278
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
278
279
|
}>>[]): void;
|
|
279
280
|
removeView(view: {
|
|
@@ -307,9 +308,9 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
307
308
|
hideHeaderOverview: boolean;
|
|
308
309
|
hideNoTracksActive: boolean;
|
|
309
310
|
trackSelectorType: string;
|
|
310
|
-
trackLabels: string;
|
|
311
311
|
showCenterLine: boolean;
|
|
312
312
|
showCytobandsSetting: boolean;
|
|
313
|
+
trackLabels: string;
|
|
313
314
|
showGridlines: boolean;
|
|
314
315
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
315
316
|
width: number;
|
|
@@ -332,6 +333,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
332
333
|
leftOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
333
334
|
rightOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
334
335
|
} & {
|
|
336
|
+
readonly trackLabelsSetting: any;
|
|
335
337
|
readonly width: number;
|
|
336
338
|
readonly interRegionPaddingWidth: number;
|
|
337
339
|
readonly assemblyNames: string[];
|
|
@@ -495,9 +497,9 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
495
497
|
hideHeaderOverview: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
496
498
|
hideNoTracksActive: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
497
499
|
trackSelectorType: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
498
|
-
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
499
500
|
showCenterLine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
500
501
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
502
|
+
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
501
503
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
502
504
|
}, {
|
|
503
505
|
width: number;
|
|
@@ -520,6 +522,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
520
522
|
leftOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
521
523
|
rightOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
522
524
|
} & {
|
|
525
|
+
readonly trackLabelsSetting: any;
|
|
523
526
|
readonly width: number;
|
|
524
527
|
readonly interRegionPaddingWidth: number;
|
|
525
528
|
readonly assemblyNames: string[];
|
|
@@ -47,7 +47,7 @@ const ExportSvgDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __i
|
|
|
47
47
|
*/
|
|
48
48
|
function stateModelFactory(pluginManager) {
|
|
49
49
|
return mobx_state_tree_1.types
|
|
50
|
-
.compose((0, model_1.default)(pluginManager), mobx_state_tree_1.types.model(
|
|
50
|
+
.compose('LinearSyntenyView', (0, model_1.default)(pluginManager), mobx_state_tree_1.types.model({
|
|
51
51
|
/**
|
|
52
52
|
* #property
|
|
53
53
|
*/
|
|
@@ -46,9 +46,9 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
46
46
|
hideHeaderOverview: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
47
47
|
hideNoTracksActive: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
48
48
|
trackSelectorType: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
49
|
-
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
50
49
|
showCenterLine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
51
50
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
51
|
+
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
52
52
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
53
53
|
}, {
|
|
54
54
|
width: number;
|
|
@@ -71,6 +71,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
71
71
|
leftOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
72
72
|
rightOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
73
73
|
} & {
|
|
74
|
+
readonly trackLabelsSetting: any;
|
|
74
75
|
readonly width: number;
|
|
75
76
|
readonly interRegionPaddingWidth: number;
|
|
76
77
|
readonly assemblyNames: string[];
|
package/esm/LinearSyntenyView/components/{ImportCustomTrack.js → ImportForm/ImportCustomTrack.js}
RENAMED
|
@@ -1,21 +1,8 @@
|
|
|
1
1
|
import React, { useState, useEffect } from 'react';
|
|
2
|
-
import path from 'path';
|
|
3
2
|
import { FormControlLabel, Grid, Paper, Radio, RadioGroup, Typography, } from '@mui/material';
|
|
4
3
|
import { ErrorMessage, FileSelector } from '@jbrowse/core/ui';
|
|
5
4
|
import { observer } from 'mobx-react';
|
|
6
|
-
|
|
7
|
-
return sessionTrackData
|
|
8
|
-
? // @ts-expect-error
|
|
9
|
-
sessionTrackData.uri ||
|
|
10
|
-
// @ts-expect-error
|
|
11
|
-
sessionTrackData.localPath ||
|
|
12
|
-
// @ts-expect-error
|
|
13
|
-
sessionTrackData.name
|
|
14
|
-
: undefined;
|
|
15
|
-
}
|
|
16
|
-
function stripGz(fileName) {
|
|
17
|
-
return fileName.endsWith('.gz') ? fileName.slice(0, -3) : fileName;
|
|
18
|
-
}
|
|
5
|
+
import { extName, getName, stripGz, basename } from './util';
|
|
19
6
|
function getAdapter({ radioOption, assembly1, assembly2, fileLocation, bed1Location, bed2Location, }) {
|
|
20
7
|
if (radioOption === '.paf') {
|
|
21
8
|
return {
|
|
@@ -68,7 +55,7 @@ function getAdapter({ radioOption, assembly1, assembly2, fileLocation, bed1Locat
|
|
|
68
55
|
};
|
|
69
56
|
}
|
|
70
57
|
else {
|
|
71
|
-
throw new Error(
|
|
58
|
+
throw new Error(`Unknown to detect type ${radioOption} from filename (select radio button to clarify)`);
|
|
72
59
|
}
|
|
73
60
|
}
|
|
74
61
|
const OpenTrack = observer(({ assembly1, assembly2, setSessionTrackData, }) => {
|
|
@@ -78,11 +65,11 @@ const OpenTrack = observer(({ assembly1, assembly2, setSessionTrackData, }) => {
|
|
|
78
65
|
const [value, setValue] = useState('');
|
|
79
66
|
const [error, setError] = useState();
|
|
80
67
|
const fileName = getName(fileLocation);
|
|
81
|
-
const radioOption = value || (fileName ?
|
|
68
|
+
const radioOption = value || (fileName ? extName(stripGz(fileName)) : '');
|
|
82
69
|
useEffect(() => {
|
|
83
70
|
try {
|
|
84
71
|
if (fileLocation) {
|
|
85
|
-
const fn = fileName ?
|
|
72
|
+
const fn = fileName ? basename(fileName) : 'MyTrack';
|
|
86
73
|
const trackId = `${fn}-${Date.now()}`;
|
|
87
74
|
setError(undefined);
|
|
88
75
|
setSessionTrackData({
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare function getName(sessionTrackData?: {
|
|
2
|
+
uri: string;
|
|
3
|
+
} | {
|
|
4
|
+
localPath: string;
|
|
5
|
+
} | {
|
|
6
|
+
name: string;
|
|
7
|
+
}): any;
|
|
8
|
+
export declare function stripGz(fileName: string): string;
|
|
9
|
+
export declare function basename(str: string): string | undefined;
|
|
10
|
+
export declare function extName(str: string): string;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export function getName(sessionTrackData) {
|
|
2
|
+
return sessionTrackData
|
|
3
|
+
? // @ts-expect-error
|
|
4
|
+
sessionTrackData.uri ||
|
|
5
|
+
// @ts-expect-error
|
|
6
|
+
sessionTrackData.localPath ||
|
|
7
|
+
// @ts-expect-error
|
|
8
|
+
sessionTrackData.name
|
|
9
|
+
: undefined;
|
|
10
|
+
}
|
|
11
|
+
export function stripGz(fileName) {
|
|
12
|
+
return fileName.endsWith('.gz') ? fileName.slice(0, -3) : fileName;
|
|
13
|
+
}
|
|
14
|
+
export function basename(str) {
|
|
15
|
+
return str.split('#')[0].split('?')[0].split('/').pop();
|
|
16
|
+
}
|
|
17
|
+
export function extName(str) {
|
|
18
|
+
const r = str.split('.').pop();
|
|
19
|
+
return r ? `.${r}` : '';
|
|
20
|
+
}
|
|
@@ -57,9 +57,9 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
57
57
|
hideHeaderOverview: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
58
58
|
hideNoTracksActive: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
59
59
|
trackSelectorType: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
60
|
-
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
61
60
|
showCenterLine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
62
61
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
62
|
+
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
63
63
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
64
64
|
}, {
|
|
65
65
|
width: number;
|
|
@@ -82,6 +82,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
82
82
|
leftOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
83
83
|
rightOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
84
84
|
} & {
|
|
85
|
+
readonly trackLabelsSetting: any;
|
|
85
86
|
readonly width: number;
|
|
86
87
|
readonly interRegionPaddingWidth: number;
|
|
87
88
|
readonly assemblyNames: string[];
|
|
@@ -271,9 +272,9 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
271
272
|
hideHeaderOverview: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
272
273
|
hideNoTracksActive: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
273
274
|
trackSelectorType: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
274
|
-
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
275
275
|
showCenterLine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
276
276
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
277
|
+
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
277
278
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
278
279
|
}>>[]): void;
|
|
279
280
|
removeView(view: {
|
|
@@ -307,9 +308,9 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
307
308
|
hideHeaderOverview: boolean;
|
|
308
309
|
hideNoTracksActive: boolean;
|
|
309
310
|
trackSelectorType: string;
|
|
310
|
-
trackLabels: string;
|
|
311
311
|
showCenterLine: boolean;
|
|
312
312
|
showCytobandsSetting: boolean;
|
|
313
|
+
trackLabels: string;
|
|
313
314
|
showGridlines: boolean;
|
|
314
315
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
315
316
|
width: number;
|
|
@@ -332,6 +333,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
332
333
|
leftOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
333
334
|
rightOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
334
335
|
} & {
|
|
336
|
+
readonly trackLabelsSetting: any;
|
|
335
337
|
readonly width: number;
|
|
336
338
|
readonly interRegionPaddingWidth: number;
|
|
337
339
|
readonly assemblyNames: string[];
|
|
@@ -495,9 +497,9 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
495
497
|
hideHeaderOverview: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
496
498
|
hideNoTracksActive: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
497
499
|
trackSelectorType: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
498
|
-
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
499
500
|
showCenterLine: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
500
501
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
502
|
+
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
501
503
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
502
504
|
}, {
|
|
503
505
|
width: number;
|
|
@@ -520,6 +522,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
520
522
|
leftOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
521
523
|
rightOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
522
524
|
} & {
|
|
525
|
+
readonly trackLabelsSetting: any;
|
|
523
526
|
readonly width: number;
|
|
524
527
|
readonly interRegionPaddingWidth: number;
|
|
525
528
|
readonly assemblyNames: string[];
|
|
@@ -19,7 +19,7 @@ const ExportSvgDialog = lazy(() => import('./components/ExportSvgDialog'));
|
|
|
19
19
|
*/
|
|
20
20
|
export default function stateModelFactory(pluginManager) {
|
|
21
21
|
return types
|
|
22
|
-
.compose(baseModel(pluginManager), types.model(
|
|
22
|
+
.compose('LinearSyntenyView', baseModel(pluginManager), types.model({
|
|
23
23
|
/**
|
|
24
24
|
* #property
|
|
25
25
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-linear-comparative-view",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.2",
|
|
4
4
|
"description": "JBrowse 2 linear comparative view",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "9052b295f2d322e729254457ed9fe2231fb22cce"
|
|
66
66
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|