@genome-spy/core 0.72.0 → 0.74.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 (396) hide show
  1. package/LICENSE +1 -1
  2. package/dist/bundle/AbortablePromiseCache-3gHJdF3E.js +96 -0
  3. package/dist/bundle/browser-BTgw5ieH.js +126 -0
  4. package/dist/bundle/chunk-DmhlhrBa.js +11 -0
  5. package/dist/bundle/esm-BDFRLEuD.js +1248 -0
  6. package/dist/bundle/esm-BygJiwh0.js +573 -0
  7. package/dist/bundle/esm-CGX-qz1d.js +155 -0
  8. package/dist/bundle/esm-CgfVIRJ-.js +121 -0
  9. package/dist/bundle/esm-CuMSzCHy.js +298 -0
  10. package/dist/bundle/esm-DMXpJXM4.js +369 -0
  11. package/dist/bundle/esm-DQiq2Zhd.js +1426 -0
  12. package/dist/bundle/esm-DtE8VqAv.js +1015 -0
  13. package/dist/bundle/esm-sIoQYZ21.js +461 -0
  14. package/dist/bundle/index.es.js +21078 -24556
  15. package/dist/bundle/index.js +379 -383
  16. package/dist/bundle/parquetRead-DG_-F5j5.js +1609 -0
  17. package/dist/schema.json +13349 -7082
  18. package/dist/src/config/axisConfig.d.ts +16 -0
  19. package/dist/src/config/axisConfig.d.ts.map +1 -0
  20. package/dist/src/config/axisConfig.js +84 -0
  21. package/dist/src/config/defaultConfig.d.ts +3 -0
  22. package/dist/src/config/defaultConfig.d.ts.map +1 -0
  23. package/dist/src/config/defaultConfig.js +38 -0
  24. package/dist/src/config/defaults/axisDefaults.d.ts +5 -0
  25. package/dist/src/config/defaults/axisDefaults.d.ts.map +1 -0
  26. package/dist/src/config/defaults/axisDefaults.js +72 -0
  27. package/dist/src/config/defaults/markDefaults.d.ts +15 -0
  28. package/dist/src/config/defaults/markDefaults.d.ts.map +1 -0
  29. package/dist/src/config/defaults/markDefaults.js +121 -0
  30. package/dist/src/config/defaults/scaleDefaults.d.ts +5 -0
  31. package/dist/src/config/defaults/scaleDefaults.d.ts.map +1 -0
  32. package/dist/src/config/defaults/scaleDefaults.js +18 -0
  33. package/dist/src/config/defaults/titleDefaults.d.ts +5 -0
  34. package/dist/src/config/defaults/titleDefaults.d.ts.map +1 -0
  35. package/dist/src/config/defaults/titleDefaults.js +47 -0
  36. package/dist/src/config/defaults/viewDefaults.d.ts +3 -0
  37. package/dist/src/config/defaults/viewDefaults.d.ts.map +1 -0
  38. package/dist/src/config/defaults/viewDefaults.js +2 -0
  39. package/dist/src/config/markConfig.d.ts +8 -0
  40. package/dist/src/config/markConfig.d.ts.map +1 -0
  41. package/dist/src/config/markConfig.js +27 -0
  42. package/dist/src/config/mergeConfig.d.ts +8 -0
  43. package/dist/src/config/mergeConfig.d.ts.map +1 -0
  44. package/dist/src/config/mergeConfig.js +81 -0
  45. package/dist/src/config/resolveConfig.d.ts +22 -0
  46. package/dist/src/config/resolveConfig.d.ts.map +1 -0
  47. package/dist/src/config/resolveConfig.js +32 -0
  48. package/dist/src/config/scaleConfig.d.ts +40 -0
  49. package/dist/src/config/scaleConfig.d.ts.map +1 -0
  50. package/dist/src/config/scaleConfig.js +220 -0
  51. package/dist/src/config/styleUtils.d.ts +6 -0
  52. package/dist/src/config/styleUtils.d.ts.map +1 -0
  53. package/dist/src/config/styleUtils.js +10 -0
  54. package/dist/src/config/themes.d.ts +15 -0
  55. package/dist/src/config/themes.d.ts.map +1 -0
  56. package/dist/src/config/themes.js +293 -0
  57. package/dist/src/config/titleConfig.d.ts +12 -0
  58. package/dist/src/config/titleConfig.d.ts.map +1 -0
  59. package/dist/src/config/titleConfig.js +42 -0
  60. package/dist/src/config/viewConfig.d.ts +7 -0
  61. package/dist/src/config/viewConfig.d.ts.map +1 -0
  62. package/dist/src/config/viewConfig.js +29 -0
  63. package/dist/src/data/flowNode.d.ts +22 -1
  64. package/dist/src/data/flowNode.d.ts.map +1 -1
  65. package/dist/src/data/flowNode.js +37 -1
  66. package/dist/src/data/formats/bed.d.ts +8 -0
  67. package/dist/src/data/formats/bed.d.ts.map +1 -0
  68. package/dist/src/data/formats/bed.js +58 -0
  69. package/dist/src/data/formats/bedpe.d.ts +8 -0
  70. package/dist/src/data/formats/bedpe.d.ts.map +1 -0
  71. package/dist/src/data/formats/bedpe.js +164 -0
  72. package/dist/src/data/formats/fasta.d.ts.map +1 -1
  73. package/dist/src/data/formats/fasta.js +4 -0
  74. package/dist/src/data/formats/parquet.d.ts.map +1 -1
  75. package/dist/src/data/formats/parquet.js +4 -0
  76. package/dist/src/data/sources/dataSourceFactory.d.ts +2 -13
  77. package/dist/src/data/sources/dataSourceFactory.d.ts.map +1 -1
  78. package/dist/src/data/sources/dataSourceFactory.js +5 -141
  79. package/dist/src/data/sources/dataUtils.d.ts +16 -0
  80. package/dist/src/data/sources/dataUtils.d.ts.map +1 -1
  81. package/dist/src/data/sources/dataUtils.js +53 -3
  82. package/dist/src/data/sources/lazy/axisGenomeSource.d.ts.map +1 -1
  83. package/dist/src/data/sources/lazy/axisGenomeSource.js +11 -0
  84. package/dist/src/data/sources/lazy/axisTickSource.d.ts +1 -1
  85. package/dist/src/data/sources/lazy/axisTickSource.d.ts.map +1 -1
  86. package/dist/src/data/sources/lazy/axisTickSource.js +19 -8
  87. package/dist/src/data/sources/lazy/bamSource.d.ts.map +1 -1
  88. package/dist/src/data/sources/lazy/bamSource.js +11 -0
  89. package/dist/src/data/sources/lazy/bigBedSource.d.ts.map +1 -1
  90. package/dist/src/data/sources/lazy/bigBedSource.js +12 -1
  91. package/dist/src/data/sources/lazy/bigWigSource.d.ts.map +1 -1
  92. package/dist/src/data/sources/lazy/bigWigSource.js +11 -0
  93. package/dist/src/data/sources/lazy/gff3Source.d.ts.map +1 -1
  94. package/dist/src/data/sources/lazy/gff3Source.js +12 -1
  95. package/dist/src/data/sources/lazy/indexedFastaSource.d.ts.map +1 -1
  96. package/dist/src/data/sources/lazy/indexedFastaSource.js +11 -0
  97. package/dist/src/data/sources/lazy/lazyDataSourceRegistry.d.ts +27 -0
  98. package/dist/src/data/sources/lazy/lazyDataSourceRegistry.d.ts.map +1 -0
  99. package/dist/src/data/sources/lazy/lazyDataSourceRegistry.js +65 -0
  100. package/dist/src/data/sources/lazy/registerBuiltInLazySources.d.ts +2 -0
  101. package/dist/src/data/sources/lazy/registerBuiltInLazySources.d.ts.map +1 -0
  102. package/dist/src/data/sources/lazy/registerBuiltInLazySources.js +8 -0
  103. package/dist/src/data/sources/lazy/singleAxisLazySource.d.ts.map +1 -1
  104. package/dist/src/data/sources/lazy/singleAxisLazySource.js +11 -2
  105. package/dist/src/data/sources/lazy/vcfSource.d.ts.map +1 -1
  106. package/dist/src/data/sources/lazy/vcfSource.js +11 -0
  107. package/dist/src/data/sources/urlSource.d.ts +4 -0
  108. package/dist/src/data/sources/urlSource.d.ts.map +1 -1
  109. package/dist/src/data/sources/urlSource.js +138 -16
  110. package/dist/src/data/transforms/aggregate.d.ts +1 -0
  111. package/dist/src/data/transforms/aggregate.d.ts.map +1 -1
  112. package/dist/src/data/transforms/aggregate.js +30 -8
  113. package/dist/src/data/transforms/aggregateOps.d.ts.map +1 -1
  114. package/dist/src/data/transforms/aggregateOps.js +12 -1
  115. package/dist/src/data/transforms/coverage.js +2 -2
  116. package/dist/src/data/transforms/filter.js +1 -1
  117. package/dist/src/data/transforms/filterScoredLabels.d.ts +6 -0
  118. package/dist/src/data/transforms/filterScoredLabels.d.ts.map +1 -1
  119. package/dist/src/data/transforms/filterScoredLabels.js +9 -0
  120. package/dist/src/data/transforms/measureText.d.ts +1 -0
  121. package/dist/src/data/transforms/measureText.d.ts.map +1 -1
  122. package/dist/src/data/transforms/measureText.js +14 -5
  123. package/dist/src/data/transforms/pileup.d.ts.map +1 -1
  124. package/dist/src/data/transforms/pileup.js +1 -2
  125. package/dist/src/data/transforms/regexFold.d.ts.map +1 -1
  126. package/dist/src/data/transforms/regexFold.js +0 -1
  127. package/dist/src/embedFactory.d.ts +13 -0
  128. package/dist/src/embedFactory.d.ts.map +1 -0
  129. package/dist/src/embedFactory.js +127 -0
  130. package/dist/src/encoder/accessor.d.ts +3 -12
  131. package/dist/src/encoder/accessor.d.ts.map +1 -1
  132. package/dist/src/encoder/accessor.js +10 -65
  133. package/dist/src/encoder/encoder.d.ts +51 -8
  134. package/dist/src/encoder/encoder.d.ts.map +1 -1
  135. package/dist/src/encoder/encoder.js +179 -55
  136. package/dist/src/fonts/bmFontManager.js +1 -1
  137. package/dist/src/full.d.ts +2 -0
  138. package/dist/src/full.d.ts.map +1 -0
  139. package/dist/src/full.js +2 -0
  140. package/dist/src/genome/assemblyPreflight.d.ts +31 -0
  141. package/dist/src/genome/assemblyPreflight.d.ts.map +1 -0
  142. package/dist/src/genome/assemblyPreflight.js +99 -0
  143. package/dist/src/genome/genome.d.ts +10 -2
  144. package/dist/src/genome/genome.d.ts.map +1 -1
  145. package/dist/src/genome/genome.js +20 -2
  146. package/dist/src/genome/genomeStore.d.ts +34 -3
  147. package/dist/src/genome/genomeStore.d.ts.map +1 -1
  148. package/dist/src/genome/genomeStore.js +409 -18
  149. package/dist/src/genome/rootGenomeConfig.d.ts +26 -0
  150. package/dist/src/genome/rootGenomeConfig.d.ts.map +1 -0
  151. package/dist/src/genome/rootGenomeConfig.js +98 -0
  152. package/dist/src/genome/scaleLocus.d.ts.map +1 -1
  153. package/dist/src/genome/scaleLocus.js +26 -7
  154. package/dist/src/genomeSpy/cursorManager.d.ts +69 -0
  155. package/dist/src/genomeSpy/cursorManager.d.ts.map +1 -0
  156. package/dist/src/genomeSpy/cursorManager.js +131 -0
  157. package/dist/src/genomeSpy/headlessBootstrap.d.ts +113 -0
  158. package/dist/src/genomeSpy/headlessBootstrap.d.ts.map +1 -0
  159. package/dist/src/genomeSpy/headlessBootstrap.js +246 -0
  160. package/dist/src/genomeSpy/interactionController.d.ts +10 -1
  161. package/dist/src/genomeSpy/interactionController.d.ts.map +1 -1
  162. package/dist/src/genomeSpy/interactionController.js +448 -40
  163. package/dist/src/genomeSpy/interactionDispatcher.d.ts +50 -0
  164. package/dist/src/genomeSpy/interactionDispatcher.d.ts.map +1 -0
  165. package/dist/src/genomeSpy/interactionDispatcher.js +203 -0
  166. package/dist/src/genomeSpy/renderCoordinator.js +1 -1
  167. package/dist/src/genomeSpy/viewContextFactory.d.ts +4 -2
  168. package/dist/src/genomeSpy/viewContextFactory.d.ts.map +1 -1
  169. package/dist/src/genomeSpy/viewContextFactory.js +12 -4
  170. package/dist/src/genomeSpy/viewDataInit.d.ts.map +1 -1
  171. package/dist/src/genomeSpy/viewDataInit.js +7 -3
  172. package/dist/src/genomeSpy.d.ts +1 -114
  173. package/dist/src/genomeSpy.d.ts.map +1 -1
  174. package/dist/src/genomeSpy.js +7 -614
  175. package/dist/src/genomeSpyBase.d.ts +133 -0
  176. package/dist/src/genomeSpyBase.d.ts.map +1 -0
  177. package/dist/src/genomeSpyBase.js +719 -0
  178. package/dist/src/gl/arrayBuilder.d.ts.map +1 -1
  179. package/dist/src/gl/arrayBuilder.js +0 -3
  180. package/dist/src/gl/canvasSizeHelper.d.ts +74 -0
  181. package/dist/src/gl/canvasSizeHelper.d.ts.map +1 -0
  182. package/dist/src/gl/canvasSizeHelper.js +203 -0
  183. package/dist/src/gl/colorUtils.d.ts.map +1 -1
  184. package/dist/src/gl/colorUtils.js +3 -0
  185. package/dist/src/gl/dataToVertices.d.ts.map +1 -1
  186. package/dist/src/gl/dataToVertices.js +13 -8
  187. package/dist/src/gl/glslScaleGenerator.d.ts +2 -2
  188. package/dist/src/gl/glslScaleGenerator.d.ts.map +1 -1
  189. package/dist/src/gl/glslScaleGenerator.js +5 -7
  190. package/dist/src/gl/webGLHelper.d.ts +25 -11
  191. package/dist/src/gl/webGLHelper.d.ts.map +1 -1
  192. package/dist/src/gl/webGLHelper.js +59 -33
  193. package/dist/src/index.d.ts +3 -9
  194. package/dist/src/index.d.ts.map +1 -1
  195. package/dist/src/index.js +5 -111
  196. package/dist/src/marks/__snapshots__/shaderSnapshot.test.js.snap +4462 -0
  197. package/dist/src/marks/link.d.ts.map +1 -1
  198. package/dist/src/marks/link.js +5 -26
  199. package/dist/src/marks/mark.d.ts +8 -1
  200. package/dist/src/marks/mark.d.ts.map +1 -1
  201. package/dist/src/marks/mark.js +67 -21
  202. package/dist/src/marks/markUtils.d.ts +18 -1
  203. package/dist/src/marks/markUtils.d.ts.map +1 -1
  204. package/dist/src/marks/markUtils.js +52 -4
  205. package/dist/src/marks/point.d.ts.map +1 -1
  206. package/dist/src/marks/point.js +6 -26
  207. package/dist/src/marks/rect.d.ts.map +1 -1
  208. package/dist/src/marks/rect.js +13 -21
  209. package/dist/src/marks/rule.d.ts +7 -2
  210. package/dist/src/marks/rule.d.ts.map +1 -1
  211. package/dist/src/marks/rule.js +125 -16
  212. package/dist/src/marks/text.d.ts.map +1 -1
  213. package/dist/src/marks/text.js +5 -47
  214. package/dist/src/minimal.d.ts +8 -0
  215. package/dist/src/minimal.d.ts.map +1 -0
  216. package/dist/src/minimal.js +21 -0
  217. package/dist/src/paramRuntime/viewParamRuntime.d.ts +19 -0
  218. package/dist/src/paramRuntime/viewParamRuntime.d.ts.map +1 -1
  219. package/dist/src/paramRuntime/viewParamRuntime.js +35 -0
  220. package/dist/src/scale/scale.d.ts.map +1 -1
  221. package/dist/src/scale/scale.js +13 -7
  222. package/dist/src/scales/axisResolution.d.ts.map +1 -1
  223. package/dist/src/scales/axisResolution.js +9 -5
  224. package/dist/src/scales/domainPlanner.d.ts +58 -7
  225. package/dist/src/scales/domainPlanner.d.ts.map +1 -1
  226. package/dist/src/scales/domainPlanner.js +395 -40
  227. package/dist/src/scales/indexLikeDomainUtils.d.ts +29 -0
  228. package/dist/src/scales/indexLikeDomainUtils.d.ts.map +1 -0
  229. package/dist/src/scales/indexLikeDomainUtils.js +67 -0
  230. package/dist/src/scales/resolutionMemberOrder.d.ts +15 -0
  231. package/dist/src/scales/resolutionMemberOrder.d.ts.map +1 -0
  232. package/dist/src/scales/resolutionMemberOrder.js +22 -0
  233. package/dist/src/scales/scaleInstanceManager.d.ts +2 -1
  234. package/dist/src/scales/scaleInstanceManager.d.ts.map +1 -1
  235. package/dist/src/scales/scaleInstanceManager.js +10 -11
  236. package/dist/src/scales/scaleInteractionController.d.ts.map +1 -1
  237. package/dist/src/scales/scaleInteractionController.js +59 -18
  238. package/dist/src/scales/scalePropsResolver.d.ts +3 -1
  239. package/dist/src/scales/scalePropsResolver.d.ts.map +1 -1
  240. package/dist/src/scales/scalePropsResolver.js +83 -6
  241. package/dist/src/scales/scaleResolution.d.ts +39 -0
  242. package/dist/src/scales/scaleResolution.d.ts.map +1 -1
  243. package/dist/src/scales/scaleResolution.js +504 -82
  244. package/dist/src/scales/scaleResolutionTestUtils.d.ts +21 -0
  245. package/dist/src/scales/scaleResolutionTestUtils.d.ts.map +1 -0
  246. package/dist/src/scales/scaleResolutionTestUtils.js +37 -0
  247. package/dist/src/scales/scaleRules.d.ts.map +1 -1
  248. package/dist/src/scales/scaleRules.js +16 -2
  249. package/dist/src/scales/selectionDomainUtils.d.ts +52 -0
  250. package/dist/src/scales/selectionDomainUtils.d.ts.map +1 -0
  251. package/dist/src/scales/selectionDomainUtils.js +194 -0
  252. package/dist/src/scales/zoomDomainUtils.d.ts +18 -0
  253. package/dist/src/scales/zoomDomainUtils.d.ts.map +1 -0
  254. package/dist/src/scales/zoomDomainUtils.js +69 -0
  255. package/dist/src/screenshotHarness.d.ts +16 -0
  256. package/dist/src/screenshotHarness.d.ts.map +1 -0
  257. package/dist/src/screenshotHarness.js +241 -0
  258. package/dist/src/singlePageApp.js +1 -1
  259. package/dist/src/spec/axis.d.ts +41 -30
  260. package/dist/src/spec/channel.d.ts +15 -9
  261. package/dist/src/spec/config.d.ts +264 -0
  262. package/dist/src/spec/data.d.ts +30 -3
  263. package/dist/src/spec/decoration.d.ts +51 -0
  264. package/dist/src/spec/exampleFiles.d.ts +12 -0
  265. package/dist/src/spec/exampleFiles.d.ts.map +1 -0
  266. package/dist/src/spec/exampleFiles.js +52 -0
  267. package/dist/src/spec/font.d.ts +1 -1
  268. package/dist/src/spec/genome.d.ts +22 -2
  269. package/dist/src/spec/mark.d.ts +97 -13
  270. package/dist/src/spec/parameter.d.ts +62 -5
  271. package/dist/src/spec/root.d.ts +34 -1
  272. package/dist/src/spec/scale.d.ts +46 -5
  273. package/dist/src/spec/title.d.ts +13 -2
  274. package/dist/src/spec/tooltip.d.ts +1 -1
  275. package/dist/src/spec/transform.d.ts +39 -4
  276. package/dist/src/spec/view.d.ts +67 -19
  277. package/dist/src/styles/genome-spy.css +63 -55
  278. package/dist/src/styles/genome-spy.css.d.ts +1 -1
  279. package/dist/src/styles/genome-spy.css.d.ts.map +1 -1
  280. package/dist/src/styles/genome-spy.css.js +31 -22
  281. package/dist/src/testSetup.d.ts +2 -0
  282. package/dist/src/testSetup.d.ts.map +1 -0
  283. package/dist/src/testSetup.js +5 -0
  284. package/dist/src/tooltip/dataTooltipHandler.js +66 -11
  285. package/dist/src/tooltip/tooltipContext.d.ts.map +1 -1
  286. package/dist/src/tooltip/tooltipContext.js +3 -2
  287. package/dist/src/types/embedApi.d.ts +26 -0
  288. package/dist/src/types/encoder.d.ts +17 -15
  289. package/dist/src/types/scaleResolutionApi.d.ts +20 -0
  290. package/dist/src/types/viewContext.d.ts +23 -1
  291. package/dist/src/utils/expression.d.ts +2 -2
  292. package/dist/src/utils/expression.d.ts.map +1 -1
  293. package/dist/src/utils/expression.js +63 -8
  294. package/dist/src/utils/field.d.ts.map +1 -1
  295. package/dist/src/utils/field.js +0 -1
  296. package/dist/src/utils/inertia.d.ts.map +1 -1
  297. package/dist/src/utils/inertia.js +0 -1
  298. package/dist/src/utils/inferSpecBaseUrl.d.ts +14 -0
  299. package/dist/src/utils/inferSpecBaseUrl.d.ts.map +1 -0
  300. package/dist/src/utils/inferSpecBaseUrl.js +73 -0
  301. package/dist/src/utils/inputBinding.d.ts +1 -1
  302. package/dist/src/utils/interaction.d.ts +109 -0
  303. package/dist/src/utils/interaction.d.ts.map +1 -0
  304. package/dist/src/utils/interaction.js +200 -0
  305. package/dist/src/utils/interactionEvent.d.ts +62 -33
  306. package/dist/src/utils/interactionEvent.d.ts.map +1 -1
  307. package/dist/src/utils/interactionEvent.js +86 -48
  308. package/dist/src/utils/kWayMerge.js +1 -1
  309. package/dist/src/utils/mergeObjects.d.ts.map +1 -1
  310. package/dist/src/utils/mergeObjects.js +0 -2
  311. package/dist/src/utils/radixSort.d.ts.map +1 -1
  312. package/dist/src/utils/radixSort.js +0 -2
  313. package/dist/src/utils/throttle.d.ts.map +1 -1
  314. package/dist/src/utils/throttle.js +0 -2
  315. package/dist/src/utils/ui/tooltip.d.ts +1 -0
  316. package/dist/src/utils/ui/tooltip.d.ts.map +1 -1
  317. package/dist/src/utils/ui/tooltip.js +1 -0
  318. package/dist/src/utils/url.js +1 -1
  319. package/dist/src/view/axisGridView.d.ts +1 -1
  320. package/dist/src/view/axisGridView.d.ts.map +1 -1
  321. package/dist/src/view/axisGridView.js +2 -47
  322. package/dist/src/view/axisView.d.ts +2 -3
  323. package/dist/src/view/axisView.d.ts.map +1 -1
  324. package/dist/src/view/axisView.js +251 -106
  325. package/dist/src/view/concatView.d.ts +2 -1
  326. package/dist/src/view/concatView.d.ts.map +1 -1
  327. package/dist/src/view/concatView.js +4 -2
  328. package/dist/src/view/containerMutationHelper.d.ts +3 -0
  329. package/dist/src/view/containerMutationHelper.d.ts.map +1 -1
  330. package/dist/src/view/containerMutationHelper.js +12 -1
  331. package/dist/src/view/dataReadiness.d.ts +2 -2
  332. package/dist/src/view/dataReadiness.d.ts.map +1 -1
  333. package/dist/src/view/dataReadiness.js +63 -58
  334. package/dist/src/view/facetView.d.ts +1 -1
  335. package/dist/src/view/facetView.js +4 -4
  336. package/dist/src/view/flowBuilder.js +2 -2
  337. package/dist/src/view/gridView/gridChild.d.ts +13 -0
  338. package/dist/src/view/gridView/gridChild.d.ts.map +1 -1
  339. package/dist/src/view/gridView/gridChild.js +247 -49
  340. package/dist/src/view/gridView/gridView.d.ts.map +1 -1
  341. package/dist/src/view/gridView/gridView.js +296 -99
  342. package/dist/src/view/gridView/keyboardZoomController.d.ts +2 -2
  343. package/dist/src/view/gridView/keyboardZoomController.d.ts.map +1 -1
  344. package/dist/src/view/gridView/keyboardZoomController.js +1 -1
  345. package/dist/src/view/gridView/scrollbar.d.ts.map +1 -1
  346. package/dist/src/view/gridView/scrollbar.js +4 -2
  347. package/dist/src/view/gridView/selectionRect.d.ts +4 -0
  348. package/dist/src/view/gridView/selectionRect.d.ts.map +1 -1
  349. package/dist/src/view/gridView/selectionRect.js +20 -1
  350. package/dist/src/view/gridView/separatorView.d.ts +1 -0
  351. package/dist/src/view/gridView/separatorView.d.ts.map +1 -1
  352. package/dist/src/view/gridView/separatorView.js +9 -0
  353. package/dist/src/view/interactionRouting.d.ts +20 -0
  354. package/dist/src/view/interactionRouting.d.ts.map +1 -0
  355. package/dist/src/view/interactionRouting.js +53 -0
  356. package/dist/src/view/layerView.d.ts.map +1 -1
  357. package/dist/src/view/layerView.js +12 -9
  358. package/dist/src/view/layout/grid.js +1 -1
  359. package/dist/src/view/renderingContext/bufferedViewRenderingContext.d.ts.map +1 -1
  360. package/dist/src/view/renderingContext/bufferedViewRenderingContext.js +0 -2
  361. package/dist/src/view/testUtils.d.ts +17 -3
  362. package/dist/src/view/testUtils.d.ts.map +1 -1
  363. package/dist/src/view/testUtils.js +62 -69
  364. package/dist/src/view/title.d.ts +8 -1
  365. package/dist/src/view/title.d.ts.map +1 -1
  366. package/dist/src/view/title.js +66 -76
  367. package/dist/src/view/unitView.d.ts +1 -1
  368. package/dist/src/view/unitView.d.ts.map +1 -1
  369. package/dist/src/view/unitView.js +67 -17
  370. package/dist/src/view/view.d.ts +76 -30
  371. package/dist/src/view/view.d.ts.map +1 -1
  372. package/dist/src/view/view.js +136 -47
  373. package/dist/src/view/viewFactory.d.ts +11 -3
  374. package/dist/src/view/viewFactory.d.ts.map +1 -1
  375. package/dist/src/view/viewFactory.js +37 -11
  376. package/dist/src/view/viewUtils.d.ts.map +1 -1
  377. package/dist/src/view/viewUtils.js +41 -5
  378. package/dist/src/view/zoom.d.ts +15 -3
  379. package/dist/src/view/zoom.d.ts.map +1 -1
  380. package/dist/src/view/zoom.js +375 -80
  381. package/package.json +20 -10
  382. package/dist/bundle/AbortablePromiseCache-Dj0vzLnp.js +0 -149
  383. package/dist/bundle/browser-0iNU5Wit.js +0 -138
  384. package/dist/bundle/index-BYsZN7b0.js +0 -1597
  385. package/dist/bundle/index-C3kClAEN.js +0 -1771
  386. package/dist/bundle/index-C7wOh6y1.js +0 -657
  387. package/dist/bundle/index-CRaQAuki.js +0 -326
  388. package/dist/bundle/index-D9v1PCj9.js +0 -507
  389. package/dist/bundle/index-GDOuv_D5.js +0 -266
  390. package/dist/bundle/index-Gt44EOIH.js +0 -628
  391. package/dist/bundle/inflate-GtwLkvSP.js +0 -1048
  392. package/dist/bundle/parquetRead-BnAGCa4_.js +0 -1663
  393. package/dist/bundle/unzip-Bac01w6X.js +0 -1492
  394. package/dist/src/config/scaleDefaults.d.ts +0 -8
  395. package/dist/src/config/scaleDefaults.d.ts.map +0 -1
  396. package/dist/src/config/scaleDefaults.js +0 -45
@@ -9,13 +9,27 @@
9
9
 
10
10
  import { makeLerpSmoother } from "../utils/animator.js";
11
11
  import RingBuffer from "../utils/ringBuffer.js";
12
+ import { isTouchGestureEvent } from "../utils/interactionEvent.js";
12
13
  import Point from "./layout/point.js";
13
14
 
14
- /** @type {ReturnType<typeof makeLerpSmoother>} */
15
- let smoother;
15
+ /**
16
+ * @typedef {object} ZoomInteractionState
17
+ * @prop {ReturnType<typeof makeLerpSmoother>} smoother
18
+ * @prop {RingBuffer<{point: Point, timestamp: number}>} touchPanEventBuffer
19
+ * @prop {Point | undefined} touchPanLastPoint
20
+ * @prop {0 | 1 | 2} touchPanPointerCount
21
+ */
16
22
 
17
23
  let lastTimestamp = 0;
18
24
 
25
+ /** @type {WeakMap<import("../utils/animator.js").default, ZoomInteractionState>} */
26
+ const zoomInteractionStates = new WeakMap();
27
+
28
+ /** @type {ZoomInteractionState} */
29
+ const fallbackInteractionState = createInteractionState();
30
+
31
+ const MIN_LINK_ENDPOINT_SNAP_DISTANCE = 6;
32
+
19
33
  export function markZoomActivity() {
20
34
  lastTimestamp = performance.now();
21
35
  }
@@ -35,27 +49,26 @@ function recordTimeStamp(fn) {
35
49
  // @ts-ignore
36
50
  return function (...args) {
37
51
  markZoomActivity();
38
- fn(...args);
52
+ return fn(...args);
39
53
  };
40
54
  }
41
55
 
42
56
  /**
43
- * @param {import("../utils/interactionEvent.js").default} event
57
+ * @param {import("../utils/interaction.js").default} event
44
58
  * @param {import("./layout/rectangle.js").default} coords
45
- * @param {(zoomEvent: ZoomEvent) => void} handleZoom
59
+ * @param {(zoomEvent: ZoomEvent) => boolean | void} handleZoom
46
60
  * @param {import("../types/viewContext.js").Hover} [hover]
47
61
  * @param {import("../utils/animator.js").default} [animator]
48
62
  */
49
63
  export function interactionToZoom(event, coords, handleZoom, hover, animator) {
50
64
  handleZoom = recordTimeStamp(handleZoom);
65
+ const interactionState = getInteractionState(animator);
51
66
 
52
67
  if (event.type == "wheel") {
53
68
  // TODO: Wheel-zoom inertia should probably be moved here and the faked wheel
54
69
  // events in genomeSpy.js and inertia.js should be retired.
55
70
 
56
- event.uiEvent.preventDefault(); // TODO: Only if there was something zoomable
57
-
58
- const wheelEvent = /** @type {WheelEvent} */ (event.uiEvent);
71
+ const wheelEvent = event.wheelEvent;
59
72
  const wheelMultiplier = wheelEvent.deltaMode ? 120 : 1;
60
73
 
61
74
  if (!wheelEvent.deltaX && !wheelEvent.deltaY) {
@@ -63,46 +76,69 @@ export function interactionToZoom(event, coords, handleZoom, hover, animator) {
63
76
  }
64
77
 
65
78
  // Stop drag-to-pan inertia
66
- smoother?.stop();
79
+ interactionState.smoother?.stop();
67
80
 
68
81
  let { x, y } = event.point;
69
82
 
70
83
  // Snapping to the hovered item:
71
- // We find the currently hovered object and move the pointed coordinates
72
- // to its center if the mark has only primary positional channels.
73
- // This allows the user to rapidly zoom closer without having to
74
- // continuously adjust the cursor position.
84
+ // - Link marks: snap to the nearest endpoint when cursor is near one.
85
+ // - Other marks: snap to the center if only primary positional channels exist.
86
+ // This allows rapid zooming without constantly adjusting cursor position.
75
87
 
76
88
  if (hover) {
77
- const e = hover.mark.encoders;
78
- if (e.x && !e.x2 && !e.x.constant) {
79
- x = +e.x(hover.datum) * coords.width + coords.x;
80
- }
81
- if (e.y && !e.y2 && !e.y.constant) {
82
- y = (1 - +e.y(hover.datum)) * coords.height + coords.y;
89
+ const linkEndpoint = getLinkEndpointSnapPoint(
90
+ event.point,
91
+ coords,
92
+ hover
93
+ );
94
+
95
+ if (linkEndpoint) {
96
+ if (linkEndpoint.x !== undefined) {
97
+ x = linkEndpoint.x;
98
+ }
99
+ if (linkEndpoint.y !== undefined) {
100
+ y = linkEndpoint.y;
101
+ }
102
+ } else {
103
+ const e = hover.mark.encoders;
104
+ if (e.x && !e.x2 && !e.x.constant) {
105
+ x =
106
+ getEncoderUnitPosition(e.x, hover.datum) *
107
+ coords.width +
108
+ coords.x;
109
+ }
110
+ if (e.y && !e.y2 && !e.y.constant) {
111
+ y =
112
+ (1 - getEncoderUnitPosition(e.y, hover.datum)) *
113
+ coords.height +
114
+ coords.y;
115
+ }
83
116
  }
84
117
  }
85
118
 
86
- if (Math.abs(wheelEvent.deltaX) < Math.abs(wheelEvent.deltaY)) {
87
- handleZoom({
88
- x,
89
- y,
90
- xDelta: 0,
91
- yDelta: 0,
92
- zDelta: (wheelEvent.deltaY * wheelMultiplier) / 300,
93
- });
94
- } else {
95
- handleZoom({
96
- x,
97
- y,
98
- xDelta: -wheelEvent.deltaX * wheelMultiplier,
99
- yDelta: 0,
100
- zDelta: 0,
101
- });
119
+ const handled =
120
+ Math.abs(wheelEvent.deltaX) < Math.abs(wheelEvent.deltaY)
121
+ ? handleZoom({
122
+ x,
123
+ y,
124
+ xDelta: 0,
125
+ yDelta: 0,
126
+ zDelta: (wheelEvent.deltaY * wheelMultiplier) / 300,
127
+ }) === true
128
+ : handleZoom({
129
+ x,
130
+ y,
131
+ xDelta: -wheelEvent.deltaX * wheelMultiplier,
132
+ yDelta: 0,
133
+ zDelta: 0,
134
+ }) === true;
135
+
136
+ if (handled) {
137
+ wheelEvent.preventDefault();
102
138
  }
103
139
  } else if (event.type == "mousedown" && event.mouseEvent.button === 0) {
104
- if (smoother) {
105
- smoother.stop();
140
+ if (interactionState.smoother) {
141
+ interactionState.smoother.stop();
106
142
  }
107
143
 
108
144
  /** @type {RingBuffer<{point: Point, timestamp: number}>} */
@@ -110,6 +146,7 @@ export function interactionToZoom(event, coords, handleZoom, hover, animator) {
110
146
 
111
147
  const mouseEvent = event.mouseEvent;
112
148
  mouseEvent.preventDefault();
149
+ event.target?.context.suspendHoverTracking();
113
150
 
114
151
  let prevPoint = Point.fromMouseEvent(mouseEvent);
115
152
 
@@ -132,61 +169,319 @@ export function interactionToZoom(event, coords, handleZoom, hover, animator) {
132
169
  prevPoint = point;
133
170
  };
134
171
 
135
- const animateInertia = () => {
136
- const lastMillisToInclude = 160;
172
+ const onMouseup = (/** @type {MouseEvent} */ upEvent) => {
173
+ document.removeEventListener("mousemove", onMousemove);
174
+ document.removeEventListener("mouseup", onMouseup);
175
+ event.target?.context.resumeHoverTracking(upEvent);
176
+ startPanInertia(
177
+ interactionState,
178
+ eventBuffer,
179
+ prevPoint,
180
+ handleZoom,
181
+ animator,
182
+ { minSampleCount: 5 }
183
+ );
184
+ };
137
185
 
138
- const now = performance.now();
139
- const arr = eventBuffer
140
- .get()
141
- .filter((p) => now - p.timestamp < lastMillisToInclude);
186
+ document.addEventListener("mouseup", onMouseup, false);
187
+ document.addEventListener("mousemove", onMousemove, false);
188
+ } else if (event.type == "touchgesture") {
189
+ if (!isTouchGestureEvent(event.uiEvent)) {
190
+ return;
191
+ }
142
192
 
143
- if (arr.length < 5 || !animator || isDecelerating(arr)) {
144
- return;
193
+ const touchGesture = event.uiEvent;
194
+ const { xDelta, yDelta, zDelta } = touchGesture;
195
+
196
+ if (touchGesture.phase === "end") {
197
+ if (touchGesture.pointerCount === 1) {
198
+ startPanInertia(
199
+ interactionState,
200
+ interactionState.touchPanEventBuffer,
201
+ interactionState.touchPanLastPoint,
202
+ handleZoom,
203
+ animator,
204
+ {
205
+ minSampleCount: 2,
206
+ minVelocityPxPerMs: 0.03,
207
+ }
208
+ );
145
209
  }
210
+ resetTouchPanState(interactionState);
211
+ return;
212
+ }
146
213
 
147
- const a = arr.at(-1);
148
- const b = arr[0];
214
+ if (
215
+ interactionState.touchPanPointerCount !== touchGesture.pointerCount
216
+ ) {
217
+ resetTouchPanState(interactionState);
218
+ interactionState.touchPanPointerCount = touchGesture.pointerCount;
219
+ }
149
220
 
150
- const v = a.point
151
- .subtract(b.point)
152
- .multiply(1 / (a.timestamp - b.timestamp));
221
+ const currentPoint = new Point(
222
+ event.point.x + xDelta,
223
+ event.point.y + yDelta
224
+ );
225
+ interactionState.touchPanLastPoint = currentPoint;
153
226
 
154
- let x = prevPoint.x;
155
- let y = prevPoint.y;
227
+ if (touchGesture.pointerCount === 1 && (xDelta !== 0 || yDelta !== 0)) {
228
+ interactionState.touchPanEventBuffer.push({
229
+ point: currentPoint,
230
+ timestamp: performance.now(),
231
+ });
232
+ }
156
233
 
157
- smoother = makeLerpSmoother(
158
- animator,
159
- (p) => {
160
- handleZoom({
161
- x: p.x,
162
- y: p.y,
163
- xDelta: x - p.x,
164
- yDelta: y - p.y,
165
- zDelta: 0,
166
- });
167
- x = p.x;
168
- y = p.y;
169
- },
170
- 150,
171
- 0.5,
172
- { x, y }
173
- );
234
+ if (xDelta === 0 && yDelta === 0 && zDelta === 0) {
235
+ return;
236
+ }
174
237
 
175
- smoother({
176
- x: prevPoint.x - v.x * 250,
177
- y: prevPoint.y - v.y * 250,
178
- });
179
- };
238
+ // Stop drag-to-pan inertia when touch gestures take over.
239
+ interactionState.smoother?.stop();
180
240
 
181
- const onMouseup = () => {
182
- document.removeEventListener("mousemove", onMousemove);
183
- document.removeEventListener("mouseup", onMouseup);
184
- animateInertia();
241
+ handleZoom({
242
+ x: event.point.x,
243
+ y: event.point.y,
244
+ xDelta,
245
+ yDelta,
246
+ zDelta,
247
+ });
248
+ }
249
+ }
250
+
251
+ /**
252
+ * @param {Point} point
253
+ * @param {import("./layout/rectangle.js").default} coords
254
+ * @param {import("../types/viewContext.js").Hover} hover
255
+ */
256
+ function getLinkEndpointSnapPoint(point, coords, hover) {
257
+ if (hover.mark.getType() !== "link") {
258
+ return undefined;
259
+ }
260
+
261
+ const e = hover.mark.encoders;
262
+ if (!(e.x && e.y && e.x2 && e.y2)) {
263
+ return undefined;
264
+ }
265
+
266
+ const snapX = !e.x.constant && !e.x2.constant;
267
+ const snapY = !e.y.constant && !e.y2.constant;
268
+
269
+ if (!snapX && !snapY) {
270
+ return undefined;
271
+ }
272
+
273
+ const x1 =
274
+ getEncoderUnitPosition(e.x, hover.datum) * coords.width + coords.x;
275
+ const y1 =
276
+ (1 - getEncoderUnitPosition(e.y, hover.datum)) * coords.height +
277
+ coords.y;
278
+ const x2 =
279
+ getEncoderUnitPosition(e.x2, hover.datum) * coords.width + coords.x;
280
+ const y2 =
281
+ (1 - getEncoderUnitPosition(e.y2, hover.datum)) * coords.height +
282
+ coords.y;
283
+
284
+ let d1Squared = 0;
285
+ let d2Squared = 0;
286
+
287
+ if (snapX) {
288
+ d1Squared += (point.x - x1) ** 2;
289
+ d2Squared += (point.x - x2) ** 2;
290
+ }
291
+
292
+ if (snapY) {
293
+ d1Squared += (point.y - y1) ** 2;
294
+ d2Squared += (point.y - y2) ** 2;
295
+ }
296
+
297
+ const size = e.size ? +e.size(hover.datum) : 0;
298
+ const snapDistance = Number.isFinite(size)
299
+ ? Math.max(size, MIN_LINK_ENDPOINT_SNAP_DISTANCE)
300
+ : MIN_LINK_ENDPOINT_SNAP_DISTANCE;
301
+ const snapDistanceSquared = snapDistance * snapDistance;
302
+
303
+ if (Math.min(d1Squared, d2Squared) > snapDistanceSquared) {
304
+ return undefined;
305
+ }
306
+
307
+ if (d1Squared <= d2Squared) {
308
+ return {
309
+ x: snapX ? x1 : undefined,
310
+ y: snapY ? y1 : undefined,
185
311
  };
312
+ } else {
313
+ return {
314
+ x: snapX ? x2 : undefined,
315
+ y: snapY ? y2 : undefined,
316
+ };
317
+ }
318
+ }
186
319
 
187
- document.addEventListener("mouseup", onMouseup, false);
188
- document.addEventListener("mousemove", onMousemove, false);
320
+ /**
321
+ * Returns channel position in unit coordinates using the same band placement
322
+ * convention as mark rendering.
323
+ *
324
+ * @param {import("../types/encoder.js").Encoder} encoder
325
+ * @param {import("../data/flowNode.js").Datum} datum
326
+ */
327
+ function getEncoderUnitPosition(encoder, datum) {
328
+ const basePosition = +encoder(datum);
329
+ const scale = encoder.scale;
330
+
331
+ if (!scale) {
332
+ return basePosition;
333
+ }
334
+
335
+ const band = resolveBandPosition(encoder.channelDef);
336
+
337
+ if (scale.type === "band" || scale.type === "point") {
338
+ if (!Number.isFinite(band)) {
339
+ return basePosition;
340
+ }
341
+
342
+ const typedScale = /** @type {{ bandwidth: () => number }} */ (
343
+ /** @type {any} */ (scale)
344
+ );
345
+ return basePosition + typedScale.bandwidth() * band;
346
+ } else if (scale.type === "index" || scale.type === "locus") {
347
+ if (!Number.isFinite(band)) {
348
+ return basePosition;
349
+ }
350
+
351
+ const typedScale =
352
+ /** @type {{ step: () => number, align: () => number }} */ (
353
+ /** @type {any} */ (scale)
354
+ );
355
+ return basePosition + typedScale.step() * (band - typedScale.align());
356
+ } else {
357
+ return basePosition;
358
+ }
359
+ }
360
+
361
+ /**
362
+ * @param {import("../spec/channel.js").ChannelDef} channelDef
363
+ */
364
+ function resolveBandPosition(channelDef) {
365
+ if (channelDef && "band" in channelDef) {
366
+ return channelDef.band ?? 0.5;
367
+ } else {
368
+ return 0.5;
369
+ }
370
+ }
371
+
372
+ /**
373
+ * @returns {ZoomInteractionState}
374
+ */
375
+ function createInteractionState() {
376
+ return {
377
+ smoother: undefined,
378
+ touchPanEventBuffer: new RingBuffer(30),
379
+ touchPanLastPoint: undefined,
380
+ touchPanPointerCount: 0,
381
+ };
382
+ }
383
+
384
+ /**
385
+ * @param {import("../utils/animator.js").default} [animator]
386
+ */
387
+ function getInteractionState(animator) {
388
+ if (!animator) {
389
+ return fallbackInteractionState;
189
390
  }
391
+
392
+ let state = zoomInteractionStates.get(animator);
393
+ if (!state) {
394
+ state = createInteractionState();
395
+ zoomInteractionStates.set(animator, state);
396
+ }
397
+
398
+ return state;
399
+ }
400
+
401
+ /**
402
+ * @param {ZoomInteractionState} interactionState
403
+ */
404
+ function resetTouchPanState(interactionState) {
405
+ interactionState.touchPanEventBuffer = new RingBuffer(30);
406
+ interactionState.touchPanLastPoint = undefined;
407
+ interactionState.touchPanPointerCount = 0;
408
+ }
409
+
410
+ /**
411
+ * @param {ZoomInteractionState} interactionState
412
+ * @param {RingBuffer<{point: Point, timestamp: number}>} eventBuffer
413
+ * @param {Point | undefined} lastPoint
414
+ * @param {(zoomEvent: ZoomEvent) => void} handleZoom
415
+ * @param {import("../utils/animator.js").default} [animator]
416
+ * @param {{minSampleCount?: number, minVelocityPxPerMs?: number}} [options]
417
+ */
418
+ function startPanInertia(
419
+ interactionState,
420
+ eventBuffer,
421
+ lastPoint,
422
+ handleZoom,
423
+ animator,
424
+ options = {}
425
+ ) {
426
+ if (!animator || !lastPoint) {
427
+ return;
428
+ }
429
+
430
+ const minSampleCount = options.minSampleCount ?? 5;
431
+ const minVelocityPxPerMs = options.minVelocityPxPerMs ?? 0;
432
+ const lastMillisToInclude = 160;
433
+ const now = performance.now();
434
+ const arr = eventBuffer
435
+ .get()
436
+ .filter((point) => now - point.timestamp < lastMillisToInclude);
437
+
438
+ if (arr.length < minSampleCount) {
439
+ return;
440
+ }
441
+
442
+ if (arr.length >= 5 && isDecelerating(arr)) {
443
+ return;
444
+ }
445
+
446
+ const a = arr.at(-1);
447
+ const b = arr[0];
448
+ const v = a.point
449
+ .subtract(b.point)
450
+ .multiply(1 / (a.timestamp - b.timestamp));
451
+
452
+ if (!Number.isFinite(v.x) || !Number.isFinite(v.y)) {
453
+ return;
454
+ }
455
+
456
+ if (v.length < minVelocityPxPerMs) {
457
+ return;
458
+ }
459
+
460
+ let x = lastPoint.x;
461
+ let y = lastPoint.y;
462
+
463
+ interactionState.smoother = makeLerpSmoother(
464
+ animator,
465
+ (point) => {
466
+ handleZoom({
467
+ x: point.x,
468
+ y: point.y,
469
+ xDelta: x - point.x,
470
+ yDelta: y - point.y,
471
+ zDelta: 0,
472
+ });
473
+ x = point.x;
474
+ y = point.y;
475
+ },
476
+ 150,
477
+ 0.5,
478
+ { x, y }
479
+ );
480
+
481
+ interactionState.smoother({
482
+ x: lastPoint.x - v.x * 250,
483
+ y: lastPoint.y - v.y * 250,
484
+ });
190
485
  }
191
486
 
192
487
  /**
package/package.json CHANGED
@@ -7,13 +7,20 @@
7
7
  },
8
8
  "contributors": [],
9
9
  "license": "MIT",
10
- "version": "0.72.0",
10
+ "version": "0.74.0",
11
11
  "jsdelivr": "dist/bundle/index.js",
12
12
  "unpkg": "dist/bundle/index.js",
13
13
  "browser": "dist/bundle/index.js",
14
14
  "type": "module",
15
15
  "exports": {
16
16
  ".": "./dist/src/index.js",
17
+ "./minimal": "./dist/src/minimal.js",
18
+ "./full": "./dist/src/full.js",
19
+ "./browser": {
20
+ "import": "./dist/bundle/index.es.js",
21
+ "default": "./dist/bundle/index.js"
22
+ },
23
+ "./data/*": "./dist/src/data/*",
17
24
  "./*": "./dist/src/*",
18
25
  "./schema.json": "./dist/schema.json"
19
26
  },
@@ -27,6 +34,8 @@
27
34
  },
28
35
  "scripts": {
29
36
  "dev": "node dev-server.mjs",
37
+ "capture:screenshots": "node scripts/captureScreenshots.mjs",
38
+ "verify:bundle:minimal": "node scripts/verifyMinimalBundle.mjs",
30
39
  "build": "rm -rf dist && mkdir -p dist && node scripts/build.mjs && vite build && npm run build:schema && npm run build:typings",
31
40
  "prepublishOnly": "npm run build",
32
41
  "test:tsc": "tsc -p tsconfig.json --noEmit",
@@ -36,12 +45,12 @@
36
45
  "postpack": "node scripts/postpack.mjs"
37
46
  },
38
47
  "dependencies": {
39
- "@gmod/bam": "^7.0.5",
40
- "@gmod/bbi": "^7.1.0",
41
- "@gmod/bed": "^2.1.7",
42
- "@gmod/indexedfasta": "^4.0.7",
43
- "@gmod/tabix": "^3.1.2",
44
- "@gmod/vcf": "^6.1.0",
48
+ "@gmod/bam": "^7.1.19",
49
+ "@gmod/bbi": "^9.0.0",
50
+ "@gmod/bed": "^2.1.10",
51
+ "@gmod/indexedfasta": "^5.0.2",
52
+ "@gmod/tabix": "^3.2.2",
53
+ "@gmod/vcf": "^7.0.0",
45
54
  "@types/d3-array": "^3.2.2",
46
55
  "@types/d3-dsv": "^3.0.7",
47
56
  "@types/d3-ease": "^3.0.2",
@@ -50,12 +59,13 @@
50
59
  "@types/d3-scale": "^4.0.9",
51
60
  "d3-array": "^3.2.4",
52
61
  "d3-color": "^3.1.0",
62
+ "d3-dsv": "^3.0.1",
53
63
  "d3-ease": "^3.0.1",
54
64
  "d3-format": "^3.1.0",
55
65
  "events": "^3.3.0",
56
66
  "flatqueue": "^3.0.0",
57
- "generic-filehandle2": "^2.0.14",
58
- "gff-nostream": "^2.0.0",
67
+ "generic-filehandle2": "^2.0.18",
68
+ "gff-nostream": "^3.0.2",
59
69
  "hyparquet": "^1.25.0",
60
70
  "internmap": "^2.0.3",
61
71
  "lit": "^3.3.0",
@@ -68,5 +78,5 @@
68
78
  "devDependencies": {
69
79
  "@types/long": "^4.0.1"
70
80
  },
71
- "gitHead": "504e1d0f7c45c2324bb6b0ff7b9230829d60518e"
81
+ "gitHead": "7648d8c8670e288486f20bd7fe73509c4844cd83"
72
82
  }