@genome-spy/app 0.88.1 → 0.89.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 (43) hide show
  1. package/dist/{agentApi-BIpg3JKh.js → agentApi-BUcXm-JC.js} +5544 -6449
  2. package/dist/agentApi.es.js +3328 -4255
  3. package/dist/agentShared.es.js +9 -9
  4. package/dist/{canvas2d-BVQ7-2eJ.js → canvas2d-CGuVGvQk.js} +117 -106
  5. package/dist/{canvas2d-D7SZK3xv.js → canvas2d-DgF0kstG.js} +99 -88
  6. package/dist/{canvasSizeHelper-7h_8rOcx.js → canvasSizeHelper-foL2YvGL.js} +15 -8
  7. package/dist/{clipOptions-DTMcB_9z.js → clipOptions-8BPf0WMZ.js} +1013 -755
  8. package/dist/{clipOptions-BWHr3aTa.js → clipOptions-DBJX_W31.js} +1033 -775
  9. package/dist/{debug-CVpoEOWx.js → debug-BEWbYuZD.js} +2 -2
  10. package/dist/{debug-DYAMZZKl.js → debug-DQj_7mFm.js} +2 -2
  11. package/dist/index.es.js +65 -65
  12. package/dist/index.js +406 -362
  13. package/dist/{indexer-DAH_ruVn.js → indexer-Cdt_U05k.js} +1 -1
  14. package/dist/{indexer-CXjZDo2Q.js → indexer-D8Bgkkb8.js} +1 -1
  15. package/dist/order-BPOzLe80.js +1056 -0
  16. package/dist/order-DIxlclRN.js +1056 -0
  17. package/dist/rasterExport-Bl6w9t3J.js +51 -0
  18. package/dist/rasterExport-DRvNAH-r.js +51 -0
  19. package/dist/rasterization-D0tOoKu_.js +62 -0
  20. package/dist/rectangle-DE98gIxF.js +108 -0
  21. package/dist/{renderCanvas2D-DxturTEW.js → renderCanvas2D-Ct95auF3.js} +60 -59
  22. package/dist/{renderCanvas2D-DtcJjqpB.js → renderCanvas2D-LdEYFnRo.js} +71 -70
  23. package/dist/schema.json +588 -116
  24. package/dist/{svg-CyrLfa9e.js → svg-Ag36-h_I.js} +394 -382
  25. package/dist/{svg-SDJMzL--.js → svg-pkTPD4bv.js} +368 -356
  26. package/dist/{svgRasterizer-f7DJ3UO0.js → svgRasterizer-CksK4QTB.js} +6 -5
  27. package/dist/{svgRasterizer-mWK7HTkx.js → svgRasterizer-DrtJ9nLk.js} +6 -5
  28. package/dist/{vega-scale-CypF85iS.js → vega-scale-BJaDSHBJ.js} +891 -959
  29. package/dist/{vega-scale-DLKCwWRs.js → vega-scale-BWBFykuI.js} +692 -760
  30. package/dist/{viewIdentityRegistry-DIDo44XQ.js → viewIdentityRegistry-B-snqI3y.js} +1 -1
  31. package/dist/{viewIdentityRegistry-Dl-vMN9I.js → viewIdentityRegistry-BvCJajXG.js} +1 -1
  32. package/dist/{viewSelectors-CymbZyE6.js → viewSelectors-BlvzvG-z.js} +445 -380
  33. package/dist/{viewSelectors-DNiDip5e.js → viewSelectors-C5q3qBiR.js} +364 -299
  34. package/dist/{viewUtils-BrJLIj2o.js → viewUtils-C3vBtSvE.js} +1714 -1689
  35. package/dist/{webgl-tZfZ8y3q.js → webgl-CZX2pe5v.js} +2319 -972
  36. package/dist/{webgl-CTJt7jQd.js → webgl-CexXSw_I.js} +2371 -1024
  37. package/package.json +5 -5
  38. package/dist/order-C5CzA37O.js +0 -918
  39. package/dist/order-DvY7KNcu.js +0 -918
  40. package/dist/rasterExport-BgZ98e6U.js +0 -44
  41. package/dist/rasterExport-DEr8fOLm.js +0 -44
  42. package/dist/rasterization-CFogVB3B.js +0 -50
  43. package/dist/rectangle-DKnrAmKs.js +0 -142
@@ -1,7 +1,7 @@
1
- import { t as e } from "./rasterization-CFogVB3B.js";
2
- import { t } from "./rectangle-DKnrAmKs.js";
1
+ import { t as e } from "./rasterization-D0tOoKu_.js";
2
+ import { t } from "./rectangle-DE98gIxF.js";
3
3
  import { t as n } from "./layoutResult-D50MSHXR.js";
4
- import { t as r } from "./renderCanvas2D-DtcJjqpB.js";
4
+ import { t as r } from "./renderCanvas2D-LdEYFnRo.js";
5
5
  import { n as i, t as a } from "./rasterImage-B4rPLaW9.js";
6
6
  //#region ../core/src/rendering/canvas2d/svgRasterizer.js
7
7
  function o() {
@@ -12,7 +12,7 @@ function o() {
12
12
  throw new e("Unable to initialize Canvas2D SVG rasterization contexts.", { cause: t });
13
13
  }
14
14
  if (!s || !l) throw new e("Unable to initialize Canvas2D SVG rasterization contexts.");
15
- return (e) => {
15
+ return async (e) => {
16
16
  let u = Math.ceil(e.logicalWidth * e.pixelRatio), d = Math.ceil(e.logicalHeight * e.pixelRatio), f = [];
17
17
  o.width = u, o.height = d;
18
18
  let p = e.pixelRatio == 1 && e.layoutResult ? e.layoutResult : n(e.viewRoot, t.create(0, 0, e.logicalWidth, e.logicalHeight), {
@@ -29,7 +29,8 @@ function o() {
29
29
  background: null,
30
30
  paint: !0,
31
31
  markPredicate: (e) => t.marks.has(e),
32
- opacityLayers: f
32
+ opacityLayers: f,
33
+ textMetrics: e.textMetrics
33
34
  });
34
35
  let n = a(t.bounds, e.pixelRatio, u, d);
35
36
  c.width = n.width, c.height = n.height, l.resetTransform(), l.clearRect(0, 0, n.width, n.height), l.drawImage(o, n.x, n.y, n.width, n.height, 0, 0, n.width, n.height), i(t, n, e.pixelRatio, c.toDataURL("image/png"));
@@ -1,7 +1,7 @@
1
- import { t as e } from "./rasterization-CFogVB3B.js";
2
- import { t } from "./rectangle-DKnrAmKs.js";
1
+ import { t as e } from "./rasterization-D0tOoKu_.js";
2
+ import { t } from "./rectangle-DE98gIxF.js";
3
3
  import { t as n } from "./layoutResult-D50MSHXR.js";
4
- import { t as r } from "./renderCanvas2D-DxturTEW.js";
4
+ import { t as r } from "./renderCanvas2D-Ct95auF3.js";
5
5
  import { n as i, t as a } from "./rasterImage-B4rPLaW9.js";
6
6
  //#region ../core/src/rendering/canvas2d/svgRasterizer.js
7
7
  function o() {
@@ -12,7 +12,7 @@ function o() {
12
12
  throw new e("Unable to initialize Canvas2D SVG rasterization contexts.", { cause: t });
13
13
  }
14
14
  if (!s || !l) throw new e("Unable to initialize Canvas2D SVG rasterization contexts.");
15
- return (e) => {
15
+ return async (e) => {
16
16
  let u = Math.ceil(e.logicalWidth * e.pixelRatio), d = Math.ceil(e.logicalHeight * e.pixelRatio), f = [];
17
17
  o.width = u, o.height = d;
18
18
  let p = e.pixelRatio == 1 && e.layoutResult ? e.layoutResult : n(e.viewRoot, t.create(0, 0, e.logicalWidth, e.logicalHeight), {
@@ -29,7 +29,8 @@ function o() {
29
29
  background: null,
30
30
  paint: !0,
31
31
  markPredicate: (e) => t.marks.has(e),
32
- opacityLayers: f
32
+ opacityLayers: f,
33
+ textMetrics: e.textMetrics
33
34
  });
34
35
  let n = a(t.bounds, e.pixelRatio, u, d);
35
36
  c.width = n.width, c.height = n.height, l.resetTransform(), l.clearRect(0, 0, n.width, n.height), l.drawImage(o, n.x, n.y, n.width, n.height, 0, 0, n.width, n.height), i(t, n, e.pixelRatio, c.toDataURL("image/png"));