@jbrowse/plugin-breakpoint-split-view 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.
|
@@ -52,11 +52,14 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
52
52
|
lastTrackDragY: undefined | number;
|
|
53
53
|
volatileError: unknown;
|
|
54
54
|
scaleFactor: number;
|
|
55
|
+
targetBpPerPx: number | undefined;
|
|
55
56
|
trackRefs: Record<string, HTMLDivElement>;
|
|
56
57
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
57
58
|
coarseTotalBp: number;
|
|
58
59
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
59
60
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
61
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
62
|
+
scalebarRefNameClickPending: boolean;
|
|
60
63
|
} & {
|
|
61
64
|
readonly pinnedTracks: any[];
|
|
62
65
|
readonly unpinnedTracks: any[];
|
|
@@ -110,6 +113,8 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
110
113
|
setShowCytobands(flag: boolean): void;
|
|
111
114
|
setWidth(newWidth: number): void;
|
|
112
115
|
setError(error: unknown): void;
|
|
116
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
117
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
113
118
|
setHideHeader(b: boolean): void;
|
|
114
119
|
setHideHeaderOverview(b: boolean): void;
|
|
115
120
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -149,6 +154,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
149
154
|
setDraggingTrackId(idx?: string): void;
|
|
150
155
|
setLastTrackDragY(y: number): void;
|
|
151
156
|
setScaleFactor(factor: number): void;
|
|
157
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
152
158
|
clearView(): void;
|
|
153
159
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
154
160
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -170,6 +176,9 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
170
176
|
readonly visibleLocStrings: string;
|
|
171
177
|
readonly coarseVisibleLocStrings: string;
|
|
172
178
|
readonly coarseTotalBpDisplayStr: string;
|
|
179
|
+
readonly effectiveBpPerPx: number;
|
|
180
|
+
readonly effectiveTotalBp: number;
|
|
181
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
173
182
|
} & {
|
|
174
183
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
175
184
|
} & {
|
|
@@ -181,8 +190,8 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
181
190
|
}): Promise<void>;
|
|
182
191
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
183
192
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
184
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
185
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
193
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
194
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
186
195
|
} & {
|
|
187
196
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
188
197
|
bpToPx({ refName, coord, regionNumber, }: {
|
|
@@ -406,11 +415,14 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
406
415
|
lastTrackDragY: undefined | number;
|
|
407
416
|
volatileError: unknown;
|
|
408
417
|
scaleFactor: number;
|
|
418
|
+
targetBpPerPx: number | undefined;
|
|
409
419
|
trackRefs: Record<string, HTMLDivElement>;
|
|
410
420
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
411
421
|
coarseTotalBp: number;
|
|
412
422
|
leftOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
413
423
|
rightOffset: undefined | import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").BpOffset;
|
|
424
|
+
isScalebarRefNameMenuOpen: boolean;
|
|
425
|
+
scalebarRefNameClickPending: boolean;
|
|
414
426
|
} & {
|
|
415
427
|
readonly pinnedTracks: any[];
|
|
416
428
|
readonly unpinnedTracks: any[];
|
|
@@ -464,6 +476,8 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
464
476
|
setShowCytobands(flag: boolean): void;
|
|
465
477
|
setWidth(newWidth: number): void;
|
|
466
478
|
setError(error: unknown): void;
|
|
479
|
+
setIsScalebarRefNameMenuOpen(isOpen: boolean): void;
|
|
480
|
+
setScalebarRefNameClickPending(pending: boolean): void;
|
|
467
481
|
setHideHeader(b: boolean): void;
|
|
468
482
|
setHideHeaderOverview(b: boolean): void;
|
|
469
483
|
setHideNoTracksActive(b: boolean): void;
|
|
@@ -503,6 +517,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
503
517
|
setDraggingTrackId(idx?: string): void;
|
|
504
518
|
setLastTrackDragY(y: number): void;
|
|
505
519
|
setScaleFactor(factor: number): void;
|
|
520
|
+
setTargetBpPerPx(target: number | undefined): void;
|
|
506
521
|
clearView(): void;
|
|
507
522
|
setInit(arg?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").InitState): void;
|
|
508
523
|
exportSvg(opts?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").ExportSvgOptions): Promise<void>;
|
|
@@ -524,6 +539,9 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
524
539
|
readonly visibleLocStrings: string;
|
|
525
540
|
readonly coarseVisibleLocStrings: string;
|
|
526
541
|
readonly coarseTotalBpDisplayStr: string;
|
|
542
|
+
readonly effectiveBpPerPx: number;
|
|
543
|
+
readonly effectiveTotalBp: number;
|
|
544
|
+
readonly effectiveTotalBpDisplayStr: string;
|
|
527
545
|
} & {
|
|
528
546
|
setCoarseDynamicBlocks(blocks: import("@jbrowse/core/util/blockTypes").BlockSet): void;
|
|
529
547
|
} & {
|
|
@@ -535,8 +553,8 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
535
553
|
}): Promise<void>;
|
|
536
554
|
navToLocation(parsedLocString: import("@jbrowse/core/util").ParsedLocString, assemblyName?: string, grow?: number): Promise<void>;
|
|
537
555
|
navToLocations(regions: import("@jbrowse/core/util").ParsedLocString[], assemblyName?: string, grow?: number): Promise<void>;
|
|
538
|
-
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation): void;
|
|
539
|
-
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[]): void;
|
|
556
|
+
navTo(query: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation, grow?: number): void;
|
|
557
|
+
navToMultiple(locations: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView/types.ts").NavLocation[], grow?: number): void;
|
|
540
558
|
} & {
|
|
541
559
|
rubberBandMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
542
560
|
bpToPx({ refName, coord, regionNumber, }: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-breakpoint-split-view",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.4",
|
|
4
4
|
"description": "JBrowse 2 breakpoint detail split view",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"file-saver-es": "^2.0.5",
|
|
29
29
|
"mobx": "^6.15.0",
|
|
30
30
|
"mobx-react": "^9.2.1",
|
|
31
|
-
"@jbrowse/
|
|
32
|
-
"@jbrowse/
|
|
31
|
+
"@jbrowse/core": "^4.0.4",
|
|
32
|
+
"@jbrowse/plugin-linear-genome-view": "^4.0.4"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"react": ">=16.8.4",
|