@jbrowse/plugin-linear-comparative-view 2.17.0 → 2.18.0

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 (184) hide show
  1. package/dist/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.d.ts +1 -1
  2. package/dist/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.js +0 -2
  3. package/dist/LGVSyntenyDisplay/components/util.d.ts +3 -3
  4. package/dist/LGVSyntenyDisplay/components/util.js +0 -1
  5. package/dist/LGVSyntenyDisplay/configSchemaF.d.ts +19 -10
  6. package/dist/LGVSyntenyDisplay/configSchemaF.js +12 -9
  7. package/dist/LGVSyntenyDisplay/index.d.ts +1 -1
  8. package/dist/LGVSyntenyDisplay/index.js +1 -1
  9. package/dist/LGVSyntenyDisplay/model.d.ts +102 -63
  10. package/dist/LGVSyntenyDisplay/model.js +1 -29
  11. package/dist/LaunchLinearSyntenyView.d.ts +1 -1
  12. package/dist/LaunchLinearSyntenyView.js +1 -3
  13. package/dist/LinearComparativeDisplay/configSchemaF.d.ts +0 -3
  14. package/dist/LinearComparativeDisplay/configSchemaF.js +0 -6
  15. package/dist/LinearComparativeDisplay/index.d.ts +1 -1
  16. package/dist/LinearComparativeDisplay/stateModelFactory.d.ts +12 -69
  17. package/dist/LinearComparativeDisplay/stateModelFactory.js +13 -57
  18. package/dist/LinearComparativeView/components/Header.d.ts +1 -1
  19. package/dist/LinearComparativeView/components/Header.js +4 -5
  20. package/dist/LinearComparativeView/components/HeaderSearchBoxes.d.ts +1 -1
  21. package/dist/LinearComparativeView/components/HeaderSearchBoxes.js +3 -4
  22. package/dist/LinearComparativeView/components/LinearComparativeRenderArea.d.ts +1 -1
  23. package/dist/LinearComparativeView/components/LinearComparativeRenderArea.js +8 -15
  24. package/dist/LinearComparativeView/components/LinearComparativeView.d.ts +1 -1
  25. package/dist/LinearComparativeView/components/LinearComparativeView.js +2 -4
  26. package/dist/LinearComparativeView/components/Rubberband.d.ts +1 -1
  27. package/dist/LinearComparativeView/components/Rubberband.js +17 -19
  28. package/dist/LinearComparativeView/components/VerticalGuide.d.ts +1 -1
  29. package/dist/LinearComparativeView/components/VerticalGuide.js +1 -1
  30. package/dist/LinearComparativeView/index.d.ts +1 -1
  31. package/dist/LinearComparativeView/model.d.ts +6 -62
  32. package/dist/LinearComparativeView/model.js +3 -99
  33. package/dist/LinearReadVsRef/LinearReadVsRef.d.ts +1 -1
  34. package/dist/LinearReadVsRef/LinearReadVsRef.js +5 -19
  35. package/dist/LinearReadVsRef/index.d.ts +1 -1
  36. package/dist/LinearReadVsRef/index.js +0 -2
  37. package/dist/LinearSyntenyDisplay/afterAttach.d.ts +1 -1
  38. package/dist/LinearSyntenyDisplay/afterAttach.js +2 -9
  39. package/dist/LinearSyntenyDisplay/components/Component.d.ts +1 -1
  40. package/dist/LinearSyntenyDisplay/components/Component.js +2 -4
  41. package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.d.ts +1 -1
  42. package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +6 -22
  43. package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.d.ts +2 -2
  44. package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.js +1 -1
  45. package/dist/LinearSyntenyDisplay/components/SyntenyTooltip.js +1 -1
  46. package/dist/LinearSyntenyDisplay/components/util.d.ts +3 -3
  47. package/dist/LinearSyntenyDisplay/components/util.js +0 -9
  48. package/dist/LinearSyntenyDisplay/configSchemaF.d.ts +1 -12
  49. package/dist/LinearSyntenyDisplay/configSchemaF.js +0 -15
  50. package/dist/LinearSyntenyDisplay/drawSynteny.d.ts +1 -1
  51. package/dist/LinearSyntenyDisplay/drawSynteny.js +1 -23
  52. package/dist/LinearSyntenyDisplay/index.d.ts +1 -1
  53. package/dist/LinearSyntenyDisplay/index.js +1 -2
  54. package/dist/LinearSyntenyDisplay/model.d.ts +8 -102
  55. package/dist/LinearSyntenyDisplay/model.js +1 -92
  56. package/dist/LinearSyntenyView/components/ExportSvgDialog.d.ts +1 -1
  57. package/dist/LinearSyntenyView/components/ExportSvgDialog.js +2 -4
  58. package/dist/LinearSyntenyView/components/Icons.d.ts +1 -1
  59. package/dist/LinearSyntenyView/components/ImportForm/AddCustomTrack.d.ts +2 -2
  60. package/dist/LinearSyntenyView/components/ImportForm/AddCustomTrack.js +1 -1
  61. package/dist/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.d.ts +1 -1
  62. package/dist/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.js +6 -8
  63. package/dist/LinearSyntenyView/components/ImportForm/TrackSelector.d.ts +1 -1
  64. package/dist/LinearSyntenyView/components/ImportForm/TrackSelector.js +3 -5
  65. package/dist/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.d.ts +3 -3
  66. package/dist/LinearSyntenyView/components/ImportForm/util.js +1 -3
  67. package/dist/LinearSyntenyView/components/LinearSyntenyView.d.ts +1 -1
  68. package/dist/LinearSyntenyView/components/LinearSyntenyView.js +0 -1
  69. package/dist/LinearSyntenyView/index.d.ts +1 -1
  70. package/dist/LinearSyntenyView/model.d.ts +5 -28
  71. package/dist/LinearSyntenyView/model.js +4 -41
  72. package/dist/LinearSyntenyView/svgcomponents/SVGBackground.js +1 -1
  73. package/dist/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.d.ts +1 -1
  74. package/dist/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.js +1 -1
  75. package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.d.ts +1 -1
  76. package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +5 -10
  77. package/dist/LinearSyntenyViewHelper/index.d.ts +1 -1
  78. package/dist/LinearSyntenyViewHelper/stateModelFactory.d.ts +2 -14
  79. package/dist/LinearSyntenyViewHelper/stateModelFactory.js +2 -29
  80. package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +1 -1
  81. package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.js +4 -13
  82. package/dist/SyntenyFeatureDetail/index.d.ts +1 -1
  83. package/dist/SyntenyFeatureDetail/index.js +1 -7
  84. package/dist/SyntenyTrack/configSchema.d.ts +1 -1
  85. package/dist/SyntenyTrack/configSchema.js +1 -9
  86. package/dist/SyntenyTrack/index.d.ts +1 -1
  87. package/dist/SyntenyTrack/index.js +1 -1
  88. package/dist/index.d.ts +1 -1
  89. package/dist/index.js +4 -4
  90. package/dist/util.d.ts +2 -2
  91. package/dist/util.js +1 -11
  92. package/esm/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.d.ts +1 -1
  93. package/esm/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.js +0 -2
  94. package/esm/LGVSyntenyDisplay/components/util.d.ts +3 -3
  95. package/esm/LGVSyntenyDisplay/components/util.js +0 -1
  96. package/esm/LGVSyntenyDisplay/configSchemaF.d.ts +19 -10
  97. package/esm/LGVSyntenyDisplay/configSchemaF.js +12 -9
  98. package/esm/LGVSyntenyDisplay/index.d.ts +1 -1
  99. package/esm/LGVSyntenyDisplay/index.js +1 -1
  100. package/esm/LGVSyntenyDisplay/model.d.ts +102 -63
  101. package/esm/LGVSyntenyDisplay/model.js +2 -30
  102. package/esm/LaunchLinearSyntenyView.d.ts +1 -1
  103. package/esm/LaunchLinearSyntenyView.js +1 -3
  104. package/esm/LinearComparativeDisplay/configSchemaF.d.ts +0 -3
  105. package/esm/LinearComparativeDisplay/configSchemaF.js +0 -6
  106. package/esm/LinearComparativeDisplay/index.d.ts +1 -1
  107. package/esm/LinearComparativeDisplay/stateModelFactory.d.ts +12 -69
  108. package/esm/LinearComparativeDisplay/stateModelFactory.js +14 -58
  109. package/esm/LinearComparativeView/components/Header.d.ts +1 -1
  110. package/esm/LinearComparativeView/components/Header.js +4 -5
  111. package/esm/LinearComparativeView/components/HeaderSearchBoxes.d.ts +1 -1
  112. package/esm/LinearComparativeView/components/HeaderSearchBoxes.js +3 -4
  113. package/esm/LinearComparativeView/components/LinearComparativeRenderArea.d.ts +1 -1
  114. package/esm/LinearComparativeView/components/LinearComparativeRenderArea.js +8 -15
  115. package/esm/LinearComparativeView/components/LinearComparativeView.d.ts +1 -1
  116. package/esm/LinearComparativeView/components/LinearComparativeView.js +2 -4
  117. package/esm/LinearComparativeView/components/Rubberband.d.ts +1 -1
  118. package/esm/LinearComparativeView/components/Rubberband.js +18 -20
  119. package/esm/LinearComparativeView/components/VerticalGuide.d.ts +1 -1
  120. package/esm/LinearComparativeView/components/VerticalGuide.js +1 -1
  121. package/esm/LinearComparativeView/index.d.ts +1 -1
  122. package/esm/LinearComparativeView/model.d.ts +6 -62
  123. package/esm/LinearComparativeView/model.js +4 -100
  124. package/esm/LinearReadVsRef/LinearReadVsRef.d.ts +1 -1
  125. package/esm/LinearReadVsRef/LinearReadVsRef.js +5 -19
  126. package/esm/LinearReadVsRef/index.d.ts +1 -1
  127. package/esm/LinearReadVsRef/index.js +1 -3
  128. package/esm/LinearSyntenyDisplay/afterAttach.d.ts +1 -1
  129. package/esm/LinearSyntenyDisplay/afterAttach.js +2 -9
  130. package/esm/LinearSyntenyDisplay/components/Component.d.ts +1 -1
  131. package/esm/LinearSyntenyDisplay/components/Component.js +2 -4
  132. package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.d.ts +1 -1
  133. package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +8 -24
  134. package/esm/LinearSyntenyDisplay/components/SyntenyContextMenu.d.ts +2 -2
  135. package/esm/LinearSyntenyDisplay/components/SyntenyContextMenu.js +1 -1
  136. package/esm/LinearSyntenyDisplay/components/SyntenyTooltip.js +1 -1
  137. package/esm/LinearSyntenyDisplay/components/util.d.ts +3 -3
  138. package/esm/LinearSyntenyDisplay/components/util.js +2 -11
  139. package/esm/LinearSyntenyDisplay/configSchemaF.d.ts +1 -12
  140. package/esm/LinearSyntenyDisplay/configSchemaF.js +0 -15
  141. package/esm/LinearSyntenyDisplay/drawSynteny.d.ts +1 -1
  142. package/esm/LinearSyntenyDisplay/drawSynteny.js +1 -23
  143. package/esm/LinearSyntenyDisplay/index.d.ts +1 -1
  144. package/esm/LinearSyntenyDisplay/index.js +1 -2
  145. package/esm/LinearSyntenyDisplay/model.d.ts +8 -102
  146. package/esm/LinearSyntenyDisplay/model.js +1 -92
  147. package/esm/LinearSyntenyView/components/ExportSvgDialog.d.ts +1 -1
  148. package/esm/LinearSyntenyView/components/ExportSvgDialog.js +2 -4
  149. package/esm/LinearSyntenyView/components/Icons.d.ts +1 -1
  150. package/esm/LinearSyntenyView/components/ImportForm/AddCustomTrack.d.ts +2 -2
  151. package/esm/LinearSyntenyView/components/ImportForm/AddCustomTrack.js +2 -2
  152. package/esm/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.d.ts +1 -1
  153. package/esm/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.js +6 -8
  154. package/esm/LinearSyntenyView/components/ImportForm/TrackSelector.d.ts +1 -1
  155. package/esm/LinearSyntenyView/components/ImportForm/TrackSelector.js +4 -6
  156. package/esm/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.d.ts +3 -3
  157. package/esm/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.js +1 -1
  158. package/esm/LinearSyntenyView/components/ImportForm/util.js +1 -3
  159. package/esm/LinearSyntenyView/components/LinearSyntenyView.d.ts +1 -1
  160. package/esm/LinearSyntenyView/components/LinearSyntenyView.js +0 -1
  161. package/esm/LinearSyntenyView/index.d.ts +1 -1
  162. package/esm/LinearSyntenyView/model.d.ts +5 -28
  163. package/esm/LinearSyntenyView/model.js +4 -41
  164. package/esm/LinearSyntenyView/svgcomponents/SVGBackground.js +1 -1
  165. package/esm/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.d.ts +1 -1
  166. package/esm/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.js +2 -2
  167. package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.d.ts +1 -1
  168. package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +6 -11
  169. package/esm/LinearSyntenyViewHelper/index.d.ts +1 -1
  170. package/esm/LinearSyntenyViewHelper/stateModelFactory.d.ts +2 -14
  171. package/esm/LinearSyntenyViewHelper/stateModelFactory.js +2 -29
  172. package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +1 -1
  173. package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.js +4 -13
  174. package/esm/SyntenyFeatureDetail/index.d.ts +1 -1
  175. package/esm/SyntenyFeatureDetail/index.js +1 -7
  176. package/esm/SyntenyTrack/configSchema.d.ts +1 -1
  177. package/esm/SyntenyTrack/configSchema.js +1 -9
  178. package/esm/SyntenyTrack/index.d.ts +1 -1
  179. package/esm/SyntenyTrack/index.js +1 -1
  180. package/esm/index.d.ts +1 -1
  181. package/esm/index.js +4 -4
  182. package/esm/util.d.ts +2 -2
  183. package/esm/util.js +1 -11
  184. package/package.json +2 -4
@@ -1,7 +1,7 @@
1
- import React from 'react';
2
- import { Instance } from 'mobx-state-tree';
3
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type React from 'react';
4
2
  import { Curves } from './components/Icons';
3
+ import type PluginManager from '@jbrowse/core/PluginManager';
4
+ import type { Instance } from 'mobx-state-tree';
5
5
  export interface ExportSvgOptions {
6
6
  rasterizeLayers?: boolean;
7
7
  scale?: number;
@@ -18,11 +18,6 @@ export interface ExportSvgOptions {
18
18
  themeName?: string;
19
19
  trackLabels?: string;
20
20
  }
21
- /**
22
- * #stateModel LinearSyntenyView
23
- * extends
24
- * - [LinearComparativeView](../linearcomparativeview)
25
- */
26
21
  export default function stateModelFactory(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
27
22
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
28
23
  displayName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
@@ -98,6 +93,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
98
93
  scaleBarDisplayPrefix(): string | undefined;
99
94
  MiniControlsComponent(): React.FC<any>;
100
95
  HeaderComponent(): React.FC<any>;
96
+ readonly assembliesNotFound: string | undefined;
101
97
  readonly assemblyErrors: string;
102
98
  readonly assembliesInitialized: boolean;
103
99
  readonly initialized: boolean;
@@ -310,29 +306,12 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
310
306
  } & {
311
307
  afterAttach(): void;
312
308
  } & {
313
- /**
314
- * #action
315
- */
316
309
  toggleCurves(): void;
317
- /**
318
- * #action
319
- */
320
310
  toggleCIGAR(): void;
321
- /**
322
- * #action
323
- */
324
311
  showAllRegions(): void;
325
312
  } & {
326
- /**
327
- * #action
328
- */
329
313
  exportSvg(opts: ExportSvgOptions): Promise<void>;
330
314
  } & {
331
- /**
332
- * #method
333
- * includes a subset of view menu options because the full list is a
334
- * little overwhelming
335
- */
336
315
  headerMenuItems(): (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 | {
337
316
  label: string;
338
317
  onClick: () => void;
@@ -366,9 +345,6 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
366
345
  checked?: undefined;
367
346
  type?: undefined;
368
347
  })[];
369
- /**
370
- * #method
371
- */
372
348
  menuItems(): (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 | {
373
349
  label: string;
374
350
  icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
@@ -453,6 +429,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
453
429
  scaleBarDisplayPrefix(): string | undefined;
454
430
  MiniControlsComponent(): React.FC<any>;
455
431
  HeaderComponent(): React.FC<any>;
432
+ readonly assembliesNotFound: string | undefined;
456
433
  readonly assemblyErrors: string;
457
434
  readonly assembliesInitialized: boolean;
458
435
  readonly initialized: boolean;
@@ -28,56 +28,30 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.default = stateModelFactory;
30
30
  const react_1 = require("react");
31
- const mobx_state_tree_1 = require("mobx-state-tree");
32
- const mobx_1 = require("mobx");
33
31
  const util_1 = require("@jbrowse/core/util");
34
- const file_saver_1 = require("file-saver");
35
- // icons
36
32
  const CropFree_1 = __importDefault(require("@mui/icons-material/CropFree"));
37
- const Visibility_1 = __importDefault(require("@mui/icons-material/Visibility"));
38
33
  const PhotoCamera_1 = __importDefault(require("@mui/icons-material/PhotoCamera"));
34
+ const Visibility_1 = __importDefault(require("@mui/icons-material/Visibility"));
35
+ const file_saver_1 = require("file-saver");
36
+ const mobx_1 = require("mobx");
37
+ const mobx_state_tree_1 = require("mobx-state-tree");
39
38
  const Icons_1 = require("./components/Icons");
40
- // locals
41
39
  const model_1 = __importDefault(require("../LinearComparativeView/model"));
42
- // lazies
43
40
  const ExportSvgDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./components/ExportSvgDialog'))));
44
- /**
45
- * #stateModel LinearSyntenyView
46
- * extends
47
- * - [LinearComparativeView](../linearcomparativeview)
48
- */
49
41
  function stateModelFactory(pluginManager) {
50
42
  return mobx_state_tree_1.types
51
43
  .compose('LinearSyntenyView', (0, model_1.default)(pluginManager), mobx_state_tree_1.types.model({
52
- /**
53
- * #property
54
- */
55
44
  type: mobx_state_tree_1.types.literal('LinearSyntenyView'),
56
- /**
57
- * #property/
58
- */
59
45
  drawCIGAR: true,
60
- /**
61
- * #property
62
- */
63
46
  drawCurves: false,
64
47
  }))
65
48
  .actions(self => ({
66
- /**
67
- * #action
68
- */
69
49
  toggleCurves() {
70
50
  self.drawCurves = !self.drawCurves;
71
51
  },
72
- /**
73
- * #action
74
- */
75
52
  toggleCIGAR() {
76
53
  self.drawCIGAR = !self.drawCIGAR;
77
54
  },
78
- /**
79
- * #action
80
- */
81
55
  showAllRegions() {
82
56
  (0, mobx_1.transaction)(() => {
83
57
  for (const view of self.views) {
@@ -87,9 +61,6 @@ function stateModelFactory(pluginManager) {
87
61
  },
88
62
  }))
89
63
  .actions(self => ({
90
- /**
91
- * #action
92
- */
93
64
  async exportSvg(opts) {
94
65
  const { renderToSvg } = await Promise.resolve().then(() => __importStar(require('./svgcomponents/SVGLinearSyntenyView')));
95
66
  const html = await renderToSvg(self, opts);
@@ -101,11 +72,6 @@ function stateModelFactory(pluginManager) {
101
72
  const superHeaderMenuItems = self.headerMenuItems;
102
73
  const superMenuItems = self.menuItems;
103
74
  return {
104
- /**
105
- * #method
106
- * includes a subset of view menu options because the full list is a
107
- * little overwhelming
108
- */
109
75
  headerMenuItems() {
110
76
  return [
111
77
  ...superHeaderMenuItems(),
@@ -147,9 +113,6 @@ function stateModelFactory(pluginManager) {
147
113
  },
148
114
  ];
149
115
  },
150
- /**
151
- * #method
152
- */
153
116
  menuItems() {
154
117
  return [
155
118
  ...superMenuItems(),
@@ -5,8 +5,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = SVGBackground;
7
7
  const react_1 = __importDefault(require("react"));
8
- const material_1 = require("@mui/material");
9
8
  const util_1 = require("@jbrowse/core/util");
9
+ const material_1 = require("@mui/material");
10
10
  function SVGBackground({ width, height, shift, }) {
11
11
  const theme = (0, material_1.useTheme)();
12
12
  return (react_1.default.createElement("rect", { width: width + shift * 2, height: height, fill: (0, util_1.stripAlpha)(theme.palette.background.default) }));
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
2
+ import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
3
3
  export default function SVGLinearGenomeView({ trackLabelOffset, fontSize, textHeight, trackLabels, view, displayResults, rulerHeight, shift, }: {
4
4
  textHeight: number;
5
5
  trackLabels: string;
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = SVGLinearGenomeView;
7
7
  const react_1 = __importDefault(require("react"));
8
- const material_1 = require("@mui/material");
9
8
  const util_1 = require("@jbrowse/core/util");
10
9
  const plugin_linear_genome_view_1 = require("@jbrowse/plugin-linear-genome-view");
10
+ const material_1 = require("@mui/material");
11
11
  function SVGLinearGenomeView({ trackLabelOffset, fontSize, textHeight, trackLabels, view, displayResults, rulerHeight, shift, }) {
12
12
  const theme = (0, material_1.useTheme)();
13
13
  return (react_1.default.createElement("g", { transform: `translate(${shift} ${fontSize})` },
@@ -1,2 +1,2 @@
1
- import { ExportSvgOptions, LinearSyntenyViewModel } from '../model';
1
+ import type { ExportSvgOptions, LinearSyntenyViewModel } from '../model';
2
2
  export declare function renderToSvg(model: LinearSyntenyViewModel, opts: ExportSvgOptions): Promise<string>;
@@ -5,18 +5,16 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.renderToSvg = renderToSvg;
7
7
  const react_1 = __importDefault(require("react"));
8
- const material_1 = require("@mui/material");
9
- const mobx_state_tree_1 = require("mobx-state-tree");
10
- const mobx_1 = require("mobx");
8
+ const ui_1 = require("@jbrowse/core/ui");
11
9
  const util_1 = require("@jbrowse/core/util");
12
10
  const tracks_1 = require("@jbrowse/core/util/tracks");
13
- const ui_1 = require("@jbrowse/core/ui");
14
11
  const plugin_linear_genome_view_1 = require("@jbrowse/plugin-linear-genome-view");
15
- // locals
12
+ const material_1 = require("@mui/material");
13
+ const mobx_1 = require("mobx");
14
+ const mobx_state_tree_1 = require("mobx-state-tree");
16
15
  const SVGBackground_1 = __importDefault(require("./SVGBackground"));
17
16
  const SVGLinearGenomeView_1 = __importDefault(require("./SVGLinearGenomeView"));
18
17
  const drawSynteny_1 = require("../../LinearSyntenyDisplay/drawSynteny");
19
- // render LGV to SVG
20
18
  async function renderToSvg(model, opts) {
21
19
  var _a;
22
20
  await (0, mobx_1.when)(() => model.initialized);
@@ -81,14 +79,11 @@ async function renderToSvg(model, opts) {
81
79
  levelHeight ? (react_1.default.createElement("defs", null,
82
80
  react_1.default.createElement("clipPath", { id: `synclip-${i}` },
83
81
  react_1.default.createElement("rect", { x: 0, y: 0, width: width, height: levelHeight })))) : null,
84
- react_1.default.createElement("g", { transform: `translate(${shift + trackLabelOffset} ${fontSize})`, clipPath: `url(#synclip-${i})` }, rendering === null || rendering === void 0 ? void 0 : rendering.map((r, i) => (
85
- /* biome-ignore lint/suspicious/noArrayIndexKey: */
86
- react_1.default.createElement(util_1.ReactRendering, { key: i, rendering: r })))),
82
+ react_1.default.createElement("g", { transform: `translate(${shift + trackLabelOffset} ${fontSize})`, clipPath: `url(#synclip-${i})` }, rendering === null || rendering === void 0 ? void 0 : rendering.map((r, i) => (react_1.default.createElement(util_1.ReactRendering, { key: i, rendering: r })))),
87
83
  react_1.default.createElement("g", { transform: `translate(0 ${levelHeight})` },
88
84
  react_1.default.createElement(SVGLinearGenomeView_1.default, { rulerHeight: rulerHeight, shift: shift, trackLabelOffset: trackLabelOffset, textHeight: textHeight, trackLabels: trackLabels, displayResults: displayResults[i], key: view.id, view: view, fontSize: fontSize }))));
89
85
  currOffset += height + fontSize + rulerHeight + levelHeight;
90
86
  }
91
- // the xlink namespace is used for rendering <image> tag
92
87
  return (0, util_1.renderToStaticMarkup)(react_1.default.createElement(material_1.ThemeProvider, { theme: theme },
93
88
  react_1.default.createElement(Wrapper, null,
94
89
  react_1.default.createElement("svg", { width: width, height: totalHeightSvg, xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: [0, 0, w + shift * 2, totalHeightSvg].toString() },
@@ -1,2 +1,2 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  export default function LinearSyntenyViewF(pluginManager: PluginManager): void;
@@ -1,5 +1,5 @@
1
- import { Instance } from 'mobx-state-tree';
2
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
+ import type { Instance } from 'mobx-state-tree';
3
3
  export declare function linearSyntenyViewHelperModelFactory(pluginManager: PluginManager): import("mobx-state-tree").IModelType<{
4
4
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
5
5
  type: import("mobx-state-tree").IType<string | undefined, string, string>;
@@ -7,21 +7,9 @@ export declare function linearSyntenyViewHelperModelFactory(pluginManager: Plugi
7
7
  height: import("mobx-state-tree").IType<number | undefined, number, number>;
8
8
  level: import("mobx-state-tree").ISimpleType<number>;
9
9
  }, {
10
- /**
11
- * #action
12
- */
13
10
  setHeight(n: number): number;
14
- /**
15
- * #action
16
- */
17
11
  showTrack(trackId: string, initialSnapshot?: {}): void;
18
- /**
19
- * #action
20
- */
21
12
  hideTrack(trackId: string): number;
22
- /**
23
- * #action
24
- */
25
13
  toggleTrack(trackId: string): boolean;
26
14
  } & {
27
15
  readonly assemblyNames: (string | undefined)[];
@@ -1,44 +1,23 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.linearSyntenyViewHelperModelFactory = linearSyntenyViewHelperModelFactory;
4
- const mobx_state_tree_1 = require("mobx-state-tree");
5
- const mobx_1 = require("mobx");
6
4
  const mst_1 = require("@jbrowse/core/util/types/mst");
5
+ const mobx_1 = require("mobx");
6
+ const mobx_state_tree_1 = require("mobx-state-tree");
7
7
  function linearSyntenyViewHelperModelFactory(pluginManager) {
8
8
  return mobx_state_tree_1.types
9
9
  .model('LinearSyntenyViewHelper', {
10
- /**
11
- * #property
12
- */
13
10
  id: mst_1.ElementId,
14
- /**
15
- * #property
16
- */
17
11
  type: 'LinearSyntenyViewHelper',
18
- /**
19
- * #property
20
- */
21
12
  tracks: mobx_state_tree_1.types.array(pluginManager.pluggableMstType('track', 'stateModel')),
22
- /**
23
- * #property
24
- */
25
13
  height: 100,
26
- /**
27
- * #property
28
- */
29
14
  level: mobx_state_tree_1.types.number,
30
15
  })
31
16
  .actions(self => ({
32
- /**
33
- * #action
34
- */
35
17
  setHeight(n) {
36
18
  self.height = n;
37
19
  return self.height;
38
20
  },
39
- /**
40
- * #action
41
- */
42
21
  showTrack(trackId, initialSnapshot = {}) {
43
22
  const schema = pluginManager.pluggableConfigSchemaType('track');
44
23
  const configuration = (0, mobx_state_tree_1.resolveIdentifier)(schema, (0, mobx_state_tree_1.getRoot)(self), trackId);
@@ -67,9 +46,6 @@ function linearSyntenyViewHelperModelFactory(pluginManager) {
67
46
  ],
68
47
  }));
69
48
  },
70
- /**
71
- * #action
72
- */
73
49
  hideTrack(trackId) {
74
50
  const schema = pluginManager.pluggableConfigSchemaType('track');
75
51
  const config = (0, mobx_state_tree_1.resolveIdentifier)(schema, (0, mobx_state_tree_1.getRoot)(self), trackId);
@@ -81,9 +57,6 @@ function linearSyntenyViewHelperModelFactory(pluginManager) {
81
57
  });
82
58
  return shownTracks.length;
83
59
  },
84
- /**
85
- * #action
86
- */
87
60
  toggleTrack(trackId) {
88
61
  const hiddenCount = this.hideTrack(trackId);
89
62
  if (!hiddenCount) {
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { SimpleFeatureSerialized } from '@jbrowse/core/util';
2
+ import type { SimpleFeatureSerialized } from '@jbrowse/core/util';
3
3
  interface SyntenyFeatureDetailModel {
4
4
  trackId: string;
5
5
  featureData: SimpleFeatureSerialized;
@@ -27,13 +27,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  const react_1 = __importStar(require("react"));
30
- const material_1 = require("@mui/material");
31
- const mobx_react_1 = require("mobx-react");
32
- // locals
33
- const BaseCard_1 = __importDefault(require("@jbrowse/core/BaseFeatureWidget/BaseFeatureDetail/BaseCard"));
34
30
  const BaseFeatureDetail_1 = __importDefault(require("@jbrowse/core/BaseFeatureWidget/BaseFeatureDetail"));
31
+ const BaseCard_1 = __importDefault(require("@jbrowse/core/BaseFeatureWidget/BaseFeatureDetail/BaseCard"));
35
32
  const util_1 = require("@jbrowse/core/util");
36
- // lazies
33
+ const material_1 = require("@mui/material");
34
+ const mobx_react_1 = require("mobx-react");
37
35
  const LaunchSyntenyViewDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('../LGVSyntenyDisplay/components/LaunchSyntenyViewDialog'))));
38
36
  const CustomLinker = (0, mobx_react_1.observer)(function ({ model, }) {
39
37
  const { featureData, view, level, trackId } = model;
@@ -44,17 +42,10 @@ const CustomLinker = (0, mobx_react_1.observer)(function ({ model, }) {
44
42
  event.preventDefault();
45
43
  const { views } = view;
46
44
  if (level !== undefined) {
47
- // level is "pre-known", and stored in the SyntenyFeatureWidget
48
- // model state e.g. when clicking on a feature from a
49
- // LinearSyntenyRendering
50
45
  (_a = views[level]) === null || _a === void 0 ? void 0 : _a.navTo(featureData);
51
46
  (_b = views[level + 1]) === null || _b === void 0 ? void 0 : _b.navTo(featureData.mate);
52
47
  }
53
48
  else {
54
- // best effort to find the right level. this is triggered for
55
- // example if a user clicks on a feature in a LGVSyntenyDisplay
56
- // in an existing LinearSyntenyView, there is no real proper
57
- // level "pre-known" to this situation
58
49
  const f1 = featureData;
59
50
  const f2 = featureData.mate;
60
51
  const r1 = f1.assemblyName;
@@ -92,7 +83,7 @@ const CustomLinker = (0, mobx_react_1.observer)(function ({ model, }) {
92
83
  } }, "Launch new linear synteny view on this feature"))));
93
84
  });
94
85
  const SyntenyFeatureDetail = (0, mobx_react_1.observer)(function ({ model, }) {
95
- return (react_1.default.createElement(material_1.Paper, { "data-testid": "alignment-side-drawer" },
86
+ return (react_1.default.createElement(material_1.Paper, null,
96
87
  react_1.default.createElement(BaseFeatureDetail_1.default, { title: "Feature", model: model }),
97
88
  react_1.default.createElement(BaseCard_1.default, { title: "Link to view" },
98
89
  react_1.default.createElement(CustomLinker, { model: model }))));
@@ -1,2 +1,2 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  export default function SyntenyFeatureWidgetF(pluginManager: PluginManager): void;
@@ -28,20 +28,14 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.default = SyntenyFeatureWidgetF;
30
30
  const react_1 = require("react");
31
+ const BaseFeatureWidget_1 = require("@jbrowse/core/BaseFeatureWidget");
31
32
  const configuration_1 = require("@jbrowse/core/configuration");
32
33
  const WidgetType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/WidgetType"));
33
34
  const mobx_state_tree_1 = require("mobx-state-tree");
34
- const BaseFeatureWidget_1 = require("@jbrowse/core/BaseFeatureWidget");
35
35
  const configSchema = (0, configuration_1.ConfigurationSchema)('SyntenyFeatureWidget', {});
36
36
  function stateModelF(pluginManager) {
37
37
  return mobx_state_tree_1.types.compose((0, BaseFeatureWidget_1.stateModelFactory)(pluginManager), mobx_state_tree_1.types.model('SyntenyFeatureWidget', {
38
- /**
39
- * #property
40
- */
41
38
  type: mobx_state_tree_1.types.literal('SyntenyFeatureWidget'),
42
- /**
43
- * #property
44
- */
45
39
  level: mobx_state_tree_1.types.maybe(mobx_state_tree_1.types.number),
46
40
  }));
47
41
  }
@@ -1,4 +1,4 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  declare const configSchema: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
3
3
  name: {
4
4
  description: string;
@@ -2,16 +2,8 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const configuration_1 = require("@jbrowse/core/configuration");
4
4
  const models_1 = require("@jbrowse/core/pluggableElementTypes/models");
5
- /**
6
- * #config SyntenyTrack
7
- * extends
8
- * - [BaseTrack](../basetrack)
9
- */
10
- function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
5
+ function x() { }
11
6
  const configSchema = (pluginManager) => (0, configuration_1.ConfigurationSchema)('SyntenyTrack', {}, {
12
- /**
13
- * #baseConfiguration
14
- */
15
7
  baseConfiguration: (0, models_1.createBaseTrackConfig)(pluginManager),
16
8
  });
17
9
  exports.default = configSchema;
@@ -1,2 +1,2 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  export default function registerSyntenyTrack(pluginManager: PluginManager): void;
@@ -4,8 +4,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = registerSyntenyTrack;
7
- const models_1 = require("@jbrowse/core/pluggableElementTypes/models");
8
7
  const TrackType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/TrackType"));
8
+ const models_1 = require("@jbrowse/core/pluggableElementTypes/models");
9
9
  const configSchema_1 = __importDefault(require("./configSchema"));
10
10
  function registerSyntenyTrack(pluginManager) {
11
11
  pluginManager.addTrackType(() => {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import Plugin from '@jbrowse/core/Plugin';
2
- import PluginManager from '@jbrowse/core/PluginManager';
2
+ import type PluginManager from '@jbrowse/core/PluginManager';
3
3
  export default class LinearComparativeViewPlugin extends Plugin {
4
4
  name: string;
5
5
  install(pluginManager: PluginManager): void;
package/dist/index.js CHANGED
@@ -6,16 +6,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const Plugin_1 = __importDefault(require("@jbrowse/core/Plugin"));
7
7
  const util_1 = require("@jbrowse/core/util");
8
8
  const CalendarViewDay_1 = __importDefault(require("@mui/icons-material/CalendarViewDay"));
9
+ const LGVSyntenyDisplay_1 = __importDefault(require("./LGVSyntenyDisplay"));
10
+ const LaunchLinearSyntenyView_1 = __importDefault(require("./LaunchLinearSyntenyView"));
9
11
  const LinearComparativeDisplay_1 = __importDefault(require("./LinearComparativeDisplay"));
10
12
  const LinearComparativeView_1 = __importDefault(require("./LinearComparativeView"));
13
+ const LinearReadVsRef_1 = __importDefault(require("./LinearReadVsRef"));
11
14
  const LinearSyntenyDisplay_1 = __importDefault(require("./LinearSyntenyDisplay"));
12
- const LGVSyntenyDisplay_1 = __importDefault(require("./LGVSyntenyDisplay"));
13
15
  const LinearSyntenyView_1 = __importDefault(require("./LinearSyntenyView"));
14
16
  const LinearSyntenyViewHelper_1 = __importDefault(require("./LinearSyntenyViewHelper"));
15
- const LaunchLinearSyntenyView_1 = __importDefault(require("./LaunchLinearSyntenyView"));
16
- const SyntenyTrack_1 = __importDefault(require("./SyntenyTrack"));
17
- const LinearReadVsRef_1 = __importDefault(require("./LinearReadVsRef"));
18
17
  const SyntenyFeatureDetail_1 = __importDefault(require("./SyntenyFeatureDetail"));
18
+ const SyntenyTrack_1 = __importDefault(require("./SyntenyTrack"));
19
19
  class LinearComparativeViewPlugin extends Plugin_1.default {
20
20
  constructor() {
21
21
  super(...arguments);
package/dist/util.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { Region } from '@jbrowse/core/util/types';
2
- import { Feature } from '@jbrowse/core/util/simpleFeature';
1
+ import type { Feature } from '@jbrowse/core/util/simpleFeature';
2
+ import type { Region } from '@jbrowse/core/util/types';
3
3
  export type LayoutRecord = [number, number, number, number];
4
4
  export interface ReducedLinearGenomeView {
5
5
  bpPerPx: number;
package/dist/util.js CHANGED
@@ -26,18 +26,14 @@ function getTrackPos(view, trackConfigId) {
26
26
  const idx = view.tracks.findIndex(t => t.configuration === trackConfigId);
27
27
  let accum = 0;
28
28
  for (let i = 0; i < idx; i += 1) {
29
- accum += view.tracks[i].height + 3; // +1px for trackresizehandle
29
+ accum += view.tracks[i].height + 3;
30
30
  }
31
31
  return accum;
32
32
  }
33
- // Uses bpToPx to get the screen pixel coordinates but ignores some conditions
34
- // where bpToPx could return undefined
35
33
  function getPxFromCoordinate(view, refName, coord) {
36
34
  var _a;
37
35
  return (((_a = bpToPx(view, { refName, coord })) === null || _a === void 0 ? void 0 : _a.offsetPx) || 0) - view.offsetPx;
38
36
  }
39
- // Retrieves the y-position of a layout record in a track
40
- // If track not found returns 0
41
37
  function overlayYPos(trackConfigId, level, views, c, cond) {
42
38
  const track = views[level].tracks.find(t => t.configuration === trackConfigId);
43
39
  const ypos = track
@@ -47,11 +43,6 @@ function overlayYPos(trackConfigId, level, views, c, cond) {
47
43
  : 0;
48
44
  return ypos + (cond ? cheight(c) : 0);
49
45
  }
50
- // Returns the pixel screen position of a refName:coord input, or undefined if
51
- // the input could not be located. Uses view.displayedRegions as a representation
52
- // of what is on the screen
53
- //
54
- // Note: does not consider that this refName:coord input could multi-match
55
46
  function bpToPx(view, { refName, coord }) {
56
47
  let offsetBp = 0;
57
48
  const index = view.displayedRegions.findIndex(r => {
@@ -71,7 +62,6 @@ function bpToPx(view, { refName, coord }) {
71
62
  }
72
63
  return undefined;
73
64
  }
74
- // Returns either 0 or height depending on condition
75
65
  function interstitialYPos(cond, height) {
76
66
  return cond ? 0 : height;
77
67
  }
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Feature } from '@jbrowse/core/util';
2
+ import type { Feature } from '@jbrowse/core/util';
3
3
  export default function LaunchSyntenyViewDialog({ model, feature, trackId, handleClose, }: {
4
4
  model: unknown;
5
5
  feature: Feature;
@@ -3,7 +3,6 @@ import { Dialog } from '@jbrowse/core/ui';
3
3
  import { getSession } from '@jbrowse/core/util';
4
4
  import { Button, Checkbox, DialogActions, DialogContent, FormControlLabel, TextField, } from '@mui/material';
5
5
  import { makeStyles } from 'tss-react/mui';
6
- // locals
7
6
  import { navToSynteny } from './util';
8
7
  const useStyles = makeStyles()({
9
8
  padding: {
@@ -26,7 +25,6 @@ export default function LaunchSyntenyViewDialog({ model, feature, trackId, handl
26
25
  } })),
27
26
  React.createElement(DialogActions, null,
28
27
  React.createElement(Button, { variant: "contained", onClick: () => {
29
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
30
28
  ;
31
29
  (async () => {
32
30
  try {
@@ -1,6 +1,6 @@
1
- import { Feature } from '@jbrowse/core/util';
2
- import { IAnyStateTreeNode } from 'mobx-state-tree';
3
- import { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
1
+ import type { Feature } from '@jbrowse/core/util';
2
+ import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
3
+ import type { IAnyStateTreeNode } from 'mobx-state-tree';
4
4
  export declare function navToSynteny({ feature, windowSize: ws, model, trackId, view, horizontallyFlip, }: {
5
5
  windowSize: number;
6
6
  trackId: string;
@@ -51,7 +51,6 @@ export async function navToSynteny({ feature, windowSize: ws, model, trackId, vi
51
51
  const p = parseCigar(cigar);
52
52
  const [fStartX, mStartX] = findPosInCigar(p, regStart - featStart);
53
53
  const [fEndX, mEndX] = findPosInCigar(p, regEnd - featStart);
54
- // avoid multiply by 0 with strand undefined
55
54
  const flipper = strand === -1 ? -1 : 1;
56
55
  rFeatStart = featStart + fStartX;
57
56
  rFeatEnd = featStart + fEndX;
@@ -1,10 +1,10 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
2
- /**
3
- * #config LGVSyntenyDisplay
4
- * extends config
5
- * - [LinearPileupDisplay](../linearpileupdisplay)
6
- */
7
- declare function configSchemaF(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
+ declare function configSchemaF(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
3
+ mouseover: {
4
+ type: string;
5
+ defaultValue: string;
6
+ };
7
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
8
8
  defaultRendering: {
9
9
  type: string;
10
10
  model: import("mobx-state-tree").ISimpleType<string>;
@@ -18,11 +18,20 @@ declare function configSchemaF(pluginManager: PluginManager): import("@jbrowse/c
18
18
  description: string;
19
19
  defaultValue: number;
20
20
  };
21
- colorScheme: {
21
+ colorBy: {
22
22
  type: string;
23
- model: import("mobx-state-tree").ISimpleType<string>;
24
23
  description: string;
25
- defaultValue: string;
24
+ defaultValue: {
25
+ type: string;
26
+ };
27
+ };
28
+ filterBy: {
29
+ type: string;
30
+ description: string;
31
+ defaultValue: {
32
+ flagInclude: number;
33
+ flagExclude: number;
34
+ };
26
35
  };
27
36
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
28
37
  renderer: import("mobx-state-tree").IAnyModelType;