@genome-spy/core 0.45.0 → 0.46.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 (79) hide show
  1. package/dist/bundle/{index-lmJu1tfP.js → index-BtRKzKhM.js} +6 -6
  2. package/dist/bundle/{index--cKb-dKG.js → index-BwFvhduA.js} +5 -5
  3. package/dist/bundle/{index-1QVesMzU.js → index-C8lYPtq_.js} +1 -1
  4. package/dist/bundle/{index-Pv3tKJ1W.js → index-CkI3Kd2P.js} +3 -3
  5. package/dist/bundle/{index-Y-LdHNIz.js → index-CmBp-spD.js} +1 -1
  6. package/dist/bundle/{index-z4Cs62EO.js → index-Dixm7K89.js} +4 -4
  7. package/dist/bundle/{index-noY1e-G6.js → index-Sk-Wtwdn.js} +5 -5
  8. package/dist/bundle/{index-UyrC0vvF.js → index-Z7JiNsFI.js} +4 -4
  9. package/dist/bundle/{index-LD6yPc3X.js → index-mihmTLo-.js} +1 -1
  10. package/dist/bundle/index.es.js +3624 -3516
  11. package/dist/bundle/index.js +101 -92
  12. package/dist/bundle/{long-Veu0zKh9.js → long-CYrAUkxh.js} +2 -2
  13. package/dist/bundle/{remoteFile-Ur-gRKsH.js → remoteFile-1_eCK3VV.js} +1 -1
  14. package/dist/schema.json +156 -15
  15. package/dist/src/data/collector.d.ts +1 -0
  16. package/dist/src/data/collector.d.ts.map +1 -1
  17. package/dist/src/data/collector.js +19 -3
  18. package/dist/src/data/flow.test.js +4 -0
  19. package/dist/src/data/flowNode.d.ts +31 -14
  20. package/dist/src/data/flowNode.d.ts.map +1 -1
  21. package/dist/src/data/flowNode.js +53 -20
  22. package/dist/src/data/flowTestUtils.d.ts +5 -0
  23. package/dist/src/data/flowTestUtils.d.ts.map +1 -1
  24. package/dist/src/data/flowTestUtils.js +11 -0
  25. package/dist/src/data/sources/dataSource.d.ts +17 -0
  26. package/dist/src/data/sources/dataSource.d.ts.map +1 -1
  27. package/dist/src/data/sources/dataSource.js +34 -0
  28. package/dist/src/data/sources/inlineSource.js +1 -1
  29. package/dist/src/data/sources/lazy/bigBedSource.d.ts.map +1 -1
  30. package/dist/src/data/sources/lazy/bigBedSource.js +6 -0
  31. package/dist/src/data/sources/lazy/bigWigSource.d.ts.map +1 -1
  32. package/dist/src/data/sources/lazy/bigWigSource.js +28 -15
  33. package/dist/src/data/sources/lazy/singleAxisLazySource.d.ts +0 -8
  34. package/dist/src/data/sources/lazy/singleAxisLazySource.d.ts.map +1 -1
  35. package/dist/src/data/sources/lazy/singleAxisLazySource.js +1 -13
  36. package/dist/src/data/sources/lazy/singleAxisWindowedSource.js +3 -3
  37. package/dist/src/data/sources/namedSource.js +1 -1
  38. package/dist/src/data/sources/sequenceSource.d.ts.map +1 -1
  39. package/dist/src/data/sources/sequenceSource.js +2 -1
  40. package/dist/src/data/sources/urlSource.d.ts.map +1 -1
  41. package/dist/src/data/sources/urlSource.js +9 -5
  42. package/dist/src/data/transforms/clone.d.ts +1 -0
  43. package/dist/src/data/transforms/clone.d.ts.map +1 -1
  44. package/dist/src/data/transforms/coverage.d.ts +4 -1
  45. package/dist/src/data/transforms/coverage.d.ts.map +1 -1
  46. package/dist/src/data/transforms/coverage.js +44 -31
  47. package/dist/src/data/transforms/filter.d.ts +4 -3
  48. package/dist/src/data/transforms/filter.d.ts.map +1 -1
  49. package/dist/src/data/transforms/filter.js +7 -8
  50. package/dist/src/data/transforms/filter.test.js +4 -2
  51. package/dist/src/data/transforms/formula.d.ts +4 -3
  52. package/dist/src/data/transforms/formula.d.ts.map +1 -1
  53. package/dist/src/data/transforms/formula.js +7 -5
  54. package/dist/src/data/transforms/formula.test.js +13 -7
  55. package/dist/src/genomeSpy.d.ts +5 -2
  56. package/dist/src/genomeSpy.d.ts.map +1 -1
  57. package/dist/src/genomeSpy.js +24 -8
  58. package/dist/src/marks/mark.d.ts.map +1 -1
  59. package/dist/src/marks/mark.js +11 -0
  60. package/dist/src/spec/view.d.ts +52 -9
  61. package/dist/src/styles/genome-spy.css.d.ts +1 -1
  62. package/dist/src/styles/genome-spy.css.d.ts.map +1 -1
  63. package/dist/src/styles/genome-spy.css.js +4 -0
  64. package/dist/src/styles/genome-spy.scss +5 -0
  65. package/dist/src/types/viewContext.d.ts +9 -2
  66. package/dist/src/utils/expression.js +1 -1
  67. package/dist/src/view/paramMediator.d.ts +2 -1
  68. package/dist/src/view/paramMediator.d.ts.map +1 -1
  69. package/dist/src/view/paramMediator.js +3 -2
  70. package/dist/src/view/paramMediator.test.js +13 -0
  71. package/dist/src/view/viewFactory.d.ts +4 -1
  72. package/dist/src/view/viewFactory.d.ts.map +1 -1
  73. package/dist/src/view/viewFactory.js +52 -24
  74. package/dist/src/view/viewUtils.d.ts +2 -7
  75. package/dist/src/view/viewUtils.d.ts.map +1 -1
  76. package/dist/src/view/viewUtils.js +21 -30
  77. package/package.json +2 -2
  78. /package/dist/bundle/{__vite-browser-external-ENoMJThg.js → __vite-browser-external-C--ziKoh.js} +0 -0
  79. /package/dist/bundle/{_commonjsHelpers-QtkX90xp.js → _commonjsHelpers-BIiJCwQW.js} +0 -0
@@ -1,9 +1,9 @@
1
- import { L as Y, u as L, a as X } from "./long-Veu0zKh9.js";
2
- import { b as E } from "./index-1QVesMzU.js";
3
- import { g as W } from "./_commonjsHelpers-QtkX90xp.js";
4
- import { L as R } from "./__vite-browser-external-ENoMJThg.js";
5
- import { R as k } from "./remoteFile-Ur-gRKsH.js";
6
- import { _ as J, L as K } from "./index-LD6yPc3X.js";
1
+ import { L as Y, u as L, a as X } from "./long-CYrAUkxh.js";
2
+ import { b as E } from "./index-C8lYPtq_.js";
3
+ import { g as W } from "./_commonjsHelpers-BIiJCwQW.js";
4
+ import { L as R } from "./__vite-browser-external-C--ziKoh.js";
5
+ import { R as k } from "./remoteFile-1_eCK3VV.js";
6
+ import { _ as J, L as K } from "./index-mihmTLo-.js";
7
7
  class U {
8
8
  constructor(e, t) {
9
9
  this.blockPosition = e, this.dataPosition = t;
@@ -1,8 +1,8 @@
1
- import { _ as Y, L as J } from "./index-LD6yPc3X.js";
2
- import { b as K } from "./index-1QVesMzU.js";
3
- import { L as P } from "./__vite-browser-external-ENoMJThg.js";
4
- import { u as F, L as G, a as Q } from "./long-Veu0zKh9.js";
5
- import "./_commonjsHelpers-QtkX90xp.js";
1
+ import { _ as Y, L as J } from "./index-mihmTLo-.js";
2
+ import { b as K } from "./index-C8lYPtq_.js";
3
+ import { L as P } from "./__vite-browser-external-C--ziKoh.js";
4
+ import { u as F, L as G, a as Q } from "./long-CYrAUkxh.js";
5
+ import "./_commonjsHelpers-BIiJCwQW.js";
6
6
  function H(a) {
7
7
  if (a.greaterThan(Number.MAX_SAFE_INTEGER) || a.lessThan(Number.MIN_SAFE_INTEGER))
8
8
  throw new Error("integer overflow");
@@ -1,4 +1,4 @@
1
- import { g as _r } from "./_commonjsHelpers-QtkX90xp.js";
1
+ import { g as _r } from "./_commonjsHelpers-BIiJCwQW.js";
2
2
  function Sr(c, f) {
3
3
  for (var s = 0; s < f.length; s++) {
4
4
  const w = f[s];
@@ -1,6 +1,6 @@
1
- import { b as ce } from "./index-1QVesMzU.js";
2
- import { _ as Vt } from "./__vite-browser-external-ENoMJThg.js";
3
- import { a as Gt } from "./_commonjsHelpers-QtkX90xp.js";
1
+ import { b as ce } from "./index-C8lYPtq_.js";
2
+ import { _ as Vt } from "./__vite-browser-external-C--ziKoh.js";
3
+ import { a as Gt } from "./_commonjsHelpers-BIiJCwQW.js";
4
4
  var He = { exports: {} }, z = typeof Reflect == "object" ? Reflect : null, Je = z && typeof z.apply == "function" ? z.apply : function(e, r, a) {
5
5
  return Function.prototype.apply.call(e, r, a);
6
6
  }, ue;
@@ -1,4 +1,4 @@
1
- import { g as vt } from "./_commonjsHelpers-QtkX90xp.js";
1
+ import { g as vt } from "./_commonjsHelpers-BIiJCwQW.js";
2
2
  function xt(s, h) {
3
3
  function t() {
4
4
  this.constructor = s;
@@ -1,7 +1,7 @@
1
- import { L as g } from "./__vite-browser-external-ENoMJThg.js";
2
- import { b as w } from "./index-1QVesMzU.js";
3
- import { L as x, u as E } from "./long-Veu0zKh9.js";
4
- import "./_commonjsHelpers-QtkX90xp.js";
1
+ import { L as g } from "./__vite-browser-external-C--ziKoh.js";
2
+ import { b as w } from "./index-C8lYPtq_.js";
3
+ import { L as x, u as E } from "./long-CYrAUkxh.js";
4
+ import "./_commonjsHelpers-BIiJCwQW.js";
5
5
  const m = 1;
6
6
  class _ {
7
7
  constructor({ filehandle: e, path: t }) {
@@ -1,8 +1,8 @@
1
- import { b as Q } from "./index-1QVesMzU.js";
2
- import { _ as Gn, L as Yn } from "./index-LD6yPc3X.js";
3
- import { L as nr } from "./__vite-browser-external-ENoMJThg.js";
4
- import { R as ir } from "./remoteFile-Ur-gRKsH.js";
5
- import "./_commonjsHelpers-QtkX90xp.js";
1
+ import { b as Q } from "./index-C8lYPtq_.js";
2
+ import { _ as Gn, L as Yn } from "./index-mihmTLo-.js";
3
+ import { L as nr } from "./__vite-browser-external-C--ziKoh.js";
4
+ import { R as ir } from "./remoteFile-1_eCK3VV.js";
5
+ import "./_commonjsHelpers-BIiJCwQW.js";
6
6
  const st = BigInt(32);
7
7
  function rr(e, n, t) {
8
8
  const i = +!!t, r = +!t;
@@ -1,7 +1,7 @@
1
- import { L as d } from "./__vite-browser-external-ENoMJThg.js";
2
- import { R as b } from "./remoteFile-Ur-gRKsH.js";
3
- import { b as i } from "./index-1QVesMzU.js";
4
- import "./_commonjsHelpers-QtkX90xp.js";
1
+ import { L as d } from "./__vite-browser-external-C--ziKoh.js";
2
+ import { R as b } from "./remoteFile-1_eCK3VV.js";
3
+ import { b as i } from "./index-C8lYPtq_.js";
4
+ import "./_commonjsHelpers-BIiJCwQW.js";
5
5
  function a(o) {
6
6
  const r = new FileReader();
7
7
  return new Promise((n, e) => {
@@ -1,4 +1,4 @@
1
- import { c as v, g as D } from "./_commonjsHelpers-QtkX90xp.js";
1
+ import { c as v, g as D } from "./_commonjsHelpers-BIiJCwQW.js";
2
2
  var j = {}, m = {}, h = {}, g = {};
3
3
  Object.defineProperty(g, "__esModule", { value: !0 });
4
4
  function A(r, e) {