@genome-spy/core 0.37.4 → 0.38.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 (356) hide show
  1. package/dist/bundle/__vite-browser-external-ENoMJThg.js +8 -0
  2. package/dist/bundle/_commonjsHelpers-QtkX90xp.js +30 -0
  3. package/dist/bundle/index-1QVesMzU.js +1074 -0
  4. package/dist/bundle/index-Cbz74kpR.js +638 -0
  5. package/dist/bundle/index-LD6yPc3X.js +515 -0
  6. package/dist/bundle/index-Pv3tKJ1W.js +2190 -0
  7. package/dist/bundle/index-UyrC0vvF.js +72 -0
  8. package/dist/bundle/index-Y-LdHNIz.js +501 -0
  9. package/dist/bundle/index-gn8bhQ8w.js +4050 -0
  10. package/dist/bundle/index-lmJu1tfP.js +1372 -0
  11. package/dist/bundle/index-z4Cs62EO.js +279 -0
  12. package/dist/bundle/index.es.js +6448 -20571
  13. package/dist/bundle/index.js +93 -112
  14. package/dist/bundle/long-Veu0zKh9.js +2382 -0
  15. package/dist/bundle/remoteFile-Ur-gRKsH.js +96 -0
  16. package/dist/schema.json +492 -108
  17. package/dist/src/data/collector.d.ts +11 -11
  18. package/dist/src/data/collector.d.ts.map +1 -1
  19. package/dist/src/data/collector.js +8 -8
  20. package/dist/src/data/dataFlow.d.ts +18 -18
  21. package/dist/src/data/dataFlow.d.ts.map +1 -1
  22. package/dist/src/data/dataFlow.js +7 -7
  23. package/dist/src/data/flowNode.d.ts +9 -9
  24. package/dist/src/data/flowNode.d.ts.map +1 -1
  25. package/dist/src/data/flowNode.js +5 -5
  26. package/dist/src/data/flowOptimizer.d.ts +11 -11
  27. package/dist/src/data/flowOptimizer.d.ts.map +1 -1
  28. package/dist/src/data/flowOptimizer.js +7 -7
  29. package/dist/src/data/flowTestUtils.d.ts +2 -2
  30. package/dist/src/data/flowTestUtils.d.ts.map +1 -1
  31. package/dist/src/data/flowTestUtils.js +1 -1
  32. package/dist/src/data/sources/dataSource.js +1 -1
  33. package/dist/src/data/sources/dataSourceFactory.d.ts +3 -3
  34. package/dist/src/data/sources/dataSourceFactory.d.ts.map +1 -1
  35. package/dist/src/data/sources/dataSourceFactory.js +20 -20
  36. package/dist/src/data/sources/dataUtils.d.ts +20 -20
  37. package/dist/src/data/sources/dataUtils.d.ts.map +1 -1
  38. package/dist/src/data/sources/dataUtils.js +11 -11
  39. package/dist/src/data/sources/dynamic/axisGenomeSource.d.ts +3 -3
  40. package/dist/src/data/sources/dynamic/axisGenomeSource.d.ts.map +1 -1
  41. package/dist/src/data/sources/dynamic/axisGenomeSource.js +2 -2
  42. package/dist/src/data/sources/dynamic/axisTickSource.d.ts +6 -6
  43. package/dist/src/data/sources/dynamic/axisTickSource.d.ts.map +1 -1
  44. package/dist/src/data/sources/dynamic/axisTickSource.js +4 -4
  45. package/dist/src/data/sources/dynamic/bamSource.d.ts +7 -13
  46. package/dist/src/data/sources/dynamic/bamSource.d.ts.map +1 -1
  47. package/dist/src/data/sources/dynamic/bamSource.js +35 -27
  48. package/dist/src/data/sources/dynamic/bigBedSource.d.ts +9 -9
  49. package/dist/src/data/sources/dynamic/bigBedSource.d.ts.map +1 -1
  50. package/dist/src/data/sources/dynamic/bigBedSource.js +31 -18
  51. package/dist/src/data/sources/dynamic/bigWigSource.d.ts +7 -7
  52. package/dist/src/data/sources/dynamic/bigWigSource.d.ts.map +1 -1
  53. package/dist/src/data/sources/dynamic/bigWigSource.js +33 -26
  54. package/dist/src/data/sources/dynamic/gff3Source.d.ts +9 -0
  55. package/dist/src/data/sources/dynamic/gff3Source.d.ts.map +1 -1
  56. package/dist/src/data/sources/dynamic/gff3Source.js +17 -2
  57. package/dist/src/data/sources/dynamic/indexedFastaSource.d.ts +6 -9
  58. package/dist/src/data/sources/dynamic/indexedFastaSource.d.ts.map +1 -1
  59. package/dist/src/data/sources/dynamic/indexedFastaSource.js +28 -18
  60. package/dist/src/data/sources/dynamic/singleAxisLazySource.d.ts +10 -10
  61. package/dist/src/data/sources/dynamic/singleAxisLazySource.d.ts.map +1 -1
  62. package/dist/src/data/sources/dynamic/singleAxisLazySource.js +6 -6
  63. package/dist/src/data/sources/dynamic/tabixSource.d.ts +11 -8
  64. package/dist/src/data/sources/dynamic/tabixSource.d.ts.map +1 -1
  65. package/dist/src/data/sources/dynamic/tabixSource.js +31 -17
  66. package/dist/src/data/sources/inlineSource.d.ts +7 -7
  67. package/dist/src/data/sources/inlineSource.d.ts.map +1 -1
  68. package/dist/src/data/sources/inlineSource.js +5 -5
  69. package/dist/src/data/sources/namedSource.d.ts +9 -9
  70. package/dist/src/data/sources/namedSource.d.ts.map +1 -1
  71. package/dist/src/data/sources/namedSource.js +6 -6
  72. package/dist/src/data/sources/sequenceSource.d.ts +7 -7
  73. package/dist/src/data/sources/sequenceSource.d.ts.map +1 -1
  74. package/dist/src/data/sources/sequenceSource.js +4 -4
  75. package/dist/src/data/sources/urlSource.d.ts +7 -7
  76. package/dist/src/data/sources/urlSource.d.ts.map +1 -1
  77. package/dist/src/data/sources/urlSource.js +4 -4
  78. package/dist/src/data/transforms/aggregate.d.ts +3 -3
  79. package/dist/src/data/transforms/aggregate.d.ts.map +1 -1
  80. package/dist/src/data/transforms/aggregate.js +2 -2
  81. package/dist/src/data/transforms/clone.d.ts +2 -2
  82. package/dist/src/data/transforms/clone.d.ts.map +1 -1
  83. package/dist/src/data/transforms/clone.js +1 -1
  84. package/dist/src/data/transforms/coverage.d.ts +3 -3
  85. package/dist/src/data/transforms/coverage.d.ts.map +1 -1
  86. package/dist/src/data/transforms/coverage.js +1 -1
  87. package/dist/src/data/transforms/coverage.test.js +1 -1
  88. package/dist/src/data/transforms/filter.d.ts +3 -3
  89. package/dist/src/data/transforms/filter.d.ts.map +1 -1
  90. package/dist/src/data/transforms/filter.js +2 -2
  91. package/dist/src/data/transforms/filter.test.js +1 -1
  92. package/dist/src/data/transforms/filterScoredLabels.d.ts +4 -4
  93. package/dist/src/data/transforms/filterScoredLabels.d.ts.map +1 -1
  94. package/dist/src/data/transforms/filterScoredLabels.js +3 -3
  95. package/dist/src/data/transforms/flatten.d.ts +2 -2
  96. package/dist/src/data/transforms/flatten.d.ts.map +1 -1
  97. package/dist/src/data/transforms/flatten.js +3 -3
  98. package/dist/src/data/transforms/flatten.test.js +6 -6
  99. package/dist/src/data/transforms/flattenCompressedExons.d.ts +2 -2
  100. package/dist/src/data/transforms/flattenCompressedExons.d.ts.map +1 -1
  101. package/dist/src/data/transforms/flattenCompressedExons.js +1 -1
  102. package/dist/src/data/transforms/flattenDelimited.d.ts +2 -2
  103. package/dist/src/data/transforms/flattenDelimited.d.ts.map +1 -1
  104. package/dist/src/data/transforms/flattenDelimited.js +2 -2
  105. package/dist/src/data/transforms/flattenDelimited.test.js +5 -5
  106. package/dist/src/data/transforms/flattenSequence.d.ts +2 -2
  107. package/dist/src/data/transforms/flattenSequence.d.ts.map +1 -1
  108. package/dist/src/data/transforms/flattenSequence.js +1 -1
  109. package/dist/src/data/transforms/flattenSequence.test.js +1 -1
  110. package/dist/src/data/transforms/formula.d.ts +3 -3
  111. package/dist/src/data/transforms/formula.d.ts.map +1 -1
  112. package/dist/src/data/transforms/formula.js +2 -2
  113. package/dist/src/data/transforms/identifier.d.ts +3 -3
  114. package/dist/src/data/transforms/identifier.d.ts.map +1 -1
  115. package/dist/src/data/transforms/identifier.js +2 -2
  116. package/dist/src/data/transforms/linearizeGenomicCoordinate.d.ts +3 -3
  117. package/dist/src/data/transforms/linearizeGenomicCoordinate.d.ts.map +1 -1
  118. package/dist/src/data/transforms/linearizeGenomicCoordinate.js +2 -2
  119. package/dist/src/data/transforms/measureText.d.ts +2 -2
  120. package/dist/src/data/transforms/measureText.d.ts.map +1 -1
  121. package/dist/src/data/transforms/measureText.js +1 -1
  122. package/dist/src/data/transforms/pileup.d.ts +3 -3
  123. package/dist/src/data/transforms/pileup.d.ts.map +1 -1
  124. package/dist/src/data/transforms/pileup.js +1 -1
  125. package/dist/src/data/transforms/pileup.test.js +1 -1
  126. package/dist/src/data/transforms/project.d.ts +2 -2
  127. package/dist/src/data/transforms/project.d.ts.map +1 -1
  128. package/dist/src/data/transforms/project.js +1 -1
  129. package/dist/src/data/transforms/project.test.js +1 -1
  130. package/dist/src/data/transforms/regexExtract.d.ts +2 -2
  131. package/dist/src/data/transforms/regexExtract.d.ts.map +1 -1
  132. package/dist/src/data/transforms/regexExtract.js +1 -1
  133. package/dist/src/data/transforms/regexExtract.test.js +3 -3
  134. package/dist/src/data/transforms/regexFold.d.ts +2 -2
  135. package/dist/src/data/transforms/regexFold.d.ts.map +1 -1
  136. package/dist/src/data/transforms/regexFold.js +2 -2
  137. package/dist/src/data/transforms/regexFold.test.js +3 -3
  138. package/dist/src/data/transforms/sample.d.ts +2 -2
  139. package/dist/src/data/transforms/sample.d.ts.map +1 -1
  140. package/dist/src/data/transforms/sample.js +2 -2
  141. package/dist/src/data/transforms/stack.d.ts +3 -3
  142. package/dist/src/data/transforms/stack.d.ts.map +1 -1
  143. package/dist/src/data/transforms/stack.js +2 -2
  144. package/dist/src/data/transforms/stack.test.js +2 -2
  145. package/dist/src/data/transforms/transformFactory.d.ts +5 -5
  146. package/dist/src/data/transforms/transformFactory.d.ts.map +1 -1
  147. package/dist/src/data/transforms/transformFactory.js +3 -3
  148. package/dist/src/encoder/accessor.d.ts +6 -6
  149. package/dist/src/encoder/accessor.d.ts.map +1 -1
  150. package/dist/src/encoder/accessor.js +4 -4
  151. package/dist/src/encoder/encoder.d.ts +59 -59
  152. package/dist/src/encoder/encoder.d.ts.map +1 -1
  153. package/dist/src/encoder/encoder.js +40 -40
  154. package/dist/src/encoder/encoder.test.js +4 -4
  155. package/dist/src/fonts/bmFontManager.d.ts +7 -7
  156. package/dist/src/fonts/bmFontManager.d.ts.map +1 -1
  157. package/dist/src/fonts/bmFontManager.js +3 -3
  158. package/dist/src/fonts/bmFontMetrics.d.ts +6 -6
  159. package/dist/src/fonts/bmFontMetrics.d.ts.map +1 -1
  160. package/dist/src/fonts/bmFontMetrics.js +4 -4
  161. package/dist/src/genome/genome.d.ts +7 -7
  162. package/dist/src/genome/genome.d.ts.map +1 -1
  163. package/dist/src/genome/genome.js +2 -2
  164. package/dist/src/genome/genomeStore.d.ts +2 -2
  165. package/dist/src/genome/genomeStore.d.ts.map +1 -1
  166. package/dist/src/genome/genomeStore.js +1 -1
  167. package/dist/src/genome/locusFormat.d.ts +7 -7
  168. package/dist/src/genome/locusFormat.d.ts.map +1 -1
  169. package/dist/src/genome/locusFormat.js +4 -4
  170. package/dist/src/genome/scaleIndex.d.ts +1 -1
  171. package/dist/src/genome/scaleIndex.d.ts.map +1 -1
  172. package/dist/src/genome/scaleIndex.js +1 -1
  173. package/dist/src/genome/scaleLocus.d.ts +2 -2
  174. package/dist/src/genome/scaleLocus.d.ts.map +1 -1
  175. package/dist/src/genome/scaleLocus.js +3 -3
  176. package/dist/src/genomeSpy.d.ts +12 -12
  177. package/dist/src/genomeSpy.d.ts.map +1 -1
  178. package/dist/src/genomeSpy.js +51 -34
  179. package/dist/src/gl/arrayBuilder.d.ts.map +1 -1
  180. package/dist/src/gl/dataToVertices.d.ts +18 -18
  181. package/dist/src/gl/dataToVertices.d.ts.map +1 -1
  182. package/dist/src/gl/dataToVertices.js +10 -10
  183. package/dist/src/gl/webGLHelper.d.ts +4 -4
  184. package/dist/src/gl/webGLHelper.d.ts.map +1 -1
  185. package/dist/src/gl/webGLHelper.js +2 -2
  186. package/dist/src/index.d.ts.map +1 -1
  187. package/dist/src/index.js +1 -1
  188. package/dist/src/marks/link.js +5 -5
  189. package/dist/src/marks/mark.d.ts +35 -32
  190. package/dist/src/marks/mark.d.ts.map +1 -1
  191. package/dist/src/marks/mark.js +26 -23
  192. package/dist/src/marks/markUtils.d.ts +10 -10
  193. package/dist/src/marks/markUtils.d.ts.map +1 -1
  194. package/dist/src/marks/markUtils.js +5 -5
  195. package/dist/src/marks/pointMark.d.ts +1 -1
  196. package/dist/src/marks/pointMark.d.ts.map +1 -1
  197. package/dist/src/marks/pointMark.js +7 -7
  198. package/dist/src/marks/rectMark.d.ts +2 -2
  199. package/dist/src/marks/rectMark.d.ts.map +1 -1
  200. package/dist/src/marks/rectMark.js +7 -7
  201. package/dist/src/marks/rule.js +6 -6
  202. package/dist/src/marks/text.d.ts +1 -1
  203. package/dist/src/marks/text.d.ts.map +1 -1
  204. package/dist/src/marks/text.js +6 -6
  205. package/dist/src/scale/colorUtils.d.ts +4 -4
  206. package/dist/src/scale/colorUtils.d.ts.map +1 -1
  207. package/dist/src/scale/colorUtils.js +2 -2
  208. package/dist/src/scale/glslScaleGenerator.d.ts +3 -3
  209. package/dist/src/scale/glslScaleGenerator.d.ts.map +1 -1
  210. package/dist/src/scale/glslScaleGenerator.js +2 -2
  211. package/dist/src/scale/scale.d.ts +3 -3
  212. package/dist/src/scale/scale.d.ts.map +1 -1
  213. package/dist/src/scale/scale.js +2 -2
  214. package/dist/src/scale/ticks.d.ts +4 -4
  215. package/dist/src/scale/ticks.js +4 -4
  216. package/dist/src/spec/axis.d.ts +1 -1
  217. package/dist/src/spec/channel.d.ts +2 -2
  218. package/dist/src/spec/data.d.ts +2 -2
  219. package/dist/src/spec/mark.d.ts +3 -3
  220. package/dist/src/spec/root.d.ts +2 -2
  221. package/dist/src/spec/sampleView.d.ts +5 -5
  222. package/dist/src/spec/scale.d.ts +1 -1
  223. package/dist/src/spec/title.d.ts +1 -1
  224. package/dist/src/spec/view.d.ts +36 -9
  225. package/dist/src/tooltip/dataTooltipHandler.js +1 -1
  226. package/dist/src/tooltip/refseqGeneTooltipHandler.d.ts.map +1 -1
  227. package/dist/src/tooltip/refseqGeneTooltipHandler.js +1 -1
  228. package/dist/src/tooltip/tooltipHandler.d.ts +1 -1
  229. package/dist/src/tooltip/tooltipHandler.d.ts.map +1 -1
  230. package/dist/src/tooltip/tooltipHandler.ts +1 -1
  231. package/dist/src/types/embedApi.d.ts +3 -3
  232. package/dist/src/types/encoder.d.ts +4 -4
  233. package/dist/src/types/flowBatch.d.ts +1 -1
  234. package/dist/src/types/rendering.d.ts +3 -3
  235. package/dist/src/types/scaleResolutionApi.d.ts +2 -2
  236. package/dist/src/types/viewContext.d.ts +41 -12
  237. package/dist/src/utils/animator.d.ts +2 -2
  238. package/dist/src/utils/animator.d.ts.map +1 -1
  239. package/dist/src/utils/animator.js +1 -1
  240. package/dist/src/utils/inertia.d.ts +3 -3
  241. package/dist/src/utils/inertia.d.ts.map +1 -1
  242. package/dist/src/utils/inertia.js +1 -1
  243. package/dist/src/utils/interactionEvent.d.ts +5 -5
  244. package/dist/src/utils/interactionEvent.d.ts.map +1 -1
  245. package/dist/src/utils/interactionEvent.js +2 -2
  246. package/dist/src/utils/trees.js +1 -1
  247. package/dist/src/view/axisGridView.d.ts +17 -16
  248. package/dist/src/view/axisGridView.d.ts.map +1 -1
  249. package/dist/src/view/axisGridView.js +24 -20
  250. package/dist/src/view/axisResolution.d.ts +10 -10
  251. package/dist/src/view/axisResolution.d.ts.map +1 -1
  252. package/dist/src/view/axisResolution.js +6 -6
  253. package/dist/src/view/axisResolution.test.js +1 -1
  254. package/dist/src/view/axisView.d.ts +18 -17
  255. package/dist/src/view/axisView.d.ts.map +1 -1
  256. package/dist/src/view/axisView.js +39 -35
  257. package/dist/src/view/concatView.d.ts +5 -5
  258. package/dist/src/view/concatView.d.ts.map +1 -1
  259. package/dist/src/view/concatView.js +23 -23
  260. package/dist/src/view/containerView.d.ts +10 -8
  261. package/dist/src/view/containerView.d.ts.map +1 -1
  262. package/dist/src/view/containerView.js +18 -13
  263. package/dist/src/view/facetView.d.ts +12 -12
  264. package/dist/src/view/facetView.d.ts.map +1 -1
  265. package/dist/src/view/facetView.js +19 -19
  266. package/dist/src/view/flowBuilder.d.ts +4 -4
  267. package/dist/src/view/flowBuilder.d.ts.map +1 -1
  268. package/dist/src/view/flowBuilder.js +13 -13
  269. package/dist/src/view/flowBuilder.test.js +7 -7
  270. package/dist/src/view/gridView.d.ts +63 -35
  271. package/dist/src/view/gridView.d.ts.map +1 -1
  272. package/dist/src/view/gridView.js +400 -113
  273. package/dist/src/view/layerView.d.ts +12 -14
  274. package/dist/src/view/layerView.d.ts.map +1 -1
  275. package/dist/src/view/layerView.js +55 -26
  276. package/dist/src/{utils → view}/layout/flexLayout.d.ts +6 -6
  277. package/dist/src/view/layout/flexLayout.d.ts.map +1 -0
  278. package/dist/src/{utils → view}/layout/flexLayout.js +4 -4
  279. package/dist/src/view/layout/grid.d.ts.map +1 -0
  280. package/dist/src/{utils → view}/layout/padding.d.ts +4 -4
  281. package/dist/src/view/layout/padding.d.ts.map +1 -0
  282. package/dist/src/{utils → view}/layout/padding.js +2 -2
  283. package/dist/src/view/layout/point.d.ts.map +1 -0
  284. package/dist/src/{utils → view}/layout/rectangle.d.ts +8 -2
  285. package/dist/src/view/layout/rectangle.d.ts.map +1 -0
  286. package/dist/src/{utils → view}/layout/rectangle.js +22 -2
  287. package/dist/src/{utils → view}/layout/rectangle.test.js +8 -0
  288. package/dist/src/view/renderingContext/bufferedViewRenderingContext.d.ts +10 -10
  289. package/dist/src/view/renderingContext/bufferedViewRenderingContext.d.ts.map +1 -1
  290. package/dist/src/view/renderingContext/bufferedViewRenderingContext.js +10 -10
  291. package/dist/src/view/renderingContext/compositeViewRenderingContext.d.ts +2 -2
  292. package/dist/src/view/renderingContext/compositeViewRenderingContext.d.ts.map +1 -1
  293. package/dist/src/view/renderingContext/compositeViewRenderingContext.js +4 -4
  294. package/dist/src/view/renderingContext/debuggingViewRenderingContext.d.ts +4 -4
  295. package/dist/src/view/renderingContext/debuggingViewRenderingContext.d.ts.map +1 -1
  296. package/dist/src/view/renderingContext/debuggingViewRenderingContext.js +3 -3
  297. package/dist/src/view/renderingContext/layoutRecorderViewRenderingContext.d.ts +8 -8
  298. package/dist/src/view/renderingContext/layoutRecorderViewRenderingContext.d.ts.map +1 -1
  299. package/dist/src/view/renderingContext/layoutRecorderViewRenderingContext.js +4 -4
  300. package/dist/src/view/renderingContext/simpleViewRenderingContext.d.ts +6 -6
  301. package/dist/src/view/renderingContext/simpleViewRenderingContext.d.ts.map +1 -1
  302. package/dist/src/view/renderingContext/simpleViewRenderingContext.js +7 -7
  303. package/dist/src/view/renderingContext/svgViewRenderingContext.d.ts +4 -4
  304. package/dist/src/view/renderingContext/svgViewRenderingContext.d.ts.map +1 -1
  305. package/dist/src/view/renderingContext/svgViewRenderingContext.js +6 -6
  306. package/dist/src/view/renderingContext/viewRenderingContext.d.ts +10 -10
  307. package/dist/src/view/renderingContext/viewRenderingContext.d.ts.map +1 -1
  308. package/dist/src/view/renderingContext/viewRenderingContext.js +5 -5
  309. package/dist/src/view/scaleResolution.d.ts +21 -17
  310. package/dist/src/view/scaleResolution.d.ts.map +1 -1
  311. package/dist/src/view/scaleResolution.js +29 -24
  312. package/dist/src/view/scaleResolution.test.js +57 -72
  313. package/dist/src/view/testUtils.d.ts +6 -15
  314. package/dist/src/view/testUtils.d.ts.map +1 -1
  315. package/dist/src/view/testUtils.js +40 -44
  316. package/dist/src/view/title.d.ts +3 -3
  317. package/dist/src/view/title.d.ts.map +1 -1
  318. package/dist/src/view/title.js +12 -12
  319. package/dist/src/view/unitView.d.ts +31 -30
  320. package/dist/src/view/unitView.d.ts.map +1 -1
  321. package/dist/src/view/unitView.js +30 -22
  322. package/dist/src/view/view.d.ts +86 -57
  323. package/dist/src/view/view.d.ts.map +1 -1
  324. package/dist/src/view/view.js +148 -103
  325. package/dist/src/view/view.test.js +9 -8
  326. package/dist/src/view/viewError.d.ts +9 -0
  327. package/dist/src/view/viewError.d.ts.map +1 -0
  328. package/dist/src/view/viewError.js +11 -0
  329. package/dist/src/view/viewFactory.d.ts +53 -20
  330. package/dist/src/view/viewFactory.d.ts.map +1 -1
  331. package/dist/src/view/viewFactory.js +148 -33
  332. package/dist/src/view/viewFactory.test.js +8 -0
  333. package/dist/src/view/viewUtils.d.ts +14 -12
  334. package/dist/src/view/viewUtils.d.ts.map +1 -1
  335. package/dist/src/view/viewUtils.js +10 -63
  336. package/dist/src/view/zoom.d.ts +4 -4
  337. package/dist/src/view/zoom.d.ts.map +1 -1
  338. package/dist/src/view/zoom.js +3 -3
  339. package/package.json +7 -5
  340. package/dist/src/utils/layout/flexLayout.d.ts.map +0 -1
  341. package/dist/src/utils/layout/grid.d.ts.map +0 -1
  342. package/dist/src/utils/layout/padding.d.ts.map +0 -1
  343. package/dist/src/utils/layout/point.d.ts.map +0 -1
  344. package/dist/src/utils/layout/rectangle.d.ts.map +0 -1
  345. package/dist/src/view/implicitRootView.d.ts +0 -9
  346. package/dist/src/view/implicitRootView.d.ts.map +0 -1
  347. package/dist/src/view/implicitRootView.js +0 -23
  348. package/dist/src/view/importView.d.ts +0 -17
  349. package/dist/src/view/importView.d.ts.map +0 -1
  350. package/dist/src/view/importView.js +0 -22
  351. /package/dist/src/{utils → view}/layout/flexLayout.test.js +0 -0
  352. /package/dist/src/{utils → view}/layout/grid.d.ts +0 -0
  353. /package/dist/src/{utils → view}/layout/grid.js +0 -0
  354. /package/dist/src/{utils → view}/layout/grid.test.js +0 -0
  355. /package/dist/src/{utils → view}/layout/point.d.ts +0 -0
  356. /package/dist/src/{utils → view}/layout/point.js +0 -0
package/dist/schema.json CHANGED
@@ -671,14 +671,15 @@
671
671
  "const": "container",
672
672
  "type": "string"
673
673
  }
674
- ]
674
+ ],
675
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
675
676
  },
676
677
  "name": {
677
678
  "type": "string"
678
679
  },
679
680
  "opacity": {
680
681
  "$ref": "#/definitions/ViewOpacityDef",
681
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
682
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
682
683
  },
683
684
  "padding": {
684
685
  "$ref": "#/definitions/PaddingConfig",
@@ -731,6 +732,36 @@
731
732
  },
732
733
  "type": "array"
733
734
  },
735
+ "viewportHeight": {
736
+ "anyOf": [
737
+ {
738
+ "$ref": "#/definitions/SizeDef"
739
+ },
740
+ {
741
+ "type": "number"
742
+ },
743
+ {
744
+ "const": "container",
745
+ "type": "string"
746
+ }
747
+ ],
748
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
749
+ },
750
+ "viewportWidth": {
751
+ "anyOf": [
752
+ {
753
+ "$ref": "#/definitions/SizeDef"
754
+ },
755
+ {
756
+ "type": "number"
757
+ },
758
+ {
759
+ "const": "container",
760
+ "type": "string"
761
+ }
762
+ ],
763
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
764
+ },
734
765
  "visible": {
735
766
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
736
767
  "type": "boolean"
@@ -750,7 +781,8 @@
750
781
  "const": "container",
751
782
  "type": "string"
752
783
  }
753
- ]
784
+ ],
785
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
754
786
  }
755
787
  },
756
788
  "required": [
@@ -1826,14 +1858,15 @@
1826
1858
  "const": "container",
1827
1859
  "type": "string"
1828
1860
  }
1829
- ]
1861
+ ],
1862
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
1830
1863
  },
1831
1864
  "name": {
1832
1865
  "type": "string"
1833
1866
  },
1834
1867
  "opacity": {
1835
1868
  "$ref": "#/definitions/ViewOpacityDef",
1836
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
1869
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
1837
1870
  },
1838
1871
  "padding": {
1839
1872
  "$ref": "#/definitions/PaddingConfig",
@@ -1886,6 +1919,36 @@
1886
1919
  },
1887
1920
  "type": "array"
1888
1921
  },
1922
+ "viewportHeight": {
1923
+ "anyOf": [
1924
+ {
1925
+ "$ref": "#/definitions/SizeDef"
1926
+ },
1927
+ {
1928
+ "type": "number"
1929
+ },
1930
+ {
1931
+ "const": "container",
1932
+ "type": "string"
1933
+ }
1934
+ ],
1935
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
1936
+ },
1937
+ "viewportWidth": {
1938
+ "anyOf": [
1939
+ {
1940
+ "$ref": "#/definitions/SizeDef"
1941
+ },
1942
+ {
1943
+ "type": "number"
1944
+ },
1945
+ {
1946
+ "const": "container",
1947
+ "type": "string"
1948
+ }
1949
+ ],
1950
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
1951
+ },
1889
1952
  "visible": {
1890
1953
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
1891
1954
  "type": "boolean"
@@ -1905,7 +1968,8 @@
1905
1968
  "const": "container",
1906
1969
  "type": "string"
1907
1970
  }
1908
- ]
1971
+ ],
1972
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
1909
1973
  }
1910
1974
  },
1911
1975
  "required": [
@@ -2142,7 +2206,8 @@
2142
2206
  "const": "container",
2143
2207
  "type": "string"
2144
2208
  }
2145
- ]
2209
+ ],
2210
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
2146
2211
  },
2147
2212
  "layer": {
2148
2213
  "items": {
@@ -2162,7 +2227,7 @@
2162
2227
  },
2163
2228
  "opacity": {
2164
2229
  "$ref": "#/definitions/ViewOpacityDef",
2165
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
2230
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
2166
2231
  },
2167
2232
  "padding": {
2168
2233
  "$ref": "#/definitions/PaddingConfig",
@@ -2215,6 +2280,36 @@
2215
2280
  "view": {
2216
2281
  "$ref": "#/definitions/ViewBackground"
2217
2282
  },
2283
+ "viewportHeight": {
2284
+ "anyOf": [
2285
+ {
2286
+ "$ref": "#/definitions/SizeDef"
2287
+ },
2288
+ {
2289
+ "type": "number"
2290
+ },
2291
+ {
2292
+ "const": "container",
2293
+ "type": "string"
2294
+ }
2295
+ ],
2296
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
2297
+ },
2298
+ "viewportWidth": {
2299
+ "anyOf": [
2300
+ {
2301
+ "$ref": "#/definitions/SizeDef"
2302
+ },
2303
+ {
2304
+ "type": "number"
2305
+ },
2306
+ {
2307
+ "const": "container",
2308
+ "type": "string"
2309
+ }
2310
+ ],
2311
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
2312
+ },
2218
2313
  "visible": {
2219
2314
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
2220
2315
  "type": "boolean"
@@ -2234,7 +2329,8 @@
2234
2329
  "const": "container",
2235
2330
  "type": "string"
2236
2331
  }
2237
- ]
2332
+ ],
2333
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
2238
2334
  }
2239
2335
  },
2240
2336
  "required": [
@@ -3558,7 +3654,8 @@
3558
3654
  "const": "container",
3559
3655
  "type": "string"
3560
3656
  }
3561
- ]
3657
+ ],
3658
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
3562
3659
  },
3563
3660
  "mark": {
3564
3661
  "anyOf": [
@@ -3575,7 +3672,7 @@
3575
3672
  },
3576
3673
  "opacity": {
3577
3674
  "$ref": "#/definitions/ViewOpacityDef",
3578
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
3675
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
3579
3676
  },
3580
3677
  "padding": {
3581
3678
  "$ref": "#/definitions/PaddingConfig",
@@ -3628,6 +3725,36 @@
3628
3725
  "view": {
3629
3726
  "$ref": "#/definitions/ViewBackground"
3630
3727
  },
3728
+ "viewportHeight": {
3729
+ "anyOf": [
3730
+ {
3731
+ "$ref": "#/definitions/SizeDef"
3732
+ },
3733
+ {
3734
+ "type": "number"
3735
+ },
3736
+ {
3737
+ "const": "container",
3738
+ "type": "string"
3739
+ }
3740
+ ],
3741
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
3742
+ },
3743
+ "viewportWidth": {
3744
+ "anyOf": [
3745
+ {
3746
+ "$ref": "#/definitions/SizeDef"
3747
+ },
3748
+ {
3749
+ "type": "number"
3750
+ },
3751
+ {
3752
+ "const": "container",
3753
+ "type": "string"
3754
+ }
3755
+ ],
3756
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
3757
+ },
3631
3758
  "visible": {
3632
3759
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
3633
3760
  "type": "boolean"
@@ -3647,7 +3774,8 @@
3647
3774
  "const": "container",
3648
3775
  "type": "string"
3649
3776
  }
3650
- ]
3777
+ ],
3778
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
3651
3779
  }
3652
3780
  },
3653
3781
  "required": [
@@ -3731,7 +3859,8 @@
3731
3859
  "const": "container",
3732
3860
  "type": "string"
3733
3861
  }
3734
- ]
3862
+ ],
3863
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
3735
3864
  },
3736
3865
  "layer": {
3737
3866
  "items": {
@@ -3751,7 +3880,7 @@
3751
3880
  },
3752
3881
  "opacity": {
3753
3882
  "$ref": "#/definitions/ViewOpacityDef",
3754
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
3883
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
3755
3884
  },
3756
3885
  "padding": {
3757
3886
  "$ref": "#/definitions/PaddingConfig",
@@ -3804,6 +3933,36 @@
3804
3933
  "view": {
3805
3934
  "$ref": "#/definitions/ViewBackground"
3806
3935
  },
3936
+ "viewportHeight": {
3937
+ "anyOf": [
3938
+ {
3939
+ "$ref": "#/definitions/SizeDef"
3940
+ },
3941
+ {
3942
+ "type": "number"
3943
+ },
3944
+ {
3945
+ "const": "container",
3946
+ "type": "string"
3947
+ }
3948
+ ],
3949
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
3950
+ },
3951
+ "viewportWidth": {
3952
+ "anyOf": [
3953
+ {
3954
+ "$ref": "#/definitions/SizeDef"
3955
+ },
3956
+ {
3957
+ "type": "number"
3958
+ },
3959
+ {
3960
+ "const": "container",
3961
+ "type": "string"
3962
+ }
3963
+ ],
3964
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
3965
+ },
3807
3966
  "visible": {
3808
3967
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
3809
3968
  "type": "boolean"
@@ -3823,7 +3982,8 @@
3823
3982
  "const": "container",
3824
3983
  "type": "string"
3825
3984
  }
3826
- ]
3985
+ ],
3986
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
3827
3987
  }
3828
3988
  },
3829
3989
  "required": [
@@ -3894,14 +4054,15 @@
3894
4054
  "const": "container",
3895
4055
  "type": "string"
3896
4056
  }
3897
- ]
4057
+ ],
4058
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
3898
4059
  },
3899
4060
  "name": {
3900
4061
  "type": "string"
3901
4062
  },
3902
4063
  "opacity": {
3903
4064
  "$ref": "#/definitions/ViewOpacityDef",
3904
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
4065
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
3905
4066
  },
3906
4067
  "padding": {
3907
4068
  "$ref": "#/definitions/PaddingConfig",
@@ -3935,23 +4096,8 @@
3935
4096
  },
3936
4097
  "type": "object"
3937
4098
  },
3938
- "samples": {
3939
- "$ref": "#/definitions/SampleDef",
3940
- "description": "Sample metadata definition. If the object is empty, the sample identifiers will be inferred from the data."
3941
- },
3942
- "spec": {
3943
- "anyOf": [
3944
- {
3945
- "$ref": "#/definitions/LayerSpec"
3946
- },
3947
- {
3948
- "$ref": "#/definitions/UnitSpec"
3949
- }
3950
- ],
3951
- "description": "The view specification to be repeated for each sample."
3952
- },
3953
- "stickySummaries": {
3954
- "type": "boolean"
4099
+ "spacing": {
4100
+ "type": "number"
3955
4101
  },
3956
4102
  "title": {
3957
4103
  "anyOf": [
@@ -3969,9 +4115,48 @@
3969
4115
  },
3970
4116
  "type": "array"
3971
4117
  },
3972
- "view": {
3973
- "$ref": "#/definitions/ViewBackground",
3974
- "description": "An object defining the view background and outline. The background is repeated for each group."
4118
+ "vconcat": {
4119
+ "items": {
4120
+ "anyOf": [
4121
+ {
4122
+ "$ref": "#/definitions/ViewSpec"
4123
+ },
4124
+ {
4125
+ "$ref": "#/definitions/ImportSpec"
4126
+ }
4127
+ ]
4128
+ },
4129
+ "type": "array"
4130
+ },
4131
+ "viewportHeight": {
4132
+ "anyOf": [
4133
+ {
4134
+ "$ref": "#/definitions/SizeDef"
4135
+ },
4136
+ {
4137
+ "type": "number"
4138
+ },
4139
+ {
4140
+ "const": "container",
4141
+ "type": "string"
4142
+ }
4143
+ ],
4144
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
4145
+ },
4146
+ "viewportWidth": {
4147
+ "anyOf": [
4148
+ {
4149
+ "$ref": "#/definitions/SizeDef"
4150
+ },
4151
+ {
4152
+ "type": "number"
4153
+ },
4154
+ {
4155
+ "const": "container",
4156
+ "type": "string"
4157
+ }
4158
+ ],
4159
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
3975
4160
  },
3976
4161
  "visible": {
3977
4162
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
@@ -3992,12 +4177,12 @@
3992
4177
  "const": "container",
3993
4178
  "type": "string"
3994
4179
  }
3995
- ]
4180
+ ],
4181
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
3996
4182
  }
3997
4183
  },
3998
4184
  "required": [
3999
- "samples",
4000
- "spec"
4185
+ "vconcat"
4001
4186
  ],
4002
4187
  "type": "object"
4003
4188
  },
@@ -4049,6 +4234,19 @@
4049
4234
  "genome": {
4050
4235
  "$ref": "#/definitions/GenomeConfig"
4051
4236
  },
4237
+ "hconcat": {
4238
+ "items": {
4239
+ "anyOf": [
4240
+ {
4241
+ "$ref": "#/definitions/ViewSpec"
4242
+ },
4243
+ {
4244
+ "$ref": "#/definitions/ImportSpec"
4245
+ }
4246
+ ]
4247
+ },
4248
+ "type": "array"
4249
+ },
4052
4250
  "height": {
4053
4251
  "anyOf": [
4054
4252
  {
@@ -4064,14 +4262,15 @@
4064
4262
  "const": "container",
4065
4263
  "type": "string"
4066
4264
  }
4067
- ]
4265
+ ],
4266
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
4068
4267
  },
4069
4268
  "name": {
4070
4269
  "type": "string"
4071
4270
  },
4072
4271
  "opacity": {
4073
4272
  "$ref": "#/definitions/ViewOpacityDef",
4074
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
4273
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
4075
4274
  },
4076
4275
  "padding": {
4077
4276
  "$ref": "#/definitions/PaddingConfig",
@@ -4124,18 +4323,35 @@
4124
4323
  },
4125
4324
  "type": "array"
4126
4325
  },
4127
- "vconcat": {
4128
- "items": {
4129
- "anyOf": [
4130
- {
4131
- "$ref": "#/definitions/ViewSpec"
4132
- },
4133
- {
4134
- "$ref": "#/definitions/ImportSpec"
4135
- }
4136
- ]
4137
- },
4138
- "type": "array"
4326
+ "viewportHeight": {
4327
+ "anyOf": [
4328
+ {
4329
+ "$ref": "#/definitions/SizeDef"
4330
+ },
4331
+ {
4332
+ "type": "number"
4333
+ },
4334
+ {
4335
+ "const": "container",
4336
+ "type": "string"
4337
+ }
4338
+ ],
4339
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
4340
+ },
4341
+ "viewportWidth": {
4342
+ "anyOf": [
4343
+ {
4344
+ "$ref": "#/definitions/SizeDef"
4345
+ },
4346
+ {
4347
+ "type": "number"
4348
+ },
4349
+ {
4350
+ "const": "container",
4351
+ "type": "string"
4352
+ }
4353
+ ],
4354
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
4139
4355
  },
4140
4356
  "visible": {
4141
4357
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
@@ -4156,11 +4372,12 @@
4156
4372
  "const": "container",
4157
4373
  "type": "string"
4158
4374
  }
4159
- ]
4375
+ ],
4376
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
4160
4377
  }
4161
4378
  },
4162
4379
  "required": [
4163
- "vconcat"
4380
+ "hconcat"
4164
4381
  ],
4165
4382
  "type": "object"
4166
4383
  },
@@ -4177,6 +4394,22 @@
4177
4394
  "baseUrl": {
4178
4395
  "type": "string"
4179
4396
  },
4397
+ "columns": {
4398
+ "type": "number"
4399
+ },
4400
+ "concat": {
4401
+ "items": {
4402
+ "anyOf": [
4403
+ {
4404
+ "$ref": "#/definitions/ViewSpec"
4405
+ },
4406
+ {
4407
+ "$ref": "#/definitions/ImportSpec"
4408
+ }
4409
+ ]
4410
+ },
4411
+ "type": "array"
4412
+ },
4180
4413
  "configurableVisibility": {
4181
4414
  "description": "Is the visibility configurable interactively from the App. Configurability requires that the view has an explicitly specified name that is *unique* in within the view specification.\n\n**Default:** `false` for children of `layer`, `true` for others.",
4182
4415
  "type": "boolean"
@@ -4212,19 +4445,6 @@
4212
4445
  "genome": {
4213
4446
  "$ref": "#/definitions/GenomeConfig"
4214
4447
  },
4215
- "hconcat": {
4216
- "items": {
4217
- "anyOf": [
4218
- {
4219
- "$ref": "#/definitions/ViewSpec"
4220
- },
4221
- {
4222
- "$ref": "#/definitions/ImportSpec"
4223
- }
4224
- ]
4225
- },
4226
- "type": "array"
4227
- },
4228
4448
  "height": {
4229
4449
  "anyOf": [
4230
4450
  {
@@ -4240,14 +4460,15 @@
4240
4460
  "const": "container",
4241
4461
  "type": "string"
4242
4462
  }
4243
- ]
4463
+ ],
4464
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
4244
4465
  },
4245
4466
  "name": {
4246
4467
  "type": "string"
4247
4468
  },
4248
4469
  "opacity": {
4249
4470
  "$ref": "#/definitions/ViewOpacityDef",
4250
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
4471
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
4251
4472
  },
4252
4473
  "padding": {
4253
4474
  "$ref": "#/definitions/PaddingConfig",
@@ -4300,6 +4521,36 @@
4300
4521
  },
4301
4522
  "type": "array"
4302
4523
  },
4524
+ "viewportHeight": {
4525
+ "anyOf": [
4526
+ {
4527
+ "$ref": "#/definitions/SizeDef"
4528
+ },
4529
+ {
4530
+ "type": "number"
4531
+ },
4532
+ {
4533
+ "const": "container",
4534
+ "type": "string"
4535
+ }
4536
+ ],
4537
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
4538
+ },
4539
+ "viewportWidth": {
4540
+ "anyOf": [
4541
+ {
4542
+ "$ref": "#/definitions/SizeDef"
4543
+ },
4544
+ {
4545
+ "type": "number"
4546
+ },
4547
+ {
4548
+ "const": "container",
4549
+ "type": "string"
4550
+ }
4551
+ ],
4552
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
4553
+ },
4303
4554
  "visible": {
4304
4555
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
4305
4556
  "type": "boolean"
@@ -4319,11 +4570,13 @@
4319
4570
  "const": "container",
4320
4571
  "type": "string"
4321
4572
  }
4322
- ]
4573
+ ],
4574
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
4323
4575
  }
4324
4576
  },
4325
4577
  "required": [
4326
- "hconcat"
4578
+ "columns",
4579
+ "concat"
4327
4580
  ],
4328
4581
  "type": "object"
4329
4582
  },
@@ -4340,22 +4593,6 @@
4340
4593
  "baseUrl": {
4341
4594
  "type": "string"
4342
4595
  },
4343
- "columns": {
4344
- "type": "number"
4345
- },
4346
- "concat": {
4347
- "items": {
4348
- "anyOf": [
4349
- {
4350
- "$ref": "#/definitions/ViewSpec"
4351
- },
4352
- {
4353
- "$ref": "#/definitions/ImportSpec"
4354
- }
4355
- ]
4356
- },
4357
- "type": "array"
4358
- },
4359
4596
  "configurableVisibility": {
4360
4597
  "description": "Is the visibility configurable interactively from the App. Configurability requires that the view has an explicitly specified name that is *unique* in within the view specification.\n\n**Default:** `false` for children of `layer`, `true` for others.",
4361
4598
  "type": "boolean"
@@ -4406,14 +4643,15 @@
4406
4643
  "const": "container",
4407
4644
  "type": "string"
4408
4645
  }
4409
- ]
4646
+ ],
4647
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
4410
4648
  },
4411
4649
  "name": {
4412
4650
  "type": "string"
4413
4651
  },
4414
4652
  "opacity": {
4415
4653
  "$ref": "#/definitions/ViewOpacityDef",
4416
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
4654
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
4417
4655
  },
4418
4656
  "padding": {
4419
4657
  "$ref": "#/definitions/PaddingConfig",
@@ -4447,8 +4685,23 @@
4447
4685
  },
4448
4686
  "type": "object"
4449
4687
  },
4450
- "spacing": {
4451
- "type": "number"
4688
+ "samples": {
4689
+ "$ref": "#/definitions/SampleDef",
4690
+ "description": "Sample metadata definition. If the object is empty, the sample identifiers will be inferred from the data."
4691
+ },
4692
+ "spec": {
4693
+ "anyOf": [
4694
+ {
4695
+ "$ref": "#/definitions/LayerSpec"
4696
+ },
4697
+ {
4698
+ "$ref": "#/definitions/UnitSpec"
4699
+ }
4700
+ ],
4701
+ "description": "The view specification to be repeated for each sample."
4702
+ },
4703
+ "stickySummaries": {
4704
+ "type": "boolean"
4452
4705
  },
4453
4706
  "title": {
4454
4707
  "anyOf": [
@@ -4466,6 +4719,40 @@
4466
4719
  },
4467
4720
  "type": "array"
4468
4721
  },
4722
+ "view": {
4723
+ "$ref": "#/definitions/ViewBackground",
4724
+ "description": "An object defining the view background and outline. The background is repeated for each group."
4725
+ },
4726
+ "viewportHeight": {
4727
+ "anyOf": [
4728
+ {
4729
+ "$ref": "#/definitions/SizeDef"
4730
+ },
4731
+ {
4732
+ "type": "number"
4733
+ },
4734
+ {
4735
+ "const": "container",
4736
+ "type": "string"
4737
+ }
4738
+ ],
4739
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
4740
+ },
4741
+ "viewportWidth": {
4742
+ "anyOf": [
4743
+ {
4744
+ "$ref": "#/definitions/SizeDef"
4745
+ },
4746
+ {
4747
+ "type": "number"
4748
+ },
4749
+ {
4750
+ "const": "container",
4751
+ "type": "string"
4752
+ }
4753
+ ],
4754
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
4755
+ },
4469
4756
  "visible": {
4470
4757
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
4471
4758
  "type": "boolean"
@@ -4485,12 +4772,13 @@
4485
4772
  "const": "container",
4486
4773
  "type": "string"
4487
4774
  }
4488
- ]
4775
+ ],
4776
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
4489
4777
  }
4490
4778
  },
4491
4779
  "required": [
4492
- "columns",
4493
- "concat"
4780
+ "samples",
4781
+ "spec"
4494
4782
  ],
4495
4783
  "type": "object"
4496
4784
  }
@@ -4662,14 +4950,15 @@
4662
4950
  "const": "container",
4663
4951
  "type": "string"
4664
4952
  }
4665
- ]
4953
+ ],
4954
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
4666
4955
  },
4667
4956
  "name": {
4668
4957
  "type": "string"
4669
4958
  },
4670
4959
  "opacity": {
4671
4960
  "$ref": "#/definitions/ViewOpacityDef",
4672
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
4961
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
4673
4962
  },
4674
4963
  "padding": {
4675
4964
  "$ref": "#/definitions/PaddingConfig",
@@ -4741,6 +5030,36 @@
4741
5030
  "$ref": "#/definitions/ViewBackground",
4742
5031
  "description": "An object defining the view background and outline. The background is repeated for each group."
4743
5032
  },
5033
+ "viewportHeight": {
5034
+ "anyOf": [
5035
+ {
5036
+ "$ref": "#/definitions/SizeDef"
5037
+ },
5038
+ {
5039
+ "type": "number"
5040
+ },
5041
+ {
5042
+ "const": "container",
5043
+ "type": "string"
5044
+ }
5045
+ ],
5046
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
5047
+ },
5048
+ "viewportWidth": {
5049
+ "anyOf": [
5050
+ {
5051
+ "$ref": "#/definitions/SizeDef"
5052
+ },
5053
+ {
5054
+ "type": "number"
5055
+ },
5056
+ {
5057
+ "const": "container",
5058
+ "type": "string"
5059
+ }
5060
+ ],
5061
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
5062
+ },
4744
5063
  "visible": {
4745
5064
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
4746
5065
  "type": "boolean"
@@ -4760,7 +5079,8 @@
4760
5079
  "const": "container",
4761
5080
  "type": "string"
4762
5081
  }
4763
- ]
5082
+ ],
5083
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
4764
5084
  }
4765
5085
  },
4766
5086
  "required": [
@@ -5539,7 +5859,8 @@
5539
5859
  "const": "container",
5540
5860
  "type": "string"
5541
5861
  }
5542
- ]
5862
+ ],
5863
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
5543
5864
  },
5544
5865
  "mark": {
5545
5866
  "anyOf": [
@@ -5556,7 +5877,7 @@
5556
5877
  },
5557
5878
  "opacity": {
5558
5879
  "$ref": "#/definitions/ViewOpacityDef",
5559
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
5880
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
5560
5881
  },
5561
5882
  "padding": {
5562
5883
  "$ref": "#/definitions/PaddingConfig",
@@ -5609,6 +5930,36 @@
5609
5930
  "view": {
5610
5931
  "$ref": "#/definitions/ViewBackground"
5611
5932
  },
5933
+ "viewportHeight": {
5934
+ "anyOf": [
5935
+ {
5936
+ "$ref": "#/definitions/SizeDef"
5937
+ },
5938
+ {
5939
+ "type": "number"
5940
+ },
5941
+ {
5942
+ "const": "container",
5943
+ "type": "string"
5944
+ }
5945
+ ],
5946
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
5947
+ },
5948
+ "viewportWidth": {
5949
+ "anyOf": [
5950
+ {
5951
+ "$ref": "#/definitions/SizeDef"
5952
+ },
5953
+ {
5954
+ "type": "number"
5955
+ },
5956
+ {
5957
+ "const": "container",
5958
+ "type": "string"
5959
+ }
5960
+ ],
5961
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
5962
+ },
5612
5963
  "visible": {
5613
5964
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
5614
5965
  "type": "boolean"
@@ -5628,7 +5979,8 @@
5628
5979
  "const": "container",
5629
5980
  "type": "string"
5630
5981
  }
5631
- ]
5982
+ ],
5983
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
5632
5984
  }
5633
5985
  },
5634
5986
  "required": [
@@ -5712,14 +6064,15 @@
5712
6064
  "const": "container",
5713
6065
  "type": "string"
5714
6066
  }
5715
- ]
6067
+ ],
6068
+ "description": "Height of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
5716
6069
  },
5717
6070
  "name": {
5718
6071
  "type": "string"
5719
6072
  },
5720
6073
  "opacity": {
5721
6074
  "$ref": "#/definitions/ViewOpacityDef",
5722
- "description": "Opacity of the view and all its children.\n\n**Default:* `1.0`"
6075
+ "description": "Opacity of the view and all its children.\n\n**Default:** `1.0`"
5723
6076
  },
5724
6077
  "padding": {
5725
6078
  "$ref": "#/definitions/PaddingConfig",
@@ -5785,6 +6138,36 @@
5785
6138
  },
5786
6139
  "type": "array"
5787
6140
  },
6141
+ "viewportHeight": {
6142
+ "anyOf": [
6143
+ {
6144
+ "$ref": "#/definitions/SizeDef"
6145
+ },
6146
+ {
6147
+ "type": "number"
6148
+ },
6149
+ {
6150
+ "const": "container",
6151
+ "type": "string"
6152
+ }
6153
+ ],
6154
+ "description": "Optional viewport height of the view. If the view size exceeds the viewport height, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `height`)"
6155
+ },
6156
+ "viewportWidth": {
6157
+ "anyOf": [
6158
+ {
6159
+ "$ref": "#/definitions/SizeDef"
6160
+ },
6161
+ {
6162
+ "type": "number"
6163
+ },
6164
+ {
6165
+ "const": "container",
6166
+ "type": "string"
6167
+ }
6168
+ ],
6169
+ "description": "Optional viewport width of the view. If the view size exceeds the viewport width, it will be shown with scrollbars. This property implicitly enables clipping.\n\n**Default:** `null` (same as `width`)"
6170
+ },
5788
6171
  "visible": {
5789
6172
  "description": "Visibility of the view. An invisible view is removed from the layout and not rendered.\n\n**Default:** `true`",
5790
6173
  "type": "boolean"
@@ -5804,7 +6187,8 @@
5804
6187
  "const": "container",
5805
6188
  "type": "string"
5806
6189
  }
5807
- ]
6190
+ ],
6191
+ "description": "Width of the view. If a number, it is interpreted as pixels.\n\n**Default:** `\"container\"`"
5808
6192
  }
5809
6193
  },
5810
6194
  "required": [
@@ -5898,9 +6282,6 @@
5898
6282
  {
5899
6283
  "$ref": "#/definitions/LayerSpec"
5900
6284
  },
5901
- {
5902
- "$ref": "#/definitions/SampleSpec"
5903
- },
5904
6285
  {
5905
6286
  "$ref": "#/definitions/VConcatSpec"
5906
6287
  },
@@ -5909,6 +6290,9 @@
5909
6290
  },
5910
6291
  {
5911
6292
  "$ref": "#/definitions/ConcatSpec"
6293
+ },
6294
+ {
6295
+ "$ref": "#/definitions/SampleSpec"
5912
6296
  }
5913
6297
  ]
5914
6298
  },