@genome-spy/app 0.88.1 → 0.90.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-BIpg3JKh.js → agentApi-Z65dw-sD.js} +5976 -6711
- package/dist/agentApi.es.js +3580 -4470
- package/dist/agentShared.es.js +742 -683
- package/dist/{canvas2d-BVQ7-2eJ.js → canvas2d-DiPQvNtZ.js} +122 -109
- package/dist/{canvas2d-D7SZK3xv.js → canvas2d-t_N10CeW.js} +114 -101
- package/dist/{canvasSizeHelper-7h_8rOcx.js → canvasSizeHelper-foL2YvGL.js} +15 -8
- package/dist/{clipOptions-DTMcB_9z.js → clipOptions-B5PibDq3.js} +1610 -1342
- package/dist/{clipOptions-BWHr3aTa.js → clipOptions-Cba4I0AO.js} +1872 -1644
- package/dist/{componentStyles-FsNmIb22.js → componentStyles-DGtQXvwc.js} +17 -15
- package/dist/{debug-CVpoEOWx.js → debug-CVAlrcZt.js} +2 -2
- package/dist/{debug-DYAMZZKl.js → debug-DP4WzTNo.js} +2 -2
- package/dist/dialog.es.js +4 -3
- package/dist/esm-BiqrFjMh.js +443 -0
- package/dist/{esm-lwYrRdbg.js → esm-Bv7Frz7C.js} +142 -79
- package/dist/{esm-VvpZ9hsq.js → esm-C3A-AuRi.js} +1 -1
- package/dist/esm-CvpR1OcU.js +322 -0
- package/dist/esm-DFHFX1sH.js +1526 -0
- package/dist/esm-Dndm-NaA.js +1193 -0
- package/dist/{esm-CcDLRSvC.js → esm-DtNElqRr.js} +64 -63
- package/dist/esm-L53qjcYH.js +1155 -0
- package/dist/esm-VFJeyk9i.js +249 -0
- package/dist/{esm-BdLYkz-m.js → esm-_xCtpDwm.js} +1 -1
- package/dist/index.es.js +4203 -3910
- package/dist/index.js +971 -482
- package/dist/{indexer-CXjZDo2Q.js → indexer-DbFTKGlm.js} +1 -1
- package/dist/{indexer-DAH_ruVn.js → indexer-En7gpvLN.js} +1 -1
- package/dist/{lit-ByuJ0FJ4.js → lit-CoXp9NFX.js} +12 -10
- package/dist/order-BkYCnwD7.js +1062 -0
- package/dist/order-R043xTpC.js +1062 -0
- package/dist/{parquetRead-Cs2xRrvz.js → parquetRead-0hFIa3Cc.js} +532 -350
- package/dist/rasterExport-C_FcNBkC.js +52 -0
- package/dist/rasterExport-Z7gs5346.js +52 -0
- package/dist/rasterization-_-9JmSas.js +63 -0
- package/dist/rectangle-DE98gIxF.js +108 -0
- package/dist/{renderCanvas2D-DxturTEW.js → renderCanvas2D-DK1c9TFK.js} +68 -67
- package/dist/{renderCanvas2D-DtcJjqpB.js → renderCanvas2D-IM-A9DYG.js} +57 -56
- package/dist/schema.json +599 -116
- package/dist/{src-DjOlFqSn.js → src-DJtvThVC.js} +3 -5
- package/dist/style.css +1 -1
- package/dist/{svg-SDJMzL--.js → svg-DW3tfUmm.js} +339 -326
- package/dist/{svg-CyrLfa9e.js → svg-PabUdcDi.js} +365 -352
- package/dist/{svgRasterizer-f7DJ3UO0.js → svgRasterizer-B6YtWLJs.js} +6 -5
- package/dist/{svgRasterizer-mWK7HTkx.js → svgRasterizer-BEVDyyS3.js} +6 -5
- package/dist/{vega-scale-DLKCwWRs.js → vega-scale-Byaw1K8O.js} +823 -780
- package/dist/{vega-scale-CypF85iS.js → vega-scale-Ctz_wa3z.js} +963 -923
- package/dist/{viewIdentityRegistry-Dl-vMN9I.js → viewIdentityRegistry-BW415b3o.js} +1 -1
- package/dist/{viewIdentityRegistry-DIDo44XQ.js → viewIdentityRegistry-_F0E7nkA.js} +1 -1
- package/dist/{viewSelectors-CymbZyE6.js → viewSelectors-DYz-PhTO.js} +407 -340
- package/dist/{viewSelectors-DNiDip5e.js → viewSelectors-KtD-QSN0.js} +349 -282
- package/dist/{viewUtils-BrJLIj2o.js → viewUtils-BZGPseMx.js} +2052 -1871
- package/dist/{webgl-tZfZ8y3q.js → webgl-BKSGqHaz.js} +2144 -784
- package/dist/{webgl-CTJt7jQd.js → webgl-tdKf9SlZ.js} +2386 -1026
- package/package.json +5 -5
- package/dist/esm-80V4xF_D.js +0 -1098
- package/dist/esm-BA6yMcc-.js +0 -1222
- package/dist/esm-BdT7qUL-.js +0 -157
- package/dist/esm-CfYZhLHN.js +0 -1367
- package/dist/esm-D-iG_TIX.js +0 -441
- package/dist/esm-JAiZmFIS.js +0 -128
- 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
package/dist/esm-BdT7qUL-.js
DELETED
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import { n as e, t } from "./rolldown-runtime-DF993M8W.js";
|
|
2
|
-
//#region ../../node_modules/generic-filehandle2/esm/util.js
|
|
3
|
-
async function n(e) {
|
|
4
|
-
return e.bytes ? e.bytes() : new Uint8Array(await e.arrayBuffer());
|
|
5
|
-
}
|
|
6
|
-
var r = 50;
|
|
7
|
-
async function i(e, t) {
|
|
8
|
-
let i = e.headers.get("content-length"), a = i ? parseInt(i, 10) : void 0, o = e.body;
|
|
9
|
-
if (!o || a === void 0) {
|
|
10
|
-
let r = await n(e);
|
|
11
|
-
return t(r.byteLength, a ?? r.byteLength), r;
|
|
12
|
-
}
|
|
13
|
-
let s = o.getReader(), c = new Uint8Array(a), l = 0, u = 0;
|
|
14
|
-
t(0, a);
|
|
15
|
-
for (let e = await s.read(); !e.done; e = await s.read()) {
|
|
16
|
-
if (l + e.value.byteLength > c.length) {
|
|
17
|
-
let t = new Uint8Array(Math.max(l + e.value.byteLength, c.length * 2));
|
|
18
|
-
t.set(c.subarray(0, l)), c = t;
|
|
19
|
-
}
|
|
20
|
-
c.set(e.value, l), l += e.value.byteLength;
|
|
21
|
-
let n = Date.now();
|
|
22
|
-
n - u >= r && (u = n, t(l, a));
|
|
23
|
-
}
|
|
24
|
-
return t(l, a), l === c.length ? c : c.subarray(0, l);
|
|
25
|
-
}
|
|
26
|
-
//#endregion
|
|
27
|
-
//#region ../../node_modules/generic-filehandle2/esm/blobFile.js
|
|
28
|
-
var a = class {
|
|
29
|
-
blob;
|
|
30
|
-
constructor(e) {
|
|
31
|
-
this.blob = e;
|
|
32
|
-
}
|
|
33
|
-
async read(e, t = 0) {
|
|
34
|
-
return e === 0 ? /* @__PURE__ */ new Uint8Array() : n(this.blob.slice(t, t + e));
|
|
35
|
-
}
|
|
36
|
-
async readFile(e) {
|
|
37
|
-
let t = typeof e == "string" ? e : e?.encoding;
|
|
38
|
-
if (t === "utf8") return this.blob.text();
|
|
39
|
-
if (t) throw Error(`unsupported encoding: ${t}`);
|
|
40
|
-
return n(this.blob);
|
|
41
|
-
}
|
|
42
|
-
stat() {
|
|
43
|
-
return Promise.resolve({ size: this.blob.size });
|
|
44
|
-
}
|
|
45
|
-
close() {
|
|
46
|
-
return Promise.resolve();
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
//#endregion
|
|
50
|
-
//#region ../../node_modules/generic-filehandle2/esm/remoteFile.js
|
|
51
|
-
function o(e) {
|
|
52
|
-
return (typeof e == "object" && e && "message" in e && typeof e.message == "string" ? e.message : `${e}`).replace(/\.$/, "");
|
|
53
|
-
}
|
|
54
|
-
var s = class {
|
|
55
|
-
url;
|
|
56
|
-
_stat;
|
|
57
|
-
fetchImplementation;
|
|
58
|
-
baseHeaders;
|
|
59
|
-
baseOverrides;
|
|
60
|
-
constructor(e, t = {}) {
|
|
61
|
-
this.url = e, this.baseHeaders = t.headers ?? {}, this.baseOverrides = t.overrides ?? {}, this.fetchImplementation = t.fetch ?? globalThis.fetch.bind(globalThis);
|
|
62
|
-
}
|
|
63
|
-
buildRequest(e, t) {
|
|
64
|
-
return {
|
|
65
|
-
...this.baseOverrides,
|
|
66
|
-
...e.overrides,
|
|
67
|
-
headers: {
|
|
68
|
-
...this.baseHeaders,
|
|
69
|
-
...e.headers,
|
|
70
|
-
...t
|
|
71
|
-
},
|
|
72
|
-
method: "GET",
|
|
73
|
-
redirect: "follow",
|
|
74
|
-
mode: "cors",
|
|
75
|
-
signal: e.signal
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
async fetch(e, t) {
|
|
79
|
-
let n = (t) => Error(`${o(t)} fetching ${e}`, { cause: t }), r;
|
|
80
|
-
try {
|
|
81
|
-
r = await this.fetchImplementation(e, t);
|
|
82
|
-
} catch (i) {
|
|
83
|
-
if (`${i}`.includes("Failed to fetch")) {
|
|
84
|
-
console.warn(`generic-filehandle: refetching ${e} to attempt to work around chrome CORS header caching bug`);
|
|
85
|
-
try {
|
|
86
|
-
r = await this.fetchImplementation(e, {
|
|
87
|
-
...t,
|
|
88
|
-
cache: "reload"
|
|
89
|
-
});
|
|
90
|
-
} catch (e) {
|
|
91
|
-
throw n(e);
|
|
92
|
-
}
|
|
93
|
-
} else throw n(i);
|
|
94
|
-
}
|
|
95
|
-
return r;
|
|
96
|
-
}
|
|
97
|
-
async read(e, t, r = {}) {
|
|
98
|
-
if (e === 0) return /* @__PURE__ */ new Uint8Array();
|
|
99
|
-
if (Number.isNaN(e) || Number.isNaN(t)) throw TypeError(`read() called with NaN length or position (length=${e}, position=${t}). The index file may be corrupt.`);
|
|
100
|
-
let a = await this.fetch(this.url, this.buildRequest(r, { range: `bytes=${t}-${t + e - 1}` }));
|
|
101
|
-
if (a.status === 416) return /* @__PURE__ */ new Uint8Array();
|
|
102
|
-
if (!a.ok) throw Error(`HTTP ${a.status} fetching ${this.url}`);
|
|
103
|
-
if (a.status === 200 && t === 0 || a.status === 206) {
|
|
104
|
-
let t = a.headers.get("content-range"), o = /\/(\d+)$/.exec(t ?? "");
|
|
105
|
-
o?.[1] && (this._stat = { size: parseInt(o[1], 10) });
|
|
106
|
-
let s = r.onProgress ? await i(a, r.onProgress) : await n(a);
|
|
107
|
-
return !this._stat && a.status === 200 && (this._stat = { size: s.byteLength }), s.byteLength <= e ? s : s.subarray(0, e);
|
|
108
|
-
}
|
|
109
|
-
throw Error(a.status === 200 ? `${this.url} fetch returned status 200, expected 206` : `HTTP ${a.status} fetching ${this.url}`);
|
|
110
|
-
}
|
|
111
|
-
async readFile(e = {}) {
|
|
112
|
-
let t = typeof e == "string" ? e : e.encoding, r = typeof e == "string" ? {} : e, a = await this.fetch(this.url, this.buildRequest(r));
|
|
113
|
-
if (!a.ok) throw Error(`HTTP ${a.status} fetching ${this.url}`);
|
|
114
|
-
if (t === "utf8") return a.text();
|
|
115
|
-
if (t) throw Error(`unsupported encoding: ${t}`);
|
|
116
|
-
return r.onProgress ? i(a, r.onProgress) : n(a);
|
|
117
|
-
}
|
|
118
|
-
async stat() {
|
|
119
|
-
return this._stat || await this.read(10, 0), this._stat ?? { size: 0 };
|
|
120
|
-
}
|
|
121
|
-
close() {
|
|
122
|
-
return Promise.resolve();
|
|
123
|
-
}
|
|
124
|
-
}, c = (/* @__PURE__ */ t(((e, t) => {
|
|
125
|
-
t.exports = {};
|
|
126
|
-
})))(), l = class {
|
|
127
|
-
filename;
|
|
128
|
-
constructor(e) {
|
|
129
|
-
this.filename = e;
|
|
130
|
-
}
|
|
131
|
-
async read(e, t = 0) {
|
|
132
|
-
if (e === 0) return /* @__PURE__ */ new Uint8Array();
|
|
133
|
-
let n = new Uint8Array(e), r;
|
|
134
|
-
try {
|
|
135
|
-
r = await (0, c.open)(this.filename, "r");
|
|
136
|
-
let i = await r.read(n, 0, e, t);
|
|
137
|
-
return i.buffer.subarray(0, i.bytesRead);
|
|
138
|
-
} finally {
|
|
139
|
-
if (r) try {
|
|
140
|
-
await r.close();
|
|
141
|
-
} catch {}
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
async readFile(e) {
|
|
145
|
-
return (0, c.readFile)(this.filename, e);
|
|
146
|
-
}
|
|
147
|
-
async stat() {
|
|
148
|
-
return (0, c.stat)(this.filename);
|
|
149
|
-
}
|
|
150
|
-
async close() {}
|
|
151
|
-
}, u = /* @__PURE__ */ e({
|
|
152
|
-
BlobFile: () => a,
|
|
153
|
-
LocalFile: () => l,
|
|
154
|
-
RemoteFile: () => s
|
|
155
|
-
});
|
|
156
|
-
//#endregion
|
|
157
|
-
export { l as n, s as r, u as t };
|