@genome-spy/core 0.57.0 → 0.58.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundle/index-BftNdA0O.js +27 -0
- package/dist/bundle/index-C08YCM2T.js +539 -0
- package/dist/bundle/{index-C159nEYc.js → index-CCJIjehY.js} +89 -83
- package/dist/bundle/index-CalimFw3.js +2131 -0
- package/dist/bundle/{index-CfEH2hsw.js → index-DKe9Bhvi.js} +285 -260
- package/dist/bundle/index-DS2hvLgl.js +3425 -0
- package/dist/bundle/index-DTcHjAHp.js +505 -0
- package/dist/bundle/index-DnIkxb0L.js +1025 -0
- package/dist/bundle/{index-Bg62fPK7.js → index-DwLfOHEk.js} +435 -465
- package/dist/bundle/{index-DhPRJZz0.js → index-Ww3TAo6_.js} +7 -7
- package/dist/bundle/{index-DutovjI-.js → index-vgGDWUPz.js} +2 -2
- package/dist/bundle/index.es.js +3634 -4808
- package/dist/bundle/index.js +137 -134
- package/dist/bundle/long-BviWyoZx.js +2387 -0
- package/dist/bundle/{remoteFile-DwSeXAZ0.js → remoteFile-BuaqFGWk.js} +1 -1
- package/dist/schema.json +66 -0
- package/dist/src/data/sources/dataSourceFactory.d.ts +2 -1
- package/dist/src/data/sources/dataSourceFactory.d.ts.map +1 -1
- package/dist/src/data/sources/dataSourceFactory.js +11 -0
- package/dist/src/data/sources/lazy/bamSource.js +7 -7
- package/dist/src/data/sources/lazy/gff3Source.d.ts +3 -5
- package/dist/src/data/sources/lazy/gff3Source.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/gff3Source.js +7 -13
- package/dist/src/data/sources/lazy/tabixSource.d.ts +5 -0
- package/dist/src/data/sources/lazy/tabixSource.d.ts.map +1 -1
- package/dist/src/data/sources/lazy/tabixSource.js +20 -7
- package/dist/src/data/sources/lazy/vcfSource.d.ts +9 -0
- package/dist/src/data/sources/lazy/vcfSource.d.ts.map +1 -0
- package/dist/src/data/sources/lazy/vcfSource.js +38 -0
- package/dist/src/data/sources/lazy/vcfTypes.d.ts +7 -0
- package/dist/src/encoder/accessor.js +2 -2
- package/dist/src/genomeSpy.d.ts.map +1 -1
- package/dist/src/genomeSpy.js +20 -0
- package/dist/src/marks/rule.js +1 -1
- package/dist/src/spec/data.d.ts +14 -1
- package/dist/src/styles/genome-spy.css.d.ts +1 -1
- package/dist/src/styles/genome-spy.css.js +1 -1
- package/dist/src/styles/genome-spy.scss +1 -1
- package/dist/src/tooltip/dataTooltipHandler.js +32 -12
- package/dist/src/types/viewContext.d.ts +8 -0
- package/dist/src/utils/expression.d.ts.map +1 -1
- package/dist/src/utils/expression.js +7 -0
- package/dist/src/view/scaleResolution.d.ts.map +1 -1
- package/dist/src/view/scaleResolution.js +13 -0
- package/package.json +9 -9
- package/dist/bundle/index-CubKalvr.js +0 -500
- package/dist/bundle/index-DNzxWHJt.js +0 -2136
- package/dist/bundle/index-DluFz_0j.js +0 -1042
- package/dist/bundle/index-Dpv0n-cZ.js +0 -3998
- package/dist/bundle/long-DM5IWGqg.js +0 -2375
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as d } from "./__vite-browser-external-C--ziKoh.js";
|
|
2
|
-
import { R as b } from "./remoteFile-
|
|
3
|
-
import { b as i } from "./index-
|
|
2
|
+
import { R as b } from "./remoteFile-BuaqFGWk.js";
|
|
3
|
+
import { b as i } from "./index-BftNdA0O.js";
|
|
4
4
|
function a(o) {
|
|
5
5
|
const r = new FileReader();
|
|
6
6
|
return new Promise((n, e) => {
|
|
@@ -25,14 +25,14 @@ function c(o) {
|
|
|
25
25
|
}, r.readAsText(o);
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
-
class
|
|
28
|
+
class E {
|
|
29
29
|
constructor(r) {
|
|
30
30
|
this.blob = r, this.size = r.size;
|
|
31
31
|
}
|
|
32
32
|
async read(r, n = 0, e, u = 0) {
|
|
33
33
|
if (!e)
|
|
34
34
|
return { bytesRead: 0, buffer: r };
|
|
35
|
-
const t = u,
|
|
35
|
+
const t = u, l = t + e, f = await a(this.blob.slice(t, l)), s = i.Buffer.from(f);
|
|
36
36
|
return { bytesRead: s.copy(r, n), buffer: s };
|
|
37
37
|
}
|
|
38
38
|
async readFile(r) {
|
|
@@ -53,7 +53,7 @@ class B {
|
|
|
53
53
|
function w(o, r = {}) {
|
|
54
54
|
return new b(o, r);
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function B(o, r, n, e = {}) {
|
|
57
57
|
if (n !== void 0)
|
|
58
58
|
return n;
|
|
59
59
|
if (o !== void 0)
|
|
@@ -63,9 +63,9 @@ function E(o, r, n, e = {}) {
|
|
|
63
63
|
throw new Error("no url, path, or filehandle provided, cannot open");
|
|
64
64
|
}
|
|
65
65
|
export {
|
|
66
|
-
|
|
66
|
+
E as BlobFile,
|
|
67
67
|
d as LocalFile,
|
|
68
68
|
b as RemoteFile,
|
|
69
69
|
w as fromUrl,
|
|
70
|
-
|
|
70
|
+
B as open
|
|
71
71
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { L as g } from "./__vite-browser-external-C--ziKoh.js";
|
|
2
|
-
import { b as w } from "./index-
|
|
3
|
-
import { L as _, u as b } from "./long-
|
|
2
|
+
import { b as w } from "./index-BftNdA0O.js";
|
|
3
|
+
import { L as _, u as b } from "./long-BviWyoZx.js";
|
|
4
4
|
const m = 1;
|
|
5
5
|
class I {
|
|
6
6
|
constructor({ filehandle: e, path: t }) {
|