@jbrowse/plugin-linear-genome-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/BaseLinearDisplay/components/BlockMsg.d.ts +2 -4
- package/dist/BaseLinearDisplay/components/BlockMsg.js +2 -3
- package/dist/BaseLinearDisplay/components/LinearBlocks.js +2 -2
- package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.d.ts +10 -2
- package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +40 -4
- package/dist/BaseLinearDisplay/components/TooLargeMessage.js +5 -4
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +18 -4
- package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.d.ts +9 -2
- package/dist/BaseLinearDisplay/models/util.js +4 -2
- package/dist/LaunchLinearGenomeView/index.js +16 -2
- package/dist/LinearBareDisplay/model.d.ts +18 -4
- package/dist/LinearBasicDisplay/model.d.ts +32 -24
- package/dist/LinearBasicDisplay/model.js +2 -2
- package/dist/LinearGenomeView/components/ExportSvgDialog.d.ts +1 -1
- package/dist/LinearGenomeView/components/ExportSvgDialog.js +2 -2
- package/dist/LinearGenomeView/components/Highlight.d.ts +7 -0
- package/dist/LinearGenomeView/components/Highlight.js +122 -0
- package/dist/LinearGenomeView/components/OverviewHighlight.d.ts +9 -0
- package/dist/LinearGenomeView/components/OverviewHighlight.js +53 -0
- package/dist/LinearGenomeView/components/OverviewScalebar.js +3 -1
- package/dist/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js +1 -1
- package/dist/LinearGenomeView/components/RefNameAutocomplete/index.js +9 -10
- package/dist/LinearGenomeView/components/TracksContainer.js +2 -0
- package/dist/LinearGenomeView/model.d.ts +10 -5
- package/dist/LinearGenomeView/model.js +26 -15
- package/dist/LinearGenomeView/util.d.ts +1 -1
- package/dist/index.d.ts +96 -42
- package/esm/BaseLinearDisplay/components/BlockMsg.d.ts +2 -4
- package/esm/BaseLinearDisplay/components/BlockMsg.js +3 -4
- package/esm/BaseLinearDisplay/components/LinearBlocks.js +2 -2
- package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.d.ts +10 -2
- package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +17 -4
- package/esm/BaseLinearDisplay/components/TooLargeMessage.js +5 -4
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +18 -4
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.d.ts +9 -2
- package/esm/BaseLinearDisplay/models/util.js +4 -2
- package/esm/LaunchLinearGenomeView/index.js +17 -3
- package/esm/LinearBareDisplay/model.d.ts +18 -4
- package/esm/LinearBasicDisplay/model.d.ts +32 -24
- package/esm/LinearBasicDisplay/model.js +2 -2
- package/esm/LinearGenomeView/components/ExportSvgDialog.d.ts +1 -1
- package/esm/LinearGenomeView/components/ExportSvgDialog.js +1 -1
- package/esm/LinearGenomeView/components/Highlight.d.ts +7 -0
- package/esm/LinearGenomeView/components/Highlight.js +94 -0
- package/esm/LinearGenomeView/components/OverviewHighlight.d.ts +9 -0
- package/esm/LinearGenomeView/components/OverviewHighlight.js +48 -0
- package/esm/LinearGenomeView/components/OverviewScalebar.js +3 -1
- package/esm/LinearGenomeView/components/RefNameAutocomplete/EndAdornment.js +1 -1
- package/esm/LinearGenomeView/components/RefNameAutocomplete/index.js +10 -11
- package/esm/LinearGenomeView/components/TracksContainer.js +2 -0
- package/esm/LinearGenomeView/model.d.ts +10 -5
- package/esm/LinearGenomeView/model.js +26 -15
- package/esm/LinearGenomeView/util.d.ts +1 -1
- package/esm/index.d.ts +96 -42
- package/package.json +2 -2
|
@@ -81,6 +81,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
81
81
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
82
82
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
83
83
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
84
|
+
highlight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IType<Required<ParsedLocString>, Required<ParsedLocString>, Required<ParsedLocString>>>;
|
|
84
85
|
}, {
|
|
85
86
|
width: number;
|
|
86
87
|
} & {
|
|
@@ -238,19 +239,23 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
238
239
|
/**
|
|
239
240
|
* #action
|
|
240
241
|
*/
|
|
241
|
-
|
|
242
|
+
setHideHeader(b: boolean): void;
|
|
242
243
|
/**
|
|
243
244
|
* #action
|
|
244
245
|
*/
|
|
245
|
-
|
|
246
|
+
setHideHeaderOverview(b: boolean): void;
|
|
246
247
|
/**
|
|
247
248
|
* #action
|
|
248
249
|
*/
|
|
249
|
-
|
|
250
|
+
setHideNoTracksActive(b: boolean): void;
|
|
250
251
|
/**
|
|
251
252
|
* #action
|
|
252
253
|
*/
|
|
253
|
-
|
|
254
|
+
setShowGridlines(b: boolean): void;
|
|
255
|
+
/**
|
|
256
|
+
* #action
|
|
257
|
+
*/
|
|
258
|
+
setHighlight(highlight: Required<ParsedLocString> | undefined): void;
|
|
254
259
|
/**
|
|
255
260
|
* #action
|
|
256
261
|
*/
|
|
@@ -306,7 +311,7 @@ export declare function stateModelFactory(pluginManager: PluginManager): import(
|
|
|
306
311
|
/**
|
|
307
312
|
* #action
|
|
308
313
|
*/
|
|
309
|
-
|
|
314
|
+
setShowCenterLine(b: boolean): void;
|
|
310
315
|
/**
|
|
311
316
|
* #action
|
|
312
317
|
*/
|
|
@@ -136,6 +136,11 @@ export function stateModelFactory(pluginManager) {
|
|
|
136
136
|
* show the "gridlines" in the track area
|
|
137
137
|
*/
|
|
138
138
|
showGridlines: true,
|
|
139
|
+
/**
|
|
140
|
+
* #property
|
|
141
|
+
* highlights on the LGV from the URL parameters
|
|
142
|
+
*/
|
|
143
|
+
highlight: types.maybe(types.frozen()),
|
|
139
144
|
}))
|
|
140
145
|
.volatile(() => ({
|
|
141
146
|
volatileWidth: undefined,
|
|
@@ -418,26 +423,32 @@ export function stateModelFactory(pluginManager) {
|
|
|
418
423
|
/**
|
|
419
424
|
* #action
|
|
420
425
|
*/
|
|
421
|
-
|
|
422
|
-
self.hideHeader =
|
|
426
|
+
setHideHeader(b) {
|
|
427
|
+
self.hideHeader = b;
|
|
428
|
+
},
|
|
429
|
+
/**
|
|
430
|
+
* #action
|
|
431
|
+
*/
|
|
432
|
+
setHideHeaderOverview(b) {
|
|
433
|
+
self.hideHeaderOverview = b;
|
|
423
434
|
},
|
|
424
435
|
/**
|
|
425
436
|
* #action
|
|
426
437
|
*/
|
|
427
|
-
|
|
428
|
-
self.
|
|
438
|
+
setHideNoTracksActive(b) {
|
|
439
|
+
self.hideNoTracksActive = b;
|
|
429
440
|
},
|
|
430
441
|
/**
|
|
431
442
|
* #action
|
|
432
443
|
*/
|
|
433
|
-
|
|
434
|
-
self.
|
|
444
|
+
setShowGridlines(b) {
|
|
445
|
+
self.showGridlines = b;
|
|
435
446
|
},
|
|
436
447
|
/**
|
|
437
448
|
* #action
|
|
438
449
|
*/
|
|
439
|
-
|
|
440
|
-
self.
|
|
450
|
+
setHighlight(highlight) {
|
|
451
|
+
self.highlight = highlight;
|
|
441
452
|
},
|
|
442
453
|
/**
|
|
443
454
|
* #action
|
|
@@ -613,8 +624,8 @@ export function stateModelFactory(pluginManager) {
|
|
|
613
624
|
/**
|
|
614
625
|
* #action
|
|
615
626
|
*/
|
|
616
|
-
|
|
617
|
-
self.showCenterLine =
|
|
627
|
+
setShowCenterLine(b) {
|
|
628
|
+
self.showCenterLine = b;
|
|
618
629
|
},
|
|
619
630
|
/**
|
|
620
631
|
* #action
|
|
@@ -891,32 +902,32 @@ export function stateModelFactory(pluginManager) {
|
|
|
891
902
|
label: 'Show center line',
|
|
892
903
|
type: 'checkbox',
|
|
893
904
|
checked: self.showCenterLine,
|
|
894
|
-
onClick: self.
|
|
905
|
+
onClick: () => self.setShowCenterLine(!self.showCenterLine),
|
|
895
906
|
},
|
|
896
907
|
{
|
|
897
908
|
label: 'Show header',
|
|
898
909
|
type: 'checkbox',
|
|
899
910
|
checked: !self.hideHeader,
|
|
900
|
-
onClick: self.
|
|
911
|
+
onClick: () => self.setHideHeader(!self.hideHeader),
|
|
901
912
|
},
|
|
902
913
|
{
|
|
903
914
|
label: 'Show header overview',
|
|
904
915
|
type: 'checkbox',
|
|
905
916
|
checked: !self.hideHeaderOverview,
|
|
906
|
-
onClick: self.
|
|
917
|
+
onClick: () => self.setHideHeaderOverview(!self.hideHeaderOverview),
|
|
907
918
|
disabled: self.hideHeader,
|
|
908
919
|
},
|
|
909
920
|
{
|
|
910
921
|
label: 'Show no tracks active button',
|
|
911
922
|
type: 'checkbox',
|
|
912
923
|
checked: !self.hideNoTracksActive,
|
|
913
|
-
onClick: self.
|
|
924
|
+
onClick: () => self.setHideNoTracksActive(!self.hideNoTracksActive),
|
|
914
925
|
},
|
|
915
926
|
{
|
|
916
927
|
label: 'Show guidelines',
|
|
917
928
|
type: 'checkbox',
|
|
918
929
|
checked: self.showGridlines,
|
|
919
|
-
onClick: self.
|
|
930
|
+
onClick: () => self.setShowGridlines(!self.showGridlines),
|
|
920
931
|
},
|
|
921
932
|
...(canShowCytobands
|
|
922
933
|
? [
|
|
@@ -24,8 +24,8 @@ export declare function generateLocations(regions: ParsedLocString[] | undefined
|
|
|
24
24
|
assemblyName: string;
|
|
25
25
|
parentRegion: import("@jbrowse/core/assemblyManager/assembly").BasicRegion;
|
|
26
26
|
end?: number | undefined;
|
|
27
|
-
reversed?: boolean | undefined;
|
|
28
27
|
start?: number | undefined;
|
|
28
|
+
reversed?: boolean | undefined;
|
|
29
29
|
refName: string;
|
|
30
30
|
}[]>;
|
|
31
31
|
/**
|
package/esm/index.d.ts
CHANGED
|
@@ -38,8 +38,15 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
38
38
|
message: string | undefined;
|
|
39
39
|
maxHeightReached: boolean;
|
|
40
40
|
ReactComponent: ({ model, }: {
|
|
41
|
-
model:
|
|
42
|
-
|
|
41
|
+
model: {
|
|
42
|
+
error?: unknown;
|
|
43
|
+
reload: () => void;
|
|
44
|
+
message: import("react").ReactNode;
|
|
45
|
+
filled?: boolean | undefined;
|
|
46
|
+
status?: string | undefined;
|
|
47
|
+
reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
48
|
+
};
|
|
49
|
+
}) => import("react").JSX.Element | undefined;
|
|
43
50
|
renderProps: any;
|
|
44
51
|
} & {
|
|
45
52
|
doReload(): void;
|
|
@@ -83,8 +90,15 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
83
90
|
message: string | undefined;
|
|
84
91
|
maxHeightReached: boolean;
|
|
85
92
|
ReactComponent: ({ model, }: {
|
|
86
|
-
model:
|
|
87
|
-
|
|
93
|
+
model: {
|
|
94
|
+
error?: unknown;
|
|
95
|
+
reload: () => void;
|
|
96
|
+
message: import("react").ReactNode;
|
|
97
|
+
filled?: boolean | undefined;
|
|
98
|
+
status?: string | undefined;
|
|
99
|
+
reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
100
|
+
};
|
|
101
|
+
}) => import("react").JSX.Element | undefined;
|
|
88
102
|
renderProps: any;
|
|
89
103
|
} & {
|
|
90
104
|
doReload(): void;
|
|
@@ -292,8 +306,15 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
292
306
|
message: string | undefined;
|
|
293
307
|
maxHeightReached: boolean;
|
|
294
308
|
ReactComponent: ({ model, }: {
|
|
295
|
-
model:
|
|
296
|
-
|
|
309
|
+
model: {
|
|
310
|
+
error?: unknown;
|
|
311
|
+
reload: () => void;
|
|
312
|
+
message: import("react").ReactNode;
|
|
313
|
+
filled?: boolean | undefined;
|
|
314
|
+
status?: string | undefined;
|
|
315
|
+
reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
316
|
+
};
|
|
317
|
+
}) => import("react").JSX.Element | undefined;
|
|
297
318
|
renderProps: any;
|
|
298
319
|
} & {
|
|
299
320
|
doReload(): void;
|
|
@@ -497,8 +518,15 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
497
518
|
message: string | undefined;
|
|
498
519
|
maxHeightReached: boolean;
|
|
499
520
|
ReactComponent: ({ model, }: {
|
|
500
|
-
model:
|
|
501
|
-
|
|
521
|
+
model: {
|
|
522
|
+
error?: unknown;
|
|
523
|
+
reload: () => void;
|
|
524
|
+
message: import("react").ReactNode;
|
|
525
|
+
filled?: boolean | undefined;
|
|
526
|
+
status?: string | undefined;
|
|
527
|
+
reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
528
|
+
};
|
|
529
|
+
}) => import("react").JSX.Element | undefined;
|
|
502
530
|
renderProps: any;
|
|
503
531
|
} & {
|
|
504
532
|
doReload(): void;
|
|
@@ -587,8 +615,15 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
587
615
|
message: string | undefined;
|
|
588
616
|
maxHeightReached: boolean;
|
|
589
617
|
ReactComponent: ({ model, }: {
|
|
590
|
-
model:
|
|
591
|
-
|
|
618
|
+
model: {
|
|
619
|
+
error?: unknown;
|
|
620
|
+
reload: () => void;
|
|
621
|
+
message: import("react").ReactNode;
|
|
622
|
+
filled?: boolean | undefined;
|
|
623
|
+
status?: string | undefined;
|
|
624
|
+
reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
625
|
+
};
|
|
626
|
+
}) => import("react").JSX.Element | undefined;
|
|
592
627
|
renderProps: any;
|
|
593
628
|
} & {
|
|
594
629
|
doReload(): void;
|
|
@@ -792,8 +827,15 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
792
827
|
message: string | undefined;
|
|
793
828
|
maxHeightReached: boolean;
|
|
794
829
|
ReactComponent: ({ model, }: {
|
|
795
|
-
model:
|
|
796
|
-
|
|
830
|
+
model: {
|
|
831
|
+
error?: unknown;
|
|
832
|
+
reload: () => void;
|
|
833
|
+
message: import("react").ReactNode;
|
|
834
|
+
filled?: boolean | undefined;
|
|
835
|
+
status?: string | undefined;
|
|
836
|
+
reactElement?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
837
|
+
};
|
|
838
|
+
}) => import("react").JSX.Element | undefined;
|
|
797
839
|
renderProps: any;
|
|
798
840
|
} & {
|
|
799
841
|
doReload(): void;
|
|
@@ -904,6 +946,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
904
946
|
showCytobandsSetting: boolean;
|
|
905
947
|
trackLabels: string;
|
|
906
948
|
showGridlines: boolean;
|
|
949
|
+
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;
|
|
907
950
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
908
951
|
width: number;
|
|
909
952
|
} & {
|
|
@@ -964,10 +1007,11 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
964
1007
|
setShowCytobands(flag: boolean): void;
|
|
965
1008
|
setWidth(newWidth: number): void;
|
|
966
1009
|
setError(error: unknown): void;
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
1010
|
+
setHideHeader(b: boolean): void;
|
|
1011
|
+
setHideHeaderOverview(b: boolean): void;
|
|
1012
|
+
setHideNoTracksActive(b: boolean): void;
|
|
1013
|
+
setShowGridlines(b: boolean): void;
|
|
1014
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
971
1015
|
scrollTo(offsetPx: number): number;
|
|
972
1016
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
973
1017
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -981,7 +1025,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
981
1025
|
closeView(): void;
|
|
982
1026
|
toggleTrack(trackId: string): boolean;
|
|
983
1027
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
984
|
-
|
|
1028
|
+
setShowCenterLine(b: boolean): void;
|
|
985
1029
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
986
1030
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
987
1031
|
getSelectedRegions(leftOffset?: import("./LinearGenomeView").BpOffset | undefined, rightOffset?: import("./LinearGenomeView").BpOffset | undefined): {
|
|
@@ -1223,6 +1267,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1223
1267
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1224
1268
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1225
1269
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1270
|
+
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>>>;
|
|
1226
1271
|
}, {
|
|
1227
1272
|
width: number;
|
|
1228
1273
|
} & {
|
|
@@ -1283,10 +1328,11 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1283
1328
|
setShowCytobands(flag: boolean): void;
|
|
1284
1329
|
setWidth(newWidth: number): void;
|
|
1285
1330
|
setError(error: unknown): void;
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1331
|
+
setHideHeader(b: boolean): void;
|
|
1332
|
+
setHideHeaderOverview(b: boolean): void;
|
|
1333
|
+
setHideNoTracksActive(b: boolean): void;
|
|
1334
|
+
setShowGridlines(b: boolean): void;
|
|
1335
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
1290
1336
|
scrollTo(offsetPx: number): number;
|
|
1291
1337
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
1292
1338
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -1300,7 +1346,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1300
1346
|
closeView(): void;
|
|
1301
1347
|
toggleTrack(trackId: string): boolean;
|
|
1302
1348
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
1303
|
-
|
|
1349
|
+
setShowCenterLine(b: boolean): void;
|
|
1304
1350
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1305
1351
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
1306
1352
|
getSelectedRegions(leftOffset?: import("./LinearGenomeView").BpOffset | undefined, rightOffset?: import("./LinearGenomeView").BpOffset | undefined): {
|
|
@@ -1552,6 +1598,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1552
1598
|
showCytobandsSetting: boolean;
|
|
1553
1599
|
trackLabels: string;
|
|
1554
1600
|
showGridlines: boolean;
|
|
1601
|
+
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;
|
|
1555
1602
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1556
1603
|
width: number;
|
|
1557
1604
|
} & {
|
|
@@ -1612,10 +1659,11 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1612
1659
|
setShowCytobands(flag: boolean): void;
|
|
1613
1660
|
setWidth(newWidth: number): void;
|
|
1614
1661
|
setError(error: unknown): void;
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1662
|
+
setHideHeader(b: boolean): void;
|
|
1663
|
+
setHideHeaderOverview(b: boolean): void;
|
|
1664
|
+
setHideNoTracksActive(b: boolean): void;
|
|
1665
|
+
setShowGridlines(b: boolean): void;
|
|
1666
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
1619
1667
|
scrollTo(offsetPx: number): number;
|
|
1620
1668
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
1621
1669
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -1629,7 +1677,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1629
1677
|
closeView(): void;
|
|
1630
1678
|
toggleTrack(trackId: string): boolean;
|
|
1631
1679
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
1632
|
-
|
|
1680
|
+
setShowCenterLine(b: boolean): void;
|
|
1633
1681
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1634
1682
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
1635
1683
|
getSelectedRegions(leftOffset?: import("./LinearGenomeView").BpOffset | undefined, rightOffset?: import("./LinearGenomeView").BpOffset | undefined): {
|
|
@@ -1871,6 +1919,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1871
1919
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
1872
1920
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
1873
1921
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1922
|
+
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>>>;
|
|
1874
1923
|
}, {
|
|
1875
1924
|
width: number;
|
|
1876
1925
|
} & {
|
|
@@ -1931,10 +1980,11 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1931
1980
|
setShowCytobands(flag: boolean): void;
|
|
1932
1981
|
setWidth(newWidth: number): void;
|
|
1933
1982
|
setError(error: unknown): void;
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1983
|
+
setHideHeader(b: boolean): void;
|
|
1984
|
+
setHideHeaderOverview(b: boolean): void;
|
|
1985
|
+
setHideNoTracksActive(b: boolean): void;
|
|
1986
|
+
setShowGridlines(b: boolean): void;
|
|
1987
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
1938
1988
|
scrollTo(offsetPx: number): number;
|
|
1939
1989
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
1940
1990
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -1948,7 +1998,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
1948
1998
|
closeView(): void;
|
|
1949
1999
|
toggleTrack(trackId: string): boolean;
|
|
1950
2000
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
1951
|
-
|
|
2001
|
+
setShowCenterLine(b: boolean): void;
|
|
1952
2002
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1953
2003
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
1954
2004
|
getSelectedRegions(leftOffset?: import("./LinearGenomeView").BpOffset | undefined, rightOffset?: import("./LinearGenomeView").BpOffset | undefined): {
|
|
@@ -2200,6 +2250,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
2200
2250
|
showCytobandsSetting: boolean;
|
|
2201
2251
|
trackLabels: string;
|
|
2202
2252
|
showGridlines: boolean;
|
|
2253
|
+
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;
|
|
2203
2254
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2204
2255
|
width: number;
|
|
2205
2256
|
} & {
|
|
@@ -2260,10 +2311,11 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
2260
2311
|
setShowCytobands(flag: boolean): void;
|
|
2261
2312
|
setWidth(newWidth: number): void;
|
|
2262
2313
|
setError(error: unknown): void;
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2314
|
+
setHideHeader(b: boolean): void;
|
|
2315
|
+
setHideHeaderOverview(b: boolean): void;
|
|
2316
|
+
setHideNoTracksActive(b: boolean): void;
|
|
2317
|
+
setShowGridlines(b: boolean): void;
|
|
2318
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
2267
2319
|
scrollTo(offsetPx: number): number;
|
|
2268
2320
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
2269
2321
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -2277,7 +2329,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
2277
2329
|
closeView(): void;
|
|
2278
2330
|
toggleTrack(trackId: string): boolean;
|
|
2279
2331
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
2280
|
-
|
|
2332
|
+
setShowCenterLine(b: boolean): void;
|
|
2281
2333
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
2282
2334
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
2283
2335
|
getSelectedRegions(leftOffset?: import("./LinearGenomeView").BpOffset | undefined, rightOffset?: import("./LinearGenomeView").BpOffset | undefined): {
|
|
@@ -2519,6 +2571,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
2519
2571
|
showCytobandsSetting: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
2520
2572
|
trackLabels: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
2521
2573
|
showGridlines: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2574
|
+
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>>>;
|
|
2522
2575
|
}, {
|
|
2523
2576
|
width: number;
|
|
2524
2577
|
} & {
|
|
@@ -2579,10 +2632,11 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
2579
2632
|
setShowCytobands(flag: boolean): void;
|
|
2580
2633
|
setWidth(newWidth: number): void;
|
|
2581
2634
|
setError(error: unknown): void;
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2635
|
+
setHideHeader(b: boolean): void;
|
|
2636
|
+
setHideHeaderOverview(b: boolean): void;
|
|
2637
|
+
setHideNoTracksActive(b: boolean): void;
|
|
2638
|
+
setShowGridlines(b: boolean): void;
|
|
2639
|
+
setHighlight(highlight: Required<import("@jbrowse/core/util").ParsedLocString> | undefined): void;
|
|
2586
2640
|
scrollTo(offsetPx: number): number;
|
|
2587
2641
|
zoomTo(bpPerPx: number, offset?: number, centerAtOffset?: boolean): number;
|
|
2588
2642
|
setOffsets(left?: import("./LinearGenomeView").BpOffset | undefined, right?: import("./LinearGenomeView").BpOffset | undefined): void;
|
|
@@ -2596,7 +2650,7 @@ export default class LinearGenomeViewPlugin extends Plugin {
|
|
|
2596
2650
|
closeView(): void;
|
|
2597
2651
|
toggleTrack(trackId: string): boolean;
|
|
2598
2652
|
setTrackLabels(setting: "offset" | "hidden" | "overlapping"): void;
|
|
2599
|
-
|
|
2653
|
+
setShowCenterLine(b: boolean): void;
|
|
2600
2654
|
setDisplayedRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
2601
2655
|
activateTrackSelector(): import("@jbrowse/core/util").Widget;
|
|
2602
2656
|
getSelectedRegions(leftOffset?: import("./LinearGenomeView").BpOffset | undefined, rightOffset?: import("./LinearGenomeView").BpOffset | undefined): {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-linear-genome-view",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.3",
|
|
4
4
|
"description": "JBrowse 2 linear genome view",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -63,5 +63,5 @@
|
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
65
|
"module": "esm/index.js",
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "c8fc800cd17decd72b2e971c7a6add3b95214e72"
|
|
67
67
|
}
|