react-msaview 8.3.0 → 8.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/index.js +499 -295
- package/bundle/index.js.map +4 -4
- package/dist/blockFasta.d.ts +6 -0
- package/dist/blockFasta.js +12 -0
- package/dist/blockFasta.js.map +1 -0
- package/dist/colorSchemes.d.ts +7 -0
- package/dist/colorSchemes.js +15 -0
- package/dist/colorSchemes.js.map +1 -1
- package/dist/components/MSAView.js +15 -9
- package/dist/components/MSAView.js.map +1 -1
- package/dist/components/MSAViewer.d.ts +28 -7
- package/dist/components/MSAViewer.js +61 -22
- package/dist/components/MSAViewer.js.map +1 -1
- package/dist/components/MetadataTable.d.ts +5 -0
- package/dist/components/MetadataTable.js +29 -0
- package/dist/components/MetadataTable.js.map +1 -0
- package/dist/components/Track.js +11 -2
- package/dist/components/Track.js.map +1 -1
- package/dist/components/dialogs/MetadataDialog.js +5 -6
- package/dist/components/dialogs/MetadataDialog.js.map +1 -1
- package/dist/components/header/ColorSchemeMenu.d.ts +6 -0
- package/dist/components/header/ColorSchemeMenu.js +23 -5
- package/dist/components/header/ColorSchemeMenu.js.map +1 -1
- package/dist/components/header/GoToBox.d.ts +338 -0
- package/dist/components/header/GoToBox.js +31 -0
- package/dist/components/header/GoToBox.js.map +1 -0
- package/dist/components/header/Header.js +4 -2
- package/dist/components/header/Header.js.map +1 -1
- package/dist/components/header/SelectionMenu.d.ts +12 -0
- package/dist/components/header/SelectionMenu.js +72 -0
- package/dist/components/header/SelectionMenu.js.map +1 -0
- package/dist/components/header/goTo.d.ts +20 -0
- package/dist/components/header/goTo.js +69 -0
- package/dist/components/header/goTo.js.map +1 -0
- package/dist/components/msa/MSACanvas.js +13 -2
- package/dist/components/msa/MSACanvas.js.map +1 -1
- package/dist/components/msa/MSACanvasBlock.js +5 -1
- package/dist/components/msa/MSACanvasBlock.js.map +1 -1
- package/dist/components/msa/msaKeys.js +6 -0
- package/dist/components/msa/msaKeys.js.map +1 -1
- package/dist/components/msa/msaRaster.js +1 -0
- package/dist/components/msa/msaRaster.js.map +1 -1
- package/dist/components/msa/renderHighlights.d.ts +14 -3
- package/dist/components/msa/renderHighlights.js +29 -4
- package/dist/components/msa/renderHighlights.js.map +1 -1
- package/dist/components/msa/tileColor.js +9 -8
- package/dist/components/msa/tileColor.js.map +1 -1
- package/dist/components/msa/useMsaBlockMouse.d.ts +1 -1
- package/dist/components/msa/useMsaBlockMouse.js +18 -11
- package/dist/components/msa/useMsaBlockMouse.js.map +1 -1
- package/dist/components/overlayColors.d.ts +2 -0
- package/dist/components/overlayColors.js +3 -0
- package/dist/components/overlayColors.js.map +1 -1
- package/dist/components/selectionDrag.d.ts +17 -0
- package/dist/components/selectionDrag.js +30 -0
- package/dist/components/selectionDrag.js.map +1 -0
- package/dist/components/tracks/useTrackHover.d.ts +3 -1
- package/dist/components/tracks/useTrackHover.js +26 -6
- package/dist/components/tracks/useTrackHover.js.map +1 -1
- package/dist/components/tree/dialogs/TreeNodeInfoDialog.js +9 -8
- package/dist/components/tree/dialogs/TreeNodeInfoDialog.js.map +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +6 -6
- package/dist/constants.js.map +1 -1
- package/dist/element.d.ts +7 -3
- package/dist/element.js +32 -4
- package/dist/element.js.map +1 -1
- package/dist/featuresLayer.d.ts +8 -0
- package/dist/featuresLayer.js +42 -0
- package/dist/featuresLayer.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/model/DataModel.d.ts +1 -1
- package/dist/model/DataModel.js +3 -3
- package/dist/model/DataModel.js.map +1 -1
- package/dist/model/msaModel.d.ts +14 -1
- package/dist/model/msaModel.js +17 -1
- package/dist/model/msaModel.js.map +1 -1
- package/dist/model.d.ts +242 -187
- package/dist/model.js +264 -45
- package/dist/model.js.map +1 -1
- package/dist/svgTestUtil.d.ts +284 -336
- package/dist/types.d.ts +50 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +6 -6
- package/src/blockFasta.ts +18 -0
- package/src/colorSchemes.ts +20 -0
- package/src/components/MSAView.tsx +16 -9
- package/src/components/MSAViewer.tsx +95 -26
- package/src/components/MetadataTable.tsx +55 -0
- package/src/components/Track.tsx +14 -1
- package/src/components/dialogs/MetadataDialog.tsx +9 -8
- package/src/components/header/ColorSchemeMenu.tsx +31 -12
- package/src/components/header/GoToBox.tsx +64 -0
- package/src/components/header/Header.tsx +6 -2
- package/src/components/header/SelectionMenu.tsx +117 -0
- package/src/components/header/goTo.ts +75 -0
- package/src/components/msa/MSACanvas.tsx +12 -2
- package/src/components/msa/MSACanvasBlock.tsx +5 -1
- package/src/components/msa/msaKeys.ts +6 -0
- package/src/components/msa/msaRaster.ts +1 -0
- package/src/components/msa/renderHighlights.ts +46 -4
- package/src/components/msa/tileColor.ts +9 -8
- package/src/components/msa/useMsaBlockMouse.ts +24 -27
- package/src/components/overlayColors.ts +4 -0
- package/src/components/selectionDrag.ts +42 -0
- package/src/components/tracks/useTrackHover.ts +28 -6
- package/src/components/tree/dialogs/TreeNodeInfoDialog.tsx +14 -16
- package/src/constants.ts +6 -6
- package/src/element.ts +45 -5
- package/src/featuresLayer.ts +48 -0
- package/src/index.ts +5 -0
- package/src/model/DataModel.ts +3 -3
- package/src/model/msaModel.ts +19 -1
- package/src/model.ts +313 -55
- package/src/types.ts +58 -0
- package/src/version.ts +1 -1
- package/dist/components/header/RowSearch.d.ts +0 -6
- package/dist/components/header/RowSearch.js +0 -15
- package/dist/components/header/RowSearch.js.map +0 -1
- package/dist/components/header/revealRow.d.ts +0 -3
- package/dist/components/header/revealRow.js +0 -15
- package/dist/components/header/revealRow.js.map +0 -1
- package/src/components/header/RowSearch.tsx +0 -34
- package/src/components/header/revealRow.ts +0 -17
package/dist/svgTestUtil.d.ts
CHANGED
|
@@ -14,12 +14,13 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
14
14
|
showTreeOverview: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
15
15
|
overviewHeight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
16
16
|
autoTreeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
17
|
-
}, "bgColor" | "colorSchemeName" | "msaFormat" | "showColumnStats"> & {
|
|
17
|
+
}, "bgColor" | "colorSchemeName" | "customColorScheme" | "msaFormat" | "showColumnStats"> & {
|
|
18
18
|
bgColor: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
19
19
|
colorSchemeName: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
20
|
+
customColorScheme: import("@jbrowse/mobx-state-tree").IType<Record<string, string> | undefined, Record<string, string> | undefined, Record<string, string> | undefined>;
|
|
20
21
|
showColumnStats: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
21
22
|
msaFormat: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<import("msa-parsers").MSAFormat>>;
|
|
22
|
-
}, "allowedGappyness" | "clades" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "data" | "drawMsaLetters" | "encodings" | "gffFilehandle" | "height" | "hideGaps" | "highlightColumns" | "highlights" | "id" | "msaFilehandle" | "region" | "relativeTo" | "residueMappings" | "rotated" | "rowHeight" | "rowPanels" | "scrollX" | "scrollY" | "scrollZoom" | "scrollZoomAxis" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "trackHeights" | "treeFilehandle" | "treeMetadataFilehandle" | "treeRoot" | "turnedOffFeatures" | "turnedOffTracks" | "type"> & {
|
|
23
|
+
}, "allowedGappyness" | "clades" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "data" | "drawMsaLetters" | "encodings" | "features" | "gffFilehandle" | "height" | "hideGaps" | "highlightColumns" | "highlights" | "id" | "msaFilehandle" | "region" | "relativeTo" | "residueMappings" | "rotated" | "rowHeight" | "rowPanels" | "scrollX" | "scrollY" | "scrollZoom" | "scrollZoomAxis" | "selection" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "trackHeights" | "treeFilehandle" | "treeMetadataFilehandle" | "treeRoot" | "turnedOffFeatures" | "turnedOffTracks" | "type"> & {
|
|
23
24
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
24
25
|
showDomains: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
25
26
|
showDomainLegend: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
@@ -56,14 +57,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
56
57
|
authInfo: any;
|
|
57
58
|
}> | undefined;
|
|
58
59
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
59
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
60
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
60
61
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
61
62
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
62
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
63
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
63
64
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
64
65
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
65
66
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
66
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
67
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
67
68
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
68
69
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
69
70
|
}> | {
|
|
@@ -74,41 +75,27 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
74
75
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
75
76
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
76
77
|
}> | undefined;
|
|
77
|
-
}, ({
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
localPath: string;
|
|
99
|
-
}>) | ({
|
|
100
|
-
locationType: "UriLocation";
|
|
101
|
-
uri: string;
|
|
102
|
-
} & Partial<{
|
|
103
|
-
locationType: "UriLocation";
|
|
104
|
-
uri: string;
|
|
105
|
-
baseUri: string | undefined;
|
|
106
|
-
internetAccountId: string | undefined;
|
|
107
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
108
|
-
internetAccountType: string;
|
|
109
|
-
authInfo: any;
|
|
110
|
-
}> | undefined;
|
|
111
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
78
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
79
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
80
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
81
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
82
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
83
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
84
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
85
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
86
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
87
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
88
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
89
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
90
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
91
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
92
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
93
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
94
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
95
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
96
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
97
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
98
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
112
99
|
locationType: "LocalPathLocation";
|
|
113
100
|
localPath: string;
|
|
114
101
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -150,14 +137,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
150
137
|
authInfo: any;
|
|
151
138
|
}> | undefined;
|
|
152
139
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
153
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
140
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
154
141
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
155
142
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
156
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
143
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
157
144
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
158
145
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
159
146
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
160
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
147
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
161
148
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
162
149
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
163
150
|
}> | {
|
|
@@ -168,41 +155,27 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
168
155
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
169
156
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
170
157
|
}> | undefined;
|
|
171
|
-
}, ({
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
localPath: string;
|
|
193
|
-
}>) | ({
|
|
194
|
-
locationType: "UriLocation";
|
|
195
|
-
uri: string;
|
|
196
|
-
} & Partial<{
|
|
197
|
-
locationType: "UriLocation";
|
|
198
|
-
uri: string;
|
|
199
|
-
baseUri: string | undefined;
|
|
200
|
-
internetAccountId: string | undefined;
|
|
201
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
202
|
-
internetAccountType: string;
|
|
203
|
-
authInfo: any;
|
|
204
|
-
}> | undefined;
|
|
205
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
158
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
159
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
160
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
161
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
162
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
163
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
164
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
165
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
166
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
167
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
168
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
169
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
170
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
171
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
172
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
173
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
174
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
175
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
176
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
177
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
178
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
206
179
|
locationType: "LocalPathLocation";
|
|
207
180
|
localPath: string;
|
|
208
181
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -244,14 +217,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
244
217
|
authInfo: any;
|
|
245
218
|
}> | undefined;
|
|
246
219
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
247
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
220
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
248
221
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
249
222
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
250
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
223
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
251
224
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
252
225
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
253
226
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
254
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
227
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
255
228
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
256
229
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
257
230
|
}> | {
|
|
@@ -262,41 +235,27 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
262
235
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
263
236
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
264
237
|
}> | undefined;
|
|
265
|
-
}, ({
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
localPath: string;
|
|
287
|
-
}>) | ({
|
|
288
|
-
locationType: "UriLocation";
|
|
289
|
-
uri: string;
|
|
290
|
-
} & Partial<{
|
|
291
|
-
locationType: "UriLocation";
|
|
292
|
-
uri: string;
|
|
293
|
-
baseUri: string | undefined;
|
|
294
|
-
internetAccountId: string | undefined;
|
|
295
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
296
|
-
internetAccountType: string;
|
|
297
|
-
authInfo: any;
|
|
298
|
-
}> | undefined;
|
|
299
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
238
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
239
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
240
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
241
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
242
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
243
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
244
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
245
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
246
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
247
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
248
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
249
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
250
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
251
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
252
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
253
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
254
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
255
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
256
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
257
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
258
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
300
259
|
locationType: "LocalPathLocation";
|
|
301
260
|
localPath: string;
|
|
302
261
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -338,14 +297,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
338
297
|
authInfo: any;
|
|
339
298
|
}> | undefined;
|
|
340
299
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
341
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
300
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
342
301
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
343
302
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
344
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
303
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
345
304
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
346
305
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
347
306
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
348
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
307
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
349
308
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
350
309
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
351
310
|
}> | {
|
|
@@ -356,41 +315,27 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
356
315
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
357
316
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
358
317
|
}> | undefined;
|
|
359
|
-
}, ({
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
localPath: string;
|
|
381
|
-
}>) | ({
|
|
382
|
-
locationType: "UriLocation";
|
|
383
|
-
uri: string;
|
|
384
|
-
} & Partial<{
|
|
385
|
-
locationType: "UriLocation";
|
|
386
|
-
uri: string;
|
|
387
|
-
baseUri: string | undefined;
|
|
388
|
-
internetAccountId: string | undefined;
|
|
389
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
390
|
-
internetAccountType: string;
|
|
391
|
-
authInfo: any;
|
|
392
|
-
}> | undefined;
|
|
393
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
318
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
319
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
320
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
321
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
322
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
323
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
324
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
325
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
326
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
327
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
328
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
329
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
330
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
331
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
332
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
333
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
334
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
335
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
336
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
337
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
338
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
394
339
|
locationType: "LocalPathLocation";
|
|
395
340
|
localPath: string;
|
|
396
341
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -437,6 +382,8 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
437
382
|
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
438
383
|
highlightColumns: import("@jbrowse/mobx-state-tree").IType<number[] | undefined, number[] | undefined, number[] | undefined>;
|
|
439
384
|
highlights: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("./types.ts").Highlight, import("./types.ts").Highlight, import("./types.ts").Highlight>>, [undefined]>;
|
|
385
|
+
features: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("./types.ts").Feature, import("./types.ts").Feature, import("./types.ts").Feature>>, [undefined]>;
|
|
386
|
+
selection: import("@jbrowse/mobx-state-tree").IType<import("./types.ts").MsaSelection | undefined, import("./types.ts").MsaSelection | undefined, import("./types.ts").MsaSelection | undefined>;
|
|
440
387
|
region: import("@jbrowse/mobx-state-tree").IType<import("./types.ts").Region | undefined, import("./types.ts").Region | undefined, import("./types.ts").Region | undefined>;
|
|
441
388
|
clades: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("./types.ts").Clade, import("./types.ts").Clade, import("./types.ts").Clade>>, [undefined]>;
|
|
442
389
|
encodings: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("./types.ts").Encoding, import("./types.ts").Encoding, import("./types.ts").Encoding>>, [undefined]>;
|
|
@@ -464,6 +411,7 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
464
411
|
setDrawLabels(arg: boolean): void;
|
|
465
412
|
} & {
|
|
466
413
|
setColorSchemeName(name: string): void;
|
|
414
|
+
setCustomColorScheme(map?: Record<string, string>): void;
|
|
467
415
|
setBgColor(arg: boolean): void;
|
|
468
416
|
setShowColumnStats(arg: boolean): void;
|
|
469
417
|
setMSAFormat(arg?: import("msa-parsers").MSAFormat): void;
|
|
@@ -514,6 +462,9 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
514
462
|
setHighlightedColumns(columns?: number[]): void;
|
|
515
463
|
setRegion(region?: import("./types.ts").Region): void;
|
|
516
464
|
setHighlights(highlights: import("./types.ts").Highlight[]): void;
|
|
465
|
+
setFeatures(features: import("./types.ts").Feature[]): void;
|
|
466
|
+
setSelection(selection?: import("./types.ts").MsaSelection): void;
|
|
467
|
+
clearSelection(): void;
|
|
517
468
|
setClades(clades: import("./types.ts").Clade[]): void;
|
|
518
469
|
applyHighlight(owner: string, highlights: import("./types.ts").Highlight[]): void;
|
|
519
470
|
clearHighlight(owner: string): void;
|
|
@@ -542,16 +493,18 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
542
493
|
setMSA(result: string): void;
|
|
543
494
|
setTree(result: string): void;
|
|
544
495
|
setTreeMetadata(result: string): void;
|
|
545
|
-
setGFF(result
|
|
496
|
+
setGFF(result?: string): void;
|
|
546
497
|
} & {
|
|
547
498
|
readonly hideGapsEffective: boolean;
|
|
548
499
|
readonly realAllowedGappyness: number;
|
|
500
|
+
readonly allAnnotations: import("msa-parsers").Annotation[];
|
|
549
501
|
readonly actuallyShowDomains: boolean;
|
|
550
502
|
readonly hostRestoresData: boolean;
|
|
551
503
|
readonly viewInitialized: boolean;
|
|
552
504
|
readonly width: number;
|
|
553
505
|
} & {
|
|
554
506
|
readonly colorScheme: Record<string, string>;
|
|
507
|
+
readonly dynamicColorSchemeName: string | undefined;
|
|
555
508
|
readonly header: Record<string, unknown> | {
|
|
556
509
|
info: string;
|
|
557
510
|
version: string | undefined;
|
|
@@ -741,7 +694,7 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
741
694
|
doScrollX(deltaX: number): void;
|
|
742
695
|
setScrollX(n: number): void;
|
|
743
696
|
setColumnTracks(tracks: import("./types.ts").ColumnTrackSpec[]): void;
|
|
744
|
-
setRowData(rowData:
|
|
697
|
+
setRowData(rowData: import("./types.ts").RowDataInput): void;
|
|
745
698
|
setEncodings(encodings: import("./types.ts").Encoding[]): void;
|
|
746
699
|
setRowPanels(panels: import("./types.ts").RowPanelSpec[]): void;
|
|
747
700
|
setResidueMappings(mappings: import("./types.ts").ResidueMapping[]): void;
|
|
@@ -781,6 +734,16 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
781
734
|
}[];
|
|
782
735
|
fillHighlightLabel(label: string, row?: string, start?: number): string;
|
|
783
736
|
readonly resolvedHighlights: import("./types.ts").ResolvedHighlight[];
|
|
737
|
+
readonly resolvedSelection: import("./types.ts").ResolvedSelection | undefined;
|
|
738
|
+
readonly selectionSize: {
|
|
739
|
+
columns: number;
|
|
740
|
+
rows: number;
|
|
741
|
+
} | undefined;
|
|
742
|
+
readonly selectionFileSpan: {
|
|
743
|
+
start: number;
|
|
744
|
+
end: number;
|
|
745
|
+
} | undefined;
|
|
746
|
+
readonly selectionFasta: string;
|
|
784
747
|
columnStatsAt(col: number): import("./columnStats.ts").ColumnStats | undefined;
|
|
785
748
|
getRowData(name: string): {
|
|
786
749
|
data: {
|
|
@@ -828,6 +791,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
828
791
|
fit(): void;
|
|
829
792
|
fitVertically(): void;
|
|
830
793
|
zoomToRegion(region: import("./types.ts").Region): void;
|
|
794
|
+
zoomToSelection(): void;
|
|
795
|
+
selectBlock(anchor: {
|
|
796
|
+
col: number;
|
|
797
|
+
row?: number;
|
|
798
|
+
}, head: {
|
|
799
|
+
col: number;
|
|
800
|
+
row?: number;
|
|
801
|
+
}): void;
|
|
831
802
|
fitHorizontally(): void;
|
|
832
803
|
afterCreate(): void;
|
|
833
804
|
} & import("@jbrowse/mobx-state-tree").IStateTreeNode<import("@jbrowse/mobx-state-tree").IModelType<Omit<Omit<Omit<{}, "autoTreeAreaWidth" | "drawLabels" | "drawNodeBubbles" | "drawNodeLabels" | "drawTree" | "labelsAlignRight" | "overviewHeight" | "showBranchLen" | "showTreeOverview" | "treeAreaWidth" | "treeOrder" | "treeWidth"> & {
|
|
@@ -843,12 +814,13 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
843
814
|
showTreeOverview: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
844
815
|
overviewHeight: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
845
816
|
autoTreeAreaWidth: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
846
|
-
}, "bgColor" | "colorSchemeName" | "msaFormat" | "showColumnStats"> & {
|
|
817
|
+
}, "bgColor" | "colorSchemeName" | "customColorScheme" | "msaFormat" | "showColumnStats"> & {
|
|
847
818
|
bgColor: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
848
819
|
colorSchemeName: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
820
|
+
customColorScheme: import("@jbrowse/mobx-state-tree").IType<Record<string, string> | undefined, Record<string, string> | undefined, Record<string, string> | undefined>;
|
|
849
821
|
showColumnStats: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
850
822
|
msaFormat: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<import("msa-parsers").MSAFormat>>;
|
|
851
|
-
}, "allowedGappyness" | "clades" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "data" | "drawMsaLetters" | "encodings" | "gffFilehandle" | "height" | "hideGaps" | "highlightColumns" | "highlights" | "id" | "msaFilehandle" | "region" | "relativeTo" | "residueMappings" | "rotated" | "rowHeight" | "rowPanels" | "scrollX" | "scrollY" | "scrollZoom" | "scrollZoomAxis" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "trackHeights" | "treeFilehandle" | "treeMetadataFilehandle" | "treeRoot" | "turnedOffFeatures" | "turnedOffTracks" | "type"> & {
|
|
823
|
+
}, "allowedGappyness" | "clades" | "colWidth" | "collapsed" | "columnTracks" | "currentAlignment" | "data" | "drawMsaLetters" | "encodings" | "features" | "gffFilehandle" | "height" | "hideGaps" | "highlightColumns" | "highlights" | "id" | "msaFilehandle" | "region" | "relativeTo" | "residueMappings" | "rotated" | "rowHeight" | "rowPanels" | "scrollX" | "scrollY" | "scrollZoom" | "scrollZoomAxis" | "selection" | "showDomainLegend" | "showDomains" | "showOnly" | "subFeatureRows" | "trackHeights" | "treeFilehandle" | "treeMetadataFilehandle" | "treeRoot" | "turnedOffFeatures" | "turnedOffTracks" | "type"> & {
|
|
852
824
|
id: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
853
825
|
showDomains: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
854
826
|
showDomainLegend: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
@@ -885,14 +857,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
885
857
|
authInfo: any;
|
|
886
858
|
}> | undefined;
|
|
887
859
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
888
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
860
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
889
861
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
890
862
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
891
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
863
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
892
864
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
893
865
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
894
866
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
895
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
867
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
896
868
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
897
869
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
898
870
|
}> | {
|
|
@@ -903,41 +875,27 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
903
875
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
904
876
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
905
877
|
}> | undefined;
|
|
906
|
-
}, ({
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
localPath: string;
|
|
928
|
-
}>) | ({
|
|
929
|
-
locationType: "UriLocation";
|
|
930
|
-
uri: string;
|
|
931
|
-
} & Partial<{
|
|
932
|
-
locationType: "UriLocation";
|
|
933
|
-
uri: string;
|
|
934
|
-
baseUri: string | undefined;
|
|
935
|
-
internetAccountId: string | undefined;
|
|
936
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
937
|
-
internetAccountType: string;
|
|
938
|
-
authInfo: any;
|
|
939
|
-
}> | undefined;
|
|
940
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
878
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
879
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
880
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
881
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
882
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
883
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
884
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
885
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
886
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
887
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
888
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
889
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
890
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
891
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
892
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
893
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
894
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
895
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
896
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
897
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
898
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
941
899
|
locationType: "LocalPathLocation";
|
|
942
900
|
localPath: string;
|
|
943
901
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -979,14 +937,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
979
937
|
authInfo: any;
|
|
980
938
|
}> | undefined;
|
|
981
939
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
982
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
940
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
983
941
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
984
942
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
985
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
943
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
986
944
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
987
945
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
988
946
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
989
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
947
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
990
948
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
991
949
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
992
950
|
}> | {
|
|
@@ -997,41 +955,27 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
997
955
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
998
956
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
999
957
|
}> | undefined;
|
|
1000
|
-
}, ({
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
localPath: string;
|
|
1022
|
-
}>) | ({
|
|
1023
|
-
locationType: "UriLocation";
|
|
1024
|
-
uri: string;
|
|
1025
|
-
} & Partial<{
|
|
1026
|
-
locationType: "UriLocation";
|
|
1027
|
-
uri: string;
|
|
1028
|
-
baseUri: string | undefined;
|
|
1029
|
-
internetAccountId: string | undefined;
|
|
1030
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1031
|
-
internetAccountType: string;
|
|
1032
|
-
authInfo: any;
|
|
1033
|
-
}> | undefined;
|
|
1034
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
958
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
959
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
960
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
961
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
962
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
963
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
964
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
965
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
966
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
967
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
968
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
969
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
970
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
971
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
972
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
973
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
974
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
975
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
976
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
977
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
978
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1035
979
|
locationType: "LocalPathLocation";
|
|
1036
980
|
localPath: string;
|
|
1037
981
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -1073,14 +1017,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1073
1017
|
authInfo: any;
|
|
1074
1018
|
}> | undefined;
|
|
1075
1019
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1076
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1020
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1077
1021
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1078
1022
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1079
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1023
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1080
1024
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1081
1025
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1082
1026
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1083
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1027
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1084
1028
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1085
1029
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1086
1030
|
}> | {
|
|
@@ -1091,41 +1035,27 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1091
1035
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1092
1036
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1093
1037
|
}> | undefined;
|
|
1094
|
-
}, ({
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
localPath: string;
|
|
1116
|
-
}>) | ({
|
|
1117
|
-
locationType: "UriLocation";
|
|
1118
|
-
uri: string;
|
|
1119
|
-
} & Partial<{
|
|
1120
|
-
locationType: "UriLocation";
|
|
1121
|
-
uri: string;
|
|
1122
|
-
baseUri: string | undefined;
|
|
1123
|
-
internetAccountId: string | undefined;
|
|
1124
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1125
|
-
internetAccountType: string;
|
|
1126
|
-
authInfo: any;
|
|
1127
|
-
}> | undefined;
|
|
1128
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1038
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1039
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1040
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1041
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1042
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1043
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1044
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1045
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1046
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1047
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1048
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1049
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1050
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
1051
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1052
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1053
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1054
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1055
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1056
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1057
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1058
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1129
1059
|
locationType: "LocalPathLocation";
|
|
1130
1060
|
localPath: string;
|
|
1131
1061
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -1167,14 +1097,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1167
1097
|
authInfo: any;
|
|
1168
1098
|
}> | undefined;
|
|
1169
1099
|
}>, import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1170
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1100
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1171
1101
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1172
1102
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1173
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1103
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1174
1104
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1175
1105
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1176
1106
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1177
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1107
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1178
1108
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1179
1109
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1180
1110
|
}> | {
|
|
@@ -1185,41 +1115,27 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1185
1115
|
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1186
1116
|
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1187
1117
|
}> | undefined;
|
|
1188
|
-
}, ({
|
|
1189
|
-
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
localPath: string;
|
|
1210
|
-
}>) | ({
|
|
1211
|
-
locationType: "UriLocation";
|
|
1212
|
-
uri: string;
|
|
1213
|
-
} & Partial<{
|
|
1214
|
-
locationType: "UriLocation";
|
|
1215
|
-
uri: string;
|
|
1216
|
-
baseUri: string | undefined;
|
|
1217
|
-
internetAccountId: string | undefined;
|
|
1218
|
-
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1219
|
-
internetAccountType: string;
|
|
1220
|
-
authInfo: any;
|
|
1221
|
-
}> | undefined;
|
|
1222
|
-
}>)>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1118
|
+
}, import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1119
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1120
|
+
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1121
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1122
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1123
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1124
|
+
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1125
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1126
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1127
|
+
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1128
|
+
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1129
|
+
}> | import("@jbrowse/mobx-state-tree").ModelInstanceTypeProps<{
|
|
1130
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"UriLocation">;
|
|
1131
|
+
uri: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1132
|
+
baseUri: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1133
|
+
internetAccountId: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1134
|
+
internetAccountPreAuthorization: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").IModelType<{
|
|
1135
|
+
internetAccountType: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1136
|
+
authInfo: import("@jbrowse/mobx-state-tree").IType<any, any, any>;
|
|
1137
|
+
}, {}, import("@jbrowse/mobx-state-tree")._NotCustomized, import("@jbrowse/mobx-state-tree")._NotCustomized>>;
|
|
1138
|
+
}>>, import("@jbrowse/core/util/types/mst").LegacyFileLocation | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
1223
1139
|
locationType: "LocalPathLocation";
|
|
1224
1140
|
localPath: string;
|
|
1225
1141
|
}> | import("@jbrowse/mobx-state-tree").ModelCreationType<{
|
|
@@ -1266,6 +1182,8 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1266
1182
|
relativeTo: import("@jbrowse/mobx-state-tree").IMaybe<import("@jbrowse/mobx-state-tree").ISimpleType<string>>;
|
|
1267
1183
|
highlightColumns: import("@jbrowse/mobx-state-tree").IType<number[] | undefined, number[] | undefined, number[] | undefined>;
|
|
1268
1184
|
highlights: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("./types.ts").Highlight, import("./types.ts").Highlight, import("./types.ts").Highlight>>, [undefined]>;
|
|
1185
|
+
features: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("./types.ts").Feature, import("./types.ts").Feature, import("./types.ts").Feature>>, [undefined]>;
|
|
1186
|
+
selection: import("@jbrowse/mobx-state-tree").IType<import("./types.ts").MsaSelection | undefined, import("./types.ts").MsaSelection | undefined, import("./types.ts").MsaSelection | undefined>;
|
|
1269
1187
|
region: import("@jbrowse/mobx-state-tree").IType<import("./types.ts").Region | undefined, import("./types.ts").Region | undefined, import("./types.ts").Region | undefined>;
|
|
1270
1188
|
clades: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("./types.ts").Clade, import("./types.ts").Clade, import("./types.ts").Clade>>, [undefined]>;
|
|
1271
1189
|
encodings: import("@jbrowse/mobx-state-tree").IOptionalIType<import("@jbrowse/mobx-state-tree").IArrayType<import("@jbrowse/mobx-state-tree").IType<import("./types.ts").Encoding, import("./types.ts").Encoding, import("./types.ts").Encoding>>, [undefined]>;
|
|
@@ -1293,6 +1211,7 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1293
1211
|
setDrawLabels(arg: boolean): void;
|
|
1294
1212
|
} & {
|
|
1295
1213
|
setColorSchemeName(name: string): void;
|
|
1214
|
+
setCustomColorScheme(map?: Record<string, string>): void;
|
|
1296
1215
|
setBgColor(arg: boolean): void;
|
|
1297
1216
|
setShowColumnStats(arg: boolean): void;
|
|
1298
1217
|
setMSAFormat(arg?: import("msa-parsers").MSAFormat): void;
|
|
@@ -1343,6 +1262,9 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1343
1262
|
setHighlightedColumns(columns?: number[]): void;
|
|
1344
1263
|
setRegion(region?: import("./types.ts").Region): void;
|
|
1345
1264
|
setHighlights(highlights: import("./types.ts").Highlight[]): void;
|
|
1265
|
+
setFeatures(features: import("./types.ts").Feature[]): void;
|
|
1266
|
+
setSelection(selection?: import("./types.ts").MsaSelection): void;
|
|
1267
|
+
clearSelection(): void;
|
|
1346
1268
|
setClades(clades: import("./types.ts").Clade[]): void;
|
|
1347
1269
|
applyHighlight(owner: string, highlights: import("./types.ts").Highlight[]): void;
|
|
1348
1270
|
clearHighlight(owner: string): void;
|
|
@@ -1371,16 +1293,18 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1371
1293
|
setMSA(result: string): void;
|
|
1372
1294
|
setTree(result: string): void;
|
|
1373
1295
|
setTreeMetadata(result: string): void;
|
|
1374
|
-
setGFF(result
|
|
1296
|
+
setGFF(result?: string): void;
|
|
1375
1297
|
} & {
|
|
1376
1298
|
readonly hideGapsEffective: boolean;
|
|
1377
1299
|
readonly realAllowedGappyness: number;
|
|
1300
|
+
readonly allAnnotations: import("msa-parsers").Annotation[];
|
|
1378
1301
|
readonly actuallyShowDomains: boolean;
|
|
1379
1302
|
readonly hostRestoresData: boolean;
|
|
1380
1303
|
readonly viewInitialized: boolean;
|
|
1381
1304
|
readonly width: number;
|
|
1382
1305
|
} & {
|
|
1383
1306
|
readonly colorScheme: Record<string, string>;
|
|
1307
|
+
readonly dynamicColorSchemeName: string | undefined;
|
|
1384
1308
|
readonly header: Record<string, unknown> | {
|
|
1385
1309
|
info: string;
|
|
1386
1310
|
version: string | undefined;
|
|
@@ -1570,7 +1494,7 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1570
1494
|
doScrollX(deltaX: number): void;
|
|
1571
1495
|
setScrollX(n: number): void;
|
|
1572
1496
|
setColumnTracks(tracks: import("./types.ts").ColumnTrackSpec[]): void;
|
|
1573
|
-
setRowData(rowData:
|
|
1497
|
+
setRowData(rowData: import("./types.ts").RowDataInput): void;
|
|
1574
1498
|
setEncodings(encodings: import("./types.ts").Encoding[]): void;
|
|
1575
1499
|
setRowPanels(panels: import("./types.ts").RowPanelSpec[]): void;
|
|
1576
1500
|
setResidueMappings(mappings: import("./types.ts").ResidueMapping[]): void;
|
|
@@ -1610,6 +1534,16 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1610
1534
|
}[];
|
|
1611
1535
|
fillHighlightLabel(label: string, row?: string, start?: number): string;
|
|
1612
1536
|
readonly resolvedHighlights: import("./types.ts").ResolvedHighlight[];
|
|
1537
|
+
readonly resolvedSelection: import("./types.ts").ResolvedSelection | undefined;
|
|
1538
|
+
readonly selectionSize: {
|
|
1539
|
+
columns: number;
|
|
1540
|
+
rows: number;
|
|
1541
|
+
} | undefined;
|
|
1542
|
+
readonly selectionFileSpan: {
|
|
1543
|
+
start: number;
|
|
1544
|
+
end: number;
|
|
1545
|
+
} | undefined;
|
|
1546
|
+
readonly selectionFasta: string;
|
|
1613
1547
|
columnStatsAt(col: number): import("./columnStats.ts").ColumnStats | undefined;
|
|
1614
1548
|
getRowData(name: string): {
|
|
1615
1549
|
data: {
|
|
@@ -1657,11 +1591,20 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1657
1591
|
fit(): void;
|
|
1658
1592
|
fitVertically(): void;
|
|
1659
1593
|
zoomToRegion(region: import("./types.ts").Region): void;
|
|
1594
|
+
zoomToSelection(): void;
|
|
1595
|
+
selectBlock(anchor: {
|
|
1596
|
+
col: number;
|
|
1597
|
+
row?: number;
|
|
1598
|
+
}, head: {
|
|
1599
|
+
col: number;
|
|
1600
|
+
row?: number;
|
|
1601
|
+
}): void;
|
|
1660
1602
|
fitHorizontally(): void;
|
|
1661
1603
|
afterCreate(): void;
|
|
1662
1604
|
}, import("@jbrowse/mobx-state-tree")._NotCustomized, {
|
|
1663
1605
|
bgColor: boolean;
|
|
1664
1606
|
colorSchemeName: string;
|
|
1607
|
+
customColorScheme: Record<string, string> | undefined;
|
|
1665
1608
|
showColumnStats: boolean;
|
|
1666
1609
|
msaFormat: import("msa-parsers").MSAFormat | undefined;
|
|
1667
1610
|
drawLabels: boolean;
|
|
@@ -1693,14 +1636,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1693
1636
|
scrollX: number;
|
|
1694
1637
|
colWidth: number;
|
|
1695
1638
|
treeFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1696
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1639
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1697
1640
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1698
1641
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1699
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1642
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1700
1643
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1701
1644
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1702
1645
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1703
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1646
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1704
1647
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1705
1648
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1706
1649
|
}> | {
|
|
@@ -1713,14 +1656,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1713
1656
|
}> | undefined;
|
|
1714
1657
|
} | undefined;
|
|
1715
1658
|
msaFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1716
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1659
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1717
1660
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1718
1661
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1719
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1662
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1720
1663
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1721
1664
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1722
1665
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1723
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1666
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1724
1667
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1725
1668
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1726
1669
|
}> | {
|
|
@@ -1733,14 +1676,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1733
1676
|
}> | undefined;
|
|
1734
1677
|
} | undefined;
|
|
1735
1678
|
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1736
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1679
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1737
1680
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1738
1681
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1739
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1682
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1740
1683
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1741
1684
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1742
1685
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1743
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1686
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1744
1687
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1745
1688
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1746
1689
|
}> | {
|
|
@@ -1753,14 +1696,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1753
1696
|
}> | undefined;
|
|
1754
1697
|
} | undefined;
|
|
1755
1698
|
gffFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1756
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1699
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1757
1700
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1758
1701
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1759
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1702
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1760
1703
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1761
1704
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1762
1705
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1763
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1706
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1764
1707
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1765
1708
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1766
1709
|
}> | {
|
|
@@ -1784,6 +1727,8 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1784
1727
|
relativeTo: string | undefined;
|
|
1785
1728
|
highlightColumns: number[] | undefined;
|
|
1786
1729
|
highlights: import("./types.ts").Highlight[];
|
|
1730
|
+
features: import("./types.ts").Feature[];
|
|
1731
|
+
selection: import("./types.ts").MsaSelection | undefined;
|
|
1787
1732
|
region: import("./types.ts").Region | undefined;
|
|
1788
1733
|
clades: import("./types.ts").Clade[];
|
|
1789
1734
|
encodings: import("./types.ts").Encoding[];
|
|
@@ -1797,6 +1742,7 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1797
1742
|
} | {
|
|
1798
1743
|
bgColor: boolean;
|
|
1799
1744
|
colorSchemeName: string;
|
|
1745
|
+
customColorScheme: Record<string, string> | undefined;
|
|
1800
1746
|
showColumnStats: boolean;
|
|
1801
1747
|
msaFormat: import("msa-parsers").MSAFormat | undefined;
|
|
1802
1748
|
drawLabels: boolean;
|
|
@@ -1828,14 +1774,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1828
1774
|
scrollX: number;
|
|
1829
1775
|
colWidth: number;
|
|
1830
1776
|
treeFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1831
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1777
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1832
1778
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1833
1779
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1834
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1780
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1835
1781
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1836
1782
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1837
1783
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1838
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1784
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1839
1785
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1840
1786
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1841
1787
|
}> | {
|
|
@@ -1848,14 +1794,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1848
1794
|
}> | undefined;
|
|
1849
1795
|
} | undefined;
|
|
1850
1796
|
msaFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1851
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1797
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1852
1798
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1853
1799
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1854
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1800
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1855
1801
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1856
1802
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1857
1803
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1858
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1804
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1859
1805
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1860
1806
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1861
1807
|
}> | {
|
|
@@ -1868,14 +1814,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1868
1814
|
}> | undefined;
|
|
1869
1815
|
} | undefined;
|
|
1870
1816
|
treeMetadataFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1871
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1817
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1872
1818
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1873
1819
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1874
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1820
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1875
1821
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1876
1822
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1877
1823
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1878
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1824
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1879
1825
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1880
1826
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1881
1827
|
}> | {
|
|
@@ -1888,14 +1834,14 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1888
1834
|
}> | undefined;
|
|
1889
1835
|
} | undefined;
|
|
1890
1836
|
gffFilehandle: import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1891
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1837
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"LocalPathLocation">;
|
|
1892
1838
|
localPath: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1893
1839
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1894
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1840
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"BlobLocation">;
|
|
1895
1841
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1896
1842
|
blobId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1897
1843
|
}> | import("@jbrowse/mobx-state-tree").ModelSnapshotType<{
|
|
1898
|
-
locationType: import("@jbrowse/mobx-state-tree").
|
|
1844
|
+
locationType: import("@jbrowse/mobx-state-tree").ILiteralType<"FileHandleLocation">;
|
|
1899
1845
|
name: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1900
1846
|
handleId: import("@jbrowse/mobx-state-tree").ISimpleType<string>;
|
|
1901
1847
|
}> | {
|
|
@@ -1919,6 +1865,8 @@ export declare function createTestModel(snapshot: Omit<Snapshot, 'type'>, width?
|
|
|
1919
1865
|
relativeTo: string | undefined;
|
|
1920
1866
|
highlightColumns: number[] | undefined;
|
|
1921
1867
|
highlights: import("./types.ts").Highlight[];
|
|
1868
|
+
features: import("./types.ts").Feature[];
|
|
1869
|
+
selection: import("./types.ts").MsaSelection | undefined;
|
|
1922
1870
|
region: import("./types.ts").Region | undefined;
|
|
1923
1871
|
clades: import("./types.ts").Clade[];
|
|
1924
1872
|
encodings: import("./types.ts").Encoding[];
|