@genome-spy/app 0.88.0 → 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.
- package/dist/{agentApi-BYFBKiRQ.js → agentApi-BUcXm-JC.js} +5544 -6449
- package/dist/agentApi.es.js +3328 -4255
- package/dist/agentShared.es.js +9 -9
- package/dist/{canvas2d-BVQ7-2eJ.js → canvas2d-CGuVGvQk.js} +117 -106
- package/dist/{canvas2d-D7SZK3xv.js → canvas2d-DgF0kstG.js} +99 -88
- package/dist/{canvasSizeHelper-7h_8rOcx.js → canvasSizeHelper-foL2YvGL.js} +15 -8
- package/dist/{clipOptions-DTMcB_9z.js → clipOptions-8BPf0WMZ.js} +1013 -755
- package/dist/{clipOptions-BWHr3aTa.js → clipOptions-DBJX_W31.js} +1033 -775
- package/dist/{debug-CVpoEOWx.js → debug-BEWbYuZD.js} +2 -2
- package/dist/{debug-DYAMZZKl.js → debug-DQj_7mFm.js} +2 -2
- package/dist/index.es.js +65 -65
- package/dist/index.js +406 -364
- package/dist/{indexer-DAH_ruVn.js → indexer-Cdt_U05k.js} +1 -1
- package/dist/{indexer-CXjZDo2Q.js → indexer-D8Bgkkb8.js} +1 -1
- package/dist/order-BPOzLe80.js +1056 -0
- package/dist/order-DIxlclRN.js +1056 -0
- package/dist/rasterExport-Bl6w9t3J.js +51 -0
- package/dist/rasterExport-DRvNAH-r.js +51 -0
- package/dist/rasterization-D0tOoKu_.js +62 -0
- package/dist/rectangle-DE98gIxF.js +108 -0
- package/dist/{renderCanvas2D-DxturTEW.js → renderCanvas2D-Ct95auF3.js} +60 -59
- package/dist/{renderCanvas2D-DtcJjqpB.js → renderCanvas2D-LdEYFnRo.js} +71 -70
- package/dist/schema.json +588 -116
- package/dist/{svg-CyrLfa9e.js → svg-Ag36-h_I.js} +394 -382
- package/dist/{svg-SDJMzL--.js → svg-pkTPD4bv.js} +368 -356
- package/dist/{svgRasterizer-f7DJ3UO0.js → svgRasterizer-CksK4QTB.js} +6 -5
- package/dist/{svgRasterizer-mWK7HTkx.js → svgRasterizer-DrtJ9nLk.js} +6 -5
- package/dist/{vega-scale-CypF85iS.js → vega-scale-BJaDSHBJ.js} +891 -959
- package/dist/{vega-scale-DLKCwWRs.js → vega-scale-BWBFykuI.js} +692 -760
- package/dist/{viewIdentityRegistry-DIDo44XQ.js → viewIdentityRegistry-B-snqI3y.js} +1 -1
- package/dist/{viewIdentityRegistry-Dl-vMN9I.js → viewIdentityRegistry-BvCJajXG.js} +1 -1
- package/dist/{viewSelectors-CymbZyE6.js → viewSelectors-BlvzvG-z.js} +445 -380
- package/dist/{viewSelectors-DNiDip5e.js → viewSelectors-C5q3qBiR.js} +364 -299
- package/dist/{viewUtils-BrJLIj2o.js → viewUtils-C3vBtSvE.js} +1714 -1689
- package/dist/{webgl-CqTDifWM.js → webgl-CZX2pe5v.js} +2322 -971
- package/dist/{webgl-jaC2m0Zr.js → webgl-CexXSw_I.js} +2374 -1023
- package/package.json +5 -5
- package/dist/order-C5CzA37O.js +0 -918
- package/dist/order-DvY7KNcu.js +0 -918
- package/dist/rasterExport-BgZ98e6U.js +0 -44
- package/dist/rasterExport-DEr8fOLm.js +0 -44
- package/dist/rasterization-CFogVB3B.js +0 -50
- package/dist/rectangle-DKnrAmKs.js +0 -142
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./rasterization-
|
|
2
|
-
import { t } from "./rectangle-
|
|
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-
|
|
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-
|
|
2
|
-
import { t } from "./rectangle-
|
|
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-
|
|
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"));
|