wuepgg3-track 3.0.2 → 3.0.4

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 (47) hide show
  1. package/dist/{SharedSystems-DIJv-DN5.mjs → SharedSystems-D2-L-AEG.mjs} +2 -2
  2. package/dist/{WebGLRenderer-CsTrvYOX.mjs → WebGLRenderer-0nbxwc6U.mjs} +3 -3
  3. package/dist/{WebGPURenderer-DzVu_lWJ.mjs → WebGPURenderer-DWuXep8H.mjs} +3 -3
  4. package/dist/{browserAll-B3IbIX5M.mjs → browserAll-C-dLabXl.mjs} +2 -2
  5. package/dist/{colorToUniform-CsQEU8Js.mjs → colorToUniform-DQmiMhES.mjs} +1 -1
  6. package/dist/components/GenomeView/TrackComponents/BamComponents/BamAnnotation.d.ts +1 -1
  7. package/dist/components/GenomeView/TrackComponents/CategoricalComponents/CategoricalAnnotation.d.ts +1 -1
  8. package/dist/components/GenomeView/TrackComponents/RulerComponents/Ruler.d.ts +1 -1
  9. package/dist/components/GenomeView/TrackComponents/commonComponents/TrackLegend.d.ts +1 -1
  10. package/dist/components/GenomeView/TrackComponents/commonComponents/annotation/AnnotationArrows.d.ts +1 -1
  11. package/dist/components/GenomeView/TrackComponents/commonComponents/numerical/NumericalTrack.d.ts +1 -1
  12. package/dist/components/GenomeView/TrackComponents/geneAnnotationTrackComponents/BackgroundedText.d.ts +1 -1
  13. package/dist/components/GenomeView/TrackComponents/geneAnnotationTrackComponents/GeneDetail.d.ts +2 -2
  14. package/dist/components/GenomeView/genomeNavigator/Ruler.d.ts +1 -1
  15. package/dist/components/GenomeView/genomeNavigator/SelectableGenomeArea.d.ts +1 -1
  16. package/dist/components/GenomeView/genomeNavigator/SelectedRegionBox.d.ts +1 -1
  17. package/dist/genome-hub/GenomeSerializer.d.ts +1 -1
  18. package/dist/genome-hub/genome-schema.d.ts +2 -1
  19. package/dist/getRemoteData/BigSourceWorkerGmod.d.ts +6 -7
  20. package/dist/getRemoteData/hicSource.d.ts +1 -1
  21. package/dist/getRemoteData/io/remoteFile.d.ts +1 -1
  22. package/dist/{index-BY4pGSpV.mjs → index-DryYmDPe.mjs} +42913 -45142
  23. package/dist/index.es.js +1 -1
  24. package/dist/index.umd.js +180 -188
  25. package/dist/{init-BCc7WBpx.mjs → init-D8gtYsaQ.mjs} +2 -2
  26. package/dist/models/AlignmentSegment.d.ts +1 -1
  27. package/dist/models/AlignmentStringUtils.d.ts +1 -1
  28. package/dist/models/BamAlignment.d.ts +1 -1
  29. package/dist/models/BedRecord.d.ts +1 -1
  30. package/dist/models/Chromosome.d.ts +1 -1
  31. package/dist/models/ChromosomeInterval.d.ts +1 -1
  32. package/dist/models/DisplayedRegionModel.d.ts +1 -1
  33. package/dist/models/Feature.d.ts +2 -2
  34. package/dist/models/FeatureAggregator.d.ts +1 -1
  35. package/dist/models/NavigationContext.d.ts +1 -1
  36. package/dist/models/OpenInterval.d.ts +1 -1
  37. package/dist/models/Snp.d.ts +1 -1
  38. package/dist/models/TrackModel.d.ts +1 -1
  39. package/dist/trackConfigs/config-menu-components.tsx/ColorConfig.d.ts +1 -1
  40. package/dist/trackConfigs/config-menu-components.tsx/NumberConfig.d.ts +1 -1
  41. package/dist/webworkerAll-BYF_bwOo.mjs +2 -0
  42. package/package.json +1 -1
  43. package/dist/components/GenomeView/TrackComponents/bedComponents/BedcolorTrack.d.ts +0 -6
  44. package/dist/components/GenomeView/TrackComponents/commonComponents/annotation/AnnotationTrack.d.ts +0 -25
  45. package/dist/components/GenomeView/TrackComponents/commonComponents/annotation/FullDisplayMode.d.ts +0 -45
  46. package/dist/getRemoteData/JasparSource.d.ts +0 -8
  47. package/dist/webworkerAll-D1y9mAuB.mjs +0 -2
@@ -1,5 +1,5 @@
1
- import { u as Ee, m as ae, M as v, G as De, a as Oe, v as ne, E as u, e as D, x as S, y as Fe, z as O, F as b, R as F, H as ie, I as Le, t as m, c as f, j as B, w as L, J as Y, K as He, d as J, B as k, k as U, L as ze, N as M, l as T, O as w, Q as We, b as Ve, V as oe, W as le, X as ue, Y as de, C as P, Z as Ne, _ as A, $ as X, D as H, a0 as je, P as $e, h as qe, T as Q, a1 as Z, a2 as Ke, a3 as Ye, a4 as Je } from "./index-BY4pGSpV.mjs";
2
- import { F as Xe, S as Qe, B as ce, c as Ze } from "./colorToUniform-CsQEU8Js.mjs";
1
+ import { u as Ee, m as ae, M as v, G as De, a as Oe, v as ne, E as u, e as D, x as S, y as Fe, z as O, F as b, R as F, H as ie, I as Le, t as m, c as f, j as B, w as L, J as Y, K as He, d as J, B as k, k as U, L as ze, N as M, l as T, O as w, Q as We, b as Ve, V as oe, W as le, X as ue, Y as de, C as P, Z as Ne, _ as A, $ as X, D as H, a0 as je, P as $e, h as qe, T as Q, a1 as Z, a2 as Ke, a3 as Ye, a4 as Je } from "./index-DryYmDPe.mjs";
2
+ import { F as Xe, S as Qe, B as ce, c as Ze } from "./colorToUniform-DQmiMhES.mjs";
3
3
  var et = `in vec2 vMaskCoord;
4
4
  in vec2 vTextureCoord;
5
5
 
@@ -1,6 +1,6 @@
1
- import { E as d, B, w as m, D as S, J as K, a as Be, S as U, t as b, a5 as Ae, l as $, a6 as Ne, c as p, O as H, k as A, j as N, m as F, M as z, a7 as Y, a8 as ye, a9 as Ce, aa as q, ab as De, A as Ie, R as Ge, e as T } from "./index-BY4pGSpV.mjs";
2
- import { S as O, b as Z } from "./colorToUniform-CsQEU8Js.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-DIJv-DN5.mjs";
1
+ import { E as d, B, w as m, D as S, J as K, a as Be, S as U, t as b, a5 as Ae, l as $, a6 as Ne, c as p, O as H, k as A, j as N, m as F, M as z, a7 as Y, a8 as ye, a9 as Ce, aa as q, ab as De, A as Ie, R as Ge, e as T } from "./index-DryYmDPe.mjs";
2
+ import { S as O, b as Z } from "./colorToUniform-DQmiMhES.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-D2-L-AEG.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 S, c as C, B as T, d as ue, h as A, i as M, w as v, j as y, k as ce, l as de, m as L, n as w, M as k, o as D, p as he, q as pe, s as H, S as z, t as R, A as le, R as fe, e as B } from "./index-BY4pGSpV.mjs";
2
- import { S as F, l as ge, a as me } from "./colorToUniform-CsQEU8Js.mjs";
3
- import { c as _e, u as be, U as ye, B as xe, G as Ge, e as Se, R as Be, t as Pe, S as Te, a as Ce } from "./SharedSystems-DIJv-DN5.mjs";
1
+ import { g as E, E as p, f as ae, D as S, c as C, B as T, d as ue, h as A, i as M, w as v, j as y, k as ce, l as de, m as L, n as w, M as k, o as D, p as he, q as pe, s as H, S as z, t as R, A as le, R as fe, e as B } from "./index-DryYmDPe.mjs";
2
+ import { S as F, l as ge, a as me } from "./colorToUniform-DQmiMhES.mjs";
3
+ import { c as _e, u as be, U as ye, B as xe, G as Ge, e as Se, R as Be, t as Pe, S as Te, a as Ce } from "./SharedSystems-D2-L-AEG.mjs";
4
4
  const x = F.for2d();
5
5
  class O {
6
6
  start(e, t, r) {
@@ -1,5 +1,5 @@
1
- import { T as A, U as Z, P as g, r as te, E as b, b as ie, w as y, e as w, C as V } from "./index-BY4pGSpV.mjs";
2
- import "./init-BCc7WBpx.mjs";
1
+ import { T as A, U as Z, P as g, r as te, E as b, b as ie, w as y, e as w, C as V } from "./index-DryYmDPe.mjs";
2
+ import "./init-D8gtYsaQ.mjs";
3
3
  class q {
4
4
  constructor(e) {
5
5
  this._lastTransform = "", this._observer = null, this._tickerAttached = !1, this.updateTranslation = () => {
@@ -1,4 +1,4 @@
1
- import { S as M, G as x, a as F } from "./index-BY4pGSpV.mjs";
1
+ import { S as M, G as x, a as F } from "./index-DryYmDPe.mjs";
2
2
  const T = {
3
3
  normal: 0,
4
4
  add: 1,
@@ -17,7 +17,7 @@ interface BamAnnotationProps {
17
17
  /**
18
18
  * Draws a single BAM annotation.
19
19
  *
20
- * @author Silas Hsu
20
+ * @author Chanrung(Chad) Seng, Silas Hsu
21
21
  */
22
22
  export declare class BamAnnotation extends React.Component<BamAnnotationProps, {}> {
23
23
  static HEIGHT: number;
@@ -22,7 +22,7 @@ interface CategoricalAnnotationProps {
22
22
  /**
23
23
  * Visualizer for Feature objects.
24
24
  *
25
- * @author Silas Hsu
25
+ * @author Chanrung(Chad) Seng, Silas Hsu
26
26
  */
27
27
  declare class CategoricalAnnotation extends React.Component<CategoricalAnnotationProps> {
28
28
  static TEXT_HEIGHT: number;
@@ -3,7 +3,7 @@ import DisplayedRegionModel from "../../../../models/DisplayedRegionModel";
3
3
  /**
4
4
  * Draws a ruler that displays feature coordinates.
5
5
  *
6
- * @author Silas Hsu
6
+ * @author Chanrung(Chad) Seng, Silas Hsu
7
7
  */
8
8
  interface RulerProps {
9
9
  viewRegion: DisplayedRegionModel;
@@ -21,7 +21,7 @@ interface TrackLegendProps {
21
21
  /**
22
22
  * A box displaying labels, axes, and other important track info.
23
23
  *
24
- * @author Silas Hsu
24
+ * @author Chanrung(Chad) Seng, Silas Hsu
25
25
  */
26
26
  declare class TrackLegend extends React.PureComponent<TrackLegendProps> {
27
27
  static defaultProps: {
@@ -2,7 +2,7 @@ import React from "react";
2
2
  /**
3
3
  * A series of evenly-spaced arrows on a horizontal axis. Renders SVG elements.
4
4
  *
5
- * @author Silas Hsu
5
+ * @author Chanrung(Chad) Seng, Silas Hsu
6
6
  */
7
7
  interface ArrowProps {
8
8
  startX: number;
@@ -33,7 +33,7 @@ export declare const DEFAULT_OPTIONS: {
33
33
  /**
34
34
  * Track specialized in showing numerical data.
35
35
  *
36
- * @author Silas Hsu, Chanrung Seng
36
+ * @author Chanrung(Chad) Seng, Silas Hsu
37
37
  */
38
38
  declare const NumericalTrack: React.FC<NumericalTrackProps>;
39
39
  export default NumericalTrack;
@@ -4,7 +4,7 @@ import React from "react";
4
4
  * rather than measuring the text's bounding box. It is reasonably good at this estimation; nonetheless, we are dealing
5
5
  * with a guess, so the background box may not be completely accurate.
6
6
  *
7
- * @author Silas Hsu
7
+ * @author Chanrung(Chad) Seng, Silas Hsu
8
8
  */
9
9
  interface BackgroundedTextProps {
10
10
  x?: number;
@@ -3,7 +3,7 @@ import Gene from "../../../../models/Gene";
3
3
  /**
4
4
  * Box that contains gene details when a gene annotation is clicked.
5
5
  *
6
- * @author Silas Hsu
6
+ * @author Chanrung(Chad) Seng, Silas Hsu
7
7
  */
8
8
  interface GeneDetailProps {
9
9
  gene: Gene;
@@ -13,7 +13,7 @@ interface GeneDetailProps {
13
13
  /**
14
14
  * Box that contains gene details when a gene annotation is clicked.
15
15
  *
16
- * @author Silas Hsu
16
+ * @author Chanrung(Chad) Seng, Silas Hsu
17
17
  */
18
18
  declare const GeneDetail: React.FC<GeneDetailProps>;
19
19
  export default GeneDetail;
@@ -3,7 +3,7 @@ import DisplayedRegionModel from "../../../models/DisplayedRegionModel";
3
3
  /**
4
4
  * Draws a ruler that displays feature coordinates.
5
5
  *
6
- * @author Silas Hsu
6
+ * @author Chanrung(Chad) Seng, Silas Hsu
7
7
  */
8
8
  interface RulerProps {
9
9
  viewRegion: DisplayedRegionModel;
@@ -20,7 +20,7 @@ interface SelectableGenomeAreaProps {
20
20
  /**
21
21
  * A SelectableArea, but also displays the selected length in base pairs, and puts a limit on the selected size.
22
22
  *
23
- * @author Silas Hsu
23
+ * @author Chanrung(Chad) Seng, Silas Hsu
24
24
  */
25
25
  export declare class SelectableGenomeArea extends React.PureComponent<SelectableGenomeAreaProps> {
26
26
  constructor(props: SelectableGenomeAreaProps);
@@ -3,7 +3,7 @@ import DisplayedRegionModel from "../../../models/DisplayedRegionModel";
3
3
  /**
4
4
  * A box that shows the currently selected region, or a GOTO button if the currently selected region is out of view.
5
5
  *
6
- * @author Silas Hsu
6
+ * @author Chanrung(Chad) Seng, Silas Hsu
7
7
  */
8
8
  interface SelectedRegionBoxProps {
9
9
  viewRegion: DisplayedRegionModel;
@@ -5,7 +5,7 @@ export default class GenomeSerializer {
5
5
  static deserialize(object: IGenome): GenomeConfig;
6
6
  static validateGenomeObject(object: any): {
7
7
  valid: boolean;
8
- errors: import("ajv").ErrorObject<string, Record<string, any>, unknown>[] | null | undefined;
8
+ errors: import("ajv").ErrorObject[] | null | undefined;
9
9
  } | {
10
10
  valid: boolean;
11
11
  errors?: undefined;
@@ -1,3 +1,4 @@
1
+ import Ajv from 'ajv';
1
2
  export declare const genomeDataSchema: {
2
3
  type: string;
3
4
  required: string[];
@@ -190,7 +191,7 @@ export declare const genomeDataSchema: {
190
191
  };
191
192
  export declare function validateGenomeData(data: any): {
192
193
  valid: boolean;
193
- errors: import("ajv").ErrorObject<string, Record<string, any>, unknown>[] | null | undefined;
194
+ errors: Ajv.ErrorObject[] | null | undefined;
194
195
  } | {
195
196
  valid: boolean;
196
197
  errors?: undefined;
@@ -1,17 +1,16 @@
1
- export declare function resolveUriLocation(location: any): any;
1
+ import { BigWig } from "@gmod/bbi";
2
2
  declare class BigSourceWorkerGmod {
3
3
  url: any;
4
- bw: any;
4
+ private chromNamingCache;
5
+ bw: BigWig;
6
+ useEnsemblStyle: null | boolean;
5
7
  /**
6
8
  *
7
9
  * @param {string} url - the URL from which to fetch data
8
10
  */
9
11
  constructor(url: any);
10
12
  /**
11
- * Creates a new BigWig instance (no caching between requests)
12
- */
13
- /**
14
- * Detects if the BigWig file uses Ensembl chromosome naming convention
13
+ * Detects if the BigWig file uses Ensembl
15
14
  * @return {Promise<boolean>} True if Ensembl naming (1, 2, 3...), false if UCSC naming (chr1, chr2, chr3...)
16
15
  */
17
16
  detectChromosomeNaming(): Promise<boolean>;
@@ -23,6 +22,6 @@ declare class BigSourceWorkerGmod {
23
22
  * @return {Promise<DASFeature[]>} a Promise for the data
24
23
  * @override
25
24
  */
26
- getData(loci: any, basesPerPixel: any, options: any): Promise<any[]>;
25
+ getData: (loci: any, basesPerPixel: any, options: any) => Promise<any[]>;
27
26
  }
28
27
  export default BigSourceWorkerGmod;
@@ -2,7 +2,7 @@ import { NormalizationMode } from "./HicDataModes";
2
2
  /**
3
3
  * Data source that fetches data from .hic files.
4
4
  *
5
- * @author Silas Hsu
5
+ * @author Chanrung(Chad) Seng, Silas Hsu
6
6
  */
7
7
  export declare class HicSource {
8
8
  currentBinSize: number;
@@ -2,6 +2,6 @@ declare class RemoteFile {
2
2
  config: any;
3
3
  url: any;
4
4
  constructor(args: any);
5
- read(position: any, length: any): Promise<any>;
5
+ read(position: any, length: any): Promise<ArrayBuffer>;
6
6
  }
7
7
  export default RemoteFile;