@jbrowse/web-core 2.10.2 → 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.
@@ -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;
@@ -1528,7 +1529,6 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1528
1529
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1529
1530
  rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
1530
1531
  adminMode: boolean;
1531
- isAssemblyEditing: boolean;
1532
1532
  error: unknown;
1533
1533
  textSearchManager: TextSearchManager;
1534
1534
  pluginManager: PluginManager;
@@ -1538,7 +1538,6 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1538
1538
  setDefaultSession(): void;
1539
1539
  setSessionPath(path: string): void;
1540
1540
  renameCurrentSession(newName: string): void;
1541
- setAssemblyEditing(flag: boolean): void;
1542
1541
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
1543
1542
  jbrowse: import("mobx-state-tree").IAnyType;
1544
1543
  session: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IAnyType>;
@@ -1627,16 +1626,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1627
1626
  } & {
1628
1627
  readonly initialized: boolean;
1629
1628
  readonly name: string;
1630
- /**
1631
- * #getter
1632
- * list of config connections and session connections
1633
- */
1634
1629
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
1635
1630
  readonly aliases: string[];
1636
1631
  readonly displayName: string | undefined;
1637
1632
  hasName(name: string): boolean;
1638
1633
  readonly allAliases: string[];
1639
- readonly allRefNames: string[] | undefined;
1634
+ readonly allRefNames: string[] | undefined; /**
1635
+ * #getter
1636
+ */
1640
1637
  readonly lowerCaseRefNames: string[] | undefined;
1641
1638
  readonly allRefNamesWithLowerCase: string[] | undefined;
1642
1639
  readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
@@ -1648,7 +1645,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1648
1645
  getRefNameColor(refName: string): string | undefined;
1649
1646
  isValidRefName(refName: string): boolean;
1650
1647
  } & {
1651
- 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
+ */
1652
1651
  setError(e: unknown): void;
1653
1652
  setRegions(regions: import("@jbrowse/core/util").Region[]): void;
1654
1653
  setRefNameAliases(aliases: {
@@ -1658,9 +1657,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1658
1657
  }): void;
1659
1658
  setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
1660
1659
  setLoadingP(p?: Promise<void> | undefined): void;
1661
- load(): Promise<void>; /**
1662
- * #method
1663
- */
1660
+ load(): Promise<void>;
1664
1661
  loadPre(): Promise<void>;
1665
1662
  } & {
1666
1663
  getAdapterMapEntry(adapterConf: {
@@ -1701,7 +1698,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1701
1698
  hasName(name: string): boolean;
1702
1699
  readonly allAliases: string[];
1703
1700
  readonly allRefNames: string[] | undefined;
1704
- readonly lowerCaseRefNames: string[] | undefined;
1701
+ readonly lowerCaseRefNames: string[] | undefined; /**
1702
+ * #action
1703
+ */
1705
1704
  readonly allRefNamesWithLowerCase: string[] | undefined;
1706
1705
  readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
1707
1706
  readonly refNameColors: string[];
@@ -2063,9 +2062,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2063
2062
  }): void;
2064
2063
  setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
2065
2064
  setLoadingP(p?: Promise<void> | undefined): void;
2066
- load(): Promise<void>; /**
2067
- * #property
2068
- */
2065
+ load(): Promise<void>;
2069
2066
  loadPre(): Promise<void>;
2070
2067
  } & {
2071
2068
  getAdapterMapEntry(adapterConf: {
@@ -2080,9 +2077,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2080
2077
  [x: string]: unknown;
2081
2078
  }, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
2082
2079
  [x: string]: string | undefined;
2083
- }>; /**
2084
- * #getter
2085
- */
2080
+ }>;
2086
2081
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
2087
2082
  configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
2088
2083
  }, {
@@ -2129,9 +2124,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2129
2124
  }): void;
2130
2125
  setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
2131
2126
  setLoadingP(p?: Promise<void> | undefined): void;
2132
- load(): Promise<void>; /**
2133
- * #property
2134
- */
2127
+ load(): Promise<void>;
2135
2128
  loadPre(): Promise<void>;
2136
2129
  } & {
2137
2130
  getAdapterMapEntry(adapterConf: {
@@ -2146,9 +2139,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2146
2139
  [x: string]: unknown;
2147
2140
  }, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
2148
2141
  [x: string]: string | undefined;
2149
- }>; /**
2150
- * #getter
2151
- */
2142
+ }>;
2152
2143
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
2153
2144
  addAssembly(configuration: any): void;
2154
2145
  replaceAssembly(idx: number, configuration: any): void;
@@ -2156,7 +2147,6 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2156
2147
  }, {
2157
2148
  rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
2158
2149
  adminMode: boolean;
2159
- isAssemblyEditing: boolean;
2160
2150
  error: unknown;
2161
2151
  textSearchManager: TextSearchManager;
2162
2152
  pluginManager: PluginManager;
@@ -2166,7 +2156,6 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2166
2156
  setDefaultSession(): void;
2167
2157
  setSessionPath(path: string): void;
2168
2158
  renameCurrentSession(newName: string): void;
2169
- setAssemblyEditing(flag: boolean): void;
2170
2159
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
2171
2160
  } & {
2172
2161
  readonly jbrowse: any;
@@ -2212,8 +2201,10 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2212
2201
  clearSelection(): void;
2213
2202
  setHovered(thing: unknown): void;
2214
2203
  } & {
2215
- moveViewUp(id: string): void;
2216
2204
  moveViewDown(id: string): void;
2205
+ moveViewUp(id: string): void;
2206
+ moveViewToTop(id: string): void;
2207
+ moveViewToBottom(id: string): void;
2217
2208
  addView(typeName: string, initialState?: {}): any;
2218
2209
  removeView(view: {
2219
2210
  id: string;
@@ -2472,7 +2463,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2472
2463
  [x: string]: any;
2473
2464
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2474
2465
  setSubschema(slotName: string, data: unknown): any;
2475
- } & 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
+ */
2476
2469
  deleteConnection(configuration: {
2477
2470
  [x: string]: any;
2478
2471
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
@@ -2508,6 +2501,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2508
2501
  } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
2509
2502
  } & {
2510
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;
2511
2512
  } & {
2512
2513
  /**
2513
2514
  * #volatile
@@ -2757,16 +2758,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2757
2758
  } & {
2758
2759
  readonly initialized: boolean;
2759
2760
  readonly name: string;
2760
- /**
2761
- * #getter
2762
- * list of config connections and session connections
2763
- */
2764
2761
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
2765
2762
  readonly aliases: string[];
2766
2763
  readonly displayName: string | undefined;
2767
2764
  hasName(name: string): boolean;
2768
2765
  readonly allAliases: string[];
2769
- readonly allRefNames: string[] | undefined;
2766
+ readonly allRefNames: string[] | undefined; /**
2767
+ * #getter
2768
+ */
2770
2769
  readonly lowerCaseRefNames: string[] | undefined;
2771
2770
  readonly allRefNamesWithLowerCase: string[] | undefined;
2772
2771
  readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
@@ -2778,7 +2777,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2778
2777
  getRefNameColor(refName: string): string | undefined;
2779
2778
  isValidRefName(refName: string): boolean;
2780
2779
  } & {
2781
- 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
+ */
2782
2783
  setError(e: unknown): void;
2783
2784
  setRegions(regions: import("@jbrowse/core/util").Region[]): void;
2784
2785
  setRefNameAliases(aliases: {
@@ -2788,9 +2789,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2788
2789
  }): void;
2789
2790
  setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
2790
2791
  setLoadingP(p?: Promise<void> | undefined): void;
2791
- load(): Promise<void>; /**
2792
- * #method
2793
- */
2792
+ load(): Promise<void>;
2794
2793
  loadPre(): Promise<void>;
2795
2794
  } & {
2796
2795
  getAdapterMapEntry(adapterConf: {
@@ -2831,7 +2830,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2831
2830
  hasName(name: string): boolean;
2832
2831
  readonly allAliases: string[];
2833
2832
  readonly allRefNames: string[] | undefined;
2834
- readonly lowerCaseRefNames: string[] | undefined;
2833
+ readonly lowerCaseRefNames: string[] | undefined; /**
2834
+ * #action
2835
+ */
2835
2836
  readonly allRefNamesWithLowerCase: string[] | undefined;
2836
2837
  readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
2837
2838
  readonly refNameColors: string[];
@@ -3193,9 +3194,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3193
3194
  }): void;
3194
3195
  setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
3195
3196
  setLoadingP(p?: Promise<void> | undefined): void;
3196
- load(): Promise<void>; /**
3197
- * #property
3198
- */
3197
+ load(): Promise<void>;
3199
3198
  loadPre(): Promise<void>;
3200
3199
  } & {
3201
3200
  getAdapterMapEntry(adapterConf: {
@@ -3210,9 +3209,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3210
3209
  [x: string]: unknown;
3211
3210
  }, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
3212
3211
  [x: string]: string | undefined;
3213
- }>; /**
3214
- * #getter
3215
- */
3212
+ }>;
3216
3213
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
3217
3214
  configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
3218
3215
  }, {
@@ -3259,9 +3256,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3259
3256
  }): void;
3260
3257
  setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
3261
3258
  setLoadingP(p?: Promise<void> | undefined): void;
3262
- load(): Promise<void>; /**
3263
- * #property
3264
- */
3259
+ load(): Promise<void>;
3265
3260
  loadPre(): Promise<void>;
3266
3261
  } & {
3267
3262
  getAdapterMapEntry(adapterConf: {
@@ -3276,9 +3271,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3276
3271
  [x: string]: unknown;
3277
3272
  }, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
3278
3273
  [x: string]: string | undefined;
3279
- }>; /**
3280
- * #getter
3281
- */
3274
+ }>;
3282
3275
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
3283
3276
  addAssembly(configuration: any): void;
3284
3277
  replaceAssembly(idx: number, configuration: any): void;
@@ -3366,16 +3359,14 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3366
3359
  } & {
3367
3360
  readonly initialized: boolean;
3368
3361
  readonly name: string;
3369
- /**
3370
- * #getter
3371
- * list of config connections and session connections
3372
- */
3373
3362
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
3374
3363
  readonly aliases: string[];
3375
3364
  readonly displayName: string | undefined;
3376
3365
  hasName(name: string): boolean;
3377
3366
  readonly allAliases: string[];
3378
- readonly allRefNames: string[] | undefined;
3367
+ readonly allRefNames: string[] | undefined; /**
3368
+ * #getter
3369
+ */
3379
3370
  readonly lowerCaseRefNames: string[] | undefined;
3380
3371
  readonly allRefNamesWithLowerCase: string[] | undefined;
3381
3372
  readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
@@ -3387,7 +3378,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3387
3378
  getRefNameColor(refName: string): string | undefined;
3388
3379
  isValidRefName(refName: string): boolean;
3389
3380
  } & {
3390
- 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
+ */
3391
3384
  setError(e: unknown): void;
3392
3385
  setRegions(regions: import("@jbrowse/core/util").Region[]): void;
3393
3386
  setRefNameAliases(aliases: {
@@ -3397,9 +3390,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3397
3390
  }): void;
3398
3391
  setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
3399
3392
  setLoadingP(p?: Promise<void> | undefined): void;
3400
- load(): Promise<void>; /**
3401
- * #method
3402
- */
3393
+ load(): Promise<void>;
3403
3394
  loadPre(): Promise<void>;
3404
3395
  } & {
3405
3396
  getAdapterMapEntry(adapterConf: {
@@ -3440,7 +3431,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3440
3431
  hasName(name: string): boolean;
3441
3432
  readonly allAliases: string[];
3442
3433
  readonly allRefNames: string[] | undefined;
3443
- readonly lowerCaseRefNames: string[] | undefined;
3434
+ readonly lowerCaseRefNames: string[] | undefined; /**
3435
+ * #action
3436
+ */
3444
3437
  readonly allRefNamesWithLowerCase: string[] | undefined;
3445
3438
  readonly rpcManager: import("@jbrowse/core/rpc/RpcManager").default;
3446
3439
  readonly refNameColors: string[];
@@ -3802,9 +3795,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3802
3795
  }): void;
3803
3796
  setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
3804
3797
  setLoadingP(p?: Promise<void> | undefined): void;
3805
- load(): Promise<void>; /**
3806
- * #property
3807
- */
3798
+ load(): Promise<void>;
3808
3799
  loadPre(): Promise<void>;
3809
3800
  } & {
3810
3801
  getAdapterMapEntry(adapterConf: {
@@ -3819,9 +3810,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3819
3810
  [x: string]: unknown;
3820
3811
  }, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
3821
3812
  [x: string]: string | undefined;
3822
- }>; /**
3823
- * #getter
3824
- */
3813
+ }>;
3825
3814
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
3826
3815
  configuration: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IAnyType>>;
3827
3816
  }, {
@@ -3868,9 +3857,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3868
3857
  }): void;
3869
3858
  setCytobands(cytobands: import("@jbrowse/core/util").Feature[]): void;
3870
3859
  setLoadingP(p?: Promise<void> | undefined): void;
3871
- load(): Promise<void>; /**
3872
- * #property
3873
- */
3860
+ load(): Promise<void>;
3874
3861
  loadPre(): Promise<void>;
3875
3862
  } & {
3876
3863
  getAdapterMapEntry(adapterConf: {
@@ -3885,9 +3872,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3885
3872
  [x: string]: unknown;
3886
3873
  }, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
3887
3874
  [x: string]: string | undefined;
3888
- }>; /**
3889
- * #getter
3890
- */
3875
+ }>;
3891
3876
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>): void;
3892
3877
  addAssembly(configuration: any): void;
3893
3878
  replaceAssembly(idx: number, configuration: any): void;
@@ -3917,6 +3902,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3917
3902
  */
3918
3903
  renderProps(): {
3919
3904
  theme: import("@mui/material").Theme;
3905
+ highResolutionScaling: any;
3920
3906
  };
3921
3907
  } & {
3922
3908
  /**
@@ -4173,11 +4159,4 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
4173
4159
  })[];
4174
4160
  } & {
4175
4161
  afterAttach(): void;
4176
- } & {
4177
- notify(message: string, level?: import("@jbrowse/core/util").NotificationLevel | undefined, action?: import("@jbrowse/core/util").SnackAction | undefined): void;
4178
- pushSnackbarMessage(message: string, level?: import("@jbrowse/core/util").NotificationLevel | undefined, action?: import("@jbrowse/core/util").SnackAction | undefined): number;
4179
- popSnackbarMessage(): import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage | undefined;
4180
- removeSnackbarMessage(message: string): void;
4181
- } & {
4182
- readonly snackbarMessages: import("mobx").IObservableArray<import("@jbrowse/core/ui/SnackbarModel").SnackbarMessage>;
4183
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((0, SnackbarModel_1.default)(extendedSessionModel), {
362
+ return mobx_state_tree_1.types.snapshotProcessor(extendedSessionModel, {
361
363
  // @ts-expect-error
362
364
  preProcessor(snapshot) {
363
365
  if (snapshot) {