@jbrowse/plugin-linear-comparative-view 2.17.0 → 2.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. package/dist/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.d.ts +1 -1
  2. package/dist/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.js +0 -2
  3. package/dist/LGVSyntenyDisplay/components/util.d.ts +3 -3
  4. package/dist/LGVSyntenyDisplay/components/util.js +0 -1
  5. package/dist/LGVSyntenyDisplay/configSchemaF.d.ts +19 -10
  6. package/dist/LGVSyntenyDisplay/configSchemaF.js +12 -9
  7. package/dist/LGVSyntenyDisplay/index.d.ts +1 -1
  8. package/dist/LGVSyntenyDisplay/index.js +1 -1
  9. package/dist/LGVSyntenyDisplay/model.d.ts +102 -63
  10. package/dist/LGVSyntenyDisplay/model.js +1 -29
  11. package/dist/LaunchLinearSyntenyView.d.ts +1 -1
  12. package/dist/LaunchLinearSyntenyView.js +1 -3
  13. package/dist/LinearComparativeDisplay/configSchemaF.d.ts +0 -3
  14. package/dist/LinearComparativeDisplay/configSchemaF.js +0 -6
  15. package/dist/LinearComparativeDisplay/index.d.ts +1 -1
  16. package/dist/LinearComparativeDisplay/stateModelFactory.d.ts +12 -69
  17. package/dist/LinearComparativeDisplay/stateModelFactory.js +13 -57
  18. package/dist/LinearComparativeView/components/Header.d.ts +1 -1
  19. package/dist/LinearComparativeView/components/Header.js +4 -5
  20. package/dist/LinearComparativeView/components/HeaderSearchBoxes.d.ts +1 -1
  21. package/dist/LinearComparativeView/components/HeaderSearchBoxes.js +3 -4
  22. package/dist/LinearComparativeView/components/LinearComparativeRenderArea.d.ts +1 -1
  23. package/dist/LinearComparativeView/components/LinearComparativeRenderArea.js +8 -15
  24. package/dist/LinearComparativeView/components/LinearComparativeView.d.ts +1 -1
  25. package/dist/LinearComparativeView/components/LinearComparativeView.js +2 -4
  26. package/dist/LinearComparativeView/components/Rubberband.d.ts +1 -1
  27. package/dist/LinearComparativeView/components/Rubberband.js +17 -19
  28. package/dist/LinearComparativeView/components/VerticalGuide.d.ts +1 -1
  29. package/dist/LinearComparativeView/components/VerticalGuide.js +1 -1
  30. package/dist/LinearComparativeView/index.d.ts +1 -1
  31. package/dist/LinearComparativeView/model.d.ts +6 -62
  32. package/dist/LinearComparativeView/model.js +3 -99
  33. package/dist/LinearReadVsRef/LinearReadVsRef.d.ts +1 -1
  34. package/dist/LinearReadVsRef/LinearReadVsRef.js +5 -19
  35. package/dist/LinearReadVsRef/index.d.ts +1 -1
  36. package/dist/LinearReadVsRef/index.js +0 -2
  37. package/dist/LinearSyntenyDisplay/afterAttach.d.ts +1 -1
  38. package/dist/LinearSyntenyDisplay/afterAttach.js +2 -9
  39. package/dist/LinearSyntenyDisplay/components/Component.d.ts +1 -1
  40. package/dist/LinearSyntenyDisplay/components/Component.js +2 -4
  41. package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.d.ts +1 -1
  42. package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +6 -22
  43. package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.d.ts +2 -2
  44. package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.js +1 -1
  45. package/dist/LinearSyntenyDisplay/components/SyntenyTooltip.js +1 -1
  46. package/dist/LinearSyntenyDisplay/components/util.d.ts +3 -3
  47. package/dist/LinearSyntenyDisplay/components/util.js +0 -9
  48. package/dist/LinearSyntenyDisplay/configSchemaF.d.ts +1 -12
  49. package/dist/LinearSyntenyDisplay/configSchemaF.js +0 -15
  50. package/dist/LinearSyntenyDisplay/drawSynteny.d.ts +1 -1
  51. package/dist/LinearSyntenyDisplay/drawSynteny.js +1 -23
  52. package/dist/LinearSyntenyDisplay/index.d.ts +1 -1
  53. package/dist/LinearSyntenyDisplay/index.js +1 -2
  54. package/dist/LinearSyntenyDisplay/model.d.ts +8 -102
  55. package/dist/LinearSyntenyDisplay/model.js +1 -92
  56. package/dist/LinearSyntenyView/components/ExportSvgDialog.d.ts +1 -1
  57. package/dist/LinearSyntenyView/components/ExportSvgDialog.js +2 -4
  58. package/dist/LinearSyntenyView/components/Icons.d.ts +1 -1
  59. package/dist/LinearSyntenyView/components/ImportForm/AddCustomTrack.d.ts +2 -2
  60. package/dist/LinearSyntenyView/components/ImportForm/AddCustomTrack.js +1 -1
  61. package/dist/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.d.ts +1 -1
  62. package/dist/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.js +6 -8
  63. package/dist/LinearSyntenyView/components/ImportForm/TrackSelector.d.ts +1 -1
  64. package/dist/LinearSyntenyView/components/ImportForm/TrackSelector.js +3 -5
  65. package/dist/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.d.ts +3 -3
  66. package/dist/LinearSyntenyView/components/ImportForm/util.js +1 -3
  67. package/dist/LinearSyntenyView/components/LinearSyntenyView.d.ts +1 -1
  68. package/dist/LinearSyntenyView/components/LinearSyntenyView.js +0 -1
  69. package/dist/LinearSyntenyView/index.d.ts +1 -1
  70. package/dist/LinearSyntenyView/model.d.ts +5 -28
  71. package/dist/LinearSyntenyView/model.js +4 -41
  72. package/dist/LinearSyntenyView/svgcomponents/SVGBackground.js +1 -1
  73. package/dist/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.d.ts +1 -1
  74. package/dist/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.js +1 -1
  75. package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.d.ts +1 -1
  76. package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +5 -10
  77. package/dist/LinearSyntenyViewHelper/index.d.ts +1 -1
  78. package/dist/LinearSyntenyViewHelper/stateModelFactory.d.ts +2 -14
  79. package/dist/LinearSyntenyViewHelper/stateModelFactory.js +2 -29
  80. package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +1 -1
  81. package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.js +4 -13
  82. package/dist/SyntenyFeatureDetail/index.d.ts +1 -1
  83. package/dist/SyntenyFeatureDetail/index.js +1 -7
  84. package/dist/SyntenyTrack/configSchema.d.ts +1 -1
  85. package/dist/SyntenyTrack/configSchema.js +1 -9
  86. package/dist/SyntenyTrack/index.d.ts +1 -1
  87. package/dist/SyntenyTrack/index.js +1 -1
  88. package/dist/index.d.ts +1 -1
  89. package/dist/index.js +4 -4
  90. package/dist/util.d.ts +2 -2
  91. package/dist/util.js +1 -11
  92. package/esm/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.d.ts +1 -1
  93. package/esm/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.js +0 -2
  94. package/esm/LGVSyntenyDisplay/components/util.d.ts +3 -3
  95. package/esm/LGVSyntenyDisplay/components/util.js +0 -1
  96. package/esm/LGVSyntenyDisplay/configSchemaF.d.ts +19 -10
  97. package/esm/LGVSyntenyDisplay/configSchemaF.js +12 -9
  98. package/esm/LGVSyntenyDisplay/index.d.ts +1 -1
  99. package/esm/LGVSyntenyDisplay/index.js +1 -1
  100. package/esm/LGVSyntenyDisplay/model.d.ts +102 -63
  101. package/esm/LGVSyntenyDisplay/model.js +2 -30
  102. package/esm/LaunchLinearSyntenyView.d.ts +1 -1
  103. package/esm/LaunchLinearSyntenyView.js +1 -3
  104. package/esm/LinearComparativeDisplay/configSchemaF.d.ts +0 -3
  105. package/esm/LinearComparativeDisplay/configSchemaF.js +0 -6
  106. package/esm/LinearComparativeDisplay/index.d.ts +1 -1
  107. package/esm/LinearComparativeDisplay/stateModelFactory.d.ts +12 -69
  108. package/esm/LinearComparativeDisplay/stateModelFactory.js +14 -58
  109. package/esm/LinearComparativeView/components/Header.d.ts +1 -1
  110. package/esm/LinearComparativeView/components/Header.js +4 -5
  111. package/esm/LinearComparativeView/components/HeaderSearchBoxes.d.ts +1 -1
  112. package/esm/LinearComparativeView/components/HeaderSearchBoxes.js +3 -4
  113. package/esm/LinearComparativeView/components/LinearComparativeRenderArea.d.ts +1 -1
  114. package/esm/LinearComparativeView/components/LinearComparativeRenderArea.js +8 -15
  115. package/esm/LinearComparativeView/components/LinearComparativeView.d.ts +1 -1
  116. package/esm/LinearComparativeView/components/LinearComparativeView.js +2 -4
  117. package/esm/LinearComparativeView/components/Rubberband.d.ts +1 -1
  118. package/esm/LinearComparativeView/components/Rubberband.js +18 -20
  119. package/esm/LinearComparativeView/components/VerticalGuide.d.ts +1 -1
  120. package/esm/LinearComparativeView/components/VerticalGuide.js +1 -1
  121. package/esm/LinearComparativeView/index.d.ts +1 -1
  122. package/esm/LinearComparativeView/model.d.ts +6 -62
  123. package/esm/LinearComparativeView/model.js +4 -100
  124. package/esm/LinearReadVsRef/LinearReadVsRef.d.ts +1 -1
  125. package/esm/LinearReadVsRef/LinearReadVsRef.js +5 -19
  126. package/esm/LinearReadVsRef/index.d.ts +1 -1
  127. package/esm/LinearReadVsRef/index.js +1 -3
  128. package/esm/LinearSyntenyDisplay/afterAttach.d.ts +1 -1
  129. package/esm/LinearSyntenyDisplay/afterAttach.js +2 -9
  130. package/esm/LinearSyntenyDisplay/components/Component.d.ts +1 -1
  131. package/esm/LinearSyntenyDisplay/components/Component.js +2 -4
  132. package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.d.ts +1 -1
  133. package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +8 -24
  134. package/esm/LinearSyntenyDisplay/components/SyntenyContextMenu.d.ts +2 -2
  135. package/esm/LinearSyntenyDisplay/components/SyntenyContextMenu.js +1 -1
  136. package/esm/LinearSyntenyDisplay/components/SyntenyTooltip.js +1 -1
  137. package/esm/LinearSyntenyDisplay/components/util.d.ts +3 -3
  138. package/esm/LinearSyntenyDisplay/components/util.js +2 -11
  139. package/esm/LinearSyntenyDisplay/configSchemaF.d.ts +1 -12
  140. package/esm/LinearSyntenyDisplay/configSchemaF.js +0 -15
  141. package/esm/LinearSyntenyDisplay/drawSynteny.d.ts +1 -1
  142. package/esm/LinearSyntenyDisplay/drawSynteny.js +1 -23
  143. package/esm/LinearSyntenyDisplay/index.d.ts +1 -1
  144. package/esm/LinearSyntenyDisplay/index.js +1 -2
  145. package/esm/LinearSyntenyDisplay/model.d.ts +8 -102
  146. package/esm/LinearSyntenyDisplay/model.js +1 -92
  147. package/esm/LinearSyntenyView/components/ExportSvgDialog.d.ts +1 -1
  148. package/esm/LinearSyntenyView/components/ExportSvgDialog.js +2 -4
  149. package/esm/LinearSyntenyView/components/Icons.d.ts +1 -1
  150. package/esm/LinearSyntenyView/components/ImportForm/AddCustomTrack.d.ts +2 -2
  151. package/esm/LinearSyntenyView/components/ImportForm/AddCustomTrack.js +2 -2
  152. package/esm/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.d.ts +1 -1
  153. package/esm/LinearSyntenyView/components/ImportForm/LinearSyntenyImportForm.js +6 -8
  154. package/esm/LinearSyntenyView/components/ImportForm/TrackSelector.d.ts +1 -1
  155. package/esm/LinearSyntenyView/components/ImportForm/TrackSelector.js +4 -6
  156. package/esm/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.d.ts +3 -3
  157. package/esm/LinearSyntenyView/components/ImportForm/TrackSelectorUtil.js +1 -1
  158. package/esm/LinearSyntenyView/components/ImportForm/util.js +1 -3
  159. package/esm/LinearSyntenyView/components/LinearSyntenyView.d.ts +1 -1
  160. package/esm/LinearSyntenyView/components/LinearSyntenyView.js +0 -1
  161. package/esm/LinearSyntenyView/index.d.ts +1 -1
  162. package/esm/LinearSyntenyView/model.d.ts +5 -28
  163. package/esm/LinearSyntenyView/model.js +4 -41
  164. package/esm/LinearSyntenyView/svgcomponents/SVGBackground.js +1 -1
  165. package/esm/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.d.ts +1 -1
  166. package/esm/LinearSyntenyView/svgcomponents/SVGLinearGenomeView.js +2 -2
  167. package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.d.ts +1 -1
  168. package/esm/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +6 -11
  169. package/esm/LinearSyntenyViewHelper/index.d.ts +1 -1
  170. package/esm/LinearSyntenyViewHelper/stateModelFactory.d.ts +2 -14
  171. package/esm/LinearSyntenyViewHelper/stateModelFactory.js +2 -29
  172. package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +1 -1
  173. package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.js +4 -13
  174. package/esm/SyntenyFeatureDetail/index.d.ts +1 -1
  175. package/esm/SyntenyFeatureDetail/index.js +1 -7
  176. package/esm/SyntenyTrack/configSchema.d.ts +1 -1
  177. package/esm/SyntenyTrack/configSchema.js +1 -9
  178. package/esm/SyntenyTrack/index.d.ts +1 -1
  179. package/esm/SyntenyTrack/index.js +1 -1
  180. package/esm/index.d.ts +1 -1
  181. package/esm/index.js +4 -4
  182. package/esm/util.d.ts +2 -2
  183. package/esm/util.js +1 -11
  184. package/package.json +2 -4
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { Feature } from '@jbrowse/core/util';
2
+ import type { Feature } from '@jbrowse/core/util';
3
3
  export default function LaunchSyntenyViewDialog({ model, feature, trackId, handleClose, }: {
4
4
  model: unknown;
5
5
  feature: Feature;
@@ -29,7 +29,6 @@ const ui_1 = require("@jbrowse/core/ui");
29
29
  const util_1 = require("@jbrowse/core/util");
30
30
  const material_1 = require("@mui/material");
31
31
  const mui_1 = require("tss-react/mui");
32
- // locals
33
32
  const util_2 = require("./util");
34
33
  const useStyles = (0, mui_1.makeStyles)()({
35
34
  padding: {
@@ -52,7 +51,6 @@ function LaunchSyntenyViewDialog({ model, feature, trackId, handleClose, }) {
52
51
  } })),
53
52
  react_1.default.createElement(material_1.DialogActions, null,
54
53
  react_1.default.createElement(material_1.Button, { variant: "contained", onClick: () => {
55
- // eslint-disable-next-line @typescript-eslint/no-floating-promises
56
54
  ;
57
55
  (async () => {
58
56
  try {
@@ -1,6 +1,6 @@
1
- import { Feature } from '@jbrowse/core/util';
2
- import { IAnyStateTreeNode } from 'mobx-state-tree';
3
- import { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
1
+ import type { Feature } from '@jbrowse/core/util';
2
+ import type { LinearGenomeViewModel } from '@jbrowse/plugin-linear-genome-view';
3
+ import type { IAnyStateTreeNode } from 'mobx-state-tree';
4
4
  export declare function navToSynteny({ feature, windowSize: ws, model, trackId, view, horizontallyFlip, }: {
5
5
  windowSize: number;
6
6
  trackId: string;
@@ -54,7 +54,6 @@ async function navToSynteny({ feature, windowSize: ws, model, trackId, view, hor
54
54
  const p = parseCigar(cigar);
55
55
  const [fStartX, mStartX] = findPosInCigar(p, regStart - featStart);
56
56
  const [fEndX, mEndX] = findPosInCigar(p, regEnd - featStart);
57
- // avoid multiply by 0 with strand undefined
58
57
  const flipper = strand === -1 ? -1 : 1;
59
58
  rFeatStart = featStart + fStartX;
60
59
  rFeatEnd = featStart + fEndX;
@@ -1,10 +1,10 @@
1
- import PluginManager from '@jbrowse/core/PluginManager';
2
- /**
3
- * #config LGVSyntenyDisplay
4
- * extends config
5
- * - [LinearPileupDisplay](../linearpileupdisplay)
6
- */
7
- declare function configSchemaF(pluginManager: PluginManager): import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{}, import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaOptions<import("@jbrowse/core/configuration/configurationSchema").ConfigurationSchemaType<{
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
- colorScheme: {
21
+ colorBy: {
22
22
  type: string;
23
- model: import("mobx-state-tree").ISimpleType<string>;
24
23
  description: string;
25
- defaultValue: string;
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;
@@ -2,16 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const configuration_1 = require("@jbrowse/core/configuration");
4
4
  const plugin_alignments_1 = require("@jbrowse/plugin-alignments");
5
- /**
6
- * #config LGVSyntenyDisplay
7
- * extends config
8
- * - [LinearPileupDisplay](../linearpileupdisplay)
9
- */
10
5
  function configSchemaF(pluginManager) {
11
- return (0, configuration_1.ConfigurationSchema)('LGVSyntenyDisplay', {}, {
12
- /**
13
- * #baseConfiguration
14
- */
6
+ pluginManager.jexl.addFunction('lgvSyntenyTooltip', (f) => {
7
+ const m = f.get('mate');
8
+ 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)]
9
+ .filter(f => !!f)
10
+ .join('<br/>');
11
+ });
12
+ return (0, configuration_1.ConfigurationSchema)('LGVSyntenyDisplay', {
13
+ mouseover: {
14
+ type: 'string',
15
+ defaultValue: 'jexl:lgvSyntenyTooltip(feature)',
16
+ },
17
+ }, {
15
18
  baseConfiguration: (0, plugin_alignments_1.linearPileupDisplayConfigSchemaFactory)(pluginManager),
16
19
  explicitlyTyped: true,
17
20
  });
@@ -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;
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.default = LGVSyntenyDisplayF;
7
7
  const DisplayType_1 = __importDefault(require("@jbrowse/core/pluggableElementTypes/DisplayType"));
8
+ const plugin_linear_genome_view_1 = require("@jbrowse/plugin-linear-genome-view");
8
9
  const configSchemaF_1 = __importDefault(require("./configSchemaF"));
9
10
  const model_1 = __importDefault(require("./model"));
10
- const plugin_linear_genome_view_1 = require("@jbrowse/plugin-linear-genome-view");
11
11
  function LGVSyntenyDisplayF(pluginManager) {
12
12
  pluginManager.addDisplayType(() => {
13
13
  const configSchema = (0, configSchemaF_1.default)(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").IModelType<{
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
- renderInProgress: AbortController | undefined;
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(abortController: AbortController): void;
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,17 +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
- colorBy: 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>;
118
- filterBy: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<import("@jbrowse/plugin-alignments/src/shared/types").FilterBy, import("@jbrowse/plugin-alignments/src/shared/types").FilterBy, import("@jbrowse/plugin-alignments/src/shared/types").FilterBy>, [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>;
119
87
  jexlFilters: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>, [undefined]>;
120
88
  } & {
121
- /**
122
- * #property
123
- */
124
89
  type: import("mobx-state-tree").ISimpleType<"LGVSyntenyDisplay">;
125
- /**
126
- * #property
127
- */
128
90
  configuration: AnyConfigurationSchemaType;
129
91
  }, {
130
92
  rendererTypeName: string;
@@ -215,6 +177,7 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
215
177
  readonly regionTooLarge: boolean;
216
178
  readonly regionTooLargeReason: string;
217
179
  } & {
180
+ readonly statsReadyAndRegionNotTooLarge: boolean;
218
181
  regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
219
182
  regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): import("react").JSX.Element | null;
220
183
  } & {
@@ -255,6 +218,9 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
255
218
  colorTagMap: import("mobx").ObservableMap<string, string>;
256
219
  featureUnderMouseVolatile: undefined | Feature;
257
220
  tagsReady: boolean;
221
+ } & {
222
+ readonly colorBy: any;
223
+ readonly filterBy: any;
258
224
  } & {
259
225
  readonly autorunReady: boolean;
260
226
  } & {
@@ -303,12 +269,7 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
303
269
  })[];
304
270
  readonly DisplayBlurb: ({ model, }: {
305
271
  model: {
306
- sortedBy?: {
307
- pos: number;
308
- refName: number;
309
- type: string;
310
- tag?: string;
311
- };
272
+ sortedBy?: import("@jbrowse/plugin-alignments/src/shared/types").SortedBy;
312
273
  };
313
274
  }) => import("react").JSX.Element | null;
314
275
  renderPropsPre(): any;
@@ -328,14 +289,8 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
328
289
  } & {
329
290
  afterAttach(): void;
330
291
  } & {
331
- /**
332
- * #method
333
- */
334
292
  contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
335
293
  } & {
336
- /**
337
- * #method
338
- */
339
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 | {
340
295
  label: string;
341
296
  subMenu: {
@@ -344,10 +299,94 @@ declare function stateModelFactory(schema: AnyConfigurationSchemaType): import("
344
299
  }[];
345
300
  })[];
346
301
  } & {
347
- /**
348
- * #action
349
- */
350
302
  selectFeature(feature: Feature): void;
351
303
  afterCreate(): void;
352
- }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
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>;
353
392
  export default stateModelFactory;
@@ -29,32 +29,15 @@ const util_1 = require("@jbrowse/core/util");
29
29
  const plugin_alignments_1 = require("@jbrowse/plugin-alignments");
30
30
  const mobx_state_tree_1 = require("mobx-state-tree");
31
31
  const LaunchSyntenyViewDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./components/LaunchSyntenyViewDialog'))));
32
- /**
33
- * #stateModel LGVSyntenyDisplay
34
- * displays location of "synteny" feature in a plain LGV, allowing linking out
35
- * to external synteny views
36
- *
37
- * extends
38
- * - [SharedLinearPileupDisplayMixin](../sharedlinearpileupdisplaymixin)
39
- */
40
32
  function stateModelFactory(schema) {
41
33
  return mobx_state_tree_1.types
42
34
  .compose('LGVSyntenyDisplay', (0, plugin_alignments_1.SharedLinearPileupDisplayMixin)(schema), mobx_state_tree_1.types.model({
43
- /**
44
- * #property
45
- */
46
35
  type: mobx_state_tree_1.types.literal('LGVSyntenyDisplay'),
47
- /**
48
- * #property
49
- */
50
36
  configuration: (0, configuration_1.ConfigurationReference)(schema),
51
37
  }))
52
38
  .views(self => {
53
39
  const superContextMenuItems = self.contextMenuItems;
54
40
  return {
55
- /**
56
- * #method
57
- */
58
41
  contextMenuItems() {
59
42
  const feature = self.contextMenuFeature;
60
43
  return [
@@ -84,9 +67,6 @@ function stateModelFactory(schema) {
84
67
  .views(self => {
85
68
  const { trackMenuItems: superTrackMenuItems, colorSchemeSubMenuItems: superColorSchemeSubMenuItems, } = self;
86
69
  return {
87
- /**
88
- * #method
89
- */
90
70
  trackMenuItems() {
91
71
  return [
92
72
  ...superTrackMenuItems(),
@@ -99,9 +79,6 @@ function stateModelFactory(schema) {
99
79
  };
100
80
  })
101
81
  .actions(self => ({
102
- /**
103
- * #action
104
- */
105
82
  selectFeature(feature) {
106
83
  const session = (0, util_1.getSession)(self);
107
84
  if ((0, util_1.isSessionModelWithWidgets)(session)) {
@@ -121,12 +98,7 @@ function stateModelFactory(schema) {
121
98
  session.setSelection(feature);
122
99
  },
123
100
  afterCreate() {
124
- // use color by stand to help indicate inversions better on first load,
125
- // otherwise use selected orientation
126
- if (self.colorBy) {
127
- self.setColorScheme({ ...self.colorBy });
128
- }
129
- else {
101
+ if (!self.colorBySetting && self.colorBy.type === 'normal') {
130
102
  self.setColorScheme({ type: 'strand' });
131
103
  }
132
104
  },
@@ -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;
@@ -7,9 +7,7 @@ function makeMultiDimArray(str) {
7
7
  return Array.isArray(str[0]) ? str : [str];
8
8
  }
9
9
  function LaunchLinearSyntenyView(pluginManager) {
10
- pluginManager.addToExtensionPoint('LaunchView-LinearSyntenyView',
11
- // @ts-expect-error
12
- async ({ session, views, tracks = [], }) => {
10
+ pluginManager.addToExtensionPoint('LaunchView-LinearSyntenyView', async ({ session, views, tracks = [], }) => {
13
11
  try {
14
12
  const { assemblyManager } = session;
15
13
  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,15 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const configuration_1 = require("@jbrowse/core/configuration");
4
- /**
5
- * #config LinearComparativeDisplay
6
- */
7
4
  function configSchemaFactory(_pluginManager) {
8
5
  return (0, configuration_1.ConfigurationSchema)('LinearComparativeDisplay', {}, {
9
6
  explicitlyTyped: true,
10
- /**
11
- * #identifier
12
- */
13
7
  explicitIdentifier: 'displayId',
14
8
  });
15
9
  }
@@ -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 { Instance } from 'mobx-state-tree';
3
- import { Feature } from '@jbrowse/core/util';
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: AbortController | undefined;
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: AbortController | undefined;
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: AbortController | undefined;
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;