@genome-spy/app 1.1.1 → 1.2.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 (45) hide show
  1. package/dist/{agentApi-sPuuT0KS.js → agentApi-8hMSlqAQ.js} +8307 -6861
  2. package/dist/agentApi.es.js +5569 -4250
  3. package/dist/agentShared.es.js +9 -9
  4. package/dist/{canvas2d-iDK4BC5j.js → canvas2d-Bd8H8MMo.js} +149 -134
  5. package/dist/{canvas2d-MXaFeZnP.js → canvas2d-D6VYooRf.js} +136 -122
  6. package/dist/{clipOptions-Cba4I0AO.js → clipOptions-DElJ8dTZ.js} +2274 -2080
  7. package/dist/{clipOptions-B5PibDq3.js → clipOptions-D_wBNhzs.js} +2121 -1957
  8. package/dist/{viewIdentityRegistry-BDKkEjXl.js → containerView-CRJSc4bM.js} +24 -31
  9. package/dist/{viewIdentityRegistry-BIYd4TE0.js → containerView-aEVmYmkA.js} +24 -31
  10. package/dist/{debug-DbigmdrK.js → debug-CQ0agCrd.js} +9 -9
  11. package/dist/{debug-BlqDxTw3.js → debug-DkIMiGdW.js} +10 -10
  12. package/dist/index.es.js +3582 -3566
  13. package/dist/index.js +698 -454
  14. package/dist/{indexer-En7gpvLN.js → indexer-DDC0YRGn.js} +1 -1
  15. package/dist/{indexer-DbFTKGlm.js → indexer-DOYMJ-Md.js} +1 -1
  16. package/dist/markUtils-CvLDz744.js +75 -0
  17. package/dist/{metadataChannels-DV62inJh.js → metadataChannels-DLSmx7kU.js} +6 -3
  18. package/dist/{order-B4uR9Q04.js → order-BVvkjDRT.js} +369 -316
  19. package/dist/{order-BSPy5DI8.js → order-DmMoZsi1.js} +360 -308
  20. package/dist/{rasterExport-DQH3hVg_.js → rasterExport-DxvowWjH.js} +3 -3
  21. package/dist/{rasterExport-B62RmAK1.js → rasterExport-jeRVq6kY.js} +4 -4
  22. package/dist/{rasterization-B05bDo5e.js → rasterization-DFj3Cvx4.js} +26 -19
  23. package/dist/{rectangle-DE98gIxF.js → rectangle-DZTR6NFQ.js} +10 -1
  24. package/dist/rectangle-Dl4Dy0hS.js +191 -0
  25. package/dist/{renderCanvas2D-Bdv-B4wj.js → renderCanvas2D-Bfm1NHFu.js} +96 -91
  26. package/dist/{renderCanvas2D-ChdoHGrU.js → renderCanvas2D-DVjhp834.js} +98 -93
  27. package/dist/{scalePosition-ByvlXaML.js → scalePosition-0aeqp_kz.js} +8 -1
  28. package/dist/schema.json +27198 -13709
  29. package/dist/style.css +1 -1
  30. package/dist/{svg-N3tj05-e.js → svg-Bm2zxBPu.js} +315 -316
  31. package/dist/{svg-DHsq1RpV.js → svg-CkfuhONt.js} +290 -291
  32. package/dist/{svgRasterizer-CYVDlt5z.js → svgRasterizer-DoRQEqFA.js} +2 -2
  33. package/dist/{svgRasterizer-CvCBlxLj.js → svgRasterizer-raDDhBF-.js} +3 -3
  34. package/dist/{vega-scale-Byaw1K8O.js → vega-scale-BoGHANI7.js} +90 -90
  35. package/dist/{vega-scale-Ctz_wa3z.js → vega-scale-o9TRyzYH.js} +699 -699
  36. package/dist/viewError-BkJeVYXA.js +33 -0
  37. package/dist/viewError-IYqyluc7.js +33 -0
  38. package/dist/{viewSelectors-DDLW-byr.js → viewSelectors-7LyasQN-.js} +498 -434
  39. package/dist/{viewSelectors-j-F9XwsE.js → viewSelectors-CbmkSQRT.js} +549 -485
  40. package/dist/{viewUtils-JX6CMEYH.js → viewUtils-DuddMNNw.js} +2138 -2009
  41. package/dist/{webgl-Dw8xqZpX.js → webgl-CQfvgnxo.js} +1229 -1140
  42. package/dist/{webgl-DdmOwEH0.js → webgl-DVYkXtiZ.js} +1477 -1389
  43. package/package.json +4 -4
  44. package/src/spec/view.d.ts +44 -5
  45. package/dist/viewError-BiR9VCgL.js +0 -29
@@ -0,0 +1,33 @@
1
+ import { Xt as e } from "./clipOptions-DElJ8dTZ.js";
2
+ //#region ../core/src/utils/propertyCacher.js
3
+ var t = Symbol("cacheMap");
4
+ function n(e, t, n) {
5
+ let r = o(e).get(t);
6
+ return r === void 0 && (r = n(t), o(e).set(t, r)), r;
7
+ }
8
+ function r(e, t) {
9
+ o(e).delete(t);
10
+ }
11
+ function i(e, t) {
12
+ let n = o(e);
13
+ for (let e of n.keys()) e.startsWith(t) && n.delete(e);
14
+ o(e).delete(t);
15
+ }
16
+ function a(e) {
17
+ e[t] = /* @__PURE__ */ new Map();
18
+ }
19
+ function o(e) {
20
+ return e[t] || a(e), e[t];
21
+ }
22
+ //#endregion
23
+ //#region ../core/src/view/viewError.js
24
+ var s = class extends Error {
25
+ constructor(e, t) {
26
+ super(e), this.name = "ViewError", this.view = t;
27
+ }
28
+ withSpecLocation(t = this.view.spec, n = []) {
29
+ return e(this, this.view.paramRuntime.getSpecLocation(t, n)), this;
30
+ }
31
+ };
32
+ //#endregion
33
+ export { i as a, r as i, n, a as r, s as t };
@@ -0,0 +1,33 @@
1
+ import { At as e } from "./clipOptions-D_wBNhzs.js";
2
+ //#region ../core/src/utils/propertyCacher.js
3
+ var t = Symbol("cacheMap");
4
+ function n(e, t, n) {
5
+ let r = o(e).get(t);
6
+ return r === void 0 && (r = n(t), o(e).set(t, r)), r;
7
+ }
8
+ function r(e, t) {
9
+ o(e).delete(t);
10
+ }
11
+ function i(e, t) {
12
+ let n = o(e);
13
+ for (let e of n.keys()) e.startsWith(t) && n.delete(e);
14
+ o(e).delete(t);
15
+ }
16
+ function a(e) {
17
+ e[t] = /* @__PURE__ */ new Map();
18
+ }
19
+ function o(e) {
20
+ return e[t] || a(e), e[t];
21
+ }
22
+ //#endregion
23
+ //#region ../core/src/view/viewError.js
24
+ var s = class extends Error {
25
+ constructor(e, t) {
26
+ super(e), this.name = "ViewError", this.view = t;
27
+ }
28
+ withSpecLocation(t = this.view.spec, n = []) {
29
+ return e(this, this.view.paramRuntime.getSpecLocation(t, n)), this;
30
+ }
31
+ };
32
+ //#endregion
33
+ export { i as a, r as i, n, a as r, s as t };