@jbrowse/plugin-gccontent 2.5.0 → 2.6.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/dist/GCContentAdapter/configSchema.js +1 -0
- package/dist/GCContentAdapter/configSchema.js.map +1 -1
- package/dist/LinearGCContentDisplay/config.d.ts +1 -0
- package/dist/LinearGCContentDisplay/config.js +1 -0
- package/dist/LinearGCContentDisplay/config.js.map +1 -1
- package/dist/LinearGCContentDisplay/stateModel.d.ts +114 -56
- package/dist/LinearGCContentDisplay/stateModel.js +2 -1
- package/dist/LinearGCContentDisplay/stateModel.js.map +1 -1
- package/esm/GCContentAdapter/configSchema.js +1 -0
- package/esm/GCContentAdapter/configSchema.js.map +1 -1
- package/esm/LinearGCContentDisplay/config.d.ts +1 -0
- package/esm/LinearGCContentDisplay/config.js +1 -0
- package/esm/LinearGCContentDisplay/config.js.map +1 -1
- package/esm/LinearGCContentDisplay/stateModel.d.ts +114 -56
- package/esm/LinearGCContentDisplay/stateModel.js +2 -1
- package/esm/LinearGCContentDisplay/stateModel.js.map +1 -1
- package/package.json +2 -2
- package/src/GCContentAdapter/configSchema.ts +1 -0
- package/src/LinearGCContentDisplay/config.ts +1 -0
- package/src/LinearGCContentDisplay/stateModel.ts +2 -1
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
4
4
|
/**
|
|
5
5
|
* #config GCContentAdapter
|
|
6
|
+
* #category adapter
|
|
6
7
|
*/
|
|
7
8
|
function x() { } // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
8
9
|
const GCContentAdapterF = (pluginManager) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/GCContentAdapter/configSchema.ts"],"names":[],"mappings":";;AACA,+DAAiE;AAEjE
|
|
1
|
+
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/GCContentAdapter/configSchema.ts"],"names":[],"mappings":";;AACA,+DAAiE;AAEjE;;;GAGG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,iBAAiB,GAAG,CAAC,aAA4B,EAAE,EAAE;IACzD,OAAO,IAAA,mCAAmB,EACxB,kBAAkB,EAClB;QACE;;WAEG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;YACd,YAAY,EAAE,IAAI;SACnB;KACF,EACD,EAAE,eAAe,EAAE,IAAI,EAAE,CAC1B,CAAA;AACH,CAAC,CAAA;AAED,kBAAe,iBAAiB,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
/**
|
|
3
3
|
* #config LinearGCContentDisplay
|
|
4
|
+
* #category display
|
|
4
5
|
*/
|
|
5
6
|
export default function WiggleConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration").AnyConfigurationSchemaType, undefined>>;
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
4
4
|
/**
|
|
5
5
|
* #config LinearGCContentDisplay
|
|
6
|
+
* #category display
|
|
6
7
|
*/
|
|
7
8
|
function WiggleConfigFactory(pluginManager) {
|
|
8
9
|
return (0, configuration_1.ConfigurationSchema)('LinearGCContentDisplay', {}, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/config.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAGjE
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/config.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAGjE;;;GAGG;AACH,SAAwB,mBAAmB,CAAC,aAA4B;IACtE,OAAO,IAAA,mCAAmB,EACxB,wBAAwB,EACxB,EAAE,EACF;QACE;;WAEG;QACH,iBAAiB,EAAE,aAAa,CAAC,cAAc,CAAC,qBAAqB,CAAC;aACnE,YAAY;QACf,eAAe,EAAE,IAAI;KACtB,CACF,CAAA;AACH,CAAC;AAbD,sCAaC"}
|
|
@@ -3,7 +3,8 @@ import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
|
3
3
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
4
4
|
/**
|
|
5
5
|
* #stateModel LinearGCContentDisplay
|
|
6
|
-
*
|
|
6
|
+
* #category display
|
|
7
|
+
* base model `BaseWiggleDisplayModel`
|
|
7
8
|
*/
|
|
8
9
|
export default function stateModelFactory(pluginManager: PluginManager, configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
9
10
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -11,6 +12,10 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
11
12
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
12
13
|
} & {
|
|
13
14
|
heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
15
|
+
} & {
|
|
16
|
+
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
17
|
+
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
18
|
+
} & {
|
|
14
19
|
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
15
20
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
16
21
|
region: import("mobx-state-tree").IModelType<{
|
|
@@ -57,8 +62,6 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
57
62
|
reload(): void;
|
|
58
63
|
beforeDestroy(): void;
|
|
59
64
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
60
|
-
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
61
|
-
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
62
65
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
63
66
|
maxFeatureScreenDensity: {
|
|
64
67
|
type: string;
|
|
@@ -83,8 +86,6 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
83
86
|
};
|
|
84
87
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
85
88
|
} & {
|
|
86
|
-
type: import("mobx-state-tree").ISimpleType<"LinearWiggleDisplay">;
|
|
87
|
-
configuration: AnyConfigurationSchemaType;
|
|
88
89
|
selectedRendering: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
89
90
|
resolution: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
90
91
|
fill: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
@@ -101,6 +102,9 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
101
102
|
max: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
102
103
|
min: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
103
104
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
105
|
+
configuration: AnyConfigurationSchemaType;
|
|
106
|
+
} & {
|
|
107
|
+
type: import("mobx-state-tree").ISimpleType<"LinearWiggleDisplay">;
|
|
104
108
|
} & {
|
|
105
109
|
/**
|
|
106
110
|
* #property
|
|
@@ -109,6 +113,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
109
113
|
}, {
|
|
110
114
|
rendererTypeName: string;
|
|
111
115
|
error: unknown;
|
|
116
|
+
message: string | undefined;
|
|
112
117
|
} & {
|
|
113
118
|
readonly RenderingComponent: import("react").FC<{
|
|
114
119
|
model: {
|
|
@@ -118,6 +123,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
118
123
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
119
124
|
rendererTypeName: string;
|
|
120
125
|
error: unknown;
|
|
126
|
+
message: string | undefined;
|
|
121
127
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
122
128
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
123
129
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -125,6 +131,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
125
131
|
}, {
|
|
126
132
|
rendererTypeName: string;
|
|
127
133
|
error: unknown;
|
|
134
|
+
message: string | undefined;
|
|
128
135
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
129
136
|
onHorizontalScroll?: Function | undefined;
|
|
130
137
|
blockState?: Record<string, any> | undefined;
|
|
@@ -137,6 +144,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
137
144
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
138
145
|
rendererTypeName: string;
|
|
139
146
|
error: unknown;
|
|
147
|
+
message: string | undefined;
|
|
140
148
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
141
149
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
142
150
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -144,6 +152,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
144
152
|
}, {
|
|
145
153
|
rendererTypeName: string;
|
|
146
154
|
error: unknown;
|
|
155
|
+
message: string | undefined;
|
|
147
156
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
148
157
|
}> | null;
|
|
149
158
|
readonly adapterConfig: any;
|
|
@@ -153,21 +162,49 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
153
162
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
154
163
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
155
164
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
156
|
-
regionCannotBeRendered():
|
|
165
|
+
regionCannotBeRendered(): null;
|
|
157
166
|
} & {
|
|
167
|
+
setMessage(arg?: string | undefined): void;
|
|
158
168
|
setError(error?: unknown): void;
|
|
159
169
|
setRpcDriverName(rpcDriverName: string): void;
|
|
160
170
|
reload(): void;
|
|
161
171
|
} & {
|
|
162
|
-
currBpPerPx: number;
|
|
163
172
|
scrollTop: number;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
173
|
+
} & {
|
|
174
|
+
readonly height: number;
|
|
175
|
+
} & {
|
|
176
|
+
setScrollTop(scrollTop: number): void;
|
|
177
|
+
setHeight(displayHeight: number): number;
|
|
178
|
+
resizeHeight(distance: number): number;
|
|
179
|
+
} & {
|
|
167
180
|
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
|
|
168
181
|
featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined;
|
|
182
|
+
currStatsBpPerPx: number;
|
|
183
|
+
} & {
|
|
184
|
+
readonly currentBytesRequested: number;
|
|
185
|
+
readonly currentFeatureScreenDensity: number;
|
|
186
|
+
readonly maxFeatureScreenDensity: any;
|
|
187
|
+
readonly featureDensityStatsReady: boolean;
|
|
188
|
+
readonly maxAllowableBytes: number;
|
|
189
|
+
} & {
|
|
190
|
+
afterAttach(): void;
|
|
191
|
+
} & {
|
|
192
|
+
setCurrStatsBpPerPx(n: number): void;
|
|
193
|
+
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
194
|
+
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
195
|
+
setFeatureDensityStatsP(arg: any): void;
|
|
196
|
+
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
197
|
+
clearFeatureDensityStats(): void;
|
|
198
|
+
} & {
|
|
199
|
+
readonly regionTooLarge: boolean;
|
|
200
|
+
readonly regionTooLargeReason: string;
|
|
201
|
+
} & {
|
|
202
|
+
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
203
|
+
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
204
|
+
} & {
|
|
205
|
+
featureIdUnderMouse: string | undefined;
|
|
206
|
+
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
169
207
|
} & {
|
|
170
|
-
readonly height: number;
|
|
171
208
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
172
209
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
173
210
|
} & {
|
|
@@ -181,49 +218,22 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
181
218
|
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
182
219
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
183
220
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
184
|
-
readonly currentBytesRequested: number;
|
|
185
|
-
readonly currentFeatureScreenDensity: number;
|
|
186
|
-
readonly maxFeatureScreenDensity: any;
|
|
187
|
-
readonly featureDensityStatsReady: boolean;
|
|
188
|
-
readonly maxAllowableBytes: number;
|
|
189
|
-
} & {
|
|
190
|
-
setMessage(message: string): void;
|
|
191
221
|
} & {
|
|
192
|
-
afterAttach(): void;
|
|
193
|
-
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
194
|
-
setFeatureDensityStatsP(arg: any): void;
|
|
195
|
-
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
196
|
-
clearFeatureDensityStats(): void;
|
|
197
|
-
setHeight(displayHeight: number): number;
|
|
198
|
-
resizeHeight(distance: number): number;
|
|
199
|
-
setScrollTop(scrollTop: number): void;
|
|
200
|
-
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
201
222
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
202
|
-
setCurrBpPerPx(n: number): void;
|
|
203
223
|
deleteBlock(key: string): void;
|
|
204
224
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
205
225
|
clearFeatureSelection(): void;
|
|
206
226
|
setFeatureIdUnderMouse(feature?: string | undefined): void;
|
|
207
|
-
reload(): void;
|
|
208
227
|
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
209
|
-
} & {
|
|
210
|
-
readonly regionTooLarge: boolean;
|
|
211
|
-
readonly regionTooLargeReason: string;
|
|
212
228
|
} & {
|
|
213
229
|
reload(): Promise<void>;
|
|
214
230
|
} & {
|
|
215
|
-
afterAttach(): void;
|
|
216
|
-
} & {
|
|
217
|
-
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
218
|
-
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): JSX.Element | null;
|
|
219
231
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
220
232
|
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
221
233
|
renderProps(): any;
|
|
222
234
|
} & {
|
|
223
|
-
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view
|
|
224
|
-
|
|
225
|
-
theme: import("@mui/material").ThemeOptions;
|
|
226
|
-
}): Promise<JSX.Element>;
|
|
235
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
236
|
+
afterAttach(): void;
|
|
227
237
|
} & {
|
|
228
238
|
message: string | undefined;
|
|
229
239
|
stats: {
|
|
@@ -253,25 +263,25 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
253
263
|
toggleCrossHatches(): void;
|
|
254
264
|
setCrossHatches(cross: boolean): void;
|
|
255
265
|
} & {
|
|
256
|
-
readonly TooltipComponent: import("react").FC<{}>;
|
|
257
266
|
readonly adapterTypeName: any;
|
|
258
267
|
readonly rendererTypeNameSimple: any;
|
|
259
|
-
readonly rendererTypeName: string;
|
|
260
268
|
readonly filters: undefined;
|
|
261
269
|
readonly scaleType: any;
|
|
262
270
|
readonly maxScore: any;
|
|
263
271
|
readonly minScore: any;
|
|
264
272
|
} & {
|
|
273
|
+
readonly adapterCapabilities: string[];
|
|
265
274
|
readonly rendererConfig: {
|
|
266
275
|
[x: string]: any;
|
|
267
276
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
268
277
|
setSubschema(slotName: string, data: unknown): any;
|
|
269
278
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
279
|
+
readonly autoscaleType: any;
|
|
270
280
|
} & {
|
|
271
|
-
readonly filled: any;
|
|
272
|
-
readonly summaryScoreModeSetting: any;
|
|
273
281
|
readonly domain: number[] | undefined;
|
|
274
|
-
|
|
282
|
+
} & {
|
|
283
|
+
readonly filled: boolean;
|
|
284
|
+
readonly summaryScoreModeSetting: string;
|
|
275
285
|
readonly scaleOpts: {
|
|
276
286
|
domain: number[] | undefined;
|
|
277
287
|
stats: {
|
|
@@ -283,8 +293,36 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
283
293
|
inverted: any;
|
|
284
294
|
};
|
|
285
295
|
readonly canHaveFill: boolean;
|
|
286
|
-
readonly
|
|
287
|
-
readonly
|
|
296
|
+
readonly displayCrossHatchesSetting: boolean;
|
|
297
|
+
readonly hasResolution: boolean;
|
|
298
|
+
readonly hasGlobalStats: boolean;
|
|
299
|
+
} & {
|
|
300
|
+
scoreTrackMenuItems(): ({
|
|
301
|
+
label: string;
|
|
302
|
+
subMenu: {
|
|
303
|
+
label: string;
|
|
304
|
+
onClick: () => void;
|
|
305
|
+
}[];
|
|
306
|
+
onClick?: undefined;
|
|
307
|
+
} | {
|
|
308
|
+
label: string;
|
|
309
|
+
subMenu: {
|
|
310
|
+
label: string;
|
|
311
|
+
type: string;
|
|
312
|
+
checked: boolean;
|
|
313
|
+
onClick: () => void;
|
|
314
|
+
}[];
|
|
315
|
+
onClick?: undefined;
|
|
316
|
+
} | {
|
|
317
|
+
label: string;
|
|
318
|
+
onClick: () => void;
|
|
319
|
+
subMenu?: undefined;
|
|
320
|
+
})[];
|
|
321
|
+
} & {
|
|
322
|
+
reload(): Promise<void>;
|
|
323
|
+
} & {
|
|
324
|
+
readonly TooltipComponent: import("react").FC<{}>;
|
|
325
|
+
readonly rendererTypeName: string;
|
|
288
326
|
} & {
|
|
289
327
|
readonly ticks: {
|
|
290
328
|
range: number[];
|
|
@@ -292,14 +330,38 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
292
330
|
format: (d: import("d3-scale").NumberValue) => string;
|
|
293
331
|
position: import("d3-scale").ScaleLinear<number, number, never> | import("d3-scale").ScaleQuantize<number, never>;
|
|
294
332
|
} | undefined;
|
|
295
|
-
readonly adapterCapabilities: string[];
|
|
296
333
|
} & {
|
|
297
334
|
renderProps(): any;
|
|
298
|
-
readonly
|
|
299
|
-
readonly hasGlobalStats: boolean;
|
|
335
|
+
readonly needsScalebar: boolean;
|
|
300
336
|
readonly fillSetting: 0 | 1 | 2;
|
|
301
337
|
} & {
|
|
302
338
|
trackMenuItems(): (import("@jbrowse/core/ui").MenuDivider | import("@jbrowse/core/ui").MenuSubHeader | import("@jbrowse/core/ui").NormalMenuItem | import("@jbrowse/core/ui").CheckboxMenuItem | import("@jbrowse/core/ui").RadioMenuItem | import("@jbrowse/core/ui").SubMenuItem | {
|
|
339
|
+
label: string;
|
|
340
|
+
subMenu: ({
|
|
341
|
+
label: string;
|
|
342
|
+
subMenu: {
|
|
343
|
+
label: string;
|
|
344
|
+
onClick: () => void;
|
|
345
|
+
}[];
|
|
346
|
+
onClick?: undefined;
|
|
347
|
+
} | {
|
|
348
|
+
label: string;
|
|
349
|
+
subMenu: {
|
|
350
|
+
label: string;
|
|
351
|
+
type: string;
|
|
352
|
+
checked: boolean;
|
|
353
|
+
onClick: () => void;
|
|
354
|
+
}[];
|
|
355
|
+
onClick?: undefined;
|
|
356
|
+
} | {
|
|
357
|
+
label: string;
|
|
358
|
+
onClick: () => void;
|
|
359
|
+
subMenu?: undefined;
|
|
360
|
+
})[];
|
|
361
|
+
type?: undefined;
|
|
362
|
+
checked?: undefined;
|
|
363
|
+
onClick?: undefined;
|
|
364
|
+
} | {
|
|
303
365
|
label: string;
|
|
304
366
|
subMenu: {
|
|
305
367
|
label: string;
|
|
@@ -313,17 +375,13 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
313
375
|
} | {
|
|
314
376
|
type: string;
|
|
315
377
|
label: string;
|
|
316
|
-
checked:
|
|
378
|
+
checked: boolean;
|
|
317
379
|
onClick: () => void;
|
|
318
380
|
subMenu?: undefined;
|
|
319
381
|
})[];
|
|
320
382
|
} & {
|
|
321
|
-
reload(): Promise<void>;
|
|
322
383
|
afterAttach(): void;
|
|
323
|
-
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view
|
|
324
|
-
overrideHeight: number;
|
|
325
|
-
theme: import("@mui/material").ThemeOptions;
|
|
326
|
-
}): Promise<JSX.Element>;
|
|
384
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
327
385
|
} & {
|
|
328
386
|
/**
|
|
329
387
|
* #method
|
|
@@ -5,7 +5,8 @@ const plugin_wiggle_1 = require("@jbrowse/plugin-wiggle");
|
|
|
5
5
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
6
6
|
/**
|
|
7
7
|
* #stateModel LinearGCContentDisplay
|
|
8
|
-
*
|
|
8
|
+
* #category display
|
|
9
|
+
* base model `BaseWiggleDisplayModel`
|
|
9
10
|
*/
|
|
10
11
|
function stateModelFactory(pluginManager, configSchema) {
|
|
11
12
|
return mobx_state_tree_1.types
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stateModel.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/stateModel.ts"],"names":[],"mappings":";;AAAA,+DAGoC;AAEpC,0DAAwE;AACxE,qDAAuC;AAEvC
|
|
1
|
+
{"version":3,"file":"stateModel.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/stateModel.ts"],"names":[],"mappings":";;AAAA,+DAGoC;AAEpC,0DAAwE;AACxE,qDAAuC;AAEvC;;;;GAIG;AACH,SAAwB,iBAAiB,CACvC,aAA4B,EAC5B,YAAwC;IAExC,OAAO,uBAAK;SACT,OAAO,CACN,wBAAwB,EACxB,IAAA,+CAA+B,EAAC,aAAa,EAAE,YAAY,CAAC,EAC5D,uBAAK,CAAC,KAAK,CAAC;QACV;;WAEG;QACH,IAAI,EAAE,uBAAK,CAAC,OAAO,CAAC,wBAAwB,CAAC;KAC9C,CAAC,CACH;SACA,KAAK,CAAC,IAAI,CAAC,EAAE;QACZ,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAA;QAC9C,OAAO;YACL;;;;eAIG;YACH,WAAW;gBACT,MAAM,eAAe,GAAG,IAAA,uBAAO,EAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAAA;gBAC5D,OAAO;oBACL,GAAG,gBAAgB,EAAE;oBACrB,aAAa,EAAE;wBACb,IAAI,EAAE,kBAAkB;wBACxB,eAAe;qBAChB;iBACF,CAAA;YACH,CAAC;SACF,CAAA;IACH,CAAC,CAAC,CAAA;AACN,CAAC;AAnCD,oCAmCC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/GCContentAdapter/configSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAEjE
|
|
1
|
+
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/GCContentAdapter/configSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAEjE;;;GAGG;AACH,SAAS,CAAC,KAAI,CAAC,CAAC,wDAAwD;AAExE,MAAM,iBAAiB,GAAG,CAAC,aAA4B,EAAE,EAAE;IACzD,OAAO,mBAAmB,CACxB,kBAAkB,EAClB;QACE;;WAEG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,QAAQ;YACd,YAAY,EAAE,IAAI;SACnB;KACF,EACD,EAAE,eAAe,EAAE,IAAI,EAAE,CAC1B,CAAA;AACH,CAAC,CAAA;AAED,eAAe,iBAAiB,CAAA"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
/**
|
|
3
3
|
* #config LinearGCContentDisplay
|
|
4
|
+
* #category display
|
|
4
5
|
*/
|
|
5
6
|
export default function WiggleConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration").AnyConfigurationSchemaType, undefined>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAGjE
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAGjE;;;GAGG;AACH,MAAM,CAAC,OAAO,UAAU,mBAAmB,CAAC,aAA4B;IACtE,OAAO,mBAAmB,CACxB,wBAAwB,EACxB,EAAE,EACF;QACE;;WAEG;QACH,iBAAiB,EAAE,aAAa,CAAC,cAAc,CAAC,qBAAqB,CAAC;aACnE,YAAY;QACf,eAAe,EAAE,IAAI;KACtB,CACF,CAAA;AACH,CAAC"}
|
|
@@ -3,7 +3,8 @@ import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
|
3
3
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
4
4
|
/**
|
|
5
5
|
* #stateModel LinearGCContentDisplay
|
|
6
|
-
*
|
|
6
|
+
* #category display
|
|
7
|
+
* base model `BaseWiggleDisplayModel`
|
|
7
8
|
*/
|
|
8
9
|
export default function stateModelFactory(pluginManager: PluginManager, configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
9
10
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -11,6 +12,10 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
11
12
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
12
13
|
} & {
|
|
13
14
|
heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
15
|
+
} & {
|
|
16
|
+
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
17
|
+
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
18
|
+
} & {
|
|
14
19
|
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
15
20
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
16
21
|
region: import("mobx-state-tree").IModelType<{
|
|
@@ -57,8 +62,6 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
57
62
|
reload(): void;
|
|
58
63
|
beforeDestroy(): void;
|
|
59
64
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
60
|
-
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
61
|
-
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
62
65
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
63
66
|
maxFeatureScreenDensity: {
|
|
64
67
|
type: string;
|
|
@@ -83,8 +86,6 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
83
86
|
};
|
|
84
87
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
85
88
|
} & {
|
|
86
|
-
type: import("mobx-state-tree").ISimpleType<"LinearWiggleDisplay">;
|
|
87
|
-
configuration: AnyConfigurationSchemaType;
|
|
88
89
|
selectedRendering: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
89
90
|
resolution: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
90
91
|
fill: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
@@ -101,6 +102,9 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
101
102
|
max: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
102
103
|
min: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
103
104
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
105
|
+
configuration: AnyConfigurationSchemaType;
|
|
106
|
+
} & {
|
|
107
|
+
type: import("mobx-state-tree").ISimpleType<"LinearWiggleDisplay">;
|
|
104
108
|
} & {
|
|
105
109
|
/**
|
|
106
110
|
* #property
|
|
@@ -109,6 +113,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
109
113
|
}, {
|
|
110
114
|
rendererTypeName: string;
|
|
111
115
|
error: unknown;
|
|
116
|
+
message: string | undefined;
|
|
112
117
|
} & {
|
|
113
118
|
readonly RenderingComponent: import("react").FC<{
|
|
114
119
|
model: {
|
|
@@ -118,6 +123,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
118
123
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
119
124
|
rendererTypeName: string;
|
|
120
125
|
error: unknown;
|
|
126
|
+
message: string | undefined;
|
|
121
127
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
122
128
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
123
129
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -125,6 +131,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
125
131
|
}, {
|
|
126
132
|
rendererTypeName: string;
|
|
127
133
|
error: unknown;
|
|
134
|
+
message: string | undefined;
|
|
128
135
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
129
136
|
onHorizontalScroll?: Function | undefined;
|
|
130
137
|
blockState?: Record<string, any> | undefined;
|
|
@@ -137,6 +144,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
137
144
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
138
145
|
rendererTypeName: string;
|
|
139
146
|
error: unknown;
|
|
147
|
+
message: string | undefined;
|
|
140
148
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
141
149
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
142
150
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -144,6 +152,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
144
152
|
}, {
|
|
145
153
|
rendererTypeName: string;
|
|
146
154
|
error: unknown;
|
|
155
|
+
message: string | undefined;
|
|
147
156
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
148
157
|
}> | null;
|
|
149
158
|
readonly adapterConfig: any;
|
|
@@ -153,21 +162,49 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
153
162
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
154
163
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
155
164
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
156
|
-
regionCannotBeRendered():
|
|
165
|
+
regionCannotBeRendered(): null;
|
|
157
166
|
} & {
|
|
167
|
+
setMessage(arg?: string | undefined): void;
|
|
158
168
|
setError(error?: unknown): void;
|
|
159
169
|
setRpcDriverName(rpcDriverName: string): void;
|
|
160
170
|
reload(): void;
|
|
161
171
|
} & {
|
|
162
|
-
currBpPerPx: number;
|
|
163
172
|
scrollTop: number;
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
173
|
+
} & {
|
|
174
|
+
readonly height: number;
|
|
175
|
+
} & {
|
|
176
|
+
setScrollTop(scrollTop: number): void;
|
|
177
|
+
setHeight(displayHeight: number): number;
|
|
178
|
+
resizeHeight(distance: number): number;
|
|
179
|
+
} & {
|
|
167
180
|
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
|
|
168
181
|
featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined;
|
|
182
|
+
currStatsBpPerPx: number;
|
|
183
|
+
} & {
|
|
184
|
+
readonly currentBytesRequested: number;
|
|
185
|
+
readonly currentFeatureScreenDensity: number;
|
|
186
|
+
readonly maxFeatureScreenDensity: any;
|
|
187
|
+
readonly featureDensityStatsReady: boolean;
|
|
188
|
+
readonly maxAllowableBytes: number;
|
|
189
|
+
} & {
|
|
190
|
+
afterAttach(): void;
|
|
191
|
+
} & {
|
|
192
|
+
setCurrStatsBpPerPx(n: number): void;
|
|
193
|
+
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
194
|
+
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
195
|
+
setFeatureDensityStatsP(arg: any): void;
|
|
196
|
+
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
197
|
+
clearFeatureDensityStats(): void;
|
|
198
|
+
} & {
|
|
199
|
+
readonly regionTooLarge: boolean;
|
|
200
|
+
readonly regionTooLargeReason: string;
|
|
201
|
+
} & {
|
|
202
|
+
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
203
|
+
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
204
|
+
} & {
|
|
205
|
+
featureIdUnderMouse: string | undefined;
|
|
206
|
+
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
169
207
|
} & {
|
|
170
|
-
readonly height: number;
|
|
171
208
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
172
209
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
173
210
|
} & {
|
|
@@ -181,49 +218,22 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
181
218
|
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
182
219
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
183
220
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
184
|
-
readonly currentBytesRequested: number;
|
|
185
|
-
readonly currentFeatureScreenDensity: number;
|
|
186
|
-
readonly maxFeatureScreenDensity: any;
|
|
187
|
-
readonly featureDensityStatsReady: boolean;
|
|
188
|
-
readonly maxAllowableBytes: number;
|
|
189
|
-
} & {
|
|
190
|
-
setMessage(message: string): void;
|
|
191
221
|
} & {
|
|
192
|
-
afterAttach(): void;
|
|
193
|
-
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
194
|
-
setFeatureDensityStatsP(arg: any): void;
|
|
195
|
-
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
196
|
-
clearFeatureDensityStats(): void;
|
|
197
|
-
setHeight(displayHeight: number): number;
|
|
198
|
-
resizeHeight(distance: number): number;
|
|
199
|
-
setScrollTop(scrollTop: number): void;
|
|
200
|
-
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
201
222
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
202
|
-
setCurrBpPerPx(n: number): void;
|
|
203
223
|
deleteBlock(key: string): void;
|
|
204
224
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
205
225
|
clearFeatureSelection(): void;
|
|
206
226
|
setFeatureIdUnderMouse(feature?: string | undefined): void;
|
|
207
|
-
reload(): void;
|
|
208
227
|
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
209
|
-
} & {
|
|
210
|
-
readonly regionTooLarge: boolean;
|
|
211
|
-
readonly regionTooLargeReason: string;
|
|
212
228
|
} & {
|
|
213
229
|
reload(): Promise<void>;
|
|
214
230
|
} & {
|
|
215
|
-
afterAttach(): void;
|
|
216
|
-
} & {
|
|
217
|
-
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
218
|
-
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): JSX.Element | null;
|
|
219
231
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
220
232
|
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
221
233
|
renderProps(): any;
|
|
222
234
|
} & {
|
|
223
|
-
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view
|
|
224
|
-
|
|
225
|
-
theme: import("@mui/material").ThemeOptions;
|
|
226
|
-
}): Promise<JSX.Element>;
|
|
235
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
236
|
+
afterAttach(): void;
|
|
227
237
|
} & {
|
|
228
238
|
message: string | undefined;
|
|
229
239
|
stats: {
|
|
@@ -253,25 +263,25 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
253
263
|
toggleCrossHatches(): void;
|
|
254
264
|
setCrossHatches(cross: boolean): void;
|
|
255
265
|
} & {
|
|
256
|
-
readonly TooltipComponent: import("react").FC<{}>;
|
|
257
266
|
readonly adapterTypeName: any;
|
|
258
267
|
readonly rendererTypeNameSimple: any;
|
|
259
|
-
readonly rendererTypeName: string;
|
|
260
268
|
readonly filters: undefined;
|
|
261
269
|
readonly scaleType: any;
|
|
262
270
|
readonly maxScore: any;
|
|
263
271
|
readonly minScore: any;
|
|
264
272
|
} & {
|
|
273
|
+
readonly adapterCapabilities: string[];
|
|
265
274
|
readonly rendererConfig: {
|
|
266
275
|
[x: string]: any;
|
|
267
276
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
268
277
|
setSubschema(slotName: string, data: unknown): any;
|
|
269
278
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
279
|
+
readonly autoscaleType: any;
|
|
270
280
|
} & {
|
|
271
|
-
readonly filled: any;
|
|
272
|
-
readonly summaryScoreModeSetting: any;
|
|
273
281
|
readonly domain: number[] | undefined;
|
|
274
|
-
|
|
282
|
+
} & {
|
|
283
|
+
readonly filled: boolean;
|
|
284
|
+
readonly summaryScoreModeSetting: string;
|
|
275
285
|
readonly scaleOpts: {
|
|
276
286
|
domain: number[] | undefined;
|
|
277
287
|
stats: {
|
|
@@ -283,8 +293,36 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
283
293
|
inverted: any;
|
|
284
294
|
};
|
|
285
295
|
readonly canHaveFill: boolean;
|
|
286
|
-
readonly
|
|
287
|
-
readonly
|
|
296
|
+
readonly displayCrossHatchesSetting: boolean;
|
|
297
|
+
readonly hasResolution: boolean;
|
|
298
|
+
readonly hasGlobalStats: boolean;
|
|
299
|
+
} & {
|
|
300
|
+
scoreTrackMenuItems(): ({
|
|
301
|
+
label: string;
|
|
302
|
+
subMenu: {
|
|
303
|
+
label: string;
|
|
304
|
+
onClick: () => void;
|
|
305
|
+
}[];
|
|
306
|
+
onClick?: undefined;
|
|
307
|
+
} | {
|
|
308
|
+
label: string;
|
|
309
|
+
subMenu: {
|
|
310
|
+
label: string;
|
|
311
|
+
type: string;
|
|
312
|
+
checked: boolean;
|
|
313
|
+
onClick: () => void;
|
|
314
|
+
}[];
|
|
315
|
+
onClick?: undefined;
|
|
316
|
+
} | {
|
|
317
|
+
label: string;
|
|
318
|
+
onClick: () => void;
|
|
319
|
+
subMenu?: undefined;
|
|
320
|
+
})[];
|
|
321
|
+
} & {
|
|
322
|
+
reload(): Promise<void>;
|
|
323
|
+
} & {
|
|
324
|
+
readonly TooltipComponent: import("react").FC<{}>;
|
|
325
|
+
readonly rendererTypeName: string;
|
|
288
326
|
} & {
|
|
289
327
|
readonly ticks: {
|
|
290
328
|
range: number[];
|
|
@@ -292,14 +330,38 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
292
330
|
format: (d: import("d3-scale").NumberValue) => string;
|
|
293
331
|
position: import("d3-scale").ScaleLinear<number, number, never> | import("d3-scale").ScaleQuantize<number, never>;
|
|
294
332
|
} | undefined;
|
|
295
|
-
readonly adapterCapabilities: string[];
|
|
296
333
|
} & {
|
|
297
334
|
renderProps(): any;
|
|
298
|
-
readonly
|
|
299
|
-
readonly hasGlobalStats: boolean;
|
|
335
|
+
readonly needsScalebar: boolean;
|
|
300
336
|
readonly fillSetting: 0 | 1 | 2;
|
|
301
337
|
} & {
|
|
302
338
|
trackMenuItems(): (import("@jbrowse/core/ui").MenuDivider | import("@jbrowse/core/ui").MenuSubHeader | import("@jbrowse/core/ui").NormalMenuItem | import("@jbrowse/core/ui").CheckboxMenuItem | import("@jbrowse/core/ui").RadioMenuItem | import("@jbrowse/core/ui").SubMenuItem | {
|
|
339
|
+
label: string;
|
|
340
|
+
subMenu: ({
|
|
341
|
+
label: string;
|
|
342
|
+
subMenu: {
|
|
343
|
+
label: string;
|
|
344
|
+
onClick: () => void;
|
|
345
|
+
}[];
|
|
346
|
+
onClick?: undefined;
|
|
347
|
+
} | {
|
|
348
|
+
label: string;
|
|
349
|
+
subMenu: {
|
|
350
|
+
label: string;
|
|
351
|
+
type: string;
|
|
352
|
+
checked: boolean;
|
|
353
|
+
onClick: () => void;
|
|
354
|
+
}[];
|
|
355
|
+
onClick?: undefined;
|
|
356
|
+
} | {
|
|
357
|
+
label: string;
|
|
358
|
+
onClick: () => void;
|
|
359
|
+
subMenu?: undefined;
|
|
360
|
+
})[];
|
|
361
|
+
type?: undefined;
|
|
362
|
+
checked?: undefined;
|
|
363
|
+
onClick?: undefined;
|
|
364
|
+
} | {
|
|
303
365
|
label: string;
|
|
304
366
|
subMenu: {
|
|
305
367
|
label: string;
|
|
@@ -313,17 +375,13 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
313
375
|
} | {
|
|
314
376
|
type: string;
|
|
315
377
|
label: string;
|
|
316
|
-
checked:
|
|
378
|
+
checked: boolean;
|
|
317
379
|
onClick: () => void;
|
|
318
380
|
subMenu?: undefined;
|
|
319
381
|
})[];
|
|
320
382
|
} & {
|
|
321
|
-
reload(): Promise<void>;
|
|
322
383
|
afterAttach(): void;
|
|
323
|
-
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view
|
|
324
|
-
overrideHeight: number;
|
|
325
|
-
theme: import("@mui/material").ThemeOptions;
|
|
326
|
-
}): Promise<JSX.Element>;
|
|
384
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
327
385
|
} & {
|
|
328
386
|
/**
|
|
329
387
|
* #method
|
|
@@ -3,7 +3,8 @@ import { linearWiggleDisplayModelFactory } from '@jbrowse/plugin-wiggle';
|
|
|
3
3
|
import { types } from 'mobx-state-tree';
|
|
4
4
|
/**
|
|
5
5
|
* #stateModel LinearGCContentDisplay
|
|
6
|
-
*
|
|
6
|
+
* #category display
|
|
7
|
+
* base model `BaseWiggleDisplayModel`
|
|
7
8
|
*/
|
|
8
9
|
export default function stateModelFactory(pluginManager, configSchema) {
|
|
9
10
|
return types
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stateModel.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/stateModel.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,GAER,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAEvC
|
|
1
|
+
{"version":3,"file":"stateModel.js","sourceRoot":"","sources":["../../src/LinearGCContentDisplay/stateModel.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,GAER,MAAM,6BAA6B,CAAA;AAEpC,OAAO,EAAE,+BAA+B,EAAE,MAAM,wBAAwB,CAAA;AACxE,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAA;AAEvC;;;;GAIG;AACH,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACvC,aAA4B,EAC5B,YAAwC;IAExC,OAAO,KAAK;SACT,OAAO,CACN,wBAAwB,EACxB,+BAA+B,CAAC,aAAa,EAAE,YAAY,CAAC,EAC5D,KAAK,CAAC,KAAK,CAAC;QACV;;WAEG;QACH,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,wBAAwB,CAAC;KAC9C,CAAC,CACH;SACA,KAAK,CAAC,IAAI,CAAC,EAAE;QACZ,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAA;QAC9C,OAAO;YACL;;;;eAIG;YACH,WAAW;gBACT,MAAM,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAAA;gBAC5D,OAAO;oBACL,GAAG,gBAAgB,EAAE;oBACrB,aAAa,EAAE;wBACb,IAAI,EAAE,kBAAkB;wBACxB,eAAe;qBAChB;iBACF,CAAA;YACH,CAAC;SACF,CAAA;IACH,CAAC,CAAC,CAAA;AACN,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-gccontent",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.1",
|
|
4
4
|
"description": "JBrowse 2 gccontent concepts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"distModule": "esm/index.js",
|
|
55
55
|
"srcModule": "src/index.ts",
|
|
56
56
|
"module": "esm/index.js",
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "1cbe7ba097fb2d2763c776e5e429e4670cdd583c"
|
|
58
58
|
}
|
|
@@ -8,7 +8,8 @@ import { types } from 'mobx-state-tree'
|
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* #stateModel LinearGCContentDisplay
|
|
11
|
-
*
|
|
11
|
+
* #category display
|
|
12
|
+
* base model `BaseWiggleDisplayModel`
|
|
12
13
|
*/
|
|
13
14
|
export default function stateModelFactory(
|
|
14
15
|
pluginManager: PluginManager,
|