@jbrowse/plugin-linear-comparative-view 2.17.0 → 3.0.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 (231) hide show
  1. package/dist/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.d.ts +6 -5
  2. package/dist/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.js +36 -60
  3. package/dist/LGVSyntenyDisplay/components/util.d.ts +9 -6
  4. package/dist/LGVSyntenyDisplay/components/util.js +6 -13
  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 +122 -69
  10. package/dist/LGVSyntenyDisplay/model.js +20 -37
  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 +2 -3
  19. package/dist/LinearComparativeView/components/Header.js +56 -86
  20. package/dist/LinearComparativeView/components/HeaderSearchBoxes.d.ts +2 -3
  21. package/dist/LinearComparativeView/components/HeaderSearchBoxes.js +5 -15
  22. package/dist/LinearComparativeView/components/LinearComparativeRenderArea.d.ts +2 -3
  23. package/dist/LinearComparativeView/components/LinearComparativeRenderArea.js +17 -32
  24. package/dist/LinearComparativeView/components/LinearComparativeView.d.ts +2 -3
  25. package/dist/LinearComparativeView/components/LinearComparativeView.js +4 -9
  26. package/dist/LinearComparativeView/components/Rubberband.d.ts +2 -3
  27. package/dist/LinearComparativeView/components/Rubberband.js +36 -69
  28. package/dist/LinearComparativeView/components/VerticalGuide.d.ts +2 -3
  29. package/dist/LinearComparativeView/components/VerticalGuide.js +5 -9
  30. package/dist/LinearComparativeView/index.d.ts +1 -1
  31. package/dist/LinearComparativeView/index.js +17 -7
  32. package/dist/LinearComparativeView/model.d.ts +38 -90
  33. package/dist/LinearComparativeView/model.js +40 -107
  34. package/dist/LinearReadVsRef/LinearReadVsRef.d.ts +2 -3
  35. package/dist/LinearReadVsRef/LinearReadVsRef.js +10 -55
  36. package/dist/LinearReadVsRef/index.d.ts +1 -1
  37. package/dist/LinearReadVsRef/index.js +17 -9
  38. package/dist/LinearSyntenyDisplay/afterAttach.d.ts +1 -1
  39. package/dist/LinearSyntenyDisplay/afterAttach.js +8 -12
  40. package/dist/LinearSyntenyDisplay/components/Component.d.ts +2 -3
  41. package/dist/LinearSyntenyDisplay/components/Component.js +11 -36
  42. package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.d.ts +2 -3
  43. package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +95 -106
  44. package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.d.ts +3 -4
  45. package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.js +3 -6
  46. package/dist/LinearSyntenyDisplay/components/SyntenyTooltip.d.ts +1 -2
  47. package/dist/LinearSyntenyDisplay/components/SyntenyTooltip.js +3 -4
  48. package/dist/LinearSyntenyDisplay/components/util.d.ts +3 -3
  49. package/dist/LinearSyntenyDisplay/components/util.js +0 -9
  50. package/dist/LinearSyntenyDisplay/configSchemaF.d.ts +1 -12
  51. package/dist/LinearSyntenyDisplay/configSchemaF.js +0 -15
  52. package/dist/LinearSyntenyDisplay/drawSynteny.d.ts +1 -1
  53. package/dist/LinearSyntenyDisplay/drawSynteny.js +1 -23
  54. package/dist/LinearSyntenyDisplay/index.d.ts +1 -1
  55. package/dist/LinearSyntenyDisplay/index.js +18 -9
  56. package/dist/LinearSyntenyDisplay/model.d.ts +8 -102
  57. package/dist/LinearSyntenyDisplay/model.js +18 -99
  58. package/dist/LinearSyntenyView/components/ExportSvgDialog.d.ts +2 -3
  59. package/dist/LinearSyntenyView/components/ExportSvgDialog.js +35 -76
  60. package/dist/LinearSyntenyView/components/Icons.d.ts +3 -4
  61. package/dist/LinearSyntenyView/components/Icons.js +3 -8
  62. package/dist/LinearSyntenyView/components/ImportForm/ImportSyntenyOpenCustomTrack.d.ts +8 -0
  63. package/dist/LinearSyntenyView/components/ImportForm/ImportSyntenyOpenCustomTrack.js +130 -0
  64. package/dist/LinearSyntenyView/components/ImportForm/ImportSyntenyPreConfigured.d.ts +8 -0
  65. package/dist/LinearSyntenyView/components/ImportForm/ImportSyntenyPreConfigured.js +39 -0
  66. package/dist/LinearSyntenyView/components/ImportForm/ImportSyntenyTrackSelectorArea.d.ts +7 -0
  67. package/dist/LinearSyntenyView/components/ImportForm/ImportSyntenyTrackSelectorArea.js +22 -0
  68. package/dist/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.d.ts +2 -3
  69. package/dist/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.js +49 -150
  70. package/dist/LinearSyntenyView/components/ImportForm/doSubmit.d.ts +5 -0
  71. package/dist/LinearSyntenyView/components/ImportForm/doSubmit.js +43 -0
  72. package/dist/LinearSyntenyView/components/ImportForm/getAdapter.d.ts +117 -0
  73. package/dist/LinearSyntenyView/components/ImportForm/getAdapter.js +68 -0
  74. package/dist/LinearSyntenyView/components/ImportForm/util.js +1 -3
  75. package/dist/LinearSyntenyView/components/LinearSyntenyView.d.ts +2 -3
  76. package/dist/LinearSyntenyView/components/LinearSyntenyView.js +20 -10
  77. package/dist/LinearSyntenyView/index.d.ts +1 -1
  78. package/dist/LinearSyntenyView/index.js +17 -7
  79. package/dist/LinearSyntenyView/model.d.ts +54 -58
  80. package/dist/LinearSyntenyView/model.js +61 -56
  81. package/dist/LinearSyntenyView/svgcomponents/SVGBackground.d.ts +1 -2
  82. package/dist/LinearSyntenyView/svgcomponents/SVGBackground.js +3 -6
  83. package/dist/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.d.ts +2 -3
  84. package/dist/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.js +3 -11
  85. package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.d.ts +1 -1
  86. package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +7 -24
  87. package/dist/LinearSyntenyView/types.d.ts +12 -0
  88. package/dist/LinearSyntenyView/types.js +2 -0
  89. package/dist/LinearSyntenyViewHelper/index.d.ts +1 -1
  90. package/dist/LinearSyntenyViewHelper/index.js +2 -2
  91. package/dist/LinearSyntenyViewHelper/stateModelFactory.d.ts +2 -14
  92. package/dist/LinearSyntenyViewHelper/stateModelFactory.js +2 -29
  93. package/dist/SyntenyFeatureDetail/LinkToSyntenyView.d.ts +5 -0
  94. package/dist/SyntenyFeatureDetail/LinkToSyntenyView.js +87 -0
  95. package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +2 -11
  96. package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.js +5 -90
  97. package/dist/SyntenyFeatureDetail/index.d.ts +1 -1
  98. package/dist/SyntenyFeatureDetail/index.js +18 -14
  99. package/dist/SyntenyFeatureDetail/types.d.ts +9 -0
  100. package/dist/SyntenyFeatureDetail/types.js +2 -0
  101. package/dist/SyntenyTrack/configSchema.d.ts +1 -1
  102. package/dist/SyntenyTrack/configSchema.js +1 -9
  103. package/dist/SyntenyTrack/index.d.ts +1 -1
  104. package/dist/SyntenyTrack/index.js +1 -1
  105. package/dist/index.d.ts +1 -1
  106. package/dist/index.js +4 -4
  107. package/dist/util.d.ts +2 -2
  108. package/dist/util.js +1 -11
  109. package/esm/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.d.ts +6 -5
  110. package/esm/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.js +35 -36
  111. package/esm/LGVSyntenyDisplay/components/util.d.ts +9 -6
  112. package/esm/LGVSyntenyDisplay/components/util.js +6 -13
  113. package/esm/LGVSyntenyDisplay/configSchemaF.d.ts +19 -10
  114. package/esm/LGVSyntenyDisplay/configSchemaF.js +12 -9
  115. package/esm/LGVSyntenyDisplay/index.d.ts +1 -1
  116. package/esm/LGVSyntenyDisplay/index.js +1 -1
  117. package/esm/LGVSyntenyDisplay/model.d.ts +122 -69
  118. package/esm/LGVSyntenyDisplay/model.js +4 -31
  119. package/esm/LaunchLinearSyntenyView.d.ts +1 -1
  120. package/esm/LaunchLinearSyntenyView.js +1 -3
  121. package/esm/LinearComparativeDisplay/configSchemaF.d.ts +0 -3
  122. package/esm/LinearComparativeDisplay/configSchemaF.js +0 -6
  123. package/esm/LinearComparativeDisplay/index.d.ts +1 -1
  124. package/esm/LinearComparativeDisplay/stateModelFactory.d.ts +12 -69
  125. package/esm/LinearComparativeDisplay/stateModelFactory.js +14 -58
  126. package/esm/LinearComparativeView/components/Header.d.ts +2 -3
  127. package/esm/LinearComparativeView/components/Header.js +56 -63
  128. package/esm/LinearComparativeView/components/HeaderSearchBoxes.d.ts +2 -3
  129. package/esm/LinearComparativeView/components/HeaderSearchBoxes.js +5 -12
  130. package/esm/LinearComparativeView/components/LinearComparativeRenderArea.d.ts +2 -3
  131. package/esm/LinearComparativeView/components/LinearComparativeRenderArea.js +17 -29
  132. package/esm/LinearComparativeView/components/LinearComparativeView.d.ts +2 -3
  133. package/esm/LinearComparativeView/components/LinearComparativeView.js +4 -9
  134. package/esm/LinearComparativeView/components/Rubberband.d.ts +2 -3
  135. package/esm/LinearComparativeView/components/Rubberband.js +36 -46
  136. package/esm/LinearComparativeView/components/VerticalGuide.d.ts +2 -3
  137. package/esm/LinearComparativeView/components/VerticalGuide.js +5 -6
  138. package/esm/LinearComparativeView/index.d.ts +1 -1
  139. package/esm/LinearComparativeView/model.d.ts +38 -90
  140. package/esm/LinearComparativeView/model.js +24 -101
  141. package/esm/LinearReadVsRef/LinearReadVsRef.d.ts +2 -3
  142. package/esm/LinearReadVsRef/LinearReadVsRef.js +10 -32
  143. package/esm/LinearReadVsRef/index.d.ts +1 -1
  144. package/esm/LinearReadVsRef/index.js +1 -3
  145. package/esm/LinearSyntenyDisplay/afterAttach.d.ts +1 -1
  146. package/esm/LinearSyntenyDisplay/afterAttach.js +8 -12
  147. package/esm/LinearSyntenyDisplay/components/Component.d.ts +2 -3
  148. package/esm/LinearSyntenyDisplay/components/Component.js +11 -13
  149. package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.d.ts +2 -3
  150. package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +79 -100
  151. package/esm/LinearSyntenyDisplay/components/SyntenyContextMenu.d.ts +3 -4
  152. package/esm/LinearSyntenyDisplay/components/SyntenyContextMenu.js +3 -3
  153. package/esm/LinearSyntenyDisplay/components/SyntenyTooltip.d.ts +1 -2
  154. package/esm/LinearSyntenyDisplay/components/SyntenyTooltip.js +3 -4
  155. package/esm/LinearSyntenyDisplay/components/util.d.ts +3 -3
  156. package/esm/LinearSyntenyDisplay/components/util.js +2 -11
  157. package/esm/LinearSyntenyDisplay/configSchemaF.d.ts +1 -12
  158. package/esm/LinearSyntenyDisplay/configSchemaF.js +0 -15
  159. package/esm/LinearSyntenyDisplay/drawSynteny.d.ts +1 -1
  160. package/esm/LinearSyntenyDisplay/drawSynteny.js +1 -23
  161. package/esm/LinearSyntenyDisplay/index.d.ts +1 -1
  162. package/esm/LinearSyntenyDisplay/index.js +1 -2
  163. package/esm/LinearSyntenyDisplay/model.d.ts +8 -102
  164. package/esm/LinearSyntenyDisplay/model.js +1 -92
  165. package/esm/LinearSyntenyView/components/ExportSvgDialog.d.ts +2 -3
  166. package/esm/LinearSyntenyView/components/ExportSvgDialog.js +35 -53
  167. package/esm/LinearSyntenyView/components/Icons.d.ts +3 -4
  168. package/esm/LinearSyntenyView/components/Icons.js +3 -5
  169. package/esm/LinearSyntenyView/components/ImportForm/ImportSyntenyOpenCustomTrack.d.ts +8 -0
  170. package/esm/LinearSyntenyView/components/ImportForm/ImportSyntenyOpenCustomTrack.js +125 -0
  171. package/esm/LinearSyntenyView/components/ImportForm/ImportSyntenyPreConfigured.d.ts +8 -0
  172. package/esm/LinearSyntenyView/components/ImportForm/ImportSyntenyPreConfigured.js +37 -0
  173. package/esm/LinearSyntenyView/components/ImportForm/ImportSyntenyTrackSelectorArea.d.ts +7 -0
  174. package/esm/LinearSyntenyView/components/ImportForm/ImportSyntenyTrackSelectorArea.js +16 -0
  175. package/esm/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.d.ts +2 -3
  176. package/esm/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.js +49 -127
  177. package/esm/LinearSyntenyView/components/ImportForm/doSubmit.d.ts +5 -0
  178. package/esm/LinearSyntenyView/components/ImportForm/doSubmit.js +40 -0
  179. package/esm/LinearSyntenyView/components/ImportForm/getAdapter.d.ts +117 -0
  180. package/esm/LinearSyntenyView/components/ImportForm/getAdapter.js +65 -0
  181. package/esm/LinearSyntenyView/components/ImportForm/util.js +1 -3
  182. package/esm/LinearSyntenyView/components/LinearSyntenyView.d.ts +2 -3
  183. package/esm/LinearSyntenyView/components/LinearSyntenyView.js +3 -3
  184. package/esm/LinearSyntenyView/index.d.ts +1 -1
  185. package/esm/LinearSyntenyView/model.d.ts +54 -58
  186. package/esm/LinearSyntenyView/model.js +44 -49
  187. package/esm/LinearSyntenyView/svgcomponents/SVGBackground.d.ts +1 -2
  188. package/esm/LinearSyntenyView/svgcomponents/SVGBackground.js +3 -3
  189. package/esm/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.d.ts +2 -3
  190. package/esm/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.js +4 -9
  191. package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.d.ts +1 -1
  192. package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +8 -25
  193. package/esm/LinearSyntenyView/types.d.ts +12 -0
  194. package/esm/LinearSyntenyView/types.js +1 -0
  195. package/esm/LinearSyntenyViewHelper/index.d.ts +1 -1
  196. package/esm/LinearSyntenyViewHelper/index.js +2 -2
  197. package/esm/LinearSyntenyViewHelper/stateModelFactory.d.ts +2 -14
  198. package/esm/LinearSyntenyViewHelper/stateModelFactory.js +2 -29
  199. package/esm/SyntenyFeatureDetail/LinkToSyntenyView.d.ts +5 -0
  200. package/esm/SyntenyFeatureDetail/LinkToSyntenyView.js +52 -0
  201. package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +2 -11
  202. package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.js +6 -68
  203. package/esm/SyntenyFeatureDetail/index.d.ts +1 -1
  204. package/esm/SyntenyFeatureDetail/index.js +1 -7
  205. package/esm/SyntenyFeatureDetail/types.d.ts +9 -0
  206. package/esm/SyntenyFeatureDetail/types.js +1 -0
  207. package/esm/SyntenyTrack/configSchema.d.ts +1 -1
  208. package/esm/SyntenyTrack/configSchema.js +1 -9
  209. package/esm/SyntenyTrack/index.d.ts +1 -1
  210. package/esm/SyntenyTrack/index.js +1 -1
  211. package/esm/index.d.ts +1 -1
  212. package/esm/index.js +4 -4
  213. package/esm/util.d.ts +2 -2
  214. package/esm/util.js +1 -11
  215. package/package.json +2 -4
  216. package/dist/LinearSyntenyView/components/ImportForm/AddCustomTrack.d.ts +0 -10
  217. package/dist/LinearSyntenyView/components/ImportForm/AddCustomTrack.js +0 -194
  218. package/dist/LinearSyntenyView/components/ImportForm/Spacer.d.ts +0 -2
  219. package/dist/LinearSyntenyView/components/ImportForm/Spacer.js +0 -10
  220. package/dist/LinearSyntenyView/components/ImportForm/TrackSelector.d.ts +0 -10
  221. package/dist/LinearSyntenyView/components/ImportForm/TrackSelector.js +0 -59
  222. package/dist/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.d.ts +0 -14
  223. package/dist/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.js +0 -52
  224. package/esm/LinearSyntenyView/components/ImportForm/AddCustomTrack.d.ts +0 -10
  225. package/esm/LinearSyntenyView/components/ImportForm/AddCustomTrack.js +0 -169
  226. package/esm/LinearSyntenyView/components/ImportForm/Spacer.d.ts +0 -2
  227. package/esm/LinearSyntenyView/components/ImportForm/Spacer.js +0 -4
  228. package/esm/LinearSyntenyView/components/ImportForm/TrackSelector.d.ts +0 -10
  229. package/esm/LinearSyntenyView/components/ImportForm/TrackSelector.js +0 -34
  230. package/esm/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.d.ts +0 -14
  231. package/esm/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.js +0 -23
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
15
15
  }) : function(o, v) {
16
16
  o["default"] = v;
17
17
  });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
25
35
  Object.defineProperty(exports, "__esModule", { value: true });
26
36
  const react_1 = require("react");
27
37
  const configuration_1 = require("@jbrowse/core/configuration");
@@ -29,32 +39,15 @@ const util_1 = require("@jbrowse/core/util");
29
39
  const plugin_alignments_1 = require("@jbrowse/plugin-alignments");
30
40
  const mobx_state_tree_1 = require("mobx-state-tree");
31
41
  const LaunchSyntenyViewDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./components/LaunchSyntenyViewDialog'))));
32
- /**
33
- * #stateModel LGVSyntenyDisplay
34
- * displays location of "synteny" feature in a plain LGV, allowing linking out
35
- * to external synteny views
36
- *
37
- * extends
38
- * - [SharedLinearPileupDisplayMixin](../sharedlinearpileupdisplaymixin)
39
- */
40
42
  function stateModelFactory(schema) {
41
43
  return mobx_state_tree_1.types
42
44
  .compose('LGVSyntenyDisplay', (0, plugin_alignments_1.SharedLinearPileupDisplayMixin)(schema), mobx_state_tree_1.types.model({
43
- /**
44
- * #property
45
- */
46
45
  type: mobx_state_tree_1.types.literal('LGVSyntenyDisplay'),
47
- /**
48
- * #property
49
- */
50
46
  configuration: (0, configuration_1.ConfigurationReference)(schema),
51
47
  }))
52
48
  .views(self => {
53
49
  const superContextMenuItems = self.contextMenuItems;
54
50
  return {
55
- /**
56
- * #method
57
- */
58
51
  contextMenuItems() {
59
52
  const feature = self.contextMenuFeature;
60
53
  return [
@@ -67,9 +60,10 @@ function stateModelFactory(schema) {
67
60
  (0, util_1.getSession)(self).queueDialog(handleClose => [
68
61
  LaunchSyntenyViewDialog,
69
62
  {
70
- model: self,
63
+ view: (0, util_1.getContainingView)(self),
71
64
  trackId: (0, configuration_1.getConf)((0, util_1.getContainingTrack)(self), 'trackId'),
72
65
  handleClose,
66
+ session: (0, util_1.getSession)(self),
73
67
  feature,
74
68
  },
75
69
  ]);
@@ -84,9 +78,6 @@ function stateModelFactory(schema) {
84
78
  .views(self => {
85
79
  const { trackMenuItems: superTrackMenuItems, colorSchemeSubMenuItems: superColorSchemeSubMenuItems, } = self;
86
80
  return {
87
- /**
88
- * #method
89
- */
90
81
  trackMenuItems() {
91
82
  return [
92
83
  ...superTrackMenuItems(),
@@ -99,9 +90,6 @@ function stateModelFactory(schema) {
99
90
  };
100
91
  })
101
92
  .actions(self => ({
102
- /**
103
- * #action
104
- */
105
93
  selectFeature(feature) {
106
94
  const session = (0, util_1.getSession)(self);
107
95
  if ((0, util_1.isSessionModelWithWidgets)(session)) {
@@ -121,12 +109,7 @@ function stateModelFactory(schema) {
121
109
  session.setSelection(feature);
122
110
  },
123
111
  afterCreate() {
124
- // use color by stand to help indicate inversions better on first load,
125
- // otherwise use selected orientation
126
- if (self.colorBy) {
127
- self.setColorScheme({ ...self.colorBy });
128
- }
129
- else {
112
+ if (!self.colorBySetting && self.colorBy.type === 'normal') {
130
113
  self.setColorScheme({ type: 'strand' });
131
114
  }
132
115
  },
@@ -1,2 +1,2 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  export default function LaunchLinearSyntenyView(pluginManager: PluginManager): void;
@@ -7,9 +7,7 @@ function makeMultiDimArray(str) {
7
7
  return Array.isArray(str[0]) ? str : [str];
8
8
  }
9
9
  function LaunchLinearSyntenyView(pluginManager) {
10
- pluginManager.addToExtensionPoint('LaunchView-LinearSyntenyView',
11
- // @ts-expect-error
12
- async ({ session, views, tracks = [], }) => {
10
+ pluginManager.addToExtensionPoint('LaunchView-LinearSyntenyView', async ({ session, views, tracks = [], }) => {
13
11
  try {
14
12
  const { assemblyManager } = session;
15
13
  const model = session.addView('LinearSyntenyView', {});
@@ -1,5 +1,2 @@
1
- /**
2
- * #config LinearComparativeDisplay
3
- */
4
1
  declare function configSchemaFactory(_pluginManager: any): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
5
2
  export default configSchemaFactory;
@@ -1,15 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const configuration_1 = require("@jbrowse/core/configuration");
4
- /**
5
- * #config LinearComparativeDisplay
6
- */
7
4
  function configSchemaFactory(_pluginManager) {
8
5
  return (0, configuration_1.ConfigurationSchema)('LinearComparativeDisplay', {}, {
9
6
  explicitlyTyped: true,
10
- /**
11
- * #identifier
12
- */
13
7
  explicitIdentifier: 'displayId',
14
8
  });
15
9
  }
@@ -1,2 +1,2 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
1
+ import type PluginManager from '@jbrowse/core/PluginManager';
2
2
  export default function LinearComparativeDisplayF(pluginManager: PluginManager): void;
@@ -1,23 +1,12 @@
1
- import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
2
- import { Instance } from 'mobx-state-tree';
3
- import { Feature } from '@jbrowse/core/util';
4
- /**
5
- * #stateModel LinearComparativeDisplay
6
- * extends
7
- * - [BaseDisplay](../basedisplay)
8
- */
1
+ import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
2
+ import type { Feature } from '@jbrowse/core/util';
3
+ import type { Instance } from 'mobx-state-tree';
9
4
  declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
10
5
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
11
6
  type: import("mobx-state-tree").ISimpleType<string>;
12
7
  rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
13
8
  } & {
14
- /**
15
- * #property
16
- */
17
9
  type: import("mobx-state-tree").ISimpleType<"LinearComparativeDisplay">;
18
- /**
19
- * #property
20
- */
21
10
  configuration: AnyConfigurationSchemaType;
22
11
  }, {
23
12
  rendererTypeName: string;
@@ -43,10 +32,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
43
32
  message: string | undefined;
44
33
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
45
34
  onHorizontalScroll?: () => void;
46
- blockState? /**
47
- * #action
48
- * controlled by a reaction
49
- */: Record<string, any>;
35
+ blockState?: Record<string, any>;
50
36
  }>;
51
37
  readonly DisplayBlurb: React.FC<{
52
38
  model: {
@@ -58,10 +44,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
58
44
  error: unknown;
59
45
  message: string | undefined;
60
46
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
61
- id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree" /**
62
- * #action
63
- * controlled by a reaction
64
- */).ISimpleType<string>, [undefined]>;
47
+ id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
65
48
  type: import("mobx-state-tree").ISimpleType<string>;
66
49
  rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
67
50
  }, {
@@ -84,21 +67,12 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
84
67
  setRpcDriverName(rpcDriverName: string): void;
85
68
  reload(): void;
86
69
  } & {
87
- renderInProgress: AbortController | undefined;
70
+ renderInProgress: string | undefined;
88
71
  features: Feature[] | undefined;
89
72
  message: string | undefined;
90
73
  } & {
91
- /**
92
- * #getter
93
- */
94
74
  readonly level: number;
95
- /**
96
- * #getter
97
- */
98
75
  readonly height: number;
99
- /**
100
- * #getter
101
- */
102
76
  renderProps(): {
103
77
  rpcDriverName: string | undefined;
104
78
  displayModel: {
@@ -140,10 +114,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
140
114
  message: string | undefined;
141
115
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
142
116
  onHorizontalScroll?: () => void;
143
- blockState? /**
144
- * #action
145
- * controlled by a reaction
146
- */: Record<string, any>;
117
+ blockState?: Record<string, any>;
147
118
  }>;
148
119
  readonly DisplayBlurb: React.FC<{
149
120
  model: {
@@ -155,10 +126,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
155
126
  error: unknown;
156
127
  message: string | undefined;
157
128
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
158
- id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree" /**
159
- * #action
160
- * controlled by a reaction
161
- */).ISimpleType<string>, [undefined]>;
129
+ id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
162
130
  type: import("mobx-state-tree").ISimpleType<string>;
163
131
  rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
164
132
  }, {
@@ -181,7 +149,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
181
149
  setRpcDriverName(rpcDriverName: string): void;
182
150
  reload(): void;
183
151
  } & {
184
- renderInProgress: AbortController | undefined;
152
+ renderInProgress: string | undefined;
185
153
  features: Feature[] | undefined;
186
154
  message: string | undefined;
187
155
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
@@ -189,13 +157,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
189
157
  type: import("mobx-state-tree").ISimpleType<string>;
190
158
  rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
191
159
  } & {
192
- /**
193
- * #property
194
- */
195
160
  type: import("mobx-state-tree").ISimpleType<"LinearComparativeDisplay">;
196
- /**
197
- * #property
198
- */
199
161
  configuration: AnyConfigurationSchemaType;
200
162
  }, {
201
163
  rendererTypeName: string;
@@ -221,10 +183,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
221
183
  message: string | undefined;
222
184
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
223
185
  onHorizontalScroll?: () => void;
224
- blockState? /**
225
- * #action
226
- * controlled by a reaction
227
- */: Record<string, any>;
186
+ blockState?: Record<string, any>;
228
187
  }>;
229
188
  readonly DisplayBlurb: React.FC<{
230
189
  model: {
@@ -259,34 +218,18 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
259
218
  setRpcDriverName(rpcDriverName: string): void;
260
219
  reload(): void;
261
220
  } & {
262
- renderInProgress: AbortController | undefined;
221
+ renderInProgress: string | undefined;
263
222
  features: Feature[] | undefined;
264
223
  message: string | undefined;
265
224
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
266
225
  highResolutionScaling: number;
267
226
  };
268
227
  } & {
269
- /**
270
- * #action
271
- * controlled by a reaction
272
- */
273
- setLoading(abortController: AbortController): void;
274
- /**
275
- * #action
276
- * controlled by a reaction
277
- */
228
+ setLoading(newStopToken: string): void;
278
229
  setMessage(messageText: string): void;
279
- /**
280
- * #action
281
- * controlled by a reaction
282
- */
283
230
  setRendered(args?: {
284
231
  features: Feature[];
285
232
  }): void;
286
- /**
287
- * #action
288
- * controlled by a reaction
289
- */
290
233
  setError(error: unknown): void;
291
234
  } & {
292
235
  afterAttach(): void;
@@ -1,48 +1,29 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const configuration_1 = require("@jbrowse/core/configuration");
4
- const mobx_state_tree_1 = require("mobx-state-tree");
4
+ const models_1 = require("@jbrowse/core/pluggableElementTypes/models");
5
5
  const util_1 = require("@jbrowse/core/util");
6
+ const stopToken_1 = require("@jbrowse/core/util/stopToken");
6
7
  const tracks_1 = require("@jbrowse/core/util/tracks");
7
- const models_1 = require("@jbrowse/core/pluggableElementTypes/models");
8
- /**
9
- * #stateModel LinearComparativeDisplay
10
- * extends
11
- * - [BaseDisplay](../basedisplay)
12
- */
8
+ const mobx_state_tree_1 = require("mobx-state-tree");
13
9
  function stateModelFactory(configSchema) {
14
10
  return mobx_state_tree_1.types
15
11
  .compose('LinearComparativeDisplay', models_1.BaseDisplay, mobx_state_tree_1.types.model({
16
- /**
17
- * #property
18
- */
19
12
  type: mobx_state_tree_1.types.literal('LinearComparativeDisplay'),
20
- /**
21
- * #property
22
- */
23
13
  configuration: (0, configuration_1.ConfigurationReference)(configSchema),
24
14
  }))
25
- .volatile(( /* self */) => ({
15
+ .volatile(() => ({
26
16
  renderInProgress: undefined,
27
17
  features: undefined,
28
18
  message: undefined,
29
19
  }))
30
20
  .views(self => ({
31
- /**
32
- * #getter
33
- */
34
21
  get level() {
35
22
  return (0, mobx_state_tree_1.getParent)(self, 4).level;
36
23
  },
37
- /**
38
- * #getter
39
- */
40
24
  get height() {
41
25
  return (0, mobx_state_tree_1.getParent)(self, 4).height;
42
26
  },
43
- /**
44
- * #getter
45
- */
46
27
  renderProps() {
47
28
  return {
48
29
  rpcDriverName: self.rpcDriverName,
@@ -52,33 +33,18 @@ function stateModelFactory(configSchema) {
52
33
  },
53
34
  }))
54
35
  .actions(self => {
55
- let renderInProgress;
36
+ let stopToken;
56
37
  return {
57
- /**
58
- * #action
59
- * controlled by a reaction
60
- */
61
- setLoading(abortController) {
38
+ setLoading(newStopToken) {
62
39
  self.message = undefined;
63
40
  self.error = undefined;
64
- renderInProgress = abortController;
41
+ stopToken = newStopToken;
65
42
  },
66
- /**
67
- * #action
68
- * controlled by a reaction
69
- */
70
43
  setMessage(messageText) {
71
- if (renderInProgress && !renderInProgress.signal.aborted) {
72
- renderInProgress.abort();
73
- }
74
44
  self.message = messageText;
75
45
  self.error = undefined;
76
- renderInProgress = undefined;
46
+ stopToken = undefined;
77
47
  },
78
- /**
79
- * #action
80
- * controlled by a reaction
81
- */
82
48
  setRendered(args) {
83
49
  if (!args) {
84
50
  return;
@@ -103,34 +69,27 @@ function stateModelFactory(configSchema) {
103
69
  }
104
70
  self.message = undefined;
105
71
  self.error = undefined;
106
- renderInProgress = undefined;
72
+ stopToken = undefined;
107
73
  if (foundNewFeatureNotInExistingMap ||
108
74
  foundExistingFeatureNotInNewMap ||
109
75
  !self.features) {
110
76
  self.features = features;
111
77
  }
112
78
  },
113
- /**
114
- * #action
115
- * controlled by a reaction
116
- */
117
79
  setError(error) {
118
80
  console.error(error);
119
- if (renderInProgress && !renderInProgress.signal.aborted) {
120
- renderInProgress.abort();
81
+ if (stopToken !== undefined) {
82
+ (0, stopToken_1.stopStopToken)(stopToken);
121
83
  }
122
- // the rendering failed for some reason
123
84
  self.message = undefined;
124
85
  self.error = error;
125
- renderInProgress = undefined;
86
+ stopToken = undefined;
126
87
  },
127
88
  };
128
89
  })
129
90
  .actions(self => ({
130
91
  afterAttach() {
131
- (0, util_1.makeAbortableReaction)(
132
- // @ts-expect-error
133
- self, renderBlockData, renderBlockEffect, {
92
+ (0, util_1.makeAbortableReaction)(self, renderBlockData, renderBlockEffect, {
134
93
  name: `${self.type} ${self.id} rendering`,
135
94
  delay: 1000,
136
95
  fireImmediately: true,
@@ -141,9 +100,6 @@ function stateModelFactory(configSchema) {
141
100
  function renderBlockData(self) {
142
101
  const { rpcManager } = (0, util_1.getSession)(self);
143
102
  const display = self;
144
- // Alternative to readConfObject(config) is below used because
145
- // renderProps is something under our control. Compare to
146
- // serverSideRenderedBlock
147
103
  (0, configuration_1.readConfObject)(self.configuration);
148
104
  const { level, adapterConfig } = self;
149
105
  const parent = (0, util_1.getContainingView)(self);
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
- import { LinearComparativeViewModel } from '../model';
1
+ import type { LinearComparativeViewModel } from '../model';
3
2
  declare const Header: ({ model, }: {
4
3
  model: LinearComparativeViewModel;
5
- }) => React.JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
6
5
  export default Header;
@@ -1,40 +1,17 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
4
  };
28
5
  Object.defineProperty(exports, "__esModule", { value: true });
29
- const react_1 = __importStar(require("react"));
30
- const mobx_react_1 = require("mobx-react");
31
- const material_1 = require("@mui/material");
32
- const mui_1 = require("tss-react/mui");
6
+ const jsx_runtime_1 = require("react/jsx-runtime");
7
+ const react_1 = require("react");
33
8
  const CascadingMenuButton_1 = __importDefault(require("@jbrowse/core/ui/CascadingMenuButton"));
34
- // icons
9
+ const Icons_1 = require("@jbrowse/core/ui/Icons");
35
10
  const MoreVert_1 = __importDefault(require("@mui/icons-material/MoreVert"));
36
11
  const Search_1 = __importDefault(require("@mui/icons-material/Search"));
37
- const Icons_1 = require("@jbrowse/core/ui/Icons");
12
+ const material_1 = require("@mui/material");
13
+ const mobx_react_1 = require("mobx-react");
14
+ const mui_1 = require("tss-react/mui");
38
15
  const HeaderSearchBoxes_1 = __importDefault(require("./HeaderSearchBoxes"));
39
16
  const useStyles = (0, mui_1.makeStyles)()({
40
17
  inline: {
@@ -46,67 +23,60 @@ const Header = (0, mobx_react_1.observer)(function ({ model, }) {
46
23
  const { views } = model;
47
24
  const [showSearchBoxes, setShowSearchBoxes] = (0, react_1.useState)(views.length <= 3);
48
25
  const [sideBySide, setSideBySide] = (0, react_1.useState)(views.length <= 3);
49
- return (react_1.default.createElement(material_1.FormGroup, { row: true },
50
- react_1.default.createElement(CascadingMenuButton_1.default, { menuItems: [
51
- {
52
- label: 'Synteny track selectors',
53
- type: 'subMenu',
54
- subMenu: views.slice(0, -1).map((_, idx) => ({
55
- label: `Row ${idx + 1}->${idx + 2} (${views[idx].assemblyNames.join(',')}->${views[idx + 1].assemblyNames.join(',')})`,
26
+ return ((0, jsx_runtime_1.jsxs)(material_1.FormGroup, { row: true, children: [(0, jsx_runtime_1.jsx)(CascadingMenuButton_1.default, { menuItems: [
27
+ {
28
+ label: 'Synteny track selectors',
29
+ type: 'subMenu',
30
+ subMenu: views.slice(0, -1).map((_, idx) => ({
31
+ label: `Row ${idx + 1}->${idx + 2} (${views[idx].assemblyNames.join(',')}->${views[idx + 1].assemblyNames.join(',')})`,
32
+ onClick: () => {
33
+ model.activateTrackSelector(idx);
34
+ },
35
+ })),
36
+ },
37
+ {
38
+ label: 'Row track selectors',
39
+ type: 'subMenu',
40
+ subMenu: views.map((view, idx) => ({
41
+ label: `Row ${idx + 1} track selector (${view.assemblyNames.join(',')})`,
42
+ onClick: () => view.activateTrackSelector(),
43
+ })),
44
+ },
45
+ ], children: (0, jsx_runtime_1.jsx)(Icons_1.TrackSelector, {}) }), (0, jsx_runtime_1.jsx)(CascadingMenuButton_1.default, { menuItems: [
46
+ {
47
+ label: 'Row view menus',
48
+ type: 'subMenu',
49
+ subMenu: views.map((view, idx) => ({
50
+ label: `View ${idx + 1} Menu`,
51
+ subMenu: view.menuItems(),
52
+ })),
53
+ },
54
+ ...model.headerMenuItems(),
55
+ ], children: (0, jsx_runtime_1.jsx)(MoreVert_1.default, {}) }), (0, jsx_runtime_1.jsx)(CascadingMenuButton_1.default, { menuItems: [
56
+ {
57
+ label: 'Show search boxes',
58
+ type: 'checkbox',
59
+ checked: showSearchBoxes,
56
60
  onClick: () => {
57
- model.activateTrackSelector(idx);
61
+ setShowSearchBoxes(!showSearchBoxes);
58
62
  },
59
- })),
60
- },
61
- {
62
- label: 'Row track selectors',
63
- type: 'subMenu',
64
- subMenu: views.map((view, idx) => ({
65
- label: `Row ${idx + 1} track selector (${view.assemblyNames.join(',')})`,
66
- onClick: () => view.activateTrackSelector(),
67
- })),
68
- },
69
- ] },
70
- react_1.default.createElement(Icons_1.TrackSelector, null)),
71
- react_1.default.createElement(CascadingMenuButton_1.default, { menuItems: [
72
- {
73
- label: 'Row view menus',
74
- type: 'subMenu',
75
- subMenu: views.map((view, idx) => ({
76
- label: `View ${idx + 1} Menu`,
77
- subMenu: view.menuItems(),
78
- })),
79
- },
80
- ...model.headerMenuItems(),
81
- ] },
82
- react_1.default.createElement(MoreVert_1.default, null)),
83
- react_1.default.createElement(CascadingMenuButton_1.default, { menuItems: [
84
- {
85
- label: 'Show search boxes',
86
- type: 'checkbox',
87
- checked: showSearchBoxes,
88
- onClick: () => {
89
- setShowSearchBoxes(!showSearchBoxes);
90
63
  },
91
- },
92
- {
93
- label: 'Orientation - Side-by-side',
94
- type: 'radio',
95
- checked: sideBySide,
96
- onClick: () => {
97
- setSideBySide(!sideBySide);
64
+ {
65
+ label: 'Orientation - Side-by-side',
66
+ type: 'radio',
67
+ checked: sideBySide,
68
+ onClick: () => {
69
+ setSideBySide(!sideBySide);
70
+ },
98
71
  },
99
- },
100
- {
101
- label: 'Orientation - Vertical',
102
- type: 'radio',
103
- checked: !sideBySide,
104
- onClick: () => {
105
- setSideBySide(!sideBySide);
72
+ {
73
+ label: 'Orientation - Vertical',
74
+ type: 'radio',
75
+ checked: !sideBySide,
76
+ onClick: () => {
77
+ setSideBySide(!sideBySide);
78
+ },
106
79
  },
107
- },
108
- ] },
109
- react_1.default.createElement(Search_1.default, null)),
110
- showSearchBoxes ? (react_1.default.createElement("span", { className: sideBySide ? classes.inline : undefined }, views.map(view => (react_1.default.createElement(HeaderSearchBoxes_1.default, { key: view.id, view: view }))))) : null));
80
+ ], children: (0, jsx_runtime_1.jsx)(Search_1.default, {}) }), showSearchBoxes ? ((0, jsx_runtime_1.jsx)("span", { className: sideBySide ? classes.inline : undefined, children: views.map(view => ((0, jsx_runtime_1.jsx)(HeaderSearchBoxes_1.default, { view: view }, view.id))) })) : null] }));
111
81
  });
112
82
  exports.default = Header;
@@ -1,6 +1,5 @@
1
- import React from 'react';
2
- import { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
1
+ import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
3
2
  declare const HeaderSearchBoxes: ({ view, }: {
4
3
  view: LinearGenomeViewModel;
5
- }) => React.JSX.Element;
4
+ }) => import("react/jsx-runtime").JSX.Element;
6
5
  export default HeaderSearchBoxes;