@jbrowse/plugin-wiggle 2.10.0 → 2.10.2

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.
@@ -44,9 +44,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
44
44
  message: string | undefined;
45
45
  maxHeightReached: boolean;
46
46
  ReactComponent: ({ model, }: {
47
- model: any; /**
48
- * #getter
49
- */
47
+ model: any;
50
48
  }) => any;
51
49
  renderProps: any;
52
50
  } & {
@@ -160,9 +158,6 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
160
158
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
161
159
  }> | null;
162
160
  readonly adapterConfig: any;
163
- /**
164
- * #getter
165
- */
166
161
  readonly parentTrack: any;
167
162
  renderProps(): any; /**
168
163
  * #getter
@@ -36,7 +36,7 @@ const util_2 = require("../../util");
36
36
  const Tooltip_1 = __importDefault(require("../components/Tooltip"));
37
37
  const modelShared_1 = __importDefault(require("../../shared/modelShared"));
38
38
  // lazies
39
- const SetColorDlg = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('../components/SetColorDialog'))));
39
+ const SetColorDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('../components/SetColorDialog'))));
40
40
  // using a map because it preserves order
41
41
  const rendererTypes = new Map([
42
42
  ['xyplot', 'XYPlotRenderer'],
@@ -199,7 +199,7 @@ function stateModelFactory(pluginManager, configSchema) {
199
199
  label: 'Set color',
200
200
  onClick: () => {
201
201
  (0, util_1.getSession)(self).queueDialog(handleClose => [
202
- SetColorDlg,
202
+ SetColorDialog,
203
203
  { model: self, handleClose },
204
204
  ]);
205
205
  },
@@ -170,9 +170,7 @@ export declare function stateModelFactory(pluginManager: PluginManager, configSc
170
170
  }, {
171
171
  rendererTypeName: string;
172
172
  error: unknown;
173
- message: string | undefined; /**
174
- * #getter
175
- */
173
+ message: string | undefined;
176
174
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
177
175
  }> | null;
178
176
  readonly adapterConfig: any;
@@ -43,7 +43,7 @@ const Tooltip_1 = __importDefault(require("../components/Tooltip"));
43
43
  const modelShared_1 = __importDefault(require("../../shared/modelShared"));
44
44
  const randomColor = () => '#000000'.replaceAll('0', () => (~~(Math.random() * 16)).toString(16));
45
45
  // lazies
46
- const SetColorDlg = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('../components/SetColorDialog'))));
46
+ const SetColorDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('../components/SetColorDialog'))));
47
47
  // using a map because it preserves order
48
48
  const rendererTypes = new Map([
49
49
  ['xyplot', 'MultiXYPlotRenderer'],
@@ -369,7 +369,7 @@ function stateModelFactory(pluginManager, configSchema) {
369
369
  label: 'Edit colors/arrangement...',
370
370
  onClick: () => {
371
371
  (0, util_1.getSession)(self).queueDialog(handleClose => [
372
- SetColorDlg,
372
+ SetColorDialog,
373
373
  { model: self, handleClose },
374
374
  ]);
375
375
  },
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export default function SetMinMaxDlg(props: {
2
+ export default function SetMinMaxDialog(props: {
3
3
  model: {
4
4
  minScore: number;
5
5
  maxScore: number;
@@ -26,7 +26,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
26
26
  const react_1 = __importStar(require("react"));
27
27
  const material_1 = require("@mui/material");
28
28
  const ui_1 = require("@jbrowse/core/ui");
29
- function SetMinMaxDlg(props) {
29
+ function SetMinMaxDialog(props) {
30
30
  const { model, handleClose } = props;
31
31
  const { minScore, maxScore, scaleType } = model;
32
32
  const [min, setMin] = (0, react_1.useState)(`${minScore !== Number.MIN_VALUE ? minScore : ''}`);
@@ -49,4 +49,4 @@ function SetMinMaxDlg(props) {
49
49
  handleClose();
50
50
  } }, "Submit"))));
51
51
  }
52
- exports.default = SetMinMaxDlg;
52
+ exports.default = SetMinMaxDialog;
@@ -46,9 +46,6 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
46
46
  } & {
47
47
  doReload(): void;
48
48
  afterAttach(): void;
49
- /**
50
- * #action
51
- */
52
49
  setStatus(message: string): void;
53
50
  setLoading(abortController: AbortController): void;
54
51
  setMessage(messageText: string): void;
@@ -157,9 +154,6 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
157
154
  type: string;
158
155
  rpcDriverName: string | undefined;
159
156
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
160
- /**
161
- * #property
162
- */
163
157
  rendererTypeName: string;
164
158
  error: unknown;
165
159
  message: string | undefined;
@@ -271,20 +265,24 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
271
265
  } & {
272
266
  addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
273
267
  deleteBlock(key: string): void;
274
- selectFeature(feature: Feature): void;
275
- clearFeatureSelection(): void;
276
- setFeatureIdUnderMouse(feature?: string | undefined): void;
277
- setContextMenuFeature(feature?: Feature | undefined): void; /**
268
+ selectFeature(feature: Feature): void; /**
278
269
  * #getter
279
270
  */
271
+ clearFeatureSelection(): void;
272
+ setFeatureIdUnderMouse(feature?: string | undefined): void;
273
+ setContextMenuFeature(feature?: Feature | undefined): void;
280
274
  } & {
281
275
  reload(): Promise<void>;
282
276
  } & {
283
277
  trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
284
278
  contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
285
- renderProps(): any;
279
+ renderProps(): any; /**
280
+ * #getter
281
+ */
286
282
  } & {
287
- renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
283
+ renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>; /**
284
+ * #getter
285
+ */
288
286
  afterAttach(): void;
289
287
  } & {
290
288
  message: string | undefined;
@@ -528,9 +526,6 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
528
526
  } & {
529
527
  doReload(): void;
530
528
  afterAttach(): void;
531
- /**
532
- * #action
533
- */
534
529
  setStatus(message: string): void;
535
530
  setLoading(abortController: AbortController): void;
536
531
  setMessage(messageText: string): void;
@@ -31,7 +31,7 @@ const mobx_state_tree_1 = require("mobx-state-tree");
31
31
  const util_2 = require("../util");
32
32
  const react_1 = require("react");
33
33
  // lazies
34
- const SetMinMaxDlg = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./SetMinMaxDialog'))));
34
+ const SetMinMaxDialog = (0, react_1.lazy)(() => Promise.resolve().then(() => __importStar(require('./SetMinMaxDialog'))));
35
35
  /**
36
36
  * #stateModel SharedWiggleMixin
37
37
  */
@@ -455,7 +455,7 @@ function SharedWiggleMixin(configSchema) {
455
455
  label: 'Set min/max score',
456
456
  onClick: () => {
457
457
  (0, util_1.getSession)(self).queueDialog(handleClose => [
458
- SetMinMaxDlg,
458
+ SetMinMaxDialog,
459
459
  { model: self, handleClose },
460
460
  ]);
461
461
  },
@@ -44,9 +44,7 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
44
44
  message: string | undefined;
45
45
  maxHeightReached: boolean;
46
46
  ReactComponent: ({ model, }: {
47
- model: any; /**
48
- * #getter
49
- */
47
+ model: any;
50
48
  }) => any;
51
49
  renderProps: any;
52
50
  } & {
@@ -160,9 +158,6 @@ declare function stateModelFactory(pluginManager: PluginManager, configSchema: A
160
158
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
161
159
  }> | null;
162
160
  readonly adapterConfig: any;
163
- /**
164
- * #getter
165
- */
166
161
  readonly parentTrack: any;
167
162
  renderProps(): any; /**
168
163
  * #getter
@@ -8,7 +8,7 @@ import { getScale, YSCALEBAR_LABEL_OFFSET } from '../../util';
8
8
  import Tooltip from '../components/Tooltip';
9
9
  import SharedWiggleMixin from '../../shared/modelShared';
10
10
  // lazies
11
- const SetColorDlg = lazy(() => import('../components/SetColorDialog'));
11
+ const SetColorDialog = lazy(() => import('../components/SetColorDialog'));
12
12
  // using a map because it preserves order
13
13
  const rendererTypes = new Map([
14
14
  ['xyplot', 'XYPlotRenderer'],
@@ -171,7 +171,7 @@ function stateModelFactory(pluginManager, configSchema) {
171
171
  label: 'Set color',
172
172
  onClick: () => {
173
173
  getSession(self).queueDialog(handleClose => [
174
- SetColorDlg,
174
+ SetColorDialog,
175
175
  { model: self, handleClose },
176
176
  ]);
177
177
  },
@@ -170,9 +170,7 @@ export declare function stateModelFactory(pluginManager: PluginManager, configSc
170
170
  }, {
171
171
  rendererTypeName: string;
172
172
  error: unknown;
173
- message: string | undefined; /**
174
- * #getter
175
- */
173
+ message: string | undefined;
176
174
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
177
175
  }> | null;
178
176
  readonly adapterConfig: any;
@@ -14,7 +14,7 @@ import Tooltip from '../components/Tooltip';
14
14
  import SharedWiggleMixin from '../../shared/modelShared';
15
15
  const randomColor = () => '#000000'.replaceAll('0', () => (~~(Math.random() * 16)).toString(16));
16
16
  // lazies
17
- const SetColorDlg = lazy(() => import('../components/SetColorDialog'));
17
+ const SetColorDialog = lazy(() => import('../components/SetColorDialog'));
18
18
  // using a map because it preserves order
19
19
  const rendererTypes = new Map([
20
20
  ['xyplot', 'MultiXYPlotRenderer'],
@@ -340,7 +340,7 @@ export function stateModelFactory(pluginManager, configSchema) {
340
340
  label: 'Edit colors/arrangement...',
341
341
  onClick: () => {
342
342
  getSession(self).queueDialog(handleClose => [
343
- SetColorDlg,
343
+ SetColorDialog,
344
344
  { model: self, handleClose },
345
345
  ]);
346
346
  },
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export default function SetMinMaxDlg(props: {
2
+ export default function SetMinMaxDialog(props: {
3
3
  model: {
4
4
  minScore: number;
5
5
  maxScore: number;
@@ -1,7 +1,7 @@
1
1
  import React, { useState } from 'react';
2
2
  import { Button, DialogActions, DialogContent, TextField, Typography, } from '@mui/material';
3
3
  import { Dialog } from '@jbrowse/core/ui';
4
- export default function SetMinMaxDlg(props) {
4
+ export default function SetMinMaxDialog(props) {
5
5
  const { model, handleClose } = props;
6
6
  const { minScore, maxScore, scaleType } = model;
7
7
  const [min, setMin] = useState(`${minScore !== Number.MIN_VALUE ? minScore : ''}`);
@@ -46,9 +46,6 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
46
46
  } & {
47
47
  doReload(): void;
48
48
  afterAttach(): void;
49
- /**
50
- * #action
51
- */
52
49
  setStatus(message: string): void;
53
50
  setLoading(abortController: AbortController): void;
54
51
  setMessage(messageText: string): void;
@@ -157,9 +154,6 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
157
154
  type: string;
158
155
  rpcDriverName: string | undefined;
159
156
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
160
- /**
161
- * #property
162
- */
163
157
  rendererTypeName: string;
164
158
  error: unknown;
165
159
  message: string | undefined;
@@ -271,20 +265,24 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
271
265
  } & {
272
266
  addBlock(key: string, block: import("@jbrowse/core/util/blockTypes").BaseBlock): void;
273
267
  deleteBlock(key: string): void;
274
- selectFeature(feature: Feature): void;
275
- clearFeatureSelection(): void;
276
- setFeatureIdUnderMouse(feature?: string | undefined): void;
277
- setContextMenuFeature(feature?: Feature | undefined): void; /**
268
+ selectFeature(feature: Feature): void; /**
278
269
  * #getter
279
270
  */
271
+ clearFeatureSelection(): void;
272
+ setFeatureIdUnderMouse(feature?: string | undefined): void;
273
+ setContextMenuFeature(feature?: Feature | undefined): void;
280
274
  } & {
281
275
  reload(): Promise<void>;
282
276
  } & {
283
277
  trackMenuItems(): import("@jbrowse/core/ui").MenuItem[];
284
278
  contextMenuItems(): import("@jbrowse/core/ui").MenuItem[];
285
- renderProps(): any;
279
+ renderProps(): any; /**
280
+ * #getter
281
+ */
286
282
  } & {
287
- renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>;
283
+ renderSvg(opts: import("@jbrowse/plugin-linear-genome-view").ExportSvgDisplayOptions): Promise<import("react").JSX.Element>; /**
284
+ * #getter
285
+ */
288
286
  afterAttach(): void;
289
287
  } & {
290
288
  message: string | undefined;
@@ -528,9 +526,6 @@ export default function SharedWiggleMixin(configSchema: AnyConfigurationSchemaTy
528
526
  } & {
529
527
  doReload(): void;
530
528
  afterAttach(): void;
531
- /**
532
- * #action
533
- */
534
529
  setStatus(message: string): void;
535
530
  setLoading(abortController: AbortController): void;
536
531
  setMessage(messageText: string): void;
@@ -6,7 +6,7 @@ import { types } from 'mobx-state-tree';
6
6
  import { getNiceDomain } from '../util';
7
7
  import { lazy } from 'react';
8
8
  // lazies
9
- const SetMinMaxDlg = lazy(() => import('./SetMinMaxDialog'));
9
+ const SetMinMaxDialog = lazy(() => import('./SetMinMaxDialog'));
10
10
  /**
11
11
  * #stateModel SharedWiggleMixin
12
12
  */
@@ -430,7 +430,7 @@ export default function SharedWiggleMixin(configSchema) {
430
430
  label: 'Set min/max score',
431
431
  onClick: () => {
432
432
  getSession(self).queueDialog(handleClose => [
433
- SetMinMaxDlg,
433
+ SetMinMaxDialog,
434
434
  { model: self, handleClose },
435
435
  ]);
436
436
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jbrowse/plugin-wiggle",
3
- "version": "2.10.0",
3
+ "version": "2.10.2",
4
4
  "description": "JBrowse 2 wiggle adapters, tracks, etc.",
5
5
  "keywords": [
6
6
  "jbrowse",
@@ -66,5 +66,5 @@
66
66
  "distModule": "esm/index.js",
67
67
  "srcModule": "src/index.ts",
68
68
  "module": "esm/index.js",
69
- "gitHead": "223d8bfb68fd1bacaf22852639ad5920f1b7f43b"
69
+ "gitHead": "7ca3b7db337ebd88853e2d96cdab940ed550c4fb"
70
70
  }