@jbrowse/web-core 2.10.3 → 2.11.0
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/BaseWebSession/index.d.ts +104 -121
- package/dist/BaseWebSession/index.js +7 -5
- package/esm/BaseWebSession/index.d.ts +104 -121
- package/esm/BaseWebSession/index.js +7 -5
- package/package.json +4 -4
|
@@ -3,8 +3,8 @@ import { AnyConfigurationModel, AnyConfiguration } from '@jbrowse/core/configura
|
|
|
3
3
|
import { JBrowsePlugin } from '@jbrowse/core/util/types';
|
|
4
4
|
import { SnapshotIn } from 'mobx-state-tree';
|
|
5
5
|
import TextSearchManager from '@jbrowse/core/TextSearch/TextSearchManager';
|
|
6
|
-
import { BaseTrackConfig } from '@jbrowse/core/pluggableElementTypes';
|
|
7
6
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
7
|
+
import { BaseTrackConfig } from '@jbrowse/core/pluggableElementTypes';
|
|
8
8
|
import { BaseAssemblyConfigSchema } from '@jbrowse/core/assemblyManager';
|
|
9
9
|
/**
|
|
10
10
|
* #stateModel BaseWebSession
|
|
@@ -201,6 +201,21 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
201
201
|
} & {
|
|
202
202
|
readonly visibleWidget: any;
|
|
203
203
|
} & {
|
|
204
|
+
/**
|
|
205
|
+
* #stateModel BaseWebSession
|
|
206
|
+
* used for "web based" products, including jbrowse-web and react-app
|
|
207
|
+
* composed of
|
|
208
|
+
* - [ReferenceManagementSessionMixin](../referencemanagementsessionmixin)
|
|
209
|
+
* - [DrawerWidgetSessionMixin](../drawerwidgetsessionmixin)
|
|
210
|
+
* - [DialogQueueSessionMixin](../dialogqueuesessionmixin)
|
|
211
|
+
* - [ThemeManagerSessionMixin](../thememanagersessionmixin)
|
|
212
|
+
* - [MultipleViewsSessionMixin](../multipleviewssessionmixin)
|
|
213
|
+
* - [SessionTracksManagerSessionMixin](../sessiontracksmanagersessionmixin)
|
|
214
|
+
* - [SessionAssembliesMixin](../sessionassembliesmixin)
|
|
215
|
+
* - [TemporaryAssembliesMixin](../temporaryassembliesmixin)
|
|
216
|
+
* - [WebSessionConnectionsMixin](../websessionconnectionsmixin)
|
|
217
|
+
* - [AppFocusMixin](../appfocusmixin)
|
|
218
|
+
*/
|
|
204
219
|
setDrawerPosition(arg: string): void;
|
|
205
220
|
updateDrawerWidth(drawerWidth: number): number;
|
|
206
221
|
resizeDrawer(distance: number): number;
|
|
@@ -209,7 +224,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
209
224
|
hasWidget(widget: any): boolean;
|
|
210
225
|
hideWidget(widget: any): void;
|
|
211
226
|
minimizeWidgetDrawer(): void;
|
|
212
|
-
showWidgetDrawer(): void;
|
|
227
|
+
showWidgetDrawer(): void; /**
|
|
228
|
+
* #getter
|
|
229
|
+
*/
|
|
213
230
|
hideAllWidgets(): void;
|
|
214
231
|
editConfiguration(configuration: {
|
|
215
232
|
[x: string]: any;
|
|
@@ -390,16 +407,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
390
407
|
} & {
|
|
391
408
|
readonly initialized: boolean;
|
|
392
409
|
readonly name: string;
|
|
393
|
-
/**
|
|
394
|
-
* #getter
|
|
395
|
-
* list of config connections and session connections
|
|
396
|
-
*/
|
|
397
410
|
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
398
411
|
readonly aliases: string[];
|
|
399
412
|
readonly displayName: string | undefined;
|
|
400
413
|
hasName(name: string): boolean;
|
|
401
414
|
readonly allAliases: string[];
|
|
402
|
-
readonly allRefNames: string[] | undefined;
|
|
415
|
+
readonly allRefNames: string[] | undefined; /**
|
|
416
|
+
* #getter
|
|
417
|
+
*/
|
|
403
418
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
404
419
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
405
420
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
@@ -411,7 +426,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
411
426
|
getRefNameColor(refName: string): string | undefined;
|
|
412
427
|
isValidRefName(refName: string): boolean;
|
|
413
428
|
} & {
|
|
414
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
429
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void; /**
|
|
430
|
+
* #getter
|
|
431
|
+
*/
|
|
415
432
|
setError(e: unknown): void;
|
|
416
433
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
417
434
|
setRefNameAliases(aliases: {
|
|
@@ -421,9 +438,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
421
438
|
}): void;
|
|
422
439
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
423
440
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
424
|
-
load(): Promise<void>;
|
|
425
|
-
* #method
|
|
426
|
-
*/
|
|
441
|
+
load(): Promise<void>;
|
|
427
442
|
loadPre(): Promise<void>;
|
|
428
443
|
} & {
|
|
429
444
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -464,7 +479,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
464
479
|
hasName(name: string): boolean;
|
|
465
480
|
readonly allAliases: string[];
|
|
466
481
|
readonly allRefNames: string[] | undefined;
|
|
467
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
482
|
+
readonly lowerCaseRefNames: string[] | undefined; /**
|
|
483
|
+
* #action
|
|
484
|
+
*/
|
|
468
485
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
469
486
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
470
487
|
readonly refNameColors: string[];
|
|
@@ -826,9 +843,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
826
843
|
}): void;
|
|
827
844
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
828
845
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
829
|
-
load(): Promise<void>;
|
|
830
|
-
* #property
|
|
831
|
-
*/
|
|
846
|
+
load(): Promise<void>;
|
|
832
847
|
loadPre(): Promise<void>;
|
|
833
848
|
} & {
|
|
834
849
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -843,9 +858,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
843
858
|
[x: string]: unknown;
|
|
844
859
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
845
860
|
[x: string]: string | undefined;
|
|
846
|
-
}>;
|
|
847
|
-
* #getter
|
|
848
|
-
*/
|
|
861
|
+
}>;
|
|
849
862
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
850
863
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
851
864
|
}, {
|
|
@@ -892,9 +905,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
892
905
|
}): void;
|
|
893
906
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
894
907
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
895
|
-
load(): Promise<void>;
|
|
896
|
-
* #property
|
|
897
|
-
*/
|
|
908
|
+
load(): Promise<void>;
|
|
898
909
|
loadPre(): Promise<void>;
|
|
899
910
|
} & {
|
|
900
911
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -909,9 +920,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
909
920
|
[x: string]: unknown;
|
|
910
921
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
911
922
|
[x: string]: string | undefined;
|
|
912
|
-
}>;
|
|
913
|
-
* #getter
|
|
914
|
-
*/
|
|
923
|
+
}>;
|
|
915
924
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
916
925
|
addAssembly(configuration: any): void;
|
|
917
926
|
replaceAssembly(idx: number, configuration: any): void;
|
|
@@ -999,16 +1008,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
999
1008
|
} & {
|
|
1000
1009
|
readonly initialized: boolean;
|
|
1001
1010
|
readonly name: string;
|
|
1002
|
-
/**
|
|
1003
|
-
* #getter
|
|
1004
|
-
* list of config connections and session connections
|
|
1005
|
-
*/
|
|
1006
1011
|
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1007
1012
|
readonly aliases: string[];
|
|
1008
1013
|
readonly displayName: string | undefined;
|
|
1009
1014
|
hasName(name: string): boolean;
|
|
1010
1015
|
readonly allAliases: string[];
|
|
1011
|
-
readonly allRefNames: string[] | undefined;
|
|
1016
|
+
readonly allRefNames: string[] | undefined; /**
|
|
1017
|
+
* #getter
|
|
1018
|
+
*/
|
|
1012
1019
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
1013
1020
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1014
1021
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
@@ -1020,7 +1027,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1020
1027
|
getRefNameColor(refName: string): string | undefined;
|
|
1021
1028
|
isValidRefName(refName: string): boolean;
|
|
1022
1029
|
} & {
|
|
1023
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
1030
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void; /**
|
|
1031
|
+
* #getter
|
|
1032
|
+
*/
|
|
1024
1033
|
setError(e: unknown): void;
|
|
1025
1034
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1026
1035
|
setRefNameAliases(aliases: {
|
|
@@ -1030,9 +1039,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1030
1039
|
}): void;
|
|
1031
1040
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1032
1041
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
1033
|
-
load(): Promise<void>;
|
|
1034
|
-
* #method
|
|
1035
|
-
*/
|
|
1042
|
+
load(): Promise<void>;
|
|
1036
1043
|
loadPre(): Promise<void>;
|
|
1037
1044
|
} & {
|
|
1038
1045
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -1073,7 +1080,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1073
1080
|
hasName(name: string): boolean;
|
|
1074
1081
|
readonly allAliases: string[];
|
|
1075
1082
|
readonly allRefNames: string[] | undefined;
|
|
1076
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
1083
|
+
readonly lowerCaseRefNames: string[] | undefined; /**
|
|
1084
|
+
* #action
|
|
1085
|
+
*/
|
|
1077
1086
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1078
1087
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1079
1088
|
readonly refNameColors: string[];
|
|
@@ -1435,9 +1444,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1435
1444
|
}): void;
|
|
1436
1445
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1437
1446
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
1438
|
-
load(): Promise<void>;
|
|
1439
|
-
* #property
|
|
1440
|
-
*/
|
|
1447
|
+
load(): Promise<void>;
|
|
1441
1448
|
loadPre(): Promise<void>;
|
|
1442
1449
|
} & {
|
|
1443
1450
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -1452,9 +1459,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1452
1459
|
[x: string]: unknown;
|
|
1453
1460
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1454
1461
|
[x: string]: string | undefined;
|
|
1455
|
-
}>;
|
|
1456
|
-
* #getter
|
|
1457
|
-
*/
|
|
1462
|
+
}>;
|
|
1458
1463
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1459
1464
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
1460
1465
|
}, {
|
|
@@ -1501,9 +1506,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1501
1506
|
}): void;
|
|
1502
1507
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1503
1508
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
1504
|
-
load(): Promise<void>;
|
|
1505
|
-
* #property
|
|
1506
|
-
*/
|
|
1509
|
+
load(): Promise<void>;
|
|
1507
1510
|
loadPre(): Promise<void>;
|
|
1508
1511
|
} & {
|
|
1509
1512
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -1518,9 +1521,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1518
1521
|
[x: string]: unknown;
|
|
1519
1522
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1520
1523
|
[x: string]: string | undefined;
|
|
1521
|
-
}>;
|
|
1522
|
-
* #getter
|
|
1523
|
-
*/
|
|
1524
|
+
}>;
|
|
1524
1525
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
1525
1526
|
addAssembly(configuration: any): void;
|
|
1526
1527
|
replaceAssembly(idx: number, configuration: any): void;
|
|
@@ -1625,16 +1626,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1625
1626
|
} & {
|
|
1626
1627
|
readonly initialized: boolean;
|
|
1627
1628
|
readonly name: string;
|
|
1628
|
-
/**
|
|
1629
|
-
* #getter
|
|
1630
|
-
* list of config connections and session connections
|
|
1631
|
-
*/
|
|
1632
1629
|
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1633
1630
|
readonly aliases: string[];
|
|
1634
1631
|
readonly displayName: string | undefined;
|
|
1635
1632
|
hasName(name: string): boolean;
|
|
1636
1633
|
readonly allAliases: string[];
|
|
1637
|
-
readonly allRefNames: string[] | undefined;
|
|
1634
|
+
readonly allRefNames: string[] | undefined; /**
|
|
1635
|
+
* #getter
|
|
1636
|
+
*/
|
|
1638
1637
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
1639
1638
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1640
1639
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
@@ -1646,7 +1645,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1646
1645
|
getRefNameColor(refName: string): string | undefined;
|
|
1647
1646
|
isValidRefName(refName: string): boolean;
|
|
1648
1647
|
} & {
|
|
1649
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
1648
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void; /**
|
|
1649
|
+
* #getter
|
|
1650
|
+
*/
|
|
1650
1651
|
setError(e: unknown): void;
|
|
1651
1652
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1652
1653
|
setRefNameAliases(aliases: {
|
|
@@ -1656,9 +1657,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1656
1657
|
}): void;
|
|
1657
1658
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1658
1659
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
1659
|
-
load(): Promise<void>;
|
|
1660
|
-
* #method
|
|
1661
|
-
*/
|
|
1660
|
+
load(): Promise<void>;
|
|
1662
1661
|
loadPre(): Promise<void>;
|
|
1663
1662
|
} & {
|
|
1664
1663
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -1699,7 +1698,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1699
1698
|
hasName(name: string): boolean;
|
|
1700
1699
|
readonly allAliases: string[];
|
|
1701
1700
|
readonly allRefNames: string[] | undefined;
|
|
1702
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
1701
|
+
readonly lowerCaseRefNames: string[] | undefined; /**
|
|
1702
|
+
* #action
|
|
1703
|
+
*/
|
|
1703
1704
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1704
1705
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1705
1706
|
readonly refNameColors: string[];
|
|
@@ -2061,9 +2062,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2061
2062
|
}): void;
|
|
2062
2063
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
2063
2064
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
2064
|
-
load(): Promise<void>;
|
|
2065
|
-
* #property
|
|
2066
|
-
*/
|
|
2065
|
+
load(): Promise<void>;
|
|
2067
2066
|
loadPre(): Promise<void>;
|
|
2068
2067
|
} & {
|
|
2069
2068
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -2078,9 +2077,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2078
2077
|
[x: string]: unknown;
|
|
2079
2078
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
2080
2079
|
[x: string]: string | undefined;
|
|
2081
|
-
}>;
|
|
2082
|
-
* #getter
|
|
2083
|
-
*/
|
|
2080
|
+
}>;
|
|
2084
2081
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2085
2082
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
2086
2083
|
}, {
|
|
@@ -2127,9 +2124,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2127
2124
|
}): void;
|
|
2128
2125
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
2129
2126
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
2130
|
-
load(): Promise<void>;
|
|
2131
|
-
* #property
|
|
2132
|
-
*/
|
|
2127
|
+
load(): Promise<void>;
|
|
2133
2128
|
loadPre(): Promise<void>;
|
|
2134
2129
|
} & {
|
|
2135
2130
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -2144,9 +2139,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2144
2139
|
[x: string]: unknown;
|
|
2145
2140
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
2146
2141
|
[x: string]: string | undefined;
|
|
2147
|
-
}>;
|
|
2148
|
-
* #getter
|
|
2149
|
-
*/
|
|
2142
|
+
}>;
|
|
2150
2143
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
2151
2144
|
addAssembly(configuration: any): void;
|
|
2152
2145
|
replaceAssembly(idx: number, configuration: any): void;
|
|
@@ -2208,8 +2201,10 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2208
2201
|
clearSelection(): void;
|
|
2209
2202
|
setHovered(thing: unknown): void;
|
|
2210
2203
|
} & {
|
|
2211
|
-
moveViewUp(id: string): void;
|
|
2212
2204
|
moveViewDown(id: string): void;
|
|
2205
|
+
moveViewUp(id: string): void;
|
|
2206
|
+
moveViewToTop(id: string): void;
|
|
2207
|
+
moveViewToBottom(id: string): void;
|
|
2213
2208
|
addView(typeName: string, initialState?: {}): any;
|
|
2214
2209
|
removeView(view: {
|
|
2215
2210
|
id: string;
|
|
@@ -2468,7 +2463,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2468
2463
|
[x: string]: any;
|
|
2469
2464
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2470
2465
|
setSubschema(slotName: string, data: unknown): any;
|
|
2471
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
|
|
2466
|
+
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void; /**
|
|
2467
|
+
* #property
|
|
2468
|
+
*/
|
|
2472
2469
|
deleteConnection(configuration: {
|
|
2473
2470
|
[x: string]: any;
|
|
2474
2471
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
@@ -2504,6 +2501,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2504
2501
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
|
|
2505
2502
|
} & {
|
|
2506
2503
|
setFocusedViewId(viewId: string): void;
|
|
2504
|
+
} & {
|
|
2505
|
+
snackbarMessages: import("mobx").IObservableArray<import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
|
|
2506
|
+
} & {
|
|
2507
|
+
notify(message: string, level?: import("@jbrowse/core/util").NotificationLevel | undefined, action?: import("@jbrowse/core/util").SnackAction | undefined): void;
|
|
2508
|
+
notifyError(errorMessage: string, error?: unknown, extra?: unknown): void;
|
|
2509
|
+
pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util").NotificationLevel | undefined, action?: import("@jbrowse/core/util").SnackAction | undefined): number;
|
|
2510
|
+
popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
|
|
2511
|
+
removeSnackbarMessage(message: string): void;
|
|
2507
2512
|
} & {
|
|
2508
2513
|
/**
|
|
2509
2514
|
* #volatile
|
|
@@ -2753,16 +2758,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2753
2758
|
} & {
|
|
2754
2759
|
readonly initialized: boolean;
|
|
2755
2760
|
readonly name: string;
|
|
2756
|
-
/**
|
|
2757
|
-
* #getter
|
|
2758
|
-
* list of config connections and session connections
|
|
2759
|
-
*/
|
|
2760
2761
|
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
2761
2762
|
readonly aliases: string[];
|
|
2762
2763
|
readonly displayName: string | undefined;
|
|
2763
2764
|
hasName(name: string): boolean;
|
|
2764
2765
|
readonly allAliases: string[];
|
|
2765
|
-
readonly allRefNames: string[] | undefined;
|
|
2766
|
+
readonly allRefNames: string[] | undefined; /**
|
|
2767
|
+
* #getter
|
|
2768
|
+
*/
|
|
2766
2769
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
2767
2770
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
2768
2771
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
@@ -2774,7 +2777,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2774
2777
|
getRefNameColor(refName: string): string | undefined;
|
|
2775
2778
|
isValidRefName(refName: string): boolean;
|
|
2776
2779
|
} & {
|
|
2777
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
2780
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void; /**
|
|
2781
|
+
* #getter
|
|
2782
|
+
*/
|
|
2778
2783
|
setError(e: unknown): void;
|
|
2779
2784
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
2780
2785
|
setRefNameAliases(aliases: {
|
|
@@ -2784,9 +2789,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2784
2789
|
}): void;
|
|
2785
2790
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
2786
2791
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
2787
|
-
load(): Promise<void>;
|
|
2788
|
-
* #method
|
|
2789
|
-
*/
|
|
2792
|
+
load(): Promise<void>;
|
|
2790
2793
|
loadPre(): Promise<void>;
|
|
2791
2794
|
} & {
|
|
2792
2795
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -2827,7 +2830,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2827
2830
|
hasName(name: string): boolean;
|
|
2828
2831
|
readonly allAliases: string[];
|
|
2829
2832
|
readonly allRefNames: string[] | undefined;
|
|
2830
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
2833
|
+
readonly lowerCaseRefNames: string[] | undefined; /**
|
|
2834
|
+
* #action
|
|
2835
|
+
*/
|
|
2831
2836
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
2832
2837
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
2833
2838
|
readonly refNameColors: string[];
|
|
@@ -3189,9 +3194,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3189
3194
|
}): void;
|
|
3190
3195
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
3191
3196
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
3192
|
-
load(): Promise<void>;
|
|
3193
|
-
* #property
|
|
3194
|
-
*/
|
|
3197
|
+
load(): Promise<void>;
|
|
3195
3198
|
loadPre(): Promise<void>;
|
|
3196
3199
|
} & {
|
|
3197
3200
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -3206,9 +3209,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3206
3209
|
[x: string]: unknown;
|
|
3207
3210
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
3208
3211
|
[x: string]: string | undefined;
|
|
3209
|
-
}>;
|
|
3210
|
-
* #getter
|
|
3211
|
-
*/
|
|
3212
|
+
}>;
|
|
3212
3213
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3213
3214
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
3214
3215
|
}, {
|
|
@@ -3255,9 +3256,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3255
3256
|
}): void;
|
|
3256
3257
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
3257
3258
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
3258
|
-
load(): Promise<void>;
|
|
3259
|
-
* #property
|
|
3260
|
-
*/
|
|
3259
|
+
load(): Promise<void>;
|
|
3261
3260
|
loadPre(): Promise<void>;
|
|
3262
3261
|
} & {
|
|
3263
3262
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -3272,9 +3271,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3272
3271
|
[x: string]: unknown;
|
|
3273
3272
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
3274
3273
|
[x: string]: string | undefined;
|
|
3275
|
-
}>;
|
|
3276
|
-
* #getter
|
|
3277
|
-
*/
|
|
3274
|
+
}>;
|
|
3278
3275
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
3279
3276
|
addAssembly(configuration: any): void;
|
|
3280
3277
|
replaceAssembly(idx: number, configuration: any): void;
|
|
@@ -3362,16 +3359,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3362
3359
|
} & {
|
|
3363
3360
|
readonly initialized: boolean;
|
|
3364
3361
|
readonly name: string;
|
|
3365
|
-
/**
|
|
3366
|
-
* #getter
|
|
3367
|
-
* list of config connections and session connections
|
|
3368
|
-
*/
|
|
3369
3362
|
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
3370
3363
|
readonly aliases: string[];
|
|
3371
3364
|
readonly displayName: string | undefined;
|
|
3372
3365
|
hasName(name: string): boolean;
|
|
3373
3366
|
readonly allAliases: string[];
|
|
3374
|
-
readonly allRefNames: string[] | undefined;
|
|
3367
|
+
readonly allRefNames: string[] | undefined; /**
|
|
3368
|
+
* #getter
|
|
3369
|
+
*/
|
|
3375
3370
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
3376
3371
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
3377
3372
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
@@ -3383,7 +3378,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3383
3378
|
getRefNameColor(refName: string): string | undefined;
|
|
3384
3379
|
isValidRefName(refName: string): boolean;
|
|
3385
3380
|
} & {
|
|
3386
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
3381
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void; /**
|
|
3382
|
+
* #getter
|
|
3383
|
+
*/
|
|
3387
3384
|
setError(e: unknown): void;
|
|
3388
3385
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
3389
3386
|
setRefNameAliases(aliases: {
|
|
@@ -3393,9 +3390,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3393
3390
|
}): void;
|
|
3394
3391
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
3395
3392
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
3396
|
-
load(): Promise<void>;
|
|
3397
|
-
* #method
|
|
3398
|
-
*/
|
|
3393
|
+
load(): Promise<void>;
|
|
3399
3394
|
loadPre(): Promise<void>;
|
|
3400
3395
|
} & {
|
|
3401
3396
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -3436,7 +3431,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3436
3431
|
hasName(name: string): boolean;
|
|
3437
3432
|
readonly allAliases: string[];
|
|
3438
3433
|
readonly allRefNames: string[] | undefined;
|
|
3439
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
3434
|
+
readonly lowerCaseRefNames: string[] | undefined; /**
|
|
3435
|
+
* #action
|
|
3436
|
+
*/
|
|
3440
3437
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
3441
3438
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
3442
3439
|
readonly refNameColors: string[];
|
|
@@ -3798,9 +3795,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3798
3795
|
}): void;
|
|
3799
3796
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
3800
3797
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
3801
|
-
load(): Promise<void>;
|
|
3802
|
-
* #property
|
|
3803
|
-
*/
|
|
3798
|
+
load(): Promise<void>;
|
|
3804
3799
|
loadPre(): Promise<void>;
|
|
3805
3800
|
} & {
|
|
3806
3801
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -3815,9 +3810,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3815
3810
|
[x: string]: unknown;
|
|
3816
3811
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
3817
3812
|
[x: string]: string | undefined;
|
|
3818
|
-
}>;
|
|
3819
|
-
* #getter
|
|
3820
|
-
*/
|
|
3813
|
+
}>;
|
|
3821
3814
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3822
3815
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
3823
3816
|
}, {
|
|
@@ -3864,9 +3857,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3864
3857
|
}): void;
|
|
3865
3858
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
3866
3859
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
3867
|
-
load(): Promise<void>;
|
|
3868
|
-
* #property
|
|
3869
|
-
*/
|
|
3860
|
+
load(): Promise<void>;
|
|
3870
3861
|
loadPre(): Promise<void>;
|
|
3871
3862
|
} & {
|
|
3872
3863
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -3881,9 +3872,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3881
3872
|
[x: string]: unknown;
|
|
3882
3873
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
3883
3874
|
[x: string]: string | undefined;
|
|
3884
|
-
}>;
|
|
3885
|
-
* #getter
|
|
3886
|
-
*/
|
|
3875
|
+
}>;
|
|
3887
3876
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
3888
3877
|
addAssembly(configuration: any): void;
|
|
3889
3878
|
replaceAssembly(idx: number, configuration: any): void;
|
|
@@ -3913,6 +3902,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3913
3902
|
*/
|
|
3914
3903
|
renderProps(): {
|
|
3915
3904
|
theme: import("@mui/material").Theme;
|
|
3905
|
+
highResolutionScaling: any;
|
|
3916
3906
|
};
|
|
3917
3907
|
} & {
|
|
3918
3908
|
/**
|
|
@@ -4169,11 +4159,4 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
4169
4159
|
})[];
|
|
4170
4160
|
} & {
|
|
4171
4161
|
afterAttach(): void;
|
|
4172
|
-
} & {
|
|
4173
|
-
notify(message: string, level?: import("@jbrowse/core/util").NotificationLevel | undefined, action?: import("@jbrowse/core/util").SnackAction | undefined): void;
|
|
4174
|
-
pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util").NotificationLevel | undefined, action?: import("@jbrowse/core/util").SnackAction | undefined): number;
|
|
4175
|
-
popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
|
|
4176
|
-
removeSnackbarMessage(message: string): void;
|
|
4177
|
-
} & {
|
|
4178
|
-
readonly snackbarMessages: import("mobx").IObservableArray<import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
|
|
4179
4162
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
@@ -31,19 +31,20 @@ exports.BaseWebSession = void 0;
|
|
|
31
31
|
const react_1 = require("react");
|
|
32
32
|
const clone_1 = __importDefault(require("clone"));
|
|
33
33
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
34
|
-
const SnackbarModel_1 = __importDefault(require("@jbrowse/core/ui/SnackbarModel"));
|
|
35
34
|
const util_1 = require("@jbrowse/core/util");
|
|
36
35
|
const mobx_1 = require("mobx");
|
|
37
36
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
37
|
+
const product_core_1 = require("@jbrowse/product-core");
|
|
38
|
+
const app_core_1 = require("@jbrowse/app-core");
|
|
39
|
+
const SnackbarModel_1 = __importDefault(require("@jbrowse/core/ui/SnackbarModel"));
|
|
38
40
|
// icons
|
|
39
41
|
const Settings_1 = __importDefault(require("@mui/icons-material/Settings"));
|
|
40
42
|
const FileCopy_1 = __importDefault(require("@mui/icons-material/FileCopy"));
|
|
41
43
|
const Delete_1 = __importDefault(require("@mui/icons-material/Delete"));
|
|
42
44
|
const Info_1 = __importDefault(require("@mui/icons-material/Info"));
|
|
43
|
-
const product_core_1 = require("@jbrowse/product-core");
|
|
44
|
-
const app_core_1 = require("@jbrowse/app-core");
|
|
45
45
|
// locals
|
|
46
46
|
const SessionConnections_1 = require("../SessionConnections");
|
|
47
|
+
// lazies
|
|
47
48
|
const AboutDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./AboutDialog'))));
|
|
48
49
|
/**
|
|
49
50
|
* #stateModel BaseWebSession
|
|
@@ -62,7 +63,7 @@ const AboutDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __impor
|
|
|
62
63
|
*/
|
|
63
64
|
function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
|
|
64
65
|
const sessionModel = mobx_state_tree_1.types
|
|
65
|
-
.compose('WebCoreSessionModel', mobx_state_tree_1.types.compose('WebCoreSessionModelGroupA', (0, product_core_1.ReferenceManagementSessionMixin)(pluginManager), (0, product_core_1.DrawerWidgetSessionMixin)(pluginManager), (0, product_core_1.DialogQueueSessionMixin)(pluginManager), (0, product_core_1.ThemeManagerSessionMixin)(pluginManager), (0, product_core_1.MultipleViewsSessionMixin)(pluginManager)), mobx_state_tree_1.types.compose('WebCoreSessionModelGroupB', (0, product_core_1.SessionTracksManagerSessionMixin)(pluginManager), (0, app_core_1.SessionAssembliesMixin)(pluginManager, assemblyConfigSchema), (0, app_core_1.TemporaryAssembliesMixin)(pluginManager, assemblyConfigSchema), (0, SessionConnections_1.WebSessionConnectionsMixin)(pluginManager), (0, app_core_1.AppFocusMixin)()))
|
|
66
|
+
.compose('WebCoreSessionModel', mobx_state_tree_1.types.compose('WebCoreSessionModelGroupA', (0, product_core_1.ReferenceManagementSessionMixin)(pluginManager), (0, product_core_1.DrawerWidgetSessionMixin)(pluginManager), (0, product_core_1.DialogQueueSessionMixin)(pluginManager), (0, product_core_1.ThemeManagerSessionMixin)(pluginManager), (0, product_core_1.MultipleViewsSessionMixin)(pluginManager)), mobx_state_tree_1.types.compose('WebCoreSessionModelGroupB', (0, product_core_1.SessionTracksManagerSessionMixin)(pluginManager), (0, app_core_1.SessionAssembliesMixin)(pluginManager, assemblyConfigSchema), (0, app_core_1.TemporaryAssembliesMixin)(pluginManager, assemblyConfigSchema), (0, SessionConnections_1.WebSessionConnectionsMixin)(pluginManager), (0, app_core_1.AppFocusMixin)(), (0, SnackbarModel_1.default)()))
|
|
66
67
|
.props({
|
|
67
68
|
/**
|
|
68
69
|
* #property
|
|
@@ -194,6 +195,7 @@ function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
|
|
|
194
195
|
renderProps() {
|
|
195
196
|
return {
|
|
196
197
|
theme: self.theme,
|
|
198
|
+
highResolutionScaling: (0, configuration_1.getConf)(self, 'highResolutionScaling'),
|
|
197
199
|
};
|
|
198
200
|
},
|
|
199
201
|
}))
|
|
@@ -357,7 +359,7 @@ function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
|
|
|
357
359
|
},
|
|
358
360
|
}));
|
|
359
361
|
const extendedSessionModel = pluginManager.evaluateExtensionPoint('Core-extendSession', sessionModel);
|
|
360
|
-
return mobx_state_tree_1.types.snapshotProcessor(
|
|
362
|
+
return mobx_state_tree_1.types.snapshotProcessor(extendedSessionModel, {
|
|
361
363
|
// @ts-expect-error
|
|
362
364
|
preProcessor(snapshot) {
|
|
363
365
|
if (snapshot) {
|
|
@@ -3,8 +3,8 @@ import { AnyConfigurationModel, AnyConfiguration } from '@jbrowse/core/configura
|
|
|
3
3
|
import { JBrowsePlugin } from '@jbrowse/core/util/types';
|
|
4
4
|
import { SnapshotIn } from 'mobx-state-tree';
|
|
5
5
|
import TextSearchManager from '@jbrowse/core/TextSearch/TextSearchManager';
|
|
6
|
-
import { BaseTrackConfig } from '@jbrowse/core/pluggableElementTypes';
|
|
7
6
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
7
|
+
import { BaseTrackConfig } from '@jbrowse/core/pluggableElementTypes';
|
|
8
8
|
import { BaseAssemblyConfigSchema } from '@jbrowse/core/assemblyManager';
|
|
9
9
|
/**
|
|
10
10
|
* #stateModel BaseWebSession
|
|
@@ -201,6 +201,21 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
201
201
|
} & {
|
|
202
202
|
readonly visibleWidget: any;
|
|
203
203
|
} & {
|
|
204
|
+
/**
|
|
205
|
+
* #stateModel BaseWebSession
|
|
206
|
+
* used for "web based" products, including jbrowse-web and react-app
|
|
207
|
+
* composed of
|
|
208
|
+
* - [ReferenceManagementSessionMixin](../referencemanagementsessionmixin)
|
|
209
|
+
* - [DrawerWidgetSessionMixin](../drawerwidgetsessionmixin)
|
|
210
|
+
* - [DialogQueueSessionMixin](../dialogqueuesessionmixin)
|
|
211
|
+
* - [ThemeManagerSessionMixin](../thememanagersessionmixin)
|
|
212
|
+
* - [MultipleViewsSessionMixin](../multipleviewssessionmixin)
|
|
213
|
+
* - [SessionTracksManagerSessionMixin](../sessiontracksmanagersessionmixin)
|
|
214
|
+
* - [SessionAssembliesMixin](../sessionassembliesmixin)
|
|
215
|
+
* - [TemporaryAssembliesMixin](../temporaryassembliesmixin)
|
|
216
|
+
* - [WebSessionConnectionsMixin](../websessionconnectionsmixin)
|
|
217
|
+
* - [AppFocusMixin](../appfocusmixin)
|
|
218
|
+
*/
|
|
204
219
|
setDrawerPosition(arg: string): void;
|
|
205
220
|
updateDrawerWidth(drawerWidth: number): number;
|
|
206
221
|
resizeDrawer(distance: number): number;
|
|
@@ -209,7 +224,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
209
224
|
hasWidget(widget: any): boolean;
|
|
210
225
|
hideWidget(widget: any): void;
|
|
211
226
|
minimizeWidgetDrawer(): void;
|
|
212
|
-
showWidgetDrawer(): void;
|
|
227
|
+
showWidgetDrawer(): void; /**
|
|
228
|
+
* #getter
|
|
229
|
+
*/
|
|
213
230
|
hideAllWidgets(): void;
|
|
214
231
|
editConfiguration(configuration: {
|
|
215
232
|
[x: string]: any;
|
|
@@ -390,16 +407,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
390
407
|
} & {
|
|
391
408
|
readonly initialized: boolean;
|
|
392
409
|
readonly name: string;
|
|
393
|
-
/**
|
|
394
|
-
* #getter
|
|
395
|
-
* list of config connections and session connections
|
|
396
|
-
*/
|
|
397
410
|
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
398
411
|
readonly aliases: string[];
|
|
399
412
|
readonly displayName: string | undefined;
|
|
400
413
|
hasName(name: string): boolean;
|
|
401
414
|
readonly allAliases: string[];
|
|
402
|
-
readonly allRefNames: string[] | undefined;
|
|
415
|
+
readonly allRefNames: string[] | undefined; /**
|
|
416
|
+
* #getter
|
|
417
|
+
*/
|
|
403
418
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
404
419
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
405
420
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
@@ -411,7 +426,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
411
426
|
getRefNameColor(refName: string): string | undefined;
|
|
412
427
|
isValidRefName(refName: string): boolean;
|
|
413
428
|
} & {
|
|
414
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
429
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void; /**
|
|
430
|
+
* #getter
|
|
431
|
+
*/
|
|
415
432
|
setError(e: unknown): void;
|
|
416
433
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
417
434
|
setRefNameAliases(aliases: {
|
|
@@ -421,9 +438,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
421
438
|
}): void;
|
|
422
439
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
423
440
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
424
|
-
load(): Promise<void>;
|
|
425
|
-
* #method
|
|
426
|
-
*/
|
|
441
|
+
load(): Promise<void>;
|
|
427
442
|
loadPre(): Promise<void>;
|
|
428
443
|
} & {
|
|
429
444
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -464,7 +479,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
464
479
|
hasName(name: string): boolean;
|
|
465
480
|
readonly allAliases: string[];
|
|
466
481
|
readonly allRefNames: string[] | undefined;
|
|
467
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
482
|
+
readonly lowerCaseRefNames: string[] | undefined; /**
|
|
483
|
+
* #action
|
|
484
|
+
*/
|
|
468
485
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
469
486
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
470
487
|
readonly refNameColors: string[];
|
|
@@ -826,9 +843,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
826
843
|
}): void;
|
|
827
844
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
828
845
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
829
|
-
load(): Promise<void>;
|
|
830
|
-
* #property
|
|
831
|
-
*/
|
|
846
|
+
load(): Promise<void>;
|
|
832
847
|
loadPre(): Promise<void>;
|
|
833
848
|
} & {
|
|
834
849
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -843,9 +858,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
843
858
|
[x: string]: unknown;
|
|
844
859
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
845
860
|
[x: string]: string | undefined;
|
|
846
|
-
}>;
|
|
847
|
-
* #getter
|
|
848
|
-
*/
|
|
861
|
+
}>;
|
|
849
862
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
850
863
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
851
864
|
}, {
|
|
@@ -892,9 +905,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
892
905
|
}): void;
|
|
893
906
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
894
907
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
895
|
-
load(): Promise<void>;
|
|
896
|
-
* #property
|
|
897
|
-
*/
|
|
908
|
+
load(): Promise<void>;
|
|
898
909
|
loadPre(): Promise<void>;
|
|
899
910
|
} & {
|
|
900
911
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -909,9 +920,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
909
920
|
[x: string]: unknown;
|
|
910
921
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
911
922
|
[x: string]: string | undefined;
|
|
912
|
-
}>;
|
|
913
|
-
* #getter
|
|
914
|
-
*/
|
|
923
|
+
}>;
|
|
915
924
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
916
925
|
addAssembly(configuration: any): void;
|
|
917
926
|
replaceAssembly(idx: number, configuration: any): void;
|
|
@@ -999,16 +1008,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
999
1008
|
} & {
|
|
1000
1009
|
readonly initialized: boolean;
|
|
1001
1010
|
readonly name: string;
|
|
1002
|
-
/**
|
|
1003
|
-
* #getter
|
|
1004
|
-
* list of config connections and session connections
|
|
1005
|
-
*/
|
|
1006
1011
|
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1007
1012
|
readonly aliases: string[];
|
|
1008
1013
|
readonly displayName: string | undefined;
|
|
1009
1014
|
hasName(name: string): boolean;
|
|
1010
1015
|
readonly allAliases: string[];
|
|
1011
|
-
readonly allRefNames: string[] | undefined;
|
|
1016
|
+
readonly allRefNames: string[] | undefined; /**
|
|
1017
|
+
* #getter
|
|
1018
|
+
*/
|
|
1012
1019
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
1013
1020
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1014
1021
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
@@ -1020,7 +1027,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1020
1027
|
getRefNameColor(refName: string): string | undefined;
|
|
1021
1028
|
isValidRefName(refName: string): boolean;
|
|
1022
1029
|
} & {
|
|
1023
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
1030
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void; /**
|
|
1031
|
+
* #getter
|
|
1032
|
+
*/
|
|
1024
1033
|
setError(e: unknown): void;
|
|
1025
1034
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1026
1035
|
setRefNameAliases(aliases: {
|
|
@@ -1030,9 +1039,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1030
1039
|
}): void;
|
|
1031
1040
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1032
1041
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
1033
|
-
load(): Promise<void>;
|
|
1034
|
-
* #method
|
|
1035
|
-
*/
|
|
1042
|
+
load(): Promise<void>;
|
|
1036
1043
|
loadPre(): Promise<void>;
|
|
1037
1044
|
} & {
|
|
1038
1045
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -1073,7 +1080,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1073
1080
|
hasName(name: string): boolean;
|
|
1074
1081
|
readonly allAliases: string[];
|
|
1075
1082
|
readonly allRefNames: string[] | undefined;
|
|
1076
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
1083
|
+
readonly lowerCaseRefNames: string[] | undefined; /**
|
|
1084
|
+
* #action
|
|
1085
|
+
*/
|
|
1077
1086
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1078
1087
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1079
1088
|
readonly refNameColors: string[];
|
|
@@ -1435,9 +1444,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1435
1444
|
}): void;
|
|
1436
1445
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1437
1446
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
1438
|
-
load(): Promise<void>;
|
|
1439
|
-
* #property
|
|
1440
|
-
*/
|
|
1447
|
+
load(): Promise<void>;
|
|
1441
1448
|
loadPre(): Promise<void>;
|
|
1442
1449
|
} & {
|
|
1443
1450
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -1452,9 +1459,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1452
1459
|
[x: string]: unknown;
|
|
1453
1460
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1454
1461
|
[x: string]: string | undefined;
|
|
1455
|
-
}>;
|
|
1456
|
-
* #getter
|
|
1457
|
-
*/
|
|
1462
|
+
}>;
|
|
1458
1463
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
1459
1464
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
1460
1465
|
}, {
|
|
@@ -1501,9 +1506,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1501
1506
|
}): void;
|
|
1502
1507
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1503
1508
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
1504
|
-
load(): Promise<void>;
|
|
1505
|
-
* #property
|
|
1506
|
-
*/
|
|
1509
|
+
load(): Promise<void>;
|
|
1507
1510
|
loadPre(): Promise<void>;
|
|
1508
1511
|
} & {
|
|
1509
1512
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -1518,9 +1521,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1518
1521
|
[x: string]: unknown;
|
|
1519
1522
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
1520
1523
|
[x: string]: string | undefined;
|
|
1521
|
-
}>;
|
|
1522
|
-
* #getter
|
|
1523
|
-
*/
|
|
1524
|
+
}>;
|
|
1524
1525
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
1525
1526
|
addAssembly(configuration: any): void;
|
|
1526
1527
|
replaceAssembly(idx: number, configuration: any): void;
|
|
@@ -1625,16 +1626,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1625
1626
|
} & {
|
|
1626
1627
|
readonly initialized: boolean;
|
|
1627
1628
|
readonly name: string;
|
|
1628
|
-
/**
|
|
1629
|
-
* #getter
|
|
1630
|
-
* list of config connections and session connections
|
|
1631
|
-
*/
|
|
1632
1629
|
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
1633
1630
|
readonly aliases: string[];
|
|
1634
1631
|
readonly displayName: string | undefined;
|
|
1635
1632
|
hasName(name: string): boolean;
|
|
1636
1633
|
readonly allAliases: string[];
|
|
1637
|
-
readonly allRefNames: string[] | undefined;
|
|
1634
|
+
readonly allRefNames: string[] | undefined; /**
|
|
1635
|
+
* #getter
|
|
1636
|
+
*/
|
|
1638
1637
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
1639
1638
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1640
1639
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
@@ -1646,7 +1645,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1646
1645
|
getRefNameColor(refName: string): string | undefined;
|
|
1647
1646
|
isValidRefName(refName: string): boolean;
|
|
1648
1647
|
} & {
|
|
1649
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
1648
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void; /**
|
|
1649
|
+
* #getter
|
|
1650
|
+
*/
|
|
1650
1651
|
setError(e: unknown): void;
|
|
1651
1652
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
1652
1653
|
setRefNameAliases(aliases: {
|
|
@@ -1656,9 +1657,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1656
1657
|
}): void;
|
|
1657
1658
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
1658
1659
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
1659
|
-
load(): Promise<void>;
|
|
1660
|
-
* #method
|
|
1661
|
-
*/
|
|
1660
|
+
load(): Promise<void>;
|
|
1662
1661
|
loadPre(): Promise<void>;
|
|
1663
1662
|
} & {
|
|
1664
1663
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -1699,7 +1698,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
1699
1698
|
hasName(name: string): boolean;
|
|
1700
1699
|
readonly allAliases: string[];
|
|
1701
1700
|
readonly allRefNames: string[] | undefined;
|
|
1702
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
1701
|
+
readonly lowerCaseRefNames: string[] | undefined; /**
|
|
1702
|
+
* #action
|
|
1703
|
+
*/
|
|
1703
1704
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
1704
1705
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
1705
1706
|
readonly refNameColors: string[];
|
|
@@ -2061,9 +2062,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2061
2062
|
}): void;
|
|
2062
2063
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
2063
2064
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
2064
|
-
load(): Promise<void>;
|
|
2065
|
-
* #property
|
|
2066
|
-
*/
|
|
2065
|
+
load(): Promise<void>;
|
|
2067
2066
|
loadPre(): Promise<void>;
|
|
2068
2067
|
} & {
|
|
2069
2068
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -2078,9 +2077,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2078
2077
|
[x: string]: unknown;
|
|
2079
2078
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
2080
2079
|
[x: string]: string | undefined;
|
|
2081
|
-
}>;
|
|
2082
|
-
* #getter
|
|
2083
|
-
*/
|
|
2080
|
+
}>;
|
|
2084
2081
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
2085
2082
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
2086
2083
|
}, {
|
|
@@ -2127,9 +2124,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2127
2124
|
}): void;
|
|
2128
2125
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
2129
2126
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
2130
|
-
load(): Promise<void>;
|
|
2131
|
-
* #property
|
|
2132
|
-
*/
|
|
2127
|
+
load(): Promise<void>;
|
|
2133
2128
|
loadPre(): Promise<void>;
|
|
2134
2129
|
} & {
|
|
2135
2130
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -2144,9 +2139,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2144
2139
|
[x: string]: unknown;
|
|
2145
2140
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
2146
2141
|
[x: string]: string | undefined;
|
|
2147
|
-
}>;
|
|
2148
|
-
* #getter
|
|
2149
|
-
*/
|
|
2142
|
+
}>;
|
|
2150
2143
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
2151
2144
|
addAssembly(configuration: any): void;
|
|
2152
2145
|
replaceAssembly(idx: number, configuration: any): void;
|
|
@@ -2208,8 +2201,10 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2208
2201
|
clearSelection(): void;
|
|
2209
2202
|
setHovered(thing: unknown): void;
|
|
2210
2203
|
} & {
|
|
2211
|
-
moveViewUp(id: string): void;
|
|
2212
2204
|
moveViewDown(id: string): void;
|
|
2205
|
+
moveViewUp(id: string): void;
|
|
2206
|
+
moveViewToTop(id: string): void;
|
|
2207
|
+
moveViewToBottom(id: string): void;
|
|
2213
2208
|
addView(typeName: string, initialState?: {}): any;
|
|
2214
2209
|
removeView(view: {
|
|
2215
2210
|
id: string;
|
|
@@ -2468,7 +2463,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2468
2463
|
[x: string]: any;
|
|
2469
2464
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2470
2465
|
setSubschema(slotName: string, data: unknown): any;
|
|
2471
|
-
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
|
|
2466
|
+
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void; /**
|
|
2467
|
+
* #property
|
|
2468
|
+
*/
|
|
2472
2469
|
deleteConnection(configuration: {
|
|
2473
2470
|
[x: string]: any;
|
|
2474
2471
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
@@ -2504,6 +2501,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2504
2501
|
} & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
|
|
2505
2502
|
} & {
|
|
2506
2503
|
setFocusedViewId(viewId: string): void;
|
|
2504
|
+
} & {
|
|
2505
|
+
snackbarMessages: import("mobx").IObservableArray<import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
|
|
2506
|
+
} & {
|
|
2507
|
+
notify(message: string, level?: import("@jbrowse/core/util").NotificationLevel | undefined, action?: import("@jbrowse/core/util").SnackAction | undefined): void;
|
|
2508
|
+
notifyError(errorMessage: string, error?: unknown, extra?: unknown): void;
|
|
2509
|
+
pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util").NotificationLevel | undefined, action?: import("@jbrowse/core/util").SnackAction | undefined): number;
|
|
2510
|
+
popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
|
|
2511
|
+
removeSnackbarMessage(message: string): void;
|
|
2507
2512
|
} & {
|
|
2508
2513
|
/**
|
|
2509
2514
|
* #volatile
|
|
@@ -2753,16 +2758,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2753
2758
|
} & {
|
|
2754
2759
|
readonly initialized: boolean;
|
|
2755
2760
|
readonly name: string;
|
|
2756
|
-
/**
|
|
2757
|
-
* #getter
|
|
2758
|
-
* list of config connections and session connections
|
|
2759
|
-
*/
|
|
2760
2761
|
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
2761
2762
|
readonly aliases: string[];
|
|
2762
2763
|
readonly displayName: string | undefined;
|
|
2763
2764
|
hasName(name: string): boolean;
|
|
2764
2765
|
readonly allAliases: string[];
|
|
2765
|
-
readonly allRefNames: string[] | undefined;
|
|
2766
|
+
readonly allRefNames: string[] | undefined; /**
|
|
2767
|
+
* #getter
|
|
2768
|
+
*/
|
|
2766
2769
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
2767
2770
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
2768
2771
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
@@ -2774,7 +2777,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2774
2777
|
getRefNameColor(refName: string): string | undefined;
|
|
2775
2778
|
isValidRefName(refName: string): boolean;
|
|
2776
2779
|
} & {
|
|
2777
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
2780
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void; /**
|
|
2781
|
+
* #getter
|
|
2782
|
+
*/
|
|
2778
2783
|
setError(e: unknown): void;
|
|
2779
2784
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
2780
2785
|
setRefNameAliases(aliases: {
|
|
@@ -2784,9 +2789,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2784
2789
|
}): void;
|
|
2785
2790
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
2786
2791
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
2787
|
-
load(): Promise<void>;
|
|
2788
|
-
* #method
|
|
2789
|
-
*/
|
|
2792
|
+
load(): Promise<void>;
|
|
2790
2793
|
loadPre(): Promise<void>;
|
|
2791
2794
|
} & {
|
|
2792
2795
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -2827,7 +2830,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
2827
2830
|
hasName(name: string): boolean;
|
|
2828
2831
|
readonly allAliases: string[];
|
|
2829
2832
|
readonly allRefNames: string[] | undefined;
|
|
2830
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
2833
|
+
readonly lowerCaseRefNames: string[] | undefined; /**
|
|
2834
|
+
* #action
|
|
2835
|
+
*/
|
|
2831
2836
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
2832
2837
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
2833
2838
|
readonly refNameColors: string[];
|
|
@@ -3189,9 +3194,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3189
3194
|
}): void;
|
|
3190
3195
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
3191
3196
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
3192
|
-
load(): Promise<void>;
|
|
3193
|
-
* #property
|
|
3194
|
-
*/
|
|
3197
|
+
load(): Promise<void>;
|
|
3195
3198
|
loadPre(): Promise<void>;
|
|
3196
3199
|
} & {
|
|
3197
3200
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -3206,9 +3209,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3206
3209
|
[x: string]: unknown;
|
|
3207
3210
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
3208
3211
|
[x: string]: string | undefined;
|
|
3209
|
-
}>;
|
|
3210
|
-
* #getter
|
|
3211
|
-
*/
|
|
3212
|
+
}>;
|
|
3212
3213
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3213
3214
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
3214
3215
|
}, {
|
|
@@ -3255,9 +3256,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3255
3256
|
}): void;
|
|
3256
3257
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
3257
3258
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
3258
|
-
load(): Promise<void>;
|
|
3259
|
-
* #property
|
|
3260
|
-
*/
|
|
3259
|
+
load(): Promise<void>;
|
|
3261
3260
|
loadPre(): Promise<void>;
|
|
3262
3261
|
} & {
|
|
3263
3262
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -3272,9 +3271,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3272
3271
|
[x: string]: unknown;
|
|
3273
3272
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
3274
3273
|
[x: string]: string | undefined;
|
|
3275
|
-
}>;
|
|
3276
|
-
* #getter
|
|
3277
|
-
*/
|
|
3274
|
+
}>;
|
|
3278
3275
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
3279
3276
|
addAssembly(configuration: any): void;
|
|
3280
3277
|
replaceAssembly(idx: number, configuration: any): void;
|
|
@@ -3362,16 +3359,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3362
3359
|
} & {
|
|
3363
3360
|
readonly initialized: boolean;
|
|
3364
3361
|
readonly name: string;
|
|
3365
|
-
/**
|
|
3366
|
-
* #getter
|
|
3367
|
-
* list of config connections and session connections
|
|
3368
|
-
*/
|
|
3369
3362
|
readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
|
|
3370
3363
|
readonly aliases: string[];
|
|
3371
3364
|
readonly displayName: string | undefined;
|
|
3372
3365
|
hasName(name: string): boolean;
|
|
3373
3366
|
readonly allAliases: string[];
|
|
3374
|
-
readonly allRefNames: string[] | undefined;
|
|
3367
|
+
readonly allRefNames: string[] | undefined; /**
|
|
3368
|
+
* #getter
|
|
3369
|
+
*/
|
|
3375
3370
|
readonly lowerCaseRefNames: string[] | undefined;
|
|
3376
3371
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
3377
3372
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
@@ -3383,7 +3378,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3383
3378
|
getRefNameColor(refName: string): string | undefined;
|
|
3384
3379
|
isValidRefName(refName: string): boolean;
|
|
3385
3380
|
} & {
|
|
3386
|
-
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void;
|
|
3381
|
+
setLoaded({ adapterRegionsWithAssembly, refNameAliases, lowerCaseRefNameAliases, cytobands, }: import("@jbrowse/core/assemblyManager/assembly").Loading): void; /**
|
|
3382
|
+
* #getter
|
|
3383
|
+
*/
|
|
3387
3384
|
setError(e: unknown): void;
|
|
3388
3385
|
setRegions(regions: import("@jbrowse/core/util").Region[]): void;
|
|
3389
3386
|
setRefNameAliases(aliases: {
|
|
@@ -3393,9 +3390,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3393
3390
|
}): void;
|
|
3394
3391
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
3395
3392
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
3396
|
-
load(): Promise<void>;
|
|
3397
|
-
* #method
|
|
3398
|
-
*/
|
|
3393
|
+
load(): Promise<void>;
|
|
3399
3394
|
loadPre(): Promise<void>;
|
|
3400
3395
|
} & {
|
|
3401
3396
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -3436,7 +3431,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3436
3431
|
hasName(name: string): boolean;
|
|
3437
3432
|
readonly allAliases: string[];
|
|
3438
3433
|
readonly allRefNames: string[] | undefined;
|
|
3439
|
-
readonly lowerCaseRefNames: string[] | undefined;
|
|
3434
|
+
readonly lowerCaseRefNames: string[] | undefined; /**
|
|
3435
|
+
* #action
|
|
3436
|
+
*/
|
|
3440
3437
|
readonly allRefNamesWithLowerCase: string[] | undefined;
|
|
3441
3438
|
readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
|
|
3442
3439
|
readonly refNameColors: string[];
|
|
@@ -3798,9 +3795,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3798
3795
|
}): void;
|
|
3799
3796
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
3800
3797
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
3801
|
-
load(): Promise<void>;
|
|
3802
|
-
* #property
|
|
3803
|
-
*/
|
|
3798
|
+
load(): Promise<void>;
|
|
3804
3799
|
loadPre(): Promise<void>;
|
|
3805
3800
|
} & {
|
|
3806
3801
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -3815,9 +3810,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3815
3810
|
[x: string]: unknown;
|
|
3816
3811
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
3817
3812
|
[x: string]: string | undefined;
|
|
3818
|
-
}>;
|
|
3819
|
-
* #getter
|
|
3820
|
-
*/
|
|
3813
|
+
}>;
|
|
3821
3814
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
3822
3815
|
configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
|
|
3823
3816
|
}, {
|
|
@@ -3864,9 +3857,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3864
3857
|
}): void;
|
|
3865
3858
|
setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
|
|
3866
3859
|
setLoadingP(p?: Promise<void> | undefined): void;
|
|
3867
|
-
load(): Promise<void>;
|
|
3868
|
-
* #property
|
|
3869
|
-
*/
|
|
3860
|
+
load(): Promise<void>;
|
|
3870
3861
|
loadPre(): Promise<void>;
|
|
3871
3862
|
} & {
|
|
3872
3863
|
getAdapterMapEntry(adapterConf: {
|
|
@@ -3881,9 +3872,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3881
3872
|
[x: string]: unknown;
|
|
3882
3873
|
}, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
|
|
3883
3874
|
[x: string]: string | undefined;
|
|
3884
|
-
}>;
|
|
3885
|
-
* #getter
|
|
3886
|
-
*/
|
|
3875
|
+
}>;
|
|
3887
3876
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
|
|
3888
3877
|
addAssembly(configuration: any): void;
|
|
3889
3878
|
replaceAssembly(idx: number, configuration: any): void;
|
|
@@ -3913,6 +3902,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
3913
3902
|
*/
|
|
3914
3903
|
renderProps(): {
|
|
3915
3904
|
theme: import("@mui/material").Theme;
|
|
3905
|
+
highResolutionScaling: any;
|
|
3916
3906
|
};
|
|
3917
3907
|
} & {
|
|
3918
3908
|
/**
|
|
@@ -4169,11 +4159,4 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
|
|
|
4169
4159
|
})[];
|
|
4170
4160
|
} & {
|
|
4171
4161
|
afterAttach(): void;
|
|
4172
|
-
} & {
|
|
4173
|
-
notify(message: string, level?: import("@jbrowse/core/util").NotificationLevel | undefined, action?: import("@jbrowse/core/util").SnackAction | undefined): void;
|
|
4174
|
-
pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util").NotificationLevel | undefined, action?: import("@jbrowse/core/util").SnackAction | undefined): number;
|
|
4175
|
-
popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
|
|
4176
|
-
removeSnackbarMessage(message: string): void;
|
|
4177
|
-
} & {
|
|
4178
|
-
readonly snackbarMessages: import("mobx").IObservableArray<import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
|
|
4179
4162
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
@@ -2,19 +2,20 @@
|
|
|
2
2
|
import { lazy } from 'react';
|
|
3
3
|
import clone from 'clone';
|
|
4
4
|
import { getConf, readConfObject, } from '@jbrowse/core/configuration';
|
|
5
|
-
import addSnackbarToModel from '@jbrowse/core/ui/SnackbarModel';
|
|
6
5
|
import { localStorageGetItem, localStorageSetItem } from '@jbrowse/core/util';
|
|
7
6
|
import { autorun } from 'mobx';
|
|
8
7
|
import { addDisposer, cast, getParent, getSnapshot, types, } from 'mobx-state-tree';
|
|
8
|
+
import { DialogQueueSessionMixin, DrawerWidgetSessionMixin, MultipleViewsSessionMixin, ReferenceManagementSessionMixin, SessionTracksManagerSessionMixin, ThemeManagerSessionMixin, } from '@jbrowse/product-core';
|
|
9
|
+
import { AppFocusMixin, SessionAssembliesMixin, TemporaryAssembliesMixin, } from '@jbrowse/app-core';
|
|
10
|
+
import SnackbarModel from '@jbrowse/core/ui/SnackbarModel';
|
|
9
11
|
// icons
|
|
10
12
|
import SettingsIcon from '@mui/icons-material/Settings';
|
|
11
13
|
import CopyIcon from '@mui/icons-material/FileCopy';
|
|
12
14
|
import DeleteIcon from '@mui/icons-material/Delete';
|
|
13
15
|
import InfoIcon from '@mui/icons-material/Info';
|
|
14
|
-
import { DialogQueueSessionMixin, DrawerWidgetSessionMixin, MultipleViewsSessionMixin, ReferenceManagementSessionMixin, SessionTracksManagerSessionMixin, ThemeManagerSessionMixin, } from '@jbrowse/product-core';
|
|
15
|
-
import { AppFocusMixin, SessionAssembliesMixin, TemporaryAssembliesMixin, } from '@jbrowse/app-core';
|
|
16
16
|
// locals
|
|
17
17
|
import { WebSessionConnectionsMixin } from '../SessionConnections';
|
|
18
|
+
// lazies
|
|
18
19
|
const AboutDialog = lazy(() => import('./AboutDialog'));
|
|
19
20
|
/**
|
|
20
21
|
* #stateModel BaseWebSession
|
|
@@ -33,7 +34,7 @@ const AboutDialog = lazy(() => import('./AboutDialog'));
|
|
|
33
34
|
*/
|
|
34
35
|
export function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
|
|
35
36
|
const sessionModel = types
|
|
36
|
-
.compose('WebCoreSessionModel', types.compose('WebCoreSessionModelGroupA', ReferenceManagementSessionMixin(pluginManager), DrawerWidgetSessionMixin(pluginManager), DialogQueueSessionMixin(pluginManager), ThemeManagerSessionMixin(pluginManager), MultipleViewsSessionMixin(pluginManager)), types.compose('WebCoreSessionModelGroupB', SessionTracksManagerSessionMixin(pluginManager), SessionAssembliesMixin(pluginManager, assemblyConfigSchema), TemporaryAssembliesMixin(pluginManager, assemblyConfigSchema), WebSessionConnectionsMixin(pluginManager), AppFocusMixin()))
|
|
37
|
+
.compose('WebCoreSessionModel', types.compose('WebCoreSessionModelGroupA', ReferenceManagementSessionMixin(pluginManager), DrawerWidgetSessionMixin(pluginManager), DialogQueueSessionMixin(pluginManager), ThemeManagerSessionMixin(pluginManager), MultipleViewsSessionMixin(pluginManager)), types.compose('WebCoreSessionModelGroupB', SessionTracksManagerSessionMixin(pluginManager), SessionAssembliesMixin(pluginManager, assemblyConfigSchema), TemporaryAssembliesMixin(pluginManager, assemblyConfigSchema), WebSessionConnectionsMixin(pluginManager), AppFocusMixin(), SnackbarModel()))
|
|
37
38
|
.props({
|
|
38
39
|
/**
|
|
39
40
|
* #property
|
|
@@ -165,6 +166,7 @@ export function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
|
|
|
165
166
|
renderProps() {
|
|
166
167
|
return {
|
|
167
168
|
theme: self.theme,
|
|
169
|
+
highResolutionScaling: getConf(self, 'highResolutionScaling'),
|
|
168
170
|
};
|
|
169
171
|
},
|
|
170
172
|
}))
|
|
@@ -328,7 +330,7 @@ export function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
|
|
|
328
330
|
},
|
|
329
331
|
}));
|
|
330
332
|
const extendedSessionModel = pluginManager.evaluateExtensionPoint('Core-extendSession', sessionModel);
|
|
331
|
-
return types.snapshotProcessor(
|
|
333
|
+
return types.snapshotProcessor(extendedSessionModel, {
|
|
332
334
|
// @ts-expect-error
|
|
333
335
|
preProcessor(snapshot) {
|
|
334
336
|
if (snapshot) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/web-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.11.0",
|
|
4
4
|
"description": "JBrowse 2 code shared between web-app type products",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -42,8 +42,8 @@
|
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@babel/runtime": "^7.16.3",
|
|
45
|
-
"@jbrowse/app-core": "^2.
|
|
46
|
-
"@jbrowse/product-core": "^2.
|
|
45
|
+
"@jbrowse/app-core": "^2.11.0",
|
|
46
|
+
"@jbrowse/product-core": "^2.11.0",
|
|
47
47
|
"@mui/icons-material": "^5.0.0",
|
|
48
48
|
"@mui/material": "^5.10.17",
|
|
49
49
|
"clone": "^2.0.0",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"publishConfig": {
|
|
63
63
|
"access": "public"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "3d43a820b9274a6160aa4dc15616147f390d9094"
|
|
66
66
|
}
|