@jbrowse/plugin-variants 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/ChordVariantDisplay/index.d.ts +3 -3
- package/dist/ChordVariantDisplay/models/ChordVariantDisplay.d.ts +5 -5
- package/dist/LinearVariantDisplay/configSchema.d.ts +5 -5
- package/dist/LinearVariantDisplay/index.d.ts +2 -2
- package/dist/LinearVariantDisplay/model.d.ts +207 -207
- package/dist/StructuralVariantChordRenderer/ReactComponent.d.ts +24 -24
- package/dist/StructuralVariantChordRenderer/index.d.ts +3 -3
- package/dist/VariantFeatureWidget/BreakendOptionDialog.d.ts +10 -10
- package/dist/VariantFeatureWidget/VariantFeatureWidget.d.ts +4 -4
- package/dist/VariantFeatureWidget/index.d.ts +11 -11
- package/dist/VcfAdapter/VcfAdapter.d.ts +24 -24
- package/dist/VcfAdapter/configSchema.d.ts +2 -2
- package/dist/VcfAdapter/index.d.ts +1 -1
- package/dist/VcfTabixAdapter/VcfFeature.d.ts +59 -59
- package/dist/VcfTabixAdapter/VcfTabixAdapter.d.ts +35 -35
- package/dist/VcfTabixAdapter/configSchema.d.ts +2 -2
- package/dist/VcfTabixAdapter/index.d.ts +1 -1
- package/dist/index.d.ts +7 -7
- package/package.json +4 -3
- package/dist/LinearVariantDisplay/configSchema.test.d.ts +0 -1
- package/dist/VariantFeatureWidget/VariantFeatureWidget.test.d.ts +0 -1
- package/dist/index.test.d.ts +0 -1
- package/dist/plugin-variants.cjs.development.js +0 -2897
- package/dist/plugin-variants.cjs.development.js.map +0 -1
- package/dist/plugin-variants.cjs.production.min.js +0 -2
- package/dist/plugin-variants.cjs.production.min.js.map +0 -1
- package/dist/plugin-variants.esm.js +0 -2889
- package/dist/plugin-variants.esm.js.map +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
declare const _default: (pluginManager: PluginManager) => import("@jbrowse/core/pluggableElementTypes").DisplayType;
|
|
3
|
-
export default _default;
|
|
1
|
+
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
declare const _default: (pluginManager: PluginManager) => import("@jbrowse/core/pluggableElementTypes").DisplayType;
|
|
3
|
+
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export default ChordVariantDisplayF;
|
|
2
|
-
declare function ChordVariantDisplayF(pluginManager: any): {
|
|
3
|
-
stateModel: any;
|
|
4
|
-
configSchema: any;
|
|
5
|
-
};
|
|
1
|
+
export default ChordVariantDisplayF;
|
|
2
|
+
declare function ChordVariantDisplayF(pluginManager: any): {
|
|
3
|
+
stateModel: any;
|
|
4
|
+
configSchema: any;
|
|
5
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Instance } from 'mobx-state-tree';
|
|
2
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
3
|
-
export declare function LinearVariantDisplayConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
4
|
-
export declare type LinearVariantDisplayConfigModel = ReturnType<typeof LinearVariantDisplayConfigFactory>;
|
|
5
|
-
export declare type LinearVariantDisplayConfig = Instance<LinearVariantDisplayConfigModel>;
|
|
1
|
+
import { Instance } from 'mobx-state-tree';
|
|
2
|
+
import PluginManager from '@jbrowse/core/PluginManager';
|
|
3
|
+
export declare function LinearVariantDisplayConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
4
|
+
export declare type LinearVariantDisplayConfigModel = ReturnType<typeof LinearVariantDisplayConfigFactory>;
|
|
5
|
+
export declare type LinearVariantDisplayConfig = Instance<LinearVariantDisplayConfigModel>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { LinearVariantDisplayConfigFactory as configSchemaFactory } from './configSchema';
|
|
2
|
-
export { default as modelFactory } from './model';
|
|
1
|
+
export { LinearVariantDisplayConfigFactory as configSchemaFactory } from './configSchema';
|
|
2
|
+
export { default as modelFactory } from './model';
|
|
@@ -1,207 +1,207 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
3
|
-
import { LinearVariantDisplayConfigModel } from './configSchema';
|
|
4
|
-
export default function (configSchema: LinearVariantDisplayConfigModel): import("mobx-state-tree").IModelType<{
|
|
5
|
-
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
6
|
-
type: import("mobx-state-tree").ISimpleType<string>;
|
|
7
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
8
|
-
} & {
|
|
9
|
-
height: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
10
|
-
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
11
|
-
key: import("mobx-state-tree").ISimpleType<string>;
|
|
12
|
-
region: import("mobx-state-tree").IModelType<{
|
|
13
|
-
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
14
|
-
start: import("mobx-state-tree").ISimpleType<number>;
|
|
15
|
-
end: import("mobx-state-tree").ISimpleType<number>;
|
|
16
|
-
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
17
|
-
} & {
|
|
18
|
-
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
19
|
-
}, {
|
|
20
|
-
setRefName(newRefName: string): void;
|
|
21
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
22
|
-
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
23
|
-
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
24
|
-
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
25
|
-
}, {
|
|
26
|
-
renderInProgress: AbortController | undefined;
|
|
27
|
-
filled: boolean;
|
|
28
|
-
reactElement: import("react").ReactElement<any, string |
|
|
29
|
-
features: Map<string, Feature> | undefined;
|
|
30
|
-
layout: any;
|
|
31
|
-
status: string;
|
|
32
|
-
error: unknown;
|
|
33
|
-
message: string | undefined;
|
|
34
|
-
maxHeightReached: boolean;
|
|
35
|
-
ReactComponent: ({ model, }: {
|
|
36
|
-
model: any;
|
|
37
|
-
}) => any;
|
|
38
|
-
renderProps: any;
|
|
39
|
-
} & {
|
|
40
|
-
doReload(): void;
|
|
41
|
-
afterAttach(): void;
|
|
42
|
-
setStatus(message: string): void;
|
|
43
|
-
setLoading(abortController: AbortController): void;
|
|
44
|
-
setMessage(messageText: string): void;
|
|
45
|
-
setRendered(props: {
|
|
46
|
-
reactElement: import("react").ReactElement<any, string |
|
|
47
|
-
features: Map<string, Feature>;
|
|
48
|
-
layout: any;
|
|
49
|
-
maxHeightReached: boolean;
|
|
50
|
-
renderProps: any;
|
|
51
|
-
} | undefined): void;
|
|
52
|
-
setError(error: unknown): void;
|
|
53
|
-
reload(): void;
|
|
54
|
-
beforeDestroy(): void;
|
|
55
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
56
|
-
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
57
|
-
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
58
|
-
} & {
|
|
59
|
-
type: import("mobx-state-tree").ISimpleType<"LinearBasicDisplay">;
|
|
60
|
-
trackShowLabels: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
61
|
-
trackShowDescriptions: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
62
|
-
trackDisplayMode: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
63
|
-
trackMaxHeight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
64
|
-
configuration: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
65
|
-
} & {
|
|
66
|
-
type: import("mobx-state-tree").ISimpleType<"LinearVariantDisplay">;
|
|
67
|
-
configuration: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
68
|
-
}, {
|
|
69
|
-
rendererTypeName: string;
|
|
70
|
-
error: unknown;
|
|
71
|
-
} & {
|
|
72
|
-
readonly RenderingComponent: import("react").FC<{
|
|
73
|
-
model: import("mobx-state-tree").ModelInstanceTypeProps<{
|
|
74
|
-
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
75
|
-
type: import("mobx-state-tree").ISimpleType<string>;
|
|
76
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
77
|
-
}> & {
|
|
78
|
-
rendererTypeName: string;
|
|
79
|
-
error: unknown;
|
|
80
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
81
|
-
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
82
|
-
type: import("mobx-state-tree").ISimpleType<string>;
|
|
83
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
84
|
-
}, {
|
|
85
|
-
rendererTypeName: string;
|
|
86
|
-
error: unknown;
|
|
87
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
88
|
-
onHorizontalScroll?: Function | undefined;
|
|
89
|
-
blockState?: Record<string, any> | undefined;
|
|
90
|
-
}>;
|
|
91
|
-
readonly DisplayBlurb: import("react").FC<{
|
|
92
|
-
model: import("mobx-state-tree").ModelInstanceTypeProps<{
|
|
93
|
-
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
94
|
-
type: import("mobx-state-tree").ISimpleType<string>;
|
|
95
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
96
|
-
}> & {
|
|
97
|
-
rendererTypeName: string;
|
|
98
|
-
error: unknown;
|
|
99
|
-
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
100
|
-
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
101
|
-
type: import("mobx-state-tree").ISimpleType<string>;
|
|
102
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
103
|
-
}, {
|
|
104
|
-
rendererTypeName: string;
|
|
105
|
-
error: unknown;
|
|
106
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
107
|
-
}> | null;
|
|
108
|
-
readonly adapterConfig: any;
|
|
109
|
-
readonly parentTrack: any;
|
|
110
|
-
renderProps(): any;
|
|
111
|
-
readonly rendererType: any;
|
|
112
|
-
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
113
|
-
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
114
|
-
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
115
|
-
regionCannotBeRendered(): undefined;
|
|
116
|
-
} & {
|
|
117
|
-
setError(error?: unknown): void;
|
|
118
|
-
setRpcDriverName(rpcDriverName: string): void;
|
|
119
|
-
reload(): void;
|
|
120
|
-
} & {
|
|
121
|
-
currBpPerPx: number;
|
|
122
|
-
message: string;
|
|
123
|
-
featureIdUnderMouse: string | undefined;
|
|
124
|
-
contextMenuFeature: Feature | undefined;
|
|
125
|
-
scrollTop: number;
|
|
126
|
-
estimatedRegionStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
127
|
-
estimatedRegionStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
128
|
-
} & {
|
|
129
|
-
readonly blockType: "staticBlocks" | "dynamicBlocks";
|
|
130
|
-
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
131
|
-
} & {
|
|
132
|
-
readonly renderDelay: number;
|
|
133
|
-
readonly TooltipComponent: import("react").FC<any>;
|
|
134
|
-
readonly selectedFeatureId: string | undefined;
|
|
135
|
-
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
136
|
-
} & {
|
|
137
|
-
readonly features: import("@jbrowse/core/util/compositeMap").default<string, Feature>;
|
|
138
|
-
readonly featureUnderMouse: Feature | undefined;
|
|
139
|
-
getFeatureOverlapping(blockKey: string, x: number, y: number): any;
|
|
140
|
-
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
141
|
-
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
142
|
-
readonly currentBytesRequested: number;
|
|
143
|
-
readonly currentFeatureScreenDensity: number;
|
|
144
|
-
readonly maxFeatureScreenDensity: any;
|
|
145
|
-
readonly estimatedStatsReady: boolean;
|
|
146
|
-
readonly maxAllowableBytes: number;
|
|
147
|
-
} & {
|
|
148
|
-
setMessage(message: string): void;
|
|
149
|
-
afterAttach(): void;
|
|
150
|
-
estimateRegionsStats(regions: import("@jbrowse/core/util").Region[], opts: {
|
|
151
|
-
headers?: Record<string, string> | undefined;
|
|
152
|
-
signal?: AbortSignal | undefined;
|
|
153
|
-
filters?: string[] | undefined;
|
|
154
|
-
}): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats>;
|
|
155
|
-
setRegionStatsP(p?: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined): void;
|
|
156
|
-
setRegionStats(estimatedRegionStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
157
|
-
clearRegionStats(): void;
|
|
158
|
-
setHeight(displayHeight: number): number;
|
|
159
|
-
resizeHeight(distance: number): number;
|
|
160
|
-
setScrollTop(scrollTop: number): void;
|
|
161
|
-
updateStatsLimit(stats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats): void;
|
|
162
|
-
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
163
|
-
setCurrBpPerPx(n: number): void;
|
|
164
|
-
deleteBlock(key: string): void;
|
|
165
|
-
selectFeature(feature: Feature): void;
|
|
166
|
-
clearFeatureSelection(): void;
|
|
167
|
-
setFeatureIdUnderMouse(feature: string | undefined): void;
|
|
168
|
-
reload(): void;
|
|
169
|
-
setContextMenuFeature(feature?: Feature | undefined): void;
|
|
170
|
-
} & {
|
|
171
|
-
readonly regionTooLarge: boolean;
|
|
172
|
-
readonly regionTooLargeReason: string;
|
|
173
|
-
} & {
|
|
174
|
-
reload(): Promise<void>;
|
|
175
|
-
afterAttach(): void;
|
|
176
|
-
} & {
|
|
177
|
-
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
178
|
-
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): JSX.Element | undefined;
|
|
179
|
-
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
180
|
-
contextMenuItems(): {
|
|
181
|
-
label: string;
|
|
182
|
-
icon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
|
|
183
|
-
onClick: () => void;
|
|
184
|
-
}[];
|
|
185
|
-
renderProps(): any;
|
|
186
|
-
} & {
|
|
187
|
-
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").ExportSvgOptions & {
|
|
188
|
-
overrideHeight: number;
|
|
189
|
-
}): Promise<JSX.Element>;
|
|
190
|
-
} & {
|
|
191
|
-
readonly rendererTypeName: any;
|
|
192
|
-
readonly showLabels: any;
|
|
193
|
-
readonly showDescriptions: any;
|
|
194
|
-
readonly maxHeight: any;
|
|
195
|
-
readonly displayMode: any;
|
|
196
|
-
readonly rendererConfig: any;
|
|
197
|
-
} & {
|
|
198
|
-
toggleShowLabels(): void;
|
|
199
|
-
toggleShowDescriptions(): void;
|
|
200
|
-
setDisplayMode(val: string): void;
|
|
201
|
-
setMaxHeight(val: number): void;
|
|
202
|
-
} & {
|
|
203
|
-
renderProps(): any;
|
|
204
|
-
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
205
|
-
} & {
|
|
206
|
-
selectFeature(feature: Feature): Promise<void>;
|
|
207
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
3
|
+
import { LinearVariantDisplayConfigModel } from './configSchema';
|
|
4
|
+
export default function (configSchema: LinearVariantDisplayConfigModel): import("mobx-state-tree").IModelType<{
|
|
5
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
6
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
7
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
8
|
+
} & {
|
|
9
|
+
height: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
10
|
+
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
11
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
12
|
+
region: import("mobx-state-tree").IModelType<{
|
|
13
|
+
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
14
|
+
start: import("mobx-state-tree").ISimpleType<number>;
|
|
15
|
+
end: import("mobx-state-tree").ISimpleType<number>;
|
|
16
|
+
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
17
|
+
} & {
|
|
18
|
+
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
19
|
+
}, {
|
|
20
|
+
setRefName(newRefName: string): void;
|
|
21
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
22
|
+
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
23
|
+
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
24
|
+
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
25
|
+
}, {
|
|
26
|
+
renderInProgress: AbortController | undefined;
|
|
27
|
+
filled: boolean;
|
|
28
|
+
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
29
|
+
features: Map<string, Feature> | undefined;
|
|
30
|
+
layout: any;
|
|
31
|
+
status: string;
|
|
32
|
+
error: unknown;
|
|
33
|
+
message: string | undefined;
|
|
34
|
+
maxHeightReached: boolean;
|
|
35
|
+
ReactComponent: ({ model, }: {
|
|
36
|
+
model: any;
|
|
37
|
+
}) => any;
|
|
38
|
+
renderProps: any;
|
|
39
|
+
} & {
|
|
40
|
+
doReload(): void;
|
|
41
|
+
afterAttach(): void;
|
|
42
|
+
setStatus(message: string): void;
|
|
43
|
+
setLoading(abortController: AbortController): void;
|
|
44
|
+
setMessage(messageText: string): void;
|
|
45
|
+
setRendered(props: {
|
|
46
|
+
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
47
|
+
features: Map<string, Feature>;
|
|
48
|
+
layout: any;
|
|
49
|
+
maxHeightReached: boolean;
|
|
50
|
+
renderProps: any;
|
|
51
|
+
} | undefined): void;
|
|
52
|
+
setError(error: unknown): void;
|
|
53
|
+
reload(): void;
|
|
54
|
+
beforeDestroy(): void;
|
|
55
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
56
|
+
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
57
|
+
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
58
|
+
} & {
|
|
59
|
+
type: import("mobx-state-tree").ISimpleType<"LinearBasicDisplay">;
|
|
60
|
+
trackShowLabels: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
61
|
+
trackShowDescriptions: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
62
|
+
trackDisplayMode: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
63
|
+
trackMaxHeight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
64
|
+
configuration: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
65
|
+
} & {
|
|
66
|
+
type: import("mobx-state-tree").ISimpleType<"LinearVariantDisplay">;
|
|
67
|
+
configuration: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
68
|
+
}, {
|
|
69
|
+
rendererTypeName: string;
|
|
70
|
+
error: unknown;
|
|
71
|
+
} & {
|
|
72
|
+
readonly RenderingComponent: import("react").FC<{
|
|
73
|
+
model: import("mobx-state-tree").ModelInstanceTypeProps<{
|
|
74
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
75
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
76
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
77
|
+
}> & {
|
|
78
|
+
rendererTypeName: string;
|
|
79
|
+
error: unknown;
|
|
80
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
81
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
82
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
83
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
84
|
+
}, {
|
|
85
|
+
rendererTypeName: string;
|
|
86
|
+
error: unknown;
|
|
87
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
88
|
+
onHorizontalScroll?: Function | undefined;
|
|
89
|
+
blockState?: Record<string, any> | undefined;
|
|
90
|
+
}>;
|
|
91
|
+
readonly DisplayBlurb: import("react").FC<{
|
|
92
|
+
model: import("mobx-state-tree").ModelInstanceTypeProps<{
|
|
93
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
94
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
95
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
96
|
+
}> & {
|
|
97
|
+
rendererTypeName: string;
|
|
98
|
+
error: unknown;
|
|
99
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
100
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
101
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
102
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
103
|
+
}, {
|
|
104
|
+
rendererTypeName: string;
|
|
105
|
+
error: unknown;
|
|
106
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
107
|
+
}> | null;
|
|
108
|
+
readonly adapterConfig: any;
|
|
109
|
+
readonly parentTrack: any;
|
|
110
|
+
renderProps(): any;
|
|
111
|
+
readonly rendererType: any;
|
|
112
|
+
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
113
|
+
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
114
|
+
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
115
|
+
regionCannotBeRendered(): undefined;
|
|
116
|
+
} & {
|
|
117
|
+
setError(error?: unknown): void;
|
|
118
|
+
setRpcDriverName(rpcDriverName: string): void;
|
|
119
|
+
reload(): void;
|
|
120
|
+
} & {
|
|
121
|
+
currBpPerPx: number;
|
|
122
|
+
message: string;
|
|
123
|
+
featureIdUnderMouse: string | undefined;
|
|
124
|
+
contextMenuFeature: Feature | undefined;
|
|
125
|
+
scrollTop: number;
|
|
126
|
+
estimatedRegionStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
127
|
+
estimatedRegionStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
128
|
+
} & {
|
|
129
|
+
readonly blockType: "staticBlocks" | "dynamicBlocks";
|
|
130
|
+
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
131
|
+
} & {
|
|
132
|
+
readonly renderDelay: number;
|
|
133
|
+
readonly TooltipComponent: import("react").FC<any>;
|
|
134
|
+
readonly selectedFeatureId: string | undefined;
|
|
135
|
+
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
136
|
+
} & {
|
|
137
|
+
readonly features: import("@jbrowse/core/util/compositeMap").default<string, Feature>;
|
|
138
|
+
readonly featureUnderMouse: Feature | undefined;
|
|
139
|
+
getFeatureOverlapping(blockKey: string, x: number, y: number): any;
|
|
140
|
+
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
141
|
+
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
142
|
+
readonly currentBytesRequested: number;
|
|
143
|
+
readonly currentFeatureScreenDensity: number;
|
|
144
|
+
readonly maxFeatureScreenDensity: any;
|
|
145
|
+
readonly estimatedStatsReady: boolean;
|
|
146
|
+
readonly maxAllowableBytes: number;
|
|
147
|
+
} & {
|
|
148
|
+
setMessage(message: string): void;
|
|
149
|
+
afterAttach(): void;
|
|
150
|
+
estimateRegionsStats(regions: import("@jbrowse/core/util").Region[], opts: {
|
|
151
|
+
headers?: Record<string, string> | undefined;
|
|
152
|
+
signal?: AbortSignal | undefined;
|
|
153
|
+
filters?: string[] | undefined;
|
|
154
|
+
}): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats>;
|
|
155
|
+
setRegionStatsP(p?: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined): void;
|
|
156
|
+
setRegionStats(estimatedRegionStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
157
|
+
clearRegionStats(): void;
|
|
158
|
+
setHeight(displayHeight: number): number;
|
|
159
|
+
resizeHeight(distance: number): number;
|
|
160
|
+
setScrollTop(scrollTop: number): void;
|
|
161
|
+
updateStatsLimit(stats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats): void;
|
|
162
|
+
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
163
|
+
setCurrBpPerPx(n: number): void;
|
|
164
|
+
deleteBlock(key: string): void;
|
|
165
|
+
selectFeature(feature: Feature): void;
|
|
166
|
+
clearFeatureSelection(): void;
|
|
167
|
+
setFeatureIdUnderMouse(feature: string | undefined): void;
|
|
168
|
+
reload(): void;
|
|
169
|
+
setContextMenuFeature(feature?: Feature | undefined): void;
|
|
170
|
+
} & {
|
|
171
|
+
readonly regionTooLarge: boolean;
|
|
172
|
+
readonly regionTooLargeReason: string;
|
|
173
|
+
} & {
|
|
174
|
+
reload(): Promise<void>;
|
|
175
|
+
afterAttach(): void;
|
|
176
|
+
} & {
|
|
177
|
+
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
178
|
+
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): JSX.Element | undefined;
|
|
179
|
+
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
180
|
+
contextMenuItems(): {
|
|
181
|
+
label: string;
|
|
182
|
+
icon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
|
|
183
|
+
onClick: () => void;
|
|
184
|
+
}[];
|
|
185
|
+
renderProps(): any;
|
|
186
|
+
} & {
|
|
187
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").ExportSvgOptions & {
|
|
188
|
+
overrideHeight: number;
|
|
189
|
+
}): Promise<JSX.Element>;
|
|
190
|
+
} & {
|
|
191
|
+
readonly rendererTypeName: any;
|
|
192
|
+
readonly showLabels: any;
|
|
193
|
+
readonly showDescriptions: any;
|
|
194
|
+
readonly maxHeight: any;
|
|
195
|
+
readonly displayMode: any;
|
|
196
|
+
readonly rendererConfig: any;
|
|
197
|
+
} & {
|
|
198
|
+
toggleShowLabels(): void;
|
|
199
|
+
toggleShowDescriptions(): void;
|
|
200
|
+
setDisplayMode(val: string): void;
|
|
201
|
+
setMaxHeight(val: number): void;
|
|
202
|
+
} & {
|
|
203
|
+
renderProps(): any;
|
|
204
|
+
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
205
|
+
} & {
|
|
206
|
+
selectFeature(feature: Feature): Promise<void>;
|
|
207
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
declare function _default(props: any): JSX.Element;
|
|
2
|
-
declare namespace _default {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
const displayModel_1: undefined;
|
|
15
|
-
export { displayModel_1 as displayModel };
|
|
16
|
-
const selectedFeatureId_1: string;
|
|
17
|
-
export { selectedFeatureId_1 as selectedFeatureId };
|
|
18
|
-
const onChordClick_1: undefined;
|
|
19
|
-
export { onChordClick_1 as onChordClick };
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
export default _default;
|
|
23
|
-
import PropTypes from "prop-types";
|
|
24
|
-
import React from "react";
|
|
1
|
+
declare function _default(props: any): JSX.Element;
|
|
2
|
+
declare namespace _default {
|
|
3
|
+
namespace propTypes {
|
|
4
|
+
const features: PropTypes.Validator<Map<unknown, unknown>>;
|
|
5
|
+
const config: PropTypes.Validator<any>;
|
|
6
|
+
const displayModel: React.Requireable<any>;
|
|
7
|
+
const blockDefinitions: PropTypes.Validator<any[]>;
|
|
8
|
+
const radius: PropTypes.Validator<number>;
|
|
9
|
+
const bezierRadius: PropTypes.Validator<number>;
|
|
10
|
+
const selectedFeatureId: PropTypes.Requireable<string>;
|
|
11
|
+
const onChordClick: PropTypes.Requireable<string | ((...args: any[]) => any)>;
|
|
12
|
+
}
|
|
13
|
+
namespace defaultProps {
|
|
14
|
+
const displayModel_1: undefined;
|
|
15
|
+
export { displayModel_1 as displayModel };
|
|
16
|
+
const selectedFeatureId_1: string;
|
|
17
|
+
export { selectedFeatureId_1 as selectedFeatureId };
|
|
18
|
+
const onChordClick_1: undefined;
|
|
19
|
+
export { onChordClick_1 as onChordClick };
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export default _default;
|
|
23
|
+
import PropTypes from "prop-types";
|
|
24
|
+
import React from "react";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export default ChordRendererConfigF;
|
|
2
|
-
declare function ChordRendererConfigF(pluginManager: any): ChordRendererType;
|
|
3
|
-
import ChordRendererType from "@jbrowse/core/pluggableElementTypes/renderers/CircularChordRendererType";
|
|
1
|
+
export default ChordRendererConfigF;
|
|
2
|
+
declare function ChordRendererConfigF(pluginManager: any): ChordRendererType;
|
|
3
|
+
import ChordRendererType from "@jbrowse/core/pluggableElementTypes/renderers/CircularChordRendererType";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
3
|
-
declare function BreakendOptionDialog({ model, handleClose, feature, viewType, }: {
|
|
4
|
-
model: any;
|
|
5
|
-
handleClose: () => void;
|
|
6
|
-
feature: Feature;
|
|
7
|
-
viewType: any;
|
|
8
|
-
}): JSX.Element;
|
|
9
|
-
declare const _default: typeof BreakendOptionDialog;
|
|
10
|
-
export default _default;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
3
|
+
declare function BreakendOptionDialog({ model, handleClose, feature, viewType, }: {
|
|
4
|
+
model: any;
|
|
5
|
+
handleClose: () => void;
|
|
6
|
+
feature: Feature;
|
|
7
|
+
viewType: any;
|
|
8
|
+
}): JSX.Element;
|
|
9
|
+
declare const _default: typeof BreakendOptionDialog;
|
|
10
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
declare function VariantFeatureDetails(props: any): JSX.Element;
|
|
3
|
-
declare const _default: typeof VariantFeatureDetails;
|
|
4
|
-
export default _default;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare function VariantFeatureDetails(props: any): JSX.Element;
|
|
3
|
+
declare const _default: typeof VariantFeatureDetails;
|
|
4
|
+
export default _default;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export function stateModelFactory(pluginManager: any): import("mobx-state-tree").IModelType<{
|
|
2
|
-
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
3
|
-
type: import("mobx-state-tree").ISimpleType<"VariantFeatureWidget">;
|
|
4
|
-
view: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<any>>;
|
|
5
|
-
featureData: import("mobx-state-tree").IType<any, any, any>;
|
|
6
|
-
descriptions: import("mobx-state-tree").IType<any, any, any>;
|
|
7
|
-
}, {
|
|
8
|
-
setFeatureData(data: any): void;
|
|
9
|
-
clearFeatureData(): void;
|
|
10
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
11
|
-
export const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
1
|
+
export function stateModelFactory(pluginManager: any): import("mobx-state-tree").IModelType<{
|
|
2
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
3
|
+
type: import("mobx-state-tree").ISimpleType<"VariantFeatureWidget">;
|
|
4
|
+
view: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<any>>;
|
|
5
|
+
featureData: import("mobx-state-tree").IType<any, any, any>;
|
|
6
|
+
descriptions: import("mobx-state-tree").IType<any, any, any>;
|
|
7
|
+
}, {
|
|
8
|
+
setFeatureData(data: any): void;
|
|
9
|
+
clearFeatureData(): void;
|
|
10
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
11
|
+
export const configSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
|
-
import { Region } from '@jbrowse/core/util/types';
|
|
3
|
-
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
4
|
-
import IntervalTree from '@flatten-js/interval-tree';
|
|
5
|
-
export default class VcfAdapter extends BaseFeatureDataAdapter {
|
|
6
|
-
static capabilities: string[];
|
|
7
|
-
protected vcfFeatures?: Promise<{
|
|
8
|
-
header: string;
|
|
9
|
-
intervalTree: Record<string, IntervalTree>;
|
|
10
|
-
}>;
|
|
11
|
-
getHeader(): Promise<string>;
|
|
12
|
-
getMetadata(): Promise<any>;
|
|
13
|
-
setupP(): Promise<{
|
|
14
|
-
header: string;
|
|
15
|
-
intervalTree: Record<string, IntervalTree<any>>;
|
|
16
|
-
}>;
|
|
17
|
-
setup(): Promise<{
|
|
18
|
-
header: string;
|
|
19
|
-
intervalTree: Record<string, IntervalTree<any>>;
|
|
20
|
-
}>;
|
|
21
|
-
getRefNames(_?: BaseOptions): Promise<string[]>;
|
|
22
|
-
getFeatures(region: Region, opts?: BaseOptions): import("rxjs").Observable<Feature>;
|
|
23
|
-
freeResources(): void;
|
|
24
|
-
}
|
|
1
|
+
import { BaseFeatureDataAdapter, BaseOptions } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
2
|
+
import { Region } from '@jbrowse/core/util/types';
|
|
3
|
+
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
4
|
+
import IntervalTree from '@flatten-js/interval-tree';
|
|
5
|
+
export default class VcfAdapter extends BaseFeatureDataAdapter {
|
|
6
|
+
static capabilities: string[];
|
|
7
|
+
protected vcfFeatures?: Promise<{
|
|
8
|
+
header: string;
|
|
9
|
+
intervalTree: Record<string, IntervalTree>;
|
|
10
|
+
}>;
|
|
11
|
+
getHeader(): Promise<string>;
|
|
12
|
+
getMetadata(): Promise<any>;
|
|
13
|
+
setupP(): Promise<{
|
|
14
|
+
header: string;
|
|
15
|
+
intervalTree: Record<string, IntervalTree<any>>;
|
|
16
|
+
}>;
|
|
17
|
+
setup(): Promise<{
|
|
18
|
+
header: string;
|
|
19
|
+
intervalTree: Record<string, IntervalTree<any>>;
|
|
20
|
+
}>;
|
|
21
|
+
getRefNames(_?: BaseOptions): Promise<string[]>;
|
|
22
|
+
getFeatures(region: Region, opts?: BaseOptions): import("rxjs").Observable<Feature>;
|
|
23
|
+
freeResources(): void;
|
|
24
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
|
-
export default _default;
|
|
1
|
+
declare const _default: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
2
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { default as configSchema } from './configSchema';
|
|
1
|
+
export { default as configSchema } from './configSchema';
|