@jbrowse/plugin-gccontent 2.4.2 → 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/GCContentAdapter.js +1 -1
- package/dist/GCContentAdapter/GCContentAdapter.js.map +1 -1
- package/dist/GCContentAdapter/configSchema.d.ts +9 -1
- package/dist/GCContentAdapter/configSchema.js +1 -0
- package/dist/GCContentAdapter/configSchema.js.map +1 -1
- package/dist/LinearGCContentDisplay/config.d.ts +2 -1
- package/dist/LinearGCContentDisplay/config.js +1 -0
- package/dist/LinearGCContentDisplay/config.js.map +1 -1
- package/dist/LinearGCContentDisplay/stateModel.d.ts +139 -58
- package/dist/LinearGCContentDisplay/stateModel.js +2 -1
- package/dist/LinearGCContentDisplay/stateModel.js.map +1 -1
- package/esm/GCContentAdapter/GCContentAdapter.js +2 -1
- package/esm/GCContentAdapter/GCContentAdapter.js.map +1 -1
- package/esm/GCContentAdapter/configSchema.d.ts +9 -1
- package/esm/GCContentAdapter/configSchema.js +1 -0
- package/esm/GCContentAdapter/configSchema.js.map +1 -1
- package/esm/LinearGCContentDisplay/config.d.ts +2 -1
- package/esm/LinearGCContentDisplay/config.js +1 -0
- package/esm/LinearGCContentDisplay/config.js.map +1 -1
- package/esm/LinearGCContentDisplay/stateModel.d.ts +139 -58
- 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
|
@@ -85,6 +85,6 @@ class default_1 extends BaseAdapter_1.BaseFeatureDataAdapter {
|
|
|
85
85
|
*/
|
|
86
86
|
freeResources( /* { region } */) { }
|
|
87
87
|
}
|
|
88
|
-
exports.default = default_1;
|
|
89
88
|
default_1.capabilities = ['hasLocalStats'];
|
|
89
|
+
exports.default = default_1;
|
|
90
90
|
//# sourceMappingURL=GCContentAdapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GCContentAdapter.js","sourceRoot":"","sources":["../../src/GCContentAdapter/GCContentAdapter.ts"],"names":[],"mappings":";;AAAA,yEAGgD;AAChD,+BAAqC;AACrC,kDAA0D;AAC1D,6CAAmE;AACnE,8CAAwC;AAExC,eAAqB,SAAQ,oCAAsB;IAAnD;;QACU,eAAU,GAAG,IAAI,CAAA;QAEjB,gBAAW,GAAG,IAAI,CAAA;QAElB,WAAM,GAAG,SAAS,CAAA;IAqF5B,CAAC;IAjFQ,KAAK,CAAC,SAAS;;QACpB,MAAM,OAAO,GAAG,MAAM,CAAA,MAAA,IAAI,CAAC,aAAa,qDAAG,IAAI,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAA,CAAA;QAC3E,IAAI,CAAC,OAAO,EAAE;YACZ,MAAM,IAAI,KAAK,CAAC,0BAA0B,CAAC,CAAA;SAC5C;QACD,OAAO,OAAO,CAAC,WAAqC,CAAA;IACtD,CAAC;IAEM,KAAK,CAAC,WAAW;QACtB,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAA;QACtC,OAAO,OAAO,CAAC,WAAW,EAAE,CAAA;IAC9B,CAAC;IAEM,WAAW,CAAC,KAAa,EAAE,IAAiB;QACjD,OAAO,IAAA,uBAAgB,EAAU,KAAK,EAAC,QAAQ,EAAC,EAAE;;YAChD,MAAM,eAAe,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAA;YAC9C,MAAM,EAAE,GAAG,IAAI,CAAC,UAAU,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,CAAC,CAAA,CAAC,uBAAuB;YAClF,MAAM,CAAC,GAAG,IAAI,CAAC,UAAU,KAAK,CAAC,CAAA;YAE/B,IAAI,EAAE,KAAK,EAAE,UAAU,EAAE,GAAG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GAAG,UAAU,CAAA;gBACtB,IAAI,KAAK,CAAA;gBACT,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,EAAE;oBAC7B,KAAK,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC,CAAA;iBAC/B;qBAAM,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,EAAE;oBACjC,KAAK,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,CAAA;iBACnC;gBAED,QAAQ,CAAC,IAAI,CACX,IAAI,oBAAa,CAAC;oBAChB,QAAQ,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,CAAC,EAAE;oBACjC,KAAK,EAAE,GAAG,GAAG,CAAC;oBACd,GAAG,EAAE,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,WAAW;oBAC/B,KAAK;iBACN,CAAC,CACH,CAAA;aACF;YACD,QAAQ,CAAC,QAAQ,EAAE,CAAA;QACrB,CAAC,CAAC,CAAA;IACJ,CAAC;IAED;;;;OAIG;IACI,aAAa,EAAC,gBAAgB,IAAG,CAAC;;AAlF3B,sBAAY,GAAG,CAAC,eAAe,CAAC,AAApB,CAAoB"}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
declare const GCContentAdapterF: (pluginManager: PluginManager) => import("@jbrowse/core/configuration").
|
|
2
|
+
declare const GCContentAdapterF: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
3
|
+
/**
|
|
4
|
+
* #slot
|
|
5
|
+
*/
|
|
6
|
+
sequenceAdapter: {
|
|
7
|
+
type: string;
|
|
8
|
+
defaultValue: null;
|
|
9
|
+
};
|
|
10
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
3
11
|
export default GCContentAdapterF;
|
|
@@ -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
|
-
export default function WiggleConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType
|
|
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,11 +62,30 @@ 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
|
-
|
|
61
|
-
|
|
65
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
66
|
+
maxFeatureScreenDensity: {
|
|
67
|
+
type: string;
|
|
68
|
+
description: string;
|
|
69
|
+
defaultValue: number;
|
|
70
|
+
};
|
|
71
|
+
fetchSizeLimit: {
|
|
72
|
+
type: string;
|
|
73
|
+
defaultValue: number;
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
height: {
|
|
77
|
+
type: string;
|
|
78
|
+
defaultValue: number;
|
|
79
|
+
description: string;
|
|
80
|
+
};
|
|
81
|
+
mouseover: {
|
|
82
|
+
type: string;
|
|
83
|
+
description: string;
|
|
84
|
+
defaultValue: string;
|
|
85
|
+
contextVariable: string[];
|
|
86
|
+
};
|
|
87
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
62
88
|
} & {
|
|
63
|
-
type: import("mobx-state-tree").ISimpleType<"LinearWiggleDisplay">;
|
|
64
|
-
configuration: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
65
89
|
selectedRendering: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
66
90
|
resolution: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
67
91
|
fill: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
@@ -78,6 +102,9 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
78
102
|
max: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
79
103
|
min: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
80
104
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
105
|
+
configuration: AnyConfigurationSchemaType;
|
|
106
|
+
} & {
|
|
107
|
+
type: import("mobx-state-tree").ISimpleType<"LinearWiggleDisplay">;
|
|
81
108
|
} & {
|
|
82
109
|
/**
|
|
83
110
|
* #property
|
|
@@ -86,6 +113,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
86
113
|
}, {
|
|
87
114
|
rendererTypeName: string;
|
|
88
115
|
error: unknown;
|
|
116
|
+
message: string | undefined;
|
|
89
117
|
} & {
|
|
90
118
|
readonly RenderingComponent: import("react").FC<{
|
|
91
119
|
model: {
|
|
@@ -95,6 +123,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
95
123
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
96
124
|
rendererTypeName: string;
|
|
97
125
|
error: unknown;
|
|
126
|
+
message: string | undefined;
|
|
98
127
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
99
128
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
100
129
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -102,6 +131,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
102
131
|
}, {
|
|
103
132
|
rendererTypeName: string;
|
|
104
133
|
error: unknown;
|
|
134
|
+
message: string | undefined;
|
|
105
135
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
106
136
|
onHorizontalScroll?: Function | undefined;
|
|
107
137
|
blockState?: Record<string, any> | undefined;
|
|
@@ -114,6 +144,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
114
144
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
115
145
|
rendererTypeName: string;
|
|
116
146
|
error: unknown;
|
|
147
|
+
message: string | undefined;
|
|
117
148
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
118
149
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
119
150
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -121,6 +152,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
121
152
|
}, {
|
|
122
153
|
rendererTypeName: string;
|
|
123
154
|
error: unknown;
|
|
155
|
+
message: string | undefined;
|
|
124
156
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
125
157
|
}> | null;
|
|
126
158
|
readonly adapterConfig: any;
|
|
@@ -130,21 +162,49 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
130
162
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
131
163
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
132
164
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
133
|
-
regionCannotBeRendered():
|
|
165
|
+
regionCannotBeRendered(): null;
|
|
134
166
|
} & {
|
|
167
|
+
setMessage(arg?: string | undefined): void;
|
|
135
168
|
setError(error?: unknown): void;
|
|
136
169
|
setRpcDriverName(rpcDriverName: string): void;
|
|
137
170
|
reload(): void;
|
|
138
171
|
} & {
|
|
139
|
-
currBpPerPx: number;
|
|
140
172
|
scrollTop: number;
|
|
141
|
-
|
|
173
|
+
} & {
|
|
174
|
+
readonly height: number;
|
|
175
|
+
} & {
|
|
176
|
+
setScrollTop(scrollTop: number): void;
|
|
177
|
+
setHeight(displayHeight: number): number;
|
|
178
|
+
resizeHeight(distance: number): number;
|
|
179
|
+
} & {
|
|
180
|
+
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
|
|
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
|
+
} & {
|
|
142
205
|
featureIdUnderMouse: string | undefined;
|
|
143
206
|
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
144
|
-
estimatedRegionsStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
145
|
-
estimatedRegionsStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
146
207
|
} & {
|
|
147
|
-
readonly height: number;
|
|
148
208
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
149
209
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
150
210
|
} & {
|
|
@@ -158,49 +218,22 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
158
218
|
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
159
219
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
160
220
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
161
|
-
readonly currentBytesRequested: number;
|
|
162
|
-
readonly currentFeatureScreenDensity: number;
|
|
163
|
-
readonly maxFeatureScreenDensity: any;
|
|
164
|
-
readonly estimatedStatsReady: boolean;
|
|
165
|
-
readonly maxAllowableBytes: number;
|
|
166
|
-
} & {
|
|
167
|
-
setMessage(message: string): void;
|
|
168
221
|
} & {
|
|
169
|
-
afterAttach(): void;
|
|
170
|
-
estimateRegionsStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats>;
|
|
171
|
-
setRegionsStatsP(arg: any): void;
|
|
172
|
-
setRegionsStats(estimatedRegionsStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
173
|
-
clearRegionsStats(): void;
|
|
174
|
-
setHeight(displayHeight: number): number;
|
|
175
|
-
resizeHeight(distance: number): number;
|
|
176
|
-
setScrollTop(scrollTop: number): void;
|
|
177
|
-
updateStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
178
222
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
179
|
-
setCurrBpPerPx(n: number): void;
|
|
180
223
|
deleteBlock(key: string): void;
|
|
181
224
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
182
225
|
clearFeatureSelection(): void;
|
|
183
|
-
setFeatureIdUnderMouse(feature
|
|
184
|
-
reload(): void;
|
|
226
|
+
setFeatureIdUnderMouse(feature?: string | undefined): void;
|
|
185
227
|
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
186
|
-
} & {
|
|
187
|
-
readonly regionTooLarge: boolean;
|
|
188
|
-
readonly regionTooLargeReason: string;
|
|
189
228
|
} & {
|
|
190
229
|
reload(): Promise<void>;
|
|
191
230
|
} & {
|
|
192
|
-
afterAttach(): void;
|
|
193
|
-
} & {
|
|
194
|
-
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
195
|
-
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): JSX.Element | null;
|
|
196
231
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
197
232
|
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
198
233
|
renderProps(): any;
|
|
199
234
|
} & {
|
|
200
|
-
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view
|
|
201
|
-
|
|
202
|
-
theme: import("@mui/material").ThemeOptions;
|
|
203
|
-
}): Promise<JSX.Element>;
|
|
235
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
236
|
+
afterAttach(): void;
|
|
204
237
|
} & {
|
|
205
238
|
message: string | undefined;
|
|
206
239
|
stats: {
|
|
@@ -209,7 +242,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
209
242
|
} | undefined;
|
|
210
243
|
statsFetchInProgress: AbortController | undefined;
|
|
211
244
|
} & {
|
|
212
|
-
|
|
245
|
+
updateQuantitativeStats(stats: {
|
|
213
246
|
scoreMin: number;
|
|
214
247
|
scoreMax: number;
|
|
215
248
|
}): void;
|
|
@@ -230,25 +263,25 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
230
263
|
toggleCrossHatches(): void;
|
|
231
264
|
setCrossHatches(cross: boolean): void;
|
|
232
265
|
} & {
|
|
233
|
-
readonly TooltipComponent: import("react").FC<{}>;
|
|
234
266
|
readonly adapterTypeName: any;
|
|
235
267
|
readonly rendererTypeNameSimple: any;
|
|
236
|
-
readonly rendererTypeName: string;
|
|
237
268
|
readonly filters: undefined;
|
|
238
269
|
readonly scaleType: any;
|
|
239
270
|
readonly maxScore: any;
|
|
240
271
|
readonly minScore: any;
|
|
241
272
|
} & {
|
|
273
|
+
readonly adapterCapabilities: string[];
|
|
242
274
|
readonly rendererConfig: {
|
|
243
275
|
[x: string]: any;
|
|
244
276
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
245
277
|
setSubschema(slotName: string, data: unknown): any;
|
|
246
278
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
279
|
+
readonly autoscaleType: any;
|
|
247
280
|
} & {
|
|
248
|
-
readonly filled: any;
|
|
249
|
-
readonly summaryScoreModeSetting: any;
|
|
250
281
|
readonly domain: number[] | undefined;
|
|
251
|
-
|
|
282
|
+
} & {
|
|
283
|
+
readonly filled: boolean;
|
|
284
|
+
readonly summaryScoreModeSetting: string;
|
|
252
285
|
readonly scaleOpts: {
|
|
253
286
|
domain: number[] | undefined;
|
|
254
287
|
stats: {
|
|
@@ -260,8 +293,36 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
260
293
|
inverted: any;
|
|
261
294
|
};
|
|
262
295
|
readonly canHaveFill: boolean;
|
|
263
|
-
readonly
|
|
264
|
-
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;
|
|
265
326
|
} & {
|
|
266
327
|
readonly ticks: {
|
|
267
328
|
range: number[];
|
|
@@ -269,14 +330,38 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
269
330
|
format: (d: import("d3-scale").NumberValue) => string;
|
|
270
331
|
position: import("d3-scale").ScaleLinear<number, number, never> | import("d3-scale").ScaleQuantize<number, never>;
|
|
271
332
|
} | undefined;
|
|
272
|
-
readonly adapterCapabilities: string[];
|
|
273
333
|
} & {
|
|
274
334
|
renderProps(): any;
|
|
275
|
-
readonly
|
|
276
|
-
readonly hasGlobalStats: boolean;
|
|
335
|
+
readonly needsScalebar: boolean;
|
|
277
336
|
readonly fillSetting: 0 | 1 | 2;
|
|
278
337
|
} & {
|
|
279
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
|
+
} | {
|
|
280
365
|
label: string;
|
|
281
366
|
subMenu: {
|
|
282
367
|
label: string;
|
|
@@ -290,17 +375,13 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
290
375
|
} | {
|
|
291
376
|
type: string;
|
|
292
377
|
label: string;
|
|
293
|
-
checked:
|
|
378
|
+
checked: boolean;
|
|
294
379
|
onClick: () => void;
|
|
295
380
|
subMenu?: undefined;
|
|
296
381
|
})[];
|
|
297
382
|
} & {
|
|
298
|
-
reload(): Promise<void>;
|
|
299
383
|
afterAttach(): void;
|
|
300
|
-
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view
|
|
301
|
-
overrideHeight: number;
|
|
302
|
-
theme: import("@mui/material").ThemeOptions;
|
|
303
|
-
}): Promise<JSX.Element>;
|
|
384
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
304
385
|
} & {
|
|
305
386
|
/**
|
|
306
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"}
|
|
@@ -3,7 +3,7 @@ import { firstValueFrom } from 'rxjs';
|
|
|
3
3
|
import { ObservableCreate } from '@jbrowse/core/util/rxjs';
|
|
4
4
|
import { SimpleFeature } from '@jbrowse/core/util';
|
|
5
5
|
import { toArray } from 'rxjs/operators';
|
|
6
|
-
|
|
6
|
+
class default_1 extends BaseFeatureDataAdapter {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(...arguments);
|
|
9
9
|
this.windowSize = 1000;
|
|
@@ -84,4 +84,5 @@ export default class default_1 extends BaseFeatureDataAdapter {
|
|
|
84
84
|
freeResources( /* { region } */) { }
|
|
85
85
|
}
|
|
86
86
|
default_1.capabilities = ['hasLocalStats'];
|
|
87
|
+
export default default_1;
|
|
87
88
|
//# sourceMappingURL=GCContentAdapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GCContentAdapter.js","sourceRoot":"","sources":["../../src/GCContentAdapter/GCContentAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,GAEvB,MAAM,yCAAyC,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,MAAM,CAAA;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa,EAAmB,MAAM,oBAAoB,CAAA;AACnE,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAExC,
|
|
1
|
+
{"version":3,"file":"GCContentAdapter.js","sourceRoot":"","sources":["../../src/GCContentAdapter/GCContentAdapter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,GAEvB,MAAM,yCAAyC,CAAA;AAChD,OAAO,EAAE,cAAc,EAAE,MAAM,MAAM,CAAA;AACrC,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,EAAE,aAAa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AAC,CAAC,CAAC,CAAC,KAAK,GAAG,EAAE;wBAChB,GAAG,EAAE,CAAA;qBACN;iBACF;gBACD,MAAM,GAAG,GAAG,UAAU,CAAA;gBACtB,IAAI,KAAK,CAAA;gBACT,IAAI,IAAI,CAAC,MAAM,KAAK,SAAS,EAAE;oBAC7B,KAAK,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC,CAAA;iBAC/B;qBAAM,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,EAAE;oBACjC,KAAK,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,CAAC,EAAE,GAAG,EAAE,IAAI,CAAC,CAAC,CAAA;iBACnC;gBAED,QAAQ,CAAC,IAAI,CACX,IAAI,aAAa,CAAC;oBAChB,QAAQ,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,GAAG,GAAG,CAAC,EAAE;oBACjC,KAAK,EAAE,GAAG,GAAG,CAAC;oBACd,GAAG,EAAE,GAAG,GAAG,CAAC,GAAG,IAAI,CAAC,WAAW;oBAC/B,KAAK;iBACN,CAAC,CACH,CAAA;aACF;YACD,QAAQ,CAAC,QAAQ,EAAE,CAAA;QACrB,CAAC,CAAC,CAAA;IACJ,CAAC;IAED;;;;OAIG;IACI,aAAa,EAAC,gBAAgB,IAAG,CAAC;;AAlF3B,sBAAY,GAAG,CAAC,eAAe,CAAC,AAApB,CAAoB"}
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
declare const GCContentAdapterF: (pluginManager: PluginManager) => import("@jbrowse/core/configuration").
|
|
2
|
+
declare const GCContentAdapterF: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
3
|
+
/**
|
|
4
|
+
* #slot
|
|
5
|
+
*/
|
|
6
|
+
sequenceAdapter: {
|
|
7
|
+
type: string;
|
|
8
|
+
defaultValue: null;
|
|
9
|
+
};
|
|
10
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
3
11
|
export default GCContentAdapterF;
|
|
@@ -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
|
-
export default function WiggleConfigFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").AnyConfigurationSchemaType
|
|
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,11 +62,30 @@ 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
|
-
|
|
61
|
-
|
|
65
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
66
|
+
maxFeatureScreenDensity: {
|
|
67
|
+
type: string;
|
|
68
|
+
description: string;
|
|
69
|
+
defaultValue: number;
|
|
70
|
+
};
|
|
71
|
+
fetchSizeLimit: {
|
|
72
|
+
type: string;
|
|
73
|
+
defaultValue: number;
|
|
74
|
+
description: string;
|
|
75
|
+
};
|
|
76
|
+
height: {
|
|
77
|
+
type: string;
|
|
78
|
+
defaultValue: number;
|
|
79
|
+
description: string;
|
|
80
|
+
};
|
|
81
|
+
mouseover: {
|
|
82
|
+
type: string;
|
|
83
|
+
description: string;
|
|
84
|
+
defaultValue: string;
|
|
85
|
+
contextVariable: string[];
|
|
86
|
+
};
|
|
87
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
62
88
|
} & {
|
|
63
|
-
type: import("mobx-state-tree").ISimpleType<"LinearWiggleDisplay">;
|
|
64
|
-
configuration: import("mobx-state-tree").ITypeUnion<any, any, any>;
|
|
65
89
|
selectedRendering: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
66
90
|
resolution: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
67
91
|
fill: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
@@ -78,6 +102,9 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
78
102
|
max: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
79
103
|
min: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
80
104
|
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
105
|
+
configuration: AnyConfigurationSchemaType;
|
|
106
|
+
} & {
|
|
107
|
+
type: import("mobx-state-tree").ISimpleType<"LinearWiggleDisplay">;
|
|
81
108
|
} & {
|
|
82
109
|
/**
|
|
83
110
|
* #property
|
|
@@ -86,6 +113,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
86
113
|
}, {
|
|
87
114
|
rendererTypeName: string;
|
|
88
115
|
error: unknown;
|
|
116
|
+
message: string | undefined;
|
|
89
117
|
} & {
|
|
90
118
|
readonly RenderingComponent: import("react").FC<{
|
|
91
119
|
model: {
|
|
@@ -95,6 +123,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
95
123
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
96
124
|
rendererTypeName: string;
|
|
97
125
|
error: unknown;
|
|
126
|
+
message: string | undefined;
|
|
98
127
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
99
128
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
100
129
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -102,6 +131,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
102
131
|
}, {
|
|
103
132
|
rendererTypeName: string;
|
|
104
133
|
error: unknown;
|
|
134
|
+
message: string | undefined;
|
|
105
135
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
106
136
|
onHorizontalScroll?: Function | undefined;
|
|
107
137
|
blockState?: Record<string, any> | undefined;
|
|
@@ -114,6 +144,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
114
144
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
115
145
|
rendererTypeName: string;
|
|
116
146
|
error: unknown;
|
|
147
|
+
message: string | undefined;
|
|
117
148
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
118
149
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
119
150
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -121,6 +152,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
121
152
|
}, {
|
|
122
153
|
rendererTypeName: string;
|
|
123
154
|
error: unknown;
|
|
155
|
+
message: string | undefined;
|
|
124
156
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
125
157
|
}> | null;
|
|
126
158
|
readonly adapterConfig: any;
|
|
@@ -130,21 +162,49 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
130
162
|
readonly DisplayMessageComponent: import("react").FC<any> | undefined;
|
|
131
163
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
132
164
|
readonly viewMenuActions: import("@jbrowse/core/ui").MenuItem[];
|
|
133
|
-
regionCannotBeRendered():
|
|
165
|
+
regionCannotBeRendered(): null;
|
|
134
166
|
} & {
|
|
167
|
+
setMessage(arg?: string | undefined): void;
|
|
135
168
|
setError(error?: unknown): void;
|
|
136
169
|
setRpcDriverName(rpcDriverName: string): void;
|
|
137
170
|
reload(): void;
|
|
138
171
|
} & {
|
|
139
|
-
currBpPerPx: number;
|
|
140
172
|
scrollTop: number;
|
|
141
|
-
|
|
173
|
+
} & {
|
|
174
|
+
readonly height: number;
|
|
175
|
+
} & {
|
|
176
|
+
setScrollTop(scrollTop: number): void;
|
|
177
|
+
setHeight(displayHeight: number): number;
|
|
178
|
+
resizeHeight(distance: number): number;
|
|
179
|
+
} & {
|
|
180
|
+
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
|
|
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
|
+
} & {
|
|
142
205
|
featureIdUnderMouse: string | undefined;
|
|
143
206
|
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
144
|
-
estimatedRegionsStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
|
|
145
|
-
estimatedRegionsStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
|
|
146
207
|
} & {
|
|
147
|
-
readonly height: number;
|
|
148
208
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
149
209
|
readonly blockDefinitions: import("@jbrowse/core/util/blockTypes").BlockSet;
|
|
150
210
|
} & {
|
|
@@ -158,49 +218,22 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
158
218
|
getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
|
|
159
219
|
getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
|
|
160
220
|
searchFeatureByID(id: string): [number, number, number, number] | undefined;
|
|
161
|
-
readonly currentBytesRequested: number;
|
|
162
|
-
readonly currentFeatureScreenDensity: number;
|
|
163
|
-
readonly maxFeatureScreenDensity: any;
|
|
164
|
-
readonly estimatedStatsReady: boolean;
|
|
165
|
-
readonly maxAllowableBytes: number;
|
|
166
|
-
} & {
|
|
167
|
-
setMessage(message: string): void;
|
|
168
221
|
} & {
|
|
169
|
-
afterAttach(): void;
|
|
170
|
-
estimateRegionsStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats>;
|
|
171
|
-
setRegionsStatsP(arg: any): void;
|
|
172
|
-
setRegionsStats(estimatedRegionsStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
173
|
-
clearRegionsStats(): void;
|
|
174
|
-
setHeight(displayHeight: number): number;
|
|
175
|
-
resizeHeight(distance: number): number;
|
|
176
|
-
setScrollTop(scrollTop: number): void;
|
|
177
|
-
updateStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
|
|
178
222
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
179
|
-
setCurrBpPerPx(n: number): void;
|
|
180
223
|
deleteBlock(key: string): void;
|
|
181
224
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
182
225
|
clearFeatureSelection(): void;
|
|
183
|
-
setFeatureIdUnderMouse(feature
|
|
184
|
-
reload(): void;
|
|
226
|
+
setFeatureIdUnderMouse(feature?: string | undefined): void;
|
|
185
227
|
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
186
|
-
} & {
|
|
187
|
-
readonly regionTooLarge: boolean;
|
|
188
|
-
readonly regionTooLargeReason: string;
|
|
189
228
|
} & {
|
|
190
229
|
reload(): Promise<void>;
|
|
191
230
|
} & {
|
|
192
|
-
afterAttach(): void;
|
|
193
|
-
} & {
|
|
194
|
-
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
195
|
-
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): JSX.Element | null;
|
|
196
231
|
trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
197
232
|
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
198
233
|
renderProps(): any;
|
|
199
234
|
} & {
|
|
200
|
-
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view
|
|
201
|
-
|
|
202
|
-
theme: import("@mui/material").ThemeOptions;
|
|
203
|
-
}): Promise<JSX.Element>;
|
|
235
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
236
|
+
afterAttach(): void;
|
|
204
237
|
} & {
|
|
205
238
|
message: string | undefined;
|
|
206
239
|
stats: {
|
|
@@ -209,7 +242,7 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
209
242
|
} | undefined;
|
|
210
243
|
statsFetchInProgress: AbortController | undefined;
|
|
211
244
|
} & {
|
|
212
|
-
|
|
245
|
+
updateQuantitativeStats(stats: {
|
|
213
246
|
scoreMin: number;
|
|
214
247
|
scoreMax: number;
|
|
215
248
|
}): void;
|
|
@@ -230,25 +263,25 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
230
263
|
toggleCrossHatches(): void;
|
|
231
264
|
setCrossHatches(cross: boolean): void;
|
|
232
265
|
} & {
|
|
233
|
-
readonly TooltipComponent: import("react").FC<{}>;
|
|
234
266
|
readonly adapterTypeName: any;
|
|
235
267
|
readonly rendererTypeNameSimple: any;
|
|
236
|
-
readonly rendererTypeName: string;
|
|
237
268
|
readonly filters: undefined;
|
|
238
269
|
readonly scaleType: any;
|
|
239
270
|
readonly maxScore: any;
|
|
240
271
|
readonly minScore: any;
|
|
241
272
|
} & {
|
|
273
|
+
readonly adapterCapabilities: string[];
|
|
242
274
|
readonly rendererConfig: {
|
|
243
275
|
[x: string]: any;
|
|
244
276
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
245
277
|
setSubschema(slotName: string, data: unknown): any;
|
|
246
278
|
} & import("mobx-state-tree").IStateTreeNode<AnyConfigurationSchemaType>;
|
|
279
|
+
readonly autoscaleType: any;
|
|
247
280
|
} & {
|
|
248
|
-
readonly filled: any;
|
|
249
|
-
readonly summaryScoreModeSetting: any;
|
|
250
281
|
readonly domain: number[] | undefined;
|
|
251
|
-
|
|
282
|
+
} & {
|
|
283
|
+
readonly filled: boolean;
|
|
284
|
+
readonly summaryScoreModeSetting: string;
|
|
252
285
|
readonly scaleOpts: {
|
|
253
286
|
domain: number[] | undefined;
|
|
254
287
|
stats: {
|
|
@@ -260,8 +293,36 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
260
293
|
inverted: any;
|
|
261
294
|
};
|
|
262
295
|
readonly canHaveFill: boolean;
|
|
263
|
-
readonly
|
|
264
|
-
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;
|
|
265
326
|
} & {
|
|
266
327
|
readonly ticks: {
|
|
267
328
|
range: number[];
|
|
@@ -269,14 +330,38 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
269
330
|
format: (d: import("d3-scale").NumberValue) => string;
|
|
270
331
|
position: import("d3-scale").ScaleLinear<number, number, never> | import("d3-scale").ScaleQuantize<number, never>;
|
|
271
332
|
} | undefined;
|
|
272
|
-
readonly adapterCapabilities: string[];
|
|
273
333
|
} & {
|
|
274
334
|
renderProps(): any;
|
|
275
|
-
readonly
|
|
276
|
-
readonly hasGlobalStats: boolean;
|
|
335
|
+
readonly needsScalebar: boolean;
|
|
277
336
|
readonly fillSetting: 0 | 1 | 2;
|
|
278
337
|
} & {
|
|
279
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
|
+
} | {
|
|
280
365
|
label: string;
|
|
281
366
|
subMenu: {
|
|
282
367
|
label: string;
|
|
@@ -290,17 +375,13 @@ export default function stateModelFactory(pluginManager: PluginManager, configSc
|
|
|
290
375
|
} | {
|
|
291
376
|
type: string;
|
|
292
377
|
label: string;
|
|
293
|
-
checked:
|
|
378
|
+
checked: boolean;
|
|
294
379
|
onClick: () => void;
|
|
295
380
|
subMenu?: undefined;
|
|
296
381
|
})[];
|
|
297
382
|
} & {
|
|
298
|
-
reload(): Promise<void>;
|
|
299
383
|
afterAttach(): void;
|
|
300
|
-
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view
|
|
301
|
-
overrideHeight: number;
|
|
302
|
-
theme: import("@mui/material").ThemeOptions;
|
|
303
|
-
}): Promise<JSX.Element>;
|
|
384
|
+
renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
|
|
304
385
|
} & {
|
|
305
386
|
/**
|
|
306
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,
|