@jbrowse/plugin-gccontent 2.17.0 → 2.18.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 +47 -42
- 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/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.js +3 -3
- 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 +10 -43
- package/dist/LinearGCContentDisplay/shared.js +4 -21
- package/dist/LinearGCContentDisplay/stateModel1.d.ts +10 -29
- package/dist/LinearGCContentDisplay/stateModel1.js +0 -6
- package/dist/LinearGCContentDisplay/stateModel2.d.ts +10 -34
- 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 +47 -42
- 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.js +3 -3
- 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 +10 -43
- package/esm/LinearGCContentDisplay/shared.js +5 -22
- package/esm/LinearGCContentDisplay/stateModel1.d.ts +10 -29
- package/esm/LinearGCContentDisplay/stateModel1.js +0 -6
- package/esm/LinearGCContentDisplay/stateModel2.d.ts +10 -34
- 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,10 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
/**
|
|
4
|
-
* #stateModel LinearGCContentDisplay
|
|
5
|
-
* #category display
|
|
6
|
-
* base model `SharedGCContentModel`
|
|
7
|
-
*/
|
|
1
|
+
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
8
3
|
export default function stateModelF(pluginManager: PluginManager, configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
9
4
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
10
5
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -17,21 +12,12 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
17
12
|
} & {
|
|
18
13
|
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
19
14
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
20
|
-
region: import("mobx-state-tree").
|
|
21
|
-
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
22
|
-
start: import("mobx-state-tree").ISimpleType<number>;
|
|
23
|
-
end: import("mobx-state-tree").ISimpleType<number>;
|
|
24
|
-
reversed: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
25
|
-
} & {
|
|
26
|
-
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
27
|
-
}, {
|
|
28
|
-
setRefName(newRefName: string): void;
|
|
29
|
-
}, 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>;
|
|
30
16
|
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
31
17
|
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
32
18
|
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
33
19
|
}, {
|
|
34
|
-
|
|
20
|
+
stopToken: string | undefined;
|
|
35
21
|
filled: boolean;
|
|
36
22
|
reactElement: React.ReactElement | undefined;
|
|
37
23
|
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
@@ -55,15 +41,9 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
55
41
|
doReload(): void;
|
|
56
42
|
afterAttach(): void;
|
|
57
43
|
setStatus(message: string): void;
|
|
58
|
-
setLoading(
|
|
44
|
+
setLoading(newStopToken: string): void;
|
|
59
45
|
setMessage(messageText: string): void;
|
|
60
|
-
setRendered(props:
|
|
61
|
-
reactElement: React.ReactElement;
|
|
62
|
-
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
63
|
-
layout: any;
|
|
64
|
-
maxHeightReached: boolean;
|
|
65
|
-
renderProps: any;
|
|
66
|
-
} | undefined): void;
|
|
46
|
+
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock").RenderedProps | undefined): void;
|
|
67
47
|
setError(error: unknown): void;
|
|
68
48
|
reload(): void;
|
|
69
49
|
beforeDestroy(): void;
|
|
@@ -210,6 +190,7 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
210
190
|
readonly regionTooLarge: boolean;
|
|
211
191
|
readonly regionTooLargeReason: string;
|
|
212
192
|
} & {
|
|
193
|
+
readonly statsReadyAndRegionNotTooLarge: boolean;
|
|
213
194
|
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
214
195
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
215
196
|
} & {
|
|
@@ -253,7 +234,7 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
253
234
|
scoreMin: number;
|
|
254
235
|
scoreMax: number;
|
|
255
236
|
} | undefined;
|
|
256
|
-
statsFetchInProgress: undefined |
|
|
237
|
+
statsFetchInProgress: undefined | string;
|
|
257
238
|
} & {
|
|
258
239
|
updateQuantitativeStats(stats: {
|
|
259
240
|
currStatsBpPerPx: number;
|
|
@@ -263,7 +244,7 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
263
244
|
setColor(color?: string): void;
|
|
264
245
|
setPosColor(color?: string): void;
|
|
265
246
|
setNegColor(color?: string): void;
|
|
266
|
-
setStatsLoading(
|
|
247
|
+
setStatsLoading(arg?: string): void;
|
|
267
248
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
268
249
|
setResolution(res: number): void;
|
|
269
250
|
setFill(fill: number): void;
|
|
@@ -416,5 +397,5 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
416
397
|
readonly windowDeltaSetting: any;
|
|
417
398
|
} & {
|
|
418
399
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
419
|
-
|
|
400
|
+
adapterProps(): any;
|
|
420
401
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
@@ -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;
|
|
@@ -60,15 +41,9 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
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,6 +190,7 @@ 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
195
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
220
196
|
} & {
|
|
@@ -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;
|
|
@@ -421,5 +397,5 @@ export default function stateModelF(pluginManager: PluginManager, configSchema:
|
|
|
421
397
|
readonly windowDeltaSetting: any;
|
|
422
398
|
} & {
|
|
423
399
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
424
|
-
|
|
400
|
+
adapterProps(): any;
|
|
425
401
|
}, 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": "2.
|
|
3
|
+
"version": "2.18.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": "c344ea60099cb7e460b77f15808946b24a7eee74"
|
|
57
57
|
}
|