@jbrowse/plugin-linear-genome-view 1.6.5 → 1.6.8
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/models/baseLinearDisplayConfigSchema.d.ts +1 -1
- package/dist/LinearBareDisplay/configSchema.d.ts +1 -1
- package/dist/LinearBareDisplay/model.d.ts +7 -7
- package/dist/LinearBasicDisplay/configSchema.d.ts +1 -1
- package/dist/LinearBasicDisplay/model.d.ts +7 -7
- package/dist/LinearGenomeView/components/OverviewScaleBar.d.ts +6 -6
- package/dist/LinearGenomeView/components/TrackContainer.d.ts +1 -1
- package/dist/index.d.ts +22 -22
- package/dist/plugin-linear-genome-view.cjs.development.js +157 -242
- package/dist/plugin-linear-genome-view.cjs.development.js.map +1 -1
- package/dist/plugin-linear-genome-view.cjs.production.min.js +1 -1
- package/dist/plugin-linear-genome-view.cjs.production.min.js.map +1 -1
- package/dist/plugin-linear-genome-view.esm.js +158 -243
- package/dist/plugin-linear-genome-view.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/BaseLinearDisplay/components/BaseLinearDisplay.tsx +10 -13
- package/src/BaseLinearDisplay/models/BaseLinearDisplayModel.tsx +6 -1
- package/src/LinearBasicDisplay/components/SetMaxHeight.tsx +21 -12
- package/src/LinearBasicDisplay/model.ts +1 -1
- package/src/LinearGenomeView/components/HelpDialog.tsx +14 -1
- package/src/LinearGenomeView/components/LinearGenomeViewSvg.tsx +1 -13
- package/src/LinearGenomeView/components/OverviewScaleBar.tsx +7 -3
- package/src/LinearGenomeView/components/TrackContainer.tsx +34 -30
- package/src/LinearGenomeView/components/TracksContainer.tsx +0 -1
- package/src/LinearGenomeView/components/__snapshots__/LinearGenomeView.test.js.snap +32 -61
- package/src/LinearGenomeView/index.test.ts +44 -42
- package/src/LinearGenomeView/index.tsx +55 -131
- package/src/LinearGenomeView/volvoxDisplayedRegions.json +16 -0
- package/dist/LinearGenomeView/components/ReturnToImportFormDialog.d.ts +0 -9
- package/src/LinearGenomeView/components/ReturnToImportFormDialog.tsx +0 -83
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const baseLinearDisplayConfigSchema: import("@jbrowse/core/configuration
|
|
1
|
+
export declare const baseLinearDisplayConfigSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
export declare function configSchemaFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration
|
|
2
|
+
export declare function configSchemaFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
@@ -25,7 +25,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
25
25
|
renderInProgress: AbortController | undefined;
|
|
26
26
|
filled: boolean;
|
|
27
27
|
reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | undefined;
|
|
28
|
-
features: Map<string, import("@jbrowse/core/util
|
|
28
|
+
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
29
29
|
layout: any;
|
|
30
30
|
status: string;
|
|
31
31
|
error: unknown;
|
|
@@ -43,7 +43,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
43
43
|
setMessage(messageText: string): void;
|
|
44
44
|
setRendered(props: {
|
|
45
45
|
reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
46
|
-
features: Map<string, import("@jbrowse/core/util
|
|
46
|
+
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
47
47
|
layout: any;
|
|
48
48
|
maxHeightReached: boolean;
|
|
49
49
|
renderProps: any;
|
|
@@ -113,7 +113,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
113
113
|
currBpPerPx: number;
|
|
114
114
|
message: string;
|
|
115
115
|
featureIdUnderMouse: string | undefined;
|
|
116
|
-
contextMenuFeature: import("@jbrowse/core/util
|
|
116
|
+
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
117
117
|
scrollTop: number;
|
|
118
118
|
estimatedRegionStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
119
119
|
estimatedRegionStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
@@ -126,8 +126,8 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
126
126
|
readonly selectedFeatureId: string | undefined;
|
|
127
127
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
128
128
|
} & {
|
|
129
|
-
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util
|
|
130
|
-
readonly featureUnderMouse: import("@jbrowse/core/util
|
|
129
|
+
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
130
|
+
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
131
131
|
getFeatureOverlapping(blockKey: string, x: number, y: number): any;
|
|
132
132
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
133
133
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
@@ -154,11 +154,11 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
154
154
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
155
155
|
setCurrBpPerPx(n: number): void;
|
|
156
156
|
deleteBlock(key: string): void;
|
|
157
|
-
selectFeature(feature: import("@jbrowse/core/util
|
|
157
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
158
158
|
clearFeatureSelection(): void;
|
|
159
159
|
setFeatureIdUnderMouse(feature: string | undefined): void;
|
|
160
160
|
reload(): void;
|
|
161
|
-
setContextMenuFeature(feature?: import("@jbrowse/core/util
|
|
161
|
+
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
162
162
|
} & {
|
|
163
163
|
readonly regionTooLarge: boolean;
|
|
164
164
|
readonly regionTooLargeReason: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
export default function configSchemaFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration
|
|
2
|
+
export default function configSchemaFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
@@ -27,7 +27,7 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
27
27
|
renderInProgress: AbortController | undefined;
|
|
28
28
|
filled: boolean;
|
|
29
29
|
reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | undefined;
|
|
30
|
-
features: Map<string, import("@jbrowse/core/util
|
|
30
|
+
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
31
31
|
layout: any;
|
|
32
32
|
status: string;
|
|
33
33
|
error: unknown;
|
|
@@ -45,7 +45,7 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
45
45
|
setMessage(messageText: string): void;
|
|
46
46
|
setRendered(props: {
|
|
47
47
|
reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
48
|
-
features: Map<string, import("@jbrowse/core/util
|
|
48
|
+
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
49
49
|
layout: any;
|
|
50
50
|
maxHeightReached: boolean;
|
|
51
51
|
renderProps: any;
|
|
@@ -119,7 +119,7 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
119
119
|
currBpPerPx: number;
|
|
120
120
|
message: string;
|
|
121
121
|
featureIdUnderMouse: string | undefined;
|
|
122
|
-
contextMenuFeature: import("@jbrowse/core/util
|
|
122
|
+
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
123
123
|
scrollTop: number;
|
|
124
124
|
estimatedRegionStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
125
125
|
estimatedRegionStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
@@ -132,8 +132,8 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
132
132
|
readonly selectedFeatureId: string | undefined;
|
|
133
133
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
134
134
|
} & {
|
|
135
|
-
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util
|
|
136
|
-
readonly featureUnderMouse: import("@jbrowse/core/util
|
|
135
|
+
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
136
|
+
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
137
137
|
getFeatureOverlapping(blockKey: string, x: number, y: number): any;
|
|
138
138
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
139
139
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
@@ -160,11 +160,11 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
|
|
|
160
160
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
161
161
|
setCurrBpPerPx(n: number): void;
|
|
162
162
|
deleteBlock(key: string): void;
|
|
163
|
-
selectFeature(feature: import("@jbrowse/core/util
|
|
163
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
164
164
|
clearFeatureSelection(): void;
|
|
165
165
|
setFeatureIdUnderMouse(feature: string | undefined): void;
|
|
166
166
|
reload(): void;
|
|
167
|
-
setContextMenuFeature(feature?: import("@jbrowse/core/util
|
|
167
|
+
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
168
168
|
} & {
|
|
169
169
|
readonly regionTooLarge: boolean;
|
|
170
170
|
readonly regionTooLargeReason: string;
|
|
@@ -20,7 +20,7 @@ declare const Cytobands: ({ overview, block, assembly, }: {
|
|
|
20
20
|
refNameAliases: {
|
|
21
21
|
[key: string]: string;
|
|
22
22
|
} | undefined;
|
|
23
|
-
cytobands: import("@jbrowse/core/util
|
|
23
|
+
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
24
24
|
} & {
|
|
25
25
|
readonly initialized: boolean;
|
|
26
26
|
readonly name: string;
|
|
@@ -40,12 +40,12 @@ declare const Cytobands: ({ overview, block, assembly, }: {
|
|
|
40
40
|
setLoaded({ adapterRegionsWithAssembly, refNameAliases, cytobands, }: {
|
|
41
41
|
adapterRegionsWithAssembly: import("@jbrowse/core/util").Region[];
|
|
42
42
|
refNameAliases: Record<string, string>;
|
|
43
|
-
cytobands: import("@jbrowse/core/util
|
|
43
|
+
cytobands: import("@jbrowse/core/util").Feature[];
|
|
44
44
|
}): void;
|
|
45
45
|
setError(e: Error): void;
|
|
46
46
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
47
47
|
setRefNameAliases(refNameAliases: Record<string, string>): void;
|
|
48
|
-
setCytobands(cytobands: import("@jbrowse/core/util
|
|
48
|
+
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
49
49
|
afterAttach(): void;
|
|
50
50
|
} & {
|
|
51
51
|
getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/assemblyManager/assembly").BaseOptions): Promise<{
|
|
@@ -70,7 +70,7 @@ declare const Cytobands: ({ overview, block, assembly, }: {
|
|
|
70
70
|
refNameAliases: {
|
|
71
71
|
[key: string]: string;
|
|
72
72
|
} | undefined;
|
|
73
|
-
cytobands: import("@jbrowse/core/util
|
|
73
|
+
cytobands: import("@jbrowse/core/util").Feature[] | undefined;
|
|
74
74
|
} & {
|
|
75
75
|
readonly initialized: boolean;
|
|
76
76
|
readonly name: string;
|
|
@@ -90,12 +90,12 @@ declare const Cytobands: ({ overview, block, assembly, }: {
|
|
|
90
90
|
setLoaded({ adapterRegionsWithAssembly, refNameAliases, cytobands, }: {
|
|
91
91
|
adapterRegionsWithAssembly: import("@jbrowse/core/util").Region[];
|
|
92
92
|
refNameAliases: Record<string, string>;
|
|
93
|
-
cytobands: import("@jbrowse/core/util
|
|
93
|
+
cytobands: import("@jbrowse/core/util").Feature[];
|
|
94
94
|
}): void;
|
|
95
95
|
setError(e: Error): void;
|
|
96
96
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
97
97
|
setRefNameAliases(refNameAliases: Record<string, string>): void;
|
|
98
|
-
setCytobands(cytobands: import("@jbrowse/core/util
|
|
98
|
+
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
99
99
|
afterAttach(): void;
|
|
100
100
|
} & {
|
|
101
101
|
getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/assemblyManager/assembly").BaseOptions): Promise<{
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { BaseTrackModel } from '@jbrowse/core/pluggableElementTypes/models';
|
|
3
3
|
import { LinearGenomeViewModel } from '..';
|
|
4
|
-
declare function TrackContainer(
|
|
4
|
+
declare function TrackContainer({ model, track, }: {
|
|
5
5
|
model: LinearGenomeViewModel;
|
|
6
6
|
track: BaseTrackModel;
|
|
7
7
|
}): JSX.Element;
|
package/dist/index.d.ts
CHANGED
|
@@ -34,7 +34,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
34
34
|
renderInProgress: AbortController | undefined;
|
|
35
35
|
filled: boolean;
|
|
36
36
|
reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | undefined;
|
|
37
|
-
features: Map<string, import("@jbrowse/core/util
|
|
37
|
+
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
38
38
|
layout: any;
|
|
39
39
|
status: string;
|
|
40
40
|
error: unknown;
|
|
@@ -52,7 +52,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
52
52
|
setMessage(messageText: string): void;
|
|
53
53
|
setRendered(props: {
|
|
54
54
|
reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
55
|
-
features: Map<string, import("@jbrowse/core/util
|
|
55
|
+
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
56
56
|
layout: any;
|
|
57
57
|
maxHeightReached: boolean;
|
|
58
58
|
renderProps: any;
|
|
@@ -119,7 +119,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
119
119
|
currBpPerPx: number;
|
|
120
120
|
message: string;
|
|
121
121
|
featureIdUnderMouse: string | undefined;
|
|
122
|
-
contextMenuFeature: import("@jbrowse/core/util
|
|
122
|
+
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
123
123
|
scrollTop: number;
|
|
124
124
|
estimatedRegionStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
125
125
|
estimatedRegionStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
@@ -132,8 +132,8 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
132
132
|
readonly selectedFeatureId: string | undefined;
|
|
133
133
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
134
134
|
} & {
|
|
135
|
-
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util
|
|
136
|
-
readonly featureUnderMouse: import("@jbrowse/core/util
|
|
135
|
+
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
136
|
+
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
137
137
|
getFeatureOverlapping(blockKey: string, x: number, y: number): any;
|
|
138
138
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
139
139
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
@@ -160,11 +160,11 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
160
160
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
161
161
|
setCurrBpPerPx(n: number): void;
|
|
162
162
|
deleteBlock(key: string): void;
|
|
163
|
-
selectFeature(feature: import("@jbrowse/core/util
|
|
163
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
164
164
|
clearFeatureSelection(): void;
|
|
165
165
|
setFeatureIdUnderMouse(feature: string | undefined): void;
|
|
166
166
|
reload(): void;
|
|
167
|
-
setContextMenuFeature(feature?: import("@jbrowse/core/util
|
|
167
|
+
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
168
168
|
} & {
|
|
169
169
|
readonly regionTooLarge: boolean;
|
|
170
170
|
readonly regionTooLargeReason: string;
|
|
@@ -210,7 +210,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
210
210
|
renderInProgress: AbortController | undefined;
|
|
211
211
|
filled: boolean;
|
|
212
212
|
reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | undefined;
|
|
213
|
-
features: Map<string, import("@jbrowse/core/util
|
|
213
|
+
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
214
214
|
layout: any;
|
|
215
215
|
status: string;
|
|
216
216
|
error: unknown;
|
|
@@ -228,7 +228,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
228
228
|
setMessage(messageText: string): void;
|
|
229
229
|
setRendered(props: {
|
|
230
230
|
reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
231
|
-
features: Map<string, import("@jbrowse/core/util
|
|
231
|
+
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
232
232
|
layout: any;
|
|
233
233
|
maxHeightReached: boolean;
|
|
234
234
|
renderProps: any;
|
|
@@ -295,7 +295,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
295
295
|
currBpPerPx: number;
|
|
296
296
|
message: string;
|
|
297
297
|
featureIdUnderMouse: string | undefined;
|
|
298
|
-
contextMenuFeature: import("@jbrowse/core/util
|
|
298
|
+
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
299
299
|
scrollTop: number;
|
|
300
300
|
estimatedRegionStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
301
301
|
estimatedRegionStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
@@ -308,8 +308,8 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
308
308
|
readonly selectedFeatureId: string | undefined;
|
|
309
309
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
310
310
|
} & {
|
|
311
|
-
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util
|
|
312
|
-
readonly featureUnderMouse: import("@jbrowse/core/util
|
|
311
|
+
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
312
|
+
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
313
313
|
getFeatureOverlapping(blockKey: string, x: number, y: number): any;
|
|
314
314
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
315
315
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
@@ -336,11 +336,11 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
336
336
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
337
337
|
setCurrBpPerPx(n: number): void;
|
|
338
338
|
deleteBlock(key: string): void;
|
|
339
|
-
selectFeature(feature: import("@jbrowse/core/util
|
|
339
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
340
340
|
clearFeatureSelection(): void;
|
|
341
341
|
setFeatureIdUnderMouse(feature: string | undefined): void;
|
|
342
342
|
reload(): void;
|
|
343
|
-
setContextMenuFeature(feature?: import("@jbrowse/core/util
|
|
343
|
+
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
344
344
|
} & {
|
|
345
345
|
readonly regionTooLarge: boolean;
|
|
346
346
|
readonly regionTooLargeReason: string;
|
|
@@ -396,7 +396,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
396
396
|
renderInProgress: AbortController | undefined;
|
|
397
397
|
filled: boolean;
|
|
398
398
|
reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)> | undefined;
|
|
399
|
-
features: Map<string, import("@jbrowse/core/util
|
|
399
|
+
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
400
400
|
layout: any;
|
|
401
401
|
status: string;
|
|
402
402
|
error: unknown;
|
|
@@ -414,7 +414,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
414
414
|
setMessage(messageText: string): void;
|
|
415
415
|
setRendered(props: {
|
|
416
416
|
reactElement: import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
417
|
-
features: Map<string, import("@jbrowse/core/util
|
|
417
|
+
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
418
418
|
layout: any;
|
|
419
419
|
maxHeightReached: boolean;
|
|
420
420
|
renderProps: any;
|
|
@@ -481,7 +481,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
481
481
|
currBpPerPx: number;
|
|
482
482
|
message: string;
|
|
483
483
|
featureIdUnderMouse: string | undefined;
|
|
484
|
-
contextMenuFeature: import("@jbrowse/core/util
|
|
484
|
+
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
485
485
|
scrollTop: number;
|
|
486
486
|
estimatedRegionStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
487
487
|
estimatedRegionStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
@@ -494,8 +494,8 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
494
494
|
readonly selectedFeatureId: string | undefined;
|
|
495
495
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
496
496
|
} & {
|
|
497
|
-
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util
|
|
498
|
-
readonly featureUnderMouse: import("@jbrowse/core/util
|
|
497
|
+
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
498
|
+
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
499
499
|
getFeatureOverlapping(blockKey: string, x: number, y: number): any;
|
|
500
500
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
501
501
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
@@ -522,11 +522,11 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
522
522
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
523
523
|
setCurrBpPerPx(n: number): void;
|
|
524
524
|
deleteBlock(key: string): void;
|
|
525
|
-
selectFeature(feature: import("@jbrowse/core/util
|
|
525
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
526
526
|
clearFeatureSelection(): void;
|
|
527
527
|
setFeatureIdUnderMouse(feature: string | undefined): void;
|
|
528
528
|
reload(): void;
|
|
529
|
-
setContextMenuFeature(feature?: import("@jbrowse/core/util
|
|
529
|
+
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
530
530
|
} & {
|
|
531
531
|
readonly regionTooLarge: boolean;
|
|
532
532
|
readonly regionTooLargeReason: string;
|
|
@@ -555,7 +555,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
555
555
|
userBpPerPxLimit: number | undefined;
|
|
556
556
|
userByteSizeLimit: number | undefined;
|
|
557
557
|
}>;
|
|
558
|
-
baseLinearDisplayConfigSchema: import("@jbrowse/core/configuration
|
|
558
|
+
baseLinearDisplayConfigSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
559
559
|
};
|
|
560
560
|
install(pluginManager: PluginManager): void;
|
|
561
561
|
configure(pluginManager: PluginManager): void;
|