@genome-spy/app 0.84.0 → 0.85.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 (42) hide show
  1. package/dist/{agentApi-DHXYZVvQ.js → agentApi-Cz0hCnVp.js} +5790 -5190
  2. package/dist/agentApi.es.js +3117 -2793
  3. package/dist/agentShared.es.js +8 -8
  4. package/dist/arrayUtils-LJpQOu-U.js +2175 -0
  5. package/dist/canvas2d-DoAXEiF9.js +309 -0
  6. package/dist/canvas2d-f5jl4A5D.js +310 -0
  7. package/dist/canvasSizeHelper-7h_8rOcx.js +56 -0
  8. package/dist/clipOptions-gqdb3fvW.js +43 -0
  9. package/dist/{clipOptions-Dqco1p8b.js → color-W5zffv-z.js} +1 -43
  10. package/dist/{debug-aHQsa6hU.js → debug-BvCZWumf.js} +2 -2
  11. package/dist/{debug-D6FqxKEj.js → debug-CgDtmspT.js} +2 -2
  12. package/dist/{esm-CGLz7idZ.js → esm-BA6yMcc-.js} +438 -434
  13. package/dist/{esm-D8vvQAP3.js → esm-CcDLRSvC.js} +33 -33
  14. package/dist/{esm-BeV56E_5.js → esm-CfYZhLHN.js} +33 -33
  15. package/dist/{esm-DQ3lJSQN.js → esm-JAiZmFIS.js} +1 -1
  16. package/dist/{framebufferReadback-CC0D6Haw.js → framebufferReadback-CCLOjStu.js} +26 -25
  17. package/dist/{framebufferReadback-Bje9lHb7.js → framebufferReadback-THWwFqs8.js} +14 -13
  18. package/dist/index.es.js +541 -538
  19. package/dist/index.js +560 -554
  20. package/dist/nativeText-DMO8gLt7.js +806 -0
  21. package/dist/nativeText-m5AUINMq.js +806 -0
  22. package/dist/paramUtils-BYI4rwyL.js +2195 -0
  23. package/dist/schema.json +1488 -88
  24. package/dist/style.css +1 -1
  25. package/dist/svg-CCu8kYy2.js +1158 -0
  26. package/dist/svg-yFj875aX.js +1158 -0
  27. package/dist/{svgNumber-C6aRPc8Z.js → svgNumber-DNxESJQB.js} +1 -1
  28. package/dist/{twgl-full.module-BNEMlXRV.js → twgl-full.module-DB2UdP1k.js} +1 -1
  29. package/dist/{viewIdentityRegistry-AEQpJTDm.js → viewIdentityRegistry-BUdkK9zT.js} +1 -1
  30. package/dist/{viewIdentityRegistry-Dl7rR4Ay.js → viewIdentityRegistry-D3oPbN4O.js} +1 -1
  31. package/dist/viewSelectors-DGCspRN3.js +4198 -0
  32. package/dist/viewSelectors-U5oLCLHV.js +4195 -0
  33. package/dist/{viewUtils-DMNiWslc.js → viewUtils-Dg4RA40Q.js} +2384 -2109
  34. package/dist/warning-CpIIpk8e.js +7 -0
  35. package/dist/warning-DRGdb6BF.js +59 -0
  36. package/dist/{raster-BofBWXbe.js → webgl-Ci6ZhCCf.js} +4 -4
  37. package/dist/{raster-9uKYMjHZ.js → webgl-Dpz8a3TI.js} +3 -3
  38. package/package.json +5 -5
  39. package/dist/svg-CvsT1Y2V.js +0 -1793
  40. package/dist/svg-DRgWfcsL.js +0 -1793
  41. package/dist/viewSelectors-BhW4mTR1.js +0 -6386
  42. package/dist/viewSelectors-Bwzj10Qz.js +0 -6363
@@ -0,0 +1,43 @@
1
+ //#region ../core/src/view/renderingContext/clipOptions.js
2
+ function e(e) {
3
+ if (e.clip) return e.clip;
4
+ if (e.clipRect) return {
5
+ rect: e.clipRect,
6
+ clipX: !0,
7
+ clipY: !0
8
+ };
9
+ }
10
+ function t(e, t) {
11
+ return e === t ? !0 : !e || !t ? !1 : e.clipX === t.clipX && e.clipY === t.clipY && e.rect.equals(t.rect);
12
+ }
13
+ function n(e, t, n) {
14
+ return t || n ? {
15
+ rect: e,
16
+ clipX: t,
17
+ clipY: n
18
+ } : void 0;
19
+ }
20
+ function r(e, t) {
21
+ return t ? t.clipX && t.clipY ? e.intersect(t.rect) : t.clipX ? e.intersectX(t.rect) : t.clipY ? e.intersectY(t.rect) : e : e;
22
+ }
23
+ function i(e, t) {
24
+ if (!e) return t;
25
+ if (!t) return e;
26
+ let r = e.clipX || t.clipX, i = e.clipY || t.clipY, a = e.clipX && t.clipX ? e.rect.intersectX(t.rect) : t.clipX ? t.rect : e.rect, o = e.clipY && t.clipY ? e.rect.intersectY(t.rect) : t.clipY ? t.rect : e.rect;
27
+ return n(e.rect.modify({
28
+ x: () => a.x,
29
+ y: () => o.y,
30
+ width: () => a.width,
31
+ height: () => o.height
32
+ }), r, i);
33
+ }
34
+ function a(e, t) {
35
+ if (e === !0) return n(t, !0, !0);
36
+ if (e === "x") return n(t, !0, !1);
37
+ if (e === "y") return n(t, !1, !0);
38
+ }
39
+ function o(e, t, n) {
40
+ if (t !== "never") return i(e, a(t, n));
41
+ }
42
+ //#endregion
43
+ export { e as a, n as i, t as n, o, i as r, r as t };
@@ -332,46 +332,4 @@ function U(e, t, n) {
332
332
  return (e < 60 ? t + (n - t) * e / 60 : e < 180 ? n : e < 240 ? t + (n - t) * (240 - e) / 60 : t) * 255;
333
333
  }
334
334
  //#endregion
335
- //#region ../core/src/view/renderingContext/clipOptions.js
336
- function W(e) {
337
- if (e.clip) return e.clip;
338
- if (e.clipRect) return {
339
- rect: e.clipRect,
340
- clipX: !0,
341
- clipY: !0
342
- };
343
- }
344
- function G(e, t) {
345
- return e === t ? !0 : !e || !t ? !1 : e.clipX === t.clipX && e.clipY === t.clipY && e.rect.equals(t.rect);
346
- }
347
- function K(e, t, n) {
348
- return t || n ? {
349
- rect: e,
350
- clipX: t,
351
- clipY: n
352
- } : void 0;
353
- }
354
- function q(e, t) {
355
- return t ? t.clipX && t.clipY ? e.intersect(t.rect) : t.clipX ? e.intersectX(t.rect) : t.clipY ? e.intersectY(t.rect) : e : e;
356
- }
357
- function J(e, t) {
358
- if (!e) return t;
359
- if (!t) return e;
360
- let n = e.clipX || t.clipX, r = e.clipY || t.clipY, i = e.clipX && t.clipX ? e.rect.intersectX(t.rect) : t.clipX ? t.rect : e.rect, a = e.clipY && t.clipY ? e.rect.intersectY(t.rect) : t.clipY ? t.rect : e.rect;
361
- return K(e.rect.modify({
362
- x: () => i.x,
363
- y: () => a.y,
364
- width: () => i.width,
365
- height: () => a.height
366
- }), n, r);
367
- }
368
- function Y(e, t) {
369
- if (e === !0) return K(t, !0, !0);
370
- if (e === "x") return K(t, !0, !1);
371
- if (e === "y") return K(t, !1, !0);
372
- }
373
- function X(e, t, n) {
374
- if (t !== "never") return J(e, Y(t, n));
375
- }
376
- //#endregion
377
- export { e as _, W as a, A as c, c as d, z as f, o as g, a as h, K as i, l, O as m, G as n, X as o, k as p, J as r, s, q as t, T as u };
335
+ export { c as a, O as c, e as d, T as i, a as l, A as n, z as o, l as r, k as s, s as t, o as u };
@@ -1,5 +1,5 @@
1
- import { a as e, x as t } from "./viewSelectors-BhW4mTR1.js";
2
- import { i as n, n as r, t as i } from "./viewIdentityRegistry-AEQpJTDm.js";
1
+ import { a as e, x as t } from "./viewSelectors-DGCspRN3.js";
2
+ import { i as n, n as r, t as i } from "./viewIdentityRegistry-BUdkK9zT.js";
3
3
  //#region ../core/src/debug/valuePreview.js
4
4
  var a = 3, o = 12, s = 8, c = 160;
5
5
  function l(e, t = 0) {
@@ -1,6 +1,6 @@
1
- import { b as e, i as t } from "./viewSelectors-Bwzj10Qz.js";
1
+ import { b as e, i as t } from "./viewSelectors-U5oLCLHV.js";
2
2
  import { t as n } from "./metadataChannels-DV62inJh.js";
3
- import { n as r, t as i } from "./viewIdentityRegistry-Dl7rR4Ay.js";
3
+ import { n as r, t as i } from "./viewIdentityRegistry-D3oPbN4O.js";
4
4
  //#region ../core/src/debug/valuePreview.js
5
5
  var a = 3, o = 12, s = 8, c = 160;
6
6
  function l(e, t = 0) {