@jbrowse/react-linear-genome-view2 4.0.2 → 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 +90 -18
- package/esm/createModel/createSessionModel.d.ts +45 -9
- package/esm/createViewState.d.ts +247 -49
- package/esm/version.d.ts +1 -1
- package/esm/version.js +1 -1
- package/package.json +20 -20
|
@@ -1841,7 +1841,7 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
1841
1841
|
trackId: string;
|
|
1842
1842
|
};
|
|
1843
1843
|
}[];
|
|
1844
|
-
|
|
1844
|
+
getTracksById(): Record<string, import("@jbrowse/core/configuration").AnyConfigurationModel>;
|
|
1845
1845
|
} & {
|
|
1846
1846
|
addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
|
|
1847
1847
|
deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
|
|
@@ -1903,11 +1903,14 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
1903
1903
|
lastTrackDragY: undefined | number;
|
|
1904
1904
|
volatileError: unknown;
|
|
1905
1905
|
scaleFactor: number;
|
|
1906
|
+
targetBpPerPx: number | undefined;
|
|
1906
1907
|
trackRefs: Record<string, HTMLDivElement>;
|
|
1907
1908
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
1908
1909
|
coarseTotalBp: number;
|
|
1909
1910
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
1910
1911
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
1912
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
1913
|
+
scalebarRefNameClickPending: boolean;
|
|
1911
1914
|
} & {
|
|
1912
1915
|
readonly pinnedTracks: any[];
|
|
1913
1916
|
readonly unpinnedTracks: any[];
|
|
@@ -1961,6 +1964,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
1961
1964
|
setShowCytobands(flag: boolean): void;
|
|
1962
1965
|
setWidth(newWidth: number): void;
|
|
1963
1966
|
setError(error: unknown): void;
|
|
1967
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
1968
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
1964
1969
|
setHideHeader(b: boolean): void;
|
|
1965
1970
|
setHideHeaderOverview(b: boolean): void;
|
|
1966
1971
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -2000,6 +2005,7 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2000
2005
|
setDraggingTrackId(idx?: string): void;
|
|
2001
2006
|
setLastTrackDragY(y: number): void;
|
|
2002
2007
|
setScaleFactor(factor: number): void;
|
|
2008
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
2003
2009
|
clearView(): void;
|
|
2004
2010
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
2005
2011
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -2021,6 +2027,9 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2021
2027
|
readonly visibleLocStrings: string;
|
|
2022
2028
|
readonly coarseVisibleLocStrings: string;
|
|
2023
2029
|
readonly coarseTotalBpDisplayStr: string;
|
|
2030
|
+
readonly effectiveBpPerPx: number;
|
|
2031
|
+
readonly effectiveTotalBp: number;
|
|
2032
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
2024
2033
|
} & {
|
|
2025
2034
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
2026
2035
|
} & {
|
|
@@ -2032,8 +2041,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2032
2041
|
}): Promise<void>;
|
|
2033
2042
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
2034
2043
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
2035
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
2036
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
2044
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
2045
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
2037
2046
|
} & {
|
|
2038
2047
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
2039
2048
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -2111,11 +2120,14 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2111
2120
|
lastTrackDragY: undefined | number;
|
|
2112
2121
|
volatileError: unknown;
|
|
2113
2122
|
scaleFactor: number;
|
|
2123
|
+
targetBpPerPx: number | undefined;
|
|
2114
2124
|
trackRefs: Record<string, HTMLDivElement>;
|
|
2115
2125
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
2116
2126
|
coarseTotalBp: number;
|
|
2117
2127
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2118
2128
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2129
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
2130
|
+
scalebarRefNameClickPending: boolean;
|
|
2119
2131
|
} & {
|
|
2120
2132
|
readonly pinnedTracks: any[];
|
|
2121
2133
|
readonly unpinnedTracks: any[];
|
|
@@ -2169,6 +2181,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2169
2181
|
setShowCytobands(flag: boolean): void;
|
|
2170
2182
|
setWidth(newWidth: number): void;
|
|
2171
2183
|
setError(error: unknown): void;
|
|
2184
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
2185
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
2172
2186
|
setHideHeader(b: boolean): void;
|
|
2173
2187
|
setHideHeaderOverview(b: boolean): void;
|
|
2174
2188
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -2208,6 +2222,7 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2208
2222
|
setDraggingTrackId(idx?: string): void;
|
|
2209
2223
|
setLastTrackDragY(y: number): void;
|
|
2210
2224
|
setScaleFactor(factor: number): void;
|
|
2225
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
2211
2226
|
clearView(): void;
|
|
2212
2227
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
2213
2228
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -2229,6 +2244,9 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2229
2244
|
readonly visibleLocStrings: string;
|
|
2230
2245
|
readonly coarseVisibleLocStrings: string;
|
|
2231
2246
|
readonly coarseTotalBpDisplayStr: string;
|
|
2247
|
+
readonly effectiveBpPerPx: number;
|
|
2248
|
+
readonly effectiveTotalBp: number;
|
|
2249
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
2232
2250
|
} & {
|
|
2233
2251
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
2234
2252
|
} & {
|
|
@@ -2240,8 +2258,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2240
2258
|
}): Promise<void>;
|
|
2241
2259
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
2242
2260
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
2243
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
2244
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
2261
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
2262
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
2245
2263
|
} & {
|
|
2246
2264
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
2247
2265
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -2369,11 +2387,14 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2369
2387
|
lastTrackDragY: undefined | number;
|
|
2370
2388
|
volatileError: unknown;
|
|
2371
2389
|
scaleFactor: number;
|
|
2390
|
+
targetBpPerPx: number | undefined;
|
|
2372
2391
|
trackRefs: Record<string, HTMLDivElement>;
|
|
2373
2392
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
2374
2393
|
coarseTotalBp: number;
|
|
2375
2394
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2376
2395
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2396
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
2397
|
+
scalebarRefNameClickPending: boolean;
|
|
2377
2398
|
} & {
|
|
2378
2399
|
readonly pinnedTracks: any[];
|
|
2379
2400
|
readonly unpinnedTracks: any[];
|
|
@@ -2427,6 +2448,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2427
2448
|
setShowCytobands(flag: boolean): void;
|
|
2428
2449
|
setWidth(newWidth: number): void;
|
|
2429
2450
|
setError(error: unknown): void;
|
|
2451
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
2452
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
2430
2453
|
setHideHeader(b: boolean): void;
|
|
2431
2454
|
setHideHeaderOverview(b: boolean): void;
|
|
2432
2455
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -2466,6 +2489,7 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2466
2489
|
setDraggingTrackId(idx?: string): void;
|
|
2467
2490
|
setLastTrackDragY(y: number): void;
|
|
2468
2491
|
setScaleFactor(factor: number): void;
|
|
2492
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
2469
2493
|
clearView(): void;
|
|
2470
2494
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
2471
2495
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -2487,6 +2511,9 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2487
2511
|
readonly visibleLocStrings: string;
|
|
2488
2512
|
readonly coarseVisibleLocStrings: string;
|
|
2489
2513
|
readonly coarseTotalBpDisplayStr: string;
|
|
2514
|
+
readonly effectiveBpPerPx: number;
|
|
2515
|
+
readonly effectiveTotalBp: number;
|
|
2516
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
2490
2517
|
} & {
|
|
2491
2518
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
2492
2519
|
} & {
|
|
@@ -2498,8 +2525,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2498
2525
|
}): Promise<void>;
|
|
2499
2526
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
2500
2527
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
2501
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
2502
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
2528
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
2529
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
2503
2530
|
} & {
|
|
2504
2531
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
2505
2532
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -2577,11 +2604,14 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2577
2604
|
lastTrackDragY: undefined | number;
|
|
2578
2605
|
volatileError: unknown;
|
|
2579
2606
|
scaleFactor: number;
|
|
2607
|
+
targetBpPerPx: number | undefined;
|
|
2580
2608
|
trackRefs: Record<string, HTMLDivElement>;
|
|
2581
2609
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
2582
2610
|
coarseTotalBp: number;
|
|
2583
2611
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2584
2612
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
2613
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
2614
|
+
scalebarRefNameClickPending: boolean;
|
|
2585
2615
|
} & {
|
|
2586
2616
|
readonly pinnedTracks: any[];
|
|
2587
2617
|
readonly unpinnedTracks: any[];
|
|
@@ -2635,6 +2665,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2635
2665
|
setShowCytobands(flag: boolean): void;
|
|
2636
2666
|
setWidth(newWidth: number): void;
|
|
2637
2667
|
setError(error: unknown): void;
|
|
2668
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
2669
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
2638
2670
|
setHideHeader(b: boolean): void;
|
|
2639
2671
|
setHideHeaderOverview(b: boolean): void;
|
|
2640
2672
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -2674,6 +2706,7 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2674
2706
|
setDraggingTrackId(idx?: string): void;
|
|
2675
2707
|
setLastTrackDragY(y: number): void;
|
|
2676
2708
|
setScaleFactor(factor: number): void;
|
|
2709
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
2677
2710
|
clearView(): void;
|
|
2678
2711
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
2679
2712
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -2695,6 +2728,9 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2695
2728
|
readonly visibleLocStrings: string;
|
|
2696
2729
|
readonly coarseVisibleLocStrings: string;
|
|
2697
2730
|
readonly coarseTotalBpDisplayStr: string;
|
|
2731
|
+
readonly effectiveBpPerPx: number;
|
|
2732
|
+
readonly effectiveTotalBp: number;
|
|
2733
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
2698
2734
|
} & {
|
|
2699
2735
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
2700
2736
|
} & {
|
|
@@ -2706,8 +2742,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
2706
2742
|
}): Promise<void>;
|
|
2707
2743
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
2708
2744
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
2709
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
2710
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
2745
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
2746
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
2711
2747
|
} & {
|
|
2712
2748
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
2713
2749
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -5086,7 +5122,7 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5086
5122
|
trackId: string;
|
|
5087
5123
|
};
|
|
5088
5124
|
}[];
|
|
5089
|
-
|
|
5125
|
+
getTracksById(): Record<string, import("@jbrowse/core/configuration").AnyConfigurationModel>;
|
|
5090
5126
|
} & {
|
|
5091
5127
|
addTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfiguration): any;
|
|
5092
5128
|
deleteTrackConf(trackConf: import("@jbrowse/core/configuration").AnyConfigurationModel): any;
|
|
@@ -5148,11 +5184,14 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5148
5184
|
lastTrackDragY: undefined | number;
|
|
5149
5185
|
volatileError: unknown;
|
|
5150
5186
|
scaleFactor: number;
|
|
5187
|
+
targetBpPerPx: number | undefined;
|
|
5151
5188
|
trackRefs: Record<string, HTMLDivElement>;
|
|
5152
5189
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
5153
5190
|
coarseTotalBp: number;
|
|
5154
5191
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5155
5192
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5193
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
5194
|
+
scalebarRefNameClickPending: boolean;
|
|
5156
5195
|
} & {
|
|
5157
5196
|
readonly pinnedTracks: any[];
|
|
5158
5197
|
readonly unpinnedTracks: any[];
|
|
@@ -5206,6 +5245,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5206
5245
|
setShowCytobands(flag: boolean): void;
|
|
5207
5246
|
setWidth(newWidth: number): void;
|
|
5208
5247
|
setError(error: unknown): void;
|
|
5248
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
5249
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
5209
5250
|
setHideHeader(b: boolean): void;
|
|
5210
5251
|
setHideHeaderOverview(b: boolean): void;
|
|
5211
5252
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -5245,6 +5286,7 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5245
5286
|
setDraggingTrackId(idx?: string): void;
|
|
5246
5287
|
setLastTrackDragY(y: number): void;
|
|
5247
5288
|
setScaleFactor(factor: number): void;
|
|
5289
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
5248
5290
|
clearView(): void;
|
|
5249
5291
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
5250
5292
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -5266,6 +5308,9 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5266
5308
|
readonly visibleLocStrings: string;
|
|
5267
5309
|
readonly coarseVisibleLocStrings: string;
|
|
5268
5310
|
readonly coarseTotalBpDisplayStr: string;
|
|
5311
|
+
readonly effectiveBpPerPx: number;
|
|
5312
|
+
readonly effectiveTotalBp: number;
|
|
5313
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
5269
5314
|
} & {
|
|
5270
5315
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
5271
5316
|
} & {
|
|
@@ -5277,8 +5322,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5277
5322
|
}): Promise<void>;
|
|
5278
5323
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
5279
5324
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
5280
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
5281
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
5325
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
5326
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
5282
5327
|
} & {
|
|
5283
5328
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
5284
5329
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -5356,11 +5401,14 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5356
5401
|
lastTrackDragY: undefined | number;
|
|
5357
5402
|
volatileError: unknown;
|
|
5358
5403
|
scaleFactor: number;
|
|
5404
|
+
targetBpPerPx: number | undefined;
|
|
5359
5405
|
trackRefs: Record<string, HTMLDivElement>;
|
|
5360
5406
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
5361
5407
|
coarseTotalBp: number;
|
|
5362
5408
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5363
5409
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5410
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
5411
|
+
scalebarRefNameClickPending: boolean;
|
|
5364
5412
|
} & {
|
|
5365
5413
|
readonly pinnedTracks: any[];
|
|
5366
5414
|
readonly unpinnedTracks: any[];
|
|
@@ -5414,6 +5462,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5414
5462
|
setShowCytobands(flag: boolean): void;
|
|
5415
5463
|
setWidth(newWidth: number): void;
|
|
5416
5464
|
setError(error: unknown): void;
|
|
5465
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
5466
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
5417
5467
|
setHideHeader(b: boolean): void;
|
|
5418
5468
|
setHideHeaderOverview(b: boolean): void;
|
|
5419
5469
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -5453,6 +5503,7 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5453
5503
|
setDraggingTrackId(idx?: string): void;
|
|
5454
5504
|
setLastTrackDragY(y: number): void;
|
|
5455
5505
|
setScaleFactor(factor: number): void;
|
|
5506
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
5456
5507
|
clearView(): void;
|
|
5457
5508
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
5458
5509
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -5474,6 +5525,9 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5474
5525
|
readonly visibleLocStrings: string;
|
|
5475
5526
|
readonly coarseVisibleLocStrings: string;
|
|
5476
5527
|
readonly coarseTotalBpDisplayStr: string;
|
|
5528
|
+
readonly effectiveBpPerPx: number;
|
|
5529
|
+
readonly effectiveTotalBp: number;
|
|
5530
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
5477
5531
|
} & {
|
|
5478
5532
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
5479
5533
|
} & {
|
|
@@ -5485,8 +5539,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5485
5539
|
}): Promise<void>;
|
|
5486
5540
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
5487
5541
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
5488
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
5489
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
5542
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
5543
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
5490
5544
|
} & {
|
|
5491
5545
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
5492
5546
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -5614,11 +5668,14 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5614
5668
|
lastTrackDragY: undefined | number;
|
|
5615
5669
|
volatileError: unknown;
|
|
5616
5670
|
scaleFactor: number;
|
|
5671
|
+
targetBpPerPx: number | undefined;
|
|
5617
5672
|
trackRefs: Record<string, HTMLDivElement>;
|
|
5618
5673
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
5619
5674
|
coarseTotalBp: number;
|
|
5620
5675
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5621
5676
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5677
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
5678
|
+
scalebarRefNameClickPending: boolean;
|
|
5622
5679
|
} & {
|
|
5623
5680
|
readonly pinnedTracks: any[];
|
|
5624
5681
|
readonly unpinnedTracks: any[];
|
|
@@ -5672,6 +5729,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5672
5729
|
setShowCytobands(flag: boolean): void;
|
|
5673
5730
|
setWidth(newWidth: number): void;
|
|
5674
5731
|
setError(error: unknown): void;
|
|
5732
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
5733
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
5675
5734
|
setHideHeader(b: boolean): void;
|
|
5676
5735
|
setHideHeaderOverview(b: boolean): void;
|
|
5677
5736
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -5711,6 +5770,7 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5711
5770
|
setDraggingTrackId(idx?: string): void;
|
|
5712
5771
|
setLastTrackDragY(y: number): void;
|
|
5713
5772
|
setScaleFactor(factor: number): void;
|
|
5773
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
5714
5774
|
clearView(): void;
|
|
5715
5775
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
5716
5776
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -5732,6 +5792,9 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5732
5792
|
readonly visibleLocStrings: string;
|
|
5733
5793
|
readonly coarseVisibleLocStrings: string;
|
|
5734
5794
|
readonly coarseTotalBpDisplayStr: string;
|
|
5795
|
+
readonly effectiveBpPerPx: number;
|
|
5796
|
+
readonly effectiveTotalBp: number;
|
|
5797
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
5735
5798
|
} & {
|
|
5736
5799
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
5737
5800
|
} & {
|
|
@@ -5743,8 +5806,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5743
5806
|
}): Promise<void>;
|
|
5744
5807
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
5745
5808
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
5746
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
5747
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
5809
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
5810
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
5748
5811
|
} & {
|
|
5749
5812
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
5750
5813
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -5822,11 +5885,14 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5822
5885
|
lastTrackDragY: undefined | number;
|
|
5823
5886
|
volatileError: unknown;
|
|
5824
5887
|
scaleFactor: number;
|
|
5888
|
+
targetBpPerPx: number | undefined;
|
|
5825
5889
|
trackRefs: Record<string, HTMLDivElement>;
|
|
5826
5890
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
5827
5891
|
coarseTotalBp: number;
|
|
5828
5892
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5829
5893
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
5894
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
5895
|
+
scalebarRefNameClickPending: boolean;
|
|
5830
5896
|
} & {
|
|
5831
5897
|
readonly pinnedTracks: any[];
|
|
5832
5898
|
readonly unpinnedTracks: any[];
|
|
@@ -5880,6 +5946,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5880
5946
|
setShowCytobands(flag: boolean): void;
|
|
5881
5947
|
setWidth(newWidth: number): void;
|
|
5882
5948
|
setError(error: unknown): void;
|
|
5949
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
5950
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
5883
5951
|
setHideHeader(b: boolean): void;
|
|
5884
5952
|
setHideHeaderOverview(b: boolean): void;
|
|
5885
5953
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -5919,6 +5987,7 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5919
5987
|
setDraggingTrackId(idx?: string): void;
|
|
5920
5988
|
setLastTrackDragY(y: number): void;
|
|
5921
5989
|
setScaleFactor(factor: number): void;
|
|
5990
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
5922
5991
|
clearView(): void;
|
|
5923
5992
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
5924
5993
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -5940,6 +6009,9 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5940
6009
|
readonly visibleLocStrings: string;
|
|
5941
6010
|
readonly coarseVisibleLocStrings: string;
|
|
5942
6011
|
readonly coarseTotalBpDisplayStr: string;
|
|
6012
|
+
readonly effectiveBpPerPx: number;
|
|
6013
|
+
readonly effectiveTotalBp: number;
|
|
6014
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
5943
6015
|
} & {
|
|
5944
6016
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
5945
6017
|
} & {
|
|
@@ -5951,8 +6023,8 @@ export default function createModel(runtimePlugins: PluginConstructor[], makeWor
|
|
|
5951
6023
|
}): Promise<void>;
|
|
5952
6024
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
5953
6025
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
5954
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
5955
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
6026
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
6027
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
5956
6028
|
} & {
|
|
5957
6029
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
5958
6030
|
bpToPx({ refName, coord, regionNumber, }: {
|