@jbrowse/plugin-linear-comparative-view 2.6.1 → 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/LGVSyntenyDisplay/configSchemaF.d.ts +1 -3
- package/dist/LGVSyntenyDisplay/configSchemaF.js +0 -1
- package/dist/LGVSyntenyDisplay/index.js +0 -1
- package/dist/LGVSyntenyDisplay/model.d.ts +17 -76
- package/dist/LGVSyntenyDisplay/model.js +22 -4
- package/dist/LaunchLinearSyntenyView.js +0 -1
- package/dist/LinearComparativeDisplay/configSchemaF.js +0 -1
- package/dist/LinearComparativeDisplay/index.js +0 -1
- package/dist/LinearComparativeDisplay/stateModelFactory.js +0 -1
- package/dist/LinearComparativeView/components/Header.js +11 -2
- package/dist/LinearComparativeView/components/LinearComparativeView.js +0 -1
- package/dist/LinearComparativeView/components/Rubberband.js +11 -33
- package/dist/LinearComparativeView/components/VerticalGuide.d.ts +8 -0
- package/dist/LinearComparativeView/components/VerticalGuide.js +33 -0
- package/dist/LinearComparativeView/index.js +0 -1
- package/dist/LinearComparativeView/model.d.ts +9 -15
- package/dist/LinearComparativeView/model.js +0 -1
- package/dist/LinearReadVsRef/LinearReadVsRef.js +0 -1
- package/dist/LinearReadVsRef/index.js +0 -1
- package/dist/LinearSyntenyDisplay/afterAttach.js +0 -1
- package/dist/LinearSyntenyDisplay/components/Component.js +0 -1
- package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +0 -1
- package/dist/LinearSyntenyDisplay/components/SyntenyTooltip.js +0 -1
- package/dist/LinearSyntenyDisplay/components/util.js +0 -1
- package/dist/LinearSyntenyDisplay/configSchemaF.js +0 -1
- package/dist/LinearSyntenyDisplay/drawSynteny.js +0 -1
- package/dist/LinearSyntenyDisplay/index.js +0 -1
- package/dist/LinearSyntenyDisplay/model.js +0 -1
- package/dist/LinearSyntenyView/components/ExportSvgDialog.js +0 -1
- package/dist/LinearSyntenyView/components/Icons.js +0 -1
- package/dist/LinearSyntenyView/components/ImportCustomTrack.js +0 -1
- package/dist/LinearSyntenyView/components/ImportForm.js +0 -1
- package/dist/LinearSyntenyView/components/ImportSyntenyTrackSelector.js +0 -1
- package/dist/LinearSyntenyView/components/LinearSyntenyView.js +0 -1
- package/dist/LinearSyntenyView/index.js +0 -1
- package/dist/LinearSyntenyView/model.d.ts +9 -9
- package/dist/LinearSyntenyView/model.js +0 -1
- package/dist/LinearSyntenyView/svgcomponents/SVGBackground.js +2 -2
- package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +0 -1
- package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.js +0 -1
- package/dist/SyntenyFeatureDetail/index.js +0 -1
- package/dist/SyntenyTrack/configSchema.js +0 -1
- package/dist/SyntenyTrack/index.js +0 -1
- package/dist/index.js +0 -1
- package/dist/util.js +0 -1
- package/esm/LGVSyntenyDisplay/configSchemaF.d.ts +1 -3
- package/esm/LGVSyntenyDisplay/configSchemaF.js +0 -1
- package/esm/LGVSyntenyDisplay/index.js +0 -1
- package/esm/LGVSyntenyDisplay/model.d.ts +17 -76
- package/esm/LGVSyntenyDisplay/model.js +23 -5
- package/esm/LaunchLinearSyntenyView.js +0 -1
- package/esm/LinearComparativeDisplay/configSchemaF.js +0 -1
- package/esm/LinearComparativeDisplay/index.js +0 -1
- package/esm/LinearComparativeDisplay/stateModelFactory.js +0 -1
- package/esm/LinearComparativeView/components/Header.js +11 -2
- package/esm/LinearComparativeView/components/LinearComparativeView.js +0 -1
- package/esm/LinearComparativeView/components/Rubberband.js +8 -33
- package/esm/LinearComparativeView/components/VerticalGuide.d.ts +8 -0
- package/esm/LinearComparativeView/components/VerticalGuide.js +28 -0
- package/esm/LinearComparativeView/index.js +0 -1
- package/esm/LinearComparativeView/model.d.ts +9 -15
- package/esm/LinearComparativeView/model.js +0 -1
- package/esm/LinearReadVsRef/LinearReadVsRef.js +0 -1
- package/esm/LinearReadVsRef/index.js +0 -1
- package/esm/LinearSyntenyDisplay/afterAttach.js +0 -1
- package/esm/LinearSyntenyDisplay/components/Component.js +0 -1
- package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +0 -1
- package/esm/LinearSyntenyDisplay/components/SyntenyTooltip.js +0 -1
- package/esm/LinearSyntenyDisplay/components/util.js +0 -1
- package/esm/LinearSyntenyDisplay/configSchemaF.js +0 -1
- package/esm/LinearSyntenyDisplay/drawSynteny.js +0 -1
- package/esm/LinearSyntenyDisplay/index.js +0 -1
- package/esm/LinearSyntenyDisplay/model.js +0 -1
- package/esm/LinearSyntenyView/components/ExportSvgDialog.js +0 -1
- package/esm/LinearSyntenyView/components/Icons.js +0 -1
- package/esm/LinearSyntenyView/components/ImportCustomTrack.js +0 -1
- package/esm/LinearSyntenyView/components/ImportForm.js +0 -1
- package/esm/LinearSyntenyView/components/ImportSyntenyTrackSelector.js +0 -1
- package/esm/LinearSyntenyView/components/LinearSyntenyView.js +0 -1
- package/esm/LinearSyntenyView/index.js +0 -1
- package/esm/LinearSyntenyView/model.d.ts +9 -9
- package/esm/LinearSyntenyView/model.js +0 -1
- package/esm/LinearSyntenyView/svgcomponents/SVGBackground.js +2 -2
- package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +0 -1
- package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.js +0 -1
- package/esm/SyntenyFeatureDetail/index.js +0 -1
- package/esm/SyntenyTrack/configSchema.js +0 -1
- package/esm/SyntenyTrack/index.js +0 -1
- package/esm/index.js +0 -1
- package/esm/util.js +0 -1
- package/package.json +4 -4
- package/dist/LGVSyntenyDisplay/configSchemaF.js.map +0 -1
- package/dist/LGVSyntenyDisplay/index.js.map +0 -1
- package/dist/LGVSyntenyDisplay/model.js.map +0 -1
- package/dist/LaunchLinearSyntenyView.js.map +0 -1
- package/dist/LinearComparativeDisplay/configSchemaF.js.map +0 -1
- package/dist/LinearComparativeDisplay/index.js.map +0 -1
- package/dist/LinearComparativeDisplay/stateModelFactory.js.map +0 -1
- package/dist/LinearComparativeView/components/Header.js.map +0 -1
- package/dist/LinearComparativeView/components/LinearComparativeView.js.map +0 -1
- package/dist/LinearComparativeView/components/Rubberband.js.map +0 -1
- package/dist/LinearComparativeView/index.js.map +0 -1
- package/dist/LinearComparativeView/model.js.map +0 -1
- package/dist/LinearReadVsRef/LinearReadVsRef.js.map +0 -1
- package/dist/LinearReadVsRef/index.js.map +0 -1
- package/dist/LinearSyntenyDisplay/afterAttach.js.map +0 -1
- package/dist/LinearSyntenyDisplay/components/Component.js.map +0 -1
- package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.js.map +0 -1
- package/dist/LinearSyntenyDisplay/components/SyntenyTooltip.js.map +0 -1
- package/dist/LinearSyntenyDisplay/components/util.js.map +0 -1
- package/dist/LinearSyntenyDisplay/configSchemaF.js.map +0 -1
- package/dist/LinearSyntenyDisplay/drawSynteny.js.map +0 -1
- package/dist/LinearSyntenyDisplay/index.js.map +0 -1
- package/dist/LinearSyntenyDisplay/model.js.map +0 -1
- package/dist/LinearSyntenyView/components/ExportSvgDialog.js.map +0 -1
- package/dist/LinearSyntenyView/components/Icons.js.map +0 -1
- package/dist/LinearSyntenyView/components/ImportCustomTrack.js.map +0 -1
- package/dist/LinearSyntenyView/components/ImportForm.js.map +0 -1
- package/dist/LinearSyntenyView/components/ImportSyntenyTrackSelector.js.map +0 -1
- package/dist/LinearSyntenyView/components/LinearSyntenyView.js.map +0 -1
- package/dist/LinearSyntenyView/index.js.map +0 -1
- package/dist/LinearSyntenyView/model.js.map +0 -1
- package/dist/LinearSyntenyView/svgcomponents/SVGBackground.js.map +0 -1
- package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js.map +0 -1
- package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.js.map +0 -1
- package/dist/SyntenyFeatureDetail/index.js.map +0 -1
- package/dist/SyntenyTrack/configSchema.js.map +0 -1
- package/dist/SyntenyTrack/index.js.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/util.js.map +0 -1
- package/esm/LGVSyntenyDisplay/configSchemaF.js.map +0 -1
- package/esm/LGVSyntenyDisplay/index.js.map +0 -1
- package/esm/LGVSyntenyDisplay/model.js.map +0 -1
- package/esm/LaunchLinearSyntenyView.js.map +0 -1
- package/esm/LinearComparativeDisplay/configSchemaF.js.map +0 -1
- package/esm/LinearComparativeDisplay/index.js.map +0 -1
- package/esm/LinearComparativeDisplay/stateModelFactory.js.map +0 -1
- package/esm/LinearComparativeView/components/Header.js.map +0 -1
- package/esm/LinearComparativeView/components/LinearComparativeView.js.map +0 -1
- package/esm/LinearComparativeView/components/Rubberband.js.map +0 -1
- package/esm/LinearComparativeView/index.js.map +0 -1
- package/esm/LinearComparativeView/model.js.map +0 -1
- package/esm/LinearReadVsRef/LinearReadVsRef.js.map +0 -1
- package/esm/LinearReadVsRef/index.js.map +0 -1
- package/esm/LinearSyntenyDisplay/afterAttach.js.map +0 -1
- package/esm/LinearSyntenyDisplay/components/Component.js.map +0 -1
- package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.js.map +0 -1
- package/esm/LinearSyntenyDisplay/components/SyntenyTooltip.js.map +0 -1
- package/esm/LinearSyntenyDisplay/components/util.js.map +0 -1
- package/esm/LinearSyntenyDisplay/configSchemaF.js.map +0 -1
- package/esm/LinearSyntenyDisplay/drawSynteny.js.map +0 -1
- package/esm/LinearSyntenyDisplay/index.js.map +0 -1
- package/esm/LinearSyntenyDisplay/model.js.map +0 -1
- package/esm/LinearSyntenyView/components/ExportSvgDialog.js.map +0 -1
- package/esm/LinearSyntenyView/components/Icons.js.map +0 -1
- package/esm/LinearSyntenyView/components/ImportCustomTrack.js.map +0 -1
- package/esm/LinearSyntenyView/components/ImportForm.js.map +0 -1
- package/esm/LinearSyntenyView/components/ImportSyntenyTrackSelector.js.map +0 -1
- package/esm/LinearSyntenyView/components/LinearSyntenyView.js.map +0 -1
- package/esm/LinearSyntenyView/index.js.map +0 -1
- package/esm/LinearSyntenyView/model.js.map +0 -1
- package/esm/LinearSyntenyView/svgcomponents/SVGBackground.js.map +0 -1
- package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js.map +0 -1
- package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.js.map +0 -1
- package/esm/SyntenyFeatureDetail/index.js.map +0 -1
- package/esm/SyntenyTrack/configSchema.js.map +0 -1
- package/esm/SyntenyTrack/index.js.map +0 -1
- package/esm/index.js.map +0 -1
- package/esm/util.js.map +0 -1
- package/src/LGVSyntenyDisplay/configSchemaF.ts +0 -22
- package/src/LGVSyntenyDisplay/index.ts +0 -20
- package/src/LGVSyntenyDisplay/model.ts +0 -177
- package/src/LaunchLinearSyntenyView.ts +0 -86
- package/src/LinearComparativeDisplay/configSchemaF.ts +0 -22
- package/src/LinearComparativeDisplay/index.ts +0 -21
- package/src/LinearComparativeDisplay/stateModelFactory.ts +0 -212
- package/src/LinearComparativeView/components/Header.tsx +0 -103
- package/src/LinearComparativeView/components/LinearComparativeView.tsx +0 -152
- package/src/LinearComparativeView/components/Rubberband.tsx +0 -329
- package/src/LinearComparativeView/index.ts +0 -15
- package/src/LinearComparativeView/model.ts +0 -395
- package/src/LinearReadVsRef/LinearReadVsRef.tsx +0 -360
- package/src/LinearReadVsRef/index.ts +0 -58
- package/src/LinearSyntenyDisplay/afterAttach.ts +0 -149
- package/src/LinearSyntenyDisplay/components/Component.tsx +0 -75
- package/src/LinearSyntenyDisplay/components/LinearSyntenyRendering.tsx +0 -200
- package/src/LinearSyntenyDisplay/components/SyntenyTooltip.tsx +0 -82
- package/src/LinearSyntenyDisplay/components/util.ts +0 -142
- package/src/LinearSyntenyDisplay/configSchemaF.ts +0 -38
- package/src/LinearSyntenyDisplay/drawSynteny.ts +0 -266
- package/src/LinearSyntenyDisplay/index.ts +0 -21
- package/src/LinearSyntenyDisplay/model.ts +0 -187
- package/src/LinearSyntenyView/components/ExportSvgDialog.tsx +0 -148
- package/src/LinearSyntenyView/components/Icons.tsx +0 -24
- package/src/LinearSyntenyView/components/ImportCustomTrack.tsx +0 -262
- package/src/LinearSyntenyView/components/ImportForm.tsx +0 -221
- package/src/LinearSyntenyView/components/ImportSyntenyTrackSelector.tsx +0 -82
- package/src/LinearSyntenyView/components/LinearSyntenyView.tsx +0 -20
- package/src/LinearSyntenyView/index.ts +0 -15
- package/src/LinearSyntenyView/model.test.ts +0 -1605
- package/src/LinearSyntenyView/model.ts +0 -169
- package/src/LinearSyntenyView/svgcomponents/SVGBackground.tsx +0 -21
- package/src/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.tsx +0 -176
- package/src/SyntenyFeatureDetail/SyntenyFeatureDetail.tsx +0 -64
- package/src/SyntenyFeatureDetail/index.ts +0 -36
- package/src/SyntenyTrack/configSchema.ts +0 -23
- package/src/SyntenyTrack/index.tsx +0 -15
- package/src/index.tsx +0 -42
- package/src/util.ts +0 -124
|
@@ -6,9 +6,7 @@ declare function configSchemaF(pluginManager: PluginManager): import("@jbrowse/c
|
|
|
6
6
|
defaultRendering: {
|
|
7
7
|
type: string;
|
|
8
8
|
model: import("mobx-state-tree").ISimpleType<string>;
|
|
9
|
-
defaultValue: string;
|
|
10
|
-
* #baseConfiguration
|
|
11
|
-
*/
|
|
9
|
+
defaultValue: string;
|
|
12
10
|
};
|
|
13
11
|
renderers: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
14
12
|
PileupRenderer: import("@jbrowse/core/configuration").AnyConfigurationSchemaType;
|
|
@@ -86,21 +86,11 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
86
86
|
};
|
|
87
87
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
88
88
|
} & {
|
|
89
|
-
type: import("mobx-state-tree").ISimpleType<"LinearPileupDisplay">;
|
|
90
89
|
configuration: AnyConfigurationSchemaType;
|
|
91
|
-
showSoftClipping: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
92
90
|
featureHeight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
93
91
|
noSpacing: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
94
92
|
fadeLikelihood: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
95
93
|
trackMaxHeight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
96
|
-
mismatchAlpha: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
97
|
-
sortedBy: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IModelType<{
|
|
98
|
-
type: import("mobx-state-tree").ISimpleType<string>;
|
|
99
|
-
pos: import("mobx-state-tree").ISimpleType<number>;
|
|
100
|
-
tag: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
101
|
-
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
102
|
-
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
103
|
-
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
104
94
|
colorBy: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IModelType<{
|
|
105
95
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
106
96
|
tag: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
@@ -219,7 +209,7 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
219
209
|
featureIdUnderMouse: string | undefined;
|
|
220
210
|
contextMenuFeature: Feature | undefined;
|
|
221
211
|
} & {
|
|
222
|
-
readonly blockType: "
|
|
212
|
+
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
223
213
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
224
214
|
} & {
|
|
225
215
|
readonly renderDelay: number;
|
|
@@ -250,43 +240,30 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
250
240
|
afterAttach(): void;
|
|
251
241
|
} & {
|
|
252
242
|
colorTagMap: import("mobx").ObservableMap<string, string>;
|
|
253
|
-
modificationTagMap: import("mobx").ObservableMap<string, string>;
|
|
254
243
|
featureUnderMouseVolatile: Feature | undefined;
|
|
255
|
-
currSortBpPerPx: number;
|
|
256
|
-
modificationsReady: boolean;
|
|
257
|
-
sortReady: boolean;
|
|
258
244
|
tagsReady: boolean;
|
|
259
245
|
} & {
|
|
260
246
|
readonly autorunReady: boolean;
|
|
261
247
|
} & {
|
|
262
|
-
setModificationsReady(flag: boolean): void;
|
|
263
248
|
setTagsReady(flag: boolean): void;
|
|
264
|
-
setSortReady(flag: boolean): void;
|
|
265
|
-
setCurrSortBpPerPx(n: number): void;
|
|
266
249
|
setMaxHeight(n: number): void;
|
|
267
250
|
setFeatureHeight(n?: number | undefined): void;
|
|
268
251
|
setNoSpacing(flag?: boolean | undefined): void;
|
|
269
252
|
setColorScheme(colorScheme: {
|
|
270
253
|
type: string;
|
|
271
254
|
tag?: string | undefined;
|
|
255
|
+
extra?: import("@jbrowse/plugin-alignments/src/shared/color").ExtraColorBy | undefined;
|
|
272
256
|
}): void;
|
|
273
|
-
updateModificationColorMap(uniqueModifications: string[]): void;
|
|
274
257
|
updateColorTagMap(uniqueTag: string[]): void;
|
|
275
258
|
setFeatureUnderMouse(feat?: Feature | undefined): void;
|
|
276
259
|
selectFeature(feature: Feature): void;
|
|
277
|
-
clearSelected(): void;
|
|
278
260
|
copyFeatureToClipboard(feature: Feature): void;
|
|
279
|
-
toggleSoftClipping(): void;
|
|
280
|
-
toggleMismatchAlpha(): void;
|
|
281
261
|
setConfig(conf: {
|
|
282
262
|
[x: string]: any;
|
|
283
263
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
284
264
|
setSubschema(slotName: string, data: unknown): any;
|
|
285
265
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>): void;
|
|
286
|
-
|
|
287
|
-
setFilterBy(filter: import("@jbrowse/plugin-alignments/src/LinearPileupDisplay/model").Filter): void;
|
|
288
|
-
} & {
|
|
289
|
-
reload(): void;
|
|
266
|
+
setFilterBy(filter: import("@jbrowse/plugin-alignments/src/LinearPileupDisplay/SharedLinearPileupDisplayMixin").Filter): void;
|
|
290
267
|
} & {
|
|
291
268
|
readonly rendererConfig: {
|
|
292
269
|
[x: string]: any;
|
|
@@ -296,9 +273,8 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
296
273
|
} & {
|
|
297
274
|
readonly maxHeight: any;
|
|
298
275
|
readonly featureHeightSetting: any;
|
|
299
|
-
readonly mismatchAlphaSetting: any;
|
|
300
276
|
readonly featureUnderMouse: Feature | undefined;
|
|
301
|
-
|
|
277
|
+
renderReady(): boolean;
|
|
302
278
|
} & {
|
|
303
279
|
readonly rendererTypeName: string;
|
|
304
280
|
contextMenuItems(): ({
|
|
@@ -314,66 +290,31 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
314
290
|
})[];
|
|
315
291
|
readonly DisplayBlurb: (props: import("@jbrowse/plugin-alignments/src/LinearPileupDisplay/components/LinearPileupDisplayBlurb").LinearPileupDisplayBlurbProps) => import("react").JSX.Element | null;
|
|
316
292
|
renderPropsPre(): any;
|
|
317
|
-
|
|
318
|
-
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 | {
|
|
293
|
+
colorSchemeSubMenuItems(): {
|
|
319
294
|
label: string;
|
|
320
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
321
|
-
muiName: string;
|
|
322
|
-
};
|
|
323
|
-
type: string;
|
|
324
|
-
checked: boolean;
|
|
325
295
|
onClick: () => void;
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
} | {
|
|
329
|
-
label: string;
|
|
330
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
331
|
-
muiName: string;
|
|
332
|
-
};
|
|
333
|
-
disabled: boolean;
|
|
334
|
-
subMenu: {
|
|
335
|
-
label: string;
|
|
336
|
-
onClick: () => void;
|
|
337
|
-
}[];
|
|
338
|
-
type?: undefined;
|
|
339
|
-
checked?: undefined;
|
|
340
|
-
onClick?: undefined;
|
|
341
|
-
} | {
|
|
342
|
-
label: string;
|
|
343
|
-
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
344
|
-
muiName: string;
|
|
345
|
-
};
|
|
346
|
-
subMenu: {
|
|
347
|
-
label: string;
|
|
348
|
-
onClick: () => void;
|
|
349
|
-
}[];
|
|
350
|
-
type?: undefined;
|
|
351
|
-
checked?: undefined;
|
|
352
|
-
onClick?: undefined;
|
|
353
|
-
disabled?: undefined;
|
|
354
|
-
} | {
|
|
296
|
+
}[];
|
|
297
|
+
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 | {
|
|
355
298
|
label: string;
|
|
356
299
|
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
357
300
|
muiName: string;
|
|
358
301
|
};
|
|
359
302
|
onClick: () => void;
|
|
360
|
-
type?: undefined;
|
|
361
|
-
checked?: undefined;
|
|
362
|
-
disabled?: undefined;
|
|
363
|
-
subMenu?: undefined;
|
|
364
|
-
} | {
|
|
365
|
-
label: string;
|
|
366
|
-
type: string;
|
|
367
|
-
checked: any;
|
|
368
|
-
onClick: () => void;
|
|
369
|
-
icon?: undefined;
|
|
370
|
-
disabled?: undefined;
|
|
371
|
-
subMenu?: undefined;
|
|
372
303
|
})[];
|
|
304
|
+
} & {
|
|
305
|
+
renderProps(): any;
|
|
373
306
|
} & {
|
|
374
307
|
afterAttach(): void;
|
|
375
308
|
} & {
|
|
376
309
|
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
310
|
+
} & {
|
|
311
|
+
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 | {
|
|
312
|
+
label: string;
|
|
313
|
+
subMenu: {
|
|
314
|
+
label: string;
|
|
315
|
+
onClick: () => void;
|
|
316
|
+
}[];
|
|
317
|
+
})[];
|
|
377
318
|
} & {
|
|
378
319
|
afterCreate(): void;
|
|
379
320
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
@@ -114,7 +114,7 @@ async function navToSynteny(feature, self) {
|
|
|
114
114
|
*/
|
|
115
115
|
function stateModelFactory(schema) {
|
|
116
116
|
return mobx_state_tree_1.types
|
|
117
|
-
.compose('LGVSyntenyDisplay', (0, plugin_alignments_1.
|
|
117
|
+
.compose('LGVSyntenyDisplay', (0, plugin_alignments_1.SharedLinearPileupDisplayMixin)(schema), mobx_state_tree_1.types.model({
|
|
118
118
|
/**
|
|
119
119
|
* #property
|
|
120
120
|
*/
|
|
@@ -142,13 +142,31 @@ function stateModelFactory(schema) {
|
|
|
142
142
|
];
|
|
143
143
|
},
|
|
144
144
|
};
|
|
145
|
+
})
|
|
146
|
+
.views(self => {
|
|
147
|
+
const { trackMenuItems: superTrackMenuItems, colorSchemeSubMenuItems: superColorSchemeSubMenuItems, } = self;
|
|
148
|
+
return {
|
|
149
|
+
trackMenuItems() {
|
|
150
|
+
return [
|
|
151
|
+
...superTrackMenuItems(),
|
|
152
|
+
{
|
|
153
|
+
label: 'Color scheme',
|
|
154
|
+
subMenu: [...superColorSchemeSubMenuItems()],
|
|
155
|
+
},
|
|
156
|
+
];
|
|
157
|
+
},
|
|
158
|
+
};
|
|
145
159
|
})
|
|
146
160
|
.actions(self => ({
|
|
147
161
|
afterCreate() {
|
|
148
|
-
// use color by
|
|
149
|
-
self.
|
|
162
|
+
// use color by stand to help indicate inversions better on first load, otherwise use selected orientation
|
|
163
|
+
if (self.colorBy) {
|
|
164
|
+
self.setColorScheme({ ...self.colorBy });
|
|
165
|
+
}
|
|
166
|
+
else {
|
|
167
|
+
self.setColorScheme({ type: 'strand' });
|
|
168
|
+
}
|
|
150
169
|
},
|
|
151
170
|
}));
|
|
152
171
|
}
|
|
153
172
|
exports.default = stateModelFactory;
|
|
154
|
-
//# sourceMappingURL=model.js.map
|
|
@@ -35,6 +35,7 @@ const ui_1 = require("@jbrowse/core/ui");
|
|
|
35
35
|
// icons
|
|
36
36
|
const MoreVert_1 = __importDefault(require("@mui/icons-material/MoreVert"));
|
|
37
37
|
const Icons_1 = require("@jbrowse/core/ui/Icons");
|
|
38
|
+
const CascadingMenuButton_1 = __importDefault(require("@jbrowse/core/ui/CascadingMenuButton"));
|
|
38
39
|
const useStyles = (0, mui_1.makeStyles)()(() => ({
|
|
39
40
|
headerBar: {
|
|
40
41
|
gridArea: '1/1/auto/span 2',
|
|
@@ -59,7 +60,16 @@ const useStyles = (0, mui_1.makeStyles)()(() => ({
|
|
|
59
60
|
},
|
|
60
61
|
}));
|
|
61
62
|
const TrackSelector = (0, mobx_react_1.observer)(({ model }) => {
|
|
62
|
-
return (react_1.default.createElement(
|
|
63
|
+
return (react_1.default.createElement(CascadingMenuButton_1.default, { menuItems: [
|
|
64
|
+
{
|
|
65
|
+
label: 'Synteny track selector',
|
|
66
|
+
onClick: () => model.activateTrackSelector(),
|
|
67
|
+
},
|
|
68
|
+
...model.views.map((view, idx) => ({
|
|
69
|
+
label: `View ${idx + 1} track selector`,
|
|
70
|
+
onClick: () => view.activateTrackSelector(),
|
|
71
|
+
})),
|
|
72
|
+
] },
|
|
63
73
|
react_1.default.createElement(Icons_1.TrackSelector, null)));
|
|
64
74
|
});
|
|
65
75
|
const Header = (0, mobx_react_1.observer)(function ({ model }) {
|
|
@@ -86,4 +96,3 @@ const Header = (0, mobx_react_1.observer)(function ({ model }) {
|
|
|
86
96
|
}, menuItems: model.headerMenuItems(), onClose: () => setMenuAnchorEl(undefined) })) : null));
|
|
87
97
|
});
|
|
88
98
|
exports.default = Header;
|
|
89
|
-
//# sourceMappingURL=Header.js.map
|
|
@@ -96,4 +96,3 @@ exports.default = (0, mobx_react_1.observer)(function (props) {
|
|
|
96
96
|
const middle = model.tracks.some(({ displays }) => displays.some((d) => (0, configuration_1.getConf)(d, 'middle')));
|
|
97
97
|
return middle ? (react_1.default.createElement(MiddleComparativeView, { ...props })) : (react_1.default.createElement(OverlayComparativeView, { ...props }));
|
|
98
98
|
});
|
|
99
|
-
//# sourceMappingURL=LinearComparativeView.js.map
|
|
@@ -22,6 +22,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
22
22
|
__setModuleDefault(result, mod);
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
+
};
|
|
25
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
29
|
const react_1 = __importStar(require("react"));
|
|
27
30
|
const mobx_react_1 = require("mobx-react");
|
|
@@ -29,6 +32,7 @@ const material_1 = require("@mui/material");
|
|
|
29
32
|
const mui_1 = require("tss-react/mui");
|
|
30
33
|
const util_1 = require("@jbrowse/core/util");
|
|
31
34
|
const ui_1 = require("@jbrowse/core/ui");
|
|
35
|
+
const VerticalGuide_1 = __importDefault(require("./VerticalGuide"));
|
|
32
36
|
const useStyles = (0, mui_1.makeStyles)()(theme => {
|
|
33
37
|
const { tertiary, primary } = theme.palette;
|
|
34
38
|
const background = tertiary
|
|
@@ -59,28 +63,8 @@ const useStyles = (0, mui_1.makeStyles)()(theme => {
|
|
|
59
63
|
paddingLeft: theme.spacing(1),
|
|
60
64
|
paddingRight: theme.spacing(1),
|
|
61
65
|
},
|
|
62
|
-
guide: {
|
|
63
|
-
pointerEvents: 'none',
|
|
64
|
-
height: '100%',
|
|
65
|
-
width: 1,
|
|
66
|
-
position: 'absolute',
|
|
67
|
-
zIndex: 10,
|
|
68
|
-
},
|
|
69
|
-
sm: {
|
|
70
|
-
fontSize: 10,
|
|
71
|
-
},
|
|
72
66
|
};
|
|
73
67
|
});
|
|
74
|
-
const VerticalGuide = (0, mobx_react_1.observer)(({ model, coordX }) => {
|
|
75
|
-
const { classes } = useStyles();
|
|
76
|
-
return (react_1.default.createElement(material_1.Tooltip, { open: true, placement: "top", title: model.views
|
|
77
|
-
.map(view => view.pxToBp(coordX))
|
|
78
|
-
.map(elt => (react_1.default.createElement(material_1.Typography, { className: classes.sm, key: JSON.stringify(elt) }, (0, util_1.stringify)(elt)))), arrow: true },
|
|
79
|
-
react_1.default.createElement("div", { className: classes.guide, style: {
|
|
80
|
-
left: coordX,
|
|
81
|
-
background: 'red',
|
|
82
|
-
} })));
|
|
83
|
-
});
|
|
84
68
|
function Rubberband({ model, ControlComponent = react_1.default.createElement("div", null), }) {
|
|
85
69
|
const [startX, setStartX] = (0, react_1.useState)();
|
|
86
70
|
const [currentX, setCurrentX] = (0, react_1.useState)();
|
|
@@ -182,10 +166,9 @@ function Rubberband({ model, ControlComponent = react_1.default.createElement("d
|
|
|
182
166
|
}
|
|
183
167
|
if (startX === undefined) {
|
|
184
168
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
185
|
-
guideX !== undefined ? (react_1.default.createElement(
|
|
186
|
-
react_1.default.createElement("div", {
|
|
169
|
+
guideX !== undefined ? (react_1.default.createElement(VerticalGuide_1.default, { model: model, coordX: guideX })) : null,
|
|
170
|
+
react_1.default.createElement("div", { ref: controlsRef, className: classes.rubberbandControl, onMouseDown: mouseDown, onMouseOut: mouseOut, onMouseMove: mouseMove }, ControlComponent)));
|
|
187
171
|
}
|
|
188
|
-
/* Calculating Pixels for Mouse Dragging */
|
|
189
172
|
const right = anchorPosition ? anchorPosition.offsetX : currentX || 0;
|
|
190
173
|
const left = right < startX ? right : startX;
|
|
191
174
|
const width = Math.abs(right - startX);
|
|
@@ -195,31 +178,26 @@ function Rubberband({ model, ControlComponent = react_1.default.createElement("d
|
|
|
195
178
|
const numOfBpSelected = views.map(view => Math.ceil(width * view.bpPerPx));
|
|
196
179
|
return (react_1.default.createElement(react_1.default.Fragment, null,
|
|
197
180
|
rubberbandRef.current ? (react_1.default.createElement(react_1.default.Fragment, null,
|
|
198
|
-
react_1.default.createElement(material_1.Popover, { className: classes.popover, classes: {
|
|
199
|
-
paper: classes.paper,
|
|
200
|
-
}, open: true, anchorEl: rubberbandRef.current, anchorOrigin: {
|
|
181
|
+
react_1.default.createElement(material_1.Popover, { className: classes.popover, classes: { paper: classes.paper }, open: true, anchorEl: rubberbandRef.current, anchorOrigin: {
|
|
201
182
|
vertical: 'top',
|
|
202
183
|
horizontal: 'left',
|
|
203
184
|
}, transformOrigin: {
|
|
204
185
|
vertical: 'bottom',
|
|
205
186
|
horizontal: 'right',
|
|
206
|
-
}, keepMounted: true, disableRestoreFocus: true }, leftBpOffset.map(l => (react_1.default.createElement(material_1.Typography, { key: JSON.stringify(l) }, (0, util_1.stringify)(l))))),
|
|
207
|
-
react_1.default.createElement(material_1.Popover, { className: classes.popover, classes: {
|
|
208
|
-
paper: classes.paper,
|
|
209
|
-
}, open: true, anchorEl: rubberbandRef.current, anchorOrigin: {
|
|
187
|
+
}, keepMounted: true, disableRestoreFocus: true }, leftBpOffset.map((l, idx) => (react_1.default.createElement(material_1.Typography, { key: [JSON.stringify(l), idx, 'left'].join('-') }, (0, util_1.stringify)(l, true))))),
|
|
188
|
+
react_1.default.createElement(material_1.Popover, { className: classes.popover, classes: { paper: classes.paper }, open: true, anchorEl: rubberbandRef.current, anchorOrigin: {
|
|
210
189
|
vertical: 'top',
|
|
211
190
|
horizontal: 'right',
|
|
212
191
|
}, transformOrigin: {
|
|
213
192
|
vertical: 'bottom',
|
|
214
193
|
horizontal: 'left',
|
|
215
|
-
}, keepMounted: true, disableRestoreFocus: true }, rightBpOffset.map(l => (react_1.default.createElement(material_1.Typography, { key: JSON.stringify(l) }, (0, util_1.stringify)(l))))))) : null,
|
|
194
|
+
}, keepMounted: true, disableRestoreFocus: true }, rightBpOffset.map((l, idx) => (react_1.default.createElement(material_1.Typography, { key: [JSON.stringify(l), idx, 'right'].join('-') }, (0, util_1.stringify)(l, true))))))) : null,
|
|
216
195
|
react_1.default.createElement("div", { ref: rubberbandRef, className: classes.rubberband, style: { left, width } },
|
|
217
196
|
react_1.default.createElement(material_1.Typography, { variant: "h6", className: classes.rubberbandText }, numOfBpSelected.map((n, i) => (react_1.default.createElement(material_1.Typography, { key: `${n}_${i}` }, `${n.toLocaleString('en-US')}bp`))))),
|
|
218
|
-
react_1.default.createElement("div", {
|
|
197
|
+
react_1.default.createElement("div", { className: classes.rubberbandControl, ref: controlsRef, onMouseDown: mouseDown, onMouseOut: mouseOut, onMouseMove: mouseMove }, ControlComponent),
|
|
219
198
|
anchorPosition ? (react_1.default.createElement(ui_1.Menu, { anchorReference: "anchorPosition", anchorPosition: {
|
|
220
199
|
left: anchorPosition.clientX,
|
|
221
200
|
top: anchorPosition.clientY,
|
|
222
201
|
}, onMenuItemClick: handleMenuItemClick, open: open, onClose: handleClose, menuItems: model.rubberBandMenuItems() })) : null));
|
|
223
202
|
}
|
|
224
203
|
exports.default = (0, mobx_react_1.observer)(Rubberband);
|
|
225
|
-
//# sourceMappingURL=Rubberband.js.map
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LinearComparativeViewModel } from '../model';
|
|
3
|
+
type LCV = LinearComparativeViewModel;
|
|
4
|
+
declare const VerticalGuide: ({ model, coordX, }: {
|
|
5
|
+
model: LCV;
|
|
6
|
+
coordX: number;
|
|
7
|
+
}) => React.JSX.Element;
|
|
8
|
+
export default VerticalGuide;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const react_1 = __importDefault(require("react"));
|
|
7
|
+
const material_1 = require("@mui/material");
|
|
8
|
+
const mobx_react_1 = require("mobx-react");
|
|
9
|
+
const util_1 = require("@jbrowse/core/util");
|
|
10
|
+
const mui_1 = require("tss-react/mui");
|
|
11
|
+
const useStyles = (0, mui_1.makeStyles)()({
|
|
12
|
+
guide: {
|
|
13
|
+
pointerEvents: 'none',
|
|
14
|
+
height: '100%',
|
|
15
|
+
width: 1,
|
|
16
|
+
position: 'absolute',
|
|
17
|
+
zIndex: 10,
|
|
18
|
+
},
|
|
19
|
+
sm: {
|
|
20
|
+
fontSize: 10,
|
|
21
|
+
},
|
|
22
|
+
});
|
|
23
|
+
const VerticalGuide = (0, mobx_react_1.observer)(function ({ model, coordX, }) {
|
|
24
|
+
const { classes } = useStyles();
|
|
25
|
+
return (react_1.default.createElement(material_1.Tooltip, { open: true, placement: "top", title: model.views
|
|
26
|
+
.map(view => view.pxToBp(coordX))
|
|
27
|
+
.map((elt, idx) => (react_1.default.createElement(material_1.Typography, { className: classes.sm, key: [JSON.stringify(elt), idx].join('-') }, (0, util_1.stringify)(elt, true)))), arrow: true },
|
|
28
|
+
react_1.default.createElement("div", { className: classes.guide, style: {
|
|
29
|
+
left: coordX,
|
|
30
|
+
background: 'red',
|
|
31
|
+
} })));
|
|
32
|
+
});
|
|
33
|
+
exports.default = VerticalGuide;
|
|
@@ -32,19 +32,18 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
32
32
|
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
33
33
|
start: import("mobx-state-tree").ISimpleType<number>;
|
|
34
34
|
end: import("mobx-state-tree").ISimpleType<number>;
|
|
35
|
-
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
36
|
-
* #getter
|
|
37
|
-
*/
|
|
35
|
+
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
38
36
|
} & {
|
|
37
|
+
/**
|
|
38
|
+
* #property
|
|
39
|
+
*/
|
|
39
40
|
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
40
41
|
}, {
|
|
41
42
|
setRefName(newRefName: string): void;
|
|
42
43
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
43
44
|
tracks: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyType>;
|
|
44
45
|
hideHeader: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
45
|
-
hideHeaderOverview: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
46
|
-
* #getter
|
|
47
|
-
*/
|
|
46
|
+
hideHeaderOverview: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
48
47
|
hideNoTracksActive: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
49
48
|
trackSelectorType: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
50
49
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -72,9 +71,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
72
71
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
73
72
|
coarseTotalBp: number;
|
|
74
73
|
leftOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
75
|
-
rightOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
76
|
-
* #action
|
|
77
|
-
*/
|
|
74
|
+
rightOffset: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined;
|
|
78
75
|
} & {
|
|
79
76
|
readonly width: number;
|
|
80
77
|
readonly interRegionPaddingWidth: number;
|
|
@@ -89,9 +86,6 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
89
86
|
readonly scaleBarHeight: number;
|
|
90
87
|
readonly headerHeight: number;
|
|
91
88
|
readonly trackHeights: number;
|
|
92
|
-
/**
|
|
93
|
-
* #action
|
|
94
|
-
*/
|
|
95
89
|
readonly trackHeightsWithResizeHandles: number;
|
|
96
90
|
readonly height: number;
|
|
97
91
|
readonly totalBp: number;
|
|
@@ -120,12 +114,12 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
120
114
|
toggleNoTracksActive(): void;
|
|
121
115
|
toggleShowGridlines(): void;
|
|
122
116
|
scrollTo(offsetPx: number): number;
|
|
123
|
-
zoomTo(bpPerPx: number, offset?: number
|
|
117
|
+
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
124
118
|
setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, right?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): void;
|
|
125
119
|
setSearchResults(searchResults: import("@jbrowse/core/TextSearch/BaseResults").default[], searchQuery: string, assemblyName?: string | undefined): void;
|
|
126
120
|
setNewView(bpPerPx: number, offsetPx: number): void;
|
|
127
121
|
horizontallyFlip(): void;
|
|
128
|
-
showTrack(trackId: string, initialSnapshot?: {}
|
|
122
|
+
showTrack(trackId: string, initialSnapshot?: {}, displayInitialSnapshot?: {}): any;
|
|
129
123
|
hideTrack(trackId: string): number;
|
|
130
124
|
} & {
|
|
131
125
|
moveTrack(movingId: string, targetId: string): void;
|
|
@@ -156,7 +150,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
156
150
|
setDraggingTrackId(idx?: string | undefined): void;
|
|
157
151
|
setScaleFactor(factor: number): void;
|
|
158
152
|
clearView(): void;
|
|
159
|
-
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").ExportSvgOptions
|
|
153
|
+
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").ExportSvgOptions): Promise<void>;
|
|
160
154
|
} & {
|
|
161
155
|
slide: (viewWidths: number) => void;
|
|
162
156
|
} & {
|
|
@@ -281,4 +281,3 @@ function ReadVsRefDialog({ track, feature: preFeature, handleClose, }) {
|
|
|
281
281
|
react_1.default.createElement(material_1.Button, { disabled: !primaryFeature, variant: "contained", color: "primary", onClick: onSubmit }, "Submit"))));
|
|
282
282
|
}
|
|
283
283
|
exports.default = ReadVsRefDialog;
|
|
284
|
-
//# sourceMappingURL=LinearReadVsRef.js.map
|
|
@@ -84,4 +84,3 @@ const ServerSideRenderedBlockContent = (0, mobx_react_1.observer)(function ({ mo
|
|
|
84
84
|
return react_1.default.createElement(LinearSyntenyRendering_1.default, { model: model });
|
|
85
85
|
});
|
|
86
86
|
exports.default = ServerSideRenderedBlockContent;
|
|
87
|
-
//# sourceMappingURL=Component.js.map
|
|
@@ -157,4 +157,3 @@ exports.default = (0, mobx_react_1.observer)(function LinearSyntenyRendering({ m
|
|
|
157
157
|
}, width: width, height: height }),
|
|
158
158
|
model.mouseoverId && tooltip && currX && currY ? (react_1.default.createElement(SyntenyTooltip_1.default, { x: currX, y: currY, title: tooltip })) : null));
|
|
159
159
|
});
|
|
160
|
-
//# sourceMappingURL=LinearSyntenyRendering.js.map
|
|
@@ -177,4 +177,3 @@ const OpenTrack = (0, mobx_react_1.observer)(({ sessionTrackData, assembly1, ass
|
|
|
177
177
|
react_1.default.createElement(ui_1.FileSelector, { name: "genome 2 .bed (right column of anchors file)", description: "", location: bed2Location, setLocation: loc => setBed2Location(loc) }))))) : (react_1.default.createElement(ui_1.FileSelector, { name: value ? value + ' location' : '', description: "", location: fileLocation, setLocation: loc => setFileLocation(loc) }))))));
|
|
178
178
|
});
|
|
179
179
|
exports.default = OpenTrack;
|
|
180
|
-
//# sourceMappingURL=ImportCustomTrack.js.map
|
|
@@ -124,4 +124,3 @@ exports.default = (0, mobx_react_1.observer)(function ({ model, }) {
|
|
|
124
124
|
react_1.default.createElement(material_1.Button, { onClick: onOpenClick, variant: "contained", color: "primary" }, "Launch"))))),
|
|
125
125
|
react_1.default.createElement(TrackSelector, { setShowTrackId: setShowTrackId, assembly2: assembly2, assembly1: assembly1, setSessionTrackData: setSessionTrackData, sessionTrackData: sessionTrackData, model: model })))));
|
|
126
126
|
});
|
|
127
|
-
//# sourceMappingURL=ImportForm.js.map
|
|
@@ -60,4 +60,3 @@ const Selector = (0, mobx_react_1.observer)(({ model, assembly1, assembly2, setS
|
|
|
60
60
|
filteredTracks.length ? (react_1.default.createElement(material_1.Select, { value: value, onChange: event => setValue(event.target.value) }, filteredTracks.map(track => (react_1.default.createElement(material_1.MenuItem, { key: track.trackId, value: track.trackId }, (0, tracks_1.getTrackName)(track, session)))))) : (react_1.default.createElement(ui_1.ErrorMessage, { error: `No synteny tracks found for ${assembly1},${assembly2}` }))));
|
|
61
61
|
});
|
|
62
62
|
exports.default = Selector;
|
|
63
|
-
//# sourceMappingURL=ImportSyntenyTrackSelector.js.map
|
|
@@ -35,4 +35,3 @@ const LinearSyntenyView = (0, mobx_react_1.observer)(({ model }) => {
|
|
|
35
35
|
return !model.initialized ? (react_1.default.createElement(ImportForm, { model: model })) : (react_1.default.createElement(LinearComparativeView_1.default, { model: model }));
|
|
36
36
|
});
|
|
37
37
|
exports.default = LinearSyntenyView;
|
|
38
|
-
//# sourceMappingURL=LinearSyntenyView.js.map
|