@jbrowse/web-core 2.7.1 → 2.8.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.
@@ -67,6 +67,12 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
67
67
  };
68
68
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
69
69
  }, {
70
+ connect(_arg: {
71
+ [x: string]: any;
72
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
73
+ setSubschema(slotName: string, data: unknown): any;
74
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
75
+ } & {
70
76
  afterAttach(): void;
71
77
  addTrackConf(trackConf: {
72
78
  [x: string]: any;
@@ -169,7 +175,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
169
175
  hideUris: {
170
176
  type: string;
171
177
  defaultValue: boolean;
172
- };
178
+ }; /**
179
+ * #getter
180
+ */
173
181
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
174
182
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "trackId">>>, callbacks: Function[], dereferenceTypeCount: Record<string, number>): void;
175
183
  } & {
@@ -212,6 +220,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
212
220
  afterAttach(): void;
213
221
  } & {
214
222
  selection: unknown;
223
+ hovered: unknown;
215
224
  } & {
216
225
  readonly root: {
217
226
  jbrowse: any;
@@ -270,9 +279,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
270
279
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
271
280
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
272
281
  [x: string]: string | undefined;
273
- }>; /**
274
- * #getter
275
- */
282
+ }>;
276
283
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
277
284
  [x: string]: string | undefined;
278
285
  }>;
@@ -328,9 +335,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
328
335
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
329
336
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
330
337
  [x: string]: string | undefined;
331
- }>; /**
332
- * #getter
333
- */
338
+ }>;
334
339
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
335
340
  [x: string]: string | undefined;
336
341
  }>;
@@ -357,7 +362,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
357
362
  readonly name: string;
358
363
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
359
364
  readonly aliases: string[];
360
- readonly displayName: string | undefined;
365
+ readonly displayName: string | undefined; /**
366
+ * #action
367
+ */
361
368
  hasName(name: string): boolean;
362
369
  readonly allAliases: string[];
363
370
  readonly allRefNames: string[] | undefined;
@@ -875,9 +882,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
875
882
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
876
883
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
877
884
  [x: string]: string | undefined;
878
- }>; /**
879
- * #getter
880
- */
885
+ }>;
881
886
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
882
887
  [x: string]: string | undefined;
883
888
  }>;
@@ -904,7 +909,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
904
909
  readonly name: string;
905
910
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
906
911
  readonly aliases: string[];
907
- readonly displayName: string | undefined;
912
+ readonly displayName: string | undefined; /**
913
+ * #action
914
+ */
908
915
  hasName(name: string): boolean;
909
916
  readonly allAliases: string[];
910
917
  readonly allRefNames: string[] | undefined;
@@ -1441,9 +1448,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1441
1448
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
1442
1449
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
1443
1450
  [x: string]: string | undefined;
1444
- }>; /**
1445
- * #getter
1446
- */
1451
+ }>;
1447
1452
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
1448
1453
  [x: string]: string | undefined;
1449
1454
  }>;
@@ -1470,7 +1475,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1470
1475
  readonly name: string;
1471
1476
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
1472
1477
  readonly aliases: string[];
1473
- readonly displayName: string | undefined;
1478
+ readonly displayName: string | undefined; /**
1479
+ * #action
1480
+ */
1474
1481
  hasName(name: string): boolean;
1475
1482
  readonly allAliases: string[];
1476
1483
  readonly allRefNames: string[] | undefined;
@@ -1993,6 +2000,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1993
2000
  } & {
1994
2001
  setSelection(thing: unknown): void;
1995
2002
  clearSelection(): void;
2003
+ setHovered(thing: unknown): void;
1996
2004
  } & {
1997
2005
  moveViewUp(id: string): void;
1998
2006
  moveViewDown(id: string): void;
@@ -2182,6 +2190,12 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2182
2190
  };
2183
2191
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>;
2184
2192
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2193
+ connect(_arg: {
2194
+ [x: string]: any;
2195
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2196
+ setSubschema(slotName: string, data: unknown): any;
2197
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
2198
+ } & {
2185
2199
  afterAttach(): void;
2186
2200
  addTrackConf(trackConf: {
2187
2201
  [x: string]: any;
@@ -2215,6 +2229,12 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2215
2229
  };
2216
2230
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
2217
2231
  }, {
2232
+ connect(_arg: {
2233
+ [x: string]: any;
2234
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2235
+ setSubschema(slotName: string, data: unknown): any;
2236
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
2237
+ } & {
2218
2238
  afterAttach(): void;
2219
2239
  addTrackConf(trackConf: {
2220
2240
  [x: string]: any;
@@ -2278,6 +2298,18 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2278
2298
  } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
2279
2299
  } & {
2280
2300
  setFocusedViewId(viewId: string): void;
2301
+ } & {
2302
+ /**
2303
+ * #volatile
2304
+ */
2305
+ sessionThemeName: string;
2306
+ /**
2307
+ * #volatile
2308
+ * this is the current "task" that is being performed in the UI.
2309
+ * this is usually an object of the form
2310
+ * `{ taskName: "configure", target: thing_being_configured }`
2311
+ */
2312
+ task: undefined;
2281
2313
  } & {
2282
2314
  /**
2283
2315
  * #getter
@@ -2346,18 +2378,6 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2346
2378
  * #action
2347
2379
  */
2348
2380
  setName(str: string): void;
2349
- } & {
2350
- /**
2351
- * #volatile
2352
- */
2353
- sessionThemeName: string;
2354
- /**
2355
- * #volatile
2356
- * this is the current "task" that is being performed in the UI.
2357
- * this is usually an object of the form
2358
- * `{ taskName: "configure", target: thing_being_configured }`
2359
- */
2360
- task: undefined;
2361
2381
  } & {
2362
2382
  /**
2363
2383
  * #getter
@@ -2434,9 +2454,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2434
2454
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
2435
2455
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
2436
2456
  [x: string]: string | undefined;
2437
- }>; /**
2438
- * #getter
2439
- */
2457
+ }>;
2440
2458
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
2441
2459
  [x: string]: string | undefined;
2442
2460
  }>;
@@ -2492,9 +2510,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2492
2510
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
2493
2511
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
2494
2512
  [x: string]: string | undefined;
2495
- }>; /**
2496
- * #getter
2497
- */
2513
+ }>;
2498
2514
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
2499
2515
  [x: string]: string | undefined;
2500
2516
  }>;
@@ -2521,7 +2537,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2521
2537
  readonly name: string;
2522
2538
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
2523
2539
  readonly aliases: string[];
2524
- readonly displayName: string | undefined;
2540
+ readonly displayName: string | undefined; /**
2541
+ * #action
2542
+ */
2525
2543
  hasName(name: string): boolean;
2526
2544
  readonly allAliases: string[];
2527
2545
  readonly allRefNames: string[] | undefined;
@@ -3039,9 +3057,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3039
3057
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
3040
3058
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
3041
3059
  [x: string]: string | undefined;
3042
- }>; /**
3043
- * #getter
3044
- */
3060
+ }>;
3045
3061
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
3046
3062
  [x: string]: string | undefined;
3047
3063
  }>;
@@ -3068,7 +3084,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3068
3084
  readonly name: string;
3069
3085
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
3070
3086
  readonly aliases: string[];
3071
- readonly displayName: string | undefined;
3087
+ readonly displayName: string | undefined; /**
3088
+ * #action
3089
+ */
3072
3090
  hasName(name: string): boolean;
3073
3091
  readonly allAliases: string[];
3074
3092
  readonly allRefNames: string[] | undefined;
@@ -3634,6 +3652,12 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3634
3652
  };
3635
3653
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
3636
3654
  }, {
3655
+ connect(_arg: {
3656
+ [x: string]: any;
3657
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
3658
+ setSubschema(slotName: string, data: unknown): any;
3659
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
3660
+ } & {
3637
3661
  afterAttach(): void;
3638
3662
  addTrackConf(trackConf: {
3639
3663
  [x: string]: any;
@@ -3751,6 +3775,12 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3751
3775
  };
3752
3776
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
3753
3777
  }, {
3778
+ connect(_arg: {
3779
+ [x: string]: any;
3780
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
3781
+ setSubschema(slotName: string, data: unknown): any;
3782
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
3783
+ } & {
3754
3784
  afterAttach(): void;
3755
3785
  addTrackConf(trackConf: {
3756
3786
  [x: string]: any;
@@ -58,6 +58,19 @@ function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
58
58
  */
59
59
  sessionPlugins: mobx_state_tree_1.types.array(mobx_state_tree_1.types.frozen()),
60
60
  })
61
+ .volatile(( /* self */) => ({
62
+ /**
63
+ * #volatile
64
+ */
65
+ sessionThemeName: (0, util_1.localStorageGetItem)('themeName') || 'default',
66
+ /**
67
+ * #volatile
68
+ * this is the current "task" that is being performed in the UI.
69
+ * this is usually an object of the form
70
+ * `{ taskName: "configure", target: thing_being_configured }`
71
+ */
72
+ task: undefined,
73
+ }))
61
74
  .views(self => ({
62
75
  /**
63
76
  * #getter
@@ -95,19 +108,6 @@ function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
95
108
  setName(str) {
96
109
  self.name = str;
97
110
  },
98
- }))
99
- .volatile(( /* self */) => ({
100
- /**
101
- * #volatile
102
- */
103
- sessionThemeName: (0, util_1.localStorageGetItem)('themeName') || 'default',
104
- /**
105
- * #volatile
106
- * this is the current "task" that is being performed in the UI.
107
- * this is usually an object of the form
108
- * `{ taskName: "configure", target: thing_being_configured }`
109
- */
110
- task: undefined,
111
111
  }))
112
112
  .views(self => ({
113
113
  /**
@@ -22,6 +22,12 @@ export declare function WebSessionConnectionsMixin(pluginManager: PluginManager)
22
22
  };
23
23
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
24
24
  }, {
25
+ connect(_arg: {
26
+ [x: string]: any;
27
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
28
+ setSubschema(slotName: string, data: unknown): any;
29
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
30
+ } & {
25
31
  afterAttach(): void;
26
32
  addTrackConf(trackConf: {
27
33
  [x: string]: any;
@@ -87,6 +93,12 @@ export declare function WebSessionConnectionsMixin(pluginManager: PluginManager)
87
93
  };
88
94
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>;
89
95
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
96
+ connect(_arg: {
97
+ [x: string]: any;
98
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
99
+ setSubschema(slotName: string, data: unknown): any;
100
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
101
+ } & {
90
102
  afterAttach(): void;
91
103
  addTrackConf(trackConf: {
92
104
  [x: string]: any;
@@ -120,6 +132,12 @@ export declare function WebSessionConnectionsMixin(pluginManager: PluginManager)
120
132
  };
121
133
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
122
134
  }, {
135
+ connect(_arg: {
136
+ [x: string]: any;
137
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
138
+ setSubschema(slotName: string, data: unknown): any;
139
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
140
+ } & {
123
141
  afterAttach(): void;
124
142
  addTrackConf(trackConf: {
125
143
  [x: string]: any;
@@ -67,6 +67,12 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
67
67
  };
68
68
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
69
69
  }, {
70
+ connect(_arg: {
71
+ [x: string]: any;
72
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
73
+ setSubschema(slotName: string, data: unknown): any;
74
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
75
+ } & {
70
76
  afterAttach(): void;
71
77
  addTrackConf(trackConf: {
72
78
  [x: string]: any;
@@ -169,7 +175,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
169
175
  hideUris: {
170
176
  type: string;
171
177
  defaultValue: boolean;
172
- };
178
+ }; /**
179
+ * #getter
180
+ */
173
181
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
174
182
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "trackId">>>, callbacks: Function[], dereferenceTypeCount: Record<string, number>): void;
175
183
  } & {
@@ -212,6 +220,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
212
220
  afterAttach(): void;
213
221
  } & {
214
222
  selection: unknown;
223
+ hovered: unknown;
215
224
  } & {
216
225
  readonly root: {
217
226
  jbrowse: any;
@@ -270,9 +279,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
270
279
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
271
280
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
272
281
  [x: string]: string | undefined;
273
- }>; /**
274
- * #getter
275
- */
282
+ }>;
276
283
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
277
284
  [x: string]: string | undefined;
278
285
  }>;
@@ -328,9 +335,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
328
335
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
329
336
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
330
337
  [x: string]: string | undefined;
331
- }>; /**
332
- * #getter
333
- */
338
+ }>;
334
339
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
335
340
  [x: string]: string | undefined;
336
341
  }>;
@@ -357,7 +362,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
357
362
  readonly name: string;
358
363
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
359
364
  readonly aliases: string[];
360
- readonly displayName: string | undefined;
365
+ readonly displayName: string | undefined; /**
366
+ * #action
367
+ */
361
368
  hasName(name: string): boolean;
362
369
  readonly allAliases: string[];
363
370
  readonly allRefNames: string[] | undefined;
@@ -875,9 +882,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
875
882
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
876
883
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
877
884
  [x: string]: string | undefined;
878
- }>; /**
879
- * #getter
880
- */
885
+ }>;
881
886
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
882
887
  [x: string]: string | undefined;
883
888
  }>;
@@ -904,7 +909,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
904
909
  readonly name: string;
905
910
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
906
911
  readonly aliases: string[];
907
- readonly displayName: string | undefined;
912
+ readonly displayName: string | undefined; /**
913
+ * #action
914
+ */
908
915
  hasName(name: string): boolean;
909
916
  readonly allAliases: string[];
910
917
  readonly allRefNames: string[] | undefined;
@@ -1441,9 +1448,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1441
1448
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
1442
1449
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
1443
1450
  [x: string]: string | undefined;
1444
- }>; /**
1445
- * #getter
1446
- */
1451
+ }>;
1447
1452
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
1448
1453
  [x: string]: string | undefined;
1449
1454
  }>;
@@ -1470,7 +1475,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1470
1475
  readonly name: string;
1471
1476
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
1472
1477
  readonly aliases: string[];
1473
- readonly displayName: string | undefined;
1478
+ readonly displayName: string | undefined; /**
1479
+ * #action
1480
+ */
1474
1481
  hasName(name: string): boolean;
1475
1482
  readonly allAliases: string[];
1476
1483
  readonly allRefNames: string[] | undefined;
@@ -1993,6 +2000,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
1993
2000
  } & {
1994
2001
  setSelection(thing: unknown): void;
1995
2002
  clearSelection(): void;
2003
+ setHovered(thing: unknown): void;
1996
2004
  } & {
1997
2005
  moveViewUp(id: string): void;
1998
2006
  moveViewDown(id: string): void;
@@ -2182,6 +2190,12 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2182
2190
  };
2183
2191
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>;
2184
2192
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2193
+ connect(_arg: {
2194
+ [x: string]: any;
2195
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2196
+ setSubschema(slotName: string, data: unknown): any;
2197
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
2198
+ } & {
2185
2199
  afterAttach(): void;
2186
2200
  addTrackConf(trackConf: {
2187
2201
  [x: string]: any;
@@ -2215,6 +2229,12 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2215
2229
  };
2216
2230
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
2217
2231
  }, {
2232
+ connect(_arg: {
2233
+ [x: string]: any;
2234
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2235
+ setSubschema(slotName: string, data: unknown): any;
2236
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
2237
+ } & {
2218
2238
  afterAttach(): void;
2219
2239
  addTrackConf(trackConf: {
2220
2240
  [x: string]: any;
@@ -2278,6 +2298,18 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2278
2298
  } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): any;
2279
2299
  } & {
2280
2300
  setFocusedViewId(viewId: string): void;
2301
+ } & {
2302
+ /**
2303
+ * #volatile
2304
+ */
2305
+ sessionThemeName: string;
2306
+ /**
2307
+ * #volatile
2308
+ * this is the current "task" that is being performed in the UI.
2309
+ * this is usually an object of the form
2310
+ * `{ taskName: "configure", target: thing_being_configured }`
2311
+ */
2312
+ task: undefined;
2281
2313
  } & {
2282
2314
  /**
2283
2315
  * #getter
@@ -2346,18 +2378,6 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2346
2378
  * #action
2347
2379
  */
2348
2380
  setName(str: string): void;
2349
- } & {
2350
- /**
2351
- * #volatile
2352
- */
2353
- sessionThemeName: string;
2354
- /**
2355
- * #volatile
2356
- * this is the current "task" that is being performed in the UI.
2357
- * this is usually an object of the form
2358
- * `{ taskName: "configure", target: thing_being_configured }`
2359
- */
2360
- task: undefined;
2361
2381
  } & {
2362
2382
  /**
2363
2383
  * #getter
@@ -2434,9 +2454,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2434
2454
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
2435
2455
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
2436
2456
  [x: string]: string | undefined;
2437
- }>; /**
2438
- * #getter
2439
- */
2457
+ }>;
2440
2458
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
2441
2459
  [x: string]: string | undefined;
2442
2460
  }>;
@@ -2492,9 +2510,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2492
2510
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
2493
2511
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
2494
2512
  [x: string]: string | undefined;
2495
- }>; /**
2496
- * #getter
2497
- */
2513
+ }>;
2498
2514
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
2499
2515
  [x: string]: string | undefined;
2500
2516
  }>;
@@ -2521,7 +2537,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
2521
2537
  readonly name: string;
2522
2538
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
2523
2539
  readonly aliases: string[];
2524
- readonly displayName: string | undefined;
2540
+ readonly displayName: string | undefined; /**
2541
+ * #action
2542
+ */
2525
2543
  hasName(name: string): boolean;
2526
2544
  readonly allAliases: string[];
2527
2545
  readonly allRefNames: string[] | undefined;
@@ -3039,9 +3057,7 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3039
3057
  getAdapterMapEntry(adapterConf: unknown, options: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<import("@jbrowse/core/assemblyManager/assembly").RefNameMap>;
3040
3058
  getRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
3041
3059
  [x: string]: string | undefined;
3042
- }>; /**
3043
- * #getter
3044
- */
3060
+ }>;
3045
3061
  getReverseRefNameMapForAdapter(adapterConf: unknown, opts: import("@jbrowse/core/data_adapters/BaseAdapter").BaseOptions): Promise<{
3046
3062
  [x: string]: string | undefined;
3047
3063
  }>;
@@ -3068,7 +3084,9 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3068
3084
  readonly name: string;
3069
3085
  readonly regions: import("@jbrowse/core/assemblyManager/assembly").BasicRegion[] | undefined;
3070
3086
  readonly aliases: string[];
3071
- readonly displayName: string | undefined;
3087
+ readonly displayName: string | undefined; /**
3088
+ * #action
3089
+ */
3072
3090
  hasName(name: string): boolean;
3073
3091
  readonly allAliases: string[];
3074
3092
  readonly allRefNames: string[] | undefined;
@@ -3634,6 +3652,12 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3634
3652
  };
3635
3653
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
3636
3654
  }, {
3655
+ connect(_arg: {
3656
+ [x: string]: any;
3657
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
3658
+ setSubschema(slotName: string, data: unknown): any;
3659
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
3660
+ } & {
3637
3661
  afterAttach(): void;
3638
3662
  addTrackConf(trackConf: {
3639
3663
  [x: string]: any;
@@ -3751,6 +3775,12 @@ export declare function BaseWebSession({ pluginManager, assemblyConfigSchema, }:
3751
3775
  };
3752
3776
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
3753
3777
  }, {
3778
+ connect(_arg: {
3779
+ [x: string]: any;
3780
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
3781
+ setSubschema(slotName: string, data: unknown): any;
3782
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
3783
+ } & {
3754
3784
  afterAttach(): void;
3755
3785
  addTrackConf(trackConf: {
3756
3786
  [x: string]: any;
@@ -29,6 +29,19 @@ export function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
29
29
  */
30
30
  sessionPlugins: types.array(types.frozen()),
31
31
  })
32
+ .volatile(( /* self */) => ({
33
+ /**
34
+ * #volatile
35
+ */
36
+ sessionThemeName: localStorageGetItem('themeName') || 'default',
37
+ /**
38
+ * #volatile
39
+ * this is the current "task" that is being performed in the UI.
40
+ * this is usually an object of the form
41
+ * `{ taskName: "configure", target: thing_being_configured }`
42
+ */
43
+ task: undefined,
44
+ }))
32
45
  .views(self => ({
33
46
  /**
34
47
  * #getter
@@ -66,19 +79,6 @@ export function BaseWebSession({ pluginManager, assemblyConfigSchema, }) {
66
79
  setName(str) {
67
80
  self.name = str;
68
81
  },
69
- }))
70
- .volatile(( /* self */) => ({
71
- /**
72
- * #volatile
73
- */
74
- sessionThemeName: localStorageGetItem('themeName') || 'default',
75
- /**
76
- * #volatile
77
- * this is the current "task" that is being performed in the UI.
78
- * this is usually an object of the form
79
- * `{ taskName: "configure", target: thing_being_configured }`
80
- */
81
- task: undefined,
82
82
  }))
83
83
  .views(self => ({
84
84
  /**
@@ -22,6 +22,12 @@ export declare function WebSessionConnectionsMixin(pluginManager: PluginManager)
22
22
  };
23
23
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
24
24
  }, {
25
+ connect(_arg: {
26
+ [x: string]: any;
27
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
28
+ setSubschema(slotName: string, data: unknown): any;
29
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
30
+ } & {
25
31
  afterAttach(): void;
26
32
  addTrackConf(trackConf: {
27
33
  [x: string]: any;
@@ -87,6 +93,12 @@ export declare function WebSessionConnectionsMixin(pluginManager: PluginManager)
87
93
  };
88
94
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>>;
89
95
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
96
+ connect(_arg: {
97
+ [x: string]: any;
98
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
99
+ setSubschema(slotName: string, data: unknown): any;
100
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
101
+ } & {
90
102
  afterAttach(): void;
91
103
  addTrackConf(trackConf: {
92
104
  [x: string]: any;
@@ -120,6 +132,12 @@ export declare function WebSessionConnectionsMixin(pluginManager: PluginManager)
120
132
  };
121
133
  }, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "connectionId">>;
122
134
  }, {
135
+ connect(_arg: {
136
+ [x: string]: any;
137
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
138
+ setSubschema(slotName: string, data: unknown): any;
139
+ } & import("mobx-state-tree").IStateTreeNode<import("@jbrowse/core/configuration").AnyConfigurationSchemaType>): void;
140
+ } & {
123
141
  afterAttach(): void;
124
142
  addTrackConf(trackConf: {
125
143
  [x: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/web-core",
3
- "version": "2.7.1",
3
+ "version": "2.8.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.7.1",
46
- "@jbrowse/product-core": "^2.7.1",
45
+ "@jbrowse/app-core": "^2.8.0",
46
+ "@jbrowse/product-core": "^2.8.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": "2cda1611eebd12517f2a3cfc1b612face27005d4"
65
+ "gitHead": "ee8c2bdc8bd4f1a70b1eefda984f04a2830d9ca0"
66
66
  }