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 { E as m, U as ct, T as de, b as dt, a2 as w, a3 as U, t as C, ac as he, Z as I, ad as D, O as ht, n as Y, ae as ft, af as fe, _ as Se, ag as W, ah as pt, ai as P, w as X, G as Pe, a as Fe, M as R, m as A, h as Be, F, a5 as ie, R as se, z as Re, d as O, B, D as ne, x as K, aj as gt, ak as ae, J as te, al as V, S as oe, o as Me, s as Ue, a7 as Ge, aa as ze, p as mt, q as xt, a8 as _t, a9 as yt, ab as bt, am as vt, an as Tt, ao as N, e as T, ap as wt } from "./index-BY4pGSpV.mjs";
2
- import { F as Ct, S as j, c as $, a as St, b as Pt, B as Ae } from "./colorToUniform-CsQEU8Js.mjs";
1
+ import { E as m, U as ct, T as de, b as dt, a2 as w, a3 as U, t as C, ac as he, Z as I, ad as D, O as ht, n as Y, ae as ft, af as fe, _ as Se, ag as W, ah as pt, ai as P, w as X, G as Pe, a as Fe, M as R, m as A, h as Be, F, a5 as ie, R as se, z as Re, d as O, B, D as ne, x as K, aj as gt, ak as ae, J as te, al as V, S as oe, o as Me, s as Ue, a7 as Ge, aa as ze, p as mt, q as xt, a8 as _t, a9 as yt, ab as bt, am as vt, an as Tt, ao as N, e as T, ap as wt } from "./index-DryYmDPe.mjs";
2
+ import { F as Ct, S as j, c as $, a as St, b as Pt, B as Ae } from "./colorToUniform-DQmiMhES.mjs";
3
3
  class ke {
4
4
  /**
5
5
  * Initialize the plugin with scope of application instance
@@ -5,7 +5,7 @@ import ChromosomeInterval from "./ChromosomeInterval";
5
5
  /**
6
6
  * A segment of an alignment record. Has methods that get parts of the attached record's sequences and loci.
7
7
  *
8
- * @author Silas Hsu
8
+ * @author Chanrung(Chad) Seng, Silas Hsu
9
9
  */
10
10
  export declare class AlignmentSegment extends FeatureSegment {
11
11
  readonly feature: AlignmentRecord;
@@ -33,7 +33,7 @@ export declare function makeBaseNumberLookup(sequence: string, baseAtStart: numb
33
33
  /**
34
34
  * An iterator that steps along a string, skipping '-' characters. Instances start at index -1.
35
35
  *
36
- * @author Silas Hsu
36
+ * @author Chanrung(Chad) Seng, Silas Hsu
37
37
  */
38
38
  export declare class AlignmentIterator {
39
39
  sequence: string;
@@ -15,7 +15,7 @@ interface AlignmentResult {
15
15
  /**
16
16
  * A BAM record.
17
17
  *
18
- * @author Silas Hsu
18
+ * @author Chanrung(Chad) Seng, Silas Hsu
19
19
  * @author David Ayeke
20
20
  * @author Daofeng Li
21
21
  */
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Records returned by BedSource and its worker. Each prop is a column in the bed file.
3
3
  *
4
- * @author Silas Hsu
4
+ * @author Chanrung(Chad) Seng, Silas Hsu
5
5
  */
6
6
  interface BedRecord {
7
7
  chr: string;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Simple container for chromosome info.
3
3
  *
4
- * @author Silas Hsu
4
+ * @author Chanrung(Chad) Seng, Silas Hsu
5
5
  */
6
6
  export default class Chromosome {
7
7
  private _name;
@@ -20,7 +20,7 @@ interface MergedLocus<T> {
20
20
  * Basically an OpenInterval with a chromosome's name. Expresses genomic coordinates.
21
21
  *
22
22
  * @implements {Serializable}
23
- * @author Silas Hsu
23
+ * @author Chanrung(Chad) Seng, Silas Hsu
24
24
  */
25
25
  declare class ChromosomeInterval extends OpenInterval implements IChromosomeInterval {
26
26
  chr: string;
@@ -6,7 +6,7 @@ import ChromosomeInterval from "./ChromosomeInterval";
6
6
  * Model that stores the view window/region in a larger navigation context (e.g. a genome). Internally stores the
7
7
  * region as an open interval of nav context coordinates (@see {@link NavigationContext}).
8
8
  *
9
- * @author Silas Hsu
9
+ * @author Chanrung(Chad) Seng, Silas Hsu
10
10
  */
11
11
  declare class DisplayedRegionModel {
12
12
  _navContext: NavigationContext;
@@ -16,7 +16,7 @@ export declare const REVERSE_STRAND_CHAR = "-";
16
16
  * A feature, or annotation, in the genome.
17
17
  *
18
18
  * @implements {Serializable}
19
- * @author Silas Hsu
19
+ * @author Chanrung(Chad) Seng, Silas Hsu
20
20
  */
21
21
  export declare class Feature {
22
22
  locus: ChromosomeInterval;
@@ -78,7 +78,7 @@ export declare class Feature {
78
78
  /**
79
79
  * Everything a Feature is, plus a `value` prop.
80
80
  *
81
- * @author Silas Hsu
81
+ * @author Chanrung(Chad) Seng, Silas Hsu
82
82
  */
83
83
  export declare class NumericalFeature extends Feature {
84
84
  value: number | undefined;
@@ -46,7 +46,7 @@ export declare const DefaultArrayAggregators: {
46
46
  /**
47
47
  * Aggregator of features. Includes methods to construct x-to-data maps.
48
48
  *
49
- * @author Silas Hsu
49
+ * @author Chanrung(Chad) Seng, Silas Hsu, Chanrung(Chad) Seng
50
50
  */
51
51
  export declare class FeatureAggregator {
52
52
  /**
@@ -10,7 +10,7 @@ import { Feature } from "./Feature";
10
10
  * have non-empty, unique names. In addition to this implicit coordinate system, NavContext methods also support
11
11
  * feature coordinates, which are a feature and base number relative to the start of the feature.
12
12
  *
13
- * @author Silas Hsu
13
+ * @author Chanrung(Chad) Seng, Silas Hsu
14
14
  */
15
15
  declare class NavigationContext {
16
16
  _name: string;
@@ -10,7 +10,7 @@ export interface IOpenInterval {
10
10
  * `myFunction(...interval)` is equivalent to `myFunction(interval.start, interval.end)`
11
11
  *
12
12
  * @implements {Serializable}
13
- * @author Silas Hsu
13
+ * @author Chanrung(Chad) Seng, Silas Hsu
14
14
  */
15
15
  export default class OpenInterval implements IOpenInterval {
16
16
  readonly start: number;
@@ -2,7 +2,7 @@ import Feature from "./Feature";
2
2
  /**
3
3
  * A data container for snp.
4
4
  *
5
- * @author Daofeng Li and Silas Hsu
5
+ * @author Daofeng Li and Chanrung(Chad) Seng, Silas Hsu
6
6
  */
7
7
  declare class Snp extends Feature {
8
8
  id: string;
@@ -47,7 +47,7 @@ interface ITrackModel {
47
47
  * An object storing track metadata and state.
48
48
  *
49
49
  * @implements {Serializable}
50
- * @author Silas Hsu
50
+ * @author Chanrung(Chad) Seng, Silas Hsu
51
51
  */
52
52
  export declare class TrackModel {
53
53
  /**
@@ -2,7 +2,7 @@ import React from "react";
2
2
  /**
3
3
  * A context menu item that configures tracks' colors in general.
4
4
  *
5
- * @author Silas Hsu
5
+ * @author Chanrung(Chad) Seng, Silas Hsu
6
6
  */
7
7
  interface ColorConfigProps {
8
8
  color?: any;
@@ -2,7 +2,7 @@ import React from "react";
2
2
  /**
3
3
  * A menu option that configures some integer-based property.
4
4
  *
5
- * @author Silas Hsu
5
+ * @author Chanrung(Chad) Seng, Silas Hsu
6
6
  */
7
7
  interface NumberConfigProps {
8
8
  optionsObjects: any;
@@ -0,0 +1,2 @@
1
+ import "./init-D8gtYsaQ.mjs";
2
+ import "./index-DryYmDPe.mjs";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "wuepgg3-track",
3
3
  "private": false,
4
- "version": "3.0.2",
4
+ "version": "3.0.4",
5
5
  "main": "dist/index.umd.js",
6
6
  "module": "dist/index.es.js",
7
7
  "types": "dist/index.d.ts",
@@ -1,6 +0,0 @@
1
- import Bedcolor from "./Bedcolor";
2
- export declare const DEFAULT_OPTIONS: {
3
- rowHeight: number;
4
- hiddenPixels: number;
5
- };
6
- export default Bedcolor;
@@ -1,25 +0,0 @@
1
- import React from "react";
2
- export declare const DEFAULT_OPTIONS: {
3
- displayMode: string;
4
- color: string;
5
- color2: string;
6
- maxRows: number;
7
- height: number;
8
- hideMinimalItems: boolean;
9
- sortItems: boolean;
10
- };
11
- /**
12
- * A component that visualizes annotations or Features.
13
- *
14
- * @author Silas Hsu
15
- */
16
- interface AnnotationTrackProps {
17
- options: {
18
- displayMode: string;
19
- [key: string]: any;
20
- };
21
- }
22
- export declare class AnnotationTrack extends React.PureComponent<AnnotationTrackProps> {
23
- render(): any;
24
- }
25
- export default AnnotationTrack;
@@ -1,45 +0,0 @@
1
- import React, { JSX } from "react";
2
- import { PlacedFeatureGroup, PaddingFunc } from "../../../../../models/FeatureArranger";
3
- import Feature from "../../../../../models/Feature";
4
- import { SortItemsOptions } from "../../../../../models/SortItemsOptions";
5
- /**
6
- * Callback for getting an annotation to render
7
- *
8
- * @param {PlacedFeatureGroup} placedGroup - the feature to draw, and drawing info
9
- * @param {number} y - suggested y coordinate of the top of the annotation
10
- * @param {boolean} isLastRow - whether the annotation is assigned to the last configured row
11
- * @param {number} index - iteration index; could be useful as a key
12
- * @return {JSX.Element} the annotation element to render
13
- */
14
- type AnnotationCallback = (placedGroup: PlacedFeatureGroup, y: number, isLastRow: boolean, index: number) => JSX.Element;
15
- interface FullDisplayModeProps {
16
- data: Feature[];
17
- rowHeight: number;
18
- options: {
19
- maxRows: number;
20
- hiddenPixels?: number;
21
- hideMinimalItems?: boolean;
22
- sortItems?: SortItemsOptions;
23
- };
24
- visRegion?: any;
25
- width?: number;
26
- legend?: JSX.Element;
27
- featurePadding?: number | PaddingFunc;
28
- getAnnotationElement?: AnnotationCallback;
29
- message?: JSX.Element;
30
- }
31
- /**
32
- * An arranger and renderer of features, or annotations.
33
- *
34
- * @author Silas Hsu
35
- */
36
- declare class FullDisplayMode extends React.Component<FullDisplayModeProps> {
37
- static defaultProps: {
38
- featurePadding: number;
39
- };
40
- private featureArranger;
41
- constructor(props: FullDisplayModeProps);
42
- getHeight(numRows: number): number;
43
- render(): any;
44
- }
45
- export default FullDisplayMode;
@@ -1,8 +0,0 @@
1
- import BigSourceWorkerGmod from "./BigSourceWorkerGmod";
2
- declare class JasparSource {
3
- maxBasesPerPixel: number;
4
- workerSource: BigSourceWorkerGmod;
5
- constructor(url: any);
6
- getData(region: any, basesPerPixel: any, options: any): Promise<any[]>;
7
- }
8
- export default JasparSource;
@@ -1,2 +0,0 @@
1
- import "./init-BCc7WBpx.mjs";
2
- import "./index-BY4pGSpV.mjs";