@jbrowse/plugin-hic 2.12.0 → 2.12.2
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/HicAdapter/HicAdapter.js +1 -2
- package/dist/HicAdapter/index.js +1 -1
- package/dist/HicRenderer/HicRenderer.d.ts +5 -6
- package/dist/HicRenderer/index.js +1 -1
- package/dist/HicTrack/index.js +1 -1
- package/dist/LinearHicDisplay/index.js +1 -1
- package/dist/LinearHicDisplay/model.d.ts +50 -61
- package/dist/LinearHicDisplay/model.js +1 -1
- package/esm/HicRenderer/HicRenderer.d.ts +5 -6
- package/esm/LinearHicDisplay/model.d.ts +50 -61
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.openFilehandleWrapper =
|
|
6
|
+
exports.openFilehandleWrapper = openFilehandleWrapper;
|
|
7
7
|
const BaseAdapter_1 = require("@jbrowse/core/data_adapters/BaseAdapter");
|
|
8
8
|
const rxjs_1 = require("@jbrowse/core/util/rxjs");
|
|
9
9
|
const io_1 = require("@jbrowse/core/util/io");
|
|
@@ -23,7 +23,6 @@ class GenericFilehandleWrapper {
|
|
|
23
23
|
function openFilehandleWrapper(location, pluginManager) {
|
|
24
24
|
return new GenericFilehandleWrapper((0, io_1.openLocation)(location, pluginManager));
|
|
25
25
|
}
|
|
26
|
-
exports.openFilehandleWrapper = openFilehandleWrapper;
|
|
27
26
|
class HicAdapter extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
28
27
|
constructor(config, getSubAdapter, pluginManager) {
|
|
29
28
|
super(config, getSubAdapter, pluginManager);
|
package/dist/HicAdapter/index.js
CHANGED
|
@@ -26,6 +26,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
26
26
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.default = HicAdapterF;
|
|
29
30
|
const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
|
|
30
31
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
31
32
|
function HicAdapterF(pluginManager) {
|
|
@@ -36,4 +37,3 @@ function HicAdapterF(pluginManager) {
|
|
|
36
37
|
getAdapterClass: () => Promise.resolve().then(() => __importStar(require('./HicAdapter'))).then(r => r.default),
|
|
37
38
|
}));
|
|
38
39
|
}
|
|
39
|
-
exports.default = HicAdapterF;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import ServerSideRendererType, { RenderArgs as ServerSideRenderArgs, RenderArgsDeserialized as ServerSideRenderArgsDeserialized, ResultsSerialized as ServerSideResultsSerialized, ResultsDeserialized as ServerSideResultsDeserialized } from '@jbrowse/core/pluggableElementTypes/renderers/ServerSideRendererType';
|
|
3
2
|
import { Region } from '@jbrowse/core/util/types';
|
|
4
3
|
import { BaseFeatureDataAdapter } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
@@ -34,19 +33,19 @@ export default class HicRenderer extends ServerSideRendererType {
|
|
|
34
33
|
height: any;
|
|
35
34
|
width: number;
|
|
36
35
|
canvasRecordedData: any;
|
|
37
|
-
reactElement?: import("react").ReactElement
|
|
38
|
-
html?: string
|
|
36
|
+
reactElement?: import("react").ReactElement;
|
|
37
|
+
html?: string;
|
|
39
38
|
} | {
|
|
40
39
|
height: any;
|
|
41
40
|
width: number;
|
|
42
41
|
reactElement: import("react").JSX.Element;
|
|
43
|
-
html?: string
|
|
42
|
+
html?: string;
|
|
44
43
|
} | {
|
|
45
44
|
height: any;
|
|
46
45
|
width: number;
|
|
47
46
|
imageData: any;
|
|
48
|
-
reactElement?: import("react").ReactElement
|
|
49
|
-
html?: string
|
|
47
|
+
reactElement?: import("react").ReactElement;
|
|
48
|
+
html?: string;
|
|
50
49
|
}>;
|
|
51
50
|
getFeatures(args: RenderArgsDeserialized): Promise<any>;
|
|
52
51
|
}
|
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = HicRendererF;
|
|
6
7
|
const HicRendering_1 = __importDefault(require("./components/HicRendering"));
|
|
7
8
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
8
9
|
const HicRenderer_1 = __importDefault(require("./HicRenderer"));
|
|
@@ -14,4 +15,3 @@ function HicRendererF(pluginManager) {
|
|
|
14
15
|
pluginManager,
|
|
15
16
|
}));
|
|
16
17
|
}
|
|
17
|
-
exports.default = HicRendererF;
|
package/dist/HicTrack/index.js
CHANGED
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = HicTrackF;
|
|
6
7
|
const TrackType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/TrackType"));
|
|
7
8
|
const models_1 = require("@jbrowse/core/pluggableElementTypes/models");
|
|
8
9
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
@@ -17,4 +18,3 @@ function HicTrackF(pluginManager) {
|
|
|
17
18
|
});
|
|
18
19
|
});
|
|
19
20
|
}
|
|
20
|
-
exports.default = HicTrackF;
|
|
@@ -3,6 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.default = LinearHicDisplayF;
|
|
6
7
|
const pluggableElementTypes_1 = require("@jbrowse/core/pluggableElementTypes");
|
|
7
8
|
const plugin_linear_genome_view_1 = require("@jbrowse/plugin-linear-genome-view");
|
|
8
9
|
const configSchema_1 = __importDefault(require("./configSchema"));
|
|
@@ -21,4 +22,3 @@ function LinearHicDisplayF(pluginManager) {
|
|
|
21
22
|
});
|
|
22
23
|
});
|
|
23
24
|
}
|
|
24
|
-
exports.default = LinearHicDisplayF;
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
3
2
|
export default function stateModelFactory(configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
4
|
-
id: import("mobx-state-tree").IOptionalIType<import(
|
|
3
|
+
id: import("mobx-state-tree").IOptionalIType<import(
|
|
4
|
+
/**
|
|
5
|
+
* #stateModel LinearHicDisplay
|
|
6
|
+
* #category display
|
|
7
|
+
* extends `BaseLinearDisplay`
|
|
8
|
+
*/
|
|
9
|
+
"mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
5
10
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
6
11
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
7
12
|
} & {
|
|
@@ -28,7 +33,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
28
33
|
}, {
|
|
29
34
|
renderInProgress: AbortController | undefined;
|
|
30
35
|
filled: boolean;
|
|
31
|
-
reactElement: import("react").ReactElement
|
|
36
|
+
reactElement: import("react").ReactElement | undefined;
|
|
32
37
|
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
33
38
|
layout: any;
|
|
34
39
|
status: string;
|
|
@@ -37,12 +42,14 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
37
42
|
maxHeightReached: boolean;
|
|
38
43
|
ReactComponent: ({ model, }: {
|
|
39
44
|
model: {
|
|
40
|
-
error
|
|
45
|
+
error? /**
|
|
46
|
+
* #method
|
|
47
|
+
*/: unknown;
|
|
41
48
|
reload: () => void;
|
|
42
49
|
message: import("react").ReactNode;
|
|
43
|
-
filled?: boolean
|
|
44
|
-
status?: string
|
|
45
|
-
reactElement?: import("react").ReactElement
|
|
50
|
+
filled?: boolean;
|
|
51
|
+
status?: string;
|
|
52
|
+
reactElement?: import("react").ReactElement;
|
|
46
53
|
};
|
|
47
54
|
}) => import("react").JSX.Element | undefined;
|
|
48
55
|
renderProps: any;
|
|
@@ -53,7 +60,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
53
60
|
setLoading(abortController: AbortController): void;
|
|
54
61
|
setMessage(messageText: string): void;
|
|
55
62
|
setRendered(props: {
|
|
56
|
-
reactElement: import("react").ReactElement
|
|
63
|
+
reactElement: import("react").ReactElement;
|
|
57
64
|
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
58
65
|
layout: any;
|
|
59
66
|
maxHeightReached: boolean;
|
|
@@ -62,9 +69,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
62
69
|
setError(error: unknown): void;
|
|
63
70
|
reload(): void;
|
|
64
71
|
beforeDestroy(): void;
|
|
65
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
66
|
-
* #action
|
|
67
|
-
*/
|
|
72
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
68
73
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
69
74
|
maxFeatureScreenDensity: {
|
|
70
75
|
type: string;
|
|
@@ -75,9 +80,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
75
80
|
type: string;
|
|
76
81
|
defaultValue: number;
|
|
77
82
|
description: string;
|
|
78
|
-
};
|
|
79
|
-
* #property
|
|
80
|
-
*/
|
|
83
|
+
};
|
|
81
84
|
height: {
|
|
82
85
|
type: string;
|
|
83
86
|
defaultValue: number;
|
|
@@ -94,9 +97,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
94
97
|
description: string;
|
|
95
98
|
defaultValue: never[];
|
|
96
99
|
};
|
|
97
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
98
|
-
* #action
|
|
99
|
-
*/
|
|
100
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
100
101
|
} & {
|
|
101
102
|
type: import("mobx-state-tree").ISimpleType<"LinearHicDisplay">;
|
|
102
103
|
configuration: AnyConfigurationSchemaType;
|
|
@@ -106,25 +107,21 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
106
107
|
}, {
|
|
107
108
|
rendererTypeName: string;
|
|
108
109
|
error: unknown;
|
|
109
|
-
message: string | undefined;
|
|
110
|
-
* #property
|
|
111
|
-
*/
|
|
110
|
+
message: string | undefined;
|
|
112
111
|
} & {
|
|
113
112
|
readonly RenderingComponent: import("react").FC<{
|
|
114
113
|
model: {
|
|
115
114
|
id: string;
|
|
116
115
|
type: string;
|
|
117
|
-
rpcDriverName: string | undefined;
|
|
118
|
-
* #property
|
|
119
|
-
*/
|
|
116
|
+
rpcDriverName: string | undefined;
|
|
120
117
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
121
118
|
rendererTypeName: string;
|
|
122
119
|
error: unknown;
|
|
123
|
-
message: string | undefined;
|
|
124
|
-
* #property
|
|
125
|
-
*/
|
|
120
|
+
message: string | undefined;
|
|
126
121
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
127
|
-
id: import("mobx-state-tree"
|
|
122
|
+
id: import("mobx-state-tree" /**
|
|
123
|
+
* #getter
|
|
124
|
+
*/).IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
128
125
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
129
126
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
130
127
|
}, {
|
|
@@ -132,8 +129,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
132
129
|
error: unknown;
|
|
133
130
|
message: string | undefined;
|
|
134
131
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
135
|
-
onHorizontalScroll?: Function
|
|
136
|
-
blockState?: Record<string, any
|
|
132
|
+
onHorizontalScroll?: Function;
|
|
133
|
+
blockState?: Record<string, any>;
|
|
137
134
|
}>;
|
|
138
135
|
readonly DisplayBlurb: import("react").FC<{
|
|
139
136
|
model: {
|
|
@@ -158,12 +155,12 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
158
155
|
readonly parentTrack: any;
|
|
159
156
|
renderProps(): any;
|
|
160
157
|
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
161
|
-
readonly DisplayMessageComponent: import("react").FC<any
|
|
158
|
+
readonly DisplayMessageComponent: undefined | import("react").FC<any>;
|
|
162
159
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
163
160
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
164
161
|
regionCannotBeRendered(): null;
|
|
165
162
|
} & {
|
|
166
|
-
setMessage(arg?: string
|
|
163
|
+
setMessage(arg?: string): void;
|
|
167
164
|
setError(error?: unknown): void;
|
|
168
165
|
setRpcDriverName(rpcDriverName: string): void;
|
|
169
166
|
reload(): void;
|
|
@@ -176,13 +173,11 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
176
173
|
setHeight(displayHeight: number): number;
|
|
177
174
|
resizeHeight(distance: number): number;
|
|
178
175
|
} & {
|
|
179
|
-
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
180
|
-
featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
176
|
+
featureDensityStatsP: undefined | Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
177
|
+
featureDensityStats: undefined | import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats;
|
|
181
178
|
currStatsBpPerPx: number;
|
|
182
179
|
} & {
|
|
183
|
-
readonly currentBytesRequested: number;
|
|
184
|
-
* #method
|
|
185
|
-
*/
|
|
180
|
+
readonly currentBytesRequested: number;
|
|
186
181
|
readonly currentFeatureScreenDensity: number;
|
|
187
182
|
readonly maxFeatureScreenDensity: any;
|
|
188
183
|
readonly featureDensityStatsReady: boolean;
|
|
@@ -191,10 +186,10 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
191
186
|
afterAttach(): void;
|
|
192
187
|
} & {
|
|
193
188
|
setCurrStatsBpPerPx(n: number): void;
|
|
194
|
-
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
189
|
+
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats): void;
|
|
195
190
|
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
196
191
|
setFeatureDensityStatsP(arg: any): void;
|
|
197
|
-
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
192
|
+
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats): void;
|
|
198
193
|
clearFeatureDensityStats(): void;
|
|
199
194
|
} & {
|
|
200
195
|
readonly regionTooLarge: boolean;
|
|
@@ -203,18 +198,16 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
203
198
|
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
204
199
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
205
200
|
} & {
|
|
206
|
-
featureIdUnderMouse:
|
|
207
|
-
contextMenuFeature: import("@jbrowse/core/util").Feature
|
|
201
|
+
featureIdUnderMouse: undefined | string;
|
|
202
|
+
contextMenuFeature: undefined | import("@jbrowse/core/util").Feature;
|
|
208
203
|
} & {
|
|
209
|
-
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
210
|
-
* #getter
|
|
211
|
-
*/
|
|
204
|
+
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
212
205
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
213
206
|
} & {
|
|
214
207
|
readonly renderDelay: number;
|
|
215
208
|
readonly TooltipComponent: import("react").FC<any>;
|
|
216
209
|
readonly selectedFeatureId: string | undefined;
|
|
217
|
-
readonly DisplayMessageComponent: import("react").FC<any
|
|
210
|
+
readonly DisplayMessageComponent: undefined | import("react").FC<any>;
|
|
218
211
|
} & {
|
|
219
212
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
220
213
|
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
@@ -227,8 +220,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
227
220
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
228
221
|
navToFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
229
222
|
clearFeatureSelection(): void;
|
|
230
|
-
setFeatureIdUnderMouse(feature?: string
|
|
231
|
-
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature
|
|
223
|
+
setFeatureIdUnderMouse(feature?: string): void;
|
|
224
|
+
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature): void;
|
|
232
225
|
} & {
|
|
233
226
|
reload(): Promise<void>;
|
|
234
227
|
} & {
|
|
@@ -314,7 +307,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
314
307
|
}, {
|
|
315
308
|
renderInProgress: AbortController | undefined;
|
|
316
309
|
filled: boolean;
|
|
317
|
-
reactElement: import("react").ReactElement
|
|
310
|
+
reactElement: import("react").ReactElement | undefined;
|
|
318
311
|
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
319
312
|
layout: any;
|
|
320
313
|
status: string;
|
|
@@ -323,12 +316,14 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
323
316
|
maxHeightReached: boolean;
|
|
324
317
|
ReactComponent: ({ model, }: {
|
|
325
318
|
model: {
|
|
326
|
-
error
|
|
319
|
+
error? /**
|
|
320
|
+
* #method
|
|
321
|
+
*/: unknown;
|
|
327
322
|
reload: () => void;
|
|
328
323
|
message: import("react").ReactNode;
|
|
329
|
-
filled?: boolean
|
|
330
|
-
status?: string
|
|
331
|
-
reactElement?: import("react").ReactElement
|
|
324
|
+
filled?: boolean;
|
|
325
|
+
status?: string;
|
|
326
|
+
reactElement?: import("react").ReactElement;
|
|
332
327
|
};
|
|
333
328
|
}) => import("react").JSX.Element | undefined;
|
|
334
329
|
renderProps: any;
|
|
@@ -339,7 +334,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
339
334
|
setLoading(abortController: AbortController): void;
|
|
340
335
|
setMessage(messageText: string): void;
|
|
341
336
|
setRendered(props: {
|
|
342
|
-
reactElement: import("react").ReactElement
|
|
337
|
+
reactElement: import("react").ReactElement;
|
|
343
338
|
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
344
339
|
layout: any;
|
|
345
340
|
maxHeightReached: boolean;
|
|
@@ -348,9 +343,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
348
343
|
setError(error: unknown): void;
|
|
349
344
|
reload(): void;
|
|
350
345
|
beforeDestroy(): void;
|
|
351
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
352
|
-
* #action
|
|
353
|
-
*/
|
|
346
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
354
347
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
355
348
|
maxFeatureScreenDensity: {
|
|
356
349
|
type: string;
|
|
@@ -361,9 +354,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
361
354
|
type: string;
|
|
362
355
|
defaultValue: number;
|
|
363
356
|
description: string;
|
|
364
|
-
};
|
|
365
|
-
* #property
|
|
366
|
-
*/
|
|
357
|
+
};
|
|
367
358
|
height: {
|
|
368
359
|
type: string;
|
|
369
360
|
defaultValue: number;
|
|
@@ -380,9 +371,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
380
371
|
description: string;
|
|
381
372
|
defaultValue: never[];
|
|
382
373
|
};
|
|
383
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
384
|
-
* #action
|
|
385
|
-
*/
|
|
374
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
386
375
|
}>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
|
|
387
376
|
type: string;
|
|
388
377
|
id: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = stateModelFactory;
|
|
3
4
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
4
5
|
const plugin_linear_genome_view_1 = require("@jbrowse/plugin-linear-genome-view");
|
|
5
6
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
@@ -146,4 +147,3 @@ function stateModelFactory(configSchema) {
|
|
|
146
147
|
};
|
|
147
148
|
});
|
|
148
149
|
}
|
|
149
|
-
exports.default = stateModelFactory;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import ServerSideRendererType, { RenderArgs as ServerSideRenderArgs, RenderArgsDeserialized as ServerSideRenderArgsDeserialized, ResultsSerialized as ServerSideResultsSerialized, ResultsDeserialized as ServerSideResultsDeserialized } from '@jbrowse/core/pluggableElementTypes/renderers/ServerSideRendererType';
|
|
3
2
|
import { Region } from '@jbrowse/core/util/types';
|
|
4
3
|
import { BaseFeatureDataAdapter } from '@jbrowse/core/data_adapters/BaseAdapter';
|
|
@@ -34,19 +33,19 @@ export default class HicRenderer extends ServerSideRendererType {
|
|
|
34
33
|
height: any;
|
|
35
34
|
width: number;
|
|
36
35
|
canvasRecordedData: any;
|
|
37
|
-
reactElement?: import("react").ReactElement
|
|
38
|
-
html?: string
|
|
36
|
+
reactElement?: import("react").ReactElement;
|
|
37
|
+
html?: string;
|
|
39
38
|
} | {
|
|
40
39
|
height: any;
|
|
41
40
|
width: number;
|
|
42
41
|
reactElement: import("react").JSX.Element;
|
|
43
|
-
html?: string
|
|
42
|
+
html?: string;
|
|
44
43
|
} | {
|
|
45
44
|
height: any;
|
|
46
45
|
width: number;
|
|
47
46
|
imageData: any;
|
|
48
|
-
reactElement?: import("react").ReactElement
|
|
49
|
-
html?: string
|
|
47
|
+
reactElement?: import("react").ReactElement;
|
|
48
|
+
html?: string;
|
|
50
49
|
}>;
|
|
51
50
|
getFeatures(args: RenderArgsDeserialized): Promise<any>;
|
|
52
51
|
}
|
|
@@ -1,7 +1,12 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
3
2
|
export default function stateModelFactory(configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
4
|
-
id: import("mobx-state-tree").IOptionalIType<import(
|
|
3
|
+
id: import("mobx-state-tree").IOptionalIType<import(
|
|
4
|
+
/**
|
|
5
|
+
* #stateModel LinearHicDisplay
|
|
6
|
+
* #category display
|
|
7
|
+
* extends `BaseLinearDisplay`
|
|
8
|
+
*/
|
|
9
|
+
"mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
5
10
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
6
11
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
7
12
|
} & {
|
|
@@ -28,7 +33,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
28
33
|
}, {
|
|
29
34
|
renderInProgress: AbortController | undefined;
|
|
30
35
|
filled: boolean;
|
|
31
|
-
reactElement: import("react").ReactElement
|
|
36
|
+
reactElement: import("react").ReactElement | undefined;
|
|
32
37
|
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
33
38
|
layout: any;
|
|
34
39
|
status: string;
|
|
@@ -37,12 +42,14 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
37
42
|
maxHeightReached: boolean;
|
|
38
43
|
ReactComponent: ({ model, }: {
|
|
39
44
|
model: {
|
|
40
|
-
error
|
|
45
|
+
error? /**
|
|
46
|
+
* #method
|
|
47
|
+
*/: unknown;
|
|
41
48
|
reload: () => void;
|
|
42
49
|
message: import("react").ReactNode;
|
|
43
|
-
filled?: boolean
|
|
44
|
-
status?: string
|
|
45
|
-
reactElement?: import("react").ReactElement
|
|
50
|
+
filled?: boolean;
|
|
51
|
+
status?: string;
|
|
52
|
+
reactElement?: import("react").ReactElement;
|
|
46
53
|
};
|
|
47
54
|
}) => import("react").JSX.Element | undefined;
|
|
48
55
|
renderProps: any;
|
|
@@ -53,7 +60,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
53
60
|
setLoading(abortController: AbortController): void;
|
|
54
61
|
setMessage(messageText: string): void;
|
|
55
62
|
setRendered(props: {
|
|
56
|
-
reactElement: import("react").ReactElement
|
|
63
|
+
reactElement: import("react").ReactElement;
|
|
57
64
|
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
58
65
|
layout: any;
|
|
59
66
|
maxHeightReached: boolean;
|
|
@@ -62,9 +69,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
62
69
|
setError(error: unknown): void;
|
|
63
70
|
reload(): void;
|
|
64
71
|
beforeDestroy(): void;
|
|
65
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
66
|
-
* #action
|
|
67
|
-
*/
|
|
72
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
68
73
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
69
74
|
maxFeatureScreenDensity: {
|
|
70
75
|
type: string;
|
|
@@ -75,9 +80,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
75
80
|
type: string;
|
|
76
81
|
defaultValue: number;
|
|
77
82
|
description: string;
|
|
78
|
-
};
|
|
79
|
-
* #property
|
|
80
|
-
*/
|
|
83
|
+
};
|
|
81
84
|
height: {
|
|
82
85
|
type: string;
|
|
83
86
|
defaultValue: number;
|
|
@@ -94,9 +97,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
94
97
|
description: string;
|
|
95
98
|
defaultValue: never[];
|
|
96
99
|
};
|
|
97
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
98
|
-
* #action
|
|
99
|
-
*/
|
|
100
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
100
101
|
} & {
|
|
101
102
|
type: import("mobx-state-tree").ISimpleType<"LinearHicDisplay">;
|
|
102
103
|
configuration: AnyConfigurationSchemaType;
|
|
@@ -106,25 +107,21 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
106
107
|
}, {
|
|
107
108
|
rendererTypeName: string;
|
|
108
109
|
error: unknown;
|
|
109
|
-
message: string | undefined;
|
|
110
|
-
* #property
|
|
111
|
-
*/
|
|
110
|
+
message: string | undefined;
|
|
112
111
|
} & {
|
|
113
112
|
readonly RenderingComponent: import("react").FC<{
|
|
114
113
|
model: {
|
|
115
114
|
id: string;
|
|
116
115
|
type: string;
|
|
117
|
-
rpcDriverName: string | undefined;
|
|
118
|
-
* #property
|
|
119
|
-
*/
|
|
116
|
+
rpcDriverName: string | undefined;
|
|
120
117
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
121
118
|
rendererTypeName: string;
|
|
122
119
|
error: unknown;
|
|
123
|
-
message: string | undefined;
|
|
124
|
-
* #property
|
|
125
|
-
*/
|
|
120
|
+
message: string | undefined;
|
|
126
121
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
127
|
-
id: import("mobx-state-tree"
|
|
122
|
+
id: import("mobx-state-tree" /**
|
|
123
|
+
* #getter
|
|
124
|
+
*/).IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
128
125
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
129
126
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
130
127
|
}, {
|
|
@@ -132,8 +129,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
132
129
|
error: unknown;
|
|
133
130
|
message: string | undefined;
|
|
134
131
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
135
|
-
onHorizontalScroll?: Function
|
|
136
|
-
blockState?: Record<string, any
|
|
132
|
+
onHorizontalScroll?: Function;
|
|
133
|
+
blockState?: Record<string, any>;
|
|
137
134
|
}>;
|
|
138
135
|
readonly DisplayBlurb: import("react").FC<{
|
|
139
136
|
model: {
|
|
@@ -158,12 +155,12 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
158
155
|
readonly parentTrack: any;
|
|
159
156
|
renderProps(): any;
|
|
160
157
|
readonly rendererType: import("@jbrowse/core/pluggableElementTypes").RendererType;
|
|
161
|
-
readonly DisplayMessageComponent: import("react").FC<any
|
|
158
|
+
readonly DisplayMessageComponent: undefined | import("react").FC<any>;
|
|
162
159
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
163
160
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
164
161
|
regionCannotBeRendered(): null;
|
|
165
162
|
} & {
|
|
166
|
-
setMessage(arg?: string
|
|
163
|
+
setMessage(arg?: string): void;
|
|
167
164
|
setError(error?: unknown): void;
|
|
168
165
|
setRpcDriverName(rpcDriverName: string): void;
|
|
169
166
|
reload(): void;
|
|
@@ -176,13 +173,11 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
176
173
|
setHeight(displayHeight: number): number;
|
|
177
174
|
resizeHeight(distance: number): number;
|
|
178
175
|
} & {
|
|
179
|
-
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
180
|
-
featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
176
|
+
featureDensityStatsP: undefined | Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
177
|
+
featureDensityStats: undefined | import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats;
|
|
181
178
|
currStatsBpPerPx: number;
|
|
182
179
|
} & {
|
|
183
|
-
readonly currentBytesRequested: number;
|
|
184
|
-
* #method
|
|
185
|
-
*/
|
|
180
|
+
readonly currentBytesRequested: number;
|
|
186
181
|
readonly currentFeatureScreenDensity: number;
|
|
187
182
|
readonly maxFeatureScreenDensity: any;
|
|
188
183
|
readonly featureDensityStatsReady: boolean;
|
|
@@ -191,10 +186,10 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
191
186
|
afterAttach(): void;
|
|
192
187
|
} & {
|
|
193
188
|
setCurrStatsBpPerPx(n: number): void;
|
|
194
|
-
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
189
|
+
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats): void;
|
|
195
190
|
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
196
191
|
setFeatureDensityStatsP(arg: any): void;
|
|
197
|
-
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats
|
|
192
|
+
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats): void;
|
|
198
193
|
clearFeatureDensityStats(): void;
|
|
199
194
|
} & {
|
|
200
195
|
readonly regionTooLarge: boolean;
|
|
@@ -203,18 +198,16 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
203
198
|
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
204
199
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
205
200
|
} & {
|
|
206
|
-
featureIdUnderMouse:
|
|
207
|
-
contextMenuFeature: import("@jbrowse/core/util").Feature
|
|
201
|
+
featureIdUnderMouse: undefined | string;
|
|
202
|
+
contextMenuFeature: undefined | import("@jbrowse/core/util").Feature;
|
|
208
203
|
} & {
|
|
209
|
-
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
210
|
-
* #getter
|
|
211
|
-
*/
|
|
204
|
+
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
212
205
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
213
206
|
} & {
|
|
214
207
|
readonly renderDelay: number;
|
|
215
208
|
readonly TooltipComponent: import("react").FC<any>;
|
|
216
209
|
readonly selectedFeatureId: string | undefined;
|
|
217
|
-
readonly DisplayMessageComponent: import("react").FC<any
|
|
210
|
+
readonly DisplayMessageComponent: undefined | import("react").FC<any>;
|
|
218
211
|
} & {
|
|
219
212
|
readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
|
|
220
213
|
readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
|
|
@@ -227,8 +220,8 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
227
220
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
228
221
|
navToFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
229
222
|
clearFeatureSelection(): void;
|
|
230
|
-
setFeatureIdUnderMouse(feature?: string
|
|
231
|
-
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature
|
|
223
|
+
setFeatureIdUnderMouse(feature?: string): void;
|
|
224
|
+
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature): void;
|
|
232
225
|
} & {
|
|
233
226
|
reload(): Promise<void>;
|
|
234
227
|
} & {
|
|
@@ -314,7 +307,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
314
307
|
}, {
|
|
315
308
|
renderInProgress: AbortController | undefined;
|
|
316
309
|
filled: boolean;
|
|
317
|
-
reactElement: import("react").ReactElement
|
|
310
|
+
reactElement: import("react").ReactElement | undefined;
|
|
318
311
|
features: Map<string, import("@jbrowse/core/util").Feature> | undefined;
|
|
319
312
|
layout: any;
|
|
320
313
|
status: string;
|
|
@@ -323,12 +316,14 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
323
316
|
maxHeightReached: boolean;
|
|
324
317
|
ReactComponent: ({ model, }: {
|
|
325
318
|
model: {
|
|
326
|
-
error
|
|
319
|
+
error? /**
|
|
320
|
+
* #method
|
|
321
|
+
*/: unknown;
|
|
327
322
|
reload: () => void;
|
|
328
323
|
message: import("react").ReactNode;
|
|
329
|
-
filled?: boolean
|
|
330
|
-
status?: string
|
|
331
|
-
reactElement?: import("react").ReactElement
|
|
324
|
+
filled?: boolean;
|
|
325
|
+
status?: string;
|
|
326
|
+
reactElement?: import("react").ReactElement;
|
|
332
327
|
};
|
|
333
328
|
}) => import("react").JSX.Element | undefined;
|
|
334
329
|
renderProps: any;
|
|
@@ -339,7 +334,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
339
334
|
setLoading(abortController: AbortController): void;
|
|
340
335
|
setMessage(messageText: string): void;
|
|
341
336
|
setRendered(props: {
|
|
342
|
-
reactElement: import("react").ReactElement
|
|
337
|
+
reactElement: import("react").ReactElement;
|
|
343
338
|
features: Map<string, import("@jbrowse/core/util").Feature>;
|
|
344
339
|
layout: any;
|
|
345
340
|
maxHeightReached: boolean;
|
|
@@ -348,9 +343,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
348
343
|
setError(error: unknown): void;
|
|
349
344
|
reload(): void;
|
|
350
345
|
beforeDestroy(): void;
|
|
351
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
352
|
-
* #action
|
|
353
|
-
*/
|
|
346
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
354
347
|
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
355
348
|
maxFeatureScreenDensity: {
|
|
356
349
|
type: string;
|
|
@@ -361,9 +354,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
361
354
|
type: string;
|
|
362
355
|
defaultValue: number;
|
|
363
356
|
description: string;
|
|
364
|
-
};
|
|
365
|
-
* #property
|
|
366
|
-
*/
|
|
357
|
+
};
|
|
367
358
|
height: {
|
|
368
359
|
type: string;
|
|
369
360
|
defaultValue: number;
|
|
@@ -380,9 +371,7 @@ export default function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
380
371
|
description: string;
|
|
381
372
|
defaultValue: never[];
|
|
382
373
|
};
|
|
383
|
-
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
384
|
-
* #action
|
|
385
|
-
*/
|
|
374
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
386
375
|
}>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
|
|
387
376
|
type: string;
|
|
388
377
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-hic",
|
|
3
|
-
"version": "2.12.
|
|
3
|
+
"version": "2.12.2",
|
|
4
4
|
"description": "JBrowse 2 hic adapters, tracks, etc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "1ec66736ce048a1637f52b7a7ef2eb02d956b771"
|
|
60
60
|
}
|