@jbrowse/plugin-linear-genome-view 2.4.1 → 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.
Files changed (201) hide show
  1. package/dist/BaseLinearDisplay/components/LinearBlocks.d.ts +1 -4
  2. package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +8 -43
  3. package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js.map +1 -1
  4. package/dist/BaseLinearDisplay/components/TooLargeMessage.d.ts +3 -4
  5. package/dist/BaseLinearDisplay/components/TooLargeMessage.js +9 -9
  6. package/dist/BaseLinearDisplay/components/TooLargeMessage.js.map +1 -1
  7. package/dist/BaseLinearDisplay/components/Tooltip.d.ts +0 -1
  8. package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +81 -35
  9. package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js +105 -143
  10. package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -1
  11. package/dist/BaseLinearDisplay/models/configSchema.d.ts +35 -1
  12. package/dist/BaseLinearDisplay/models/configSchema.js +9 -0
  13. package/dist/BaseLinearDisplay/models/configSchema.js.map +1 -1
  14. package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js +10 -6
  15. package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -1
  16. package/dist/BaseLinearDisplay/models/util.d.ts +8 -0
  17. package/dist/BaseLinearDisplay/models/util.js +33 -1
  18. package/dist/BaseLinearDisplay/models/util.js.map +1 -1
  19. package/dist/BasicTrack/configSchema.d.ts +73 -1
  20. package/dist/FeatureTrack/configSchema.d.ts +75 -1
  21. package/dist/LinearBareDisplay/configSchema.d.ts +28 -1
  22. package/dist/LinearBareDisplay/index.js +1 -0
  23. package/dist/LinearBareDisplay/index.js.map +1 -1
  24. package/dist/LinearBareDisplay/model.d.ts +66 -23
  25. package/dist/LinearBareDisplay/model.js +2 -2
  26. package/dist/LinearBareDisplay/model.js.map +1 -1
  27. package/dist/LinearBasicDisplay/components/SetMaxHeight.d.ts +1 -2
  28. package/dist/LinearBasicDisplay/components/SetMaxHeight.js +2 -5
  29. package/dist/LinearBasicDisplay/components/SetMaxHeight.js.map +1 -1
  30. package/dist/LinearBasicDisplay/configSchema.d.ts +28 -1
  31. package/dist/LinearBasicDisplay/configSchema.js +0 -9
  32. package/dist/LinearBasicDisplay/configSchema.js.map +1 -1
  33. package/dist/LinearBasicDisplay/index.js +1 -1
  34. package/dist/LinearBasicDisplay/model.d.ts +76 -36
  35. package/dist/LinearBasicDisplay/model.js.map +1 -1
  36. package/dist/LinearGenomeView/components/CenterLine.d.ts +0 -1
  37. package/dist/LinearGenomeView/components/Cytobands.d.ts +22 -23
  38. package/dist/LinearGenomeView/components/ExportSvgDialog.d.ts +0 -1
  39. package/dist/LinearGenomeView/components/GetSequenceDialog.d.ts +0 -1
  40. package/dist/LinearGenomeView/components/GetSequenceDialog.js +14 -16
  41. package/dist/LinearGenomeView/components/GetSequenceDialog.js.map +1 -1
  42. package/dist/LinearGenomeView/components/Gridlines.d.ts +0 -1
  43. package/dist/LinearGenomeView/components/Header.d.ts +0 -1
  44. package/dist/LinearGenomeView/components/HelpDialog.d.ts +0 -1
  45. package/dist/LinearGenomeView/components/ImportForm.d.ts +0 -1
  46. package/dist/LinearGenomeView/components/ImportForm.js +4 -7
  47. package/dist/LinearGenomeView/components/ImportForm.js.map +1 -1
  48. package/dist/LinearGenomeView/components/LinearGenomeView.d.ts +0 -1
  49. package/dist/LinearGenomeView/components/LinearGenomeView.js +0 -4
  50. package/dist/LinearGenomeView/components/LinearGenomeView.js.map +1 -1
  51. package/dist/LinearGenomeView/components/MiniControls.d.ts +0 -1
  52. package/dist/LinearGenomeView/components/OverviewScalebar.js +2 -1
  53. package/dist/LinearGenomeView/components/OverviewScalebar.js.map +1 -1
  54. package/dist/LinearGenomeView/components/RefNameAutocomplete.js +53 -52
  55. package/dist/LinearGenomeView/components/RefNameAutocomplete.js.map +1 -1
  56. package/dist/LinearGenomeView/components/RubberbandSpan.d.ts +0 -1
  57. package/dist/LinearGenomeView/components/SearchBox.d.ts +0 -1
  58. package/dist/LinearGenomeView/components/SearchResultsDialog.d.ts +5 -3
  59. package/dist/LinearGenomeView/components/SearchResultsDialog.js +6 -82
  60. package/dist/LinearGenomeView/components/SearchResultsDialog.js.map +1 -1
  61. package/dist/LinearGenomeView/components/SearchResultsTable.d.ts +8 -0
  62. package/dist/LinearGenomeView/components/SearchResultsTable.js +83 -0
  63. package/dist/LinearGenomeView/components/SearchResultsTable.js.map +1 -0
  64. package/dist/LinearGenomeView/components/SequenceSearchDialog.d.ts +0 -1
  65. package/dist/LinearGenomeView/components/TrackContainer.d.ts +0 -1
  66. package/dist/LinearGenomeView/components/TrackContainer.js +8 -2
  67. package/dist/LinearGenomeView/components/TrackContainer.js.map +1 -1
  68. package/dist/LinearGenomeView/components/TracksContainer.js +5 -7
  69. package/dist/LinearGenomeView/components/TracksContainer.js.map +1 -1
  70. package/dist/LinearGenomeView/components/VerticalGuide.d.ts +0 -1
  71. package/dist/LinearGenomeView/components/ZoomControls.d.ts +0 -1
  72. package/dist/LinearGenomeView/components/util.js +1 -1
  73. package/dist/LinearGenomeView/components/util.js.map +1 -1
  74. package/dist/LinearGenomeView/model.d.ts +49 -36
  75. package/dist/LinearGenomeView/model.js +121 -198
  76. package/dist/LinearGenomeView/model.js.map +1 -1
  77. package/dist/LinearGenomeView/svgcomponents/SVGBackground.d.ts +0 -1
  78. package/dist/LinearGenomeView/svgcomponents/SVGHeader.d.ts +0 -1
  79. package/dist/LinearGenomeView/svgcomponents/SVGRegionSeparators.d.ts +0 -1
  80. package/dist/LinearGenomeView/svgcomponents/SVGRuler.d.ts +0 -1
  81. package/dist/LinearGenomeView/svgcomponents/SVGScalebar.d.ts +0 -1
  82. package/dist/LinearGenomeView/svgcomponents/SVGTrackLabel.d.ts +0 -1
  83. package/dist/LinearGenomeView/svgcomponents/SVGTracks.d.ts +0 -1
  84. package/dist/LinearGenomeView/util.d.ts +29 -0
  85. package/dist/LinearGenomeView/util.js +79 -1
  86. package/dist/LinearGenomeView/util.js.map +1 -1
  87. package/dist/index.d.ts +201 -106
  88. package/esm/BaseLinearDisplay/components/LinearBlocks.d.ts +1 -4
  89. package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +8 -20
  90. package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js.map +1 -1
  91. package/esm/BaseLinearDisplay/components/TooLargeMessage.d.ts +3 -4
  92. package/esm/BaseLinearDisplay/components/TooLargeMessage.js +9 -9
  93. package/esm/BaseLinearDisplay/components/TooLargeMessage.js.map +1 -1
  94. package/esm/BaseLinearDisplay/components/Tooltip.d.ts +0 -1
  95. package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +81 -35
  96. package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js +105 -143
  97. package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -1
  98. package/esm/BaseLinearDisplay/models/configSchema.d.ts +35 -1
  99. package/esm/BaseLinearDisplay/models/configSchema.js +9 -0
  100. package/esm/BaseLinearDisplay/models/configSchema.js.map +1 -1
  101. package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js +10 -6
  102. package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -1
  103. package/esm/BaseLinearDisplay/models/util.d.ts +8 -0
  104. package/esm/BaseLinearDisplay/models/util.js +30 -0
  105. package/esm/BaseLinearDisplay/models/util.js.map +1 -1
  106. package/esm/BasicTrack/configSchema.d.ts +73 -1
  107. package/esm/FeatureTrack/configSchema.d.ts +75 -1
  108. package/esm/LinearBareDisplay/configSchema.d.ts +28 -1
  109. package/esm/LinearBareDisplay/index.js +1 -0
  110. package/esm/LinearBareDisplay/index.js.map +1 -1
  111. package/esm/LinearBareDisplay/model.d.ts +66 -23
  112. package/esm/LinearBareDisplay/model.js +1 -1
  113. package/esm/LinearBareDisplay/model.js.map +1 -1
  114. package/esm/LinearBasicDisplay/components/SetMaxHeight.d.ts +1 -2
  115. package/esm/LinearBasicDisplay/components/SetMaxHeight.js +2 -5
  116. package/esm/LinearBasicDisplay/components/SetMaxHeight.js.map +1 -1
  117. package/esm/LinearBasicDisplay/configSchema.d.ts +28 -1
  118. package/esm/LinearBasicDisplay/configSchema.js +0 -9
  119. package/esm/LinearBasicDisplay/configSchema.js.map +1 -1
  120. package/esm/LinearBasicDisplay/index.js +1 -1
  121. package/esm/LinearBasicDisplay/model.d.ts +76 -36
  122. package/esm/LinearBasicDisplay/model.js.map +1 -1
  123. package/esm/LinearGenomeView/components/CenterLine.d.ts +0 -1
  124. package/esm/LinearGenomeView/components/Cytobands.d.ts +22 -23
  125. package/esm/LinearGenomeView/components/ExportSvgDialog.d.ts +0 -1
  126. package/esm/LinearGenomeView/components/GetSequenceDialog.d.ts +0 -1
  127. package/esm/LinearGenomeView/components/GetSequenceDialog.js +15 -17
  128. package/esm/LinearGenomeView/components/GetSequenceDialog.js.map +1 -1
  129. package/esm/LinearGenomeView/components/Gridlines.d.ts +0 -1
  130. package/esm/LinearGenomeView/components/Header.d.ts +0 -1
  131. package/esm/LinearGenomeView/components/HelpDialog.d.ts +0 -1
  132. package/esm/LinearGenomeView/components/ImportForm.d.ts +0 -1
  133. package/esm/LinearGenomeView/components/ImportForm.js +5 -8
  134. package/esm/LinearGenomeView/components/ImportForm.js.map +1 -1
  135. package/esm/LinearGenomeView/components/LinearGenomeView.d.ts +0 -1
  136. package/esm/LinearGenomeView/components/LinearGenomeView.js +0 -4
  137. package/esm/LinearGenomeView/components/LinearGenomeView.js.map +1 -1
  138. package/esm/LinearGenomeView/components/MiniControls.d.ts +0 -1
  139. package/esm/LinearGenomeView/components/OverviewScalebar.js +2 -1
  140. package/esm/LinearGenomeView/components/OverviewScalebar.js.map +1 -1
  141. package/esm/LinearGenomeView/components/RefNameAutocomplete.js +53 -52
  142. package/esm/LinearGenomeView/components/RefNameAutocomplete.js.map +1 -1
  143. package/esm/LinearGenomeView/components/RubberbandSpan.d.ts +0 -1
  144. package/esm/LinearGenomeView/components/SearchBox.d.ts +0 -1
  145. package/esm/LinearGenomeView/components/SearchResultsDialog.d.ts +5 -3
  146. package/esm/LinearGenomeView/components/SearchResultsDialog.js +7 -83
  147. package/esm/LinearGenomeView/components/SearchResultsDialog.js.map +1 -1
  148. package/esm/LinearGenomeView/components/SearchResultsTable.d.ts +8 -0
  149. package/esm/LinearGenomeView/components/SearchResultsTable.js +77 -0
  150. package/esm/LinearGenomeView/components/SearchResultsTable.js.map +1 -0
  151. package/esm/LinearGenomeView/components/SequenceSearchDialog.d.ts +0 -1
  152. package/esm/LinearGenomeView/components/TrackContainer.d.ts +0 -1
  153. package/esm/LinearGenomeView/components/TrackContainer.js +8 -2
  154. package/esm/LinearGenomeView/components/TrackContainer.js.map +1 -1
  155. package/esm/LinearGenomeView/components/TracksContainer.js +5 -7
  156. package/esm/LinearGenomeView/components/TracksContainer.js.map +1 -1
  157. package/esm/LinearGenomeView/components/VerticalGuide.d.ts +0 -1
  158. package/esm/LinearGenomeView/components/ZoomControls.d.ts +0 -1
  159. package/esm/LinearGenomeView/components/util.js +1 -1
  160. package/esm/LinearGenomeView/components/util.js.map +1 -1
  161. package/esm/LinearGenomeView/model.d.ts +49 -36
  162. package/esm/LinearGenomeView/model.js +122 -199
  163. package/esm/LinearGenomeView/model.js.map +1 -1
  164. package/esm/LinearGenomeView/svgcomponents/SVGBackground.d.ts +0 -1
  165. package/esm/LinearGenomeView/svgcomponents/SVGHeader.d.ts +0 -1
  166. package/esm/LinearGenomeView/svgcomponents/SVGRegionSeparators.d.ts +0 -1
  167. package/esm/LinearGenomeView/svgcomponents/SVGRuler.d.ts +0 -1
  168. package/esm/LinearGenomeView/svgcomponents/SVGScalebar.d.ts +0 -1
  169. package/esm/LinearGenomeView/svgcomponents/SVGTrackLabel.d.ts +0 -1
  170. package/esm/LinearGenomeView/svgcomponents/SVGTracks.d.ts +0 -1
  171. package/esm/LinearGenomeView/util.d.ts +29 -0
  172. package/esm/LinearGenomeView/util.js +76 -0
  173. package/esm/LinearGenomeView/util.js.map +1 -1
  174. package/esm/index.d.ts +201 -106
  175. package/package.json +3 -3
  176. package/src/BaseLinearDisplay/components/ServerSideRenderedBlockContent.tsx +8 -28
  177. package/src/BaseLinearDisplay/components/TooLargeMessage.tsx +13 -11
  178. package/src/BaseLinearDisplay/models/BaseLinearDisplayModel.tsx +148 -197
  179. package/src/BaseLinearDisplay/models/configSchema.ts +10 -0
  180. package/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts +19 -13
  181. package/src/BaseLinearDisplay/models/util.ts +43 -0
  182. package/src/LinearBareDisplay/index.ts +1 -0
  183. package/src/LinearBareDisplay/model.ts +1 -1
  184. package/src/LinearBasicDisplay/components/SetMaxHeight.tsx +3 -7
  185. package/src/LinearBasicDisplay/configSchema.ts +0 -10
  186. package/src/LinearBasicDisplay/index.ts +1 -1
  187. package/src/LinearBasicDisplay/model.ts +1 -1
  188. package/src/LinearGenomeView/components/GetSequenceDialog.tsx +15 -25
  189. package/src/LinearGenomeView/components/ImportForm.tsx +4 -14
  190. package/src/LinearGenomeView/components/LinearGenomeView.tsx +0 -14
  191. package/src/LinearGenomeView/components/OverviewScalebar.tsx +2 -1
  192. package/src/LinearGenomeView/components/RefNameAutocomplete.tsx +122 -82
  193. package/src/LinearGenomeView/components/SearchResultsDialog.tsx +17 -112
  194. package/src/LinearGenomeView/components/SearchResultsTable.tsx +121 -0
  195. package/src/LinearGenomeView/components/TrackContainer.tsx +12 -3
  196. package/src/LinearGenomeView/components/TracksContainer.tsx +9 -6
  197. package/src/LinearGenomeView/components/__snapshots__/LinearGenomeView.test.tsx.snap +11 -11
  198. package/src/LinearGenomeView/components/util.ts +2 -1
  199. package/src/LinearGenomeView/index.test.ts +10 -12
  200. package/src/LinearGenomeView/model.ts +163 -236
  201. package/src/LinearGenomeView/util.ts +98 -0
@@ -1,6 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getDisplayStr = void 0;
3
+ exports.getFeatureDensityStatsPre = exports.getId = exports.getDisplayStr = void 0;
4
+ const util_1 = require("@jbrowse/core/util");
5
+ const tracks_1 = require("@jbrowse/core/util/tracks");
6
+ const mobx_state_tree_1 = require("mobx-state-tree");
4
7
  function getDisplayStr(totalBytes) {
5
8
  let displayBp;
6
9
  if (Math.floor(totalBytes / 1000000) > 0) {
@@ -15,4 +18,33 @@ function getDisplayStr(totalBytes) {
15
18
  return displayBp;
16
19
  }
17
20
  exports.getDisplayStr = getDisplayStr;
21
+ // stabilize clipid under test for snapshot
22
+ function getId(id, index) {
23
+ const isJest = typeof jest === 'undefined';
24
+ return `clip-${isJest ? id : 'jest'}-${index}`;
25
+ }
26
+ exports.getId = getId;
27
+ async function getFeatureDensityStatsPre(self) {
28
+ const view = (0, util_1.getContainingView)(self);
29
+ const regions = view.staticBlocks.contentBlocks;
30
+ const { rpcManager } = (0, util_1.getSession)(self);
31
+ const { adapterConfig } = self;
32
+ if (!adapterConfig) {
33
+ // A track extending the base track might not have an adapter config
34
+ // e.g. Apollo tracks don't use adapters
35
+ return {};
36
+ }
37
+ const sessionId = (0, tracks_1.getRpcSessionId)(self);
38
+ return rpcManager.call(sessionId, 'CoreGetFeatureDensityStats', {
39
+ sessionId,
40
+ regions,
41
+ adapterConfig,
42
+ statusCallback: (message) => {
43
+ if ((0, mobx_state_tree_1.isAlive)(self)) {
44
+ self.setMessage(message);
45
+ }
46
+ },
47
+ });
48
+ }
49
+ exports.getFeatureDensityStatsPre = getFeatureDensityStatsPre;
18
50
  //# sourceMappingURL=util.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"util.js","sourceRoot":"","sources":["../../../src/BaseLinearDisplay/models/util.ts"],"names":[],"mappings":";;;AAaA,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"}
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").AnyConfigurationSchemaType;
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").AnyConfigurationSchemaType;
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").AnyConfigurationSchemaType;
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 };
@@ -12,6 +12,7 @@ exports.default = (pluginManager) => {
12
12
  return new pluggableElementTypes_1.DisplayType({
13
13
  name: 'LinearBareDisplay',
14
14
  configSchema,
15
+ displayName: 'Bare feature display',
15
16
  stateModel: (0, model_1.stateModelFactory)(configSchema),
16
17
  trackType: 'BasicTrack',
17
18
  viewType: 'LinearGenomeView',
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/LinearBareDisplay/index.ts"],"names":[],"mappings":";;;AACA,+EAAiE;AAEjE,SAAS;AACT,iDAAoD;AACpD,mCAA2C;AAC3C,6DAAkE;AAElE,kBAAe,CAAC,aAA4B,EAAE,EAAE;IAC9C,aAAa,CAAC,cAAc,CAAC,GAAG,EAAE;QAChC,MAAM,YAAY,GAAG,IAAA,kCAAmB,EAAC,aAAa,CAAC,CAAA;QACvD,OAAO,IAAI,mCAAW,CAAC;YACrB,IAAI,EAAE,mBAAmB;YACzB,YAAY;YACZ,UAAU,EAAE,IAAA,yBAAiB,EAAC,YAAY,CAAC;YAC3C,SAAS,EAAE,YAAY;YACvB,QAAQ,EAAE,kBAAkB;YAC5B,cAAc,EAAE,8CAA0B;SAC3C,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA;AAED,+CAAoD;AAA3C,mHAAA,mBAAmB,OAAA;AAC5B,iCAA2C;AAAlC,0GAAA,iBAAiB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/LinearBareDisplay/index.ts"],"names":[],"mappings":";;;AACA,+EAAiE;AAEjE,SAAS;AACT,iDAAoD;AACpD,mCAA2C;AAC3C,6DAAkE;AAElE,kBAAe,CAAC,aAA4B,EAAE,EAAE;IAC9C,aAAa,CAAC,cAAc,CAAC,GAAG,EAAE;QAChC,MAAM,YAAY,GAAG,IAAA,kCAAmB,EAAC,aAAa,CAAC,CAAA;QACvD,OAAO,IAAI,mCAAW,CAAC;YACrB,IAAI,EAAE,mBAAmB;YACzB,YAAY;YACZ,WAAW,EAAE,sBAAsB;YACnC,UAAU,EAAE,IAAA,yBAAiB,EAAC,YAAY,CAAC;YAC3C,SAAS,EAAE,YAAY;YACvB,QAAQ,EAAE,kBAAkB;YAC5B,cAAc,EAAE,8CAA0B;SAC3C,CAAC,CAAA;IACJ,CAAC,CAAC,CAAA;AACJ,CAAC,CAAA;AAED,+CAAoD;AAA3C,mHAAA,mBAAmB,OAAA;AAC5B,iCAA2C;AAAlC,0GAAA,iBAAiB,OAAA"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration/configurationSchema';
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: import("mobx-state-tree").ITypeUnion<any, any, any>;
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
- estimatedRegionStatsP: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined;
129
- estimatedRegionStats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined;
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";
@@ -139,35 +164,32 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
139
164
  } & {
140
165
  readonly features: import("@jbrowse/core/util/compositeMap").default<string, import("@jbrowse/core/util").Feature>;
141
166
  readonly featureUnderMouse: import("@jbrowse/core/util").Feature | undefined;
142
- getFeatureOverlapping(blockKey: string, x: number, y: number): any;
167
+ getFeatureOverlapping(blockKey: string, x: number, y: number): string | undefined;
143
168
  getFeatureByID(blockKey: string, id: string): [number, number, number, number] | undefined;
144
169
  searchFeatureByID(id: string): [number, number, number, number] | undefined;
145
170
  readonly currentBytesRequested: number;
146
171
  readonly currentFeatureScreenDensity: number;
147
172
  readonly maxFeatureScreenDensity: any;
148
- readonly estimatedStatsReady: boolean;
173
+ readonly featureDensityStatsReady: boolean;
149
174
  readonly maxAllowableBytes: number;
150
175
  } & {
151
176
  setMessage(message: string): void;
177
+ } & {
152
178
  afterAttach(): void;
153
- estimateRegionsStats(regions: import("@jbrowse/core/util").Region[], opts: {
154
- headers?: Record<string, string> | undefined;
155
- signal?: AbortSignal | undefined;
156
- filters?: string[] | undefined;
157
- }): Promise<{}>;
158
- setRegionStatsP(p?: Promise<import("@jbrowse/core/data_adapters/BaseAdapter").Stats> | undefined): void;
159
- setRegionStats(estimatedRegionStats?: import("@jbrowse/core/data_adapters/BaseAdapter").Stats | undefined): void;
160
- clearRegionStats(): void;
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;
161
183
  setHeight(displayHeight: number): number;
162
184
  resizeHeight(distance: number): number;
163
185
  setScrollTop(scrollTop: number): void;
164
- updateStatsLimit(stats: import("@jbrowse/core/data_adapters/BaseAdapter").Stats): void;
186
+ setFeatureDensityStatsLimit(stats?: import("@jbrowse/core/data_adapters/BaseAdapter").FeatureDensityStats | undefined): void;
165
187
  addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
166
188
  setCurrBpPerPx(n: number): void;
167
189
  deleteBlock(key: string): void;
168
190
  selectFeature(feature: import("@jbrowse/core/util").Feature): void;
169
191
  clearFeatureSelection(): void;
170
- setFeatureIdUnderMouse(feature: string | undefined): void;
192
+ setFeatureIdUnderMouse(feature?: string | undefined): void;
171
193
  reload(): void;
172
194
  setContextMenuFeature(feature?: import("@jbrowse/core/util").Feature | undefined): void;
173
195
  } & {
@@ -175,18 +197,13 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
175
197
  readonly regionTooLargeReason: string;
176
198
  } & {
177
199
  reload(): Promise<void>;
200
+ } & {
178
201
  afterAttach(): void;
179
202
  } & {
180
203
  regionCannotBeRenderedText(_region: import("@jbrowse/core/util").Region): "" | "Force load to see features";
181
204
  regionCannotBeRendered(_region: import("@jbrowse/core/util").Region): JSX.Element | null;
182
205
  trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
183
- contextMenuItems(): {
184
- label: string;
185
- icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
186
- muiName: string;
187
- };
188
- onClick: () => void;
189
- }[];
206
+ contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
190
207
  renderProps(): any;
191
208
  } & {
192
209
  renderSvg(opts: import("../LinearGenomeView").ExportSvgOptions & {
@@ -258,9 +275,35 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
258
275
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
259
276
  userBpPerPxLimit: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<number>>;
260
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">>;
261
303
  }>> & import("mobx-state-tree/dist/internal").NonEmptyObject & import("mobx-state-tree")._NotCustomized, {
262
304
  type: string;
263
305
  id: string;
306
+ configuration: import("mobx-state-tree").ModelSnapshotType<Record<string, any>>;
264
307
  rpcDriverName: string | undefined;
265
308
  heightPreConfig: number | undefined;
266
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 configurationSchema_1 = require("@jbrowse/core/configuration/configurationSchema");
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, configurationSchema_1.ConfigurationReference)(configSchema),
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,yFAGwD;AACxD,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,4CAAsB,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"}
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"}
@@ -1,8 +1,7 @@
1
- /// <reference types="react" />
2
1
  declare function SetMaxHeightDlg({ model, handleClose, }: {
3
2
  model: {
4
3
  maxHeight?: number;
5
- setMaxHeight: Function;
4
+ setMaxHeight: (arg?: number) => void;
6
5
  };
7
6
  handleClose: () => void;
8
7
  }): JSX.Element;
@@ -28,14 +28,11 @@ const mobx_react_1 = require("mobx-react");
28
28
  const ui_1 = require("@jbrowse/core/ui");
29
29
  const material_1 = require("@mui/material");
30
30
  const mui_1 = require("tss-react/mui");
31
- const useStyles = (0, mui_1.makeStyles)()(theme => ({
31
+ const useStyles = (0, mui_1.makeStyles)()({
32
32
  root: {
33
33
  width: 500,
34
34
  },
35
- field: {
36
- margin: theme.spacing(2),
37
- },
38
- }));
35
+ });
39
36
  function SetMaxHeightDlg({ model, handleClose, }) {
40
37
  const { classes } = useStyles();
41
38
  const { maxHeight = '' } = model;
@@ -1 +1 @@
1
- {"version":3,"file":"SetMaxHeight.js","sourceRoot":"","sources":["../../../src/LinearBasicDisplay/components/SetMaxHeight.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAuC;AACvC,2CAAqC;AACrC,yCAAyC;AACzC,4CAMsB;AACtB,uCAA0C;AAE1C,MAAM,SAAS,GAAG,IAAA,gBAAU,GAAE,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;IACvC,IAAI,EAAE;QACJ,KAAK,EAAE,GAAG;KACX;IAED,KAAK,EAAE;QACL,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;KACzB;CACF,CAAC,CAAC,CAAA;AAEH,SAAS,eAAe,CAAC,EACvB,KAAK,EACL,WAAW,GAOZ;IACC,MAAM,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,CAAA;IAC/B,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,KAAK,CAAA;IAChC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,IAAA,gBAAQ,EAAC,GAAG,SAAS,EAAE,CAAC,CAAA;IAE9C,OAAO,CACL,8BAAC,WAAM,IAAC,IAAI,QAAC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAC,gBAAgB;QACvD,8BAAC,wBAAa,IAAC,SAAS,EAAE,OAAO,CAAC,IAAI;YACpC,8BAAC,qBAAU,qHAGE;YACb,8BAAC,oBAAS,IACR,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAC7C,WAAW,EAAC,iBAAiB,GAC7B;YACF,8BAAC,wBAAa;gBACZ,8BAAC,iBAAM,IACL,OAAO,EAAC,WAAW,EACnB,KAAK,EAAC,SAAS,EACf,IAAI,EAAC,QAAQ,EACb,SAAS,QACT,OAAO,EAAE,GAAG,EAAE;wBACZ,KAAK,CAAC,YAAY,CAChB,GAAG,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CACrD,CAAA;wBACD,WAAW,EAAE,CAAA;oBACf,CAAC,aAGM;gBACT,8BAAC,iBAAM,IACL,OAAO,EAAC,WAAW,EACnB,KAAK,EAAC,WAAW,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE,aAGrB,CACK,CACF,CACT,CACV,CAAA;AACH,CAAC;AAED,kBAAe,IAAA,qBAAQ,EAAC,eAAe,CAAC,CAAA"}
1
+ {"version":3,"file":"SetMaxHeight.js","sourceRoot":"","sources":["../../../src/LinearBasicDisplay/components/SetMaxHeight.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+CAAuC;AACvC,2CAAqC;AACrC,yCAAyC;AACzC,4CAMsB;AACtB,uCAA0C;AAE1C,MAAM,SAAS,GAAG,IAAA,gBAAU,GAAE,CAAC;IAC7B,IAAI,EAAE;QACJ,KAAK,EAAE,GAAG;KACX;CACF,CAAC,CAAA;AAEF,SAAS,eAAe,CAAC,EACvB,KAAK,EACL,WAAW,GAOZ;IACC,MAAM,EAAE,OAAO,EAAE,GAAG,SAAS,EAAE,CAAA;IAC/B,MAAM,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,KAAK,CAAA;IAChC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,IAAA,gBAAQ,EAAC,GAAG,SAAS,EAAE,CAAC,CAAA;IAE9C,OAAO,CACL,8BAAC,WAAM,IAAC,IAAI,QAAC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAC,gBAAgB;QACvD,8BAAC,wBAAa,IAAC,SAAS,EAAE,OAAO,CAAC,IAAI;YACpC,8BAAC,qBAAU,qHAGE;YACb,8BAAC,oBAAS,IACR,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAC7C,WAAW,EAAC,iBAAiB,GAC7B;YACF,8BAAC,wBAAa;gBACZ,8BAAC,iBAAM,IACL,OAAO,EAAC,WAAW,EACnB,KAAK,EAAC,SAAS,EACf,IAAI,EAAC,QAAQ,EACb,SAAS,QACT,OAAO,EAAE,GAAG,EAAE;wBACZ,KAAK,CAAC,YAAY,CAChB,GAAG,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CACrD,CAAA;wBACD,WAAW,EAAE,CAAA;oBACf,CAAC,aAGM;gBACT,8BAAC,iBAAM,IACL,OAAO,EAAC,WAAW,EACnB,KAAK,EAAC,WAAW,EACjB,OAAO,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE,aAGrB,CACK,CACF,CACT,CACV,CAAA;AACH,CAAC;AAED,kBAAe,IAAA,qBAAQ,EAAC,eAAe,CAAC,CAAA"}
@@ -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").AnyConfigurationSchemaType;
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,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sCAAsC;YACnD,YAAY,EAAE,0BAA0B;YAExC,eAAe,EAAE,CAAC,SAAS,CAAC;SAC7B;QACD;;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"}
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"}
@@ -14,7 +14,7 @@ exports.default = (pluginManager) => {
14
14
  const config = (0, configSchema_1.default)(pluginManager);
15
15
  return new pluggableElementTypes_1.DisplayType({
16
16
  name: 'LinearBasicDisplay',
17
- displayName: 'Basic deature display',
17
+ displayName: 'Basic feature display',
18
18
  configSchema: config,
19
19
  stateModel: (0, model_1.default)(config),
20
20
  trackType: 'FeatureTrack',