wuepgg3-track 1.1.2 → 1.1.3

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.
@@ -1,4 +1,4 @@
1
- import { q as Le, G as te, t as re, u as He, k as se, M as v, v as ae, E as u, e as E, x as S, y as ze, z as O, F as b, R as F, H as ne, I as We, s as m, S as f, h as B, w as ie, J as q, K as Ve, b as K, B as k, i as U, L as M, j as T, N as w, O as Ne, a as je, Q as oe, V as le, W as ue, X as de, C as P, Y as ce, Z as $e, P as qe, c as Ke, T as Y, D as he, _ as J, $ as Ye, a0 as Je, a1 as Xe } from "./index-Kjb0Luq-.mjs";
1
+ import { q as Le, G as te, t as re, u as He, k as se, M as v, v as ae, E as u, e as E, x as S, y as ze, z as O, F as b, R as F, H as ne, I as We, s as m, S as f, h as B, w as ie, J as q, K as Ve, b as K, B as k, i as U, L as M, j as T, N as w, O as Ne, a as je, Q as oe, V as le, W as ue, X as de, C as P, Y as ce, Z as $e, P as qe, c as Ke, T as Y, D as he, _ as J, $ as Ye, a0 as Je, a1 as Xe } from "./index-C7FSRMBO.mjs";
2
2
  import { S as fe, B as pe, c as Qe } from "./colorToUniform-zJcCVLeu.mjs";
3
3
  const me = class A extends Le {
4
4
  /**
@@ -1,6 +1,6 @@
1
- import { E as d, B, w as m, D as S, J as K, t as Be, q as U, s as b, a2 as Ae, j as $, a3 as Ne, S as p, N as H, i as A, h as N, k as F, M as z, a4 as Y, a5 as ye, a6 as Ce, a7 as q, a8 as De, A as Ie, R as Ge, e as v } from "./index-Kjb0Luq-.mjs";
1
+ import { E as d, B, w as m, D as S, J as K, t as Be, q as U, s as b, a2 as Ae, j as $, a3 as Ne, S as p, N as H, i as A, h as N, k as F, M as z, a4 as Y, a5 as ye, a6 as Ce, a7 as q, a8 as De, A as Ie, R as Ge, e as v } from "./index-C7FSRMBO.mjs";
2
2
  import { S as O, b as Z } from "./colorToUniform-zJcCVLeu.mjs";
3
- import { e as Ue, G as Fe, c as Oe, b as Pe, U as Me, R as Le, B as J, d as y, f as He, S as we, a as Ve } from "./SharedSystems-BKSw7oo0.mjs";
3
+ import { e as Ue, G as Fe, c as Oe, b as Pe, U as Me, R as Le, B as J, d as y, f as He, S as we, a as Ve } from "./SharedSystems-20AoNEkD.mjs";
4
4
  class Q {
5
5
  constructor() {
6
6
  this._tempState = O.for2d(), this._didUploadHash = {};
@@ -1,6 +1,6 @@
1
- import { g as E, E as p, f as ae, D as B, S as C, B as T, b as ue, c as L, d as M, w as v, h as y, i as ce, j as de, k as A, l as w, M as k, m as D, n as he, o as pe, p as H, q as z, s as R, A as le, R as fe, e as S } from "./index-Kjb0Luq-.mjs";
1
+ import { g as E, E as p, f as ae, D as B, S as C, B as T, b as ue, c as L, d as M, w as v, h as y, i as ce, j as de, k as A, l as w, M as k, m as D, n as he, o as pe, p as H, q as z, s as R, A as le, R as fe, e as S } from "./index-C7FSRMBO.mjs";
2
2
  import { S as F, l as ge, a as me } from "./colorToUniform-zJcCVLeu.mjs";
3
- import { c as _e, u as be, U as ye, B as xe, G as Ge, e as Be, R as Se, t as Pe, S as Te, a as Ce } from "./SharedSystems-BKSw7oo0.mjs";
3
+ import { c as _e, u as be, U as ye, B as xe, G as Ge, e as Be, R as Se, t as Pe, S as Te, a as Ce } from "./SharedSystems-20AoNEkD.mjs";
4
4
  const x = F.for2d();
5
5
  class O {
6
6
  start(e, t, r) {
@@ -1,5 +1,5 @@
1
- import { P as g, r as Q, E as b, T as C, U as ee, a as te, w as y, e as w, C as Z } from "./index-Kjb0Luq-.mjs";
2
- import "./init-ChvgvRCy.mjs";
1
+ import { P as g, r as Q, E as b, T as C, U as ee, a as te, w as y, e as w, C as Z } from "./index-C7FSRMBO.mjs";
2
+ import "./init--x02hm8I.mjs";
3
3
  class M {
4
4
  /**
5
5
  * @param manager - The event boundary which manages this event. Propagation can only occur
@@ -1,19 +1,40 @@
1
1
  /// <reference types="react" />
2
- interface DataSource {
2
+ /**
3
+ * Configuration for a single track in GenomeViewer.
4
+ * @property {string} type - The type of the track (required).
5
+ * @property {string} url - Data source URL for the track.
6
+ * @property {string} name - Name of the track.
7
+ * @property {object} options - Additional options for the track.
8
+ */
9
+ export interface TracksProps {
3
10
  url?: string;
4
11
  name?: string;
5
12
  options?: {
6
13
  [key: string]: any;
7
14
  };
8
15
  type: string;
16
+ showOnHubLoad?: boolean;
17
+ metadata?: {
18
+ [key: string]: any;
19
+ };
9
20
  }
10
- interface GenomeVisualizationProps {
11
- genomeName?: string;
12
- type?: string;
13
- dataSources: DataSource[];
14
- viewRegion?: any;
21
+ /**
22
+ * Props for the GenomeViewer component.
23
+ * @property {string} genomeName - Name of the genome to display.
24
+ * @property {TracksProps[]} tracks - Array of track configuration objects (datahub).
25
+ * @property {string} viewRegion - Genomic region to display as a string.
26
+ * @property {number} windowWidth - Width of the track.
27
+ * @property {any} customGenome - Optional custom genome object.
28
+ */
29
+ interface GenomeViewerProps {
30
+ genomeName: string;
31
+ tracks: TracksProps[];
32
+ viewRegion?: string;
15
33
  windowWidth?: number;
16
- customGenome?: string;
34
+ customGenome?: any;
17
35
  }
18
- declare const GenomeViewer: React.FC<GenomeVisualizationProps>;
36
+ /**
37
+ * GenomeViewer visualizes a section of a genome as a track
38
+ */
39
+ declare const GenomeViewer: React.FC<GenomeViewerProps>;
19
40
  export default GenomeViewer;