react-msaview 3.1.12 → 3.2.1

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 (233) hide show
  1. package/bundle/index.js +32 -31
  2. package/dist/colorSchemes.d.ts +2 -2
  3. package/dist/colorSchemes.js +5 -6
  4. package/dist/colorSchemes.js.map +1 -1
  5. package/dist/components/Loading.d.ts +1 -1
  6. package/dist/components/Loading.js +7 -5
  7. package/dist/components/Loading.js.map +1 -1
  8. package/dist/components/MSAView.d.ts +1 -1
  9. package/dist/components/MSAView.js +13 -9
  10. package/dist/components/MSAView.js.map +1 -1
  11. package/dist/components/ResizeHandles.d.ts +1 -1
  12. package/dist/components/ResizeHandles.js +8 -4
  13. package/dist/components/ResizeHandles.js.map +1 -1
  14. package/dist/components/SequenceTextArea.js +9 -3
  15. package/dist/components/SequenceTextArea.js.map +1 -1
  16. package/dist/components/TextTrack.d.ts +1 -1
  17. package/dist/components/TextTrack.js +1 -1
  18. package/dist/components/TextTrack.js.map +1 -1
  19. package/dist/components/Track.d.ts +1 -1
  20. package/dist/components/Track.js +6 -2
  21. package/dist/components/Track.js.map +1 -1
  22. package/dist/components/VerticalScrollbar.d.ts +6 -0
  23. package/dist/components/VerticalScrollbar.js +69 -0
  24. package/dist/components/VerticalScrollbar.js.map +1 -0
  25. package/dist/components/dialogs/AboutDialog.js +3 -1
  26. package/dist/components/dialogs/AboutDialog.js.map +1 -1
  27. package/dist/components/dialogs/AddTrackDialog.d.ts +3 -3
  28. package/dist/components/dialogs/AddTrackDialog.js +8 -3
  29. package/dist/components/dialogs/AddTrackDialog.js.map +1 -1
  30. package/dist/components/dialogs/DomainDialog.d.ts +1 -1
  31. package/dist/components/dialogs/DomainDialog.js +8 -4
  32. package/dist/components/dialogs/DomainDialog.js.map +1 -1
  33. package/dist/components/dialogs/ExportSVGDialog.d.ts +1 -1
  34. package/dist/components/dialogs/ExportSVGDialog.js +29 -17
  35. package/dist/components/dialogs/ExportSVGDialog.js.map +1 -1
  36. package/dist/components/dialogs/FeatureDialog.d.ts +1 -1
  37. package/dist/components/dialogs/FeatureDialog.js +8 -4
  38. package/dist/components/dialogs/FeatureDialog.js.map +1 -1
  39. package/dist/components/dialogs/{InterProScanPanel.d.ts → InterProScanDialog.d.ts} +1 -1
  40. package/dist/components/dialogs/{InterProScanPanel.js → InterProScanDialog.js} +26 -11
  41. package/dist/components/dialogs/InterProScanDialog.js.map +1 -0
  42. package/dist/components/dialogs/MetadataDialog.d.ts +1 -1
  43. package/dist/components/dialogs/MetadataDialog.js +3 -1
  44. package/dist/components/dialogs/MetadataDialog.js.map +1 -1
  45. package/dist/components/dialogs/SettingsDialog.d.ts +1 -1
  46. package/dist/components/dialogs/SettingsDialog.js +62 -15
  47. package/dist/components/dialogs/SettingsDialog.js.map +1 -1
  48. package/dist/components/dialogs/TracklistDialog.d.ts +3 -3
  49. package/dist/components/dialogs/TracklistDialog.js +8 -3
  50. package/dist/components/dialogs/TracklistDialog.js.map +1 -1
  51. package/dist/components/dialogs/UserProvidedDomainsDialog.d.ts +7 -0
  52. package/dist/components/dialogs/UserProvidedDomainsDialog.js +64 -0
  53. package/dist/components/dialogs/UserProvidedDomainsDialog.js.map +1 -0
  54. package/dist/components/header/Header.d.ts +1 -1
  55. package/dist/components/header/Header.js +11 -4
  56. package/dist/components/header/Header.js.map +1 -1
  57. package/dist/components/header/HeaderInfoArea.d.ts +1 -1
  58. package/dist/components/header/HeaderInfoArea.js +5 -2
  59. package/dist/components/header/HeaderInfoArea.js.map +1 -1
  60. package/dist/components/header/HeaderMenu.d.ts +1 -1
  61. package/dist/components/header/HeaderMenu.js +12 -4
  62. package/dist/components/header/HeaderMenu.js.map +1 -1
  63. package/dist/components/header/HeaderMenuExtra.d.ts +1 -1
  64. package/dist/components/header/HeaderMenuExtra.js +55 -35
  65. package/dist/components/header/HeaderMenuExtra.js.map +1 -1
  66. package/dist/components/header/HeaderStatusArea.d.ts +2 -2
  67. package/dist/components/header/HeaderStatusArea.js +1 -1
  68. package/dist/components/header/HeaderStatusArea.js.map +1 -1
  69. package/dist/components/header/MultiAlignmentSelector.d.ts +1 -1
  70. package/dist/components/header/ZoomControls.js +45 -3
  71. package/dist/components/header/ZoomControls.js.map +1 -1
  72. package/dist/components/import/ImportForm.d.ts +3 -3
  73. package/dist/components/import/ImportForm.js +15 -2
  74. package/dist/components/import/ImportForm.js.map +1 -1
  75. package/dist/components/import/ImportFormExamples.d.ts +1 -1
  76. package/dist/components/import/ImportFormExamples.js +53 -38
  77. package/dist/components/import/ImportFormExamples.js.map +1 -1
  78. package/dist/components/import/util.d.ts +2 -2
  79. package/dist/components/minimap/Minimap.d.ts +1 -1
  80. package/dist/components/minimap/Minimap.js +24 -17
  81. package/dist/components/minimap/Minimap.js.map +1 -1
  82. package/dist/components/minimap/MinimapSVG.d.ts +1 -1
  83. package/dist/components/minimap/MinimapSVG.js +1 -1
  84. package/dist/components/minimap/MinimapSVG.js.map +1 -1
  85. package/dist/components/msa/MSACanvas.d.ts +1 -1
  86. package/dist/components/msa/MSACanvas.js +3 -3
  87. package/dist/components/msa/MSACanvas.js.map +1 -1
  88. package/dist/components/msa/MSACanvasBlock.d.ts +3 -3
  89. package/dist/components/msa/MSACanvasBlock.js +9 -6
  90. package/dist/components/msa/MSACanvasBlock.js.map +1 -1
  91. package/dist/components/msa/MSAMouseoverCanvas.d.ts +1 -1
  92. package/dist/components/msa/MSAPanel.d.ts +1 -1
  93. package/dist/components/msa/renderBoxFeatureCanvasBlock.d.ts +1 -1
  94. package/dist/components/msa/renderBoxFeatureCanvasBlock.js +3 -4
  95. package/dist/components/msa/renderBoxFeatureCanvasBlock.js.map +1 -1
  96. package/dist/components/msa/renderMSABlock.d.ts +2 -2
  97. package/dist/components/msa/renderMSABlock.js +16 -16
  98. package/dist/components/msa/renderMSABlock.js.map +1 -1
  99. package/dist/components/msa/renderMSAMouseover.d.ts +1 -1
  100. package/dist/components/msa/renderMSAMouseover.js +3 -3
  101. package/dist/components/msa/renderMSAMouseover.js.map +1 -1
  102. package/dist/components/tree/TreeBranchMenu.d.ts +1 -1
  103. package/dist/components/tree/TreeBranchMenu.js +6 -3
  104. package/dist/components/tree/TreeBranchMenu.js.map +1 -1
  105. package/dist/components/tree/TreeCanvas.d.ts +1 -1
  106. package/dist/components/tree/TreeCanvas.js +13 -12
  107. package/dist/components/tree/TreeCanvas.js.map +1 -1
  108. package/dist/components/tree/TreeCanvasBlock.d.ts +1 -1
  109. package/dist/components/tree/TreeCanvasBlock.js +13 -5
  110. package/dist/components/tree/TreeCanvasBlock.js.map +1 -1
  111. package/dist/components/tree/TreeNodeMenu.d.ts +1 -1
  112. package/dist/components/tree/TreeNodeMenu.js +3 -3
  113. package/dist/components/tree/TreeNodeMenu.js.map +1 -1
  114. package/dist/components/tree/TreePanel.d.ts +1 -1
  115. package/dist/components/tree/TreeRuler.d.ts +1 -1
  116. package/dist/components/tree/dialogs/TreeNodeInfoDialog.d.ts +3 -3
  117. package/dist/components/tree/dialogs/TreeNodeInfoDialog.js +5 -2
  118. package/dist/components/tree/dialogs/TreeNodeInfoDialog.js.map +1 -1
  119. package/dist/components/tree/renderTreeCanvas.d.ts +3 -3
  120. package/dist/components/tree/renderTreeCanvas.js +25 -9
  121. package/dist/components/tree/renderTreeCanvas.js.map +1 -1
  122. package/dist/components/util.js +1 -4
  123. package/dist/components/util.js.map +1 -1
  124. package/dist/ggplotPalettes.js.map +1 -1
  125. package/dist/launchInterProScan.d.ts +1 -1
  126. package/dist/launchInterProScan.js +11 -13
  127. package/dist/launchInterProScan.js.map +1 -1
  128. package/dist/model/DataModel.d.ts +5 -1
  129. package/dist/model/DataModel.js +10 -1
  130. package/dist/model/DataModel.js.map +1 -1
  131. package/dist/model/DialogQueue.d.ts +1 -1
  132. package/dist/model/DialogQueue.js +0 -1
  133. package/dist/model/DialogQueue.js.map +1 -1
  134. package/dist/model.d.ts +187 -35
  135. package/dist/model.js +317 -94
  136. package/dist/model.js.map +1 -1
  137. package/dist/parseGFF.js +8 -6
  138. package/dist/parseGFF.js.map +1 -1
  139. package/dist/parseNewick.js +1 -2
  140. package/dist/parseNewick.js.map +1 -1
  141. package/dist/parsers/ClustalMSA.d.ts +2 -2
  142. package/dist/parsers/ClustalMSA.js.map +1 -1
  143. package/dist/parsers/FastaMSA.d.ts +1 -1
  144. package/dist/parsers/FastaMSA.js +3 -3
  145. package/dist/parsers/FastaMSA.js.map +1 -1
  146. package/dist/parsers/StockholmMSA.d.ts +7 -7
  147. package/dist/parsers/StockholmMSA.js +4 -4
  148. package/dist/parsers/StockholmMSA.js.map +1 -1
  149. package/dist/renderToSvg.d.ts +2 -2
  150. package/dist/renderToSvg.js +6 -11
  151. package/dist/renderToSvg.js.map +1 -1
  152. package/dist/reparseTree.d.ts +1 -1
  153. package/dist/rowCoordinateCalculations.d.ts +2 -0
  154. package/dist/rowCoordinateCalculations.js +26 -0
  155. package/dist/rowCoordinateCalculations.js.map +1 -0
  156. package/dist/rowCoordinateCalculations.test.d.ts +1 -0
  157. package/dist/rowCoordinateCalculations.test.js +18 -0
  158. package/dist/rowCoordinateCalculations.test.js.map +1 -0
  159. package/dist/util.d.ts +2 -2
  160. package/dist/util.js +0 -2
  161. package/dist/util.js.map +1 -1
  162. package/dist/version.d.ts +1 -1
  163. package/dist/version.js +1 -1
  164. package/dist/version.js.map +1 -1
  165. package/package.json +10 -3
  166. package/src/colorSchemes.ts +7 -6
  167. package/src/components/Checkbox2.tsx +1 -1
  168. package/src/components/Loading.tsx +18 -6
  169. package/src/components/MSAView.tsx +27 -18
  170. package/src/components/ResizeHandles.tsx +9 -5
  171. package/src/components/SequenceTextArea.tsx +10 -4
  172. package/src/components/TextTrack.tsx +3 -3
  173. package/src/components/Track.tsx +9 -5
  174. package/src/components/VerticalScrollbar.tsx +89 -0
  175. package/src/components/dialogs/AboutDialog.tsx +7 -1
  176. package/src/components/dialogs/AddTrackDialog.tsx +15 -5
  177. package/src/components/dialogs/DomainDialog.tsx +12 -5
  178. package/src/components/dialogs/ExportSVGDialog.tsx +37 -18
  179. package/src/components/dialogs/FeatureDialog.tsx +10 -8
  180. package/src/components/dialogs/{InterProScanPanel.tsx → InterProScanDialog.tsx} +30 -13
  181. package/src/components/dialogs/MetadataDialog.tsx +9 -2
  182. package/src/components/dialogs/SettingsDialog.tsx +98 -19
  183. package/src/components/dialogs/TracklistDialog.tsx +18 -4
  184. package/src/components/dialogs/UserProvidedDomainsDialog.tsx +139 -0
  185. package/src/components/header/Header.tsx +12 -5
  186. package/src/components/header/HeaderInfoArea.tsx +4 -3
  187. package/src/components/header/HeaderMenu.tsx +13 -8
  188. package/src/components/header/HeaderMenuExtra.tsx +59 -43
  189. package/src/components/header/HeaderStatusArea.tsx +2 -6
  190. package/src/components/header/MultiAlignmentSelector.tsx +1 -1
  191. package/src/components/header/ZoomControls.tsx +52 -2
  192. package/src/components/import/ImportForm.tsx +16 -4
  193. package/src/components/import/ImportFormExamples.tsx +77 -64
  194. package/src/components/import/util.ts +2 -2
  195. package/src/components/minimap/Minimap.tsx +34 -29
  196. package/src/components/minimap/MinimapSVG.tsx +2 -2
  197. package/src/components/msa/MSACanvas.tsx +11 -4
  198. package/src/components/msa/MSACanvasBlock.tsx +10 -7
  199. package/src/components/msa/MSAMouseoverCanvas.tsx +1 -1
  200. package/src/components/msa/MSAPanel.tsx +1 -1
  201. package/src/components/msa/renderBoxFeatureCanvasBlock.ts +8 -9
  202. package/src/components/msa/renderMSABlock.ts +44 -24
  203. package/src/components/msa/renderMSAMouseover.ts +4 -4
  204. package/src/components/tree/TreeBranchMenu.tsx +6 -4
  205. package/src/components/tree/TreeCanvas.tsx +15 -16
  206. package/src/components/tree/TreeCanvasBlock.tsx +14 -6
  207. package/src/components/tree/TreeNodeMenu.tsx +4 -4
  208. package/src/components/tree/TreePanel.tsx +1 -1
  209. package/src/components/tree/TreeRuler.tsx +1 -1
  210. package/src/components/tree/dialogs/TreeNodeInfoDialog.tsx +12 -3
  211. package/src/components/tree/renderTreeCanvas.ts +32 -12
  212. package/src/components/util.ts +2 -5
  213. package/src/ggplotPalettes.ts +1 -1
  214. package/src/launchInterProScan.ts +13 -15
  215. package/src/model/DataModel.ts +10 -0
  216. package/src/model/DialogQueue.ts +1 -2
  217. package/src/model.ts +355 -112
  218. package/src/parseGFF.ts +13 -11
  219. package/src/parseNewick.ts +4 -4
  220. package/src/parsers/ClustalMSA.ts +3 -3
  221. package/src/parsers/FastaMSA.ts +5 -5
  222. package/src/parsers/StockholmMSA.ts +11 -11
  223. package/src/renderToSvg.tsx +7 -8
  224. package/src/reparseTree.ts +1 -1
  225. package/src/rowCoordinateCalculations.test.ts +19 -0
  226. package/src/rowCoordinateCalculations.ts +26 -0
  227. package/src/util.ts +2 -4
  228. package/src/version.ts +1 -1
  229. package/dist/components/dialogs/InterProScanPanel.js.map +0 -1
  230. package/dist/components/dialogs/UserProvidedResultPanel.d.ts +0 -7
  231. package/dist/components/dialogs/UserProvidedResultPanel.js +0 -56
  232. package/dist/components/dialogs/UserProvidedResultPanel.js.map +0 -1
  233. package/src/components/dialogs/UserProvidedResultPanel.tsx +0 -119
package/dist/model.d.ts CHANGED
@@ -1,13 +1,15 @@
1
1
  import React from 'react';
2
- import { Instance } from 'mobx-state-tree';
3
- import { HierarchyNode } from 'd3-hierarchy';
4
- import { Theme } from '@mui/material';
5
- import { FileLocation as FileLocationType } from '@jbrowse/core/util/types';
6
- import { NodeWithIds, NodeWithIdsAndLength } from './util';
2
+ import type { Buffer } from 'buffer';
3
+ import { type Instance } from 'mobx-state-tree';
4
+ import { type HierarchyNode } from 'd3-hierarchy';
5
+ import type { Theme } from '@mui/material';
6
+ import type { FileLocation as FileLocationType } from '@jbrowse/core/util/types';
7
+ export declare function isGzip(buf: Buffer): boolean;
8
+ import { type NodeWithIds, type NodeWithIdsAndLength } from './util';
7
9
  import ClustalMSA from './parsers/ClustalMSA';
8
10
  import StockholmMSA from './parsers/StockholmMSA';
9
11
  import FastaMSA from './parsers/FastaMSA';
10
- import { InterProScanResults } from './launchInterProScan';
12
+ import type { InterProScanResults } from './launchInterProScan';
11
13
  export interface Accession {
12
14
  accession: string;
13
15
  name: string;
@@ -50,8 +52,13 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
50
52
  } & {
51
53
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
52
54
  showDomains: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
55
+ allowedGappyness: import("mobx-state-tree").IType<number | undefined, number, number>;
56
+ contrastLettering: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
53
57
  subFeatureRows: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
54
58
  type: import("mobx-state-tree").ISimpleType<"MsaView">;
59
+ drawMsaLetters: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
60
+ hideGaps: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
61
+ drawTreeText: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
55
62
  height: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
56
63
  rowHeight: import("mobx-state-tree").IType<number | undefined, number, number>;
57
64
  scrollY: import("mobx-state-tree").IType<number | undefined, number, number>;
@@ -61,11 +68,17 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
61
68
  locationType: import("mobx-state-tree").ISimpleType<"UriLocation">;
62
69
  uri: import("mobx-state-tree").ISimpleType<string>;
63
70
  baseUri: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
64
- internetAccountId: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
65
- internetAccountPreAuthorization: import("mobx-state-tree").IMaybe<import("mobx-state-tree" /**
66
- * #volatile
67
- */).IModelType<{
68
- internetAccountType: import("mobx-state-tree").ISimpleType<string>;
71
+ internetAccountId: import("mobx-state-tree").IMaybe<import("mobx-state-tree" /**
72
+ * #property
73
+ * array of tree parent nodes that are 'collapsed' (all children are
74
+ * hidden)
75
+ */).ISimpleType<string>>;
76
+ internetAccountPreAuthorization: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IModelType<{
77
+ internetAccountType: import("mobx-state-tree" /**
78
+ * #property
79
+ * array of tree leaf nodes that are 'collapsed' (just that leaf node
80
+ * is hidden)
81
+ */).ISimpleType<string>;
69
82
  authInfo: import("mobx-state-tree").IType<any, any, any>;
70
83
  }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
71
84
  }>> | import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
@@ -91,7 +104,12 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
91
104
  locationType: import("mobx-state-tree").ISimpleType<"LocalPathLocation">;
92
105
  localPath: import("mobx-state-tree").ISimpleType<string>;
93
106
  }>, import("mobx-state-tree").ModelInstanceType<{
94
- locationType: import("mobx-state-tree").ISimpleType<"BlobLocation">;
107
+ locationType: import(
108
+ /**
109
+ * #volatile
110
+ * the currently mouse-hovered row
111
+ */
112
+ "mobx-state-tree").ISimpleType<"BlobLocation">;
95
113
  name: import("mobx-state-tree").ISimpleType<string>;
96
114
  blobId: import("mobx-state-tree").ISimpleType<string>;
97
115
  }, {}> | import("mobx-state-tree").ModelInstanceType<{
@@ -102,13 +120,16 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
102
120
  uri: string;
103
121
  } & Partial<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
104
122
  locationType: import("mobx-state-tree" /**
105
- * #action
106
- * set mouse position (row, column) in the MSA
123
+ * #volatile
124
+ * a dummy variable that is incremented when ref changes so autorun for
125
+ * drawing canvas commands will run
107
126
  */).ISimpleType<"UriLocation">;
108
127
  uri: import("mobx-state-tree").ISimpleType<string>;
109
128
  baseUri: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
110
129
  internetAccountId: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
111
- internetAccountPreAuthorization: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IModelType<{
130
+ internetAccountPreAuthorization: import("mobx-state-tree").IMaybe<import("mobx-state-tree" /**
131
+ * #volatile
132
+ */).IModelType<{
112
133
  internetAccountType: import("mobx-state-tree").ISimpleType<string>;
113
134
  authInfo: import("mobx-state-tree").IType<any, any, any>;
114
135
  }, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
@@ -217,7 +238,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
217
238
  }>> & import("mobx-state-tree/dist/internal").NonEmptyObject)>, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
218
239
  currentAlignment: import("mobx-state-tree").IType<number | undefined, number, number>;
219
240
  collapsed: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
220
- collapsed2: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
241
+ collapsedLeaves: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
221
242
  showOnly: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
222
243
  turnedOffTracks: import("mobx-state-tree").IMapType<import("mobx-state-tree").ISimpleType<boolean>>;
223
244
  data: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
@@ -228,7 +249,11 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
228
249
  setTree(tree?: string): void;
229
250
  setMSA(msa?: string): void;
230
251
  setTreeMetadata(treeMetadata?: string): void;
231
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
252
+ }, import("mobx-state-tree")._NotCustomized, {
253
+ tree: string | undefined;
254
+ msa: string | undefined;
255
+ treeMetadata: string | undefined;
256
+ }>, [undefined]>;
232
257
  featureFilters: import("mobx-state-tree").IMapType<import("mobx-state-tree").ISimpleType<boolean>>;
233
258
  }, {
234
259
  queueOfDialogs: [import("@jbrowse/core/util").DialogComponentType, any][];
@@ -251,6 +276,13 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
251
276
  setColorSchemeName(name: string): void;
252
277
  setBgColor(arg: boolean): void;
253
278
  } & {
279
+ /**
280
+ * #volatile
281
+ */
282
+ headerHeight: number;
283
+ /**
284
+ * #volatile
285
+ */
254
286
  status: {
255
287
  msg: string;
256
288
  url?: string;
@@ -272,7 +304,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
272
304
  /**
273
305
  * #volatile
274
306
  */
275
- width: number;
307
+ volatileWidth: number | undefined;
276
308
  /**
277
309
  * #volatile
278
310
  * resize handle width between tree and msa area, px
@@ -332,8 +364,20 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
332
364
  * #volatile
333
365
  *
334
366
  */
335
- loadedInterProAnnotations: undefined | Record<string, InterProScanResults>;
367
+ interProAnnotations: undefined | Record<string, InterProScanResults>;
336
368
  } & {
369
+ /**
370
+ * #action
371
+ */
372
+ setHideGaps(arg: boolean): void;
373
+ /**
374
+ * #action
375
+ */
376
+ setAllowedGappyness(arg: number): void;
377
+ /**
378
+ * #action
379
+ */
380
+ setContrastLettering(arg: boolean): void;
337
381
  /**
338
382
  * #action
339
383
  */
@@ -433,6 +477,23 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
433
477
  * #action
434
478
  */
435
479
  setTreeMetadata(result: string): void;
480
+ } & {
481
+ /**
482
+ * #getter
483
+ */
484
+ readonly realAllowedGappyness: number;
485
+ /**
486
+ * #getter
487
+ */
488
+ readonly actuallyShowDomains: boolean;
489
+ /**
490
+ * #getter
491
+ */
492
+ readonly viewInitialized: boolean;
493
+ /**
494
+ * #getter
495
+ */
496
+ readonly width: number;
436
497
  } & {
437
498
  /**
438
499
  * #method
@@ -453,8 +514,8 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
453
514
  getRowData(name: string): {
454
515
  data: {
455
516
  name: string;
456
- accession: string;
457
- dbxref: string;
517
+ accession: string | undefined;
518
+ dbxref: string | undefined;
458
519
  } | undefined;
459
520
  };
460
521
  /**
@@ -468,11 +529,11 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
468
529
  /**
469
530
  * #getter
470
531
  */
471
- readonly noAnnotations: boolean;
532
+ readonly noDomains: boolean;
472
533
  /**
473
534
  * #getter
474
535
  */
475
- readonly menuItems: never[];
536
+ menuItems(): never[];
476
537
  /**
477
538
  * #getter
478
539
  */
@@ -488,7 +549,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
488
549
  /**
489
550
  * #getter
490
551
  */
491
- readonly _tree: NodeWithIds;
552
+ readonly tree: NodeWithIds;
492
553
  /**
493
554
  * #getter
494
555
  */
@@ -514,10 +575,18 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
514
575
  * #getter
515
576
  */
516
577
  readonly blanks: number[];
578
+ /**
579
+ * #getter
580
+ */
581
+ readonly blanksSet: Set<number>;
517
582
  /**
518
583
  * #getter
519
584
  */
520
585
  readonly rows: [string, string][];
586
+ /**
587
+ * #getter
588
+ */
589
+ readonly rowMap: Map<string, string>;
521
590
  /**
522
591
  * #getter
523
592
  */
@@ -536,6 +605,12 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
536
605
  * #getter
537
606
  */
538
607
  readonly colStats: Record<string, number>[];
608
+ /**
609
+ * #getter
610
+ */
611
+ readonly colStatsSums: {
612
+ [k: string]: number;
613
+ };
539
614
  /**
540
615
  * #getter
541
616
  * generates a new tree that is clustered with x,y positions
@@ -545,6 +620,10 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
545
620
  * #getter
546
621
  */
547
622
  readonly totalHeight: number;
623
+ /**
624
+ * #getter
625
+ */
626
+ readonly leaves: HierarchyNode<NodeWithIdsAndLength>[];
548
627
  } & {
549
628
  /**
550
629
  * #getter
@@ -554,7 +633,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
554
633
  /**
555
634
  * #getter
556
635
  */
557
- readonly initialized: boolean | "" | undefined;
636
+ readonly dataInitialized: boolean | "" | undefined;
558
637
  /**
559
638
  * #getter
560
639
  */
@@ -567,7 +646,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
567
646
  /**
568
647
  * #getter
569
648
  */
570
- readonly blocks2d: number[][];
649
+ readonly blocks2d: (readonly [number, number])[];
571
650
  /**
572
651
  * #getter
573
652
  */
@@ -576,7 +655,35 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
576
655
  * #getter
577
656
  */
578
657
  readonly maxScrollX: number;
658
+ /**
659
+ * #getter
660
+ */
661
+ readonly showMsaLetters: boolean;
662
+ /**
663
+ * #getter
664
+ */
665
+ readonly showTreeText: boolean;
579
666
  } & {
667
+ /**
668
+ * #action
669
+ */
670
+ setDrawMsaLetters(arg: boolean): void;
671
+ /**
672
+ * #action
673
+ */
674
+ zoomOutHorizontal(): void;
675
+ /**
676
+ * #action
677
+ */
678
+ zoomInHorizontal(): void;
679
+ /**
680
+ * #action
681
+ */
682
+ zoomInVertical(): void;
683
+ /**
684
+ * #action
685
+ */
686
+ zoomOutVertical(): void;
580
687
  /**
581
688
  * #action
582
689
  */
@@ -588,7 +695,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
588
695
  /**
589
696
  * #action
590
697
  */
591
- setLoadedInterProAnnotations(data: Record<string, InterProScanResults>): void;
698
+ setInterProAnnotations(data: Record<string, InterProScanResults>): void;
592
699
  /**
593
700
  * #action
594
701
  */
@@ -641,12 +748,25 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
641
748
  * #getter
642
749
  */
643
750
  readonly turnedOnTracks: ITextTrack[];
751
+ /**
752
+ * #getter
753
+ */
754
+ readonly showHorizontalScrollbar: boolean;
755
+ /**
756
+ * #getter
757
+ */
758
+ readonly rowNamesSet: Map<string, number>;
644
759
  /**
645
760
  * #method
646
- * return a row-specific sequence coordinate, skipping gaps, given a global
647
- * coordinate
761
+ * return a row-specific letter, or undefined if gap
648
762
  */
649
- globalCoordToRowSpecificSeqCoord(rowName: string, position: number): number;
763
+ mouseOverCoordToRowLetter(rowName: string, position: number): string | undefined;
764
+ /**
765
+ * #method
766
+ * return a row-specific sequence coordinate, skipping gaps, given a
767
+ * global coordinate
768
+ */
769
+ mouseOverCoordToGapRemovedRowCoord(rowName: string, position: number): number | undefined;
650
770
  /**
651
771
  * #method
652
772
  * return a global coordinate given a row-specific sequence coordinate
@@ -654,6 +774,11 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
654
774
  */
655
775
  seqCoordToRowSpecificGlobalCoord(rowName: string, position: number): number;
656
776
  } & {
777
+ /**
778
+ * #getter
779
+ * widget width minus the tree area gives the space for the MSA
780
+ */
781
+ readonly msaAreaHeight: number;
657
782
  /**
658
783
  * #getter
659
784
  * total height of track area (px)
@@ -662,8 +787,11 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
662
787
  /**
663
788
  * #getter
664
789
  */
665
- readonly tidyTypes: Map<string, Accession>;
666
- readonly tidyAnnotations: {
790
+ readonly tidyInterProAnnotationTypes: Map<string, Accession>;
791
+ /**
792
+ * #getter
793
+ */
794
+ readonly tidyInterProAnnotations: {
667
795
  id: string;
668
796
  name: string;
669
797
  accession: string;
@@ -674,7 +802,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
674
802
  /**
675
803
  * #getter
676
804
  */
677
- readonly tidyFilteredAnnotations: {
805
+ readonly tidyFilteredInterProAnnotations: {
678
806
  id: string;
679
807
  name: string;
680
808
  accession: string;
@@ -685,7 +813,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
685
813
  /**
686
814
  * #getter
687
815
  */
688
- readonly tidyFilteredGatheredAnnotations: Record<string, {
816
+ readonly tidyFilteredGatheredInterProAnnotations: Record<string, {
689
817
  id: string;
690
818
  name: string;
691
819
  accession: string;
@@ -694,11 +822,30 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
694
822
  end: number;
695
823
  }[] | undefined>;
696
824
  } & {
825
+ /**
826
+ * #getter
827
+ */
828
+ readonly showVerticalScrollbar: boolean;
829
+ } & {
830
+ /**
831
+ * #getter
832
+ */
833
+ readonly verticalScrollbarWidth: 0 | 20;
834
+ /**
835
+ * #getter
836
+ */
697
837
  readonly fillPalette: Record<string, string>;
838
+ /**
839
+ * #getter
840
+ */
698
841
  readonly strokePalette: {
699
842
  [k: string]: string;
700
843
  };
701
844
  } & {
845
+ /**
846
+ * #action
847
+ */
848
+ setHeaderHeight(arg: number): void;
702
849
  /**
703
850
  * #action
704
851
  */
@@ -739,7 +886,12 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
739
886
  colorSchemeName: string;
740
887
  id: string;
741
888
  showDomains: boolean;
889
+ allowedGappyness: number;
890
+ contrastLettering: boolean;
742
891
  subFeatureRows: boolean;
892
+ drawMsaLetters: boolean;
893
+ hideGaps: boolean;
894
+ drawTreeText: boolean;
743
895
  rowHeight: number;
744
896
  scrollY: number;
745
897
  scrollX: number;
@@ -795,7 +947,7 @@ declare function stateModelFactory(): import("mobx-state-tree").IModelType<{
795
947
  localPath: import("mobx-state-tree").ISimpleType<string>;
796
948
  }> | undefined;
797
949
  collapsed: string[];
798
- collapsed2: string[];
950
+ collapsedLeaves: string[];
799
951
  showOnly: string | undefined;
800
952
  turnedOffTracks: import("mobx").IKeyValueMap<boolean>;
801
953
  featureFilters: import("mobx").IKeyValueMap<boolean>;