@jbrowse/plugin-breakpoint-split-view 2.10.1 → 2.10.2
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/dist/BreakpointSplitView/components/ExportSvgDialog.d.ts +1 -1
- package/dist/BreakpointSplitView/components/ExportSvgDialog.js +2 -2
- package/dist/BreakpointSplitView/model.d.ts +5 -5
- package/esm/BreakpointSplitView/components/ExportSvgDialog.d.ts +1 -1
- package/esm/BreakpointSplitView/components/ExportSvgDialog.js +1 -1
- package/esm/BreakpointSplitView/model.d.ts +5 -5
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ExportSvgOptions } from '../model';
|
|
3
|
-
export default function
|
|
3
|
+
export default function ExportSvgDialog({ model, handleClose, }: {
|
|
4
4
|
model: {
|
|
5
5
|
exportSvg(opts: ExportSvgOptions): Promise<void>;
|
|
6
6
|
};
|
|
@@ -35,7 +35,7 @@ function LoadingMessage() {
|
|
|
35
35
|
function useSvgLocal(key, val) {
|
|
36
36
|
return (0, util_1.useLocalStorage)('svg-' + key, val);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function ExportSvgDialog({ model, handleClose, }) {
|
|
39
39
|
const session = (0, util_1.getSession)(model);
|
|
40
40
|
const offscreenCanvas = typeof OffscreenCanvas !== 'undefined';
|
|
41
41
|
const [rasterizeLayers, setRasterizeLayers] = (0, react_1.useState)(offscreenCanvas);
|
|
@@ -80,4 +80,4 @@ function ExportSvgDlg({ model, handleClose, }) {
|
|
|
80
80
|
}
|
|
81
81
|
} }, "Submit"))));
|
|
82
82
|
}
|
|
83
|
-
exports.default =
|
|
83
|
+
exports.default = ExportSvgDialog;
|
|
@@ -130,10 +130,10 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
130
130
|
setShowCytobands(flag: boolean): void;
|
|
131
131
|
setWidth(newWidth: number): void;
|
|
132
132
|
setError(error: unknown): void;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
133
|
+
setHideHeader(b: boolean): void;
|
|
134
|
+
setHideHeaderOverview(b: boolean): void;
|
|
135
|
+
setHideNoTracksActive(b: boolean): void;
|
|
136
|
+
setShowGridlines(b: boolean): void;
|
|
137
137
|
scrollTo(offsetPx: number): number;
|
|
138
138
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
139
139
|
setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, right?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -147,7 +147,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
147
147
|
closeView(): void;
|
|
148
148
|
toggleTrack(trackId: string): boolean;
|
|
149
149
|
setTrackLabels(setting: "hidden" | "offset" | "overlapping"): void;
|
|
150
|
-
|
|
150
|
+
setShowCenterLine(b: boolean): void;
|
|
151
151
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
152
152
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
153
153
|
getSelectedRegions(leftOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, rightOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ExportSvgOptions } from '../model';
|
|
3
|
-
export default function
|
|
3
|
+
export default function ExportSvgDialog({ model, handleClose, }: {
|
|
4
4
|
model: {
|
|
5
5
|
exportSvg(opts: ExportSvgOptions): Promise<void>;
|
|
6
6
|
};
|
|
@@ -10,7 +10,7 @@ function LoadingMessage() {
|
|
|
10
10
|
function useSvgLocal(key, val) {
|
|
11
11
|
return useLocalStorage('svg-' + key, val);
|
|
12
12
|
}
|
|
13
|
-
export default function
|
|
13
|
+
export default function ExportSvgDialog({ model, handleClose, }) {
|
|
14
14
|
const session = getSession(model);
|
|
15
15
|
const offscreenCanvas = typeof OffscreenCanvas !== 'undefined';
|
|
16
16
|
const [rasterizeLayers, setRasterizeLayers] = useState(offscreenCanvas);
|
|
@@ -130,10 +130,10 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
130
130
|
setShowCytobands(flag: boolean): void;
|
|
131
131
|
setWidth(newWidth: number): void;
|
|
132
132
|
setError(error: unknown): void;
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
133
|
+
setHideHeader(b: boolean): void;
|
|
134
|
+
setHideHeaderOverview(b: boolean): void;
|
|
135
|
+
setHideNoTracksActive(b: boolean): void;
|
|
136
|
+
setShowGridlines(b: boolean): void;
|
|
137
137
|
scrollTo(offsetPx: number): number;
|
|
138
138
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
139
139
|
setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, right?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -147,7 +147,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
147
147
|
closeView(): void;
|
|
148
148
|
toggleTrack(trackId: string): boolean;
|
|
149
149
|
setTrackLabels(setting: "hidden" | "offset" | "overlapping"): void;
|
|
150
|
-
|
|
150
|
+
setShowCenterLine(b: boolean): void;
|
|
151
151
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
152
152
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
153
153
|
getSelectedRegions(leftOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, rightOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-breakpoint-split-view",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.2",
|
|
4
4
|
"description": "JBrowse 2 breakpoint detail split view",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "7ca3b7db337ebd88853e2d96cdab940ed550c4fb"
|
|
62
62
|
}
|