@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.
Files changed (209) hide show
  1. package/dist/LGVSyntenyDisplay/configSchemaF.d.ts +1 -3
  2. package/dist/LGVSyntenyDisplay/configSchemaF.js +0 -1
  3. package/dist/LGVSyntenyDisplay/index.js +0 -1
  4. package/dist/LGVSyntenyDisplay/model.d.ts +17 -76
  5. package/dist/LGVSyntenyDisplay/model.js +22 -4
  6. package/dist/LaunchLinearSyntenyView.js +0 -1
  7. package/dist/LinearComparativeDisplay/configSchemaF.js +0 -1
  8. package/dist/LinearComparativeDisplay/index.js +0 -1
  9. package/dist/LinearComparativeDisplay/stateModelFactory.js +0 -1
  10. package/dist/LinearComparativeView/components/Header.js +11 -2
  11. package/dist/LinearComparativeView/components/LinearComparativeView.js +0 -1
  12. package/dist/LinearComparativeView/components/Rubberband.js +11 -33
  13. package/dist/LinearComparativeView/components/VerticalGuide.d.ts +8 -0
  14. package/dist/LinearComparativeView/components/VerticalGuide.js +33 -0
  15. package/dist/LinearComparativeView/index.js +0 -1
  16. package/dist/LinearComparativeView/model.d.ts +9 -15
  17. package/dist/LinearComparativeView/model.js +0 -1
  18. package/dist/LinearReadVsRef/LinearReadVsRef.js +0 -1
  19. package/dist/LinearReadVsRef/index.js +0 -1
  20. package/dist/LinearSyntenyDisplay/afterAttach.js +0 -1
  21. package/dist/LinearSyntenyDisplay/components/Component.js +0 -1
  22. package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +0 -1
  23. package/dist/LinearSyntenyDisplay/components/SyntenyTooltip.js +0 -1
  24. package/dist/LinearSyntenyDisplay/components/util.js +0 -1
  25. package/dist/LinearSyntenyDisplay/configSchemaF.js +0 -1
  26. package/dist/LinearSyntenyDisplay/drawSynteny.js +0 -1
  27. package/dist/LinearSyntenyDisplay/index.js +0 -1
  28. package/dist/LinearSyntenyDisplay/model.js +0 -1
  29. package/dist/LinearSyntenyView/components/ExportSvgDialog.js +0 -1
  30. package/dist/LinearSyntenyView/components/Icons.js +0 -1
  31. package/dist/LinearSyntenyView/components/ImportCustomTrack.js +0 -1
  32. package/dist/LinearSyntenyView/components/ImportForm.js +0 -1
  33. package/dist/LinearSyntenyView/components/ImportSyntenyTrackSelector.js +0 -1
  34. package/dist/LinearSyntenyView/components/LinearSyntenyView.js +0 -1
  35. package/dist/LinearSyntenyView/index.js +0 -1
  36. package/dist/LinearSyntenyView/model.d.ts +9 -9
  37. package/dist/LinearSyntenyView/model.js +0 -1
  38. package/dist/LinearSyntenyView/svgcomponents/SVGBackground.js +2 -2
  39. package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +0 -1
  40. package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.js +0 -1
  41. package/dist/SyntenyFeatureDetail/index.js +0 -1
  42. package/dist/SyntenyTrack/configSchema.js +0 -1
  43. package/dist/SyntenyTrack/index.js +0 -1
  44. package/dist/index.js +0 -1
  45. package/dist/util.js +0 -1
  46. package/esm/LGVSyntenyDisplay/configSchemaF.d.ts +1 -3
  47. package/esm/LGVSyntenyDisplay/configSchemaF.js +0 -1
  48. package/esm/LGVSyntenyDisplay/index.js +0 -1
  49. package/esm/LGVSyntenyDisplay/model.d.ts +17 -76
  50. package/esm/LGVSyntenyDisplay/model.js +23 -5
  51. package/esm/LaunchLinearSyntenyView.js +0 -1
  52. package/esm/LinearComparativeDisplay/configSchemaF.js +0 -1
  53. package/esm/LinearComparativeDisplay/index.js +0 -1
  54. package/esm/LinearComparativeDisplay/stateModelFactory.js +0 -1
  55. package/esm/LinearComparativeView/components/Header.js +11 -2
  56. package/esm/LinearComparativeView/components/LinearComparativeView.js +0 -1
  57. package/esm/LinearComparativeView/components/Rubberband.js +8 -33
  58. package/esm/LinearComparativeView/components/VerticalGuide.d.ts +8 -0
  59. package/esm/LinearComparativeView/components/VerticalGuide.js +28 -0
  60. package/esm/LinearComparativeView/index.js +0 -1
  61. package/esm/LinearComparativeView/model.d.ts +9 -15
  62. package/esm/LinearComparativeView/model.js +0 -1
  63. package/esm/LinearReadVsRef/LinearReadVsRef.js +0 -1
  64. package/esm/LinearReadVsRef/index.js +0 -1
  65. package/esm/LinearSyntenyDisplay/afterAttach.js +0 -1
  66. package/esm/LinearSyntenyDisplay/components/Component.js +0 -1
  67. package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +0 -1
  68. package/esm/LinearSyntenyDisplay/components/SyntenyTooltip.js +0 -1
  69. package/esm/LinearSyntenyDisplay/components/util.js +0 -1
  70. package/esm/LinearSyntenyDisplay/configSchemaF.js +0 -1
  71. package/esm/LinearSyntenyDisplay/drawSynteny.js +0 -1
  72. package/esm/LinearSyntenyDisplay/index.js +0 -1
  73. package/esm/LinearSyntenyDisplay/model.js +0 -1
  74. package/esm/LinearSyntenyView/components/ExportSvgDialog.js +0 -1
  75. package/esm/LinearSyntenyView/components/Icons.js +0 -1
  76. package/esm/LinearSyntenyView/components/ImportCustomTrack.js +0 -1
  77. package/esm/LinearSyntenyView/components/ImportForm.js +0 -1
  78. package/esm/LinearSyntenyView/components/ImportSyntenyTrackSelector.js +0 -1
  79. package/esm/LinearSyntenyView/components/LinearSyntenyView.js +0 -1
  80. package/esm/LinearSyntenyView/index.js +0 -1
  81. package/esm/LinearSyntenyView/model.d.ts +9 -9
  82. package/esm/LinearSyntenyView/model.js +0 -1
  83. package/esm/LinearSyntenyView/svgcomponents/SVGBackground.js +2 -2
  84. package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +0 -1
  85. package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.js +0 -1
  86. package/esm/SyntenyFeatureDetail/index.js +0 -1
  87. package/esm/SyntenyTrack/configSchema.js +0 -1
  88. package/esm/SyntenyTrack/index.js +0 -1
  89. package/esm/index.js +0 -1
  90. package/esm/util.js +0 -1
  91. package/package.json +4 -4
  92. package/dist/LGVSyntenyDisplay/configSchemaF.js.map +0 -1
  93. package/dist/LGVSyntenyDisplay/index.js.map +0 -1
  94. package/dist/LGVSyntenyDisplay/model.js.map +0 -1
  95. package/dist/LaunchLinearSyntenyView.js.map +0 -1
  96. package/dist/LinearComparativeDisplay/configSchemaF.js.map +0 -1
  97. package/dist/LinearComparativeDisplay/index.js.map +0 -1
  98. package/dist/LinearComparativeDisplay/stateModelFactory.js.map +0 -1
  99. package/dist/LinearComparativeView/components/Header.js.map +0 -1
  100. package/dist/LinearComparativeView/components/LinearComparativeView.js.map +0 -1
  101. package/dist/LinearComparativeView/components/Rubberband.js.map +0 -1
  102. package/dist/LinearComparativeView/index.js.map +0 -1
  103. package/dist/LinearComparativeView/model.js.map +0 -1
  104. package/dist/LinearReadVsRef/LinearReadVsRef.js.map +0 -1
  105. package/dist/LinearReadVsRef/index.js.map +0 -1
  106. package/dist/LinearSyntenyDisplay/afterAttach.js.map +0 -1
  107. package/dist/LinearSyntenyDisplay/components/Component.js.map +0 -1
  108. package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.js.map +0 -1
  109. package/dist/LinearSyntenyDisplay/components/SyntenyTooltip.js.map +0 -1
  110. package/dist/LinearSyntenyDisplay/components/util.js.map +0 -1
  111. package/dist/LinearSyntenyDisplay/configSchemaF.js.map +0 -1
  112. package/dist/LinearSyntenyDisplay/drawSynteny.js.map +0 -1
  113. package/dist/LinearSyntenyDisplay/index.js.map +0 -1
  114. package/dist/LinearSyntenyDisplay/model.js.map +0 -1
  115. package/dist/LinearSyntenyView/components/ExportSvgDialog.js.map +0 -1
  116. package/dist/LinearSyntenyView/components/Icons.js.map +0 -1
  117. package/dist/LinearSyntenyView/components/ImportCustomTrack.js.map +0 -1
  118. package/dist/LinearSyntenyView/components/ImportForm.js.map +0 -1
  119. package/dist/LinearSyntenyView/components/ImportSyntenyTrackSelector.js.map +0 -1
  120. package/dist/LinearSyntenyView/components/LinearSyntenyView.js.map +0 -1
  121. package/dist/LinearSyntenyView/index.js.map +0 -1
  122. package/dist/LinearSyntenyView/model.js.map +0 -1
  123. package/dist/LinearSyntenyView/svgcomponents/SVGBackground.js.map +0 -1
  124. package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js.map +0 -1
  125. package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.js.map +0 -1
  126. package/dist/SyntenyFeatureDetail/index.js.map +0 -1
  127. package/dist/SyntenyTrack/configSchema.js.map +0 -1
  128. package/dist/SyntenyTrack/index.js.map +0 -1
  129. package/dist/index.js.map +0 -1
  130. package/dist/util.js.map +0 -1
  131. package/esm/LGVSyntenyDisplay/configSchemaF.js.map +0 -1
  132. package/esm/LGVSyntenyDisplay/index.js.map +0 -1
  133. package/esm/LGVSyntenyDisplay/model.js.map +0 -1
  134. package/esm/LaunchLinearSyntenyView.js.map +0 -1
  135. package/esm/LinearComparativeDisplay/configSchemaF.js.map +0 -1
  136. package/esm/LinearComparativeDisplay/index.js.map +0 -1
  137. package/esm/LinearComparativeDisplay/stateModelFactory.js.map +0 -1
  138. package/esm/LinearComparativeView/components/Header.js.map +0 -1
  139. package/esm/LinearComparativeView/components/LinearComparativeView.js.map +0 -1
  140. package/esm/LinearComparativeView/components/Rubberband.js.map +0 -1
  141. package/esm/LinearComparativeView/index.js.map +0 -1
  142. package/esm/LinearComparativeView/model.js.map +0 -1
  143. package/esm/LinearReadVsRef/LinearReadVsRef.js.map +0 -1
  144. package/esm/LinearReadVsRef/index.js.map +0 -1
  145. package/esm/LinearSyntenyDisplay/afterAttach.js.map +0 -1
  146. package/esm/LinearSyntenyDisplay/components/Component.js.map +0 -1
  147. package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.js.map +0 -1
  148. package/esm/LinearSyntenyDisplay/components/SyntenyTooltip.js.map +0 -1
  149. package/esm/LinearSyntenyDisplay/components/util.js.map +0 -1
  150. package/esm/LinearSyntenyDisplay/configSchemaF.js.map +0 -1
  151. package/esm/LinearSyntenyDisplay/drawSynteny.js.map +0 -1
  152. package/esm/LinearSyntenyDisplay/index.js.map +0 -1
  153. package/esm/LinearSyntenyDisplay/model.js.map +0 -1
  154. package/esm/LinearSyntenyView/components/ExportSvgDialog.js.map +0 -1
  155. package/esm/LinearSyntenyView/components/Icons.js.map +0 -1
  156. package/esm/LinearSyntenyView/components/ImportCustomTrack.js.map +0 -1
  157. package/esm/LinearSyntenyView/components/ImportForm.js.map +0 -1
  158. package/esm/LinearSyntenyView/components/ImportSyntenyTrackSelector.js.map +0 -1
  159. package/esm/LinearSyntenyView/components/LinearSyntenyView.js.map +0 -1
  160. package/esm/LinearSyntenyView/index.js.map +0 -1
  161. package/esm/LinearSyntenyView/model.js.map +0 -1
  162. package/esm/LinearSyntenyView/svgcomponents/SVGBackground.js.map +0 -1
  163. package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js.map +0 -1
  164. package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.js.map +0 -1
  165. package/esm/SyntenyFeatureDetail/index.js.map +0 -1
  166. package/esm/SyntenyTrack/configSchema.js.map +0 -1
  167. package/esm/SyntenyTrack/index.js.map +0 -1
  168. package/esm/index.js.map +0 -1
  169. package/esm/util.js.map +0 -1
  170. package/src/LGVSyntenyDisplay/configSchemaF.ts +0 -22
  171. package/src/LGVSyntenyDisplay/index.ts +0 -20
  172. package/src/LGVSyntenyDisplay/model.ts +0 -177
  173. package/src/LaunchLinearSyntenyView.ts +0 -86
  174. package/src/LinearComparativeDisplay/configSchemaF.ts +0 -22
  175. package/src/LinearComparativeDisplay/index.ts +0 -21
  176. package/src/LinearComparativeDisplay/stateModelFactory.ts +0 -212
  177. package/src/LinearComparativeView/components/Header.tsx +0 -103
  178. package/src/LinearComparativeView/components/LinearComparativeView.tsx +0 -152
  179. package/src/LinearComparativeView/components/Rubberband.tsx +0 -329
  180. package/src/LinearComparativeView/index.ts +0 -15
  181. package/src/LinearComparativeView/model.ts +0 -395
  182. package/src/LinearReadVsRef/LinearReadVsRef.tsx +0 -360
  183. package/src/LinearReadVsRef/index.ts +0 -58
  184. package/src/LinearSyntenyDisplay/afterAttach.ts +0 -149
  185. package/src/LinearSyntenyDisplay/components/Component.tsx +0 -75
  186. package/src/LinearSyntenyDisplay/components/LinearSyntenyRendering.tsx +0 -200
  187. package/src/LinearSyntenyDisplay/components/SyntenyTooltip.tsx +0 -82
  188. package/src/LinearSyntenyDisplay/components/util.ts +0 -142
  189. package/src/LinearSyntenyDisplay/configSchemaF.ts +0 -38
  190. package/src/LinearSyntenyDisplay/drawSynteny.ts +0 -266
  191. package/src/LinearSyntenyDisplay/index.ts +0 -21
  192. package/src/LinearSyntenyDisplay/model.ts +0 -187
  193. package/src/LinearSyntenyView/components/ExportSvgDialog.tsx +0 -148
  194. package/src/LinearSyntenyView/components/Icons.tsx +0 -24
  195. package/src/LinearSyntenyView/components/ImportCustomTrack.tsx +0 -262
  196. package/src/LinearSyntenyView/components/ImportForm.tsx +0 -221
  197. package/src/LinearSyntenyView/components/ImportSyntenyTrackSelector.tsx +0 -82
  198. package/src/LinearSyntenyView/components/LinearSyntenyView.tsx +0 -20
  199. package/src/LinearSyntenyView/index.ts +0 -15
  200. package/src/LinearSyntenyView/model.test.ts +0 -1605
  201. package/src/LinearSyntenyView/model.ts +0 -169
  202. package/src/LinearSyntenyView/svgcomponents/SVGBackground.tsx +0 -21
  203. package/src/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.tsx +0 -176
  204. package/src/SyntenyFeatureDetail/SyntenyFeatureDetail.tsx +0 -64
  205. package/src/SyntenyFeatureDetail/index.ts +0 -36
  206. package/src/SyntenyTrack/configSchema.ts +0 -23
  207. package/src/SyntenyTrack/index.tsx +0 -15
  208. package/src/index.tsx +0 -42
  209. 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;
@@ -15,4 +15,3 @@ function configSchemaF(pluginManager) {
15
15
  });
16
16
  }
17
17
  exports.default = configSchemaF;
18
- //# sourceMappingURL=configSchemaF.js.map
@@ -21,4 +21,3 @@ exports.default = (pluginManager) => {
21
21
  });
22
22
  });
23
23
  };
24
- //# sourceMappingURL=index.js.map
@@ -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: "staticBlocks" | "dynamicBlocks";
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
- setSortedBy(type: string, tag?: string | undefined): void;
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
- readonly renderReady: boolean;
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
- renderProps(): any;
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
- disabled?: undefined;
327
- subMenu?: undefined;
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.linearPileupDisplayStateModelFactory)(schema), mobx_state_tree_1.types.model({
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 strand to help indicate inversions better
149
- self.setColorScheme({ type: 'strand' });
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
@@ -55,4 +55,3 @@ function tryTrack(model, trackId, idsNotFound) {
55
55
  }
56
56
  }
57
57
  }
58
- //# sourceMappingURL=LaunchLinearSyntenyView.js.map
@@ -15,4 +15,3 @@ function configSchemaFactory(pluginManager) {
15
15
  });
16
16
  }
17
17
  exports.default = configSchemaFactory;
18
- //# sourceMappingURL=configSchemaF.js.map
@@ -21,4 +21,3 @@ exports.default = (pluginManager) => {
21
21
  });
22
22
  });
23
23
  };
24
- //# sourceMappingURL=index.js.map
@@ -169,4 +169,3 @@ async function renderBlockEffect(props) {
169
169
  };
170
170
  }
171
171
  exports.default = stateModelFactory;
172
- //# sourceMappingURL=stateModelFactory.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(material_1.IconButton, { onClick: model.activateTrackSelector, title: "Open track selector" },
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(VerticalGuide, { model: model, coordX: guideX })) : null,
186
- react_1.default.createElement("div", { "data-testid": "rubberband_controls", className: classes.rubberbandControl, role: "presentation", ref: controlsRef, onMouseDown: mouseDown, onMouseOut: mouseOut, onMouseMove: mouseMove }, ControlComponent)));
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", { "data-testid": "rubberband_controls", className: classes.rubberbandControl, role: "presentation", ref: controlsRef, onMouseDown: mouseDown, onMouseOut: mouseOut, onMouseMove: mouseMove }, ControlComponent),
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;
@@ -39,4 +39,3 @@ exports.default = (pluginManager) => {
39
39
  });
40
40
  });
41
41
  };
42
- //# sourceMappingURL=index.js.map
@@ -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 | undefined, centerAtOffset?: boolean | undefined): 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?: {} | undefined, displayInitialSnapshot?: {} | undefined): any;
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 | undefined): Promise<void>;
153
+ exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").ExportSvgOptions): Promise<void>;
160
154
  } & {
161
155
  slide: (viewWidths: number) => void;
162
156
  } & {
@@ -343,4 +343,3 @@ function stateModelFactory(pluginManager) {
343
343
  }));
344
344
  }
345
345
  exports.default = stateModelFactory;
346
- //# sourceMappingURL=model.js.map
@@ -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
@@ -52,4 +52,3 @@ function default_1(pm) {
52
52
  });
53
53
  }
54
54
  exports.default = default_1;
55
- //# sourceMappingURL=index.js.map
@@ -105,4 +105,3 @@ function doAfterAttach(self) {
105
105
  }, { fireImmediately: true }));
106
106
  }
107
107
  exports.doAfterAttach = doAfterAttach;
108
- //# sourceMappingURL=afterAttach.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
@@ -80,4 +80,3 @@ const SyntenyTooltip = (0, mobx_react_1.observer)(function ({ x, y, title, }) {
80
80
  react_1.default.createElement(ui_1.SanitizedHTML, { html: title })))) : null;
81
81
  });
82
82
  exports.default = SyntenyTooltip;
83
- //# sourceMappingURL=SyntenyTooltip.js.map
@@ -81,4 +81,3 @@ function drawBezierBox(ctx, x1, x2, y1, x3, x4, y2, mid) {
81
81
  ctx.fill();
82
82
  }
83
83
  exports.drawBezierBox = drawBezierBox;
84
- //# sourceMappingURL=util.js.map
@@ -33,4 +33,3 @@ function configSchemaFactory(pluginManager) {
33
33
  });
34
34
  }
35
35
  exports.default = configSchemaFactory;
36
- //# sourceMappingURL=configSchemaF.js.map
@@ -232,4 +232,3 @@ function drawMouseoverSynteny(model) {
232
232
  }
233
233
  }
234
234
  exports.drawMouseoverSynteny = drawMouseoverSynteny;
235
- //# sourceMappingURL=drawSynteny.js.map
@@ -44,4 +44,3 @@ exports.default = (pluginManager) => {
44
44
  });
45
45
  });
46
46
  };
47
- //# sourceMappingURL=index.js.map
@@ -176,4 +176,3 @@ function stateModelFactory(configSchema) {
176
176
  }));
177
177
  }
178
178
  exports.default = stateModelFactory;
179
- //# sourceMappingURL=model.js.map
@@ -83,4 +83,3 @@ function ExportSvgDlg({ model, handleClose, }) {
83
83
  } }, "Submit"))));
84
84
  }
85
85
  exports.default = ExportSvgDlg;
86
- //# sourceMappingURL=ExportSvgDialog.js.map
@@ -16,4 +16,3 @@ function StraightLines(props) {
16
16
  react_1.default.createElement("path", { fill: "currentColor", d: "M22 12L17 22L7.1 6.04L4.24 12H2L7 2L16.9 17.96L19.76 12H22Z" })));
17
17
  }
18
18
  exports.StraightLines = StraightLines;
19
- //# sourceMappingURL=Icons.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
@@ -39,4 +39,3 @@ exports.default = (pluginManager) => {
39
39
  });
40
40
  });
41
41
  };
42
- //# sourceMappingURL=index.js.map