@jbrowse/plugin-gccontent 2.17.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/GCContentAdapter/GCContentAdapter.d.ts +5 -9
- package/dist/GCContentAdapter/GCContentAdapter.js +55 -49
- package/dist/GCContentAdapter/configSchema.d.ts +1 -10
- package/dist/GCContentAdapter/configSchema.js +1 -14
- package/dist/GCContentAdapter/index.d.ts +1 -1
- package/dist/GCContentAdapter/index.js +17 -7
- package/dist/GCContentTrack/configSchema.d.ts +1 -1
- package/dist/GCContentTrack/configSchema.js +1 -8
- package/dist/GCContentTrack/index.d.ts +1 -1
- package/dist/LinearGCContentDisplay/components/EditGCContentParams.d.ts +1 -2
- package/dist/LinearGCContentDisplay/components/EditGCContentParams.js +17 -47
- package/dist/LinearGCContentDisplay/config1.d.ts +1 -6
- package/dist/LinearGCContentDisplay/config1.js +0 -8
- package/dist/LinearGCContentDisplay/config2.d.ts +1 -6
- package/dist/LinearGCContentDisplay/config2.js +0 -8
- package/dist/LinearGCContentDisplay/index.d.ts +1 -1
- package/dist/LinearGCContentDisplay/shared.d.ts +41 -51
- package/dist/LinearGCContentDisplay/shared.js +21 -28
- package/dist/LinearGCContentDisplay/stateModel1.d.ts +41 -37
- package/dist/LinearGCContentDisplay/stateModel1.js +0 -6
- package/dist/LinearGCContentDisplay/stateModel2.d.ts +41 -42
- package/dist/LinearGCContentDisplay/stateModel2.js +0 -11
- package/dist/index.d.ts +1 -1
- package/dist/index.js +0 -1
- package/esm/GCContentAdapter/GCContentAdapter.d.ts +5 -9
- package/esm/GCContentAdapter/GCContentAdapter.js +55 -49
- package/esm/GCContentAdapter/configSchema.d.ts +1 -10
- package/esm/GCContentAdapter/configSchema.js +1 -14
- package/esm/GCContentAdapter/index.d.ts +1 -1
- package/esm/GCContentTrack/configSchema.d.ts +1 -1
- package/esm/GCContentTrack/configSchema.js +1 -8
- package/esm/GCContentTrack/index.d.ts +1 -1
- package/esm/LinearGCContentDisplay/components/EditGCContentParams.d.ts +1 -2
- package/esm/LinearGCContentDisplay/components/EditGCContentParams.js +17 -24
- package/esm/LinearGCContentDisplay/config1.d.ts +1 -6
- package/esm/LinearGCContentDisplay/config1.js +0 -8
- package/esm/LinearGCContentDisplay/config2.d.ts +1 -6
- package/esm/LinearGCContentDisplay/config2.js +0 -8
- package/esm/LinearGCContentDisplay/index.d.ts +1 -1
- package/esm/LinearGCContentDisplay/shared.d.ts +41 -51
- package/esm/LinearGCContentDisplay/shared.js +5 -22
- package/esm/LinearGCContentDisplay/stateModel1.d.ts +41 -37
- package/esm/LinearGCContentDisplay/stateModel1.js +0 -6
- package/esm/LinearGCContentDisplay/stateModel2.d.ts +41 -42
- package/esm/LinearGCContentDisplay/stateModel2.js +0 -11
- package/esm/index.d.ts +1 -1
- package/esm/index.js +0 -1
- package/package.json +2 -2
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { types } from 'mobx-state-tree';
|
|
2
|
-
// locals
|
|
3
2
|
import SharedModelF from './shared';
|
|
4
|
-
/**
|
|
5
|
-
* #stateModel LinearGCContentDisplay
|
|
6
|
-
* #category display
|
|
7
|
-
* base model `SharedGCContentModel`
|
|
8
|
-
*/
|
|
9
3
|
export default function stateModelF(pluginManager, configSchema) {
|
|
10
4
|
return types.compose('LinearGCContentDisplay', SharedModelF(pluginManager, configSchema), types.model({
|
|
11
5
|
type: types.literal('LinearGCContentDisplay'),
|
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
/**
|
|
4
|
-
* #stateModel LinearGCContentTrackDisplay
|
|
5
|
-
* #category display
|
|
6
|
-
*
|
|
7
|
-
* used on GCContentTrack, separately from the display type on the
|
|
8
|
-
* ReferenceSequenceTrack
|
|
9
|
-
*
|
|
10
|
-
* extends
|
|
11
|
-
* - [SharedGCContentModel](../sharedgccontentmodel)
|
|
12
|
-
*/
|
|
1
|
+
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
13
3
|
export default function stateModelF(pluginManager: PluginManager, configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
14
4
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
15
5
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -22,21 +12,12 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
22
12
|
} & {
|
|
23
13
|
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
24
14
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
25
|
-
region: import("mobx-state-tree").
|
|
26
|
-
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
27
|
-
start: import("mobx-state-tree").ISimpleType<number>;
|
|
28
|
-
end: import("mobx-state-tree").ISimpleType<number>;
|
|
29
|
-
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
30
|
-
} & {
|
|
31
|
-
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
32
|
-
}, {
|
|
33
|
-
setRefName(newRefName: string): void;
|
|
34
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
15
|
+
region: import("mobx-state-tree").IType<import("@jbrowse/core/util").Region, import("@jbrowse/core/util").Region, import("@jbrowse/core/util").Region>;
|
|
35
16
|
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
36
17
|
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
37
18
|
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
38
19
|
}, {
|
|
39
|
-
|
|
20
|
+
stopToken: string | undefined;
|
|
40
21
|
filled: boolean;
|
|
41
22
|
reactElement: React.ReactElement | undefined;
|
|
42
23
|
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
@@ -54,21 +35,15 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
54
35
|
status?: string;
|
|
55
36
|
reactElement?: React.ReactElement;
|
|
56
37
|
};
|
|
57
|
-
}) => import("react").JSX.Element | undefined;
|
|
38
|
+
}) => import("react/jsx-runtime").JSX.Element | undefined;
|
|
58
39
|
renderProps: any;
|
|
59
40
|
} & {
|
|
60
41
|
doReload(): void;
|
|
61
42
|
afterAttach(): void;
|
|
62
43
|
setStatus(message: string): void;
|
|
63
|
-
setLoading(
|
|
44
|
+
setLoading(newStopToken: string): void;
|
|
64
45
|
setMessage(messageText: string): void;
|
|
65
|
-
setRendered(props:
|
|
66
|
-
reactElement: React.ReactElement;
|
|
67
|
-
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
68
|
-
layout: any;
|
|
69
|
-
maxHeightReached: boolean;
|
|
70
|
-
renderProps: any;
|
|
71
|
-
} | undefined): void;
|
|
46
|
+
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock").RenderedProps | undefined): void;
|
|
72
47
|
setError(error: unknown): void;
|
|
73
48
|
reload(): void;
|
|
74
49
|
beforeDestroy(): void;
|
|
@@ -215,14 +190,15 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
215
190
|
readonly regionTooLarge: boolean;
|
|
216
191
|
readonly regionTooLargeReason: string;
|
|
217
192
|
} & {
|
|
193
|
+
readonly statsReadyAndRegionNotTooLarge: boolean;
|
|
218
194
|
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
219
|
-
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
195
|
+
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react/jsx-runtime").JSX.Element | null;
|
|
220
196
|
} & {
|
|
221
197
|
featureIdUnderMouse: undefined | string;
|
|
222
198
|
contextMenuFeature: undefined | import("@jbrowse/core/util").Feature;
|
|
223
199
|
} & {
|
|
224
|
-
readonly DisplayMessageComponent:
|
|
225
|
-
readonly blockType: "
|
|
200
|
+
readonly DisplayMessageComponent: undefined | React.FC<any>;
|
|
201
|
+
readonly blockType: "staticBlocks" | "dynamicBlocks";
|
|
226
202
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
227
203
|
} & {
|
|
228
204
|
readonly renderDelay: number;
|
|
@@ -249,7 +225,7 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
249
225
|
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
250
226
|
renderProps(): any;
|
|
251
227
|
} & {
|
|
252
|
-
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
228
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react/jsx-runtime").JSX.Element>;
|
|
253
229
|
afterAttach(): void;
|
|
254
230
|
} & {
|
|
255
231
|
message: undefined | string;
|
|
@@ -258,7 +234,7 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
258
234
|
scoreMin: number;
|
|
259
235
|
scoreMax: number;
|
|
260
236
|
} | undefined;
|
|
261
|
-
statsFetchInProgress: undefined |
|
|
237
|
+
statsFetchInProgress: undefined | string;
|
|
262
238
|
} & {
|
|
263
239
|
updateQuantitativeStats(stats: {
|
|
264
240
|
currStatsBpPerPx: number;
|
|
@@ -268,7 +244,7 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
268
244
|
setColor(color?: string): void;
|
|
269
245
|
setPosColor(color?: string): void;
|
|
270
246
|
setNegColor(color?: string): void;
|
|
271
|
-
setStatsLoading(
|
|
247
|
+
setStatsLoading(arg?: string): void;
|
|
272
248
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
273
249
|
setResolution(res: number): void;
|
|
274
250
|
setFill(fill: number): void;
|
|
@@ -365,7 +341,17 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
365
341
|
readonly quantitativeStatsReady: boolean;
|
|
366
342
|
} & {
|
|
367
343
|
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 | {
|
|
344
|
+
type: string;
|
|
345
|
+
label?: undefined;
|
|
346
|
+
icon?: undefined;
|
|
347
|
+
subMenu?: undefined;
|
|
348
|
+
onClick?: undefined;
|
|
349
|
+
checked?: undefined;
|
|
350
|
+
} | {
|
|
368
351
|
label: string;
|
|
352
|
+
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
353
|
+
muiName: string;
|
|
354
|
+
};
|
|
369
355
|
subMenu: ({
|
|
370
356
|
label: string;
|
|
371
357
|
subMenu: {
|
|
@@ -388,8 +374,8 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
388
374
|
subMenu?: undefined;
|
|
389
375
|
})[];
|
|
390
376
|
type?: undefined;
|
|
391
|
-
checked?: undefined;
|
|
392
377
|
onClick?: undefined;
|
|
378
|
+
checked?: undefined;
|
|
393
379
|
} | {
|
|
394
380
|
label: string;
|
|
395
381
|
subMenu: {
|
|
@@ -399,10 +385,23 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
399
385
|
onClick: () => void;
|
|
400
386
|
}[];
|
|
401
387
|
type?: undefined;
|
|
402
|
-
|
|
388
|
+
icon?: undefined;
|
|
403
389
|
onClick?: undefined;
|
|
390
|
+
checked?: undefined;
|
|
391
|
+
} | {
|
|
392
|
+
label: string;
|
|
393
|
+
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
394
|
+
muiName: string;
|
|
395
|
+
};
|
|
396
|
+
onClick: () => void;
|
|
397
|
+
type?: undefined;
|
|
398
|
+
subMenu?: undefined;
|
|
399
|
+
checked?: undefined;
|
|
404
400
|
} | {
|
|
405
401
|
type: string;
|
|
402
|
+
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
403
|
+
muiName: string;
|
|
404
|
+
};
|
|
406
405
|
label: string;
|
|
407
406
|
checked: boolean;
|
|
408
407
|
onClick: () => void;
|
|
@@ -410,7 +409,7 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
410
409
|
})[];
|
|
411
410
|
} & {
|
|
412
411
|
afterAttach(): void;
|
|
413
|
-
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
412
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react/jsx-runtime").JSX.Element>;
|
|
414
413
|
} & {
|
|
415
414
|
setGCContentParams({ windowSize, windowDelta, }: {
|
|
416
415
|
windowSize: number;
|
|
@@ -421,5 +420,5 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
421
420
|
readonly windowDeltaSetting: any;
|
|
422
421
|
} & {
|
|
423
422
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
424
|
-
|
|
423
|
+
adapterProps(): any;
|
|
425
424
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import { types } from 'mobx-state-tree';
|
|
2
|
-
// locals
|
|
3
2
|
import SharedModelF from './shared';
|
|
4
|
-
/**
|
|
5
|
-
* #stateModel LinearGCContentTrackDisplay
|
|
6
|
-
* #category display
|
|
7
|
-
*
|
|
8
|
-
* used on GCContentTrack, separately from the display type on the
|
|
9
|
-
* ReferenceSequenceTrack
|
|
10
|
-
*
|
|
11
|
-
* extends
|
|
12
|
-
* - [SharedGCContentModel](../sharedgccontentmodel)
|
|
13
|
-
*/
|
|
14
3
|
export default function stateModelF(pluginManager, configSchema) {
|
|
15
4
|
return types.compose('LinearGCContentTrackDisplay', SharedModelF(pluginManager, configSchema), types.model({
|
|
16
5
|
type: types.literal('LinearGCContentTrackDisplay'),
|
package/esm/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Plugin from '@jbrowse/core/Plugin';
|
|
2
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
3
3
|
export default class GCContentPlugin extends Plugin {
|
|
4
4
|
name: string;
|
|
5
5
|
install(pluginManager: PluginManager): void;
|
package/esm/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-gccontent",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "JBrowse 2 gccontent concepts",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"distModule": "esm/index.js",
|
|
54
54
|
"srcModule": "src/index.ts",
|
|
55
55
|
"module": "esm/index.js",
|
|
56
|
-
"gitHead": "
|
|
56
|
+
"gitHead": "2c6897f1fa732b1db5b094d1dca197e333e95319"
|
|
57
57
|
}
|