@jbrowse/react-linear-genome-view2 4.0.3 → 4.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.
- package/esm/createModel/createModel.d.ts +88 -16
- package/esm/createModel/createSessionModel.d.ts +44 -8
- package/esm/createViewState.d.ts +242 -44
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/package.json +20 -20
package/esm/createViewState.d.ts
CHANGED
|
@@ -268,11 +268,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
268
268
|
lastTrackDragY: undefined | number;
|
|
269
269
|
volatileError: unknown;
|
|
270
270
|
scaleFactor: number;
|
|
271
|
+
targetBpPerPx: number | undefined;
|
|
271
272
|
trackRefs: Record<string, HTMLDivElement>;
|
|
272
273
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
273
274
|
coarseTotalBp: number;
|
|
274
275
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
275
276
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
277
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
278
|
+
scalebarRefNameClickPending: boolean;
|
|
276
279
|
} & {
|
|
277
280
|
readonly pinnedTracks: any[];
|
|
278
281
|
readonly unpinnedTracks: any[];
|
|
@@ -326,6 +329,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
326
329
|
setShowCytobands(flag: boolean): void;
|
|
327
330
|
setWidth(newWidth: number): void;
|
|
328
331
|
setError(error: unknown): void;
|
|
332
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
333
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
329
334
|
setHideHeader(b: boolean): void;
|
|
330
335
|
setHideHeaderOverview(b: boolean): void;
|
|
331
336
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -365,6 +370,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
365
370
|
setDraggingTrackId(idx?: string): void;
|
|
366
371
|
setLastTrackDragY(y: number): void;
|
|
367
372
|
setScaleFactor(factor: number): void;
|
|
373
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
368
374
|
clearView(): void;
|
|
369
375
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
370
376
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -386,6 +392,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
386
392
|
readonly visibleLocStrings: string;
|
|
387
393
|
readonly coarseVisibleLocStrings: string;
|
|
388
394
|
readonly coarseTotalBpDisplayStr: string;
|
|
395
|
+
readonly effectiveBpPerPx: number;
|
|
396
|
+
readonly effectiveTotalBp: number;
|
|
397
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
389
398
|
} & {
|
|
390
399
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
391
400
|
} & {
|
|
@@ -397,8 +406,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
397
406
|
}): Promise<void>;
|
|
398
407
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
399
408
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
400
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
401
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
409
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
410
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
402
411
|
} & {
|
|
403
412
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
404
413
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -476,11 +485,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
476
485
|
lastTrackDragY: undefined | number;
|
|
477
486
|
volatileError: unknown;
|
|
478
487
|
scaleFactor: number;
|
|
488
|
+
targetBpPerPx: number | undefined;
|
|
479
489
|
trackRefs: Record<string, HTMLDivElement>;
|
|
480
490
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
481
491
|
coarseTotalBp: number;
|
|
482
492
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
483
493
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
494
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
495
|
+
scalebarRefNameClickPending: boolean;
|
|
484
496
|
} & {
|
|
485
497
|
readonly pinnedTracks: any[];
|
|
486
498
|
readonly unpinnedTracks: any[];
|
|
@@ -534,6 +546,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
534
546
|
setShowCytobands(flag: boolean): void;
|
|
535
547
|
setWidth(newWidth: number): void;
|
|
536
548
|
setError(error: unknown): void;
|
|
549
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
550
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
537
551
|
setHideHeader(b: boolean): void;
|
|
538
552
|
setHideHeaderOverview(b: boolean): void;
|
|
539
553
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -573,6 +587,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
573
587
|
setDraggingTrackId(idx?: string): void;
|
|
574
588
|
setLastTrackDragY(y: number): void;
|
|
575
589
|
setScaleFactor(factor: number): void;
|
|
590
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
576
591
|
clearView(): void;
|
|
577
592
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
578
593
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -594,6 +609,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
594
609
|
readonly visibleLocStrings: string;
|
|
595
610
|
readonly coarseVisibleLocStrings: string;
|
|
596
611
|
readonly coarseTotalBpDisplayStr: string;
|
|
612
|
+
readonly effectiveBpPerPx: number;
|
|
613
|
+
readonly effectiveTotalBp: number;
|
|
614
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
597
615
|
} & {
|
|
598
616
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
599
617
|
} & {
|
|
@@ -605,8 +623,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
605
623
|
}): Promise<void>;
|
|
606
624
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
607
625
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
608
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
609
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
626
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
627
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
610
628
|
} & {
|
|
611
629
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
612
630
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -2481,11 +2499,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
2481
2499
|
lastTrackDragY: undefined | number;
|
|
2482
2500
|
volatileError: unknown;
|
|
2483
2501
|
scaleFactor: number;
|
|
2502
|
+
targetBpPerPx: number | undefined;
|
|
2484
2503
|
trackRefs: Record<string, HTMLDivElement>;
|
|
2485
2504
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
2486
2505
|
coarseTotalBp: number;
|
|
2487
2506
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2488
2507
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2508
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
2509
|
+
scalebarRefNameClickPending: boolean;
|
|
2489
2510
|
} & {
|
|
2490
2511
|
readonly pinnedTracks: any[];
|
|
2491
2512
|
readonly unpinnedTracks: any[];
|
|
@@ -2539,6 +2560,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
2539
2560
|
setShowCytobands(flag: boolean): void;
|
|
2540
2561
|
setWidth(newWidth: number): void;
|
|
2541
2562
|
setError(error: unknown): void;
|
|
2563
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
2564
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
2542
2565
|
setHideHeader(b: boolean): void;
|
|
2543
2566
|
setHideHeaderOverview(b: boolean): void;
|
|
2544
2567
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -2578,6 +2601,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
2578
2601
|
setDraggingTrackId(idx?: string): void;
|
|
2579
2602
|
setLastTrackDragY(y: number): void;
|
|
2580
2603
|
setScaleFactor(factor: number): void;
|
|
2604
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
2581
2605
|
clearView(): void;
|
|
2582
2606
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
2583
2607
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -2599,6 +2623,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
2599
2623
|
readonly visibleLocStrings: string;
|
|
2600
2624
|
readonly coarseVisibleLocStrings: string;
|
|
2601
2625
|
readonly coarseTotalBpDisplayStr: string;
|
|
2626
|
+
readonly effectiveBpPerPx: number;
|
|
2627
|
+
readonly effectiveTotalBp: number;
|
|
2628
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
2602
2629
|
} & {
|
|
2603
2630
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
2604
2631
|
} & {
|
|
@@ -2610,8 +2637,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
2610
2637
|
}): Promise<void>;
|
|
2611
2638
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
2612
2639
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
2613
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
2614
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
2640
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
2641
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
2615
2642
|
} & {
|
|
2616
2643
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
2617
2644
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -2689,11 +2716,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
2689
2716
|
lastTrackDragY: undefined | number;
|
|
2690
2717
|
volatileError: unknown;
|
|
2691
2718
|
scaleFactor: number;
|
|
2719
|
+
targetBpPerPx: number | undefined;
|
|
2692
2720
|
trackRefs: Record<string, HTMLDivElement>;
|
|
2693
2721
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
2694
2722
|
coarseTotalBp: number;
|
|
2695
2723
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2696
2724
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2725
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
2726
|
+
scalebarRefNameClickPending: boolean;
|
|
2697
2727
|
} & {
|
|
2698
2728
|
readonly pinnedTracks: any[];
|
|
2699
2729
|
readonly unpinnedTracks: any[];
|
|
@@ -2747,6 +2777,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
2747
2777
|
setShowCytobands(flag: boolean): void;
|
|
2748
2778
|
setWidth(newWidth: number): void;
|
|
2749
2779
|
setError(error: unknown): void;
|
|
2780
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
2781
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
2750
2782
|
setHideHeader(b: boolean): void;
|
|
2751
2783
|
setHideHeaderOverview(b: boolean): void;
|
|
2752
2784
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -2786,6 +2818,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
2786
2818
|
setDraggingTrackId(idx?: string): void;
|
|
2787
2819
|
setLastTrackDragY(y: number): void;
|
|
2788
2820
|
setScaleFactor(factor: number): void;
|
|
2821
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
2789
2822
|
clearView(): void;
|
|
2790
2823
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
2791
2824
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -2807,6 +2840,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
2807
2840
|
readonly visibleLocStrings: string;
|
|
2808
2841
|
readonly coarseVisibleLocStrings: string;
|
|
2809
2842
|
readonly coarseTotalBpDisplayStr: string;
|
|
2843
|
+
readonly effectiveBpPerPx: number;
|
|
2844
|
+
readonly effectiveTotalBp: number;
|
|
2845
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
2810
2846
|
} & {
|
|
2811
2847
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
2812
2848
|
} & {
|
|
@@ -2818,8 +2854,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
2818
2854
|
}): Promise<void>;
|
|
2819
2855
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
2820
2856
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
2821
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
2822
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
2857
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
2858
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
2823
2859
|
} & {
|
|
2824
2860
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
2825
2861
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -2947,11 +2983,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
2947
2983
|
lastTrackDragY: undefined | number;
|
|
2948
2984
|
volatileError: unknown;
|
|
2949
2985
|
scaleFactor: number;
|
|
2986
|
+
targetBpPerPx: number | undefined;
|
|
2950
2987
|
trackRefs: Record<string, HTMLDivElement>;
|
|
2951
2988
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
2952
2989
|
coarseTotalBp: number;
|
|
2953
2990
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2954
2991
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2992
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
2993
|
+
scalebarRefNameClickPending: boolean;
|
|
2955
2994
|
} & {
|
|
2956
2995
|
readonly pinnedTracks: any[];
|
|
2957
2996
|
readonly unpinnedTracks: any[];
|
|
@@ -3005,6 +3044,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
3005
3044
|
setShowCytobands(flag: boolean): void;
|
|
3006
3045
|
setWidth(newWidth: number): void;
|
|
3007
3046
|
setError(error: unknown): void;
|
|
3047
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
3048
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
3008
3049
|
setHideHeader(b: boolean): void;
|
|
3009
3050
|
setHideHeaderOverview(b: boolean): void;
|
|
3010
3051
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -3044,6 +3085,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
3044
3085
|
setDraggingTrackId(idx?: string): void;
|
|
3045
3086
|
setLastTrackDragY(y: number): void;
|
|
3046
3087
|
setScaleFactor(factor: number): void;
|
|
3088
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
3047
3089
|
clearView(): void;
|
|
3048
3090
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
3049
3091
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -3065,6 +3107,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
3065
3107
|
readonly visibleLocStrings: string;
|
|
3066
3108
|
readonly coarseVisibleLocStrings: string;
|
|
3067
3109
|
readonly coarseTotalBpDisplayStr: string;
|
|
3110
|
+
readonly effectiveBpPerPx: number;
|
|
3111
|
+
readonly effectiveTotalBp: number;
|
|
3112
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
3068
3113
|
} & {
|
|
3069
3114
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
3070
3115
|
} & {
|
|
@@ -3076,8 +3121,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
3076
3121
|
}): Promise<void>;
|
|
3077
3122
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
3078
3123
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
3079
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
3080
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
3124
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
3125
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
3081
3126
|
} & {
|
|
3082
3127
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
3083
3128
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -3155,11 +3200,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
3155
3200
|
lastTrackDragY: undefined | number;
|
|
3156
3201
|
volatileError: unknown;
|
|
3157
3202
|
scaleFactor: number;
|
|
3203
|
+
targetBpPerPx: number | undefined;
|
|
3158
3204
|
trackRefs: Record<string, HTMLDivElement>;
|
|
3159
3205
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
3160
3206
|
coarseTotalBp: number;
|
|
3161
3207
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
3162
3208
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
3209
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
3210
|
+
scalebarRefNameClickPending: boolean;
|
|
3163
3211
|
} & {
|
|
3164
3212
|
readonly pinnedTracks: any[];
|
|
3165
3213
|
readonly unpinnedTracks: any[];
|
|
@@ -3213,6 +3261,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
3213
3261
|
setShowCytobands(flag: boolean): void;
|
|
3214
3262
|
setWidth(newWidth: number): void;
|
|
3215
3263
|
setError(error: unknown): void;
|
|
3264
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
3265
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
3216
3266
|
setHideHeader(b: boolean): void;
|
|
3217
3267
|
setHideHeaderOverview(b: boolean): void;
|
|
3218
3268
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -3252,6 +3302,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
3252
3302
|
setDraggingTrackId(idx?: string): void;
|
|
3253
3303
|
setLastTrackDragY(y: number): void;
|
|
3254
3304
|
setScaleFactor(factor: number): void;
|
|
3305
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
3255
3306
|
clearView(): void;
|
|
3256
3307
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
3257
3308
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -3273,6 +3324,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
3273
3324
|
readonly visibleLocStrings: string;
|
|
3274
3325
|
readonly coarseVisibleLocStrings: string;
|
|
3275
3326
|
readonly coarseTotalBpDisplayStr: string;
|
|
3327
|
+
readonly effectiveBpPerPx: number;
|
|
3328
|
+
readonly effectiveTotalBp: number;
|
|
3329
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
3276
3330
|
} & {
|
|
3277
3331
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
3278
3332
|
} & {
|
|
@@ -3284,8 +3338,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
3284
3338
|
}): Promise<void>;
|
|
3285
3339
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
3286
3340
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
3287
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
3288
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
3341
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
3342
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
3289
3343
|
} & {
|
|
3290
3344
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
3291
3345
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -5180,11 +5234,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5180
5234
|
lastTrackDragY: undefined | number;
|
|
5181
5235
|
volatileError: unknown;
|
|
5182
5236
|
scaleFactor: number;
|
|
5237
|
+
targetBpPerPx: number | undefined;
|
|
5183
5238
|
trackRefs: Record<string, HTMLDivElement>;
|
|
5184
5239
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
5185
5240
|
coarseTotalBp: number;
|
|
5186
5241
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5187
5242
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5243
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
5244
|
+
scalebarRefNameClickPending: boolean;
|
|
5188
5245
|
} & {
|
|
5189
5246
|
readonly pinnedTracks: any[];
|
|
5190
5247
|
readonly unpinnedTracks: any[];
|
|
@@ -5238,6 +5295,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5238
5295
|
setShowCytobands(flag: boolean): void;
|
|
5239
5296
|
setWidth(newWidth: number): void;
|
|
5240
5297
|
setError(error: unknown): void;
|
|
5298
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
5299
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
5241
5300
|
setHideHeader(b: boolean): void;
|
|
5242
5301
|
setHideHeaderOverview(b: boolean): void;
|
|
5243
5302
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -5277,6 +5336,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5277
5336
|
setDraggingTrackId(idx?: string): void;
|
|
5278
5337
|
setLastTrackDragY(y: number): void;
|
|
5279
5338
|
setScaleFactor(factor: number): void;
|
|
5339
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
5280
5340
|
clearView(): void;
|
|
5281
5341
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
5282
5342
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -5298,6 +5358,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5298
5358
|
readonly visibleLocStrings: string;
|
|
5299
5359
|
readonly coarseVisibleLocStrings: string;
|
|
5300
5360
|
readonly coarseTotalBpDisplayStr: string;
|
|
5361
|
+
readonly effectiveBpPerPx: number;
|
|
5362
|
+
readonly effectiveTotalBp: number;
|
|
5363
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
5301
5364
|
} & {
|
|
5302
5365
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
5303
5366
|
} & {
|
|
@@ -5309,8 +5372,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5309
5372
|
}): Promise<void>;
|
|
5310
5373
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
5311
5374
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
5312
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
5313
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
5375
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
5376
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
5314
5377
|
} & {
|
|
5315
5378
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
5316
5379
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -5388,11 +5451,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5388
5451
|
lastTrackDragY: undefined | number;
|
|
5389
5452
|
volatileError: unknown;
|
|
5390
5453
|
scaleFactor: number;
|
|
5454
|
+
targetBpPerPx: number | undefined;
|
|
5391
5455
|
trackRefs: Record<string, HTMLDivElement>;
|
|
5392
5456
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
5393
5457
|
coarseTotalBp: number;
|
|
5394
5458
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5395
5459
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5460
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
5461
|
+
scalebarRefNameClickPending: boolean;
|
|
5396
5462
|
} & {
|
|
5397
5463
|
readonly pinnedTracks: any[];
|
|
5398
5464
|
readonly unpinnedTracks: any[];
|
|
@@ -5446,6 +5512,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5446
5512
|
setShowCytobands(flag: boolean): void;
|
|
5447
5513
|
setWidth(newWidth: number): void;
|
|
5448
5514
|
setError(error: unknown): void;
|
|
5515
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
5516
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
5449
5517
|
setHideHeader(b: boolean): void;
|
|
5450
5518
|
setHideHeaderOverview(b: boolean): void;
|
|
5451
5519
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -5485,6 +5553,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5485
5553
|
setDraggingTrackId(idx?: string): void;
|
|
5486
5554
|
setLastTrackDragY(y: number): void;
|
|
5487
5555
|
setScaleFactor(factor: number): void;
|
|
5556
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
5488
5557
|
clearView(): void;
|
|
5489
5558
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
5490
5559
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -5506,6 +5575,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5506
5575
|
readonly visibleLocStrings: string;
|
|
5507
5576
|
readonly coarseVisibleLocStrings: string;
|
|
5508
5577
|
readonly coarseTotalBpDisplayStr: string;
|
|
5578
|
+
readonly effectiveBpPerPx: number;
|
|
5579
|
+
readonly effectiveTotalBp: number;
|
|
5580
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
5509
5581
|
} & {
|
|
5510
5582
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
5511
5583
|
} & {
|
|
@@ -5517,8 +5589,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5517
5589
|
}): Promise<void>;
|
|
5518
5590
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
5519
5591
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
5520
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
5521
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
5592
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
5593
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
5522
5594
|
} & {
|
|
5523
5595
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
5524
5596
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -5646,11 +5718,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5646
5718
|
lastTrackDragY: undefined | number;
|
|
5647
5719
|
volatileError: unknown;
|
|
5648
5720
|
scaleFactor: number;
|
|
5721
|
+
targetBpPerPx: number | undefined;
|
|
5649
5722
|
trackRefs: Record<string, HTMLDivElement>;
|
|
5650
5723
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
5651
5724
|
coarseTotalBp: number;
|
|
5652
5725
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5653
5726
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5727
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
5728
|
+
scalebarRefNameClickPending: boolean;
|
|
5654
5729
|
} & {
|
|
5655
5730
|
readonly pinnedTracks: any[];
|
|
5656
5731
|
readonly unpinnedTracks: any[];
|
|
@@ -5704,6 +5779,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5704
5779
|
setShowCytobands(flag: boolean): void;
|
|
5705
5780
|
setWidth(newWidth: number): void;
|
|
5706
5781
|
setError(error: unknown): void;
|
|
5782
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
5783
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
5707
5784
|
setHideHeader(b: boolean): void;
|
|
5708
5785
|
setHideHeaderOverview(b: boolean): void;
|
|
5709
5786
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -5743,6 +5820,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5743
5820
|
setDraggingTrackId(idx?: string): void;
|
|
5744
5821
|
setLastTrackDragY(y: number): void;
|
|
5745
5822
|
setScaleFactor(factor: number): void;
|
|
5823
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
5746
5824
|
clearView(): void;
|
|
5747
5825
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
5748
5826
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -5764,6 +5842,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5764
5842
|
readonly visibleLocStrings: string;
|
|
5765
5843
|
readonly coarseVisibleLocStrings: string;
|
|
5766
5844
|
readonly coarseTotalBpDisplayStr: string;
|
|
5845
|
+
readonly effectiveBpPerPx: number;
|
|
5846
|
+
readonly effectiveTotalBp: number;
|
|
5847
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
5767
5848
|
} & {
|
|
5768
5849
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
5769
5850
|
} & {
|
|
@@ -5775,8 +5856,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5775
5856
|
}): Promise<void>;
|
|
5776
5857
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
5777
5858
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
5778
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
5779
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
5859
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
5860
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
5780
5861
|
} & {
|
|
5781
5862
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
5782
5863
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -5854,11 +5935,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5854
5935
|
lastTrackDragY: undefined | number;
|
|
5855
5936
|
volatileError: unknown;
|
|
5856
5937
|
scaleFactor: number;
|
|
5938
|
+
targetBpPerPx: number | undefined;
|
|
5857
5939
|
trackRefs: Record<string, HTMLDivElement>;
|
|
5858
5940
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
5859
5941
|
coarseTotalBp: number;
|
|
5860
5942
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5861
5943
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5944
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
5945
|
+
scalebarRefNameClickPending: boolean;
|
|
5862
5946
|
} & {
|
|
5863
5947
|
readonly pinnedTracks: any[];
|
|
5864
5948
|
readonly unpinnedTracks: any[];
|
|
@@ -5912,6 +5996,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5912
5996
|
setShowCytobands(flag: boolean): void;
|
|
5913
5997
|
setWidth(newWidth: number): void;
|
|
5914
5998
|
setError(error: unknown): void;
|
|
5999
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
6000
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
5915
6001
|
setHideHeader(b: boolean): void;
|
|
5916
6002
|
setHideHeaderOverview(b: boolean): void;
|
|
5917
6003
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -5951,6 +6037,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5951
6037
|
setDraggingTrackId(idx?: string): void;
|
|
5952
6038
|
setLastTrackDragY(y: number): void;
|
|
5953
6039
|
setScaleFactor(factor: number): void;
|
|
6040
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
5954
6041
|
clearView(): void;
|
|
5955
6042
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
5956
6043
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -5972,6 +6059,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5972
6059
|
readonly visibleLocStrings: string;
|
|
5973
6060
|
readonly coarseVisibleLocStrings: string;
|
|
5974
6061
|
readonly coarseTotalBpDisplayStr: string;
|
|
6062
|
+
readonly effectiveBpPerPx: number;
|
|
6063
|
+
readonly effectiveTotalBp: number;
|
|
6064
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
5975
6065
|
} & {
|
|
5976
6066
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
5977
6067
|
} & {
|
|
@@ -5983,8 +6073,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
5983
6073
|
}): Promise<void>;
|
|
5984
6074
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
5985
6075
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
5986
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
5987
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
6076
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
6077
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
5988
6078
|
} & {
|
|
5989
6079
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
5990
6080
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -9013,11 +9103,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9013
9103
|
lastTrackDragY: undefined | number;
|
|
9014
9104
|
volatileError: unknown;
|
|
9015
9105
|
scaleFactor: number;
|
|
9106
|
+
targetBpPerPx: number | undefined;
|
|
9016
9107
|
trackRefs: Record<string, HTMLDivElement>;
|
|
9017
9108
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
9018
9109
|
coarseTotalBp: number;
|
|
9019
9110
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
9020
9111
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
9112
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
9113
|
+
scalebarRefNameClickPending: boolean;
|
|
9021
9114
|
} & {
|
|
9022
9115
|
readonly pinnedTracks: any[];
|
|
9023
9116
|
readonly unpinnedTracks: any[];
|
|
@@ -9071,6 +9164,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9071
9164
|
setShowCytobands(flag: boolean): void;
|
|
9072
9165
|
setWidth(newWidth: number): void;
|
|
9073
9166
|
setError(error: unknown): void;
|
|
9167
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
9168
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
9074
9169
|
setHideHeader(b: boolean): void;
|
|
9075
9170
|
setHideHeaderOverview(b: boolean): void;
|
|
9076
9171
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -9110,6 +9205,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9110
9205
|
setDraggingTrackId(idx?: string): void;
|
|
9111
9206
|
setLastTrackDragY(y: number): void;
|
|
9112
9207
|
setScaleFactor(factor: number): void;
|
|
9208
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
9113
9209
|
clearView(): void;
|
|
9114
9210
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
9115
9211
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -9131,6 +9227,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9131
9227
|
readonly visibleLocStrings: string;
|
|
9132
9228
|
readonly coarseVisibleLocStrings: string;
|
|
9133
9229
|
readonly coarseTotalBpDisplayStr: string;
|
|
9230
|
+
readonly effectiveBpPerPx: number;
|
|
9231
|
+
readonly effectiveTotalBp: number;
|
|
9232
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
9134
9233
|
} & {
|
|
9135
9234
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
9136
9235
|
} & {
|
|
@@ -9142,8 +9241,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9142
9241
|
}): Promise<void>;
|
|
9143
9242
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
9144
9243
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
9145
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
9146
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
9244
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
9245
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
9147
9246
|
} & {
|
|
9148
9247
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
9149
9248
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -9221,11 +9320,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9221
9320
|
lastTrackDragY: undefined | number;
|
|
9222
9321
|
volatileError: unknown;
|
|
9223
9322
|
scaleFactor: number;
|
|
9323
|
+
targetBpPerPx: number | undefined;
|
|
9224
9324
|
trackRefs: Record<string, HTMLDivElement>;
|
|
9225
9325
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
9226
9326
|
coarseTotalBp: number;
|
|
9227
9327
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
9228
9328
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
9329
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
9330
|
+
scalebarRefNameClickPending: boolean;
|
|
9229
9331
|
} & {
|
|
9230
9332
|
readonly pinnedTracks: any[];
|
|
9231
9333
|
readonly unpinnedTracks: any[];
|
|
@@ -9279,6 +9381,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9279
9381
|
setShowCytobands(flag: boolean): void;
|
|
9280
9382
|
setWidth(newWidth: number): void;
|
|
9281
9383
|
setError(error: unknown): void;
|
|
9384
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
9385
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
9282
9386
|
setHideHeader(b: boolean): void;
|
|
9283
9387
|
setHideHeaderOverview(b: boolean): void;
|
|
9284
9388
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -9318,6 +9422,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9318
9422
|
setDraggingTrackId(idx?: string): void;
|
|
9319
9423
|
setLastTrackDragY(y: number): void;
|
|
9320
9424
|
setScaleFactor(factor: number): void;
|
|
9425
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
9321
9426
|
clearView(): void;
|
|
9322
9427
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
9323
9428
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -9339,6 +9444,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9339
9444
|
readonly visibleLocStrings: string;
|
|
9340
9445
|
readonly coarseVisibleLocStrings: string;
|
|
9341
9446
|
readonly coarseTotalBpDisplayStr: string;
|
|
9447
|
+
readonly effectiveBpPerPx: number;
|
|
9448
|
+
readonly effectiveTotalBp: number;
|
|
9449
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
9342
9450
|
} & {
|
|
9343
9451
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
9344
9452
|
} & {
|
|
@@ -9350,8 +9458,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9350
9458
|
}): Promise<void>;
|
|
9351
9459
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
9352
9460
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
9353
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
9354
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
9461
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
9462
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
9355
9463
|
} & {
|
|
9356
9464
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
9357
9465
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -9479,11 +9587,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9479
9587
|
lastTrackDragY: undefined | number;
|
|
9480
9588
|
volatileError: unknown;
|
|
9481
9589
|
scaleFactor: number;
|
|
9590
|
+
targetBpPerPx: number | undefined;
|
|
9482
9591
|
trackRefs: Record<string, HTMLDivElement>;
|
|
9483
9592
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
9484
9593
|
coarseTotalBp: number;
|
|
9485
9594
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
9486
9595
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
9596
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
9597
|
+
scalebarRefNameClickPending: boolean;
|
|
9487
9598
|
} & {
|
|
9488
9599
|
readonly pinnedTracks: any[];
|
|
9489
9600
|
readonly unpinnedTracks: any[];
|
|
@@ -9537,6 +9648,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9537
9648
|
setShowCytobands(flag: boolean): void;
|
|
9538
9649
|
setWidth(newWidth: number): void;
|
|
9539
9650
|
setError(error: unknown): void;
|
|
9651
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
9652
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
9540
9653
|
setHideHeader(b: boolean): void;
|
|
9541
9654
|
setHideHeaderOverview(b: boolean): void;
|
|
9542
9655
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -9576,6 +9689,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9576
9689
|
setDraggingTrackId(idx?: string): void;
|
|
9577
9690
|
setLastTrackDragY(y: number): void;
|
|
9578
9691
|
setScaleFactor(factor: number): void;
|
|
9692
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
9579
9693
|
clearView(): void;
|
|
9580
9694
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
9581
9695
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -9597,6 +9711,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9597
9711
|
readonly visibleLocStrings: string;
|
|
9598
9712
|
readonly coarseVisibleLocStrings: string;
|
|
9599
9713
|
readonly coarseTotalBpDisplayStr: string;
|
|
9714
|
+
readonly effectiveBpPerPx: number;
|
|
9715
|
+
readonly effectiveTotalBp: number;
|
|
9716
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
9600
9717
|
} & {
|
|
9601
9718
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
9602
9719
|
} & {
|
|
@@ -9608,8 +9725,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9608
9725
|
}): Promise<void>;
|
|
9609
9726
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
9610
9727
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
9611
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
9612
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
9728
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
9729
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
9613
9730
|
} & {
|
|
9614
9731
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
9615
9732
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -9687,11 +9804,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9687
9804
|
lastTrackDragY: undefined | number;
|
|
9688
9805
|
volatileError: unknown;
|
|
9689
9806
|
scaleFactor: number;
|
|
9807
|
+
targetBpPerPx: number | undefined;
|
|
9690
9808
|
trackRefs: Record<string, HTMLDivElement>;
|
|
9691
9809
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
9692
9810
|
coarseTotalBp: number;
|
|
9693
9811
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
9694
9812
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
9813
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
9814
|
+
scalebarRefNameClickPending: boolean;
|
|
9695
9815
|
} & {
|
|
9696
9816
|
readonly pinnedTracks: any[];
|
|
9697
9817
|
readonly unpinnedTracks: any[];
|
|
@@ -9745,6 +9865,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9745
9865
|
setShowCytobands(flag: boolean): void;
|
|
9746
9866
|
setWidth(newWidth: number): void;
|
|
9747
9867
|
setError(error: unknown): void;
|
|
9868
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
9869
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
9748
9870
|
setHideHeader(b: boolean): void;
|
|
9749
9871
|
setHideHeaderOverview(b: boolean): void;
|
|
9750
9872
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -9784,6 +9906,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9784
9906
|
setDraggingTrackId(idx?: string): void;
|
|
9785
9907
|
setLastTrackDragY(y: number): void;
|
|
9786
9908
|
setScaleFactor(factor: number): void;
|
|
9909
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
9787
9910
|
clearView(): void;
|
|
9788
9911
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
9789
9912
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -9805,6 +9928,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9805
9928
|
readonly visibleLocStrings: string;
|
|
9806
9929
|
readonly coarseVisibleLocStrings: string;
|
|
9807
9930
|
readonly coarseTotalBpDisplayStr: string;
|
|
9931
|
+
readonly effectiveBpPerPx: number;
|
|
9932
|
+
readonly effectiveTotalBp: number;
|
|
9933
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
9808
9934
|
} & {
|
|
9809
9935
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
9810
9936
|
} & {
|
|
@@ -9816,8 +9942,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
9816
9942
|
}): Promise<void>;
|
|
9817
9943
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
9818
9944
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
9819
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
9820
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
9945
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
9946
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
9821
9947
|
} & {
|
|
9822
9948
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
9823
9949
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -12021,11 +12147,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12021
12147
|
lastTrackDragY: undefined | number;
|
|
12022
12148
|
volatileError: unknown;
|
|
12023
12149
|
scaleFactor: number;
|
|
12150
|
+
targetBpPerPx: number | undefined;
|
|
12024
12151
|
trackRefs: Record<string, HTMLDivElement>;
|
|
12025
12152
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
12026
12153
|
coarseTotalBp: number;
|
|
12027
12154
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
12028
12155
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
12156
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
12157
|
+
scalebarRefNameClickPending: boolean;
|
|
12029
12158
|
} & {
|
|
12030
12159
|
readonly pinnedTracks: any[];
|
|
12031
12160
|
readonly unpinnedTracks: any[];
|
|
@@ -12079,6 +12208,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12079
12208
|
setShowCytobands(flag: boolean): void;
|
|
12080
12209
|
setWidth(newWidth: number): void;
|
|
12081
12210
|
setError(error: unknown): void;
|
|
12211
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
12212
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
12082
12213
|
setHideHeader(b: boolean): void;
|
|
12083
12214
|
setHideHeaderOverview(b: boolean): void;
|
|
12084
12215
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -12118,6 +12249,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12118
12249
|
setDraggingTrackId(idx?: string): void;
|
|
12119
12250
|
setLastTrackDragY(y: number): void;
|
|
12120
12251
|
setScaleFactor(factor: number): void;
|
|
12252
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
12121
12253
|
clearView(): void;
|
|
12122
12254
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
12123
12255
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -12139,6 +12271,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12139
12271
|
readonly visibleLocStrings: string;
|
|
12140
12272
|
readonly coarseVisibleLocStrings: string;
|
|
12141
12273
|
readonly coarseTotalBpDisplayStr: string;
|
|
12274
|
+
readonly effectiveBpPerPx: number;
|
|
12275
|
+
readonly effectiveTotalBp: number;
|
|
12276
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
12142
12277
|
} & {
|
|
12143
12278
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
12144
12279
|
} & {
|
|
@@ -12150,8 +12285,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12150
12285
|
}): Promise<void>;
|
|
12151
12286
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
12152
12287
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
12153
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
12154
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
12288
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
12289
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
12155
12290
|
} & {
|
|
12156
12291
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
12157
12292
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -12229,11 +12364,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12229
12364
|
lastTrackDragY: undefined | number;
|
|
12230
12365
|
volatileError: unknown;
|
|
12231
12366
|
scaleFactor: number;
|
|
12367
|
+
targetBpPerPx: number | undefined;
|
|
12232
12368
|
trackRefs: Record<string, HTMLDivElement>;
|
|
12233
12369
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
12234
12370
|
coarseTotalBp: number;
|
|
12235
12371
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
12236
12372
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
12373
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
12374
|
+
scalebarRefNameClickPending: boolean;
|
|
12237
12375
|
} & {
|
|
12238
12376
|
readonly pinnedTracks: any[];
|
|
12239
12377
|
readonly unpinnedTracks: any[];
|
|
@@ -12287,6 +12425,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12287
12425
|
setShowCytobands(flag: boolean): void;
|
|
12288
12426
|
setWidth(newWidth: number): void;
|
|
12289
12427
|
setError(error: unknown): void;
|
|
12428
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
12429
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
12290
12430
|
setHideHeader(b: boolean): void;
|
|
12291
12431
|
setHideHeaderOverview(b: boolean): void;
|
|
12292
12432
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -12326,6 +12466,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12326
12466
|
setDraggingTrackId(idx?: string): void;
|
|
12327
12467
|
setLastTrackDragY(y: number): void;
|
|
12328
12468
|
setScaleFactor(factor: number): void;
|
|
12469
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
12329
12470
|
clearView(): void;
|
|
12330
12471
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
12331
12472
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -12347,6 +12488,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12347
12488
|
readonly visibleLocStrings: string;
|
|
12348
12489
|
readonly coarseVisibleLocStrings: string;
|
|
12349
12490
|
readonly coarseTotalBpDisplayStr: string;
|
|
12491
|
+
readonly effectiveBpPerPx: number;
|
|
12492
|
+
readonly effectiveTotalBp: number;
|
|
12493
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
12350
12494
|
} & {
|
|
12351
12495
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
12352
12496
|
} & {
|
|
@@ -12358,8 +12502,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12358
12502
|
}): Promise<void>;
|
|
12359
12503
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
12360
12504
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
12361
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
12362
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
12505
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
12506
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
12363
12507
|
} & {
|
|
12364
12508
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
12365
12509
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -12487,11 +12631,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12487
12631
|
lastTrackDragY: undefined | number;
|
|
12488
12632
|
volatileError: unknown;
|
|
12489
12633
|
scaleFactor: number;
|
|
12634
|
+
targetBpPerPx: number | undefined;
|
|
12490
12635
|
trackRefs: Record<string, HTMLDivElement>;
|
|
12491
12636
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
12492
12637
|
coarseTotalBp: number;
|
|
12493
12638
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
12494
12639
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
12640
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
12641
|
+
scalebarRefNameClickPending: boolean;
|
|
12495
12642
|
} & {
|
|
12496
12643
|
readonly pinnedTracks: any[];
|
|
12497
12644
|
readonly unpinnedTracks: any[];
|
|
@@ -12545,6 +12692,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12545
12692
|
setShowCytobands(flag: boolean): void;
|
|
12546
12693
|
setWidth(newWidth: number): void;
|
|
12547
12694
|
setError(error: unknown): void;
|
|
12695
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
12696
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
12548
12697
|
setHideHeader(b: boolean): void;
|
|
12549
12698
|
setHideHeaderOverview(b: boolean): void;
|
|
12550
12699
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -12584,6 +12733,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12584
12733
|
setDraggingTrackId(idx?: string): void;
|
|
12585
12734
|
setLastTrackDragY(y: number): void;
|
|
12586
12735
|
setScaleFactor(factor: number): void;
|
|
12736
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
12587
12737
|
clearView(): void;
|
|
12588
12738
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
12589
12739
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -12605,6 +12755,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12605
12755
|
readonly visibleLocStrings: string;
|
|
12606
12756
|
readonly coarseVisibleLocStrings: string;
|
|
12607
12757
|
readonly coarseTotalBpDisplayStr: string;
|
|
12758
|
+
readonly effectiveBpPerPx: number;
|
|
12759
|
+
readonly effectiveTotalBp: number;
|
|
12760
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
12608
12761
|
} & {
|
|
12609
12762
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
12610
12763
|
} & {
|
|
@@ -12616,8 +12769,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12616
12769
|
}): Promise<void>;
|
|
12617
12770
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
12618
12771
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
12619
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
12620
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
12772
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
12773
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
12621
12774
|
} & {
|
|
12622
12775
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
12623
12776
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -12695,11 +12848,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12695
12848
|
lastTrackDragY: undefined | number;
|
|
12696
12849
|
volatileError: unknown;
|
|
12697
12850
|
scaleFactor: number;
|
|
12851
|
+
targetBpPerPx: number | undefined;
|
|
12698
12852
|
trackRefs: Record<string, HTMLDivElement>;
|
|
12699
12853
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
12700
12854
|
coarseTotalBp: number;
|
|
12701
12855
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
12702
12856
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
12857
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
12858
|
+
scalebarRefNameClickPending: boolean;
|
|
12703
12859
|
} & {
|
|
12704
12860
|
readonly pinnedTracks: any[];
|
|
12705
12861
|
readonly unpinnedTracks: any[];
|
|
@@ -12753,6 +12909,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12753
12909
|
setShowCytobands(flag: boolean): void;
|
|
12754
12910
|
setWidth(newWidth: number): void;
|
|
12755
12911
|
setError(error: unknown): void;
|
|
12912
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
12913
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
12756
12914
|
setHideHeader(b: boolean): void;
|
|
12757
12915
|
setHideHeaderOverview(b: boolean): void;
|
|
12758
12916
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -12792,6 +12950,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12792
12950
|
setDraggingTrackId(idx?: string): void;
|
|
12793
12951
|
setLastTrackDragY(y: number): void;
|
|
12794
12952
|
setScaleFactor(factor: number): void;
|
|
12953
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
12795
12954
|
clearView(): void;
|
|
12796
12955
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
12797
12956
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -12813,6 +12972,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12813
12972
|
readonly visibleLocStrings: string;
|
|
12814
12973
|
readonly coarseVisibleLocStrings: string;
|
|
12815
12974
|
readonly coarseTotalBpDisplayStr: string;
|
|
12975
|
+
readonly effectiveBpPerPx: number;
|
|
12976
|
+
readonly effectiveTotalBp: number;
|
|
12977
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
12816
12978
|
} & {
|
|
12817
12979
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
12818
12980
|
} & {
|
|
@@ -12824,8 +12986,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
12824
12986
|
}): Promise<void>;
|
|
12825
12987
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
12826
12988
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
12827
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
12828
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
12989
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
12990
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
12829
12991
|
} & {
|
|
12830
12992
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
12831
12993
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -15266,11 +15428,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15266
15428
|
lastTrackDragY: undefined | number;
|
|
15267
15429
|
volatileError: unknown;
|
|
15268
15430
|
scaleFactor: number;
|
|
15431
|
+
targetBpPerPx: number | undefined;
|
|
15269
15432
|
trackRefs: Record<string, HTMLDivElement>;
|
|
15270
15433
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
15271
15434
|
coarseTotalBp: number;
|
|
15272
15435
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
15273
15436
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
15437
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
15438
|
+
scalebarRefNameClickPending: boolean;
|
|
15274
15439
|
} & {
|
|
15275
15440
|
readonly pinnedTracks: any[];
|
|
15276
15441
|
readonly unpinnedTracks: any[];
|
|
@@ -15324,6 +15489,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15324
15489
|
setShowCytobands(flag: boolean): void;
|
|
15325
15490
|
setWidth(newWidth: number): void;
|
|
15326
15491
|
setError(error: unknown): void;
|
|
15492
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
15493
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
15327
15494
|
setHideHeader(b: boolean): void;
|
|
15328
15495
|
setHideHeaderOverview(b: boolean): void;
|
|
15329
15496
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -15363,6 +15530,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15363
15530
|
setDraggingTrackId(idx?: string): void;
|
|
15364
15531
|
setLastTrackDragY(y: number): void;
|
|
15365
15532
|
setScaleFactor(factor: number): void;
|
|
15533
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
15366
15534
|
clearView(): void;
|
|
15367
15535
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
15368
15536
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -15384,6 +15552,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15384
15552
|
readonly visibleLocStrings: string;
|
|
15385
15553
|
readonly coarseVisibleLocStrings: string;
|
|
15386
15554
|
readonly coarseTotalBpDisplayStr: string;
|
|
15555
|
+
readonly effectiveBpPerPx: number;
|
|
15556
|
+
readonly effectiveTotalBp: number;
|
|
15557
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
15387
15558
|
} & {
|
|
15388
15559
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
15389
15560
|
} & {
|
|
@@ -15395,8 +15566,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15395
15566
|
}): Promise<void>;
|
|
15396
15567
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
15397
15568
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
15398
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
15399
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
15569
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
15570
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
15400
15571
|
} & {
|
|
15401
15572
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
15402
15573
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -15474,11 +15645,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15474
15645
|
lastTrackDragY: undefined | number;
|
|
15475
15646
|
volatileError: unknown;
|
|
15476
15647
|
scaleFactor: number;
|
|
15648
|
+
targetBpPerPx: number | undefined;
|
|
15477
15649
|
trackRefs: Record<string, HTMLDivElement>;
|
|
15478
15650
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
15479
15651
|
coarseTotalBp: number;
|
|
15480
15652
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
15481
15653
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
15654
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
15655
|
+
scalebarRefNameClickPending: boolean;
|
|
15482
15656
|
} & {
|
|
15483
15657
|
readonly pinnedTracks: any[];
|
|
15484
15658
|
readonly unpinnedTracks: any[];
|
|
@@ -15532,6 +15706,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15532
15706
|
setShowCytobands(flag: boolean): void;
|
|
15533
15707
|
setWidth(newWidth: number): void;
|
|
15534
15708
|
setError(error: unknown): void;
|
|
15709
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
15710
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
15535
15711
|
setHideHeader(b: boolean): void;
|
|
15536
15712
|
setHideHeaderOverview(b: boolean): void;
|
|
15537
15713
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -15571,6 +15747,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15571
15747
|
setDraggingTrackId(idx?: string): void;
|
|
15572
15748
|
setLastTrackDragY(y: number): void;
|
|
15573
15749
|
setScaleFactor(factor: number): void;
|
|
15750
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
15574
15751
|
clearView(): void;
|
|
15575
15752
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
15576
15753
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -15592,6 +15769,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15592
15769
|
readonly visibleLocStrings: string;
|
|
15593
15770
|
readonly coarseVisibleLocStrings: string;
|
|
15594
15771
|
readonly coarseTotalBpDisplayStr: string;
|
|
15772
|
+
readonly effectiveBpPerPx: number;
|
|
15773
|
+
readonly effectiveTotalBp: number;
|
|
15774
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
15595
15775
|
} & {
|
|
15596
15776
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
15597
15777
|
} & {
|
|
@@ -15603,8 +15783,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15603
15783
|
}): Promise<void>;
|
|
15604
15784
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
15605
15785
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
15606
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
15607
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
15786
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
15787
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
15608
15788
|
} & {
|
|
15609
15789
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
15610
15790
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -15732,11 +15912,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15732
15912
|
lastTrackDragY: undefined | number;
|
|
15733
15913
|
volatileError: unknown;
|
|
15734
15914
|
scaleFactor: number;
|
|
15915
|
+
targetBpPerPx: number | undefined;
|
|
15735
15916
|
trackRefs: Record<string, HTMLDivElement>;
|
|
15736
15917
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
15737
15918
|
coarseTotalBp: number;
|
|
15738
15919
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
15739
15920
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
15921
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
15922
|
+
scalebarRefNameClickPending: boolean;
|
|
15740
15923
|
} & {
|
|
15741
15924
|
readonly pinnedTracks: any[];
|
|
15742
15925
|
readonly unpinnedTracks: any[];
|
|
@@ -15790,6 +15973,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15790
15973
|
setShowCytobands(flag: boolean): void;
|
|
15791
15974
|
setWidth(newWidth: number): void;
|
|
15792
15975
|
setError(error: unknown): void;
|
|
15976
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
15977
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
15793
15978
|
setHideHeader(b: boolean): void;
|
|
15794
15979
|
setHideHeaderOverview(b: boolean): void;
|
|
15795
15980
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -15829,6 +16014,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15829
16014
|
setDraggingTrackId(idx?: string): void;
|
|
15830
16015
|
setLastTrackDragY(y: number): void;
|
|
15831
16016
|
setScaleFactor(factor: number): void;
|
|
16017
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
15832
16018
|
clearView(): void;
|
|
15833
16019
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
15834
16020
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -15850,6 +16036,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15850
16036
|
readonly visibleLocStrings: string;
|
|
15851
16037
|
readonly coarseVisibleLocStrings: string;
|
|
15852
16038
|
readonly coarseTotalBpDisplayStr: string;
|
|
16039
|
+
readonly effectiveBpPerPx: number;
|
|
16040
|
+
readonly effectiveTotalBp: number;
|
|
16041
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
15853
16042
|
} & {
|
|
15854
16043
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
15855
16044
|
} & {
|
|
@@ -15861,8 +16050,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15861
16050
|
}): Promise<void>;
|
|
15862
16051
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
15863
16052
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
15864
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
15865
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
16053
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
16054
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
15866
16055
|
} & {
|
|
15867
16056
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
15868
16057
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -15940,11 +16129,14 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15940
16129
|
lastTrackDragY: undefined | number;
|
|
15941
16130
|
volatileError: unknown;
|
|
15942
16131
|
scaleFactor: number;
|
|
16132
|
+
targetBpPerPx: number | undefined;
|
|
15943
16133
|
trackRefs: Record<string, HTMLDivElement>;
|
|
15944
16134
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
15945
16135
|
coarseTotalBp: number;
|
|
15946
16136
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
15947
16137
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
16138
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
16139
|
+
scalebarRefNameClickPending: boolean;
|
|
15948
16140
|
} & {
|
|
15949
16141
|
readonly pinnedTracks: any[];
|
|
15950
16142
|
readonly unpinnedTracks: any[];
|
|
@@ -15998,6 +16190,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
15998
16190
|
setShowCytobands(flag: boolean): void;
|
|
15999
16191
|
setWidth(newWidth: number): void;
|
|
16000
16192
|
setError(error: unknown): void;
|
|
16193
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
16194
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
16001
16195
|
setHideHeader(b: boolean): void;
|
|
16002
16196
|
setHideHeaderOverview(b: boolean): void;
|
|
16003
16197
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -16037,6 +16231,7 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
16037
16231
|
setDraggingTrackId(idx?: string): void;
|
|
16038
16232
|
setLastTrackDragY(y: number): void;
|
|
16039
16233
|
setScaleFactor(factor: number): void;
|
|
16234
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
16040
16235
|
clearView(): void;
|
|
16041
16236
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
16042
16237
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -16058,6 +16253,9 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
16058
16253
|
readonly visibleLocStrings: string;
|
|
16059
16254
|
readonly coarseVisibleLocStrings: string;
|
|
16060
16255
|
readonly coarseTotalBpDisplayStr: string;
|
|
16256
|
+
readonly effectiveBpPerPx: number;
|
|
16257
|
+
readonly effectiveTotalBp: number;
|
|
16258
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
16061
16259
|
} & {
|
|
16062
16260
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
16063
16261
|
} & {
|
|
@@ -16069,8 +16267,8 @@ export default function createViewState(opts: ViewStateOptions): {
|
|
|
16069
16267
|
}): Promise<void>;
|
|
16070
16268
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
16071
16269
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
16072
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
16073
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
16270
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
16271
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
16074
16272
|
} & {
|
|
16075
16273
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
16076
16274
|
bpToPx({ refName, coord, regionNumber, }: {
|