react-msaview 8.4.0 → 9.0.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.
Files changed (87) hide show
  1. package/bundle/index.js +503 -89
  2. package/bundle/index.js.map +4 -4
  3. package/dist/components/MSAView.js +2 -2
  4. package/dist/components/MSAView.js.map +1 -1
  5. package/dist/components/MSAViewer.d.ts +1 -3
  6. package/dist/components/MSAViewer.js +1 -2
  7. package/dist/components/MSAViewer.js.map +1 -1
  8. package/dist/components/ResizeHandles.js +1 -1
  9. package/dist/components/ResizeHandles.js.map +1 -1
  10. package/dist/components/Track.js +1 -1
  11. package/dist/components/Track.js.map +1 -1
  12. package/dist/components/dialogs/ExportSVGDialog.js +2 -2
  13. package/dist/components/dialogs/ExportSVGDialog.js.map +1 -1
  14. package/dist/components/header/GoToBox.d.ts +332 -0
  15. package/dist/components/header/GoToBox.js +14 -4
  16. package/dist/components/header/GoToBox.js.map +1 -1
  17. package/dist/components/header/settingsMenuItems.js +4 -1
  18. package/dist/components/header/settingsMenuItems.js.map +1 -1
  19. package/dist/components/tree/CladeLabels.js +3 -3
  20. package/dist/components/tree/CladeLabels.js.map +1 -1
  21. package/dist/components/tree/TreeCanvas.js +4 -4
  22. package/dist/components/tree/TreeCanvas.js.map +1 -1
  23. package/dist/components/tree/TreeCanvasBlock.js +4 -4
  24. package/dist/components/tree/TreeCanvasBlock.js.map +1 -1
  25. package/dist/components/tree/TreeOverview.js +10 -5
  26. package/dist/components/tree/TreeOverview.js.map +1 -1
  27. package/dist/components/tree/TreePanel.js +6 -2
  28. package/dist/components/tree/TreePanel.js.map +1 -1
  29. package/dist/components/tree/TreeRuler.js +2 -2
  30. package/dist/components/tree/TreeRuler.js.map +1 -1
  31. package/dist/components/tree/cladeBrackets.d.ts +8 -10
  32. package/dist/components/tree/cladeBrackets.js +7 -6
  33. package/dist/components/tree/cladeBrackets.js.map +1 -1
  34. package/dist/components/tree/clickMap.d.ts +2 -0
  35. package/dist/components/tree/clickMap.js.map +1 -1
  36. package/dist/components/tree/ellipsize.d.ts +8 -0
  37. package/dist/components/tree/ellipsize.js +20 -0
  38. package/dist/components/tree/ellipsize.js.map +1 -0
  39. package/dist/components/tree/renderTreeCanvas.js +30 -26
  40. package/dist/components/tree/renderTreeCanvas.js.map +1 -1
  41. package/dist/components/tree/renderTreeMouseover.js +1 -1
  42. package/dist/components/tree/renderTreeMouseover.js.map +1 -1
  43. package/dist/constants.d.ts +6 -3
  44. package/dist/constants.js +16 -6
  45. package/dist/constants.js.map +1 -1
  46. package/dist/measureTextCanvas.js +2 -2
  47. package/dist/measureTextCanvas.js.map +1 -1
  48. package/dist/model/treeModel.d.ts +14 -20
  49. package/dist/model/treeModel.js +16 -23
  50. package/dist/model/treeModel.js.map +1 -1
  51. package/dist/model.d.ts +192 -213
  52. package/dist/model.js +112 -104
  53. package/dist/model.js.map +1 -1
  54. package/dist/renderToSvg.js +24 -22
  55. package/dist/renderToSvg.js.map +1 -1
  56. package/dist/svgTestUtil.d.ts +252 -356
  57. package/dist/tipLabels.d.ts +8 -0
  58. package/dist/tipLabels.js +46 -0
  59. package/dist/tipLabels.js.map +1 -0
  60. package/dist/version.d.ts +1 -1
  61. package/dist/version.js +1 -1
  62. package/package.json +6 -6
  63. package/src/components/MSAView.tsx +2 -2
  64. package/src/components/MSAViewer.tsx +1 -5
  65. package/src/components/ResizeHandles.tsx +1 -1
  66. package/src/components/Track.tsx +1 -1
  67. package/src/components/dialogs/ExportSVGDialog.tsx +2 -2
  68. package/src/components/header/GoToBox.tsx +18 -4
  69. package/src/components/header/settingsMenuItems.ts +8 -0
  70. package/src/components/tree/CladeLabels.tsx +3 -3
  71. package/src/components/tree/TreeCanvas.tsx +10 -4
  72. package/src/components/tree/TreeCanvasBlock.tsx +4 -4
  73. package/src/components/tree/TreeOverview.tsx +10 -5
  74. package/src/components/tree/TreePanel.tsx +8 -2
  75. package/src/components/tree/TreeRuler.tsx +7 -3
  76. package/src/components/tree/cladeBrackets.ts +10 -17
  77. package/src/components/tree/clickMap.ts +2 -0
  78. package/src/components/tree/ellipsize.ts +24 -0
  79. package/src/components/tree/renderTreeCanvas.ts +42 -30
  80. package/src/components/tree/renderTreeMouseover.ts +1 -1
  81. package/src/constants.ts +17 -6
  82. package/src/measureTextCanvas.ts +2 -2
  83. package/src/model/treeModel.ts +17 -27
  84. package/src/model.ts +133 -128
  85. package/src/renderToSvg.tsx +24 -22
  86. package/src/tipLabels.ts +51 -0
  87. package/src/version.ts +1 -1
package/dist/model.d.ts CHANGED
@@ -49,11 +49,11 @@ export declare const preservedOnReset: Set<string>;
49
49
  */
50
50
  declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
51
51
  maxInlineSnapshotBytes?: number;
52
- }): import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<Omit<{}, "autoTreeAreaWidth" | "drawLabels" | "drawNodeBubbles" | "drawNodeLabels" | "drawTree" | "labelsAlignRight" | "overviewHeight" | "showBranchLen" | "showTreeOverview" | "treeAreaWidth" | "treeOrder" | "treeWidth"> & {
52
+ }): import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<Omit<{}, "drawLabels" | "drawNodeBubbles" | "drawNodeLabels" | "drawTree" | "labelsAlignRight" | "overviewHeight" | "showBranchLen" | "showTreeOverview" | "treeAreaWidth" | "treeOrder" | "treeWidth"> & {
53
53
  drawLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
54
54
  labelsAlignRight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
55
- treeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
56
- treeWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
55
+ treeAreaWidth: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
56
+ treeWidth: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<number>>;
57
57
  showBranchLen: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
58
58
  treeOrder: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<TreeOrder>, [undefined]>;
59
59
  drawTree: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
@@ -61,7 +61,6 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
61
61
  drawNodeLabels: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
62
62
  showTreeOverview: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
63
63
  overviewHeight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
64
- autoTreeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
65
64
  }, "bgColor" | "colorSchemeName" | "customColorScheme" | "msaFormat" | "showColumnStats"> & {
66
65
  bgColor: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
67
66
  colorSchemeName: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
@@ -166,14 +165,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
166
165
  authInfo: any;
167
166
  }> | undefined;
168
167
  }>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
169
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
168
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
170
169
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
171
170
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
172
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
171
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
173
172
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
174
173
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
175
174
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
176
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
175
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
177
176
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
178
177
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
179
178
  }> | {
@@ -184,41 +183,27 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
184
183
  internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
185
184
  authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
186
185
  }> | undefined;
187
- }, ({
188
- blobId: string;
189
- locationType: "BlobLocation";
190
- name: string;
191
- } & Partial<{
192
- locationType: "BlobLocation";
193
- name: string;
194
- blobId: string;
195
- }>) | ({
196
- handleId: string;
197
- locationType: "FileHandleLocation";
198
- name: string;
199
- } & Partial<{
200
- locationType: "FileHandleLocation";
201
- name: string;
202
- handleId: string;
203
- }>) | ({
204
- localPath: string;
205
- locationType: "LocalPathLocation";
206
- } & Partial<{
207
- locationType: "LocalPathLocation";
208
- localPath: string;
209
- }>) | ({
210
- locationType: "UriLocation";
211
- uri: string;
212
- } & Partial<{
213
- locationType: "UriLocation";
214
- uri: string;
215
- baseUri: string | undefined;
216
- internetAccountId: string | undefined;
217
- internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
218
- internetAccountType: string;
219
- authInfo: any;
220
- }> | undefined;
221
- }>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
186
+ }, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
187
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
188
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
189
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
190
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
191
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
192
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
193
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
194
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
195
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
196
+ handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
197
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
198
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
199
+ uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
200
+ baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
201
+ internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
202
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
203
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
204
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
205
+ }, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
206
+ }>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
222
207
  locationType: "LocalPathLocation";
223
208
  localPath: string;
224
209
  }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
@@ -265,14 +250,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
265
250
  authInfo: any;
266
251
  }> | undefined;
267
252
  }>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
268
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
253
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
269
254
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
270
255
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
271
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
256
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
272
257
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
273
258
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
274
259
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
275
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
260
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
276
261
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
277
262
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
278
263
  }> | {
@@ -283,41 +268,27 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
283
268
  internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
284
269
  authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
285
270
  }> | undefined;
286
- }, ({
287
- blobId: string;
288
- locationType: "BlobLocation";
289
- name: string;
290
- } & Partial<{
291
- locationType: "BlobLocation";
292
- name: string;
293
- blobId: string;
294
- }>) | ({
295
- handleId: string;
296
- locationType: "FileHandleLocation";
297
- name: string;
298
- } & Partial<{
299
- locationType: "FileHandleLocation";
300
- name: string;
301
- handleId: string;
302
- }>) | ({
303
- localPath: string;
304
- locationType: "LocalPathLocation";
305
- } & Partial<{
306
- locationType: "LocalPathLocation";
307
- localPath: string;
308
- }>) | ({
309
- locationType: "UriLocation";
310
- uri: string;
311
- } & Partial<{
312
- locationType: "UriLocation";
313
- uri: string;
314
- baseUri: string | undefined;
315
- internetAccountId: string | undefined;
316
- internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
317
- internetAccountType: string;
318
- authInfo: any;
319
- }> | undefined;
320
- }>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
271
+ }, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
272
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
273
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
274
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
275
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
276
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
277
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
278
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
279
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
280
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
281
+ handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
282
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
283
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
284
+ uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
285
+ baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
286
+ internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
287
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
288
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
289
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
290
+ }, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
291
+ }>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
321
292
  locationType: "LocalPathLocation";
322
293
  localPath: string;
323
294
  }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
@@ -363,14 +334,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
363
334
  authInfo: any;
364
335
  }> | undefined;
365
336
  }>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
366
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
337
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
367
338
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
368
339
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
369
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
340
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
370
341
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
371
342
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
372
343
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
373
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
344
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
374
345
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
375
346
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
376
347
  }> | {
@@ -381,41 +352,27 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
381
352
  internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
382
353
  authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
383
354
  }> | undefined;
384
- }, ({
385
- blobId: string;
386
- locationType: "BlobLocation";
387
- name: string;
388
- } & Partial<{
389
- locationType: "BlobLocation";
390
- name: string;
391
- blobId: string;
392
- }>) | ({
393
- handleId: string;
394
- locationType: "FileHandleLocation";
395
- name: string;
396
- } & Partial<{
397
- locationType: "FileHandleLocation";
398
- name: string;
399
- handleId: string;
400
- }>) | ({
401
- localPath: string;
402
- locationType: "LocalPathLocation";
403
- } & Partial<{
404
- locationType: "LocalPathLocation";
405
- localPath: string;
406
- }>) | ({
407
- locationType: "UriLocation";
408
- uri: string;
409
- } & Partial<{
410
- locationType: "UriLocation";
411
- uri: string;
412
- baseUri: string | undefined;
413
- internetAccountId: string | undefined;
414
- internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
415
- internetAccountType: string;
416
- authInfo: any;
417
- }> | undefined;
418
- }>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
355
+ }, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
356
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
357
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
358
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
359
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
360
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
361
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
362
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
363
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
364
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
365
+ handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
366
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
367
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
368
+ uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
369
+ baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
370
+ internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
371
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
372
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
373
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
374
+ }, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
375
+ }>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
419
376
  locationType: "LocalPathLocation";
420
377
  localPath: string;
421
378
  }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
@@ -461,14 +418,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
461
418
  authInfo: any;
462
419
  }> | undefined;
463
420
  }>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
464
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
421
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
465
422
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
466
423
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
467
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
424
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
468
425
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
469
426
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
470
427
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
471
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
428
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
472
429
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
473
430
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
474
431
  }> | {
@@ -479,41 +436,27 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
479
436
  internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
480
437
  authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
481
438
  }> | undefined;
482
- }, ({
483
- blobId: string;
484
- locationType: "BlobLocation";
485
- name: string;
486
- } & Partial<{
487
- locationType: "BlobLocation";
488
- name: string;
489
- blobId: string;
490
- }>) | ({
491
- handleId: string;
492
- locationType: "FileHandleLocation";
493
- name: string;
494
- } & Partial<{
495
- locationType: "FileHandleLocation";
496
- name: string;
497
- handleId: string;
498
- }>) | ({
499
- localPath: string;
500
- locationType: "LocalPathLocation";
501
- } & Partial<{
502
- locationType: "LocalPathLocation";
503
- localPath: string;
504
- }>) | ({
505
- locationType: "UriLocation";
506
- uri: string;
507
- } & Partial<{
508
- locationType: "UriLocation";
509
- uri: string;
510
- baseUri: string | undefined;
511
- internetAccountId: string | undefined;
512
- internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
513
- internetAccountType: string;
514
- authInfo: any;
515
- }> | undefined;
516
- }>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
439
+ }, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
440
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
441
+ localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
442
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
443
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
444
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
445
+ blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
446
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
447
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
448
+ name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
449
+ handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
450
+ }> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
451
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
452
+ uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
453
+ baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
454
+ internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
455
+ internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
456
+ internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
457
+ authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
458
+ }, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
459
+ }>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
517
460
  locationType: "LocalPathLocation";
518
461
  localPath: string;
519
462
  }> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
@@ -699,11 +642,10 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
699
642
  removeActiveDialog(): void;
700
643
  queueDialog(cb: (doneCallback: () => void) => [import("@jbrowse/core/util").DialogComponentType, unknown]): void;
701
644
  } & {
702
- setTreeAreaWidth(n: number): void;
703
- setTreeWidth(n: number): void;
645
+ setTreeAreaWidth(n: number | undefined): void;
646
+ setTreeWidth(n: number | undefined): void;
704
647
  setLabelsAlignRight(arg: boolean): void;
705
648
  setDrawTree(arg: boolean): void;
706
- setAutoTreeAreaWidth(arg: boolean): void;
707
649
  setShowBranchLen(arg: boolean): void;
708
650
  setTreeOrder(order: TreeOrder): void;
709
651
  setDrawNodeBubbles(arg: boolean): void;
@@ -1161,10 +1103,10 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
1161
1103
  * the row table: extra fields per row, keyed by row name, which the
1162
1104
  * `encodings` channels read. It is stored as the JSON string
1163
1105
  * `data.treeMetadata`, the name that travels in existing links, so the
1164
- * inline size limit and `treeMetadataFilehandle` cover it. labelWidthMap
1165
- * reads it on every layout, so a malformed user-supplied file returns {}
1166
- * instead of throwing out of rendering, and every field is a string by
1167
- * the time a scale sorts it.
1106
+ * inline size limit and `treeMetadataFilehandle` cover it. The tree area
1107
+ * fit reads it on every layout, so a malformed user-supplied file
1108
+ * returns {} instead of throwing out of rendering, and every field is a
1109
+ * string by the time a scale sorts it.
1168
1110
  */
1169
1111
  readonly rowData: Record<string, Record<string, string> | undefined>;
1170
1112
  /**
@@ -1224,6 +1166,60 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
1224
1166
  * where no clade draws a bar or a label.
1225
1167
  */
1226
1168
  readonly cladeGutterWidth: number;
1169
+ /**
1170
+ * #getter
1171
+ * whether a tree draws beside the labels: false for a file with no
1172
+ * tree, and with drawTree off
1173
+ */
1174
+ readonly treeDrawn: boolean;
1175
+ /**
1176
+ * #getter
1177
+ * the leaf names of the whole tree and its depth in levels. The fit
1178
+ * reads these, so a collapse or a focus leaves the tree area as it is
1179
+ */
1180
+ readonly treeTips: {
1181
+ names: string[];
1182
+ depth: number;
1183
+ };
1184
+ /**
1185
+ * #getter
1186
+ * the widest tip label at labelFitFontSize, measured whether or not a
1187
+ * zoom hides the labels
1188
+ */
1189
+ readonly maxTipLabelWidth: number;
1190
+ /**
1191
+ * #getter
1192
+ * the px the tip labels take across the tree area: the widest label at
1193
+ * labelFitFontSize and the gaps either side of it, or 0 with drawLabels
1194
+ * off
1195
+ */
1196
+ readonly labelColumnWidth: number;
1197
+ /**
1198
+ * #getter
1199
+ * the tree area width while treeAreaWidth is undefined: the label column
1200
+ * beside a tree that widens with its depth, up to maxTreeAreaShare of the
1201
+ * view, or the room the row panels leave where there is no alignment.
1202
+ * Where that binds, the tree keeps minTreeWidth and the renderer
1203
+ * ellipsizes the labels
1204
+ */
1205
+ readonly fittedTreeAreaWidth: number;
1206
+ /**
1207
+ * #getter
1208
+ * the width of the area the tree and its labels draw in, px:
1209
+ * treeAreaWidth where set, the fit otherwise
1210
+ */
1211
+ readonly effectiveTreeAreaWidth: number;
1212
+ /**
1213
+ * #getter
1214
+ * the width of the tree, px: treeWidth where set, otherwise the tree
1215
+ * area less the label column, which a zoom hiding the labels gives to
1216
+ * the tree
1217
+ */
1218
+ readonly effectiveTreeWidth: number;
1219
+ /**
1220
+ * #getter
1221
+ */
1222
+ readonly showTreeText: boolean;
1227
1223
  /**
1228
1224
  * #getter
1229
1225
  */
@@ -1413,9 +1409,9 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
1413
1409
  /**
1414
1410
  * #getter
1415
1411
  * `root` laid out on new nodes in row and branch-length units, read in
1416
- * pixels through `rowHeight` and `treeWidth`. A zoom leaves it and every
1417
- * node in it as they are, and an observer reading a node's `x` or `len`
1418
- * observes the size it scales by.
1412
+ * pixels through `rowHeight` and `effectiveTreeWidth`. A zoom leaves it
1413
+ * and every node in it as they are, and an observer reading a node's `x`
1414
+ * or `len` observes the size it scales by.
1419
1415
  */
1420
1416
  readonly treeLayout: {
1421
1417
  root: import("./hierarchy.ts").LaidOutNode<NodeWithIds>;
@@ -1443,8 +1439,8 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
1443
1439
  readonly rootToTipLength: number;
1444
1440
  /**
1445
1441
  * #getter
1446
- * x-position of the farthest tip in a phylogram, px: treeWidth, or 0 for
1447
- * a tree with no branch lengths (drawn as a cladogram)
1442
+ * x-position of the farthest tip in a phylogram, px: effectiveTreeWidth,
1443
+ * or 0 for a tree with no branch lengths (drawn as a cladogram)
1448
1444
  */
1449
1445
  readonly maxBranchLength: number;
1450
1446
  /**
@@ -1477,10 +1473,6 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
1477
1473
  * #getter
1478
1474
  */
1479
1475
  readonly showMsaLetters: boolean;
1480
- /**
1481
- * #getter
1482
- */
1483
- readonly showTreeText: boolean;
1484
1476
  } & {
1485
1477
  /**
1486
1478
  * #getter
@@ -1512,17 +1504,6 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
1512
1504
  */
1513
1505
  readonly columnTrackModels: BasicTrack[];
1514
1506
  } & {
1515
- /**
1516
- * #getter
1517
- */
1518
- readonly labelWidthMap: Map<string, number>;
1519
- /**
1520
- * #getter
1521
- * factor turning a labelWidthMap entry into its width at the current
1522
- * font size
1523
- */
1524
- readonly labelWidthScale: number;
1525
- readonly labelsWidth: number;
1526
1507
  /**
1527
1508
  * #getter
1528
1509
  */
@@ -2327,8 +2308,8 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2327
2308
  msaFormat: import("msa-parsers").MSAFormat | undefined;
2328
2309
  drawLabels: boolean;
2329
2310
  labelsAlignRight: boolean;
2330
- treeAreaWidth: number;
2331
- treeWidth: number;
2311
+ treeAreaWidth: number | undefined;
2312
+ treeWidth: number | undefined;
2332
2313
  showBranchLen: boolean;
2333
2314
  treeOrder: TreeOrder;
2334
2315
  drawTree: boolean;
@@ -2336,7 +2317,6 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2336
2317
  drawNodeLabels: boolean;
2337
2318
  showTreeOverview: boolean;
2338
2319
  overviewHeight: number;
2339
- autoTreeAreaWidth: boolean;
2340
2320
  columnTracks: ColumnTrackSpec[];
2341
2321
  id: string;
2342
2322
  showDomains: boolean;
@@ -2354,14 +2334,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2354
2334
  scrollX: number;
2355
2335
  colWidth: number;
2356
2336
  treeFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2357
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2337
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2358
2338
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2359
2339
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2360
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2340
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2361
2341
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2362
2342
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2363
2343
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2364
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2344
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2365
2345
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2366
2346
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2367
2347
  }> | {
@@ -2374,14 +2354,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2374
2354
  }> | undefined;
2375
2355
  } | undefined;
2376
2356
  msaFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2377
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2357
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2378
2358
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2379
2359
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2380
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2360
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2381
2361
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2382
2362
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2383
2363
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2384
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2364
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2385
2365
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2386
2366
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2387
2367
  }> | {
@@ -2394,14 +2374,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2394
2374
  }> | undefined;
2395
2375
  } | undefined;
2396
2376
  treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2397
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2377
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2398
2378
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2399
2379
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2400
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2380
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2401
2381
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2402
2382
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2403
2383
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2404
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2384
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2405
2385
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2406
2386
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2407
2387
  }> | {
@@ -2414,14 +2394,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2414
2394
  }> | undefined;
2415
2395
  } | undefined;
2416
2396
  gffFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2417
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2397
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2418
2398
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2419
2399
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2420
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2400
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2421
2401
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2422
2402
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2423
2403
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2424
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2404
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2425
2405
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2426
2406
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2427
2407
  }> | {
@@ -2465,8 +2445,8 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2465
2445
  msaFormat: import("msa-parsers").MSAFormat | undefined;
2466
2446
  drawLabels: boolean;
2467
2447
  labelsAlignRight: boolean;
2468
- treeAreaWidth: number;
2469
- treeWidth: number;
2448
+ treeAreaWidth: number | undefined;
2449
+ treeWidth: number | undefined;
2470
2450
  showBranchLen: boolean;
2471
2451
  treeOrder: TreeOrder;
2472
2452
  drawTree: boolean;
@@ -2474,7 +2454,6 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2474
2454
  drawNodeLabels: boolean;
2475
2455
  showTreeOverview: boolean;
2476
2456
  overviewHeight: number;
2477
- autoTreeAreaWidth: boolean;
2478
2457
  columnTracks?: undefined;
2479
2458
  id: string;
2480
2459
  showDomains: boolean;
@@ -2492,14 +2471,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2492
2471
  scrollX: number;
2493
2472
  colWidth: number;
2494
2473
  treeFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2495
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2474
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2496
2475
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2497
2476
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2498
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2477
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2499
2478
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2500
2479
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2501
2480
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2502
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2481
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2503
2482
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2504
2483
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2505
2484
  }> | {
@@ -2512,14 +2491,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2512
2491
  }> | undefined;
2513
2492
  } | undefined;
2514
2493
  msaFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2515
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2494
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2516
2495
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2517
2496
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2518
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2497
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2519
2498
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2520
2499
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2521
2500
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2522
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2501
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2523
2502
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2524
2503
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2525
2504
  }> | {
@@ -2532,14 +2511,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2532
2511
  }> | undefined;
2533
2512
  } | undefined;
2534
2513
  treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2535
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2514
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2536
2515
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2537
2516
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2538
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2517
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2539
2518
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2540
2519
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2541
2520
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2542
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2521
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2543
2522
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2544
2523
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2545
2524
  }> | {
@@ -2552,14 +2531,14 @@ declare function stateModelFactory({ maxInlineSnapshotBytes, }?: {
2552
2531
  }> | undefined;
2553
2532
  } | undefined;
2554
2533
  gffFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2555
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"LocalPathLocation">;
2534
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
2556
2535
  localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2557
2536
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2558
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"BlobLocation">;
2537
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
2559
2538
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2560
2539
  blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2561
2540
  }> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
2562
- locationType: import("@jbrowse/mobx-state-tree").ISimpleType<"FileHandleLocation">;
2541
+ locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
2563
2542
  name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2564
2543
  handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
2565
2544
  }> | {