@jbrowse/plugin-alignments 2.6.2 → 2.6.3
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/LinearPileupDisplay/SharedLinearPileupDisplayMixin.d.ts +492 -0
- package/dist/LinearPileupDisplay/SharedLinearPileupDisplayMixin.js +529 -0
- package/dist/LinearPileupDisplay/index.d.ts +1 -0
- package/dist/LinearPileupDisplay/index.js +3 -1
- package/dist/LinearPileupDisplay/model.d.ts +106 -219
- package/dist/LinearPileupDisplay/model.js +47 -444
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/shared/color.d.ts +10 -0
- package/dist/shared/color.js +7 -1
- package/esm/LinearPileupDisplay/SharedLinearPileupDisplayMixin.d.ts +492 -0
- package/esm/LinearPileupDisplay/SharedLinearPileupDisplayMixin.js +499 -0
- package/esm/LinearPileupDisplay/index.d.ts +1 -0
- package/esm/LinearPileupDisplay/index.js +1 -0
- package/esm/LinearPileupDisplay/model.d.ts +106 -219
- package/esm/LinearPileupDisplay/model.js +48 -445
- package/esm/index.d.ts +1 -1
- package/esm/index.js +1 -1
- package/esm/shared/color.d.ts +10 -0
- package/esm/shared/color.js +6 -0
- package/package.json +2 -2
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { Instance } from 'mobx-state-tree';
|
|
3
|
-
import {
|
|
4
|
-
import { Feature } from '@jbrowse/core/util';
|
|
5
|
-
import { ContentCopy as ContentCopyIcon } from '@jbrowse/core/ui/Icons';
|
|
3
|
+
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
6
4
|
export interface Filter {
|
|
7
5
|
flagInclude: number;
|
|
8
6
|
flagExclude: number;
|
|
@@ -43,10 +41,15 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
43
41
|
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
44
42
|
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
45
43
|
}, {
|
|
44
|
+
/**
|
|
45
|
+
* #stateModel LinearPileupDisplay
|
|
46
|
+
* #category display
|
|
47
|
+
* extends `BaseLinearDisplay`
|
|
48
|
+
*/
|
|
46
49
|
renderInProgress: AbortController | undefined;
|
|
47
50
|
filled: boolean;
|
|
48
51
|
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
49
|
-
features: Map<string, Feature> | undefined;
|
|
52
|
+
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
50
53
|
layout: any;
|
|
51
54
|
status: string;
|
|
52
55
|
error: unknown;
|
|
@@ -59,14 +62,12 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
59
62
|
} & {
|
|
60
63
|
doReload(): void;
|
|
61
64
|
afterAttach(): void;
|
|
62
|
-
setStatus(message: string): void;
|
|
63
|
-
* #property
|
|
64
|
-
*/
|
|
65
|
+
setStatus(message: string): void;
|
|
65
66
|
setLoading(abortController: AbortController): void;
|
|
66
67
|
setMessage(messageText: string): void;
|
|
67
68
|
setRendered(props: {
|
|
68
69
|
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
69
|
-
features: Map<string, Feature>;
|
|
70
|
+
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
70
71
|
layout: any;
|
|
71
72
|
maxHeightReached: boolean;
|
|
72
73
|
renderProps: any;
|
|
@@ -89,7 +90,11 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
89
90
|
height: {
|
|
90
91
|
type: string;
|
|
91
92
|
defaultValue: number;
|
|
92
|
-
description: string;
|
|
93
|
+
description: string; /**
|
|
94
|
+
* #stateModel LinearPileupDisplay
|
|
95
|
+
* #category display
|
|
96
|
+
* extends `BaseLinearDisplay`
|
|
97
|
+
*/
|
|
93
98
|
};
|
|
94
99
|
mouseover: {
|
|
95
100
|
type: string;
|
|
@@ -99,21 +104,11 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
99
104
|
};
|
|
100
105
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
101
106
|
} & {
|
|
102
|
-
type: import("mobx-state-tree").ISimpleType<"LinearPileupDisplay">;
|
|
103
107
|
configuration: AnyConfigurationSchemaType;
|
|
104
|
-
showSoftClipping: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
105
108
|
featureHeight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
106
109
|
noSpacing: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
107
110
|
fadeLikelihood: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
108
111
|
trackMaxHeight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
109
|
-
mismatchAlpha: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
110
|
-
sortedBy: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IModelType<{
|
|
111
|
-
type: import("mobx-state-tree").ISimpleType<string>;
|
|
112
|
-
pos: import("mobx-state-tree").ISimpleType<number>;
|
|
113
|
-
tag: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
114
|
-
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
115
|
-
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
116
|
-
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
117
112
|
colorBy: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IModelType<{
|
|
118
113
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
119
114
|
tag: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
@@ -128,6 +123,18 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
128
123
|
value: import("mobx-state-tree").ISimpleType<string>;
|
|
129
124
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
130
125
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
126
|
+
} & {
|
|
127
|
+
type: import("mobx-state-tree").ISimpleType<"LinearPileupDisplay">;
|
|
128
|
+
configuration: AnyConfigurationSchemaType;
|
|
129
|
+
showSoftClipping: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
130
|
+
mismatchAlpha: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
131
|
+
sortedBy: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IModelType<{
|
|
132
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
133
|
+
pos: import("mobx-state-tree").ISimpleType<number>;
|
|
134
|
+
tag: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
135
|
+
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
136
|
+
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
137
|
+
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
131
138
|
}, {
|
|
132
139
|
rendererTypeName: string;
|
|
133
140
|
error: unknown;
|
|
@@ -174,9 +181,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
174
181
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
175
182
|
}> | null;
|
|
176
183
|
readonly adapterConfig: any;
|
|
177
|
-
readonly parentTrack: any;
|
|
178
|
-
* #property
|
|
179
|
-
*/
|
|
184
|
+
readonly parentTrack: any;
|
|
180
185
|
renderProps(): any;
|
|
181
186
|
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
182
187
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
@@ -223,7 +228,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
223
228
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
224
229
|
} & {
|
|
225
230
|
featureIdUnderMouse: string | undefined;
|
|
226
|
-
contextMenuFeature: Feature | undefined;
|
|
231
|
+
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
227
232
|
} & {
|
|
228
233
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
229
234
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
@@ -233,20 +238,22 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
233
238
|
readonly selectedFeatureId: string | undefined;
|
|
234
239
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
235
240
|
} & {
|
|
236
|
-
readonly features: import("@jbrowse/core/util/compositeMap").default<string, Feature>;
|
|
237
|
-
readonly featureUnderMouse: Feature | undefined;
|
|
238
|
-
|
|
239
|
-
* #action
|
|
241
|
+
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
242
|
+
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined; /**
|
|
243
|
+
* #getter
|
|
240
244
|
*/
|
|
245
|
+
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
241
246
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
242
247
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
243
248
|
} & {
|
|
244
249
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
245
250
|
deleteBlock(key: string): void;
|
|
246
|
-
selectFeature(feature: Feature): void;
|
|
251
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
247
252
|
clearFeatureSelection(): void;
|
|
248
|
-
setFeatureIdUnderMouse(feature?: string | undefined): void;
|
|
249
|
-
|
|
253
|
+
setFeatureIdUnderMouse(feature?: string | undefined): void; /**
|
|
254
|
+
* #method
|
|
255
|
+
*/
|
|
256
|
+
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
250
257
|
} & {
|
|
251
258
|
reload(): Promise<void>;
|
|
252
259
|
} & {
|
|
@@ -258,75 +265,97 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
258
265
|
afterAttach(): void;
|
|
259
266
|
} & {
|
|
260
267
|
colorTagMap: import("mobx").ObservableMap<string, string>;
|
|
261
|
-
|
|
262
|
-
featureUnderMouseVolatile: Feature | undefined;
|
|
263
|
-
currSortBpPerPx: number;
|
|
264
|
-
modificationsReady: boolean;
|
|
265
|
-
sortReady: boolean;
|
|
268
|
+
featureUnderMouseVolatile: import("@jbrowse/core/util").Feature | undefined;
|
|
266
269
|
tagsReady: boolean;
|
|
267
270
|
} & {
|
|
268
271
|
readonly autorunReady: boolean;
|
|
269
272
|
} & {
|
|
270
|
-
/**
|
|
271
|
-
* #action
|
|
272
|
-
*/
|
|
273
|
-
setModificationsReady(flag: boolean): void;
|
|
274
|
-
/**
|
|
275
|
-
* #action
|
|
276
|
-
*/
|
|
277
273
|
setTagsReady(flag: boolean): void;
|
|
278
|
-
/**
|
|
279
|
-
* #action
|
|
280
|
-
*/
|
|
281
|
-
setSortReady(flag: boolean): void;
|
|
282
|
-
/**
|
|
283
|
-
* #action
|
|
284
|
-
*/
|
|
285
|
-
setCurrSortBpPerPx(n: number): void;
|
|
286
|
-
/**
|
|
287
|
-
* #action
|
|
288
|
-
*/
|
|
289
274
|
setMaxHeight(n: number): void;
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
*/
|
|
293
|
-
setFeatureHeight(n?: number): void;
|
|
294
|
-
/**
|
|
295
|
-
* #action
|
|
296
|
-
*/
|
|
297
|
-
setNoSpacing(flag?: boolean): void;
|
|
298
|
-
/**
|
|
299
|
-
* #action
|
|
300
|
-
*/
|
|
275
|
+
setFeatureHeight(n?: number | undefined): void;
|
|
276
|
+
setNoSpacing(flag?: boolean | undefined): void;
|
|
301
277
|
setColorScheme(colorScheme: {
|
|
302
278
|
type: string;
|
|
303
|
-
tag?: string;
|
|
279
|
+
tag?: string | undefined;
|
|
280
|
+
extra?: import("../shared/color").ExtraColorBy | undefined;
|
|
304
281
|
}): void;
|
|
282
|
+
updateColorTagMap(uniqueTag: string[]): void;
|
|
283
|
+
setFeatureUnderMouse(feat?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
284
|
+
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
285
|
+
copyFeatureToClipboard(feature: import("@jbrowse/core/util").Feature): void;
|
|
286
|
+
setConfig(conf: {
|
|
287
|
+
[x: string]: any;
|
|
288
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
289
|
+
setSubschema(slotName: string, data: unknown): any;
|
|
290
|
+
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>): void;
|
|
291
|
+
setFilterBy(filter: import("./SharedLinearPileupDisplayMixin").Filter): void;
|
|
292
|
+
} & {
|
|
293
|
+
readonly rendererConfig: {
|
|
294
|
+
[x: string]: any;
|
|
295
|
+
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
296
|
+
setSubschema(slotName: string, data: unknown): any;
|
|
297
|
+
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
298
|
+
} & {
|
|
299
|
+
readonly maxHeight: any;
|
|
300
|
+
readonly featureHeightSetting: any;
|
|
301
|
+
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
302
|
+
renderReady(): boolean;
|
|
303
|
+
} & {
|
|
304
|
+
readonly rendererTypeName: string;
|
|
305
|
+
contextMenuItems(): ({
|
|
306
|
+
label: string;
|
|
307
|
+
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
308
|
+
muiName: string;
|
|
309
|
+
};
|
|
310
|
+
onClick: () => void;
|
|
311
|
+
} | {
|
|
312
|
+
label: string;
|
|
313
|
+
icon: typeof import("@jbrowse/core/ui/Icons").ContentCopy;
|
|
314
|
+
onClick: () => void;
|
|
315
|
+
})[];
|
|
316
|
+
readonly DisplayBlurb: (props: import("./components/LinearPileupDisplayBlurb").LinearPileupDisplayBlurbProps) => import("react").JSX.Element | null;
|
|
317
|
+
renderPropsPre(): any;
|
|
318
|
+
colorSchemeSubMenuItems(): {
|
|
319
|
+
label: string;
|
|
320
|
+
onClick: () => void;
|
|
321
|
+
}[];
|
|
322
|
+
trackMenuItems(): (import("@jbrowse/core/ui").MenuDivider | import("@jbrowse/core/ui").MenuSubHeader | import("@jbrowse/core/ui").NormalMenuItem | import("@jbrowse/core/ui").CheckboxMenuItem | import("@jbrowse/core/ui").RadioMenuItem | import("@jbrowse/core/ui").SubMenuItem | {
|
|
323
|
+
label: string;
|
|
324
|
+
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
325
|
+
muiName: string;
|
|
326
|
+
};
|
|
327
|
+
onClick: () => void;
|
|
328
|
+
})[];
|
|
329
|
+
} & {
|
|
330
|
+
renderProps(): any;
|
|
331
|
+
} & {
|
|
332
|
+
afterAttach(): void;
|
|
333
|
+
} & {
|
|
334
|
+
sortReady: boolean;
|
|
335
|
+
currSortBpPerPx: number;
|
|
336
|
+
modificationTagMap: import("mobx").ObservableMap<string, string>;
|
|
337
|
+
modificationsReady: boolean;
|
|
338
|
+
} & {
|
|
305
339
|
/**
|
|
306
340
|
* #action
|
|
307
341
|
*/
|
|
308
|
-
|
|
342
|
+
setCurrSortBpPerPx(n: number): void;
|
|
309
343
|
/**
|
|
310
344
|
* #action
|
|
311
345
|
*/
|
|
312
|
-
|
|
346
|
+
updateModificationColorMap(uniqueModifications: string[]): void;
|
|
313
347
|
/**
|
|
314
348
|
* #action
|
|
315
349
|
*/
|
|
316
|
-
|
|
350
|
+
setModificationsReady(flag: boolean): void;
|
|
317
351
|
/**
|
|
318
352
|
* #action
|
|
319
353
|
*/
|
|
320
|
-
|
|
354
|
+
setSortReady(flag: boolean): void;
|
|
321
355
|
/**
|
|
322
356
|
* #action
|
|
323
357
|
*/
|
|
324
358
|
clearSelected(): void;
|
|
325
|
-
/**
|
|
326
|
-
* #action
|
|
327
|
-
* uses copy-to-clipboard and generates notification
|
|
328
|
-
*/
|
|
329
|
-
copyFeatureToClipboard(feature: Feature): void;
|
|
330
359
|
/**
|
|
331
360
|
* #action
|
|
332
361
|
*/
|
|
@@ -335,15 +364,10 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
335
364
|
* #action
|
|
336
365
|
*/
|
|
337
366
|
toggleMismatchAlpha(): void;
|
|
338
|
-
/**
|
|
339
|
-
* #action
|
|
340
|
-
*/
|
|
341
|
-
setConfig(conf: AnyConfigurationModel): void;
|
|
342
367
|
/**
|
|
343
368
|
* #action
|
|
344
369
|
*/
|
|
345
370
|
setSortedBy(type: string, tag?: string): void;
|
|
346
|
-
setFilterBy(filter: Filter): void;
|
|
347
371
|
} & {
|
|
348
372
|
/**
|
|
349
373
|
* #action
|
|
@@ -359,14 +383,6 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
359
383
|
setSubschema(slotName: string, data: unknown): any;
|
|
360
384
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
361
385
|
} & {
|
|
362
|
-
/**
|
|
363
|
-
* #getter
|
|
364
|
-
*/
|
|
365
|
-
readonly maxHeight: any;
|
|
366
|
-
/**
|
|
367
|
-
* #getter
|
|
368
|
-
*/
|
|
369
|
-
readonly featureHeightSetting: any;
|
|
370
386
|
/**
|
|
371
387
|
* #getter
|
|
372
388
|
*/
|
|
@@ -374,34 +390,8 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
374
390
|
/**
|
|
375
391
|
* #getter
|
|
376
392
|
*/
|
|
377
|
-
|
|
378
|
-
/**
|
|
379
|
-
* #getter
|
|
380
|
-
*/
|
|
381
|
-
readonly renderReady: boolean;
|
|
393
|
+
renderReady(): boolean;
|
|
382
394
|
} & {
|
|
383
|
-
/**
|
|
384
|
-
* #getter
|
|
385
|
-
*/
|
|
386
|
-
readonly rendererTypeName: string;
|
|
387
|
-
/**
|
|
388
|
-
* #method
|
|
389
|
-
*/
|
|
390
|
-
contextMenuItems(): ({
|
|
391
|
-
label: string;
|
|
392
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
393
|
-
muiName: string;
|
|
394
|
-
};
|
|
395
|
-
onClick: () => void;
|
|
396
|
-
} | {
|
|
397
|
-
label: string;
|
|
398
|
-
icon: typeof ContentCopyIcon;
|
|
399
|
-
onClick: () => void;
|
|
400
|
-
})[];
|
|
401
|
-
/**
|
|
402
|
-
* #getter
|
|
403
|
-
*/
|
|
404
|
-
readonly DisplayBlurb: (props: import("./components/LinearPileupDisplayBlurb").LinearPileupDisplayBlurbProps) => import("react").JSX.Element | null;
|
|
405
395
|
/**
|
|
406
396
|
* #method
|
|
407
397
|
*/
|
|
@@ -438,27 +428,15 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
438
428
|
onClick?: undefined;
|
|
439
429
|
} | {
|
|
440
430
|
label: string;
|
|
441
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
442
|
-
muiName: string;
|
|
443
|
-
};
|
|
444
431
|
subMenu: {
|
|
445
432
|
label: string;
|
|
446
433
|
onClick: () => void;
|
|
447
434
|
}[];
|
|
435
|
+
icon?: undefined;
|
|
448
436
|
type?: undefined;
|
|
449
437
|
checked?: undefined;
|
|
450
438
|
onClick?: undefined;
|
|
451
439
|
disabled?: undefined;
|
|
452
|
-
} | {
|
|
453
|
-
label: string;
|
|
454
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
455
|
-
muiName: string;
|
|
456
|
-
};
|
|
457
|
-
onClick: () => void;
|
|
458
|
-
type?: undefined;
|
|
459
|
-
checked?: undefined;
|
|
460
|
-
disabled?: undefined;
|
|
461
|
-
subMenu?: undefined;
|
|
462
440
|
} | {
|
|
463
441
|
label: string;
|
|
464
442
|
type: string;
|
|
@@ -470,98 +448,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
470
448
|
})[];
|
|
471
449
|
} & {
|
|
472
450
|
afterAttach(): void;
|
|
473
|
-
},
|
|
474
|
-
type: string;
|
|
475
|
-
} & Partial<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
476
|
-
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
477
|
-
type: import("mobx-state-tree").ISimpleType<string>;
|
|
478
|
-
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
479
|
-
} & {
|
|
480
|
-
heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
481
|
-
} & {
|
|
482
|
-
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
483
|
-
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
484
|
-
} & {
|
|
485
|
-
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
486
|
-
key: import("mobx-state-tree").ISimpleType<string>;
|
|
487
|
-
region: import("mobx-state-tree").IModelType<{
|
|
488
|
-
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
489
|
-
start: import("mobx-state-tree").ISimpleType<number>;
|
|
490
|
-
end: import("mobx-state-tree").ISimpleType<number>;
|
|
491
|
-
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
492
|
-
} & {
|
|
493
|
-
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
494
|
-
}, {
|
|
495
|
-
setRefName(newRefName: string): void;
|
|
496
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
497
|
-
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
498
|
-
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
499
|
-
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
500
|
-
}, {
|
|
501
|
-
renderInProgress: AbortController | undefined;
|
|
502
|
-
filled: boolean;
|
|
503
|
-
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
504
|
-
features: Map<string, Feature> | undefined;
|
|
505
|
-
layout: any;
|
|
506
|
-
status: string;
|
|
507
|
-
error: unknown;
|
|
508
|
-
message: string | undefined;
|
|
509
|
-
maxHeightReached: boolean;
|
|
510
|
-
ReactComponent: ({ model, }: {
|
|
511
|
-
model: any;
|
|
512
|
-
}) => any;
|
|
513
|
-
renderProps: any;
|
|
514
|
-
} & {
|
|
515
|
-
doReload(): void;
|
|
516
|
-
afterAttach(): void;
|
|
517
|
-
setStatus(message: string): void; /**
|
|
518
|
-
* #property
|
|
519
|
-
*/
|
|
520
|
-
setLoading(abortController: AbortController): void;
|
|
521
|
-
setMessage(messageText: string): void;
|
|
522
|
-
setRendered(props: {
|
|
523
|
-
reactElement: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
524
|
-
features: Map<string, Feature>;
|
|
525
|
-
layout: any;
|
|
526
|
-
maxHeightReached: boolean;
|
|
527
|
-
renderProps: any;
|
|
528
|
-
} | undefined): void;
|
|
529
|
-
setError(error: unknown): void;
|
|
530
|
-
reload(): void;
|
|
531
|
-
beforeDestroy(): void;
|
|
532
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
533
|
-
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
534
|
-
maxFeatureScreenDensity: {
|
|
535
|
-
type: string;
|
|
536
|
-
description: string;
|
|
537
|
-
defaultValue: number;
|
|
538
|
-
};
|
|
539
|
-
fetchSizeLimit: {
|
|
540
|
-
type: string;
|
|
541
|
-
defaultValue: number;
|
|
542
|
-
description: string;
|
|
543
|
-
};
|
|
544
|
-
height: {
|
|
545
|
-
type: string;
|
|
546
|
-
defaultValue: number;
|
|
547
|
-
description: string;
|
|
548
|
-
};
|
|
549
|
-
mouseover: {
|
|
550
|
-
type: string;
|
|
551
|
-
description: string;
|
|
552
|
-
defaultValue: string;
|
|
553
|
-
contextVariable: string[];
|
|
554
|
-
};
|
|
555
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
556
|
-
}>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
|
|
557
|
-
type: string;
|
|
558
|
-
id: string;
|
|
559
|
-
configuration: import("mobx-state-tree").ModelSnapshotType<Record<string, any>>;
|
|
560
|
-
rpcDriverName: string | undefined;
|
|
561
|
-
heightPreConfig: number | undefined;
|
|
562
|
-
userBpPerPxLimit: number | undefined;
|
|
563
|
-
userByteSizeLimit: number | undefined;
|
|
564
|
-
} & import("mobx-state-tree")._NotCustomized>;
|
|
451
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
565
452
|
export type LinearPileupDisplayStateModel = ReturnType<typeof stateModelFactory>;
|
|
566
453
|
export type LinearPileupDisplayModel = Instance<LinearPileupDisplayStateModel>;
|
|
567
454
|
export default stateModelFactory;
|