@jbrowse/plugin-linear-genome-view 1.7.11 → 2.1.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 (272) hide show
  1. package/dist/BaseLinearDisplay/components/BaseLinearDisplay.js +119 -139
  2. package/dist/BaseLinearDisplay/components/BaseLinearDisplay.js.map +1 -0
  3. package/dist/BaseLinearDisplay/components/Block.js +53 -74
  4. package/dist/BaseLinearDisplay/components/Block.js.map +1 -0
  5. package/dist/BaseLinearDisplay/components/LinearBlocks.d.ts +11 -1
  6. package/dist/BaseLinearDisplay/components/LinearBlocks.js +64 -103
  7. package/dist/BaseLinearDisplay/components/LinearBlocks.js.map +1 -0
  8. package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +146 -175
  9. package/dist/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js.map +1 -0
  10. package/dist/BaseLinearDisplay/components/Tooltip.js +109 -116
  11. package/dist/BaseLinearDisplay/components/Tooltip.js.map +1 -0
  12. package/dist/BaseLinearDisplay/index.js +13 -40
  13. package/dist/BaseLinearDisplay/index.js.map +1 -0
  14. package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +19 -14
  15. package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js +605 -684
  16. package/dist/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -0
  17. package/dist/BaseLinearDisplay/models/baseLinearDisplayConfigSchema.js +15 -22
  18. package/dist/BaseLinearDisplay/models/baseLinearDisplayConfigSchema.js.map +1 -0
  19. package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.d.ts +7 -8
  20. package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js +266 -312
  21. package/dist/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -0
  22. package/dist/LinearBareDisplay/configSchema.js +11 -17
  23. package/dist/LinearBareDisplay/configSchema.js.map +1 -0
  24. package/dist/LinearBareDisplay/index.js +7 -20
  25. package/dist/LinearBareDisplay/index.js.map +1 -0
  26. package/dist/LinearBareDisplay/model.d.ts +15 -13
  27. package/dist/LinearBareDisplay/model.js +36 -42
  28. package/dist/LinearBareDisplay/model.js.map +1 -0
  29. package/dist/LinearBasicDisplay/components/SetMaxHeight.d.ts +1 -1
  30. package/dist/LinearBasicDisplay/components/SetMaxHeight.js +76 -85
  31. package/dist/LinearBasicDisplay/components/SetMaxHeight.js.map +1 -0
  32. package/dist/LinearBasicDisplay/configSchema.js +15 -23
  33. package/dist/LinearBasicDisplay/configSchema.js.map +1 -0
  34. package/dist/LinearBasicDisplay/index.js +10 -22
  35. package/dist/LinearBasicDisplay/index.js.map +1 -0
  36. package/dist/LinearBasicDisplay/model.d.ts +20 -14
  37. package/dist/LinearBasicDisplay/model.js +180 -159
  38. package/dist/LinearBasicDisplay/model.js.map +1 -0
  39. package/dist/LinearGenomeView/components/CenterLine.d.ts +2 -8
  40. package/dist/LinearGenomeView/components/CenterLine.js +60 -74
  41. package/dist/LinearGenomeView/components/CenterLine.js.map +1 -0
  42. package/dist/LinearGenomeView/components/ExportSvgDialog.js +141 -141
  43. package/dist/LinearGenomeView/components/ExportSvgDialog.js.map +1 -0
  44. package/dist/LinearGenomeView/components/Gridlines.d.ts +8 -0
  45. package/dist/LinearGenomeView/components/Gridlines.js +78 -0
  46. package/dist/LinearGenomeView/components/Gridlines.js.map +1 -0
  47. package/dist/LinearGenomeView/components/Header.d.ts +1 -0
  48. package/dist/LinearGenomeView/components/Header.js +70 -125
  49. package/dist/LinearGenomeView/components/Header.js.map +1 -0
  50. package/dist/LinearGenomeView/components/HelpDialog.d.ts +0 -1
  51. package/dist/LinearGenomeView/components/HelpDialog.js +62 -44
  52. package/dist/LinearGenomeView/components/HelpDialog.js.map +1 -0
  53. package/dist/LinearGenomeView/components/ImportForm.d.ts +1 -0
  54. package/dist/LinearGenomeView/components/ImportForm.js +222 -289
  55. package/dist/LinearGenomeView/components/ImportForm.js.map +1 -0
  56. package/dist/LinearGenomeView/components/LinearGenomeView.js +60 -124
  57. package/dist/LinearGenomeView/components/LinearGenomeView.js.map +1 -0
  58. package/dist/LinearGenomeView/components/LinearGenomeViewSvg.js +198 -337
  59. package/dist/LinearGenomeView/components/LinearGenomeViewSvg.js.map +1 -0
  60. package/dist/LinearGenomeView/components/MiniControls.js +64 -78
  61. package/dist/LinearGenomeView/components/MiniControls.js.map +1 -0
  62. package/dist/LinearGenomeView/components/OverviewRubberBand.js +229 -293
  63. package/dist/LinearGenomeView/components/OverviewRubberBand.js.map +1 -0
  64. package/dist/LinearGenomeView/components/OverviewScaleBar.d.ts +3 -3
  65. package/dist/LinearGenomeView/components/OverviewScaleBar.js +275 -370
  66. package/dist/LinearGenomeView/components/OverviewScaleBar.js.map +1 -0
  67. package/dist/LinearGenomeView/components/RefNameAutocomplete.d.ts +1 -1
  68. package/dist/LinearGenomeView/components/RefNameAutocomplete.js +237 -324
  69. package/dist/LinearGenomeView/components/RefNameAutocomplete.js.map +1 -0
  70. package/dist/LinearGenomeView/components/RubberBand.js +228 -296
  71. package/dist/LinearGenomeView/components/RubberBand.js.map +1 -0
  72. package/dist/LinearGenomeView/components/Ruler.js +45 -90
  73. package/dist/LinearGenomeView/components/Ruler.js.map +1 -0
  74. package/dist/LinearGenomeView/components/ScaleBar.d.ts +8 -403
  75. package/dist/LinearGenomeView/components/ScaleBar.js +121 -172
  76. package/dist/LinearGenomeView/components/ScaleBar.js.map +1 -0
  77. package/dist/LinearGenomeView/components/SearchBox.js +155 -166
  78. package/dist/LinearGenomeView/components/SearchBox.js.map +1 -0
  79. package/dist/LinearGenomeView/components/SearchResultsDialog.d.ts +0 -1
  80. package/dist/LinearGenomeView/components/SearchResultsDialog.js +105 -149
  81. package/dist/LinearGenomeView/components/SearchResultsDialog.js.map +1 -0
  82. package/dist/LinearGenomeView/components/SequenceDialog.js +219 -272
  83. package/dist/LinearGenomeView/components/SequenceDialog.js.map +1 -0
  84. package/dist/LinearGenomeView/components/TrackContainer.d.ts +2 -1
  85. package/dist/LinearGenomeView/components/TrackContainer.js +113 -158
  86. package/dist/LinearGenomeView/components/TrackContainer.js.map +1 -0
  87. package/dist/LinearGenomeView/components/TrackLabel.d.ts +6 -42
  88. package/dist/LinearGenomeView/components/TrackLabel.js +113 -133
  89. package/dist/LinearGenomeView/components/TrackLabel.js.map +1 -0
  90. package/dist/LinearGenomeView/components/TracksContainer.d.ts +1 -1
  91. package/dist/LinearGenomeView/components/TracksContainer.js +172 -199
  92. package/dist/LinearGenomeView/components/TracksContainer.js.map +1 -0
  93. package/dist/LinearGenomeView/components/ZoomControls.js +72 -87
  94. package/dist/LinearGenomeView/components/ZoomControls.js.map +1 -0
  95. package/dist/LinearGenomeView/components/util.js +94 -71
  96. package/dist/LinearGenomeView/components/util.js.map +1 -0
  97. package/dist/LinearGenomeView/index.d.ts +64 -77
  98. package/dist/LinearGenomeView/index.js +1035 -1412
  99. package/dist/LinearGenomeView/index.js.map +1 -0
  100. package/dist/LinearGenomeView/util.js +76 -83
  101. package/dist/LinearGenomeView/util.js.map +1 -0
  102. package/dist/index.d.ts +98 -48
  103. package/dist/index.js +225 -295
  104. package/dist/index.js.map +1 -0
  105. package/esm/BaseLinearDisplay/components/BaseLinearDisplay.d.ts +9 -0
  106. package/esm/BaseLinearDisplay/components/BaseLinearDisplay.js +68 -0
  107. package/esm/BaseLinearDisplay/components/BaseLinearDisplay.js.map +1 -0
  108. package/esm/BaseLinearDisplay/components/Block.d.ts +15 -0
  109. package/esm/BaseLinearDisplay/components/Block.js +46 -0
  110. package/esm/BaseLinearDisplay/components/Block.js.map +1 -0
  111. package/esm/BaseLinearDisplay/components/LinearBlocks.d.ts +22 -0
  112. package/esm/BaseLinearDisplay/components/LinearBlocks.js +62 -0
  113. package/esm/BaseLinearDisplay/components/LinearBlocks.js.map +1 -0
  114. package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.d.ts +4 -0
  115. package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js +114 -0
  116. package/esm/BaseLinearDisplay/components/ServerSideRenderedBlockContent.js.map +1 -0
  117. package/esm/BaseLinearDisplay/components/Tooltip.d.ts +8 -0
  118. package/esm/BaseLinearDisplay/components/Tooltip.js +64 -0
  119. package/esm/BaseLinearDisplay/components/Tooltip.js.map +1 -0
  120. package/esm/BaseLinearDisplay/index.d.ts +5 -0
  121. package/esm/BaseLinearDisplay/index.js +4 -0
  122. package/esm/BaseLinearDisplay/index.js.map +1 -0
  123. package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.d.ts +232 -0
  124. package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js +541 -0
  125. package/esm/BaseLinearDisplay/models/BaseLinearDisplayModel.js.map +1 -0
  126. package/esm/BaseLinearDisplay/models/baseLinearDisplayConfigSchema.d.ts +1 -0
  127. package/esm/BaseLinearDisplay/models/baseLinearDisplayConfigSchema.js +14 -0
  128. package/esm/BaseLinearDisplay/models/baseLinearDisplayConfigSchema.js.map +1 -0
  129. package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.d.ts +96 -0
  130. package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js +225 -0
  131. package/esm/BaseLinearDisplay/models/serverSideRenderedBlock.js.map +1 -0
  132. package/esm/LinearBareDisplay/configSchema.d.ts +2 -0
  133. package/esm/LinearBareDisplay/configSchema.js +9 -0
  134. package/esm/LinearBareDisplay/configSchema.js.map +1 -0
  135. package/esm/LinearBareDisplay/index.d.ts +2 -0
  136. package/esm/LinearBareDisplay/index.js +3 -0
  137. package/esm/LinearBareDisplay/index.js.map +1 -0
  138. package/esm/LinearBareDisplay/model.d.ts +194 -0
  139. package/esm/LinearBareDisplay/model.js +28 -0
  140. package/esm/LinearBareDisplay/model.js.map +1 -0
  141. package/esm/LinearBasicDisplay/components/SetMaxHeight.d.ts +10 -0
  142. package/esm/LinearBasicDisplay/components/SetMaxHeight.js +40 -0
  143. package/esm/LinearBasicDisplay/components/SetMaxHeight.js.map +1 -0
  144. package/esm/LinearBasicDisplay/configSchema.d.ts +2 -0
  145. package/esm/LinearBasicDisplay/configSchema.js +14 -0
  146. package/esm/LinearBasicDisplay/configSchema.js.map +1 -0
  147. package/esm/LinearBasicDisplay/index.d.ts +2 -0
  148. package/esm/LinearBasicDisplay/index.js +3 -0
  149. package/esm/LinearBasicDisplay/index.js.map +1 -0
  150. package/esm/LinearBasicDisplay/model.d.ts +218 -0
  151. package/esm/LinearBasicDisplay/model.js +127 -0
  152. package/esm/LinearBasicDisplay/model.js.map +1 -0
  153. package/esm/LinearGenomeView/components/CenterLine.d.ts +8 -0
  154. package/esm/LinearGenomeView/components/CenterLine.js +40 -0
  155. package/esm/LinearGenomeView/components/CenterLine.js.map +1 -0
  156. package/esm/LinearGenomeView/components/ExportSvgDialog.d.ts +6 -0
  157. package/esm/LinearGenomeView/components/ExportSvgDialog.js +52 -0
  158. package/esm/LinearGenomeView/components/ExportSvgDialog.js.map +1 -0
  159. package/esm/LinearGenomeView/components/Gridlines.d.ts +8 -0
  160. package/esm/LinearGenomeView/components/Gridlines.js +71 -0
  161. package/esm/LinearGenomeView/components/Gridlines.js.map +1 -0
  162. package/esm/LinearGenomeView/components/Header.d.ts +7 -0
  163. package/esm/LinearGenomeView/components/Header.js +81 -0
  164. package/esm/LinearGenomeView/components/Header.js.map +1 -0
  165. package/esm/LinearGenomeView/components/HelpDialog.d.ts +4 -0
  166. package/esm/LinearGenomeView/components/HelpDialog.js +58 -0
  167. package/esm/LinearGenomeView/components/HelpDialog.js.map +1 -0
  168. package/esm/LinearGenomeView/components/ImportForm.d.ts +7 -0
  169. package/esm/LinearGenomeView/components/ImportForm.js +141 -0
  170. package/esm/LinearGenomeView/components/ImportForm.js.map +1 -0
  171. package/esm/LinearGenomeView/components/LinearGenomeView.d.ts +7 -0
  172. package/esm/LinearGenomeView/components/LinearGenomeView.js +63 -0
  173. package/esm/LinearGenomeView/components/LinearGenomeView.js.map +1 -0
  174. package/esm/LinearGenomeView/components/LinearGenomeViewSvg.d.ts +4 -0
  175. package/esm/LinearGenomeView/components/LinearGenomeViewSvg.js +132 -0
  176. package/esm/LinearGenomeView/components/LinearGenomeViewSvg.js.map +1 -0
  177. package/esm/LinearGenomeView/components/MiniControls.d.ts +6 -0
  178. package/esm/LinearGenomeView/components/MiniControls.js +25 -0
  179. package/esm/LinearGenomeView/components/MiniControls.js.map +1 -0
  180. package/esm/LinearGenomeView/components/OverviewRubberBand.d.ts +22 -0
  181. package/esm/LinearGenomeView/components/OverviewRubberBand.js +197 -0
  182. package/esm/LinearGenomeView/components/OverviewRubberBand.js.map +1 -0
  183. package/esm/LinearGenomeView/components/OverviewScaleBar.d.ts +148 -0
  184. package/esm/LinearGenomeView/components/OverviewScaleBar.js +287 -0
  185. package/esm/LinearGenomeView/components/OverviewScaleBar.js.map +1 -0
  186. package/esm/LinearGenomeView/components/RefNameAutocomplete.d.ts +22 -0
  187. package/esm/LinearGenomeView/components/RefNameAutocomplete.js +136 -0
  188. package/esm/LinearGenomeView/components/RefNameAutocomplete.js.map +1 -0
  189. package/esm/LinearGenomeView/components/RubberBand.d.ts +9 -0
  190. package/esm/LinearGenomeView/components/RubberBand.js +197 -0
  191. package/esm/LinearGenomeView/components/RubberBand.js.map +1 -0
  192. package/esm/LinearGenomeView/components/Ruler.d.ts +27 -0
  193. package/esm/LinearGenomeView/components/Ruler.js +50 -0
  194. package/esm/LinearGenomeView/components/Ruler.js.map +1 -0
  195. package/esm/LinearGenomeView/components/ScaleBar.d.ts +10 -0
  196. package/esm/LinearGenomeView/components/ScaleBar.js +112 -0
  197. package/esm/LinearGenomeView/components/ScaleBar.js.map +1 -0
  198. package/esm/LinearGenomeView/components/SearchBox.d.ts +8 -0
  199. package/esm/LinearGenomeView/components/SearchBox.js +94 -0
  200. package/esm/LinearGenomeView/components/SearchBox.js.map +1 -0
  201. package/esm/LinearGenomeView/components/SearchResultsDialog.d.ts +7 -0
  202. package/esm/LinearGenomeView/components/SearchResultsDialog.js +107 -0
  203. package/esm/LinearGenomeView/components/SearchResultsDialog.js.map +1 -0
  204. package/esm/LinearGenomeView/components/SequenceDialog.d.ts +8 -0
  205. package/esm/LinearGenomeView/components/SequenceDialog.js +147 -0
  206. package/esm/LinearGenomeView/components/SequenceDialog.js.map +1 -0
  207. package/esm/LinearGenomeView/components/TrackContainer.d.ts +10 -0
  208. package/esm/LinearGenomeView/components/TrackContainer.js +104 -0
  209. package/esm/LinearGenomeView/components/TrackContainer.js.map +1 -0
  210. package/esm/LinearGenomeView/components/TrackLabel.d.ts +8 -0
  211. package/esm/LinearGenomeView/components/TrackLabel.js +88 -0
  212. package/esm/LinearGenomeView/components/TrackLabel.js.map +1 -0
  213. package/{dist/LinearGenomeView/components/VerticalGuides.d.ts → esm/LinearGenomeView/components/TracksContainer.d.ts} +4 -3
  214. package/esm/LinearGenomeView/components/TracksContainer.js +142 -0
  215. package/esm/LinearGenomeView/components/TracksContainer.js.map +1 -0
  216. package/esm/LinearGenomeView/components/ZoomControls.d.ts +7 -0
  217. package/esm/LinearGenomeView/components/ZoomControls.js +32 -0
  218. package/esm/LinearGenomeView/components/ZoomControls.js.map +1 -0
  219. package/esm/LinearGenomeView/components/util.d.ts +14 -0
  220. package/esm/LinearGenomeView/components/util.js +17 -0
  221. package/esm/LinearGenomeView/components/util.js.map +1 -0
  222. package/esm/LinearGenomeView/index.d.ts +275 -0
  223. package/esm/LinearGenomeView/index.js +978 -0
  224. package/esm/LinearGenomeView/index.js.map +1 -0
  225. package/esm/LinearGenomeView/util.d.ts +14 -0
  226. package/esm/LinearGenomeView/util.js +62 -0
  227. package/esm/LinearGenomeView/util.js.map +1 -0
  228. package/esm/index.d.ts +615 -0
  229. package/esm/index.js +127 -0
  230. package/esm/index.js.map +1 -0
  231. package/package.json +22 -15
  232. package/src/BaseLinearDisplay/components/BaseLinearDisplay.tsx +4 -4
  233. package/src/BaseLinearDisplay/components/Block.tsx +5 -5
  234. package/src/BaseLinearDisplay/components/LinearBlocks.tsx +4 -4
  235. package/src/BaseLinearDisplay/components/ServerSideRenderedBlockContent.tsx +9 -9
  236. package/src/BaseLinearDisplay/components/Tooltip.tsx +14 -4
  237. package/src/BaseLinearDisplay/models/BaseLinearDisplayModel.tsx +6 -4
  238. package/src/BaseLinearDisplay/models/serverSideRenderedBlock.ts +1 -1
  239. package/src/LinearBasicDisplay/components/SetMaxHeight.tsx +10 -7
  240. package/src/LinearBasicDisplay/model.ts +19 -11
  241. package/src/LinearGenomeView/components/CenterLine.tsx +6 -11
  242. package/src/LinearGenomeView/components/ExportSvgDialog.tsx +5 -5
  243. package/src/LinearGenomeView/components/{VerticalGuides.tsx → Gridlines.tsx} +9 -11
  244. package/src/LinearGenomeView/components/Header.tsx +10 -15
  245. package/src/LinearGenomeView/components/HelpDialog.tsx +5 -5
  246. package/src/LinearGenomeView/components/ImportForm.tsx +6 -12
  247. package/src/LinearGenomeView/components/LinearGenomeView.test.js +16 -6
  248. package/src/LinearGenomeView/components/LinearGenomeView.tsx +6 -9
  249. package/src/LinearGenomeView/components/MiniControls.tsx +29 -40
  250. package/src/LinearGenomeView/components/OverviewRubberBand.tsx +20 -29
  251. package/src/LinearGenomeView/components/OverviewScaleBar.tsx +61 -59
  252. package/src/LinearGenomeView/components/RefNameAutocomplete.tsx +13 -44
  253. package/src/LinearGenomeView/components/RubberBand.tsx +12 -18
  254. package/src/LinearGenomeView/components/Ruler.tsx +5 -11
  255. package/src/LinearGenomeView/components/ScaleBar.tsx +23 -27
  256. package/src/LinearGenomeView/components/SearchBox.tsx +4 -3
  257. package/src/LinearGenomeView/components/SearchResultsDialog.tsx +7 -6
  258. package/src/LinearGenomeView/components/SequenceDialog.tsx +10 -10
  259. package/src/LinearGenomeView/components/TrackContainer.tsx +29 -39
  260. package/src/LinearGenomeView/components/TrackLabel.tsx +76 -79
  261. package/src/LinearGenomeView/components/TracksContainer.tsx +10 -15
  262. package/src/LinearGenomeView/components/ZoomControls.tsx +12 -13
  263. package/src/LinearGenomeView/components/__snapshots__/LinearGenomeView.test.js.snap +500 -550
  264. package/src/LinearGenomeView/index.test.ts +15 -36
  265. package/src/LinearGenomeView/index.tsx +390 -564
  266. package/src/index.ts +1 -1
  267. package/dist/LinearBareDisplay/index.test.js +0 -33
  268. package/dist/LinearGenomeView/components/LinearGenomeView.test.js +0 -234
  269. package/dist/LinearGenomeView/components/ScaleBar.test.js +0 -180
  270. package/dist/LinearGenomeView/components/VerticalGuides.js +0 -116
  271. package/dist/LinearGenomeView/index.test.js +0 -1187
  272. package/dist/LinearGenomeView/util.test.js +0 -78
@@ -1,21 +1,8 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- Object.defineProperty(exports, "configSchemaFactory", {
7
- enumerable: true,
8
- get: function get() {
9
- return _configSchema.configSchemaFactory;
10
- }
11
- });
12
- Object.defineProperty(exports, "stateModelFactory", {
13
- enumerable: true,
14
- get: function get() {
15
- return _model.stateModelFactory;
16
- }
17
- });
18
-
19
- var _configSchema = require("./configSchema");
20
-
21
- var _model = require("./model");
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.stateModelFactory = exports.configSchemaFactory = void 0;
4
+ var configSchema_1 = require("./configSchema");
5
+ Object.defineProperty(exports, "configSchemaFactory", { enumerable: true, get: function () { return configSchema_1.configSchemaFactory; } });
6
+ var model_1 = require("./model");
7
+ Object.defineProperty(exports, "stateModelFactory", { enumerable: true, get: function () { return model_1.stateModelFactory; } });
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/LinearBareDisplay/index.ts"],"names":[],"mappings":";;;AAAA,+CAAoD;AAA3C,mHAAA,mBAAmB,OAAA;AAC5B,iCAA2C;AAAlC,0GAAA,iBAAiB,OAAA"}
@@ -62,11 +62,11 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
62
62
  error: unknown;
63
63
  } & {
64
64
  readonly RenderingComponent: import("react").FC<{
65
- model: import("mobx-state-tree").ModelInstanceTypeProps<{
66
- id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
67
- type: import("mobx-state-tree").ISimpleType<string>;
68
- rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
69
- }> & {
65
+ model: {
66
+ id: string;
67
+ type: string;
68
+ rpcDriverName: string | undefined;
69
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
70
70
  rendererTypeName: string;
71
71
  error: unknown;
72
72
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
@@ -81,11 +81,11 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
81
81
  blockState?: Record<string, any> | undefined;
82
82
  }>;
83
83
  readonly DisplayBlurb: import("react").FC<{
84
- model: import("mobx-state-tree").ModelInstanceTypeProps<{
85
- id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
86
- type: import("mobx-state-tree").ISimpleType<string>;
87
- rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
88
- }> & {
84
+ model: {
85
+ id: string;
86
+ type: string;
87
+ rpcDriverName: string | undefined;
88
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
89
89
  rendererTypeName: string;
90
90
  error: unknown;
91
91
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
@@ -171,7 +171,9 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
171
171
  trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
172
172
  contextMenuItems(): {
173
173
  label: string;
174
- icon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
174
+ icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
175
+ muiName: string;
176
+ };
175
177
  onClick: () => void;
176
178
  }[];
177
179
  renderProps(): any;
@@ -183,10 +185,10 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
183
185
  renderProps(): any;
184
186
  readonly rendererTypeName: any;
185
187
  }, import("mobx-state-tree")._NotCustomized, {
186
- id: string;
187
188
  type: string;
188
- rpcDriverName: string | undefined;
189
189
  height: number;
190
+ id: string;
191
+ rpcDriverName: string | undefined;
190
192
  userBpPerPxLimit: number | undefined;
191
193
  userByteSizeLimit: number | undefined;
192
194
  } & import("mobx-state-tree")._NotCustomized>;
@@ -1,44 +1,38 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.stateModelFactory = stateModelFactory;
9
-
10
- var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
-
12
- var _configurationSchema = require("@jbrowse/core/configuration/configurationSchema");
13
-
14
- var _tracks = require("@jbrowse/core/util/tracks");
15
-
16
- var _mobxStateTree = require("mobx-state-tree");
17
-
18
- var _BaseLinearDisplay = require("../BaseLinearDisplay");
19
-
20
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
21
-
22
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
23
-
24
- function stateModelFactory(configSchema) {
25
- return _mobxStateTree.types.compose('LinearBareDisplay', _BaseLinearDisplay.BaseLinearDisplay, _mobxStateTree.types.model({
26
- type: _mobxStateTree.types.literal('LinearBareDisplay'),
27
- configuration: (0, _configurationSchema.ConfigurationReference)(configSchema)
28
- })).views(function (self) {
29
- var superRenderProps = self.renderProps;
30
- return {
31
- renderProps: function renderProps() {
32
- return _objectSpread(_objectSpread(_objectSpread({}, superRenderProps()), (0, _tracks.getParentRenderProps)(self)), {}, {
33
- rpcDriverName: self.rpcDriverName,
34
- config: self.configuration.renderer
35
- });
36
- },
37
-
38
- get rendererTypeName() {
39
- return self.configuration.renderer.type;
40
- }
41
-
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
42
10
  };
43
- });
44
- }
11
+ return __assign.apply(this, arguments);
12
+ };
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.stateModelFactory = void 0;
15
+ var configurationSchema_1 = require("@jbrowse/core/configuration/configurationSchema");
16
+ var tracks_1 = require("@jbrowse/core/util/tracks");
17
+ var mobx_state_tree_1 = require("mobx-state-tree");
18
+ var BaseLinearDisplay_1 = require("../BaseLinearDisplay");
19
+ function stateModelFactory(configSchema) {
20
+ return mobx_state_tree_1.types
21
+ .compose('LinearBareDisplay', BaseLinearDisplay_1.BaseLinearDisplay, mobx_state_tree_1.types.model({
22
+ type: mobx_state_tree_1.types.literal('LinearBareDisplay'),
23
+ configuration: (0, configurationSchema_1.ConfigurationReference)(configSchema),
24
+ }))
25
+ .views(function (self) {
26
+ var superRenderProps = self.renderProps;
27
+ return {
28
+ renderProps: function () {
29
+ return __assign(__assign(__assign({}, superRenderProps()), (0, tracks_1.getParentRenderProps)(self)), { rpcDriverName: self.rpcDriverName, config: self.configuration.renderer });
30
+ },
31
+ get rendererTypeName() {
32
+ return self.configuration.renderer.type;
33
+ },
34
+ };
35
+ });
36
+ }
37
+ exports.stateModelFactory = stateModelFactory;
38
+ //# sourceMappingURL=model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"model.js","sourceRoot":"","sources":["../../src/LinearBareDisplay/model.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAAA,uFAGwD;AACxD,oDAAgE;AAChE,mDAAuC;AACvC,0DAAwD;AAExD,SAAgB,iBAAiB,CAAC,YAAwC;IACxE,OAAO,uBAAK;SACT,OAAO,CACN,mBAAmB,EACnB,qCAAiB,EACjB,uBAAK,CAAC,KAAK,CAAC;QACV,IAAI,EAAE,uBAAK,CAAC,OAAO,CAAC,mBAAmB,CAAC;QACxC,aAAa,EAAE,IAAA,4CAAsB,EAAC,YAAY,CAAC;KACpD,CAAC,CACH;SAEA,KAAK,CAAC,UAAA,IAAI;QACD,IAAa,gBAAgB,GAAK,IAAI,YAAT,CAAS;QAC9C,OAAO;YACL,WAAW;gBACT,sCACK,gBAAgB,EAAE,GAClB,IAAA,6BAAoB,EAAC,IAAI,CAAC,KAC7B,aAAa,EAAE,IAAI,CAAC,aAAa,EACjC,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,QAAQ,IACpC;YACH,CAAC;YAED,IAAI,gBAAgB;gBAClB,OAAO,IAAI,CAAC,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAA;YACzC,CAAC;SACF,CAAA;IACH,CAAC,CAAC,CAAA;AACN,CAAC;AA5BD,8CA4BC"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- declare function SetMaxHeightDlg(props: {
2
+ declare function SetMaxHeightDlg({ model, handleClose, }: {
3
3
  model: {
4
4
  maxHeight?: number;
5
5
  setMaxHeight: Function;
@@ -1,94 +1,85 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- var _typeof = require("@babel/runtime/helpers/typeof");
6
-
7
- Object.defineProperty(exports, "__esModule", {
8
- value: true
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
9
17
  });
10
- exports.default = void 0;
11
-
12
- var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
13
-
14
- var _react = _interopRequireWildcard(require("react"));
15
-
16
- var _mobxReact = require("mobx-react");
17
-
18
- var _core = require("@material-ui/core");
19
-
20
- var _Close = _interopRequireDefault(require("@material-ui/icons/Close"));
21
-
22
- function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
-
24
- function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
-
26
- var useStyles = (0, _core.makeStyles)(function (theme) {
27
- return {
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ var __read = (this && this.__read) || function (o, n) {
26
+ var m = typeof Symbol === "function" && o[Symbol.iterator];
27
+ if (!m) return o;
28
+ var i = m.call(o), r, ar = [], e;
29
+ try {
30
+ while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
31
+ }
32
+ catch (error) { e = { error: error }; }
33
+ finally {
34
+ try {
35
+ if (r && !r.done && (m = i["return"])) m.call(i);
36
+ }
37
+ finally { if (e) throw e.error; }
38
+ }
39
+ return ar;
40
+ };
41
+ var __importDefault = (this && this.__importDefault) || function (mod) {
42
+ return (mod && mod.__esModule) ? mod : { "default": mod };
43
+ };
44
+ Object.defineProperty(exports, "__esModule", { value: true });
45
+ var react_1 = __importStar(require("react"));
46
+ var mobx_react_1 = require("mobx-react");
47
+ var material_1 = require("@mui/material");
48
+ var mui_1 = require("tss-react/mui");
49
+ var Close_1 = __importDefault(require("@mui/icons-material/Close"));
50
+ var useStyles = (0, mui_1.makeStyles)()(function (theme) { return ({
28
51
  root: {
29
- width: 500
52
+ width: 500,
30
53
  },
31
54
  closeButton: {
32
- position: 'absolute',
33
- right: theme.spacing(1),
34
- top: theme.spacing(1),
35
- color: theme.palette.grey[500]
55
+ position: 'absolute',
56
+ right: theme.spacing(1),
57
+ top: theme.spacing(1),
58
+ color: theme.palette.grey[500],
36
59
  },
37
60
  field: {
38
- margin: theme.spacing(2)
39
- }
40
- };
41
- });
42
-
43
- function SetMaxHeightDlg(props) {
44
- var model = props.model,
45
- handleClose = props.handleClose;
46
- var classes = useStyles();
47
- var _model$maxHeight = model.maxHeight,
48
- maxHeight = _model$maxHeight === void 0 ? '' : _model$maxHeight;
49
-
50
- var _useState = (0, _react.useState)("".concat(maxHeight)),
51
- _useState2 = (0, _slicedToArray2.default)(_useState, 2),
52
- max = _useState2[0],
53
- setMax = _useState2[1];
54
-
55
- return /*#__PURE__*/_react.default.createElement(_core.Dialog, {
56
- open: true,
57
- onClose: handleClose,
58
- "aria-labelledby": "alert-dialog-title",
59
- "aria-describedby": "alert-dialog-description"
60
- }, /*#__PURE__*/_react.default.createElement(_core.DialogTitle, {
61
- id: "alert-dialog-title"
62
- }, "Filter options", /*#__PURE__*/_react.default.createElement(_core.IconButton, {
63
- "aria-label": "close",
64
- className: classes.closeButton,
65
- onClick: handleClose
66
- }, /*#__PURE__*/_react.default.createElement(_Close.default, null))), /*#__PURE__*/_react.default.createElement(_core.DialogContent, {
67
- className: classes.root
68
- }, /*#__PURE__*/_react.default.createElement(_core.Typography, null, "Set max height for the track. For example, you can increase this if the layout says \"Max height reached\""), /*#__PURE__*/_react.default.createElement(_core.TextField, {
69
- value: max,
70
- onChange: function onChange(event) {
71
- return setMax(event.target.value);
61
+ margin: theme.spacing(2),
72
62
  },
73
- placeholder: "Enter max score"
74
- }), /*#__PURE__*/_react.default.createElement(_core.DialogActions, null, /*#__PURE__*/_react.default.createElement(_core.Button, {
75
- variant: "contained",
76
- color: "primary",
77
- type: "submit",
78
- autoFocus: true,
79
- onClick: function onClick() {
80
- model.setMaxHeight(max !== '' && !Number.isNaN(+max) ? +max : undefined);
81
- handleClose();
82
- }
83
- }, "Submit"), /*#__PURE__*/_react.default.createElement(_core.Button, {
84
- variant: "contained",
85
- color: "secondary",
86
- onClick: function onClick() {
87
- return handleClose();
88
- }
89
- }, "Cancel"))));
63
+ }); });
64
+ function SetMaxHeightDlg(_a) {
65
+ var model = _a.model, handleClose = _a.handleClose;
66
+ var classes = useStyles().classes;
67
+ var _b = model.maxHeight, maxHeight = _b === void 0 ? '' : _b;
68
+ var _c = __read((0, react_1.useState)("".concat(maxHeight)), 2), max = _c[0], setMax = _c[1];
69
+ return (react_1.default.createElement(material_1.Dialog, { open: true, onClose: handleClose, "aria-labelledby": "alert-dialog-title", "aria-describedby": "alert-dialog-description" },
70
+ react_1.default.createElement(material_1.DialogTitle, { id: "alert-dialog-title" },
71
+ "Filter options",
72
+ react_1.default.createElement(material_1.IconButton, { "aria-label": "close", className: classes.closeButton, onClick: handleClose, size: "large" },
73
+ react_1.default.createElement(Close_1.default, null))),
74
+ react_1.default.createElement(material_1.DialogContent, { className: classes.root },
75
+ react_1.default.createElement(material_1.Typography, null, "Set max height for the track. For example, you can increase this if the layout says \"Max height reached\""),
76
+ react_1.default.createElement(material_1.TextField, { value: max, onChange: function (event) { return setMax(event.target.value); }, placeholder: "Enter max score" }),
77
+ react_1.default.createElement(material_1.DialogActions, null,
78
+ react_1.default.createElement(material_1.Button, { variant: "contained", color: "primary", type: "submit", autoFocus: true, onClick: function () {
79
+ model.setMaxHeight(max !== '' && !Number.isNaN(+max) ? +max : undefined);
80
+ handleClose();
81
+ } }, "Submit"),
82
+ react_1.default.createElement(material_1.Button, { variant: "contained", color: "secondary", onClick: function () { return handleClose(); } }, "Cancel")))));
90
83
  }
91
-
92
- var _default = (0, _mobxReact.observer)(SetMaxHeightDlg);
93
-
94
- exports.default = _default;
84
+ exports.default = (0, mobx_react_1.observer)(SetMaxHeightDlg);
85
+ //# sourceMappingURL=SetMaxHeight.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SetMaxHeight.js","sourceRoot":"","sources":["../../../src/LinearBasicDisplay/components/SetMaxHeight.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAAuC;AACvC,yCAAqC;AACrC,0CASsB;AACtB,qCAA0C;AAE1C,oEAAiD;AAEjD,IAAM,SAAS,GAAG,IAAA,gBAAU,GAAE,CAAC,UAAA,KAAK,IAAI,OAAA,CAAC;IACvC,IAAI,EAAE;QACJ,KAAK,EAAE,GAAG;KACX;IACD,WAAW,EAAE;QACX,QAAQ,EAAE,UAAU;QACpB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QACvB,GAAG,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;QACrB,KAAK,EAAE,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC;KAC/B;IACD,KAAK,EAAE;QACL,MAAM,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC;KACzB;CACF,CAAC,EAbsC,CAatC,CAAC,CAAA;AAEH,SAAS,eAAe,CAAC,EASxB;QARC,KAAK,WAAA,EACL,WAAW,iBAAA;IAQH,IAAA,OAAO,GAAK,SAAS,EAAE,QAAhB,CAAgB;IACvB,IAAA,KAAmB,KAAK,UAAV,EAAd,SAAS,mBAAG,EAAE,KAAA,CAAU;IAC1B,IAAA,KAAA,OAAgB,IAAA,gBAAQ,EAAC,UAAG,SAAS,CAAE,CAAC,IAAA,EAAvC,GAAG,QAAA,EAAE,MAAM,QAA4B,CAAA;IAE9C,OAAO,CACL,8BAAC,iBAAM,IACL,IAAI,QACJ,OAAO,EAAE,WAAW,qBACJ,oBAAoB,sBACnB,0BAA0B;QAE3C,8BAAC,sBAAW,IAAC,EAAE,EAAC,oBAAoB;;YAElC,8BAAC,qBAAU,kBACE,OAAO,EAClB,SAAS,EAAE,OAAO,CAAC,WAAW,EAC9B,OAAO,EAAE,WAAW,EACpB,IAAI,EAAC,OAAO;gBAEZ,8BAAC,eAAS,OAAG,CACF,CACD;QACd,8BAAC,wBAAa,IAAC,SAAS,EAAE,OAAO,CAAC,IAAI;YACpC,8BAAC,qBAAU,qHAGE;YACb,8BAAC,oBAAS,IACR,KAAK,EAAE,GAAG,EACV,QAAQ,EAAE,UAAA,KAAK,IAAI,OAAA,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,EAA1B,CAA0B,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;wBACP,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,cAAM,OAAA,WAAW,EAAE,EAAb,CAAa,aAGrB,CACK,CACF,CACT,CACV,CAAA;AACH,CAAC;AAED,kBAAe,IAAA,qBAAQ,EAAC,eAAe,CAAC,CAAA"}
@@ -1,25 +1,17 @@
1
1
  "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = configSchemaFactory;
7
-
8
- var _configuration = require("@jbrowse/core/configuration");
9
-
10
- var _BaseLinearDisplay = require("../BaseLinearDisplay");
11
-
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var configuration_1 = require("@jbrowse/core/configuration");
4
+ var BaseLinearDisplay_1 = require("../BaseLinearDisplay");
12
5
  function configSchemaFactory(pluginManager) {
13
- return (0, _configuration.ConfigurationSchema)('LinearBasicDisplay', {
14
- mouseover: {
15
- type: 'string',
16
- description: 'what to display in a given mouseover',
17
- defaultValue: "jexl:get(feature,'name')",
18
- contextVariable: ['feature']
19
- },
20
- renderer: pluginManager.pluggableConfigSchemaType('renderer')
21
- }, {
22
- baseConfiguration: _BaseLinearDisplay.baseLinearDisplayConfigSchema,
23
- explicitlyTyped: true
24
- });
25
- }
6
+ return (0, configuration_1.ConfigurationSchema)('LinearBasicDisplay', {
7
+ mouseover: {
8
+ type: 'string',
9
+ description: 'what to display in a given mouseover',
10
+ defaultValue: "jexl:get(feature,'name')",
11
+ contextVariable: ['feature'],
12
+ },
13
+ renderer: pluginManager.pluggableConfigSchemaType('renderer'),
14
+ }, { baseConfiguration: BaseLinearDisplay_1.baseLinearDisplayConfigSchema, explicitlyTyped: true });
15
+ }
16
+ exports.default = configSchemaFactory;
17
+ //# sourceMappingURL=configSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"configSchema.js","sourceRoot":"","sources":["../../src/LinearBasicDisplay/configSchema.ts"],"names":[],"mappings":";;AAAA,6DAAiE;AAEjE,0DAAoE;AAEpE,SAAwB,mBAAmB,CAAC,aAA4B;IACtE,OAAO,IAAA,mCAAmB,EACxB,oBAAoB,EACpB;QACE,SAAS,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,sCAAsC;YACnD,YAAY,EAAE,0BAA0B;YAExC,eAAe,EAAE,CAAC,SAAS,CAAC;SAC7B;QACD,QAAQ,EAAE,aAAa,CAAC,yBAAyB,CAAC,UAAU,CAAC;KAC9D,EACD,EAAE,iBAAiB,EAAE,iDAA6B,EAAE,eAAe,EAAE,IAAI,EAAE,CAC5E,CAAA;AACH,CAAC;AAfD,sCAeC"}
@@ -1,23 +1,11 @@
1
1
  "use strict";
2
-
3
- var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- Object.defineProperty(exports, "configSchema", {
9
- enumerable: true,
10
- get: function get() {
11
- return _configSchema.default;
12
- }
13
- });
14
- Object.defineProperty(exports, "modelFactory", {
15
- enumerable: true,
16
- get: function get() {
17
- return _model.default;
18
- }
19
- });
20
-
21
- var _model = _interopRequireDefault(require("./model"));
22
-
23
- var _configSchema = _interopRequireDefault(require("./configSchema"));
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.configSchema = exports.modelFactory = void 0;
7
+ var model_1 = require("./model");
8
+ Object.defineProperty(exports, "modelFactory", { enumerable: true, get: function () { return __importDefault(model_1).default; } });
9
+ var configSchema_1 = require("./configSchema");
10
+ Object.defineProperty(exports, "configSchema", { enumerable: true, get: function () { return __importDefault(configSchema_1).default; } });
11
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/LinearBasicDisplay/index.ts"],"names":[],"mappings":";;;;;;AAAA,iCAAiD;AAAxC,sHAAA,OAAO,OAAgB;AAChC,+CAAwD;AAA/C,6HAAA,OAAO,OAAgB"}
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
2
3
  import { MenuItem } from '@jbrowse/core/ui';
3
4
  import { Instance } from 'mobx-state-tree';
@@ -67,11 +68,11 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
67
68
  error: unknown;
68
69
  } & {
69
70
  readonly RenderingComponent: import("react").FC<{
70
- model: import("mobx-state-tree").ModelInstanceTypeProps<{
71
- id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
72
- type: import("mobx-state-tree").ISimpleType<string>;
73
- rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
74
- }> & {
71
+ model: {
72
+ id: string;
73
+ type: string;
74
+ rpcDriverName: string | undefined;
75
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
75
76
  rendererTypeName: string;
76
77
  error: unknown;
77
78
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
@@ -86,11 +87,11 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
86
87
  blockState?: Record<string, any> | undefined;
87
88
  }>;
88
89
  readonly DisplayBlurb: import("react").FC<{
89
- model: import("mobx-state-tree").ModelInstanceTypeProps<{
90
- id: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
91
- type: import("mobx-state-tree").ISimpleType<string>;
92
- rpcDriverName: import("mobx-state-tree").IMaybe<import("mobx-state-tree").ISimpleType<string>>;
93
- }> & {
90
+ model: {
91
+ id: string;
92
+ type: string;
93
+ rpcDriverName: string | undefined;
94
+ } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
94
95
  rendererTypeName: string;
95
96
  error: unknown;
96
97
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
@@ -176,7 +177,9 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
176
177
  trackMenuItems(): MenuItem[];
177
178
  contextMenuItems(): {
178
179
  label: string;
179
- icon: import("@material-ui/core/OverridableComponent").OverridableComponent<import("@material-ui/core").SvgIconTypeMap<{}, "svg">>;
180
+ icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
181
+ muiName: string;
182
+ };
180
183
  onClick: () => void;
181
184
  }[];
182
185
  renderProps(): any;
@@ -190,6 +193,7 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
190
193
  readonly showDescriptions: any;
191
194
  readonly maxHeight: any;
192
195
  readonly displayMode: any;
196
+ } & {
193
197
  readonly rendererConfig: any;
194
198
  } & {
195
199
  toggleShowLabels(): void;
@@ -197,13 +201,15 @@ declare const stateModelFactory: (configSchema: AnyConfigurationSchemaType) => i
197
201
  setDisplayMode(val: string): void;
198
202
  setMaxHeight(val: number): void;
199
203
  } & {
200
- renderProps(): any;
204
+ renderProps(): {
205
+ config: any;
206
+ };
201
207
  trackMenuItems(): MenuItem[];
202
208
  }, import("mobx-state-tree")._NotCustomized, {
203
- id: string;
204
209
  type: string;
205
- rpcDriverName: string | undefined;
206
210
  height: number;
211
+ id: string;
212
+ rpcDriverName: string | undefined;
207
213
  userBpPerPxLimit: number | undefined;
208
214
  userByteSizeLimit: number | undefined;
209
215
  } & import("mobx-state-tree")._NotCustomized>;