@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,13 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel';
|
|
3
|
-
declare const Tooltip: ({ model, clientMouseCoord, }: {
|
|
4
|
-
model: BaseLinearDisplayModel;
|
|
5
|
-
clientMouseCoord: Coord;
|
|
6
|
-
}) => JSX.Element | null;
|
|
7
|
-
declare type Coord = [number, number];
|
|
8
|
-
declare const BaseLinearDisplay: (props: {
|
|
9
|
-
model: BaseLinearDisplayModel;
|
|
10
|
-
children?: React.ReactNode;
|
|
11
|
-
}) => JSX.Element;
|
|
12
|
-
export default BaseLinearDisplay;
|
|
13
|
-
export { Tooltip };
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel';
|
|
3
|
+
declare const Tooltip: ({ model, clientMouseCoord, }: {
|
|
4
|
+
model: BaseLinearDisplayModel;
|
|
5
|
+
clientMouseCoord: Coord;
|
|
6
|
+
}) => JSX.Element | null;
|
|
7
|
+
declare type Coord = [number, number];
|
|
8
|
+
declare const BaseLinearDisplay: (props: {
|
|
9
|
+
model: BaseLinearDisplayModel;
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
}) => JSX.Element;
|
|
12
|
+
export default BaseLinearDisplay;
|
|
13
|
+
export { Tooltip };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { BaseBlock } from '@jbrowse/core/util/blockTypes';
|
|
3
|
-
declare const ContentBlock: ({ block, children }: {
|
|
4
|
-
block: BaseBlock;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
}) => JSX.Element;
|
|
7
|
-
declare function ElidedBlock({ width }: {
|
|
8
|
-
width: number;
|
|
9
|
-
}): JSX.Element;
|
|
10
|
-
declare function InterRegionPaddingBlock({ boundary, width, style, }: {
|
|
11
|
-
boundary: boolean;
|
|
12
|
-
width: number;
|
|
13
|
-
style?: React.CSSProperties;
|
|
14
|
-
}): JSX.Element;
|
|
15
|
-
export { ContentBlock, ElidedBlock, InterRegionPaddingBlock };
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { BaseBlock } from '@jbrowse/core/util/blockTypes';
|
|
3
|
+
declare const ContentBlock: ({ block, children }: {
|
|
4
|
+
block: BaseBlock;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}) => JSX.Element;
|
|
7
|
+
declare function ElidedBlock({ width }: {
|
|
8
|
+
width: number;
|
|
9
|
+
}): JSX.Element;
|
|
10
|
+
declare function InterRegionPaddingBlock({ boundary, width, style, }: {
|
|
11
|
+
boundary: boolean;
|
|
12
|
+
width: number;
|
|
13
|
+
style?: React.CSSProperties;
|
|
14
|
+
}): JSX.Element;
|
|
15
|
+
export { ContentBlock, ElidedBlock, InterRegionPaddingBlock };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel';
|
|
3
|
-
declare const useStyles: (props?: any) =>
|
|
4
|
-
declare const RenderedBlocks: ({ model }: {
|
|
5
|
-
model: BaseLinearDisplayModel;
|
|
6
|
-
}) => JSX.Element;
|
|
7
|
-
declare function LinearBlocks({ model }: {
|
|
8
|
-
model: BaseLinearDisplayModel;
|
|
9
|
-
}): JSX.Element;
|
|
10
|
-
export { RenderedBlocks, useStyles };
|
|
11
|
-
declare const _default: typeof LinearBlocks;
|
|
12
|
-
export default _default;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel';
|
|
3
|
+
declare const useStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"linearBlocks" | "heightOverflowed">;
|
|
4
|
+
declare const RenderedBlocks: ({ model }: {
|
|
5
|
+
model: BaseLinearDisplayModel;
|
|
6
|
+
}) => JSX.Element;
|
|
7
|
+
declare function LinearBlocks({ model }: {
|
|
8
|
+
model: BaseLinearDisplayModel;
|
|
9
|
+
}): JSX.Element;
|
|
10
|
+
export { RenderedBlocks, useStyles };
|
|
11
|
+
declare const _default: typeof LinearBlocks;
|
|
12
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const ServerSideRenderedBlockContent: ({ model, }: {
|
|
2
|
-
model: any;
|
|
3
|
-
}) => any;
|
|
4
|
-
export default ServerSideRenderedBlockContent;
|
|
1
|
+
declare const ServerSideRenderedBlockContent: ({ model, }: {
|
|
2
|
+
model: any;
|
|
3
|
+
}) => any;
|
|
4
|
+
export default ServerSideRenderedBlockContent;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { baseLinearDisplayConfigSchema } from './models/baseLinearDisplayConfigSchema';
|
|
2
|
-
export { BaseLinearDisplay } from './models/BaseLinearDisplayModel';
|
|
3
|
-
export type { BlockModel } from './models/serverSideRenderedBlock';
|
|
4
|
-
export type { BaseLinearDisplayModel, BaseLinearDisplayStateModel, } from './models/BaseLinearDisplayModel';
|
|
5
|
-
export { default as BaseLinearDisplayComponent, Tooltip, } from './components/BaseLinearDisplay';
|
|
1
|
+
export { baseLinearDisplayConfigSchema } from './models/baseLinearDisplayConfigSchema';
|
|
2
|
+
export { BaseLinearDisplay } from './models/BaseLinearDisplayModel';
|
|
3
|
+
export type { BlockModel } from './models/serverSideRenderedBlock';
|
|
4
|
+
export type { BaseLinearDisplayModel, BaseLinearDisplayStateModel, } from './models/BaseLinearDisplayModel';
|
|
5
|
+
export { default as BaseLinearDisplayComponent, Tooltip, } from './components/BaseLinearDisplay';
|
|
@@ -1,230 +1,227 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MenuItem } from '@jbrowse/core/ui';
|
|
3
|
-
import { Stats } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
4
|
-
import { BaseBlock } from '@jbrowse/core/util/blockTypes';
|
|
5
|
-
import { Region } from '@jbrowse/core/util/types';
|
|
6
|
-
import CompositeMap from '@jbrowse/core/util/compositeMap';
|
|
7
|
-
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
8
|
-
import { Instance } from 'mobx-state-tree';
|
|
9
|
-
import { ExportSvgOptions } from '../../LinearGenomeView';
|
|
10
|
-
export interface Layout {
|
|
11
|
-
minX: number;
|
|
12
|
-
minY: number;
|
|
13
|
-
maxX: number;
|
|
14
|
-
maxY: number;
|
|
15
|
-
name: string;
|
|
16
|
-
}
|
|
17
|
-
declare type LayoutRecord = [number, number, number, number];
|
|
18
|
-
export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
19
|
-
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
20
|
-
type: import("mobx-state-tree").ISimpleType<string>;
|
|
21
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
22
|
-
} & {
|
|
23
|
-
height: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
24
|
-
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
25
|
-
key: import("mobx-state-tree").ISimpleType<string>;
|
|
26
|
-
region: import("mobx-state-tree").IModelType<{
|
|
27
|
-
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
28
|
-
start: import("mobx-state-tree").ISimpleType<number>;
|
|
29
|
-
end: import("mobx-state-tree").ISimpleType<number>;
|
|
30
|
-
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
31
|
-
} & {
|
|
32
|
-
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
33
|
-
}, {
|
|
34
|
-
setRefName(newRefName: string): void;
|
|
35
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
36
|
-
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
37
|
-
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
38
|
-
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
39
|
-
}, {
|
|
40
|
-
renderInProgress: AbortController | undefined;
|
|
41
|
-
filled: boolean;
|
|
42
|
-
reactElement: React.ReactElement<any, string |
|
|
43
|
-
features: Map<string, Feature> | undefined;
|
|
44
|
-
layout: any;
|
|
45
|
-
status: string;
|
|
46
|
-
error: unknown;
|
|
47
|
-
message: string | undefined;
|
|
48
|
-
maxHeightReached: boolean;
|
|
49
|
-
ReactComponent: ({ model, }: {
|
|
50
|
-
model: any;
|
|
51
|
-
}) => any;
|
|
52
|
-
renderProps: any;
|
|
53
|
-
} & {
|
|
54
|
-
doReload(): void;
|
|
55
|
-
afterAttach(): void;
|
|
56
|
-
setStatus(message: string): void;
|
|
57
|
-
setLoading(abortController: AbortController): void;
|
|
58
|
-
setMessage(messageText: string): void;
|
|
59
|
-
setRendered(props: {
|
|
60
|
-
reactElement: React.ReactElement<any, string |
|
|
61
|
-
features: Map<string, Feature>;
|
|
62
|
-
layout: any;
|
|
63
|
-
maxHeightReached: boolean;
|
|
64
|
-
renderProps: any;
|
|
65
|
-
} | undefined): void;
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
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
|
-
readonly
|
|
116
|
-
readonly
|
|
117
|
-
|
|
118
|
-
readonly
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
} & {
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
} & {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
} & {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
*
|
|
203
|
-
*
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
}
|
|
228
|
-
export declare type BaseLinearDisplayStateModel = typeof BaseLinearDisplay;
|
|
229
|
-
export declare type BaseLinearDisplayModel = Instance<BaseLinearDisplayStateModel>;
|
|
230
|
-
export {};
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { MenuItem } from '@jbrowse/core/ui';
|
|
3
|
+
import { Stats } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
4
|
+
import { BaseBlock } from '@jbrowse/core/util/blockTypes';
|
|
5
|
+
import { Region } from '@jbrowse/core/util/types';
|
|
6
|
+
import CompositeMap from '@jbrowse/core/util/compositeMap';
|
|
7
|
+
import { Feature } from '@jbrowse/core/util/simpleFeature';
|
|
8
|
+
import { Instance } from 'mobx-state-tree';
|
|
9
|
+
import { ExportSvgOptions } from '../../LinearGenomeView';
|
|
10
|
+
export interface Layout {
|
|
11
|
+
minX: number;
|
|
12
|
+
minY: number;
|
|
13
|
+
maxX: number;
|
|
14
|
+
maxY: number;
|
|
15
|
+
name: string;
|
|
16
|
+
}
|
|
17
|
+
declare type LayoutRecord = [number, number, number, number];
|
|
18
|
+
export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
|
|
19
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
20
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
21
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
22
|
+
} & {
|
|
23
|
+
height: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
24
|
+
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
25
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
26
|
+
region: import("mobx-state-tree").IModelType<{
|
|
27
|
+
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
28
|
+
start: import("mobx-state-tree").ISimpleType<number>;
|
|
29
|
+
end: import("mobx-state-tree").ISimpleType<number>;
|
|
30
|
+
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
31
|
+
} & {
|
|
32
|
+
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
33
|
+
}, {
|
|
34
|
+
setRefName(newRefName: string): void;
|
|
35
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
36
|
+
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
37
|
+
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
38
|
+
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
39
|
+
}, {
|
|
40
|
+
renderInProgress: AbortController | undefined;
|
|
41
|
+
filled: boolean;
|
|
42
|
+
reactElement: React.ReactElement<any, string | React.JSXElementConstructor<any>> | undefined;
|
|
43
|
+
features: Map<string, Feature> | undefined;
|
|
44
|
+
layout: any;
|
|
45
|
+
status: string;
|
|
46
|
+
error: unknown;
|
|
47
|
+
message: string | undefined;
|
|
48
|
+
maxHeightReached: boolean;
|
|
49
|
+
ReactComponent: ({ model, }: {
|
|
50
|
+
model: any;
|
|
51
|
+
}) => any;
|
|
52
|
+
renderProps: any;
|
|
53
|
+
} & {
|
|
54
|
+
doReload(): void;
|
|
55
|
+
afterAttach(): void;
|
|
56
|
+
setStatus(message: string): void;
|
|
57
|
+
setLoading(abortController: AbortController): void;
|
|
58
|
+
setMessage(messageText: string): void;
|
|
59
|
+
setRendered(props: {
|
|
60
|
+
reactElement: React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
61
|
+
features: Map<string, Feature>;
|
|
62
|
+
layout: any;
|
|
63
|
+
maxHeightReached: boolean;
|
|
64
|
+
renderProps: any;
|
|
65
|
+
} | undefined): void;
|
|
66
|
+
setError(error: unknown): void;
|
|
67
|
+
reload(): void;
|
|
68
|
+
beforeDestroy(): void;
|
|
69
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
70
|
+
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
71
|
+
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
72
|
+
}, {
|
|
73
|
+
rendererTypeName: string;
|
|
74
|
+
error: unknown;
|
|
75
|
+
} & {
|
|
76
|
+
readonly RenderingComponent: React.FC<{
|
|
77
|
+
model: import("mobx-state-tree").ModelInstanceTypeProps<{
|
|
78
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
79
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
80
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
81
|
+
}> & {
|
|
82
|
+
rendererTypeName: string;
|
|
83
|
+
error: unknown;
|
|
84
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
85
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
86
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
87
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
88
|
+
}, {
|
|
89
|
+
rendererTypeName: string;
|
|
90
|
+
error: unknown;
|
|
91
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
92
|
+
onHorizontalScroll?: Function | undefined;
|
|
93
|
+
blockState?: Record<string, any> | undefined;
|
|
94
|
+
}>;
|
|
95
|
+
readonly DisplayBlurb: React.FC<{
|
|
96
|
+
model: import("mobx-state-tree").ModelInstanceTypeProps<{
|
|
97
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
98
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
99
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
100
|
+
}> & {
|
|
101
|
+
rendererTypeName: string;
|
|
102
|
+
error: unknown;
|
|
103
|
+
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
104
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
105
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
106
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
107
|
+
}, {
|
|
108
|
+
rendererTypeName: string;
|
|
109
|
+
error: unknown;
|
|
110
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
111
|
+
}> | null;
|
|
112
|
+
readonly adapterConfig: any;
|
|
113
|
+
readonly parentTrack: any;
|
|
114
|
+
renderProps(): any;
|
|
115
|
+
readonly rendererType: any;
|
|
116
|
+
readonly DisplayMessageComponent: React.FC<any> | undefined;
|
|
117
|
+
trackMenuItems(): MenuItem[];
|
|
118
|
+
readonly viewMenuActions: MenuItem[];
|
|
119
|
+
regionCannotBeRendered(): undefined;
|
|
120
|
+
} & {
|
|
121
|
+
setError(error?: unknown): void;
|
|
122
|
+
setRpcDriverName(rpcDriverName: string): void;
|
|
123
|
+
reload(): void;
|
|
124
|
+
} & {
|
|
125
|
+
currBpPerPx: number;
|
|
126
|
+
message: string;
|
|
127
|
+
featureIdUnderMouse: string | undefined;
|
|
128
|
+
contextMenuFeature: Feature | undefined;
|
|
129
|
+
scrollTop: number;
|
|
130
|
+
estimatedRegionStatsP: Promise<Stats> | undefined;
|
|
131
|
+
estimatedRegionStats: Stats | undefined;
|
|
132
|
+
} & {
|
|
133
|
+
readonly blockType: "staticBlocks" | "dynamicBlocks";
|
|
134
|
+
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
135
|
+
} & {
|
|
136
|
+
/**
|
|
137
|
+
* how many milliseconds to wait for the display to
|
|
138
|
+
* "settle" before re-rendering a block
|
|
139
|
+
*/
|
|
140
|
+
readonly renderDelay: number;
|
|
141
|
+
readonly TooltipComponent: React.FC<any>;
|
|
142
|
+
/**
|
|
143
|
+
* returns a string feature ID if the globally-selected object
|
|
144
|
+
* is probably a feature
|
|
145
|
+
*/
|
|
146
|
+
readonly selectedFeatureId: string | undefined;
|
|
147
|
+
/**
|
|
148
|
+
* if a display-level message should be displayed instead of the blocks,
|
|
149
|
+
* make this return a react component
|
|
150
|
+
*/
|
|
151
|
+
readonly DisplayMessageComponent: React.FC<any> | undefined;
|
|
152
|
+
} & {
|
|
153
|
+
/**
|
|
154
|
+
* a CompositeMap of `featureId -> feature obj` that
|
|
155
|
+
* just looks in all the block data for that feature
|
|
156
|
+
*/
|
|
157
|
+
readonly features: CompositeMap<string, Feature>;
|
|
158
|
+
readonly featureUnderMouse: Feature | undefined;
|
|
159
|
+
getFeatureOverlapping(blockKey: string, x: number, y: number): any;
|
|
160
|
+
getFeatureByID(blockKey: string, id: string): LayoutRecord | undefined;
|
|
161
|
+
searchFeatureByID(id: string): LayoutRecord | undefined;
|
|
162
|
+
readonly currentBytesRequested: number;
|
|
163
|
+
readonly currentFeatureScreenDensity: number;
|
|
164
|
+
readonly maxFeatureScreenDensity: any;
|
|
165
|
+
readonly estimatedStatsReady: boolean;
|
|
166
|
+
readonly maxAllowableBytes: number;
|
|
167
|
+
} & {
|
|
168
|
+
setMessage(message: string): void;
|
|
169
|
+
afterAttach(): void;
|
|
170
|
+
estimateRegionsStats(regions: Region[], opts: {
|
|
171
|
+
headers?: Record<string, string>;
|
|
172
|
+
signal?: AbortSignal;
|
|
173
|
+
filters?: string[];
|
|
174
|
+
}): Promise<Stats>;
|
|
175
|
+
setRegionStatsP(p?: Promise<Stats> | undefined): void;
|
|
176
|
+
setRegionStats(estimatedRegionStats?: Stats | undefined): void;
|
|
177
|
+
clearRegionStats(): void;
|
|
178
|
+
setHeight(displayHeight: number): number;
|
|
179
|
+
resizeHeight(distance: number): number;
|
|
180
|
+
setScrollTop(scrollTop: number): void;
|
|
181
|
+
updateStatsLimit(stats: Stats): void;
|
|
182
|
+
addBlock(key: string, block: BaseBlock): void;
|
|
183
|
+
setCurrBpPerPx(n: number): void;
|
|
184
|
+
deleteBlock(key: string): void;
|
|
185
|
+
selectFeature(feature: Feature): void;
|
|
186
|
+
clearFeatureSelection(): void;
|
|
187
|
+
setFeatureIdUnderMouse(feature: string | undefined): void;
|
|
188
|
+
reload(): void;
|
|
189
|
+
setContextMenuFeature(feature?: Feature | undefined): void;
|
|
190
|
+
} & {
|
|
191
|
+
readonly regionTooLarge: boolean;
|
|
192
|
+
readonly regionTooLargeReason: string;
|
|
193
|
+
} & {
|
|
194
|
+
reload(): Promise<void>;
|
|
195
|
+
afterAttach(): void;
|
|
196
|
+
} & {
|
|
197
|
+
regionCannotBeRenderedText(_region: Region): "" | "Force load to see features";
|
|
198
|
+
/**
|
|
199
|
+
* @param region -
|
|
200
|
+
* @returns falsy if the region is fine to try rendering. Otherwise,
|
|
201
|
+
* return a react node + string of text.
|
|
202
|
+
* string of text describes why it cannot be rendered
|
|
203
|
+
* react node allows user to force load at current setting
|
|
204
|
+
*/
|
|
205
|
+
regionCannotBeRendered(_region: Region): JSX.Element | undefined;
|
|
206
|
+
trackMenuItems(): MenuItem[];
|
|
207
|
+
contextMenuItems(): {
|
|
208
|
+
label: string;
|
|
209
|
+
icon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
|
|
210
|
+
onClick: () => void;
|
|
211
|
+
}[];
|
|
212
|
+
renderProps(): any;
|
|
213
|
+
} & {
|
|
214
|
+
renderSvg(opts: ExportSvgOptions & {
|
|
215
|
+
overrideHeight: number;
|
|
216
|
+
}): Promise<JSX.Element>;
|
|
217
|
+
}, import("mobx-state-tree")._NotCustomized, {
|
|
218
|
+
id: string;
|
|
219
|
+
type: string;
|
|
220
|
+
rpcDriverName: string | undefined;
|
|
221
|
+
height: number;
|
|
222
|
+
userBpPerPxLimit: number | undefined;
|
|
223
|
+
userByteSizeLimit: number | undefined;
|
|
224
|
+
}>;
|
|
225
|
+
export declare type BaseLinearDisplayStateModel = typeof BaseLinearDisplay;
|
|
226
|
+
export declare type BaseLinearDisplayModel = Instance<BaseLinearDisplayStateModel>;
|
|
227
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const baseLinearDisplayConfigSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
1
|
+
export declare const baseLinearDisplayConfigSchema: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|