@jbrowse/plugin-linear-genome-view 2.4.2 → 2.6.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 (326) hide show
  1. package/dist/BaseLinearDisplay/components/BaseLinearDisplay.d.ts +1 -1
  2. package/dist/BaseLinearDisplay/components/Block.d.ts +3 -3
  3. package/dist/BaseLinearDisplay/components/BlockMsg.d.ts +1 -1
  4. package/dist/BaseLinearDisplay/components/LinearBlocks.d.ts +3 -3
  5. package/dist/BaseLinearDisplay/components/TooLargeMessage.d.ts +5 -5
  6. package/dist/BaseLinearDisplay/components/TooLargeMessage.js +7 -3
  7. package/dist/BaseLinearDisplay/components/TooLargeMessage.js.map +1 -1
  8. package/dist/BaseLinearDisplay/components/Tooltip.d.ts +2 -2
  9. package/dist/BaseLinearDisplay/index.d.ts +5 -2
  10. package/dist/BaseLinearDisplay/index.js +7 -1
  11. package/dist/BaseLinearDisplay/index.js.map +1 -1
  12. package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +107 -126
  13. package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js +37 -352
  14. package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -1
  15. package/dist/BaseLinearDisplay/models/FeatureDensityMixin.d.ts +99 -0
  16. package/dist/BaseLinearDisplay/models/FeatureDensityMixin.js +190 -0
  17. package/dist/BaseLinearDisplay/models/FeatureDensityMixin.js.map +1 -0
  18. package/dist/BaseLinearDisplay/models/TrackHeightMixin.d.ts +30 -0
  19. package/dist/BaseLinearDisplay/models/TrackHeightMixin.js +56 -0
  20. package/dist/BaseLinearDisplay/models/TrackHeightMixin.js.map +1 -0
  21. package/dist/BaseLinearDisplay/models/autorunFeatureDensityStats.d.ts +2 -0
  22. package/dist/BaseLinearDisplay/models/autorunFeatureDensityStats.js +42 -0
  23. package/dist/BaseLinearDisplay/models/autorunFeatureDensityStats.js.map +1 -0
  24. package/dist/BaseLinearDisplay/models/configSchema.d.ts +35 -1
  25. package/dist/BaseLinearDisplay/models/configSchema.js +10 -0
  26. package/dist/BaseLinearDisplay/models/configSchema.js.map +1 -1
  27. package/dist/BaseLinearDisplay/models/renderSvg.d.ts +8 -0
  28. package/dist/BaseLinearDisplay/models/renderSvg.js +83 -0
  29. package/dist/BaseLinearDisplay/models/renderSvg.js.map +1 -0
  30. package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js +30 -22
  31. package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -1
  32. package/dist/BaseLinearDisplay/models/util.d.ts +6 -2
  33. package/dist/BaseLinearDisplay/models/util.js +4 -4
  34. package/dist/BaseLinearDisplay/models/util.js.map +1 -1
  35. package/dist/BasicTrack/configSchema.d.ts +73 -1
  36. package/dist/BasicTrack/configSchema.js +1 -0
  37. package/dist/BasicTrack/configSchema.js.map +1 -1
  38. package/dist/FeatureTrack/configSchema.d.ts +73 -1
  39. package/dist/FeatureTrack/configSchema.js +1 -0
  40. package/dist/FeatureTrack/configSchema.js.map +1 -1
  41. package/dist/LinearBareDisplay/configSchema.d.ts +29 -1
  42. package/dist/LinearBareDisplay/configSchema.js +1 -0
  43. package/dist/LinearBareDisplay/configSchema.js.map +1 -1
  44. package/dist/LinearBareDisplay/model.d.ts +106 -42
  45. package/dist/LinearBareDisplay/model.js +3 -2
  46. package/dist/LinearBareDisplay/model.js.map +1 -1
  47. package/dist/LinearBasicDisplay/components/SetMaxHeight.d.ts +2 -2
  48. package/dist/LinearBasicDisplay/configSchema.d.ts +29 -1
  49. package/dist/LinearBasicDisplay/configSchema.js +1 -9
  50. package/dist/LinearBasicDisplay/configSchema.js.map +1 -1
  51. package/dist/LinearBasicDisplay/model.d.ts +124 -62
  52. package/dist/LinearBasicDisplay/model.js +1 -0
  53. package/dist/LinearBasicDisplay/model.js.map +1 -1
  54. package/dist/LinearGenomeView/components/CenterLine.d.ts +2 -2
  55. package/dist/LinearGenomeView/components/Cytobands.d.ts +24 -24
  56. package/dist/LinearGenomeView/components/ExportSvgDialog.d.ts +2 -2
  57. package/dist/LinearGenomeView/components/GetSequenceDialog.d.ts +2 -2
  58. package/dist/LinearGenomeView/components/GetSequenceDialog.js +14 -16
  59. package/dist/LinearGenomeView/components/GetSequenceDialog.js.map +1 -1
  60. package/dist/LinearGenomeView/components/Gridlines.d.ts +2 -2
  61. package/dist/LinearGenomeView/components/Header.d.ts +2 -2
  62. package/dist/LinearGenomeView/components/ImportForm.d.ts +2 -2
  63. package/dist/LinearGenomeView/components/ImportForm.js +4 -7
  64. package/dist/LinearGenomeView/components/ImportForm.js.map +1 -1
  65. package/dist/LinearGenomeView/components/LinearGenomeView.d.ts +2 -2
  66. package/dist/LinearGenomeView/components/LinearGenomeView.js +28 -8
  67. package/dist/LinearGenomeView/components/LinearGenomeView.js.map +1 -1
  68. package/dist/LinearGenomeView/components/MiniControls.d.ts +3 -3
  69. package/dist/LinearGenomeView/components/MiniControls.js +20 -40
  70. package/dist/LinearGenomeView/components/MiniControls.js.map +1 -1
  71. package/dist/LinearGenomeView/components/OverviewRubberband.d.ts +1 -1
  72. package/dist/LinearGenomeView/components/OverviewScalebar.d.ts +2 -2
  73. package/dist/LinearGenomeView/components/OverviewScalebar.js +12 -5
  74. package/dist/LinearGenomeView/components/OverviewScalebar.js.map +1 -1
  75. package/dist/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.d.ts +10 -0
  76. package/dist/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js +22 -0
  77. package/dist/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js.map +1 -0
  78. package/dist/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.d.ts +5 -0
  79. package/dist/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js +52 -0
  80. package/dist/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js.map +1 -0
  81. package/dist/LinearGenomeView/components/{HelpDialog.d.ts → RefNameAutocomplete/HelpDialog.d.ts} +2 -2
  82. package/dist/LinearGenomeView/components/RefNameAutocomplete/HelpDialog.js.map +1 -0
  83. package/dist/LinearGenomeView/components/RefNameAutocomplete/index.d.ts +18 -0
  84. package/dist/LinearGenomeView/components/RefNameAutocomplete/index.js +111 -0
  85. package/dist/LinearGenomeView/components/RefNameAutocomplete/index.js.map +1 -0
  86. package/dist/LinearGenomeView/components/RefNameAutocomplete/util.d.ts +12 -0
  87. package/dist/LinearGenomeView/components/RefNameAutocomplete/util.js +59 -0
  88. package/dist/LinearGenomeView/components/RefNameAutocomplete/util.js.map +1 -0
  89. package/dist/LinearGenomeView/components/Rubberband.d.ts +1 -1
  90. package/dist/LinearGenomeView/components/RubberbandSpan.d.ts +2 -2
  91. package/dist/LinearGenomeView/components/SearchBox.d.ts +2 -2
  92. package/dist/LinearGenomeView/components/SearchResultsDialog.d.ts +7 -4
  93. package/dist/LinearGenomeView/components/SearchResultsDialog.js +6 -82
  94. package/dist/LinearGenomeView/components/SearchResultsDialog.js.map +1 -1
  95. package/dist/LinearGenomeView/components/SearchResultsTable.d.ts +9 -0
  96. package/dist/LinearGenomeView/components/SearchResultsTable.js +83 -0
  97. package/dist/LinearGenomeView/components/SearchResultsTable.js.map +1 -0
  98. package/dist/LinearGenomeView/components/SequenceSearchDialog.d.ts +2 -2
  99. package/dist/LinearGenomeView/components/TrackContainer.d.ts +3 -4
  100. package/dist/LinearGenomeView/components/TrackContainer.js +17 -67
  101. package/dist/LinearGenomeView/components/TrackContainer.js.map +1 -1
  102. package/dist/LinearGenomeView/components/TrackLabel.js +6 -10
  103. package/dist/LinearGenomeView/components/TrackLabel.js.map +1 -1
  104. package/dist/LinearGenomeView/components/TrackLabelContainer.d.ts +9 -0
  105. package/dist/LinearGenomeView/components/TrackLabelContainer.js +32 -0
  106. package/dist/LinearGenomeView/components/TrackLabelContainer.js.map +1 -0
  107. package/dist/LinearGenomeView/components/TrackRenderingContainer.d.ts +10 -0
  108. package/dist/LinearGenomeView/components/TrackRenderingContainer.js +74 -0
  109. package/dist/LinearGenomeView/components/TrackRenderingContainer.js.map +1 -0
  110. package/dist/LinearGenomeView/components/TracksContainer.d.ts +1 -1
  111. package/dist/LinearGenomeView/components/TracksContainer.js +5 -7
  112. package/dist/LinearGenomeView/components/TracksContainer.js.map +1 -1
  113. package/dist/LinearGenomeView/components/VerticalGuide.d.ts +2 -2
  114. package/dist/LinearGenomeView/components/ZoomControls.d.ts +2 -2
  115. package/dist/LinearGenomeView/components/util.js +1 -1
  116. package/dist/LinearGenomeView/components/util.js.map +1 -1
  117. package/dist/LinearGenomeView/model.d.ts +51 -37
  118. package/dist/LinearGenomeView/model.js +132 -209
  119. package/dist/LinearGenomeView/model.js.map +1 -1
  120. package/dist/LinearGenomeView/svgcomponents/SVGBackground.d.ts +2 -2
  121. package/dist/LinearGenomeView/svgcomponents/SVGHeader.d.ts +3 -5
  122. package/dist/LinearGenomeView/svgcomponents/SVGHeader.js +7 -2
  123. package/dist/LinearGenomeView/svgcomponents/SVGHeader.js.map +1 -1
  124. package/dist/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js +1 -1
  125. package/dist/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js.map +1 -1
  126. package/dist/LinearGenomeView/svgcomponents/SVGRegionSeparators.d.ts +2 -2
  127. package/dist/LinearGenomeView/svgcomponents/SVGRuler.d.ts +2 -2
  128. package/dist/LinearGenomeView/svgcomponents/SVGScalebar.d.ts +2 -2
  129. package/dist/LinearGenomeView/svgcomponents/SVGTrackLabel.d.ts +2 -2
  130. package/dist/LinearGenomeView/svgcomponents/SVGTracks.d.ts +2 -2
  131. package/dist/LinearGenomeView/util.d.ts +29 -0
  132. package/dist/LinearGenomeView/util.js +79 -1
  133. package/dist/LinearGenomeView/util.js.map +1 -1
  134. package/dist/index.d.ts +325 -180
  135. package/dist/index.js +6 -3
  136. package/dist/index.js.map +1 -1
  137. package/esm/BaseLinearDisplay/components/BaseLinearDisplay.d.ts +1 -1
  138. package/esm/BaseLinearDisplay/components/Block.d.ts +3 -3
  139. package/esm/BaseLinearDisplay/components/BlockMsg.d.ts +1 -1
  140. package/esm/BaseLinearDisplay/components/LinearBlocks.d.ts +3 -3
  141. package/esm/BaseLinearDisplay/components/TooLargeMessage.d.ts +5 -5
  142. package/esm/BaseLinearDisplay/components/TooLargeMessage.js +7 -3
  143. package/esm/BaseLinearDisplay/components/TooLargeMessage.js.map +1 -1
  144. package/esm/BaseLinearDisplay/components/Tooltip.d.ts +2 -2
  145. package/esm/BaseLinearDisplay/index.d.ts +5 -2
  146. package/esm/BaseLinearDisplay/index.js +3 -0
  147. package/esm/BaseLinearDisplay/index.js.map +1 -1
  148. package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +107 -126
  149. package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js +39 -331
  150. package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -1
  151. package/esm/BaseLinearDisplay/models/FeatureDensityMixin.d.ts +99 -0
  152. package/esm/BaseLinearDisplay/models/FeatureDensityMixin.js +184 -0
  153. package/esm/BaseLinearDisplay/models/FeatureDensityMixin.js.map +1 -0
  154. package/esm/BaseLinearDisplay/models/TrackHeightMixin.d.ts +30 -0
  155. package/esm/BaseLinearDisplay/models/TrackHeightMixin.js +53 -0
  156. package/esm/BaseLinearDisplay/models/TrackHeightMixin.js.map +1 -0
  157. package/esm/BaseLinearDisplay/models/autorunFeatureDensityStats.d.ts +2 -0
  158. package/esm/BaseLinearDisplay/models/autorunFeatureDensityStats.js +39 -0
  159. package/esm/BaseLinearDisplay/models/autorunFeatureDensityStats.js.map +1 -0
  160. package/esm/BaseLinearDisplay/models/configSchema.d.ts +35 -1
  161. package/esm/BaseLinearDisplay/models/configSchema.js +10 -0
  162. package/esm/BaseLinearDisplay/models/configSchema.js.map +1 -1
  163. package/esm/BaseLinearDisplay/models/renderSvg.d.ts +8 -0
  164. package/esm/BaseLinearDisplay/models/renderSvg.js +54 -0
  165. package/esm/BaseLinearDisplay/models/renderSvg.js.map +1 -0
  166. package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js +30 -22
  167. package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -1
  168. package/esm/BaseLinearDisplay/models/util.d.ts +6 -2
  169. package/esm/BaseLinearDisplay/models/util.js +2 -2
  170. package/esm/BaseLinearDisplay/models/util.js.map +1 -1
  171. package/esm/BasicTrack/configSchema.d.ts +73 -1
  172. package/esm/BasicTrack/configSchema.js +1 -0
  173. package/esm/BasicTrack/configSchema.js.map +1 -1
  174. package/esm/FeatureTrack/configSchema.d.ts +73 -1
  175. package/esm/FeatureTrack/configSchema.js +1 -0
  176. package/esm/FeatureTrack/configSchema.js.map +1 -1
  177. package/esm/LinearBareDisplay/configSchema.d.ts +29 -1
  178. package/esm/LinearBareDisplay/configSchema.js +1 -0
  179. package/esm/LinearBareDisplay/configSchema.js.map +1 -1
  180. package/esm/LinearBareDisplay/model.d.ts +106 -42
  181. package/esm/LinearBareDisplay/model.js +2 -1
  182. package/esm/LinearBareDisplay/model.js.map +1 -1
  183. package/esm/LinearBasicDisplay/components/SetMaxHeight.d.ts +2 -2
  184. package/esm/LinearBasicDisplay/configSchema.d.ts +29 -1
  185. package/esm/LinearBasicDisplay/configSchema.js +1 -9
  186. package/esm/LinearBasicDisplay/configSchema.js.map +1 -1
  187. package/esm/LinearBasicDisplay/model.d.ts +124 -62
  188. package/esm/LinearBasicDisplay/model.js +1 -0
  189. package/esm/LinearBasicDisplay/model.js.map +1 -1
  190. package/esm/LinearGenomeView/components/CenterLine.d.ts +2 -2
  191. package/esm/LinearGenomeView/components/Cytobands.d.ts +24 -24
  192. package/esm/LinearGenomeView/components/ExportSvgDialog.d.ts +2 -2
  193. package/esm/LinearGenomeView/components/GetSequenceDialog.d.ts +2 -2
  194. package/esm/LinearGenomeView/components/GetSequenceDialog.js +15 -17
  195. package/esm/LinearGenomeView/components/GetSequenceDialog.js.map +1 -1
  196. package/esm/LinearGenomeView/components/Gridlines.d.ts +2 -2
  197. package/esm/LinearGenomeView/components/Header.d.ts +2 -2
  198. package/esm/LinearGenomeView/components/ImportForm.d.ts +2 -2
  199. package/esm/LinearGenomeView/components/ImportForm.js +5 -8
  200. package/esm/LinearGenomeView/components/ImportForm.js.map +1 -1
  201. package/esm/LinearGenomeView/components/LinearGenomeView.d.ts +2 -2
  202. package/esm/LinearGenomeView/components/LinearGenomeView.js +4 -7
  203. package/esm/LinearGenomeView/components/LinearGenomeView.js.map +1 -1
  204. package/esm/LinearGenomeView/components/MiniControls.d.ts +3 -3
  205. package/esm/LinearGenomeView/components/MiniControls.js +20 -17
  206. package/esm/LinearGenomeView/components/MiniControls.js.map +1 -1
  207. package/esm/LinearGenomeView/components/OverviewRubberband.d.ts +1 -1
  208. package/esm/LinearGenomeView/components/OverviewScalebar.d.ts +2 -2
  209. package/esm/LinearGenomeView/components/OverviewScalebar.js +12 -5
  210. package/esm/LinearGenomeView/components/OverviewScalebar.js.map +1 -1
  211. package/esm/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.d.ts +10 -0
  212. package/esm/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js +16 -0
  213. package/esm/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.js.map +1 -0
  214. package/esm/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.d.ts +5 -0
  215. package/esm/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js +23 -0
  216. package/esm/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js.map +1 -0
  217. package/esm/LinearGenomeView/components/{HelpDialog.d.ts → RefNameAutocomplete/HelpDialog.d.ts} +2 -2
  218. package/esm/LinearGenomeView/components/RefNameAutocomplete/HelpDialog.js.map +1 -0
  219. package/esm/LinearGenomeView/components/RefNameAutocomplete/index.d.ts +18 -0
  220. package/esm/LinearGenomeView/components/RefNameAutocomplete/index.js +83 -0
  221. package/esm/LinearGenomeView/components/RefNameAutocomplete/index.js.map +1 -0
  222. package/esm/LinearGenomeView/components/RefNameAutocomplete/util.d.ts +12 -0
  223. package/esm/LinearGenomeView/components/RefNameAutocomplete/util.js +50 -0
  224. package/esm/LinearGenomeView/components/RefNameAutocomplete/util.js.map +1 -0
  225. package/esm/LinearGenomeView/components/Rubberband.d.ts +1 -1
  226. package/esm/LinearGenomeView/components/RubberbandSpan.d.ts +2 -2
  227. package/esm/LinearGenomeView/components/SearchBox.d.ts +2 -2
  228. package/esm/LinearGenomeView/components/SearchResultsDialog.d.ts +7 -4
  229. package/esm/LinearGenomeView/components/SearchResultsDialog.js +7 -83
  230. package/esm/LinearGenomeView/components/SearchResultsDialog.js.map +1 -1
  231. package/esm/LinearGenomeView/components/SearchResultsTable.d.ts +9 -0
  232. package/esm/LinearGenomeView/components/SearchResultsTable.js +77 -0
  233. package/esm/LinearGenomeView/components/SearchResultsTable.js.map +1 -0
  234. package/esm/LinearGenomeView/components/SequenceSearchDialog.d.ts +2 -2
  235. package/esm/LinearGenomeView/components/TrackContainer.d.ts +3 -4
  236. package/esm/LinearGenomeView/components/TrackContainer.js +18 -68
  237. package/esm/LinearGenomeView/components/TrackContainer.js.map +1 -1
  238. package/esm/LinearGenomeView/components/TrackLabel.js +6 -10
  239. package/esm/LinearGenomeView/components/TrackLabel.js.map +1 -1
  240. package/esm/LinearGenomeView/components/TrackLabelContainer.d.ts +9 -0
  241. package/esm/LinearGenomeView/components/TrackLabelContainer.js +27 -0
  242. package/esm/LinearGenomeView/components/TrackLabelContainer.js.map +1 -0
  243. package/esm/LinearGenomeView/components/TrackRenderingContainer.d.ts +10 -0
  244. package/esm/LinearGenomeView/components/TrackRenderingContainer.js +49 -0
  245. package/esm/LinearGenomeView/components/TrackRenderingContainer.js.map +1 -0
  246. package/esm/LinearGenomeView/components/TracksContainer.d.ts +1 -1
  247. package/esm/LinearGenomeView/components/TracksContainer.js +5 -7
  248. package/esm/LinearGenomeView/components/TracksContainer.js.map +1 -1
  249. package/esm/LinearGenomeView/components/VerticalGuide.d.ts +2 -2
  250. package/esm/LinearGenomeView/components/ZoomControls.d.ts +2 -2
  251. package/esm/LinearGenomeView/components/util.js +1 -1
  252. package/esm/LinearGenomeView/components/util.js.map +1 -1
  253. package/esm/LinearGenomeView/model.d.ts +51 -37
  254. package/esm/LinearGenomeView/model.js +129 -206
  255. package/esm/LinearGenomeView/model.js.map +1 -1
  256. package/esm/LinearGenomeView/svgcomponents/SVGBackground.d.ts +2 -2
  257. package/esm/LinearGenomeView/svgcomponents/SVGHeader.d.ts +3 -5
  258. package/esm/LinearGenomeView/svgcomponents/SVGHeader.js +7 -2
  259. package/esm/LinearGenomeView/svgcomponents/SVGHeader.js.map +1 -1
  260. package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js +1 -1
  261. package/esm/LinearGenomeView/svgcomponents/SVGLinearGenomeView.js.map +1 -1
  262. package/esm/LinearGenomeView/svgcomponents/SVGRegionSeparators.d.ts +2 -2
  263. package/esm/LinearGenomeView/svgcomponents/SVGRuler.d.ts +2 -2
  264. package/esm/LinearGenomeView/svgcomponents/SVGScalebar.d.ts +2 -2
  265. package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.d.ts +2 -2
  266. package/esm/LinearGenomeView/svgcomponents/SVGTracks.d.ts +2 -2
  267. package/esm/LinearGenomeView/util.d.ts +29 -0
  268. package/esm/LinearGenomeView/util.js +76 -0
  269. package/esm/LinearGenomeView/util.js.map +1 -1
  270. package/esm/index.d.ts +325 -180
  271. package/esm/index.js +1 -1
  272. package/esm/index.js.map +1 -1
  273. package/package.json +3 -3
  274. package/src/BaseLinearDisplay/components/TooLargeMessage.tsx +10 -6
  275. package/src/BaseLinearDisplay/index.ts +5 -1
  276. package/src/BaseLinearDisplay/models/BaseLinearDisplayModel.tsx +50 -401
  277. package/src/BaseLinearDisplay/models/FeatureDensityMixin.tsx +213 -0
  278. package/src/BaseLinearDisplay/models/TrackHeightMixin.tsx +59 -0
  279. package/src/BaseLinearDisplay/models/autorunFeatureDensityStats.ts +46 -0
  280. package/src/BaseLinearDisplay/models/configSchema.ts +11 -0
  281. package/src/BaseLinearDisplay/models/renderSvg.tsx +101 -0
  282. package/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts +40 -32
  283. package/src/BaseLinearDisplay/models/util.ts +10 -4
  284. package/src/BasicTrack/configSchema.ts +1 -0
  285. package/src/FeatureTrack/configSchema.ts +1 -0
  286. package/src/LinearBareDisplay/configSchema.ts +1 -0
  287. package/src/LinearBareDisplay/model.ts +2 -1
  288. package/src/LinearBasicDisplay/configSchema.ts +1 -10
  289. package/src/LinearBasicDisplay/model.ts +1 -0
  290. package/src/LinearGenomeView/components/GetSequenceDialog.tsx +15 -25
  291. package/src/LinearGenomeView/components/ImportForm.tsx +4 -14
  292. package/src/LinearGenomeView/components/LinearGenomeView.test.tsx +3 -3
  293. package/src/LinearGenomeView/components/LinearGenomeView.tsx +6 -17
  294. package/src/LinearGenomeView/components/MiniControls.tsx +37 -38
  295. package/src/LinearGenomeView/components/OverviewScalebar.tsx +13 -6
  296. package/src/LinearGenomeView/components/RefNameAutocomplete/AutocompleteTextField.tsx +53 -0
  297. package/src/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.tsx +44 -0
  298. package/src/LinearGenomeView/components/RefNameAutocomplete/index.tsx +160 -0
  299. package/src/LinearGenomeView/components/RefNameAutocomplete/util.ts +65 -0
  300. package/src/LinearGenomeView/components/SearchResultsDialog.tsx +17 -112
  301. package/src/LinearGenomeView/components/SearchResultsTable.tsx +121 -0
  302. package/src/LinearGenomeView/components/TrackContainer.tsx +25 -104
  303. package/src/LinearGenomeView/components/TrackLabel.tsx +7 -27
  304. package/src/LinearGenomeView/components/TrackLabelContainer.tsx +48 -0
  305. package/src/LinearGenomeView/components/TrackRenderingContainer.tsx +96 -0
  306. package/src/LinearGenomeView/components/TracksContainer.tsx +9 -6
  307. package/src/LinearGenomeView/components/__snapshots__/LinearGenomeView.test.tsx.snap +14 -14
  308. package/src/LinearGenomeView/components/util.ts +2 -1
  309. package/src/LinearGenomeView/index.test.ts +10 -12
  310. package/src/LinearGenomeView/model.ts +175 -247
  311. package/src/LinearGenomeView/svgcomponents/SVGHeader.tsx +8 -6
  312. package/src/LinearGenomeView/svgcomponents/SVGLinearGenomeView.tsx +1 -1
  313. package/src/LinearGenomeView/util.ts +98 -0
  314. package/src/index.ts +11 -5
  315. package/dist/LinearGenomeView/components/HelpDialog.js.map +0 -1
  316. package/dist/LinearGenomeView/components/RefNameAutocomplete.d.ts +0 -23
  317. package/dist/LinearGenomeView/components/RefNameAutocomplete.js +0 -182
  318. package/dist/LinearGenomeView/components/RefNameAutocomplete.js.map +0 -1
  319. package/esm/LinearGenomeView/components/HelpDialog.js.map +0 -1
  320. package/esm/LinearGenomeView/components/RefNameAutocomplete.d.ts +0 -23
  321. package/esm/LinearGenomeView/components/RefNameAutocomplete.js +0 -154
  322. package/esm/LinearGenomeView/components/RefNameAutocomplete.js.map +0 -1
  323. package/src/LinearGenomeView/components/RefNameAutocomplete.tsx +0 -279
  324. /package/dist/LinearGenomeView/components/{HelpDialog.js → RefNameAutocomplete/HelpDialog.js} +0 -0
  325. /package/esm/LinearGenomeView/components/{HelpDialog.js → RefNameAutocomplete/HelpDialog.js} +0 -0
  326. /package/src/LinearGenomeView/components/{HelpDialog.tsx → RefNameAutocomplete/HelpDialog.tsx} +0 -0
@@ -3,7 +3,7 @@ import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel';
3
3
  declare const BaseLinearDisplay: (props: {
4
4
  model: BaseLinearDisplayModel;
5
5
  children?: React.ReactNode;
6
- }) => JSX.Element;
6
+ }) => React.JSX.Element;
7
7
  export default BaseLinearDisplay;
8
8
  export { default as Tooltip } from './Tooltip';
9
9
  export { default as BlockMsg } from './BlockMsg';
@@ -3,13 +3,13 @@ import { BaseBlock } from '@jbrowse/core/util/blockTypes';
3
3
  declare const ContentBlock: ({ block, children, }: {
4
4
  block: BaseBlock;
5
5
  children: React.ReactNode;
6
- }) => JSX.Element;
6
+ }) => React.JSX.Element;
7
7
  declare function ElidedBlock({ width }: {
8
8
  width: number;
9
- }): JSX.Element;
9
+ }): React.JSX.Element;
10
10
  declare function InterRegionPaddingBlock({ boundary, width, style, }: {
11
11
  boundary: boolean;
12
12
  width: number;
13
13
  style?: React.CSSProperties;
14
- }): JSX.Element;
14
+ }): React.JSX.Element;
15
15
  export { ContentBlock, ElidedBlock, InterRegionPaddingBlock };
@@ -6,4 +6,4 @@ export default function BlockMsg({ message, severity, buttonText, icon, action,
6
6
  buttonText?: string;
7
7
  icon?: React.ReactNode;
8
8
  action?: () => void;
9
- }): JSX.Element;
9
+ }): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel';
3
3
  declare const useStyles: (params: void, styleOverrides?: {
4
4
  props: any;
@@ -11,10 +11,10 @@ declare const useStyles: (params: void, styleOverrides?: {
11
11
  };
12
12
  declare const RenderedBlocks: ({ model, }: {
13
13
  model: BaseLinearDisplayModel;
14
- }) => JSX.Element;
14
+ }) => React.JSX.Element;
15
15
  declare function LinearBlocks({ model }: {
16
16
  model: BaseLinearDisplayModel;
17
- }): JSX.Element;
17
+ }): React.JSX.Element;
18
18
  export { RenderedBlocks, useStyles };
19
19
  declare const _default: typeof LinearBlocks;
20
20
  export default _default;
@@ -1,11 +1,11 @@
1
- /// <reference types="react" />
2
- import { Stats } from '@jbrowse/core/data_adapters/BaseAdapter';
1
+ import React from 'react';
2
+ import { FeatureDensityStats } from '@jbrowse/core/data_adapters/BaseAdapter';
3
3
  declare function TooLargeMessage({ model, }: {
4
4
  model: {
5
5
  regionTooLargeReason: string;
6
- estimatedRegionsStats?: Stats;
7
- updateStatsLimit: (s?: Stats) => void;
6
+ featureDensityStats?: FeatureDensityStats;
7
+ setFeatureDensityStatsLimit: (s?: FeatureDensityStats) => void;
8
8
  reload: () => void;
9
9
  };
10
- }): JSX.Element;
10
+ }): React.JSX.Element;
11
11
  export default TooLargeMessage;
@@ -9,10 +9,14 @@ const BlockMsg_1 = __importDefault(require("../components/BlockMsg"));
9
9
  function TooLargeMessage({ model, }) {
10
10
  const { regionTooLargeReason } = model;
11
11
  return (react_1.default.createElement(BlockMsg_1.default, { severity: "warning", action: () => {
12
- model.updateStatsLimit(model.estimatedRegionsStats);
12
+ model.setFeatureDensityStatsLimit(model.featureDensityStats);
13
13
  model.reload();
14
- }, buttonText: "Force load", message: `${regionTooLargeReason ? `${regionTooLargeReason}. ` : ''}
15
- Zoom in to see features or force load (may be slow).` }));
14
+ }, buttonText: "Force load", message: [
15
+ regionTooLargeReason,
16
+ 'Zoom in to see features or force load (may be slow)',
17
+ ]
18
+ .filter(f => !!f)
19
+ .join('. ') }));
16
20
  }
17
21
  exports.default = TooLargeMessage;
18
22
  //# sourceMappingURL=TooLargeMessage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TooLargeMessage.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/components/TooLargeMessage.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AAGzB,SAAS;AACT,sEAA6C;AAE7C,SAAS,eAAe,CAAC,EACvB,KAAK,GAQN;IACC,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,8BAAC,kBAAQ,IACP,QAAQ,EAAC,SAAS,EAClB,MAAM,EAAE,GAAG,EAAE;YACX,KAAK,CAAC,gBAAgB,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAA;YACnD,KAAK,CAAC,MAAM,EAAE,CAAA;QAChB,CAAC,EACD,UAAU,EAAC,YAAY,EACvB,OAAO,EAAE,GAAG,oBAAoB,CAAC,CAAC,CAAC,GAAG,oBAAoB,IAAI,CAAC,CAAC,CAAC,EAAE;2DACd,GACrD,CACH,CAAA;AACH,CAAC;AAED,kBAAe,eAAe,CAAA"}
1
+ {"version":3,"file":"TooLargeMessage.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/components/TooLargeMessage.tsx"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AAGzB,SAAS;AACT,sEAA6C;AAE7C,SAAS,eAAe,CAAC,EACvB,KAAK,GAQN;IACC,MAAM,EAAE,oBAAoB,EAAE,GAAG,KAAK,CAAA;IACtC,OAAO,CACL,8BAAC,kBAAQ,IACP,QAAQ,EAAC,SAAS,EAClB,MAAM,EAAE,GAAG,EAAE;YACX,KAAK,CAAC,2BAA2B,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAA;YAC5D,KAAK,CAAC,MAAM,EAAE,CAAA;QAChB,CAAC,EACD,UAAU,EAAC,YAAY,EACvB,OAAO,EAAE;YACP,oBAAoB;YACpB,qDAAqD;SACtD;aACE,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC;aAChB,IAAI,CAAC,IAAI,CAAC,GACb,CACH,CAAA;AACH,CAAC;AAED,kBAAe,eAAe,CAAA"}
@@ -1,8 +1,8 @@
1
- /// <reference types="react" />
1
+ import React from 'react';
2
2
  import { BaseLinearDisplayModel } from '../models/BaseLinearDisplayModel';
3
3
  type Coord = [number, number];
4
4
  declare const Tooltip: ({ model, clientMouseCoord, }: {
5
5
  model: BaseLinearDisplayModel;
6
6
  clientMouseCoord: Coord;
7
- }) => JSX.Element | null;
7
+ }) => React.JSX.Element | null;
8
8
  export default Tooltip;
@@ -1,5 +1,8 @@
1
1
  export { default as baseLinearDisplayConfigSchema } from './models/configSchema';
2
- export { BaseLinearDisplay } from './models/BaseLinearDisplayModel';
3
2
  export type { BlockModel } from './models/serverSideRenderedBlock';
4
- export type { BaseLinearDisplayModel, BaseLinearDisplayStateModel, } from './models/BaseLinearDisplayModel';
3
+ export { BaseLinearDisplay } from './models/BaseLinearDisplayModel';
4
+ export type { ExportSvgDisplayOptions, BaseLinearDisplayModel, BaseLinearDisplayStateModel, } from './models/BaseLinearDisplayModel';
5
5
  export { default as BaseLinearDisplayComponent, Tooltip, BlockMsg, } from './components/BaseLinearDisplay';
6
+ export { default as TrackHeightMixin } from './models/TrackHeightMixin';
7
+ export { default as FeatureDensityMixin } from './models/FeatureDensityMixin';
8
+ export { default as TooLargeMessage } from './components/TooLargeMessage';
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.BlockMsg = exports.Tooltip = exports.BaseLinearDisplayComponent = exports.BaseLinearDisplay = exports.baseLinearDisplayConfigSchema = void 0;
6
+ exports.TooLargeMessage = exports.FeatureDensityMixin = exports.TrackHeightMixin = exports.BlockMsg = exports.Tooltip = exports.BaseLinearDisplayComponent = exports.BaseLinearDisplay = exports.baseLinearDisplayConfigSchema = void 0;
7
7
  var configSchema_1 = require("./models/configSchema");
8
8
  Object.defineProperty(exports, "baseLinearDisplayConfigSchema", { enumerable: true, get: function () { return __importDefault(configSchema_1).default; } });
9
9
  var BaseLinearDisplayModel_1 = require("./models/BaseLinearDisplayModel");
@@ -12,4 +12,10 @@ var BaseLinearDisplay_1 = require("./components/BaseLinearDisplay");
12
12
  Object.defineProperty(exports, "BaseLinearDisplayComponent", { enumerable: true, get: function () { return __importDefault(BaseLinearDisplay_1).default; } });
13
13
  Object.defineProperty(exports, "Tooltip", { enumerable: true, get: function () { return BaseLinearDisplay_1.Tooltip; } });
14
14
  Object.defineProperty(exports, "BlockMsg", { enumerable: true, get: function () { return BaseLinearDisplay_1.BlockMsg; } });
15
+ var TrackHeightMixin_1 = require("./models/TrackHeightMixin");
16
+ Object.defineProperty(exports, "TrackHeightMixin", { enumerable: true, get: function () { return __importDefault(TrackHeightMixin_1).default; } });
17
+ var FeatureDensityMixin_1 = require("./models/FeatureDensityMixin");
18
+ Object.defineProperty(exports, "FeatureDensityMixin", { enumerable: true, get: function () { return __importDefault(FeatureDensityMixin_1).default; } });
19
+ var TooLargeMessage_1 = require("./components/TooLargeMessage");
20
+ Object.defineProperty(exports, "TooLargeMessage", { enumerable: true, get: function () { return __importDefault(TooLargeMessage_1).default; } });
15
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/BaseLinearDisplay/index.ts"],"names":[],"mappings":";;;;;;AAAA,sDAAgF;AAAvE,8IAAA,OAAO,OAAiC;AACjD,0EAAmE;AAA1D,2HAAA,iBAAiB,OAAA;AAM1B,oEAIuC;AAHrC,gJAAA,OAAO,OAA8B;AACrC,4GAAA,OAAO,OAAA;AACP,6GAAA,QAAQ,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/BaseLinearDisplay/index.ts"],"names":[],"mappings":";;;;;;AAAA,sDAAgF;AAAvE,8IAAA,OAAO,OAAiC;AAEjD,0EAAmE;AAA1D,2HAAA,iBAAiB,OAAA;AAM1B,oEAIuC;AAHrC,gJAAA,OAAO,OAA8B;AACrC,4GAAA,OAAO,OAAA;AACP,6GAAA,QAAQ,OAAA;AAEV,8DAAuE;AAA9D,qIAAA,OAAO,OAAoB;AACpC,oEAA6E;AAApE,2IAAA,OAAO,OAAuB;AACvC,gEAAyE;AAAhE,mIAAA,OAAO,OAAmB"}
@@ -2,9 +2,7 @@ import React from 'react';
2
2
  import { ThemeOptions } from '@mui/material';
3
3
  import { MenuItem } from '@jbrowse/core/ui';
4
4
  import { Feature } from '@jbrowse/core/util';
5
- import { Stats } from '@jbrowse/core/data_adapters/BaseAdapter';
6
5
  import { BaseBlock } from '@jbrowse/core/util/blockTypes';
7
- import { Region } from '@jbrowse/core/util/types';
8
6
  import CompositeMap from '@jbrowse/core/util/compositeMap';
9
7
  import { Instance } from 'mobx-state-tree';
10
8
  import { ExportSvgOptions } from '../../LinearGenomeView';
@@ -16,15 +14,20 @@ export interface Layout {
16
14
  name: string;
17
15
  }
18
16
  type LayoutRecord = [number, number, number, number];
17
+ export interface ExportSvgDisplayOptions extends ExportSvgOptions {
18
+ overrideHeight: number;
19
+ theme: ThemeOptions;
20
+ }
19
21
  export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
20
22
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
21
23
  type: import("mobx-state-tree").ISimpleType<string>;
22
24
  rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
23
25
  } & {
24
- /**
25
- * #property
26
- */
27
26
  heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
27
+ } & {
28
+ userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
29
+ userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
30
+ } & {
28
31
  /**
29
32
  * #property
30
33
  * updated via autorun
@@ -78,14 +81,33 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
78
81
  /**
79
82
  * #property
80
83
  */
81
- userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
82
- /**
83
- * #property
84
- */
85
- userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
84
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
85
+ maxFeatureScreenDensity: {
86
+ type: string;
87
+ description: string;
88
+ defaultValue: number;
89
+ };
90
+ fetchSizeLimit: {
91
+ type: string;
92
+ defaultValue: number;
93
+ description: string;
94
+ };
95
+ height: {
96
+ type: string;
97
+ defaultValue: number;
98
+ description: string;
99
+ };
100
+ mouseover: {
101
+ type: string;
102
+ description: string;
103
+ defaultValue: string;
104
+ contextVariable: string[];
105
+ };
106
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
86
107
  }, {
87
108
  rendererTypeName: string;
88
109
  error: unknown;
110
+ message: string | undefined;
89
111
  } & {
90
112
  readonly RenderingComponent: React.FC<{
91
113
  model: {
@@ -95,6 +117,7 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
95
117
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
96
118
  rendererTypeName: string;
97
119
  error: unknown;
120
+ message: string | undefined;
98
121
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
99
122
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
100
123
  type: import("mobx-state-tree").ISimpleType<string>;
@@ -102,6 +125,7 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
102
125
  }, {
103
126
  rendererTypeName: string;
104
127
  error: unknown;
128
+ message: string | undefined;
105
129
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
106
130
  onHorizontalScroll?: Function | undefined;
107
131
  blockState?: Record<string, any> | undefined;
@@ -114,13 +138,17 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
114
138
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
115
139
  rendererTypeName: string;
116
140
  error: unknown;
141
+ message: string | undefined;
117
142
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
118
143
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
119
144
  type: import("mobx-state-tree").ISimpleType<string>;
120
145
  rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
121
146
  }, {
122
- rendererTypeName: string;
147
+ rendererTypeName: string; /**
148
+ * #getter
149
+ */
123
150
  error: unknown;
151
+ message: string | undefined;
124
152
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
125
153
  }> | null;
126
154
  readonly adapterConfig: any;
@@ -130,21 +158,52 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
130
158
  readonly DisplayMessageComponent: React.FC<any> | undefined;
131
159
  trackMenuItems(): MenuItem[];
132
160
  readonly viewMenuActions: MenuItem[];
133
- regionCannotBeRendered(): undefined;
161
+ regionCannotBeRendered(): null;
134
162
  } & {
163
+ setMessage(arg?: string | undefined): void;
135
164
  setError(error?: unknown): void;
136
165
  setRpcDriverName(rpcDriverName: string): void;
137
166
  reload(): void;
138
167
  } & {
139
- currBpPerPx: number;
140
168
  scrollTop: number;
141
- message: string;
169
+ } & {
170
+ readonly height: number;
171
+ } & {
172
+ setScrollTop(scrollTop: number): void;
173
+ setHeight(displayHeight: number): number;
174
+ resizeHeight(distance: number): number;
175
+ } & {
176
+ featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
177
+ featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined;
178
+ currStatsBpPerPx: number;
179
+ } & {
180
+ readonly currentBytesRequested: number;
181
+ readonly currentFeatureScreenDensity: number;
182
+ readonly maxFeatureScreenDensity: any; /**
183
+ * #property
184
+ * updated via autorun
185
+ */
186
+ readonly featureDensityStatsReady: boolean;
187
+ readonly maxAllowableBytes: number;
188
+ } & {
189
+ afterAttach(): void;
190
+ } & {
191
+ setCurrStatsBpPerPx(n: number): void;
192
+ setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
193
+ getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
194
+ setFeatureDensityStatsP(arg: any): void;
195
+ setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
196
+ clearFeatureDensityStats(): void;
197
+ } & {
198
+ readonly regionTooLarge: boolean;
199
+ readonly regionTooLargeReason: string;
200
+ } & {
201
+ regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
202
+ regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): React.JSX.Element | null;
203
+ } & {
142
204
  featureIdUnderMouse: string | undefined;
143
205
  contextMenuFeature: Feature | undefined;
144
- estimatedRegionsStatsP: Promise<Stats> | undefined;
145
- estimatedRegionsStats: Stats | undefined;
146
206
  } & {
147
- readonly height: number;
148
207
  /**
149
208
  * #getter
150
209
  */
@@ -199,73 +258,11 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
199
258
  * #getter
200
259
  */
201
260
  searchFeatureByID(id: string): LayoutRecord | undefined;
202
- /**
203
- * #getter
204
- */
205
- readonly currentBytesRequested: number;
206
- /**
207
- * #getter
208
- */
209
- readonly currentFeatureScreenDensity: number;
210
- /**
211
- * #getter
212
- */
213
- readonly maxFeatureScreenDensity: any;
214
- /**
215
- * #getter
216
- */
217
- readonly estimatedStatsReady: boolean;
218
- /**
219
- * #getter
220
- */
221
- readonly maxAllowableBytes: number;
222
- } & {
223
- /**
224
- * #action
225
- */
226
- setMessage(message: string): void;
227
261
  } & {
228
- afterAttach(): void;
229
- /**
230
- * #action
231
- */
232
- estimateRegionsStats(): Promise<Stats>;
233
- /**
234
- * #action
235
- */
236
- setRegionsStatsP(arg: any): void;
237
- /**
238
- * #action
239
- */
240
- setRegionsStats(estimatedRegionsStats?: Stats): void;
241
- /**
242
- * #action
243
- */
244
- clearRegionsStats(): void;
245
- /**
246
- * #action
247
- */
248
- setHeight(displayHeight: number): number;
249
- /**
250
- * #action
251
- */
252
- resizeHeight(distance: number): number;
253
- /**
254
- * #action
255
- */
256
- setScrollTop(scrollTop: number): void;
257
- /**
258
- * #action
259
- */
260
- updateStatsLimit(stats?: Stats): void;
261
262
  /**
262
263
  * #action
263
264
  */
264
265
  addBlock(key: string, block: BaseBlock): void;
265
- /**
266
- * #action
267
- */
268
- setCurrBpPerPx(n: number): void;
269
266
  /**
270
267
  * #action
271
268
  */
@@ -281,51 +278,17 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
281
278
  /**
282
279
  * #action
283
280
  */
284
- setFeatureIdUnderMouse(feature: string | undefined): void;
285
- /**
286
- * #action
287
- */
288
- reload(): void;
281
+ setFeatureIdUnderMouse(feature?: string): void;
289
282
  /**
290
283
  * #action
291
284
  */
292
285
  setContextMenuFeature(feature?: Feature): void;
293
- } & {
294
- /**
295
- * #getter
296
- * region is too large if:
297
- * - stats are ready
298
- * - region is greater than 20kb (don't warn when zoomed in less than that)
299
- * - and bytes is greater than max allowed bytes or density greater than max density
300
- */
301
- readonly regionTooLarge: boolean;
302
- /**
303
- * #getter
304
- * only shows a message of bytes requested is defined, the feature density
305
- * based stats don't produce any helpful message besides to zoom in
306
- */
307
- readonly regionTooLargeReason: string;
308
286
  } & {
309
287
  /**
310
288
  * #action
311
289
  */
312
290
  reload(): Promise<void>;
313
291
  } & {
314
- afterAttach(): void;
315
- } & {
316
- /**
317
- * #method
318
- */
319
- regionCannotBeRenderedText(_region: Region): "" | "Force load to see features";
320
- /**
321
- * #method
322
- * @param region -
323
- * @returns falsy if the region is fine to try rendering. Otherwise,
324
- * return a react node + string of text.
325
- * string of text describes why it cannot be rendered
326
- * react node allows user to force load at current setting
327
- */
328
- regionCannotBeRendered(_region: Region): JSX.Element | null;
329
292
  /**
330
293
  * #method
331
294
  */
@@ -342,19 +305,18 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
342
305
  /**
343
306
  * #method
344
307
  */
345
- renderSvg(opts: ExportSvgOptions & {
346
- overrideHeight: number;
347
- theme: ThemeOptions;
348
- }): Promise<JSX.Element>;
308
+ renderSvg(opts: ExportSvgDisplayOptions): Promise<React.JSX.Element>;
309
+ afterAttach(): void;
349
310
  }, import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
350
311
  id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
351
312
  type: import("mobx-state-tree").ISimpleType<string>;
352
313
  rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
353
314
  } & {
354
- /**
355
- * #property
356
- */
357
315
  heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
316
+ } & {
317
+ userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
318
+ userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
319
+ } & {
358
320
  /**
359
321
  * #property
360
322
  * updated via autorun
@@ -408,14 +370,33 @@ export declare const BaseLinearDisplay: import("mobx-state-tree").IModelType<{
408
370
  /**
409
371
  * #property
410
372
  */
411
- userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
412
- /**
413
- * #property
414
- */
415
- userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
373
+ configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
374
+ maxFeatureScreenDensity: {
375
+ type: string;
376
+ description: string;
377
+ defaultValue: number;
378
+ };
379
+ fetchSizeLimit: {
380
+ type: string;
381
+ defaultValue: number;
382
+ description: string;
383
+ };
384
+ height: {
385
+ type: string;
386
+ defaultValue: number;
387
+ description: string;
388
+ };
389
+ mouseover: {
390
+ type: string;
391
+ description: string;
392
+ defaultValue: string;
393
+ contextVariable: string[];
394
+ };
395
+ }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
416
396
  }>>, {
417
397
  type: string;
418
398
  id: string;
399
+ configuration: import("mobx-state-tree").ModelSnapshotType<Record<string, any>>;
419
400
  rpcDriverName: string | undefined;
420
401
  heightPreConfig: number | undefined;
421
402
  userBpPerPxLimit: number | undefined;