@jbrowse/plugin-linear-genome-view 2.4.2 → 2.5.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/BaseLinearDisplay/components/LinearBlocks.d.ts +0 -1
- package/dist/BaseLinearDisplay/components/TooLargeMessage.d.ts +3 -4
- package/dist/BaseLinearDisplay/components/TooLargeMessage.js +7 -3
- package/dist/BaseLinearDisplay/components/TooLargeMessage.js.map +1 -1
- package/dist/BaseLinearDisplay/components/Tooltip.d.ts +0 -1
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +75 -14
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js +38 -32
- package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -1
- package/dist/BaseLinearDisplay/models/configSchema.d.ts +35 -1
- package/dist/BaseLinearDisplay/models/configSchema.js +9 -0
- package/dist/BaseLinearDisplay/models/configSchema.js.map +1 -1
- package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js +10 -6
- package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -1
- package/dist/BaseLinearDisplay/models/util.d.ts +6 -2
- package/dist/BaseLinearDisplay/models/util.js +4 -4
- package/dist/BaseLinearDisplay/models/util.js.map +1 -1
- package/dist/BasicTrack/configSchema.d.ts +73 -1
- package/dist/FeatureTrack/configSchema.d.ts +75 -1
- package/dist/LinearBareDisplay/configSchema.d.ts +28 -1
- package/dist/LinearBareDisplay/model.d.ts +62 -11
- package/dist/LinearBareDisplay/model.js +2 -2
- package/dist/LinearBareDisplay/model.js.map +1 -1
- package/dist/LinearBasicDisplay/components/SetMaxHeight.d.ts +0 -1
- package/dist/LinearBasicDisplay/configSchema.d.ts +28 -1
- package/dist/LinearBasicDisplay/configSchema.js +0 -9
- package/dist/LinearBasicDisplay/configSchema.js.map +1 -1
- package/dist/LinearBasicDisplay/model.d.ts +71 -10
- package/dist/LinearGenomeView/components/CenterLine.d.ts +0 -1
- package/dist/LinearGenomeView/components/Cytobands.d.ts +22 -23
- package/dist/LinearGenomeView/components/ExportSvgDialog.d.ts +0 -1
- package/dist/LinearGenomeView/components/GetSequenceDialog.d.ts +0 -1
- package/dist/LinearGenomeView/components/GetSequenceDialog.js +14 -16
- package/dist/LinearGenomeView/components/GetSequenceDialog.js.map +1 -1
- package/dist/LinearGenomeView/components/Gridlines.d.ts +0 -1
- package/dist/LinearGenomeView/components/Header.d.ts +0 -1
- package/dist/LinearGenomeView/components/HelpDialog.d.ts +0 -1
- package/dist/LinearGenomeView/components/ImportForm.d.ts +0 -1
- package/dist/LinearGenomeView/components/ImportForm.js +4 -7
- package/dist/LinearGenomeView/components/ImportForm.js.map +1 -1
- package/dist/LinearGenomeView/components/LinearGenomeView.d.ts +0 -1
- package/dist/LinearGenomeView/components/LinearGenomeView.js +0 -4
- package/dist/LinearGenomeView/components/LinearGenomeView.js.map +1 -1
- package/dist/LinearGenomeView/components/MiniControls.d.ts +0 -1
- package/dist/LinearGenomeView/components/OverviewScalebar.js +2 -1
- package/dist/LinearGenomeView/components/OverviewScalebar.js.map +1 -1
- package/dist/LinearGenomeView/components/RefNameAutocomplete.js +43 -36
- package/dist/LinearGenomeView/components/RefNameAutocomplete.js.map +1 -1
- package/dist/LinearGenomeView/components/RubberbandSpan.d.ts +0 -1
- package/dist/LinearGenomeView/components/SearchBox.d.ts +0 -1
- package/dist/LinearGenomeView/components/SearchResultsDialog.d.ts +5 -3
- package/dist/LinearGenomeView/components/SearchResultsDialog.js +6 -82
- package/dist/LinearGenomeView/components/SearchResultsDialog.js.map +1 -1
- package/dist/LinearGenomeView/components/SearchResultsTable.d.ts +8 -0
- package/dist/LinearGenomeView/components/SearchResultsTable.js +83 -0
- package/dist/LinearGenomeView/components/SearchResultsTable.js.map +1 -0
- package/dist/LinearGenomeView/components/SequenceSearchDialog.d.ts +0 -1
- package/dist/LinearGenomeView/components/TrackContainer.d.ts +0 -1
- package/dist/LinearGenomeView/components/TrackContainer.js +8 -2
- package/dist/LinearGenomeView/components/TrackContainer.js.map +1 -1
- package/dist/LinearGenomeView/components/TracksContainer.js +5 -7
- package/dist/LinearGenomeView/components/TracksContainer.js.map +1 -1
- package/dist/LinearGenomeView/components/VerticalGuide.d.ts +0 -1
- package/dist/LinearGenomeView/components/ZoomControls.d.ts +0 -1
- package/dist/LinearGenomeView/components/util.js +1 -1
- package/dist/LinearGenomeView/components/util.js.map +1 -1
- package/dist/LinearGenomeView/model.d.ts +49 -36
- package/dist/LinearGenomeView/model.js +121 -198
- package/dist/LinearGenomeView/model.js.map +1 -1
- package/dist/LinearGenomeView/svgcomponents/SVGBackground.d.ts +0 -1
- package/dist/LinearGenomeView/svgcomponents/SVGHeader.d.ts +0 -1
- package/dist/LinearGenomeView/svgcomponents/SVGRegionSeparators.d.ts +0 -1
- package/dist/LinearGenomeView/svgcomponents/SVGRuler.d.ts +0 -1
- package/dist/LinearGenomeView/svgcomponents/SVGScalebar.d.ts +0 -1
- package/dist/LinearGenomeView/svgcomponents/SVGTrackLabel.d.ts +0 -1
- package/dist/LinearGenomeView/svgcomponents/SVGTracks.d.ts +0 -1
- package/dist/LinearGenomeView/util.d.ts +29 -0
- package/dist/LinearGenomeView/util.js +79 -1
- package/dist/LinearGenomeView/util.js.map +1 -1
- package/dist/index.d.ts +189 -70
- package/esm/BaseLinearDisplay/components/LinearBlocks.d.ts +0 -1
- package/esm/BaseLinearDisplay/components/TooLargeMessage.d.ts +3 -4
- package/esm/BaseLinearDisplay/components/TooLargeMessage.js +7 -3
- package/esm/BaseLinearDisplay/components/TooLargeMessage.js.map +1 -1
- package/esm/BaseLinearDisplay/components/Tooltip.d.ts +0 -1
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +75 -14
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js +40 -34
- package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -1
- package/esm/BaseLinearDisplay/models/configSchema.d.ts +35 -1
- package/esm/BaseLinearDisplay/models/configSchema.js +9 -0
- package/esm/BaseLinearDisplay/models/configSchema.js.map +1 -1
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js +10 -6
- package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -1
- package/esm/BaseLinearDisplay/models/util.d.ts +6 -2
- package/esm/BaseLinearDisplay/models/util.js +2 -2
- package/esm/BaseLinearDisplay/models/util.js.map +1 -1
- package/esm/BasicTrack/configSchema.d.ts +73 -1
- package/esm/FeatureTrack/configSchema.d.ts +75 -1
- package/esm/LinearBareDisplay/configSchema.d.ts +28 -1
- package/esm/LinearBareDisplay/model.d.ts +62 -11
- package/esm/LinearBareDisplay/model.js +1 -1
- package/esm/LinearBareDisplay/model.js.map +1 -1
- package/esm/LinearBasicDisplay/components/SetMaxHeight.d.ts +0 -1
- package/esm/LinearBasicDisplay/configSchema.d.ts +28 -1
- package/esm/LinearBasicDisplay/configSchema.js +0 -9
- package/esm/LinearBasicDisplay/configSchema.js.map +1 -1
- package/esm/LinearBasicDisplay/model.d.ts +71 -10
- package/esm/LinearGenomeView/components/CenterLine.d.ts +0 -1
- package/esm/LinearGenomeView/components/Cytobands.d.ts +22 -23
- package/esm/LinearGenomeView/components/ExportSvgDialog.d.ts +0 -1
- package/esm/LinearGenomeView/components/GetSequenceDialog.d.ts +0 -1
- package/esm/LinearGenomeView/components/GetSequenceDialog.js +15 -17
- package/esm/LinearGenomeView/components/GetSequenceDialog.js.map +1 -1
- package/esm/LinearGenomeView/components/Gridlines.d.ts +0 -1
- package/esm/LinearGenomeView/components/Header.d.ts +0 -1
- package/esm/LinearGenomeView/components/HelpDialog.d.ts +0 -1
- package/esm/LinearGenomeView/components/ImportForm.d.ts +0 -1
- package/esm/LinearGenomeView/components/ImportForm.js +5 -8
- package/esm/LinearGenomeView/components/ImportForm.js.map +1 -1
- package/esm/LinearGenomeView/components/LinearGenomeView.d.ts +0 -1
- package/esm/LinearGenomeView/components/LinearGenomeView.js +0 -4
- package/esm/LinearGenomeView/components/LinearGenomeView.js.map +1 -1
- package/esm/LinearGenomeView/components/MiniControls.d.ts +0 -1
- package/esm/LinearGenomeView/components/OverviewScalebar.js +2 -1
- package/esm/LinearGenomeView/components/OverviewScalebar.js.map +1 -1
- package/esm/LinearGenomeView/components/RefNameAutocomplete.js +43 -36
- package/esm/LinearGenomeView/components/RefNameAutocomplete.js.map +1 -1
- package/esm/LinearGenomeView/components/RubberbandSpan.d.ts +0 -1
- package/esm/LinearGenomeView/components/SearchBox.d.ts +0 -1
- package/esm/LinearGenomeView/components/SearchResultsDialog.d.ts +5 -3
- package/esm/LinearGenomeView/components/SearchResultsDialog.js +7 -83
- package/esm/LinearGenomeView/components/SearchResultsDialog.js.map +1 -1
- package/esm/LinearGenomeView/components/SearchResultsTable.d.ts +8 -0
- package/esm/LinearGenomeView/components/SearchResultsTable.js +77 -0
- package/esm/LinearGenomeView/components/SearchResultsTable.js.map +1 -0
- package/esm/LinearGenomeView/components/SequenceSearchDialog.d.ts +0 -1
- package/esm/LinearGenomeView/components/TrackContainer.d.ts +0 -1
- package/esm/LinearGenomeView/components/TrackContainer.js +8 -2
- package/esm/LinearGenomeView/components/TrackContainer.js.map +1 -1
- package/esm/LinearGenomeView/components/TracksContainer.js +5 -7
- package/esm/LinearGenomeView/components/TracksContainer.js.map +1 -1
- package/esm/LinearGenomeView/components/VerticalGuide.d.ts +0 -1
- package/esm/LinearGenomeView/components/ZoomControls.d.ts +0 -1
- package/esm/LinearGenomeView/components/util.js +1 -1
- package/esm/LinearGenomeView/components/util.js.map +1 -1
- package/esm/LinearGenomeView/model.d.ts +49 -36
- package/esm/LinearGenomeView/model.js +122 -199
- package/esm/LinearGenomeView/model.js.map +1 -1
- package/esm/LinearGenomeView/svgcomponents/SVGBackground.d.ts +0 -1
- package/esm/LinearGenomeView/svgcomponents/SVGHeader.d.ts +0 -1
- package/esm/LinearGenomeView/svgcomponents/SVGRegionSeparators.d.ts +0 -1
- package/esm/LinearGenomeView/svgcomponents/SVGRuler.d.ts +0 -1
- package/esm/LinearGenomeView/svgcomponents/SVGScalebar.d.ts +0 -1
- package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.d.ts +0 -1
- package/esm/LinearGenomeView/svgcomponents/SVGTracks.d.ts +0 -1
- package/esm/LinearGenomeView/util.d.ts +29 -0
- package/esm/LinearGenomeView/util.js +76 -0
- package/esm/LinearGenomeView/util.js.map +1 -1
- package/esm/index.d.ts +189 -70
- package/package.json +3 -3
- package/src/BaseLinearDisplay/components/TooLargeMessage.tsx +10 -6
- package/src/BaseLinearDisplay/models/BaseLinearDisplayModel.tsx +46 -36
- package/src/BaseLinearDisplay/models/configSchema.ts +10 -0
- package/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts +19 -13
- package/src/BaseLinearDisplay/models/util.ts +10 -4
- package/src/LinearBareDisplay/model.ts +1 -1
- package/src/LinearBasicDisplay/configSchema.ts +0 -10
- package/src/LinearGenomeView/components/GetSequenceDialog.tsx +15 -25
- package/src/LinearGenomeView/components/ImportForm.tsx +4 -14
- package/src/LinearGenomeView/components/LinearGenomeView.tsx +0 -14
- package/src/LinearGenomeView/components/OverviewScalebar.tsx +2 -1
- package/src/LinearGenomeView/components/RefNameAutocomplete.tsx +107 -65
- package/src/LinearGenomeView/components/SearchResultsDialog.tsx +17 -112
- package/src/LinearGenomeView/components/SearchResultsTable.tsx +121 -0
- package/src/LinearGenomeView/components/TrackContainer.tsx +12 -3
- package/src/LinearGenomeView/components/TracksContainer.tsx +9 -6
- package/src/LinearGenomeView/components/__snapshots__/LinearGenomeView.test.tsx.snap +11 -11
- package/src/LinearGenomeView/components/util.ts +2 -1
- package/src/LinearGenomeView/index.test.ts +10 -12
- package/src/LinearGenomeView/model.ts +163 -236
- package/src/LinearGenomeView/util.ts +98 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.getFeatureDensityStatsPre = exports.getId = exports.getDisplayStr = void 0;
|
|
4
4
|
const util_1 = require("@jbrowse/core/util");
|
|
5
5
|
const tracks_1 = require("@jbrowse/core/util/tracks");
|
|
6
6
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
@@ -24,7 +24,7 @@ function getId(id, index) {
|
|
|
24
24
|
return `clip-${isJest ? id : 'jest'}-${index}`;
|
|
25
25
|
}
|
|
26
26
|
exports.getId = getId;
|
|
27
|
-
async function
|
|
27
|
+
async function getFeatureDensityStatsPre(self) {
|
|
28
28
|
const view = (0, util_1.getContainingView)(self);
|
|
29
29
|
const regions = view.staticBlocks.contentBlocks;
|
|
30
30
|
const { rpcManager } = (0, util_1.getSession)(self);
|
|
@@ -35,7 +35,7 @@ async function estimateRegionsStatsPre(self) {
|
|
|
35
35
|
return {};
|
|
36
36
|
}
|
|
37
37
|
const sessionId = (0, tracks_1.getRpcSessionId)(self);
|
|
38
|
-
return rpcManager.call(sessionId, '
|
|
38
|
+
return rpcManager.call(sessionId, 'CoreGetFeatureDensityStats', {
|
|
39
39
|
sessionId,
|
|
40
40
|
regions,
|
|
41
41
|
adapterConfig,
|
|
@@ -46,5 +46,5 @@ async function estimateRegionsStatsPre(self) {
|
|
|
46
46
|
},
|
|
47
47
|
});
|
|
48
48
|
}
|
|
49
|
-
exports.
|
|
49
|
+
exports.getFeatureDensityStatsPre = getFeatureDensityStatsPre;
|
|
50
50
|
//# sourceMappingURL=util.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/models/util.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/models/util.ts"],"names":[],"mappings":";;;AAEA,6CAAkE;AAClE,sDAA2D;AAC3D,qDAA4D;AAgB5D,SAAgB,aAAa,CAAC,UAAkB;IAC9C,IAAI,SAAS,CAAA;IACb,IAAI,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,EAAE;QACxC,SAAS,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,UAAU,GAAG,OAAO,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,CAAA;KAC7E;SAAM,IAAI,IAAI,CAAC,KAAK,CAAC,UAAU,GAAG,IAAI,CAAC,GAAG,CAAC,EAAE;QAC5C,SAAS,GAAG,GAAG,MAAM,CAAC,UAAU,CAAC,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,KAAK,CAAA;KAC1E;SAAM;QACL,SAAS,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,QAAQ,CAAA;KAC9C;IACD,OAAO,SAAS,CAAA;AAClB,CAAC;AAVD,sCAUC;AAED,2CAA2C;AAC3C,SAAgB,KAAK,CAAC,EAAU,EAAE,KAAa;IAC7C,MAAM,MAAM,GAAG,OAAO,IAAI,KAAK,WAAW,CAAA;IAC1C,OAAO,QAAQ,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,MAAM,IAAI,KAAK,EAAE,CAAA;AAChD,CAAC;AAHD,sBAGC;AAEM,KAAK,UAAU,yBAAyB,CAC7C,IAGC;IAED,MAAM,IAAI,GAAG,IAAA,wBAAiB,EAAC,IAAI,CAA0B,CAAA;IAC7D,MAAM,OAAO,GAAG,IAAI,CAAC,YAAY,CAAC,aAAa,CAAA;IAE/C,MAAM,EAAE,UAAU,EAAE,GAAG,IAAA,iBAAU,EAAC,IAAI,CAAC,CAAA;IACvC,MAAM,EAAE,aAAa,EAAE,GAAG,IAAI,CAAA;IAC9B,IAAI,CAAC,aAAa,EAAE;QAClB,oEAAoE;QACpE,wCAAwC;QACxC,OAAO,EAAE,CAAA;KACV;IACD,MAAM,SAAS,GAAG,IAAA,wBAAe,EAAC,IAAI,CAAC,CAAA;IAEvC,OAAO,UAAU,CAAC,IAAI,CAAC,SAAS,EAAE,4BAA4B,EAAE;QAC9D,SAAS;QACT,OAAO;QACP,aAAa;QACb,cAAc,EAAE,CAAC,OAAe,EAAE,EAAE;YAClC,IAAI,IAAA,yBAAO,EAAC,IAAI,CAAC,EAAE;gBACjB,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,CAAA;aACzB;QACH,CAAC;KACF,CAAiC,CAAA;AACpC,CAAC;AA5BD,8DA4BC"}
|
|
@@ -1,3 +1,75 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
declare const configSchema: (pluginManager: PluginManager) => import("@jbrowse/core/configuration").
|
|
2
|
+
declare const configSchema: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
3
|
+
name: {
|
|
4
|
+
description: string;
|
|
5
|
+
type: string;
|
|
6
|
+
defaultValue: string;
|
|
7
|
+
};
|
|
8
|
+
assemblyNames: {
|
|
9
|
+
description: string;
|
|
10
|
+
type: string;
|
|
11
|
+
defaultValue: string[];
|
|
12
|
+
};
|
|
13
|
+
description: {
|
|
14
|
+
description: string;
|
|
15
|
+
type: string;
|
|
16
|
+
defaultValue: string;
|
|
17
|
+
};
|
|
18
|
+
category: {
|
|
19
|
+
description: string;
|
|
20
|
+
type: string;
|
|
21
|
+
defaultValue: never[];
|
|
22
|
+
};
|
|
23
|
+
metadata: {
|
|
24
|
+
type: string;
|
|
25
|
+
description: string;
|
|
26
|
+
defaultValue: {};
|
|
27
|
+
};
|
|
28
|
+
adapter: import("mobx-state-tree").IAnyModelType;
|
|
29
|
+
textSearching: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
30
|
+
indexingAttributes: {
|
|
31
|
+
type: string;
|
|
32
|
+
description: string;
|
|
33
|
+
defaultValue: string[];
|
|
34
|
+
};
|
|
35
|
+
indexingFeatureTypesToExclude: {
|
|
36
|
+
type: string;
|
|
37
|
+
description: string;
|
|
38
|
+
defaultValue: string[];
|
|
39
|
+
};
|
|
40
|
+
textSearchAdapter: import("mobx-state-tree").IAnyModelType;
|
|
41
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
42
|
+
displays: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
43
|
+
formatDetails: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
44
|
+
feature: {
|
|
45
|
+
type: string;
|
|
46
|
+
description: string;
|
|
47
|
+
defaultValue: {};
|
|
48
|
+
contextVariable: string[];
|
|
49
|
+
};
|
|
50
|
+
subfeatures: {
|
|
51
|
+
type: string;
|
|
52
|
+
description: string;
|
|
53
|
+
defaultValue: {};
|
|
54
|
+
contextVariable: string[];
|
|
55
|
+
};
|
|
56
|
+
depth: {
|
|
57
|
+
type: string;
|
|
58
|
+
defaultValue: number;
|
|
59
|
+
description: string;
|
|
60
|
+
};
|
|
61
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
62
|
+
formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
63
|
+
config: {
|
|
64
|
+
type: string;
|
|
65
|
+
description: string;
|
|
66
|
+
defaultValue: {};
|
|
67
|
+
contextVariable: string[];
|
|
68
|
+
};
|
|
69
|
+
hideUris: {
|
|
70
|
+
type: string;
|
|
71
|
+
defaultValue: boolean;
|
|
72
|
+
};
|
|
73
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
74
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "trackId">>, "trackId">>;
|
|
3
75
|
export default configSchema;
|
|
@@ -1,3 +1,77 @@
|
|
|
1
1
|
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
declare const configSchema: (pluginManager: PluginManager) => import("@jbrowse/core/configuration").
|
|
2
|
+
declare const configSchema: (pluginManager: PluginManager) => import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
3
|
+
name: {
|
|
4
|
+
description: string;
|
|
5
|
+
type: string;
|
|
6
|
+
defaultValue: string;
|
|
7
|
+
};
|
|
8
|
+
assemblyNames: {
|
|
9
|
+
description: string;
|
|
10
|
+
type: string; /**
|
|
11
|
+
* #baseConfiguration
|
|
12
|
+
*/
|
|
13
|
+
defaultValue: string[];
|
|
14
|
+
};
|
|
15
|
+
description: {
|
|
16
|
+
description: string;
|
|
17
|
+
type: string;
|
|
18
|
+
defaultValue: string;
|
|
19
|
+
};
|
|
20
|
+
category: {
|
|
21
|
+
description: string;
|
|
22
|
+
type: string;
|
|
23
|
+
defaultValue: never[];
|
|
24
|
+
};
|
|
25
|
+
metadata: {
|
|
26
|
+
type: string;
|
|
27
|
+
description: string;
|
|
28
|
+
defaultValue: {};
|
|
29
|
+
};
|
|
30
|
+
adapter: import("mobx-state-tree").IAnyModelType;
|
|
31
|
+
textSearching: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
32
|
+
indexingAttributes: {
|
|
33
|
+
type: string;
|
|
34
|
+
description: string;
|
|
35
|
+
defaultValue: string[];
|
|
36
|
+
};
|
|
37
|
+
indexingFeatureTypesToExclude: {
|
|
38
|
+
type: string;
|
|
39
|
+
description: string;
|
|
40
|
+
defaultValue: string[];
|
|
41
|
+
};
|
|
42
|
+
textSearchAdapter: import("mobx-state-tree").IAnyModelType;
|
|
43
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
44
|
+
displays: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IAnyModelType>;
|
|
45
|
+
formatDetails: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
46
|
+
feature: {
|
|
47
|
+
type: string;
|
|
48
|
+
description: string;
|
|
49
|
+
defaultValue: {};
|
|
50
|
+
contextVariable: string[];
|
|
51
|
+
};
|
|
52
|
+
subfeatures: {
|
|
53
|
+
type: string;
|
|
54
|
+
description: string;
|
|
55
|
+
defaultValue: {};
|
|
56
|
+
contextVariable: string[];
|
|
57
|
+
};
|
|
58
|
+
depth: {
|
|
59
|
+
type: string;
|
|
60
|
+
defaultValue: number;
|
|
61
|
+
description: string;
|
|
62
|
+
};
|
|
63
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
64
|
+
formatAbout: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
65
|
+
config: {
|
|
66
|
+
type: string;
|
|
67
|
+
description: string;
|
|
68
|
+
defaultValue: {};
|
|
69
|
+
contextVariable: string[];
|
|
70
|
+
};
|
|
71
|
+
hideUris: {
|
|
72
|
+
type: string;
|
|
73
|
+
defaultValue: boolean;
|
|
74
|
+
};
|
|
75
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, undefined>>;
|
|
76
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "trackId">>, "trackId">>;
|
|
3
77
|
export default configSchema;
|
|
@@ -2,5 +2,32 @@ import PluginManager from '@jbrowse/core/PluginManager';
|
|
|
2
2
|
/**
|
|
3
3
|
* #config LinearBareDisplay
|
|
4
4
|
*/
|
|
5
|
-
declare function configSchemaFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").
|
|
5
|
+
declare function configSchemaFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
6
|
+
/**
|
|
7
|
+
* #slot
|
|
8
|
+
*/
|
|
9
|
+
renderer: import("mobx-state-tree").IAnyModelType;
|
|
10
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
11
|
+
maxFeatureScreenDensity: {
|
|
12
|
+
type: string;
|
|
13
|
+
description: string;
|
|
14
|
+
defaultValue: number;
|
|
15
|
+
};
|
|
16
|
+
fetchSizeLimit: {
|
|
17
|
+
type: string;
|
|
18
|
+
defaultValue: number;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
height: {
|
|
22
|
+
type: string;
|
|
23
|
+
defaultValue: number;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
mouseover: {
|
|
27
|
+
type: string;
|
|
28
|
+
description: string;
|
|
29
|
+
defaultValue: string;
|
|
30
|
+
contextVariable: string[];
|
|
31
|
+
};
|
|
32
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>, undefined>>;
|
|
6
33
|
export { configSchemaFactory };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration
|
|
2
|
+
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
3
3
|
/**
|
|
4
4
|
* #stateModel LinearBareDisplay
|
|
5
5
|
* extends `BaseLinearDisplay`
|
|
@@ -58,6 +58,31 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
58
58
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
59
59
|
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
60
60
|
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
61
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
62
|
+
maxFeatureScreenDensity: {
|
|
63
|
+
type: string;
|
|
64
|
+
description: string;
|
|
65
|
+
defaultValue: number;
|
|
66
|
+
};
|
|
67
|
+
fetchSizeLimit: {
|
|
68
|
+
type: string;
|
|
69
|
+
defaultValue: number;
|
|
70
|
+
description: string;
|
|
71
|
+
};
|
|
72
|
+
height: {
|
|
73
|
+
type: string;
|
|
74
|
+
defaultValue: number;
|
|
75
|
+
description: string;
|
|
76
|
+
}; /**
|
|
77
|
+
* #getter
|
|
78
|
+
*/
|
|
79
|
+
mouseover: {
|
|
80
|
+
type: string;
|
|
81
|
+
description: string;
|
|
82
|
+
defaultValue: string;
|
|
83
|
+
contextVariable: string[];
|
|
84
|
+
};
|
|
85
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
61
86
|
} & {
|
|
62
87
|
/**
|
|
63
88
|
* #property
|
|
@@ -66,7 +91,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
66
91
|
/**
|
|
67
92
|
* #property
|
|
68
93
|
*/
|
|
69
|
-
configuration:
|
|
94
|
+
configuration: AnyConfigurationSchemaType;
|
|
70
95
|
}, {
|
|
71
96
|
rendererTypeName: string;
|
|
72
97
|
error: unknown;
|
|
@@ -125,8 +150,8 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
125
150
|
message: string;
|
|
126
151
|
featureIdUnderMouse: string | undefined;
|
|
127
152
|
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
128
|
-
|
|
129
|
-
|
|
153
|
+
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
|
|
154
|
+
featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined;
|
|
130
155
|
} & {
|
|
131
156
|
readonly height: number;
|
|
132
157
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
@@ -145,26 +170,26 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
145
170
|
readonly currentBytesRequested: number;
|
|
146
171
|
readonly currentFeatureScreenDensity: number;
|
|
147
172
|
readonly maxFeatureScreenDensity: any;
|
|
148
|
-
readonly
|
|
173
|
+
readonly featureDensityStatsReady: boolean;
|
|
149
174
|
readonly maxAllowableBytes: number;
|
|
150
175
|
} & {
|
|
151
176
|
setMessage(message: string): void;
|
|
152
177
|
} & {
|
|
153
178
|
afterAttach(): void;
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
179
|
+
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
180
|
+
setFeatureDensityStatsP(arg: any): void;
|
|
181
|
+
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
182
|
+
clearFeatureDensityStats(): void;
|
|
158
183
|
setHeight(displayHeight: number): number;
|
|
159
184
|
resizeHeight(distance: number): number;
|
|
160
185
|
setScrollTop(scrollTop: number): void;
|
|
161
|
-
|
|
186
|
+
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
162
187
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
163
188
|
setCurrBpPerPx(n: number): void;
|
|
164
189
|
deleteBlock(key: string): void;
|
|
165
190
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
166
191
|
clearFeatureSelection(): void;
|
|
167
|
-
setFeatureIdUnderMouse(feature
|
|
192
|
+
setFeatureIdUnderMouse(feature?: string | undefined): void;
|
|
168
193
|
reload(): void;
|
|
169
194
|
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
170
195
|
} & {
|
|
@@ -250,9 +275,35 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
250
275
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
251
276
|
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
252
277
|
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
278
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
279
|
+
maxFeatureScreenDensity: {
|
|
280
|
+
type: string;
|
|
281
|
+
description: string;
|
|
282
|
+
defaultValue: number;
|
|
283
|
+
};
|
|
284
|
+
fetchSizeLimit: {
|
|
285
|
+
type: string;
|
|
286
|
+
defaultValue: number;
|
|
287
|
+
description: string;
|
|
288
|
+
};
|
|
289
|
+
height: {
|
|
290
|
+
type: string;
|
|
291
|
+
defaultValue: number;
|
|
292
|
+
description: string;
|
|
293
|
+
}; /**
|
|
294
|
+
* #getter
|
|
295
|
+
*/
|
|
296
|
+
mouseover: {
|
|
297
|
+
type: string;
|
|
298
|
+
description: string;
|
|
299
|
+
defaultValue: string;
|
|
300
|
+
contextVariable: string[];
|
|
301
|
+
};
|
|
302
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
253
303
|
}>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
|
|
254
304
|
type: string;
|
|
255
305
|
id: string;
|
|
306
|
+
configuration: import("mobx-state-tree").ModelSnapshotType<Record<string, any>>;
|
|
256
307
|
rpcDriverName: string | undefined;
|
|
257
308
|
heightPreConfig: number | undefined;
|
|
258
309
|
userBpPerPxLimit: number | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.stateModelFactory = void 0;
|
|
4
|
-
const
|
|
4
|
+
const configuration_1 = require("@jbrowse/core/configuration");
|
|
5
5
|
const tracks_1 = require("@jbrowse/core/util/tracks");
|
|
6
6
|
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
7
7
|
const BaseLinearDisplay_1 = require("../BaseLinearDisplay");
|
|
@@ -19,7 +19,7 @@ function stateModelFactory(configSchema) {
|
|
|
19
19
|
/**
|
|
20
20
|
* #property
|
|
21
21
|
*/
|
|
22
|
-
configuration: (0,
|
|
22
|
+
configuration: (0, configuration_1.ConfigurationReference)(configSchema),
|
|
23
23
|
}))
|
|
24
24
|
.views(self => {
|
|
25
25
|
const { renderProps: superRenderProps } = self;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/LinearBareDisplay/model.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/LinearBareDisplay/model.ts"],"names":[],"mappings":";;;AAAA,+DAGoC;AACpC,sDAAgE;AAChE,qDAAuC;AACvC,4DAAwD;AAExD;;;GAGG;AACH,SAAgB,iBAAiB,CAAC,YAAwC;IACxE,OAAO,uBAAK;SACT,OAAO,CACN,mBAAmB,EACnB,qCAAiB,EACjB,uBAAK,CAAC,KAAK,CAAC;QACV;;WAEG;QACH,IAAI,EAAE,uBAAK,CAAC,OAAO,CAAC,mBAAmB,CAAC;QACxC;;WAEG;QACH,aAAa,EAAE,IAAA,sCAAsB,EAAC,YAAY,CAAC;KACpD,CAAC,CACH;SAEA,KAAK,CAAC,IAAI,CAAC,EAAE;QACZ,MAAM,EAAE,WAAW,EAAE,gBAAgB,EAAE,GAAG,IAAI,CAAA;QAC9C,OAAO;YACL;;eAEG;YACH,WAAW;gBACT,OAAO;oBACL,GAAG,gBAAgB,EAAE;oBACrB,GAAG,IAAA,6BAAoB,EAAC,IAAI,CAAC;oBAC7B,aAAa,EAAE,IAAI,CAAC,aAAa;oBACjC,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ;iBACpC,CAAA;YACH,CAAC;YAED;;eAEG;YACH,IAAI,gBAAgB;gBAClB,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAA;YACzC,CAAC;SACF,CAAA;IACH,CAAC,CAAC,CAAA;AACN,CAAC;AAxCD,8CAwCC"}
|
|
@@ -2,5 +2,32 @@ import PluginManager from '@jbrowse/core/PluginManager';
|
|
|
2
2
|
/**
|
|
3
3
|
* #config LinearBasicDisplay
|
|
4
4
|
*/
|
|
5
|
-
declare function configSchemaFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration").
|
|
5
|
+
declare function configSchemaFactory(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
6
|
+
/**
|
|
7
|
+
* #slot
|
|
8
|
+
*/
|
|
9
|
+
renderer: import("mobx-state-tree").IAnyModelType;
|
|
10
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
11
|
+
maxFeatureScreenDensity: {
|
|
12
|
+
type: string;
|
|
13
|
+
description: string;
|
|
14
|
+
defaultValue: number;
|
|
15
|
+
};
|
|
16
|
+
fetchSizeLimit: {
|
|
17
|
+
type: string;
|
|
18
|
+
defaultValue: number;
|
|
19
|
+
description: string;
|
|
20
|
+
};
|
|
21
|
+
height: {
|
|
22
|
+
type: string;
|
|
23
|
+
defaultValue: number;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
mouseover: {
|
|
27
|
+
type: string;
|
|
28
|
+
description: string;
|
|
29
|
+
defaultValue: string;
|
|
30
|
+
contextVariable: string[];
|
|
31
|
+
};
|
|
32
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>, undefined>>;
|
|
6
33
|
export default configSchemaFactory;
|
|
@@ -7,15 +7,6 @@ const BaseLinearDisplay_1 = require("../BaseLinearDisplay");
|
|
|
7
7
|
*/
|
|
8
8
|
function configSchemaFactory(pluginManager) {
|
|
9
9
|
return (0, configuration_1.ConfigurationSchema)('LinearBasicDisplay', {
|
|
10
|
-
/**
|
|
11
|
-
* #slot
|
|
12
|
-
*/
|
|
13
|
-
mouseover: {
|
|
14
|
-
type: 'string',
|
|
15
|
-
description: 'what to display in a given mouseover',
|
|
16
|
-
defaultValue: `jexl:get(feature,'name')`,
|
|
17
|
-
contextVariable: ['feature'],
|
|
18
|
-
},
|
|
19
10
|
/**
|
|
20
11
|
* #slot
|
|
21
12
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/LinearBasicDisplay/configSchema.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAEjE,4DAAoE;AAEpE;;GAEG;AACH,SAAS,mBAAmB,CAAC,aAA4B;IACvD,OAAO,IAAA,mCAAmB,EACxB,oBAAoB,EACpB;QACE;;WAEG;QACH,
|
|
1
|
+
{"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/LinearBasicDisplay/configSchema.ts"],"names":[],"mappings":";;AAAA,+DAAiE;AAEjE,4DAAoE;AAEpE;;GAEG;AACH,SAAS,mBAAmB,CAAC,aAA4B;IACvD,OAAO,IAAA,mCAAmB,EACxB,oBAAoB,EACpB;QACE;;WAEG;QACH,QAAQ,EAAE,aAAa,CAAC,yBAAyB,CAAC,UAAU,CAAC;KAC9D,EACD;QACE;;WAEG;QACH,iBAAiB,EAAE,iDAA6B;QAChD,eAAe,EAAE,IAAI;KACtB,CACF,CAAA;AACH,CAAC;AAED,kBAAe,mBAAmB,CAAA"}
|
|
@@ -64,7 +64,37 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
64
64
|
beforeDestroy(): void;
|
|
65
65
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
66
66
|
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
67
|
+
/**
|
|
68
|
+
* #getter
|
|
69
|
+
*/
|
|
67
70
|
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
71
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
72
|
+
maxFeatureScreenDensity: {
|
|
73
|
+
type: string;
|
|
74
|
+
description: string;
|
|
75
|
+
defaultValue: number;
|
|
76
|
+
};
|
|
77
|
+
fetchSizeLimit: {
|
|
78
|
+
type: string;
|
|
79
|
+
defaultValue: number;
|
|
80
|
+
description: string;
|
|
81
|
+
};
|
|
82
|
+
height: {
|
|
83
|
+
type: string;
|
|
84
|
+
defaultValue: number;
|
|
85
|
+
description: string;
|
|
86
|
+
}; /**
|
|
87
|
+
* #property
|
|
88
|
+
*/
|
|
89
|
+
mouseover: {
|
|
90
|
+
type: string;
|
|
91
|
+
description: string;
|
|
92
|
+
defaultValue: string; /**
|
|
93
|
+
* #property
|
|
94
|
+
*/
|
|
95
|
+
contextVariable: string[];
|
|
96
|
+
};
|
|
97
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
68
98
|
} & {
|
|
69
99
|
/**
|
|
70
100
|
* #property
|
|
@@ -89,7 +119,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
89
119
|
/**
|
|
90
120
|
* #property
|
|
91
121
|
*/
|
|
92
|
-
configuration:
|
|
122
|
+
configuration: AnyConfigurationSchemaType;
|
|
93
123
|
}, {
|
|
94
124
|
rendererTypeName: string;
|
|
95
125
|
error: unknown;
|
|
@@ -152,8 +182,8 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
152
182
|
message: string;
|
|
153
183
|
featureIdUnderMouse: string | undefined;
|
|
154
184
|
contextMenuFeature: import("@jbrowse/core/util").Feature | undefined;
|
|
155
|
-
|
|
156
|
-
|
|
185
|
+
featureDensityStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats> | undefined;
|
|
186
|
+
featureDensityStats: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined;
|
|
157
187
|
} & {
|
|
158
188
|
readonly height: number;
|
|
159
189
|
readonly blockType: "dynamicBlocks" | "staticBlocks";
|
|
@@ -172,26 +202,26 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
172
202
|
readonly currentBytesRequested: number;
|
|
173
203
|
readonly currentFeatureScreenDensity: number;
|
|
174
204
|
readonly maxFeatureScreenDensity: any;
|
|
175
|
-
readonly
|
|
205
|
+
readonly featureDensityStatsReady: boolean;
|
|
176
206
|
readonly maxAllowableBytes: number;
|
|
177
207
|
} & {
|
|
178
208
|
setMessage(message: string): void;
|
|
179
209
|
} & {
|
|
180
210
|
afterAttach(): void;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
211
|
+
getFeatureDensityStats(): Promise<import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats>;
|
|
212
|
+
setFeatureDensityStatsP(arg: any): void;
|
|
213
|
+
setFeatureDensityStats(featureDensityStats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
214
|
+
clearFeatureDensityStats(): void;
|
|
185
215
|
setHeight(displayHeight: number): number;
|
|
186
216
|
resizeHeight(distance: number): number;
|
|
187
217
|
setScrollTop(scrollTop: number): void;
|
|
188
|
-
|
|
218
|
+
setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
|
|
189
219
|
addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
|
|
190
220
|
setCurrBpPerPx(n: number): void;
|
|
191
221
|
deleteBlock(key: string): void;
|
|
192
222
|
selectFeature(feature: import("@jbrowse/core/util").Feature): void;
|
|
193
223
|
clearFeatureSelection(): void;
|
|
194
|
-
setFeatureIdUnderMouse(feature
|
|
224
|
+
setFeatureIdUnderMouse(feature?: string | undefined): void;
|
|
195
225
|
reload(): void;
|
|
196
226
|
setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
|
|
197
227
|
} & {
|
|
@@ -333,10 +363,41 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
333
363
|
beforeDestroy(): void;
|
|
334
364
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
335
365
|
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
366
|
+
/**
|
|
367
|
+
* #getter
|
|
368
|
+
*/
|
|
336
369
|
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
370
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
371
|
+
maxFeatureScreenDensity: {
|
|
372
|
+
type: string;
|
|
373
|
+
description: string;
|
|
374
|
+
defaultValue: number;
|
|
375
|
+
};
|
|
376
|
+
fetchSizeLimit: {
|
|
377
|
+
type: string;
|
|
378
|
+
defaultValue: number;
|
|
379
|
+
description: string;
|
|
380
|
+
};
|
|
381
|
+
height: {
|
|
382
|
+
type: string;
|
|
383
|
+
defaultValue: number;
|
|
384
|
+
description: string;
|
|
385
|
+
}; /**
|
|
386
|
+
* #property
|
|
387
|
+
*/
|
|
388
|
+
mouseover: {
|
|
389
|
+
type: string;
|
|
390
|
+
description: string;
|
|
391
|
+
defaultValue: string; /**
|
|
392
|
+
* #property
|
|
393
|
+
*/
|
|
394
|
+
contextVariable: string[];
|
|
395
|
+
};
|
|
396
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
337
397
|
}>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
|
|
338
398
|
type: string;
|
|
339
399
|
id: string;
|
|
400
|
+
configuration: import("mobx-state-tree").ModelSnapshotType<Record<string, any>>;
|
|
340
401
|
rpcDriverName: string | undefined;
|
|
341
402
|
heightPreConfig: number | undefined;
|
|
342
403
|
userBpPerPxLimit: number | undefined;
|