@jbrowse/plugin-linear-comparative-view 2.10.1 → 2.10.3
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/LGVSyntenyDisplay/model.d.ts +9 -2
- package/dist/LinearComparativeView/model.d.ts +8 -8
- package/dist/LinearSyntenyView/components/ExportSvgDialog.d.ts +1 -1
- package/dist/LinearSyntenyView/components/ExportSvgDialog.js +2 -2
- package/dist/LinearSyntenyView/model.d.ts +22 -15
- package/esm/LGVSyntenyDisplay/model.d.ts +9 -2
- package/esm/LinearComparativeView/model.d.ts +8 -8
- package/esm/LinearSyntenyView/components/ExportSvgDialog.d.ts +1 -1
- package/esm/LinearSyntenyView/components/ExportSvgDialog.js +1 -1
- package/esm/LinearSyntenyView/model.d.ts +22 -15
- package/package.json +2 -2
|
@@ -44,8 +44,15 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
44
44
|
message: string | undefined;
|
|
45
45
|
maxHeightReached: boolean;
|
|
46
46
|
ReactComponent: ({ model, }: {
|
|
47
|
-
model:
|
|
48
|
-
|
|
47
|
+
model: {
|
|
48
|
+
error?: unknown;
|
|
49
|
+
reload: () => void;
|
|
50
|
+
message: import("react").ReactNode;
|
|
51
|
+
filled?: boolean | undefined;
|
|
52
|
+
status?: string | undefined;
|
|
53
|
+
reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
54
|
+
};
|
|
55
|
+
}) => import("react").JSX.Element | undefined;
|
|
49
56
|
renderProps: any;
|
|
50
57
|
} & {
|
|
51
58
|
doReload(): void;
|
|
@@ -49,6 +49,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
49
49
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
50
50
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
51
51
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
52
|
+
highlight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>;
|
|
52
53
|
}, {
|
|
53
54
|
width: number;
|
|
54
55
|
} & {
|
|
@@ -63,9 +64,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
63
64
|
draggingTrackId: string | undefined;
|
|
64
65
|
volatileError: unknown;
|
|
65
66
|
afterDisplayedRegionsSetCallbacks: Function[];
|
|
66
|
-
scaleFactor: number;
|
|
67
|
-
* #action
|
|
68
|
-
*/
|
|
67
|
+
scaleFactor: number;
|
|
69
68
|
trackRefs: Record<string, HTMLDivElement>;
|
|
70
69
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
71
70
|
coarseTotalBp: number;
|
|
@@ -109,10 +108,11 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
109
108
|
setShowCytobands(flag: boolean): void;
|
|
110
109
|
setWidth(newWidth: number): void;
|
|
111
110
|
setError(error: unknown): void;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
111
|
+
setHideHeader(b: boolean): void;
|
|
112
|
+
setHideHeaderOverview(b: boolean): void;
|
|
113
|
+
setHideNoTracksActive(b: boolean): void;
|
|
114
|
+
setShowGridlines(b: boolean): void;
|
|
115
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
116
116
|
scrollTo(offsetPx: number): number;
|
|
117
117
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
118
118
|
setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, right?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -126,7 +126,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
126
126
|
closeView(): void;
|
|
127
127
|
toggleTrack(trackId: string): boolean;
|
|
128
128
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
129
|
-
|
|
129
|
+
setShowCenterLine(b: boolean): void;
|
|
130
130
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
131
131
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
132
132
|
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
|
};
|
|
@@ -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);
|
|
@@ -82,4 +82,4 @@ function ExportSvgDlg({ model, handleClose, }) {
|
|
|
82
82
|
}
|
|
83
83
|
} }, "Submit"))));
|
|
84
84
|
}
|
|
85
|
-
exports.default =
|
|
85
|
+
exports.default = ExportSvgDialog;
|
|
@@ -68,6 +68,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
68
68
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
69
69
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
70
70
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
71
|
+
highlight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>;
|
|
71
72
|
}, {
|
|
72
73
|
width: number;
|
|
73
74
|
} & {
|
|
@@ -126,10 +127,11 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
126
127
|
setShowCytobands(flag: boolean): void;
|
|
127
128
|
setWidth(newWidth: number): void;
|
|
128
129
|
setError(error: unknown): void;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
setHideHeader(b: boolean): void;
|
|
131
|
+
setHideHeaderOverview(b: boolean): void;
|
|
132
|
+
setHideNoTracksActive(b: boolean): void;
|
|
133
|
+
setShowGridlines(b: boolean): void;
|
|
134
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
133
135
|
scrollTo(offsetPx: number): number;
|
|
134
136
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
135
137
|
setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, right?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -143,7 +145,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
143
145
|
closeView(): void;
|
|
144
146
|
toggleTrack(trackId: string): boolean;
|
|
145
147
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
146
|
-
|
|
148
|
+
setShowCenterLine(b: boolean): void;
|
|
147
149
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
148
150
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
149
151
|
getSelectedRegions(leftOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, rightOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): {
|
|
@@ -419,6 +421,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
419
421
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
420
422
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
421
423
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
424
|
+
highlight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>;
|
|
422
425
|
}>>[]): void;
|
|
423
426
|
removeView(view: {
|
|
424
427
|
id: string;
|
|
@@ -463,6 +466,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
463
466
|
showCytobandsSetting: boolean;
|
|
464
467
|
trackLabels: string;
|
|
465
468
|
showGridlines: boolean;
|
|
469
|
+
highlight: (Required<import("@jbrowse/core/util").ParsedLocString> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>>) | undefined;
|
|
466
470
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
467
471
|
width: number;
|
|
468
472
|
} & {
|
|
@@ -521,10 +525,11 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
521
525
|
setShowCytobands(flag: boolean): void;
|
|
522
526
|
setWidth(newWidth: number): void;
|
|
523
527
|
setError(error: unknown): void;
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
+
setHideHeader(b: boolean): void;
|
|
529
|
+
setHideHeaderOverview(b: boolean): void;
|
|
530
|
+
setHideNoTracksActive(b: boolean): void;
|
|
531
|
+
setShowGridlines(b: boolean): void;
|
|
532
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
528
533
|
scrollTo(offsetPx: number): number;
|
|
529
534
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
530
535
|
setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, right?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -538,7 +543,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
538
543
|
closeView(): void;
|
|
539
544
|
toggleTrack(trackId: string): boolean;
|
|
540
545
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
541
|
-
|
|
546
|
+
setShowCenterLine(b: boolean): void;
|
|
542
547
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
543
548
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
544
549
|
getSelectedRegions(leftOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, rightOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): {
|
|
@@ -788,6 +793,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
788
793
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
789
794
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
790
795
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
796
|
+
highlight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>;
|
|
791
797
|
}, {
|
|
792
798
|
width: number;
|
|
793
799
|
} & {
|
|
@@ -846,10 +852,11 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
846
852
|
setShowCytobands(flag: boolean): void;
|
|
847
853
|
setWidth(newWidth: number): void;
|
|
848
854
|
setError(error: unknown): void;
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
855
|
+
setHideHeader(b: boolean): void;
|
|
856
|
+
setHideHeaderOverview(b: boolean): void;
|
|
857
|
+
setHideNoTracksActive(b: boolean): void;
|
|
858
|
+
setShowGridlines(b: boolean): void;
|
|
859
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
853
860
|
scrollTo(offsetPx: number): number;
|
|
854
861
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
855
862
|
setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, right?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -863,7 +870,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
863
870
|
closeView(): void;
|
|
864
871
|
toggleTrack(trackId: string): boolean;
|
|
865
872
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
866
|
-
|
|
873
|
+
setShowCenterLine(b: boolean): void;
|
|
867
874
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
868
875
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
869
876
|
getSelectedRegions(leftOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, rightOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): {
|
|
@@ -44,8 +44,15 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
44
44
|
message: string | undefined;
|
|
45
45
|
maxHeightReached: boolean;
|
|
46
46
|
ReactComponent: ({ model, }: {
|
|
47
|
-
model:
|
|
48
|
-
|
|
47
|
+
model: {
|
|
48
|
+
error?: unknown;
|
|
49
|
+
reload: () => void;
|
|
50
|
+
message: import("react").ReactNode;
|
|
51
|
+
filled?: boolean | undefined;
|
|
52
|
+
status?: string | undefined;
|
|
53
|
+
reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
54
|
+
};
|
|
55
|
+
}) => import("react").JSX.Element | undefined;
|
|
49
56
|
renderProps: any;
|
|
50
57
|
} & {
|
|
51
58
|
doReload(): void;
|
|
@@ -49,6 +49,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
49
49
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
50
50
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
51
51
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
52
|
+
highlight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>;
|
|
52
53
|
}, {
|
|
53
54
|
width: number;
|
|
54
55
|
} & {
|
|
@@ -63,9 +64,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
63
64
|
draggingTrackId: string | undefined;
|
|
64
65
|
volatileError: unknown;
|
|
65
66
|
afterDisplayedRegionsSetCallbacks: Function[];
|
|
66
|
-
scaleFactor: number;
|
|
67
|
-
* #action
|
|
68
|
-
*/
|
|
67
|
+
scaleFactor: number;
|
|
69
68
|
trackRefs: Record<string, HTMLDivElement>;
|
|
70
69
|
coarseDynamicBlocks: import("@jbrowse/core/util/blockTypes").BaseBlock[];
|
|
71
70
|
coarseTotalBp: number;
|
|
@@ -109,10 +108,11 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
109
108
|
setShowCytobands(flag: boolean): void;
|
|
110
109
|
setWidth(newWidth: number): void;
|
|
111
110
|
setError(error: unknown): void;
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
111
|
+
setHideHeader(b: boolean): void;
|
|
112
|
+
setHideHeaderOverview(b: boolean): void;
|
|
113
|
+
setHideNoTracksActive(b: boolean): void;
|
|
114
|
+
setShowGridlines(b: boolean): void;
|
|
115
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
116
116
|
scrollTo(offsetPx: number): number;
|
|
117
117
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
118
118
|
setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, right?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -126,7 +126,7 @@ declare function stateModelFactory(pluginManager: PluginManager): import("mobx-s
|
|
|
126
126
|
closeView(): void;
|
|
127
127
|
toggleTrack(trackId: string): boolean;
|
|
128
128
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
129
|
-
|
|
129
|
+
setShowCenterLine(b: boolean): void;
|
|
130
130
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
131
131
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
132
132
|
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);
|
|
@@ -68,6 +68,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
68
68
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
69
69
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
70
70
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
71
|
+
highlight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>;
|
|
71
72
|
}, {
|
|
72
73
|
width: number;
|
|
73
74
|
} & {
|
|
@@ -126,10 +127,11 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
126
127
|
setShowCytobands(flag: boolean): void;
|
|
127
128
|
setWidth(newWidth: number): void;
|
|
128
129
|
setError(error: unknown): void;
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
setHideHeader(b: boolean): void;
|
|
131
|
+
setHideHeaderOverview(b: boolean): void;
|
|
132
|
+
setHideNoTracksActive(b: boolean): void;
|
|
133
|
+
setShowGridlines(b: boolean): void;
|
|
134
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
133
135
|
scrollTo(offsetPx: number): number;
|
|
134
136
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
135
137
|
setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, right?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -143,7 +145,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
143
145
|
closeView(): void;
|
|
144
146
|
toggleTrack(trackId: string): boolean;
|
|
145
147
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
146
|
-
|
|
148
|
+
setShowCenterLine(b: boolean): void;
|
|
147
149
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
148
150
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
149
151
|
getSelectedRegions(leftOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, rightOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): {
|
|
@@ -419,6 +421,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
419
421
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
420
422
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
421
423
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
424
|
+
highlight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>;
|
|
422
425
|
}>>[]): void;
|
|
423
426
|
removeView(view: {
|
|
424
427
|
id: string;
|
|
@@ -463,6 +466,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
463
466
|
showCytobandsSetting: boolean;
|
|
464
467
|
trackLabels: string;
|
|
465
468
|
showGridlines: boolean;
|
|
469
|
+
highlight: (Required<import("@jbrowse/core/util").ParsedLocString> & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>>) | undefined;
|
|
466
470
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
467
471
|
width: number;
|
|
468
472
|
} & {
|
|
@@ -521,10 +525,11 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
521
525
|
setShowCytobands(flag: boolean): void;
|
|
522
526
|
setWidth(newWidth: number): void;
|
|
523
527
|
setError(error: unknown): void;
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
+
setHideHeader(b: boolean): void;
|
|
529
|
+
setHideHeaderOverview(b: boolean): void;
|
|
530
|
+
setHideNoTracksActive(b: boolean): void;
|
|
531
|
+
setShowGridlines(b: boolean): void;
|
|
532
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
528
533
|
scrollTo(offsetPx: number): number;
|
|
529
534
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
530
535
|
setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, right?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -538,7 +543,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
538
543
|
closeView(): void;
|
|
539
544
|
toggleTrack(trackId: string): boolean;
|
|
540
545
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
541
|
-
|
|
546
|
+
setShowCenterLine(b: boolean): void;
|
|
542
547
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
543
548
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
544
549
|
getSelectedRegions(leftOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, rightOffset?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): {
|
|
@@ -788,6 +793,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
788
793
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
789
794
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
790
795
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
796
|
+
highlight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>, Required<import("@jbrowse/core/util").ParsedLocString>>>;
|
|
791
797
|
}, {
|
|
792
798
|
width: number;
|
|
793
799
|
} & {
|
|
@@ -846,10 +852,11 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
846
852
|
setShowCytobands(flag: boolean): void;
|
|
847
853
|
setWidth(newWidth: number): void;
|
|
848
854
|
setError(error: unknown): void;
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
855
|
+
setHideHeader(b: boolean): void;
|
|
856
|
+
setHideHeaderOverview(b: boolean): void;
|
|
857
|
+
setHideNoTracksActive(b: boolean): void;
|
|
858
|
+
setShowGridlines(b: boolean): void;
|
|
859
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
853
860
|
scrollTo(offsetPx: number): number;
|
|
854
861
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
855
862
|
setOffsets(left?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined, right?: import("@jbrowse/plugin-linear-genome-view/src/LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -863,7 +870,7 @@ export default function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
863
870
|
closeView(): void;
|
|
864
871
|
toggleTrack(trackId: string): boolean;
|
|
865
872
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
866
|
-
|
|
873
|
+
setShowCenterLine(b: boolean): void;
|
|
867
874
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
868
875
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
869
876
|
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-linear-comparative-view",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.3",
|
|
4
4
|
"description": "JBrowse 2 linear comparative view",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "c8fc800cd17decd72b2e971c7a6add3b95214e72"
|
|
65
65
|
}
|