@jbrowse/plugin-linear-genome-view 1.7.0 → 1.7.1
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/BaseLinearDisplay/components/BaseLinearDisplay.d.ts +13 -13
- package/dist/BaseLinearDisplay/components/Block.d.ts +15 -15
- package/dist/BaseLinearDisplay/components/LinearBlocks.d.ts +12 -12
- package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.d.ts +4 -4
- package/dist/BaseLinearDisplay/index.d.ts +5 -5
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +227 -230
- package/dist/BaseLinearDisplay/models/baseLinearDisplayConfigSchema.d.ts +1 -1
- package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.d.ts +96 -96
- package/dist/LinearBareDisplay/configSchema.d.ts +2 -2
- package/dist/LinearBareDisplay/index.d.ts +2 -2
- package/dist/LinearBareDisplay/model.d.ts +192 -192
- package/dist/LinearBasicDisplay/components/SetMaxHeight.d.ts +10 -10
- package/dist/LinearBasicDisplay/configSchema.d.ts +2 -2
- package/dist/LinearBasicDisplay/index.d.ts +2 -2
- package/dist/LinearBasicDisplay/model.d.ts +213 -213
- package/dist/LinearGenomeView/components/CenterLine.d.ts +14 -14
- package/dist/LinearGenomeView/components/ExportSvgDialog.d.ts +6 -6
- package/dist/LinearGenomeView/components/Header.d.ts +7 -7
- package/dist/LinearGenomeView/components/HelpDialog.d.ts +5 -5
- package/dist/LinearGenomeView/components/ImportForm.d.ts +7 -7
- package/dist/LinearGenomeView/components/LinearGenomeView.d.ts +7 -7
- package/dist/LinearGenomeView/components/LinearGenomeViewSvg.d.ts +4 -4
- package/dist/LinearGenomeView/components/MiniControls.d.ts +6 -6
- package/dist/LinearGenomeView/components/OverviewRubberBand.d.ts +22 -22
- package/dist/LinearGenomeView/components/OverviewScaleBar.d.ts +132 -124
- package/dist/LinearGenomeView/components/RefNameAutocomplete.d.ts +21 -21
- package/dist/LinearGenomeView/components/RubberBand.d.ts +9 -20
- package/dist/LinearGenomeView/components/Ruler.d.ts +27 -27
- package/dist/LinearGenomeView/components/ScaleBar.d.ts +401 -401
- package/dist/LinearGenomeView/components/SearchBox.d.ts +8 -8
- package/dist/LinearGenomeView/components/SearchResultsDialog.d.ts +8 -8
- package/dist/LinearGenomeView/components/SequenceDialog.d.ts +8 -8
- package/dist/LinearGenomeView/components/TrackContainer.d.ts +9 -9
- package/dist/LinearGenomeView/components/TrackLabel.d.ts +44 -44
- package/dist/LinearGenomeView/components/TracksContainer.d.ts +10 -10
- package/dist/LinearGenomeView/components/VerticalGuides.d.ts +9 -9
- package/dist/LinearGenomeView/components/ZoomControls.d.ts +7 -7
- package/dist/LinearGenomeView/components/util.d.ts +2 -2
- package/dist/LinearGenomeView/index.d.ts +292 -292
- package/dist/LinearGenomeView/util.d.ts +14 -14
- package/dist/index.d.ts +565 -565
- package/package.json +4 -3
- package/dist/LinearBareDisplay/index.test.d.ts +0 -1
- package/dist/LinearGenomeView/components/LinearGenomeView.test.d.ts +0 -1
- package/dist/plugin-linear-genome-view.cjs.development.js +0 -8121
- package/dist/plugin-linear-genome-view.cjs.development.js.map +0 -1
- package/dist/plugin-linear-genome-view.cjs.production.min.js +0 -2
- package/dist/plugin-linear-genome-view.cjs.production.min.js.map +0 -1
- package/dist/plugin-linear-genome-view.esm.js +0 -8105
- package/dist/plugin-linear-genome-view.esm.js.map +0 -1
|
@@ -1,124 +1,132 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { Instance } from 'mobx-state-tree';
|
|
3
|
-
import { Base1DViewModel } from '@jbrowse/core/util/Base1DViewModel';
|
|
4
|
-
import { ContentBlock } from '@jbrowse/core/util/blockTypes';
|
|
5
|
-
import { Assembly } from '@jbrowse/core/assemblyManager/assembly';
|
|
6
|
-
import { LinearGenomeViewModel } from '..';
|
|
7
|
-
declare const Polygon: ({ model, overview, useOffset, }: {
|
|
8
|
-
model: LGV;
|
|
9
|
-
overview: Instance<Base1DViewModel>;
|
|
10
|
-
useOffset?: boolean | undefined;
|
|
11
|
-
}) => JSX.Element | null;
|
|
12
|
-
declare type LGV = LinearGenomeViewModel;
|
|
13
|
-
declare const Cytobands: ({ overview, block, assembly, }: {
|
|
14
|
-
overview: Base1DViewModel;
|
|
15
|
-
assembly?: (import("mobx-state-tree").ModelInstanceTypeProps<{
|
|
16
|
-
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
17
|
-
}> & {
|
|
18
|
-
error: Error | undefined;
|
|
19
|
-
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
20
|
-
refNameAliases: {
|
|
21
|
-
[key: string]: string;
|
|
22
|
-
} | undefined;
|
|
23
|
-
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
24
|
-
} & {
|
|
25
|
-
readonly initialized: boolean;
|
|
26
|
-
readonly name: string;
|
|
27
|
-
readonly aliases: string[];
|
|
28
|
-
hasName(name: string): boolean;
|
|
29
|
-
readonly allAliases: string[];
|
|
30
|
-
readonly refNames: string[] | undefined;
|
|
31
|
-
readonly allRefNames: string[] | undefined;
|
|
32
|
-
readonly rpcManager: any;
|
|
33
|
-
readonly refNameColors: string[];
|
|
34
|
-
} & {
|
|
35
|
-
getCanonicalRefName(refName: string): string;
|
|
36
|
-
getRefNameColor(refName: string): string | undefined;
|
|
37
|
-
isValidRefName(refName: string): boolean;
|
|
38
|
-
} & {
|
|
39
|
-
setLoading(): void;
|
|
40
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, cytobands, }: {
|
|
41
|
-
adapterRegionsWithAssembly: import("@jbrowse/core/util").Region[];
|
|
42
|
-
refNameAliases:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
readonly
|
|
80
|
-
readonly
|
|
81
|
-
readonly
|
|
82
|
-
|
|
83
|
-
readonly
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
} & {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Instance } from 'mobx-state-tree';
|
|
3
|
+
import { Base1DViewModel } from '@jbrowse/core/util/Base1DViewModel';
|
|
4
|
+
import { ContentBlock } from '@jbrowse/core/util/blockTypes';
|
|
5
|
+
import { Assembly } from '@jbrowse/core/assemblyManager/assembly';
|
|
6
|
+
import { LinearGenomeViewModel } from '..';
|
|
7
|
+
declare const Polygon: ({ model, overview, useOffset, }: {
|
|
8
|
+
model: LGV;
|
|
9
|
+
overview: Instance<Base1DViewModel>;
|
|
10
|
+
useOffset?: boolean | undefined;
|
|
11
|
+
}) => JSX.Element | null;
|
|
12
|
+
declare type LGV = LinearGenomeViewModel;
|
|
13
|
+
declare const Cytobands: ({ overview, block, assembly, }: {
|
|
14
|
+
overview: Base1DViewModel;
|
|
15
|
+
assembly?: (import("mobx-state-tree").ModelInstanceTypeProps<{
|
|
16
|
+
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
17
|
+
}> & {
|
|
18
|
+
error: Error | undefined;
|
|
19
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
20
|
+
refNameAliases: {
|
|
21
|
+
[key: string]: string;
|
|
22
|
+
} | undefined;
|
|
23
|
+
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
24
|
+
} & {
|
|
25
|
+
readonly initialized: boolean;
|
|
26
|
+
readonly name: string;
|
|
27
|
+
readonly aliases: string[];
|
|
28
|
+
hasName(name: string): boolean;
|
|
29
|
+
readonly allAliases: string[];
|
|
30
|
+
readonly refNames: string[] | undefined;
|
|
31
|
+
readonly allRefNames: string[] | undefined;
|
|
32
|
+
readonly rpcManager: any;
|
|
33
|
+
readonly refNameColors: string[];
|
|
34
|
+
} & {
|
|
35
|
+
getCanonicalRefName(refName: string): string;
|
|
36
|
+
getRefNameColor(refName: string): string | undefined;
|
|
37
|
+
isValidRefName(refName: string): boolean;
|
|
38
|
+
} & {
|
|
39
|
+
setLoading(): void;
|
|
40
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, cytobands, }: {
|
|
41
|
+
adapterRegionsWithAssembly: import("@jbrowse/core/util").Region[];
|
|
42
|
+
refNameAliases: {
|
|
43
|
+
[x: string]: string;
|
|
44
|
+
};
|
|
45
|
+
cytobands: import("@jbrowse/core/util").Feature[];
|
|
46
|
+
}): void;
|
|
47
|
+
setError(e: Error): void;
|
|
48
|
+
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
49
|
+
setRefNameAliases(refNameAliases: {
|
|
50
|
+
[x: string]: string;
|
|
51
|
+
}): void;
|
|
52
|
+
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
53
|
+
afterAttach(): void;
|
|
54
|
+
} & {
|
|
55
|
+
getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/assemblyManager/assembly").BaseOptions): Promise<{
|
|
56
|
+
forwardMap: {
|
|
57
|
+
[k: string]: string;
|
|
58
|
+
};
|
|
59
|
+
reverseMap: {
|
|
60
|
+
[k: string]: string;
|
|
61
|
+
};
|
|
62
|
+
}>;
|
|
63
|
+
getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/assemblyManager/assembly").BaseOptions): Promise<{
|
|
64
|
+
[k: string]: string;
|
|
65
|
+
}>;
|
|
66
|
+
getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/assemblyManager/assembly").BaseOptions): Promise<{
|
|
67
|
+
[k: string]: string;
|
|
68
|
+
}>;
|
|
69
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
70
|
+
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
71
|
+
}, {
|
|
72
|
+
error: Error | undefined;
|
|
73
|
+
regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
74
|
+
refNameAliases: {
|
|
75
|
+
[key: string]: string;
|
|
76
|
+
} | undefined;
|
|
77
|
+
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
78
|
+
} & {
|
|
79
|
+
readonly initialized: boolean;
|
|
80
|
+
readonly name: string;
|
|
81
|
+
readonly aliases: string[];
|
|
82
|
+
hasName(name: string): boolean;
|
|
83
|
+
readonly allAliases: string[];
|
|
84
|
+
readonly refNames: string[] | undefined;
|
|
85
|
+
readonly allRefNames: string[] | undefined;
|
|
86
|
+
readonly rpcManager: any;
|
|
87
|
+
readonly refNameColors: string[];
|
|
88
|
+
} & {
|
|
89
|
+
getCanonicalRefName(refName: string): string;
|
|
90
|
+
getRefNameColor(refName: string): string | undefined;
|
|
91
|
+
isValidRefName(refName: string): boolean;
|
|
92
|
+
} & {
|
|
93
|
+
setLoading(): void;
|
|
94
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, cytobands, }: {
|
|
95
|
+
adapterRegionsWithAssembly: import("@jbrowse/core/util").Region[];
|
|
96
|
+
refNameAliases: {
|
|
97
|
+
[x: string]: string;
|
|
98
|
+
};
|
|
99
|
+
cytobands: import("@jbrowse/core/util").Feature[];
|
|
100
|
+
}): void;
|
|
101
|
+
setError(e: Error): void;
|
|
102
|
+
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
103
|
+
setRefNameAliases(refNameAliases: {
|
|
104
|
+
[x: string]: string;
|
|
105
|
+
}): void;
|
|
106
|
+
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
107
|
+
afterAttach(): void;
|
|
108
|
+
} & {
|
|
109
|
+
getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/assemblyManager/assembly").BaseOptions): Promise<{
|
|
110
|
+
forwardMap: {
|
|
111
|
+
[k: string]: string;
|
|
112
|
+
};
|
|
113
|
+
reverseMap: {
|
|
114
|
+
[k: string]: string;
|
|
115
|
+
};
|
|
116
|
+
}>;
|
|
117
|
+
getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/assemblyManager/assembly").BaseOptions): Promise<{
|
|
118
|
+
[k: string]: string;
|
|
119
|
+
}>;
|
|
120
|
+
getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/assemblyManager/assembly").BaseOptions): Promise<{
|
|
121
|
+
[k: string]: string;
|
|
122
|
+
}>;
|
|
123
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
|
|
124
|
+
block: ContentBlock;
|
|
125
|
+
}) => JSX.Element | null;
|
|
126
|
+
declare function OverviewScaleBar({ model, children, }: {
|
|
127
|
+
model: LGV;
|
|
128
|
+
children: React.ReactNode;
|
|
129
|
+
}): JSX.Element;
|
|
130
|
+
declare const _default: typeof OverviewScaleBar;
|
|
131
|
+
export default _default;
|
|
132
|
+
export { Cytobands, Polygon };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import BaseResult from '@jbrowse/core/TextSearch/BaseResults';
|
|
3
|
-
import { TextFieldProps as TFP } from '@material-ui/core';
|
|
4
|
-
import { LinearGenomeViewModel } from '..';
|
|
5
|
-
export interface Option {
|
|
6
|
-
group?: string;
|
|
7
|
-
result: BaseResult;
|
|
8
|
-
}
|
|
9
|
-
declare function RefNameAutocomplete({ model, showHelp, onSelect, assemblyName, style, fetchResults, value, minWidth, TextFieldProps, }: {
|
|
10
|
-
model: LinearGenomeViewModel;
|
|
11
|
-
onSelect: (region: BaseResult) => void;
|
|
12
|
-
assemblyName?: string;
|
|
13
|
-
value?: string;
|
|
14
|
-
fetchResults: (query: string) => Promise<BaseResult[]>;
|
|
15
|
-
style?: React.CSSProperties;
|
|
16
|
-
minWidth?: number;
|
|
17
|
-
showHelp?: boolean;
|
|
18
|
-
TextFieldProps?: TFP;
|
|
19
|
-
}): JSX.Element;
|
|
20
|
-
declare const _default: typeof RefNameAutocomplete;
|
|
21
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import BaseResult from '@jbrowse/core/TextSearch/BaseResults';
|
|
3
|
+
import { TextFieldProps as TFP } from '@material-ui/core';
|
|
4
|
+
import { LinearGenomeViewModel } from '..';
|
|
5
|
+
export interface Option {
|
|
6
|
+
group?: string;
|
|
7
|
+
result: BaseResult;
|
|
8
|
+
}
|
|
9
|
+
declare function RefNameAutocomplete({ model, showHelp, onSelect, assemblyName, style, fetchResults, value, minWidth, TextFieldProps, }: {
|
|
10
|
+
model: LinearGenomeViewModel;
|
|
11
|
+
onSelect: (region: BaseResult) => void;
|
|
12
|
+
assemblyName?: string;
|
|
13
|
+
value?: string;
|
|
14
|
+
fetchResults: (query: string) => Promise<BaseResult[]>;
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
minWidth?: number;
|
|
17
|
+
showHelp?: boolean;
|
|
18
|
+
TextFieldProps?: TFP;
|
|
19
|
+
}): JSX.Element;
|
|
20
|
+
declare const _default: typeof RefNameAutocomplete;
|
|
21
|
+
export default _default;
|
|
@@ -1,20 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
declare namespace RubberBand {
|
|
11
|
-
var propTypes: {
|
|
12
|
-
model: ReactPropTypes.Validator<any>;
|
|
13
|
-
ControlComponent: ReactPropTypes.Requireable<ReactPropTypes.ReactNodeLike>;
|
|
14
|
-
};
|
|
15
|
-
var defaultProps: {
|
|
16
|
-
ControlComponent: JSX.Element;
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
declare const _default: typeof RubberBand;
|
|
20
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LinearGenomeViewModel } from '..';
|
|
3
|
+
declare type LGV = LinearGenomeViewModel;
|
|
4
|
+
declare function RubberBand({ model, ControlComponent, }: {
|
|
5
|
+
model: LGV;
|
|
6
|
+
ControlComponent?: React.ReactElement;
|
|
7
|
+
}): JSX.Element;
|
|
8
|
+
declare const _default: typeof RubberBand;
|
|
9
|
+
export default _default;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import ReactPropTypes from 'prop-types';
|
|
3
|
-
declare function Ruler({ start, end, bpPerPx, reversed, major, minor, }: {
|
|
4
|
-
start: number;
|
|
5
|
-
end: number;
|
|
6
|
-
bpPerPx: number;
|
|
7
|
-
reversed?: boolean;
|
|
8
|
-
major: boolean;
|
|
9
|
-
minor: boolean;
|
|
10
|
-
}): JSX.Element;
|
|
11
|
-
declare namespace Ruler {
|
|
12
|
-
var propTypes: {
|
|
13
|
-
start: ReactPropTypes.Validator<number>;
|
|
14
|
-
end: ReactPropTypes.Validator<number>;
|
|
15
|
-
bpPerPx: ReactPropTypes.Validator<number>;
|
|
16
|
-
reversed: ReactPropTypes.Requireable<boolean>;
|
|
17
|
-
major: ReactPropTypes.Requireable<boolean>;
|
|
18
|
-
minor: ReactPropTypes.Requireable<boolean>;
|
|
19
|
-
};
|
|
20
|
-
var defaultProps: {
|
|
21
|
-
reversed: boolean;
|
|
22
|
-
major: boolean;
|
|
23
|
-
minor: boolean;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
declare const _default: typeof Ruler;
|
|
27
|
-
export default _default;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import ReactPropTypes from 'prop-types';
|
|
3
|
+
declare function Ruler({ start, end, bpPerPx, reversed, major, minor, }: {
|
|
4
|
+
start: number;
|
|
5
|
+
end: number;
|
|
6
|
+
bpPerPx: number;
|
|
7
|
+
reversed?: boolean;
|
|
8
|
+
major: boolean;
|
|
9
|
+
minor: boolean;
|
|
10
|
+
}): JSX.Element;
|
|
11
|
+
declare namespace Ruler {
|
|
12
|
+
var propTypes: {
|
|
13
|
+
start: ReactPropTypes.Validator<number>;
|
|
14
|
+
end: ReactPropTypes.Validator<number>;
|
|
15
|
+
bpPerPx: ReactPropTypes.Validator<number>;
|
|
16
|
+
reversed: ReactPropTypes.Requireable<boolean>;
|
|
17
|
+
major: ReactPropTypes.Requireable<boolean>;
|
|
18
|
+
minor: ReactPropTypes.Requireable<boolean>;
|
|
19
|
+
};
|
|
20
|
+
var defaultProps: {
|
|
21
|
+
reversed: boolean;
|
|
22
|
+
major: boolean;
|
|
23
|
+
minor: boolean;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
declare const _default: typeof Ruler;
|
|
27
|
+
export default _default;
|