@genome-spy/app 0.78.0 → 0.79.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.
Files changed (54) hide show
  1. package/dist/agentApi.es.js +4918 -2499
  2. package/dist/agentShared.es.js +20 -22
  3. package/dist/{blosc-DL1kZHdE.js → blosc-JROzDOnd.js} +1 -1
  4. package/dist/{chunk-INHXZS53-DwEV9sMh.js → chunk-INHXZS53-CsrPGdTf.js} +1 -1
  5. package/dist/{componentStyles-CIXoKEp0.js → componentStyles-BGy033io.js} +2 -2
  6. package/dist/dialog.es.js +3 -3
  7. package/dist/{esm-D2-C5ZzN.js → esm-80V4xF_D.js} +226 -212
  8. package/dist/esm-B8j57WO7.js +441 -0
  9. package/dist/{esm-BkagIzhP.js → esm-BEHZgiVL.js} +30 -30
  10. package/dist/esm-BNd2PfFt.js +1367 -0
  11. package/dist/esm-BdLYkz-m.js +248 -0
  12. package/dist/{esm-id9DWBZW.js → esm-BdT7qUL-.js} +51 -31
  13. package/dist/esm-Bn4VTHqw.js +128 -0
  14. package/dist/{esm-C_XrKaCY.js → esm-C3k-CPce.js} +51 -31
  15. package/dist/{esm-CHVYSGF2.js → esm-CPzTvCZH.js} +226 -212
  16. package/dist/{esm-CPufCnsG.js → esm-CWd6i_cL.js} +30 -30
  17. package/dist/{esm-BgpwI2cq.js → esm-Cx-EbkOj.js} +13 -13
  18. package/dist/esm-D-iG_TIX.js +441 -0
  19. package/dist/esm-WxH0jQt4.js +128 -0
  20. package/dist/esm-cvhwoclu.js +1367 -0
  21. package/dist/{esm-BL9SNSnj.js → esm-k9p3oHkt.js} +133 -158
  22. package/dist/index.es.js +41477 -11008
  23. package/dist/index.js +579 -662
  24. package/dist/{lit-ymUSmGBw.js → lit-ByuJ0FJ4.js} +1 -1
  25. package/dist/{lz4-Csz5aoFA.js → lz4-CUYSbVey.js} +1 -1
  26. package/dist/{parquetRead-C33mgLEo.js → parquetRead-CBUyqZwZ.js} +473 -399
  27. package/dist/{chunk-CPXzm0be.js → rolldown-runtime-DF993M8W.js} +1 -1
  28. package/dist/schema.json +20018 -6213
  29. package/dist/{viewUtils-B7-F_Ae-.js → viewUtils-BBRWguwj.js} +4947 -4127
  30. package/dist/{zstd-dJuUp1fl.js → zstd-YMzMcush.js} +1 -1
  31. package/package.json +6 -4
  32. package/src/appTypes.d.ts +0 -1
  33. package/src/sampleView/state/payloadTypes.d.ts +9 -2
  34. package/src/spec/sampleView.d.ts +53 -0
  35. package/dist/AbortablePromiseCache-beUIcZcW.js +0 -96
  36. package/dist/agentApi-BwbEWjvl.js +0 -27118
  37. package/dist/blosc-BX4BJ8sR.js +0 -692
  38. package/dist/chunk-INHXZS53-Dx2aFznx.js +0 -13
  39. package/dist/esm-BHjeb8gt.js +0 -1426
  40. package/dist/esm-BI-plmf6.js +0 -121
  41. package/dist/esm-BwW--bVV.js +0 -369
  42. package/dist/esm-COzpU5N8.js +0 -1221
  43. package/dist/esm-CZvS2Ldm.js +0 -155
  44. package/dist/esm-D-y0Ce1M.js +0 -573
  45. package/dist/esm-D2_c7lXY.js +0 -298
  46. package/dist/esm-Daho46bY.js +0 -121
  47. package/dist/esm-DjF6pKy5.js +0 -369
  48. package/dist/esm-sPWfZg9X.js +0 -1426
  49. package/dist/esm-s_SlArJ8.js +0 -298
  50. package/dist/lz4-BSYl80V8.js +0 -626
  51. package/dist/parquetRead-m8-8_SpH.js +0 -1609
  52. package/dist/zstd-BAfRM3IH.js +0 -583
  53. /package/dist/{AbortablePromiseCache-BDH1cqFl.js → AbortablePromiseCache-BTmAcN-t.js} +0 -0
  54. /package/dist/{esm-Bz_92nH0.js → esm-VvpZ9hsq.js} +0 -0
@@ -1,155 +0,0 @@
1
- //#region ../../node_modules/@jbrowse/quick-lru/esm/index.js
2
- var e = function(e, t, n, r, i) {
3
- if (r === "m") throw TypeError("Private method is not writable");
4
- if (r === "a" && !i) throw TypeError("Private accessor was defined without a setter");
5
- if (typeof t == "function" ? e !== t || !i : !t.has(e)) throw TypeError("Cannot write private member to an object whose class did not declare it");
6
- return r === "a" ? i.call(e, n) : i ? i.value = n : t.set(e, n), n;
7
- }, t = function(e, t, n, r) {
8
- if (n === "a" && !r) throw TypeError("Private accessor was defined without a getter");
9
- if (typeof t == "function" ? e !== t || !r : !t.has(e)) throw TypeError("Cannot read private member from an object whose class did not declare it");
10
- return n === "m" ? r : n === "a" ? r.call(e) : r ? r.value : t.get(e);
11
- }, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _ = class extends Map {
12
- constructor(t = {}) {
13
- if (super(), n.add(this), r.set(this, 0), i.set(this, /* @__PURE__ */ new Map()), a.set(this, /* @__PURE__ */ new Map()), o.set(this, void 0), s.set(this, void 0), c.set(this, void 0), !(t.maxSize && t.maxSize > 0)) throw TypeError("`maxSize` must be a number greater than 0");
14
- if (typeof t.maxAge == "number" && t.maxAge === 0) throw TypeError("`maxAge` must be a number greater than 0");
15
- e(this, o, t.maxSize, "f"), e(this, s, t.maxAge || Infinity, "f"), e(this, c, t.onEviction, "f");
16
- }
17
- get __oldCache() {
18
- return t(this, a, "f");
19
- }
20
- get(e) {
21
- if (t(this, i, "f").has(e)) {
22
- let r = t(this, i, "f").get(e);
23
- return t(this, n, "m", f).call(this, e, r);
24
- }
25
- if (t(this, a, "f").has(e)) {
26
- let r = t(this, a, "f").get(e);
27
- if (!t(this, n, "m", u).call(this, e, r)) return t(this, n, "m", h).call(this, e, r), r.value;
28
- }
29
- }
30
- set(e, r, { maxAge: a = t(this, s, "f") } = {}) {
31
- let o = typeof a == "number" && a !== Infinity ? Date.now() + a : void 0;
32
- return t(this, i, "f").has(e) ? t(this, i, "f").set(e, {
33
- value: r,
34
- expiry: o
35
- }) : t(this, n, "m", m).call(this, e, {
36
- value: r,
37
- expiry: o
38
- }), this;
39
- }
40
- has(e) {
41
- return t(this, i, "f").has(e) ? !t(this, n, "m", u).call(this, e, t(this, i, "f").get(e)) : t(this, a, "f").has(e) ? !t(this, n, "m", u).call(this, e, t(this, a, "f").get(e)) : !1;
42
- }
43
- peek(e) {
44
- if (t(this, i, "f").has(e)) return t(this, n, "m", p).call(this, e, t(this, i, "f"));
45
- if (t(this, a, "f").has(e)) return t(this, n, "m", p).call(this, e, t(this, a, "f"));
46
- }
47
- expiresIn(e) {
48
- let n = t(this, i, "f").get(e) ?? t(this, a, "f").get(e);
49
- if (n) return n.expiry ? n.expiry - Date.now() : Infinity;
50
- }
51
- delete(n) {
52
- var o;
53
- let s = t(this, i, "f").delete(n);
54
- return s && e(this, r, (o = t(this, r, "f"), o--, o), "f"), t(this, a, "f").delete(n) || s;
55
- }
56
- clear() {
57
- t(this, i, "f").clear(), t(this, a, "f").clear(), e(this, r, 0, "f");
58
- }
59
- resize(s) {
60
- if (!(s && s > 0)) throw TypeError("`maxSize` must be a number greater than 0");
61
- let c = [...t(this, n, "m", g).call(this)], u = c.length - s;
62
- u < 0 ? (e(this, i, new Map(c), "f"), e(this, a, /* @__PURE__ */ new Map(), "f"), e(this, r, c.length, "f")) : (u > 0 && t(this, n, "m", l).call(this, c.slice(0, u)), e(this, a, new Map(c.slice(u)), "f"), e(this, i, /* @__PURE__ */ new Map(), "f"), e(this, r, 0, "f")), e(this, o, s, "f");
63
- }
64
- evict(o = 1) {
65
- let s = o;
66
- if (!s || s <= 0) return;
67
- let c = [...t(this, n, "m", g).call(this)], u = Math.trunc(Math.min(s, Math.max(c.length - 1, 0)));
68
- u <= 0 || (t(this, n, "m", l).call(this, c.slice(0, u)), e(this, a, new Map(c.slice(u)), "f"), e(this, i, /* @__PURE__ */ new Map(), "f"), e(this, r, 0, "f"));
69
- }
70
- *keys() {
71
- for (let [e] of this) yield e;
72
- }
73
- *values() {
74
- for (let [, e] of this) yield e;
75
- }
76
- *[(r = /* @__PURE__ */ new WeakMap(), i = /* @__PURE__ */ new WeakMap(), a = /* @__PURE__ */ new WeakMap(), o = /* @__PURE__ */ new WeakMap(), s = /* @__PURE__ */ new WeakMap(), c = /* @__PURE__ */ new WeakMap(), n = /* @__PURE__ */ new WeakSet(), l = function(e) {
77
- if (typeof t(this, c, "f") == "function") for (let [n, r] of e) t(this, c, "f").call(this, n, r.value);
78
- }, u = function(e, n) {
79
- return typeof n.expiry == "number" && n.expiry <= Date.now() ? (typeof t(this, c, "f") == "function" && t(this, c, "f").call(this, e, n.value), this.delete(e)) : !1;
80
- }, d = function(e, r) {
81
- if (!t(this, n, "m", u).call(this, e, r)) return r.value;
82
- }, f = function(e, r) {
83
- return r.expiry ? t(this, n, "m", d).call(this, e, r) : r.value;
84
- }, p = function(e, r) {
85
- let i = r.get(e);
86
- return t(this, n, "m", f).call(this, e, i);
87
- }, m = function(s, c) {
88
- var u;
89
- t(this, i, "f").set(s, c), e(this, r, (u = t(this, r, "f"), u++, u), "f"), t(this, r, "f") >= t(this, o, "f") && (e(this, r, 0, "f"), t(this, n, "m", l).call(this, t(this, a, "f")), e(this, a, t(this, i, "f"), "f"), e(this, i, /* @__PURE__ */ new Map(), "f"));
90
- }, h = function(e, r) {
91
- t(this, a, "f").delete(e), t(this, n, "m", m).call(this, e, r);
92
- }, g = function* () {
93
- for (let e of t(this, a, "f")) {
94
- let [r, a] = e;
95
- t(this, i, "f").has(r) || t(this, n, "m", u).call(this, r, a) || (yield e);
96
- }
97
- for (let e of t(this, i, "f")) {
98
- let [r, i] = e;
99
- t(this, n, "m", u).call(this, r, i) || (yield e);
100
- }
101
- }, Symbol.iterator)]() {
102
- for (let e of t(this, i, "f")) {
103
- let [r, i] = e;
104
- t(this, n, "m", u).call(this, r, i) || (yield [r, i.value]);
105
- }
106
- for (let e of t(this, a, "f")) {
107
- let [r, a] = e;
108
- t(this, i, "f").has(r) || t(this, n, "m", u).call(this, r, a) || (yield [r, a.value]);
109
- }
110
- }
111
- *entriesDescending() {
112
- let e = [...t(this, i, "f")];
113
- for (let r = e.length - 1; r >= 0; --r) {
114
- let [i, a] = e[r];
115
- t(this, n, "m", u).call(this, i, a) || (yield [i, a.value]);
116
- }
117
- e = [...t(this, a, "f")];
118
- for (let r = e.length - 1; r >= 0; --r) {
119
- let [a, o] = e[r];
120
- t(this, i, "f").has(a) || t(this, n, "m", u).call(this, a, o) || (yield [a, o.value]);
121
- }
122
- }
123
- *entriesAscending() {
124
- for (let [e, r] of t(this, n, "m", g).call(this)) yield [e, r.value];
125
- }
126
- get size() {
127
- if (!t(this, r, "f")) return t(this, a, "f").size;
128
- let e = 0;
129
- for (let n of t(this, a, "f").keys()) t(this, i, "f").has(n) || e++;
130
- return Math.min(t(this, r, "f") + e, t(this, o, "f"));
131
- }
132
- get maxSize() {
133
- return t(this, o, "f");
134
- }
135
- get maxAge() {
136
- return t(this, s, "f");
137
- }
138
- entries() {
139
- return this.entriesAscending();
140
- }
141
- forEach(e, t = this) {
142
- for (let [n, r] of this.entriesAscending()) e.call(t, r, n, this);
143
- }
144
- get [Symbol.toStringTag]() {
145
- return "QuickLRU";
146
- }
147
- toString() {
148
- return `QuickLRU(${this.size}/${this.maxSize})`;
149
- }
150
- [Symbol.for("nodejs.util.inspect.custom")]() {
151
- return this.toString();
152
- }
153
- };
154
- //#endregion
155
- export { _ as t };