@jbrowse/plugin-linear-comparative-view 2.16.1 → 2.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.d.ts +1 -1
- package/dist/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.js +0 -2
- package/dist/LGVSyntenyDisplay/components/util.d.ts +3 -3
- package/dist/LGVSyntenyDisplay/components/util.js +0 -1
- package/dist/LGVSyntenyDisplay/configSchemaF.d.ts +19 -10
- package/dist/LGVSyntenyDisplay/configSchemaF.js +12 -9
- package/dist/LGVSyntenyDisplay/index.d.ts +1 -1
- package/dist/LGVSyntenyDisplay/index.js +1 -1
- package/dist/LGVSyntenyDisplay/model.d.ts +104 -81
- package/dist/LGVSyntenyDisplay/model.js +1 -29
- package/dist/LaunchLinearSyntenyView.d.ts +1 -1
- package/dist/LaunchLinearSyntenyView.js +1 -3
- package/dist/LinearComparativeDisplay/configSchemaF.d.ts +0 -3
- package/dist/LinearComparativeDisplay/configSchemaF.js +0 -6
- package/dist/LinearComparativeDisplay/index.d.ts +1 -1
- package/dist/LinearComparativeDisplay/stateModelFactory.d.ts +12 -69
- package/dist/LinearComparativeDisplay/stateModelFactory.js +13 -57
- package/dist/LinearComparativeView/components/Header.d.ts +1 -1
- package/dist/LinearComparativeView/components/Header.js +4 -5
- package/dist/LinearComparativeView/components/HeaderSearchBoxes.d.ts +1 -1
- package/dist/LinearComparativeView/components/HeaderSearchBoxes.js +3 -4
- package/dist/LinearComparativeView/components/LinearComparativeRenderArea.d.ts +1 -1
- package/dist/LinearComparativeView/components/LinearComparativeRenderArea.js +8 -15
- package/dist/LinearComparativeView/components/LinearComparativeView.d.ts +1 -1
- package/dist/LinearComparativeView/components/LinearComparativeView.js +2 -4
- package/dist/LinearComparativeView/components/Rubberband.d.ts +1 -1
- package/dist/LinearComparativeView/components/Rubberband.js +17 -19
- package/dist/LinearComparativeView/components/VerticalGuide.d.ts +1 -1
- package/dist/LinearComparativeView/components/VerticalGuide.js +1 -1
- package/dist/LinearComparativeView/index.d.ts +1 -1
- package/dist/LinearComparativeView/model.d.ts +6 -62
- package/dist/LinearComparativeView/model.js +3 -99
- package/dist/LinearReadVsRef/LinearReadVsRef.d.ts +1 -1
- package/dist/LinearReadVsRef/LinearReadVsRef.js +5 -19
- package/dist/LinearReadVsRef/index.d.ts +1 -1
- package/dist/LinearReadVsRef/index.js +0 -2
- package/dist/LinearSyntenyDisplay/afterAttach.d.ts +1 -1
- package/dist/LinearSyntenyDisplay/afterAttach.js +2 -9
- package/dist/LinearSyntenyDisplay/components/Component.d.ts +1 -1
- package/dist/LinearSyntenyDisplay/components/Component.js +2 -4
- package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.d.ts +1 -1
- package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +6 -23
- package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.d.ts +2 -2
- package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.js +1 -1
- package/dist/LinearSyntenyDisplay/components/SyntenyTooltip.js +1 -1
- package/dist/LinearSyntenyDisplay/components/util.d.ts +3 -3
- package/dist/LinearSyntenyDisplay/components/util.js +0 -9
- package/dist/LinearSyntenyDisplay/configSchemaF.d.ts +1 -12
- package/dist/LinearSyntenyDisplay/configSchemaF.js +0 -15
- package/dist/LinearSyntenyDisplay/drawSynteny.d.ts +1 -1
- package/dist/LinearSyntenyDisplay/drawSynteny.js +1 -23
- package/dist/LinearSyntenyDisplay/index.d.ts +1 -1
- package/dist/LinearSyntenyDisplay/index.js +1 -2
- package/dist/LinearSyntenyDisplay/model.d.ts +8 -102
- package/dist/LinearSyntenyDisplay/model.js +1 -92
- package/dist/LinearSyntenyView/components/ExportSvgDialog.d.ts +1 -1
- package/dist/LinearSyntenyView/components/ExportSvgDialog.js +2 -4
- package/dist/LinearSyntenyView/components/Icons.d.ts +1 -1
- package/dist/LinearSyntenyView/components/ImportForm/AddCustomTrack.d.ts +2 -2
- package/dist/LinearSyntenyView/components/ImportForm/AddCustomTrack.js +1 -1
- package/dist/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.d.ts +1 -1
- package/dist/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.js +6 -8
- package/dist/LinearSyntenyView/components/ImportForm/TrackSelector.d.ts +1 -1
- package/dist/LinearSyntenyView/components/ImportForm/TrackSelector.js +3 -5
- package/dist/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.d.ts +3 -3
- package/dist/LinearSyntenyView/components/ImportForm/util.js +1 -3
- package/dist/LinearSyntenyView/components/LinearSyntenyView.d.ts +1 -1
- package/dist/LinearSyntenyView/components/LinearSyntenyView.js +0 -1
- package/dist/LinearSyntenyView/index.d.ts +1 -1
- package/dist/LinearSyntenyView/model.d.ts +5 -28
- package/dist/LinearSyntenyView/model.js +4 -41
- package/dist/LinearSyntenyView/svgcomponents/SVGBackground.js +1 -1
- package/dist/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.d.ts +1 -1
- package/dist/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.js +1 -1
- package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.d.ts +1 -1
- package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +5 -10
- package/dist/LinearSyntenyViewHelper/index.d.ts +1 -1
- package/dist/LinearSyntenyViewHelper/stateModelFactory.d.ts +2 -14
- package/dist/LinearSyntenyViewHelper/stateModelFactory.js +2 -29
- package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +1 -1
- package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.js +4 -13
- package/dist/SyntenyFeatureDetail/index.d.ts +1 -1
- package/dist/SyntenyFeatureDetail/index.js +1 -7
- package/dist/SyntenyTrack/configSchema.d.ts +1 -1
- package/dist/SyntenyTrack/configSchema.js +1 -9
- package/dist/SyntenyTrack/index.d.ts +1 -1
- package/dist/SyntenyTrack/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4 -4
- package/dist/util.d.ts +2 -2
- package/dist/util.js +1 -11
- package/esm/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.d.ts +1 -1
- package/esm/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.js +0 -2
- package/esm/LGVSyntenyDisplay/components/util.d.ts +3 -3
- package/esm/LGVSyntenyDisplay/components/util.js +0 -1
- package/esm/LGVSyntenyDisplay/configSchemaF.d.ts +19 -10
- package/esm/LGVSyntenyDisplay/configSchemaF.js +12 -9
- package/esm/LGVSyntenyDisplay/index.d.ts +1 -1
- package/esm/LGVSyntenyDisplay/index.js +1 -1
- package/esm/LGVSyntenyDisplay/model.d.ts +104 -81
- package/esm/LGVSyntenyDisplay/model.js +2 -30
- package/esm/LaunchLinearSyntenyView.d.ts +1 -1
- package/esm/LaunchLinearSyntenyView.js +1 -3
- package/esm/LinearComparativeDisplay/configSchemaF.d.ts +0 -3
- package/esm/LinearComparativeDisplay/configSchemaF.js +0 -6
- package/esm/LinearComparativeDisplay/index.d.ts +1 -1
- package/esm/LinearComparativeDisplay/stateModelFactory.d.ts +12 -69
- package/esm/LinearComparativeDisplay/stateModelFactory.js +14 -58
- package/esm/LinearComparativeView/components/Header.d.ts +1 -1
- package/esm/LinearComparativeView/components/Header.js +4 -5
- package/esm/LinearComparativeView/components/HeaderSearchBoxes.d.ts +1 -1
- package/esm/LinearComparativeView/components/HeaderSearchBoxes.js +3 -4
- package/esm/LinearComparativeView/components/LinearComparativeRenderArea.d.ts +1 -1
- package/esm/LinearComparativeView/components/LinearComparativeRenderArea.js +8 -15
- package/esm/LinearComparativeView/components/LinearComparativeView.d.ts +1 -1
- package/esm/LinearComparativeView/components/LinearComparativeView.js +2 -4
- package/esm/LinearComparativeView/components/Rubberband.d.ts +1 -1
- package/esm/LinearComparativeView/components/Rubberband.js +18 -20
- package/esm/LinearComparativeView/components/VerticalGuide.d.ts +1 -1
- package/esm/LinearComparativeView/components/VerticalGuide.js +1 -1
- package/esm/LinearComparativeView/index.d.ts +1 -1
- package/esm/LinearComparativeView/model.d.ts +6 -62
- package/esm/LinearComparativeView/model.js +4 -100
- package/esm/LinearReadVsRef/LinearReadVsRef.d.ts +1 -1
- package/esm/LinearReadVsRef/LinearReadVsRef.js +5 -19
- package/esm/LinearReadVsRef/index.d.ts +1 -1
- package/esm/LinearReadVsRef/index.js +1 -3
- package/esm/LinearSyntenyDisplay/afterAttach.d.ts +1 -1
- package/esm/LinearSyntenyDisplay/afterAttach.js +2 -9
- package/esm/LinearSyntenyDisplay/components/Component.d.ts +1 -1
- package/esm/LinearSyntenyDisplay/components/Component.js +2 -4
- package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.d.ts +1 -1
- package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +8 -25
- package/esm/LinearSyntenyDisplay/components/SyntenyContextMenu.d.ts +2 -2
- package/esm/LinearSyntenyDisplay/components/SyntenyContextMenu.js +1 -1
- package/esm/LinearSyntenyDisplay/components/SyntenyTooltip.js +1 -1
- package/esm/LinearSyntenyDisplay/components/util.d.ts +3 -3
- package/esm/LinearSyntenyDisplay/components/util.js +2 -11
- package/esm/LinearSyntenyDisplay/configSchemaF.d.ts +1 -12
- package/esm/LinearSyntenyDisplay/configSchemaF.js +0 -15
- package/esm/LinearSyntenyDisplay/drawSynteny.d.ts +1 -1
- package/esm/LinearSyntenyDisplay/drawSynteny.js +1 -23
- package/esm/LinearSyntenyDisplay/index.d.ts +1 -1
- package/esm/LinearSyntenyDisplay/index.js +1 -2
- package/esm/LinearSyntenyDisplay/model.d.ts +8 -102
- package/esm/LinearSyntenyDisplay/model.js +1 -92
- package/esm/LinearSyntenyView/components/ExportSvgDialog.d.ts +1 -1
- package/esm/LinearSyntenyView/components/ExportSvgDialog.js +2 -4
- package/esm/LinearSyntenyView/components/Icons.d.ts +1 -1
- package/esm/LinearSyntenyView/components/ImportForm/AddCustomTrack.d.ts +2 -2
- package/esm/LinearSyntenyView/components/ImportForm/AddCustomTrack.js +2 -2
- package/esm/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.d.ts +1 -1
- package/esm/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.js +6 -8
- package/esm/LinearSyntenyView/components/ImportForm/TrackSelector.d.ts +1 -1
- package/esm/LinearSyntenyView/components/ImportForm/TrackSelector.js +4 -6
- package/esm/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.d.ts +3 -3
- package/esm/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.js +1 -1
- package/esm/LinearSyntenyView/components/ImportForm/util.js +1 -3
- package/esm/LinearSyntenyView/components/LinearSyntenyView.d.ts +1 -1
- package/esm/LinearSyntenyView/components/LinearSyntenyView.js +0 -1
- package/esm/LinearSyntenyView/index.d.ts +1 -1
- package/esm/LinearSyntenyView/model.d.ts +5 -28
- package/esm/LinearSyntenyView/model.js +4 -41
- package/esm/LinearSyntenyView/svgcomponents/SVGBackground.js +1 -1
- package/esm/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.d.ts +1 -1
- package/esm/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.js +2 -2
- package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.d.ts +1 -1
- package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +6 -11
- package/esm/LinearSyntenyViewHelper/index.d.ts +1 -1
- package/esm/LinearSyntenyViewHelper/stateModelFactory.d.ts +2 -14
- package/esm/LinearSyntenyViewHelper/stateModelFactory.js +2 -29
- package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +1 -1
- package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.js +4 -13
- package/esm/SyntenyFeatureDetail/index.d.ts +1 -1
- package/esm/SyntenyFeatureDetail/index.js +1 -7
- package/esm/SyntenyTrack/configSchema.d.ts +1 -1
- package/esm/SyntenyTrack/configSchema.js +1 -9
- package/esm/SyntenyTrack/index.d.ts +1 -1
- package/esm/SyntenyTrack/index.js +1 -1
- package/esm/index.d.ts +1 -1
- package/esm/index.js +4 -4
- package/esm/util.d.ts +2 -2
- package/esm/util.js +1 -11
- package/package.json +2 -4
|
@@ -51,7 +51,6 @@ export async function navToSynteny({ feature, windowSize: ws, model, trackId, vi
|
|
|
51
51
|
const p = parseCigar(cigar);
|
|
52
52
|
const [fStartX, mStartX] = findPosInCigar(p, regStart - featStart);
|
|
53
53
|
const [fEndX, mEndX] = findPosInCigar(p, regEnd - featStart);
|
|
54
|
-
// avoid multiply by 0 with strand undefined
|
|
55
54
|
const flipper = strand === -1 ? -1 : 1;
|
|
56
55
|
rFeatStart = featStart + fStartX;
|
|
57
56
|
rFeatEnd = featStart + fEndX;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
|
+
declare function configSchemaF(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
3
|
+
mouseover: {
|
|
4
|
+
type: string;
|
|
5
|
+
defaultValue: string;
|
|
6
|
+
};
|
|
7
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
8
8
|
defaultRendering: {
|
|
9
9
|
type: string;
|
|
10
10
|
model: import("mobx-state-tree").ISimpleType<string>;
|
|
@@ -18,11 +18,20 @@ declare function configSchemaF(pluginManager: PluginManager): import("@jbrowse/c
|
|
|
18
18
|
description: string;
|
|
19
19
|
defaultValue: number;
|
|
20
20
|
};
|
|
21
|
-
|
|
21
|
+
colorBy: {
|
|
22
22
|
type: string;
|
|
23
|
-
model: import("mobx-state-tree").ISimpleType<string>;
|
|
24
23
|
description: string;
|
|
25
|
-
defaultValue:
|
|
24
|
+
defaultValue: {
|
|
25
|
+
type: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
filterBy: {
|
|
29
|
+
type: string;
|
|
30
|
+
description: string;
|
|
31
|
+
defaultValue: {
|
|
32
|
+
flagInclude: number;
|
|
33
|
+
flagExclude: number;
|
|
34
|
+
};
|
|
26
35
|
};
|
|
27
36
|
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
28
37
|
renderer: import("mobx-state-tree").IAnyModelType;
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
import { ConfigurationSchema } from '@jbrowse/core/configuration';
|
|
2
2
|
import { linearPileupDisplayConfigSchemaFactory } from '@jbrowse/plugin-alignments';
|
|
3
|
-
/**
|
|
4
|
-
* #config LGVSyntenyDisplay
|
|
5
|
-
* extends config
|
|
6
|
-
* - [LinearPileupDisplay](../linearpileupdisplay)
|
|
7
|
-
*/
|
|
8
3
|
function configSchemaF(pluginManager) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
4
|
+
pluginManager.jexl.addFunction('lgvSyntenyTooltip', (f) => {
|
|
5
|
+
const m = f.get('mate');
|
|
6
|
+
return [f.get('name') || f.get('id'), (m === null || m === void 0 ? void 0 : m.name) || (m === null || m === void 0 ? void 0 : m.id)]
|
|
7
|
+
.filter(f => !!f)
|
|
8
|
+
.join('<br/>');
|
|
9
|
+
});
|
|
10
|
+
return ConfigurationSchema('LGVSyntenyDisplay', {
|
|
11
|
+
mouseover: {
|
|
12
|
+
type: 'string',
|
|
13
|
+
defaultValue: 'jexl:lgvSyntenyTooltip(feature)',
|
|
14
|
+
},
|
|
15
|
+
}, {
|
|
13
16
|
baseConfiguration: linearPileupDisplayConfigSchemaFactory(pluginManager),
|
|
14
17
|
explicitlyTyped: true,
|
|
15
18
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
1
|
+
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
export default function LGVSyntenyDisplayF(pluginManager: PluginManager): void;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import DisplayType from '@jbrowse/core/pluggableElementTypes/DisplayType';
|
|
2
|
+
import { BaseLinearDisplayComponent } from '@jbrowse/plugin-linear-genome-view';
|
|
2
3
|
import configSchemaF from './configSchemaF';
|
|
3
4
|
import stateModelF from './model';
|
|
4
|
-
import { BaseLinearDisplayComponent } from '@jbrowse/plugin-linear-genome-view';
|
|
5
5
|
export default function LGVSyntenyDisplayF(pluginManager) {
|
|
6
6
|
pluginManager.addDisplayType(() => {
|
|
7
7
|
const configSchema = configSchemaF(pluginManager);
|
|
@@ -1,24 +1,9 @@
|
|
|
1
|
-
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
2
|
-
import { Feature } from '@jbrowse/core/util';
|
|
3
|
-
/**
|
|
4
|
-
* #stateModel LGVSyntenyDisplay
|
|
5
|
-
* displays location of "synteny" feature in a plain LGV, allowing linking out
|
|
6
|
-
* to external synteny views
|
|
7
|
-
*
|
|
8
|
-
* extends
|
|
9
|
-
* - [SharedLinearPileupDisplayMixin](../sharedlinearpileupdisplaymixin)
|
|
10
|
-
*/
|
|
1
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
2
|
+
import type { Feature } from '@jbrowse/core/util';
|
|
11
3
|
declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
12
4
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
13
5
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
14
|
-
rpcDriverName: import("mobx-state-tree"
|
|
15
|
-
* #stateModel LGVSyntenyDisplay
|
|
16
|
-
* displays location of "synteny" feature in a plain LGV, allowing linking out
|
|
17
|
-
* to external synteny views
|
|
18
|
-
*
|
|
19
|
-
* extends
|
|
20
|
-
* - [SharedLinearPileupDisplayMixin](../sharedlinearpileupdisplaymixin)
|
|
21
|
-
*/).IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
6
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
22
7
|
} & {
|
|
23
8
|
heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
24
9
|
} & {
|
|
@@ -27,23 +12,12 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
27
12
|
} & {
|
|
28
13
|
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
29
14
|
key: import("mobx-state-tree").ISimpleType<string>;
|
|
30
|
-
region: import("mobx-state-tree").
|
|
31
|
-
refName: import("mobx-state-tree").ISimpleType<string>;
|
|
32
|
-
start: import("mobx-state-tree").ISimpleType<number>;
|
|
33
|
-
end: import("mobx-state-tree").ISimpleType<number>;
|
|
34
|
-
reversed: import("mobx-state-tree" /**
|
|
35
|
-
* #property
|
|
36
|
-
*/).IOptionalIType<import("mobx-state-tree").ISimpleType<boolean>, [undefined]>;
|
|
37
|
-
} & {
|
|
38
|
-
assemblyName: import("mobx-state-tree").ISimpleType<string>;
|
|
39
|
-
}, {
|
|
40
|
-
setRefName(newRefName: string): void;
|
|
41
|
-
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
15
|
+
region: import("mobx-state-tree").IType<import("@jbrowse/core/util").Region, import("@jbrowse/core/util").Region, import("@jbrowse/core/util").Region>;
|
|
42
16
|
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
43
17
|
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
44
18
|
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
45
19
|
}, {
|
|
46
|
-
|
|
20
|
+
stopToken: string | undefined;
|
|
47
21
|
filled: boolean;
|
|
48
22
|
reactElement: React.ReactElement | undefined;
|
|
49
23
|
features: Map<string, Feature> | undefined;
|
|
@@ -67,15 +41,9 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
67
41
|
doReload(): void;
|
|
68
42
|
afterAttach(): void;
|
|
69
43
|
setStatus(message: string): void;
|
|
70
|
-
setLoading(
|
|
44
|
+
setLoading(newStopToken: string): void;
|
|
71
45
|
setMessage(messageText: string): void;
|
|
72
|
-
setRendered(props:
|
|
73
|
-
reactElement: React.ReactElement;
|
|
74
|
-
features: Map<string, Feature>;
|
|
75
|
-
layout: any;
|
|
76
|
-
maxHeightReached: boolean;
|
|
77
|
-
renderProps: any;
|
|
78
|
-
} | undefined): void;
|
|
46
|
+
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock").RenderedProps | undefined): void;
|
|
79
47
|
setError(error: unknown): void;
|
|
80
48
|
reload(): void;
|
|
81
49
|
beforeDestroy(): void;
|
|
@@ -114,29 +82,11 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
114
82
|
noSpacing: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
115
83
|
fadeLikelihood: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
116
84
|
trackMaxHeight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
tag: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
120
|
-
extra: import("mobx-state-tree").IType<any, any, any>;
|
|
121
|
-
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
122
|
-
filterBy: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IModelType<{
|
|
123
|
-
flagInclude: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
124
|
-
flagExclude: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<number>, [undefined]>;
|
|
125
|
-
readName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
126
|
-
tagFilter: import("mobx-state-tree").IMaybe<import("mobx-state-tree").IModelType<{
|
|
127
|
-
tag: import("mobx-state-tree").ISimpleType<string>;
|
|
128
|
-
value: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
129
|
-
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
130
|
-
}, {}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>, [undefined]>;
|
|
85
|
+
colorBySetting: import("mobx-state-tree").IType<import("@jbrowse/plugin-alignments/src/shared/types").ColorBy | undefined, import("@jbrowse/plugin-alignments/src/shared/types").ColorBy | undefined, import("@jbrowse/plugin-alignments/src/shared/types").ColorBy | undefined>;
|
|
86
|
+
filterBySetting: import("mobx-state-tree").IType<import("@jbrowse/plugin-alignments/src/shared/types").FilterBy | undefined, import("@jbrowse/plugin-alignments/src/shared/types").FilterBy | undefined, import("@jbrowse/plugin-alignments/src/shared/types").FilterBy | undefined>;
|
|
131
87
|
jexlFilters: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
132
88
|
} & {
|
|
133
|
-
/**
|
|
134
|
-
* #property
|
|
135
|
-
*/
|
|
136
89
|
type: import("mobx-state-tree").ISimpleType<"LGVSyntenyDisplay">;
|
|
137
|
-
/**
|
|
138
|
-
* #property
|
|
139
|
-
*/
|
|
140
90
|
configuration: AnyConfigurationSchemaType;
|
|
141
91
|
}, {
|
|
142
92
|
rendererTypeName: string;
|
|
@@ -227,6 +177,7 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
227
177
|
readonly regionTooLarge: boolean;
|
|
228
178
|
readonly regionTooLargeReason: string;
|
|
229
179
|
} & {
|
|
180
|
+
readonly statsReadyAndRegionNotTooLarge: boolean;
|
|
230
181
|
regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
|
|
231
182
|
regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
|
|
232
183
|
} & {
|
|
@@ -267,6 +218,9 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
267
218
|
colorTagMap: import("mobx").ObservableMap<string, string>;
|
|
268
219
|
featureUnderMouseVolatile: undefined | Feature;
|
|
269
220
|
tagsReady: boolean;
|
|
221
|
+
} & {
|
|
222
|
+
readonly colorBy: any;
|
|
223
|
+
readonly filterBy: any;
|
|
270
224
|
} & {
|
|
271
225
|
readonly autorunReady: boolean;
|
|
272
226
|
} & {
|
|
@@ -274,17 +228,13 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
274
228
|
setMaxHeight(n?: number): void;
|
|
275
229
|
setFeatureHeight(n?: number): void;
|
|
276
230
|
setNoSpacing(flag?: boolean): void;
|
|
277
|
-
setColorScheme(colorScheme:
|
|
278
|
-
type: string;
|
|
279
|
-
tag?: string;
|
|
280
|
-
extra?: import("@jbrowse/plugin-alignments/src/shared/color").ExtraColorBy;
|
|
281
|
-
}): void;
|
|
231
|
+
setColorScheme(colorScheme: import("@jbrowse/plugin-alignments/src/shared/types").ColorBy): void;
|
|
282
232
|
updateColorTagMap(uniqueTag: string[]): void;
|
|
283
233
|
setFeatureUnderMouse(feat?: Feature): void;
|
|
284
234
|
selectFeature(feature: Feature): void;
|
|
285
235
|
copyFeatureToClipboard(feature: Feature): void;
|
|
286
236
|
setConfig(conf: import("@jbrowse/core/configuration").AnyConfigurationModel): void;
|
|
287
|
-
setFilterBy(filter: import("@jbrowse/plugin-alignments/src/shared").
|
|
237
|
+
setFilterBy(filter: import("@jbrowse/plugin-alignments/src/shared/types").FilterBy): void;
|
|
288
238
|
setJexlFilters(filters: string[]): void;
|
|
289
239
|
} & {
|
|
290
240
|
readonly rendererConfig: {
|
|
@@ -319,12 +269,7 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
319
269
|
})[];
|
|
320
270
|
readonly DisplayBlurb: ({ model, }: {
|
|
321
271
|
model: {
|
|
322
|
-
sortedBy?:
|
|
323
|
-
pos: number;
|
|
324
|
-
refName: number;
|
|
325
|
-
type: string;
|
|
326
|
-
tag?: string;
|
|
327
|
-
};
|
|
272
|
+
sortedBy?: import("@jbrowse/plugin-alignments/src/shared/types").SortedBy;
|
|
328
273
|
};
|
|
329
274
|
}) => import("react").JSX.Element | null;
|
|
330
275
|
renderPropsPre(): any;
|
|
@@ -344,14 +289,8 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
344
289
|
} & {
|
|
345
290
|
afterAttach(): void;
|
|
346
291
|
} & {
|
|
347
|
-
/**
|
|
348
|
-
* #method
|
|
349
|
-
*/
|
|
350
292
|
contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
|
|
351
293
|
} & {
|
|
352
|
-
/**
|
|
353
|
-
* #method
|
|
354
|
-
*/
|
|
355
294
|
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 | {
|
|
356
295
|
label: string;
|
|
357
296
|
subMenu: {
|
|
@@ -360,10 +299,94 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
|
|
|
360
299
|
}[];
|
|
361
300
|
})[];
|
|
362
301
|
} & {
|
|
363
|
-
/**
|
|
364
|
-
* #action
|
|
365
|
-
*/
|
|
366
302
|
selectFeature(feature: Feature): void;
|
|
367
303
|
afterCreate(): void;
|
|
368
|
-
},
|
|
304
|
+
}, {
|
|
305
|
+
type: string;
|
|
306
|
+
} & Partial<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
|
|
307
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
308
|
+
type: import("mobx-state-tree").ISimpleType<string>;
|
|
309
|
+
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
310
|
+
} & {
|
|
311
|
+
heightPreConfig: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
312
|
+
} & {
|
|
313
|
+
userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
314
|
+
userByteSizeLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
315
|
+
} & {
|
|
316
|
+
blockState: import("mobx-state-tree").IMapType<import("mobx-state-tree").IModelType<{
|
|
317
|
+
key: import("mobx-state-tree").ISimpleType<string>;
|
|
318
|
+
region: import("mobx-state-tree").IType<import("@jbrowse/core/util").Region, import("@jbrowse/core/util").Region, import("@jbrowse/core/util").Region>;
|
|
319
|
+
reloadFlag: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
320
|
+
isLeftEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
321
|
+
isRightEndOfDisplayedRegion: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
322
|
+
}, {
|
|
323
|
+
stopToken: string | undefined;
|
|
324
|
+
filled: boolean;
|
|
325
|
+
reactElement: React.ReactElement | undefined;
|
|
326
|
+
features: Map<string, Feature> | undefined;
|
|
327
|
+
layout: any;
|
|
328
|
+
status: string;
|
|
329
|
+
error: unknown;
|
|
330
|
+
message: string | undefined;
|
|
331
|
+
maxHeightReached: boolean;
|
|
332
|
+
ReactComponent: ({ model, }: {
|
|
333
|
+
model: {
|
|
334
|
+
error?: unknown;
|
|
335
|
+
reload: () => void;
|
|
336
|
+
message: React.ReactNode;
|
|
337
|
+
filled?: boolean;
|
|
338
|
+
status?: string;
|
|
339
|
+
reactElement?: React.ReactElement;
|
|
340
|
+
};
|
|
341
|
+
}) => import("react").JSX.Element | undefined;
|
|
342
|
+
renderProps: any;
|
|
343
|
+
} & {
|
|
344
|
+
doReload(): void;
|
|
345
|
+
afterAttach(): void;
|
|
346
|
+
setStatus(message: string): void;
|
|
347
|
+
setLoading(newStopToken: string): void;
|
|
348
|
+
setMessage(messageText: string): void;
|
|
349
|
+
setRendered(props: import("@jbrowse/plugin-linear-genome-view/src/BaseLinearDisplay/models/serverSideRenderedBlock").RenderedProps | undefined): void;
|
|
350
|
+
setError(error: unknown): void;
|
|
351
|
+
reload(): void;
|
|
352
|
+
beforeDestroy(): void;
|
|
353
|
+
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
354
|
+
configuration: import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
|
|
355
|
+
maxFeatureScreenDensity: {
|
|
356
|
+
type: string;
|
|
357
|
+
description: string;
|
|
358
|
+
defaultValue: number;
|
|
359
|
+
};
|
|
360
|
+
fetchSizeLimit: {
|
|
361
|
+
type: string;
|
|
362
|
+
defaultValue: number;
|
|
363
|
+
description: string;
|
|
364
|
+
};
|
|
365
|
+
height: {
|
|
366
|
+
type: string;
|
|
367
|
+
defaultValue: number;
|
|
368
|
+
description: string;
|
|
369
|
+
};
|
|
370
|
+
mouseover: {
|
|
371
|
+
type: string;
|
|
372
|
+
description: string;
|
|
373
|
+
defaultValue: string;
|
|
374
|
+
contextVariable: string[];
|
|
375
|
+
};
|
|
376
|
+
jexlFilters: {
|
|
377
|
+
type: string;
|
|
378
|
+
description: string;
|
|
379
|
+
defaultValue: never[];
|
|
380
|
+
};
|
|
381
|
+
}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
382
|
+
} & {
|
|
383
|
+
configuration: AnyConfigurationSchemaType;
|
|
384
|
+
featureHeight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
385
|
+
noSpacing: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
386
|
+
fadeLikelihood: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<boolean>>;
|
|
387
|
+
trackMaxHeight: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
|
|
388
|
+
colorBySetting: import("mobx-state-tree").IType<import("@jbrowse/plugin-alignments/src/shared/types").ColorBy | undefined, import("@jbrowse/plugin-alignments/src/shared/types").ColorBy | undefined, import("@jbrowse/plugin-alignments/src/shared/types").ColorBy | undefined>;
|
|
389
|
+
filterBySetting: import("mobx-state-tree").IType<import("@jbrowse/plugin-alignments/src/shared/types").FilterBy | undefined, import("@jbrowse/plugin-alignments/src/shared/types").FilterBy | undefined, import("@jbrowse/plugin-alignments/src/shared/types").FilterBy | undefined>;
|
|
390
|
+
jexlFilters: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
|
|
391
|
+
}>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
369
392
|
export default stateModelFactory;
|
|
@@ -1,35 +1,18 @@
|
|
|
1
1
|
import { lazy } from 'react';
|
|
2
|
-
import { ConfigurationReference, getConf
|
|
2
|
+
import { ConfigurationReference, getConf } from '@jbrowse/core/configuration';
|
|
3
3
|
import { getContainingTrack, getContainingView, getSession, isSessionModelWithWidgets, } from '@jbrowse/core/util';
|
|
4
4
|
import { SharedLinearPileupDisplayMixin } from '@jbrowse/plugin-alignments';
|
|
5
5
|
import { types } from 'mobx-state-tree';
|
|
6
6
|
const LaunchSyntenyViewDialog = lazy(() => import('./components/LaunchSyntenyViewDialog'));
|
|
7
|
-
/**
|
|
8
|
-
* #stateModel LGVSyntenyDisplay
|
|
9
|
-
* displays location of "synteny" feature in a plain LGV, allowing linking out
|
|
10
|
-
* to external synteny views
|
|
11
|
-
*
|
|
12
|
-
* extends
|
|
13
|
-
* - [SharedLinearPileupDisplayMixin](../sharedlinearpileupdisplaymixin)
|
|
14
|
-
*/
|
|
15
7
|
function stateModelFactory(schema) {
|
|
16
8
|
return types
|
|
17
9
|
.compose('LGVSyntenyDisplay', SharedLinearPileupDisplayMixin(schema), types.model({
|
|
18
|
-
/**
|
|
19
|
-
* #property
|
|
20
|
-
*/
|
|
21
10
|
type: types.literal('LGVSyntenyDisplay'),
|
|
22
|
-
/**
|
|
23
|
-
* #property
|
|
24
|
-
*/
|
|
25
11
|
configuration: ConfigurationReference(schema),
|
|
26
12
|
}))
|
|
27
13
|
.views(self => {
|
|
28
14
|
const superContextMenuItems = self.contextMenuItems;
|
|
29
15
|
return {
|
|
30
|
-
/**
|
|
31
|
-
* #method
|
|
32
|
-
*/
|
|
33
16
|
contextMenuItems() {
|
|
34
17
|
const feature = self.contextMenuFeature;
|
|
35
18
|
return [
|
|
@@ -59,9 +42,6 @@ function stateModelFactory(schema) {
|
|
|
59
42
|
.views(self => {
|
|
60
43
|
const { trackMenuItems: superTrackMenuItems, colorSchemeSubMenuItems: superColorSchemeSubMenuItems, } = self;
|
|
61
44
|
return {
|
|
62
|
-
/**
|
|
63
|
-
* #method
|
|
64
|
-
*/
|
|
65
45
|
trackMenuItems() {
|
|
66
46
|
return [
|
|
67
47
|
...superTrackMenuItems(),
|
|
@@ -74,9 +54,6 @@ function stateModelFactory(schema) {
|
|
|
74
54
|
};
|
|
75
55
|
})
|
|
76
56
|
.actions(self => ({
|
|
77
|
-
/**
|
|
78
|
-
* #action
|
|
79
|
-
*/
|
|
80
57
|
selectFeature(feature) {
|
|
81
58
|
const session = getSession(self);
|
|
82
59
|
if (isSessionModelWithWidgets(session)) {
|
|
@@ -96,12 +73,7 @@ function stateModelFactory(schema) {
|
|
|
96
73
|
session.setSelection(feature);
|
|
97
74
|
},
|
|
98
75
|
afterCreate() {
|
|
99
|
-
|
|
100
|
-
// otherwise use selected orientation
|
|
101
|
-
if (self.colorBy) {
|
|
102
|
-
self.setColorScheme({ ...self.colorBy });
|
|
103
|
-
}
|
|
104
|
-
else {
|
|
76
|
+
if (!self.colorBySetting && self.colorBy.type === 'normal') {
|
|
105
77
|
self.setColorScheme({ type: 'strand' });
|
|
106
78
|
}
|
|
107
79
|
},
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
1
|
+
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
export default function LaunchLinearSyntenyView(pluginManager: PluginManager): void;
|
|
@@ -4,9 +4,7 @@ function makeMultiDimArray(str) {
|
|
|
4
4
|
return Array.isArray(str[0]) ? str : [str];
|
|
5
5
|
}
|
|
6
6
|
export default function LaunchLinearSyntenyView(pluginManager) {
|
|
7
|
-
pluginManager.addToExtensionPoint('LaunchView-LinearSyntenyView',
|
|
8
|
-
// @ts-expect-error
|
|
9
|
-
async ({ session, views, tracks = [], }) => {
|
|
7
|
+
pluginManager.addToExtensionPoint('LaunchView-LinearSyntenyView', async ({ session, views, tracks = [], }) => {
|
|
10
8
|
try {
|
|
11
9
|
const { assemblyManager } = session;
|
|
12
10
|
const model = session.addView('LinearSyntenyView', {});
|
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* #config LinearComparativeDisplay
|
|
3
|
-
*/
|
|
4
1
|
declare function configSchemaFactory(_pluginManager: any): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<undefined, "displayId">>;
|
|
5
2
|
export default configSchemaFactory;
|
|
@@ -1,13 +1,7 @@
|
|
|
1
1
|
import { ConfigurationSchema } from '@jbrowse/core/configuration';
|
|
2
|
-
/**
|
|
3
|
-
* #config LinearComparativeDisplay
|
|
4
|
-
*/
|
|
5
2
|
function configSchemaFactory(_pluginManager) {
|
|
6
3
|
return ConfigurationSchema('LinearComparativeDisplay', {}, {
|
|
7
4
|
explicitlyTyped: true,
|
|
8
|
-
/**
|
|
9
|
-
* #identifier
|
|
10
|
-
*/
|
|
11
5
|
explicitIdentifier: 'displayId',
|
|
12
6
|
});
|
|
13
7
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import PluginManager from '@jbrowse/core/PluginManager';
|
|
1
|
+
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
2
2
|
export default function LinearComparativeDisplayF(pluginManager: PluginManager): void;
|
|
@@ -1,23 +1,12 @@
|
|
|
1
|
-
import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
/**
|
|
5
|
-
* #stateModel LinearComparativeDisplay
|
|
6
|
-
* extends
|
|
7
|
-
* - [BaseDisplay](../basedisplay)
|
|
8
|
-
*/
|
|
1
|
+
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
2
|
+
import type { Feature } from '@jbrowse/core/util';
|
|
3
|
+
import type { Instance } from 'mobx-state-tree';
|
|
9
4
|
declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): import("mobx-state-tree").IModelType<{
|
|
10
5
|
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
11
6
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
12
7
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
13
8
|
} & {
|
|
14
|
-
/**
|
|
15
|
-
* #property
|
|
16
|
-
*/
|
|
17
9
|
type: import("mobx-state-tree").ISimpleType<"LinearComparativeDisplay">;
|
|
18
|
-
/**
|
|
19
|
-
* #property
|
|
20
|
-
*/
|
|
21
10
|
configuration: AnyConfigurationSchemaType;
|
|
22
11
|
}, {
|
|
23
12
|
rendererTypeName: string;
|
|
@@ -43,10 +32,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
43
32
|
message: string | undefined;
|
|
44
33
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
45
34
|
onHorizontalScroll?: () => void;
|
|
46
|
-
blockState
|
|
47
|
-
* #action
|
|
48
|
-
* controlled by a reaction
|
|
49
|
-
*/: Record<string, any>;
|
|
35
|
+
blockState?: Record<string, any>;
|
|
50
36
|
}>;
|
|
51
37
|
readonly DisplayBlurb: React.FC<{
|
|
52
38
|
model: {
|
|
@@ -58,10 +44,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
58
44
|
error: unknown;
|
|
59
45
|
message: string | undefined;
|
|
60
46
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
61
|
-
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree"
|
|
62
|
-
* #action
|
|
63
|
-
* controlled by a reaction
|
|
64
|
-
*/).ISimpleType<string>, [undefined]>;
|
|
47
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
65
48
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
66
49
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
67
50
|
}, {
|
|
@@ -84,21 +67,12 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
84
67
|
setRpcDriverName(rpcDriverName: string): void;
|
|
85
68
|
reload(): void;
|
|
86
69
|
} & {
|
|
87
|
-
renderInProgress:
|
|
70
|
+
renderInProgress: string | undefined;
|
|
88
71
|
features: Feature[] | undefined;
|
|
89
72
|
message: string | undefined;
|
|
90
73
|
} & {
|
|
91
|
-
/**
|
|
92
|
-
* #getter
|
|
93
|
-
*/
|
|
94
74
|
readonly level: number;
|
|
95
|
-
/**
|
|
96
|
-
* #getter
|
|
97
|
-
*/
|
|
98
75
|
readonly height: number;
|
|
99
|
-
/**
|
|
100
|
-
* #getter
|
|
101
|
-
*/
|
|
102
76
|
renderProps(): {
|
|
103
77
|
rpcDriverName: string | undefined;
|
|
104
78
|
displayModel: {
|
|
@@ -140,10 +114,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
140
114
|
message: string | undefined;
|
|
141
115
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
142
116
|
onHorizontalScroll?: () => void;
|
|
143
|
-
blockState
|
|
144
|
-
* #action
|
|
145
|
-
* controlled by a reaction
|
|
146
|
-
*/: Record<string, any>;
|
|
117
|
+
blockState?: Record<string, any>;
|
|
147
118
|
}>;
|
|
148
119
|
readonly DisplayBlurb: React.FC<{
|
|
149
120
|
model: {
|
|
@@ -155,10 +126,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
155
126
|
error: unknown;
|
|
156
127
|
message: string | undefined;
|
|
157
128
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
158
|
-
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree"
|
|
159
|
-
* #action
|
|
160
|
-
* controlled by a reaction
|
|
161
|
-
*/).ISimpleType<string>, [undefined]>;
|
|
129
|
+
id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
162
130
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
163
131
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
164
132
|
}, {
|
|
@@ -181,7 +149,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
181
149
|
setRpcDriverName(rpcDriverName: string): void;
|
|
182
150
|
reload(): void;
|
|
183
151
|
} & {
|
|
184
|
-
renderInProgress:
|
|
152
|
+
renderInProgress: string | undefined;
|
|
185
153
|
features: Feature[] | undefined;
|
|
186
154
|
message: string | undefined;
|
|
187
155
|
} & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
|
|
@@ -189,13 +157,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
189
157
|
type: import("mobx-state-tree").ISimpleType<string>;
|
|
190
158
|
rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
|
|
191
159
|
} & {
|
|
192
|
-
/**
|
|
193
|
-
* #property
|
|
194
|
-
*/
|
|
195
160
|
type: import("mobx-state-tree").ISimpleType<"LinearComparativeDisplay">;
|
|
196
|
-
/**
|
|
197
|
-
* #property
|
|
198
|
-
*/
|
|
199
161
|
configuration: AnyConfigurationSchemaType;
|
|
200
162
|
}, {
|
|
201
163
|
rendererTypeName: string;
|
|
@@ -221,10 +183,7 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
221
183
|
message: string | undefined;
|
|
222
184
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
223
185
|
onHorizontalScroll?: () => void;
|
|
224
|
-
blockState
|
|
225
|
-
* #action
|
|
226
|
-
* controlled by a reaction
|
|
227
|
-
*/: Record<string, any>;
|
|
186
|
+
blockState?: Record<string, any>;
|
|
228
187
|
}>;
|
|
229
188
|
readonly DisplayBlurb: React.FC<{
|
|
230
189
|
model: {
|
|
@@ -259,34 +218,18 @@ declare function stateModelFactory(configSchema: AnyConfigurationSchemaType): im
|
|
|
259
218
|
setRpcDriverName(rpcDriverName: string): void;
|
|
260
219
|
reload(): void;
|
|
261
220
|
} & {
|
|
262
|
-
renderInProgress:
|
|
221
|
+
renderInProgress: string | undefined;
|
|
263
222
|
features: Feature[] | undefined;
|
|
264
223
|
message: string | undefined;
|
|
265
224
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
|
|
266
225
|
highResolutionScaling: number;
|
|
267
226
|
};
|
|
268
227
|
} & {
|
|
269
|
-
|
|
270
|
-
* #action
|
|
271
|
-
* controlled by a reaction
|
|
272
|
-
*/
|
|
273
|
-
setLoading(abortController: AbortController): void;
|
|
274
|
-
/**
|
|
275
|
-
* #action
|
|
276
|
-
* controlled by a reaction
|
|
277
|
-
*/
|
|
228
|
+
setLoading(newStopToken: string): void;
|
|
278
229
|
setMessage(messageText: string): void;
|
|
279
|
-
/**
|
|
280
|
-
* #action
|
|
281
|
-
* controlled by a reaction
|
|
282
|
-
*/
|
|
283
230
|
setRendered(args?: {
|
|
284
231
|
features: Feature[];
|
|
285
232
|
}): void;
|
|
286
|
-
/**
|
|
287
|
-
* #action
|
|
288
|
-
* controlled by a reaction
|
|
289
|
-
*/
|
|
290
233
|
setError(error: unknown): void;
|
|
291
234
|
} & {
|
|
292
235
|
afterAttach(): void;
|