@jbrowse/plugin-dotplot-view 2.18.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DotplotDisplay/components/DotplotDisplay.d.ts +1 -2
- package/dist/DotplotDisplay/components/DotplotDisplay.js +6 -11
- package/dist/DotplotDisplay/stateModelFactory.d.ts +1 -2
- package/dist/DotplotDisplay/stateModelFactory.js +2 -3
- package/dist/DotplotRenderer/DotplotRenderer.d.ts +3 -3
- package/dist/DotplotRenderer/DotplotRenderer.js +17 -7
- package/dist/DotplotRenderer/components/DotplotRendering.d.ts +1 -2
- package/dist/DotplotRenderer/components/DotplotRendering.js +2 -5
- package/dist/DotplotView/components/Axes.d.ts +4 -5
- package/dist/DotplotView/components/Axes.js +23 -36
- package/dist/DotplotView/components/CursorIcon.d.ts +2 -3
- package/dist/DotplotView/components/CursorIcon.js +3 -5
- package/dist/DotplotView/components/DotplotControls.d.ts +1 -2
- package/dist/DotplotView/components/DotplotControls.js +89 -91
- package/dist/DotplotView/components/DotplotTooltipClick.d.ts +1 -2
- package/dist/DotplotView/components/DotplotTooltipClick.js +2 -6
- package/dist/DotplotView/components/DotplotTooltipMouseover.d.ts +1 -2
- package/dist/DotplotView/components/DotplotTooltipMouseover.js +3 -7
- package/dist/DotplotView/components/DotplotView.d.ts +1 -2
- package/dist/DotplotView/components/DotplotView.js +75 -80
- package/dist/DotplotView/components/DotplotWarnings.d.ts +1 -2
- package/dist/DotplotView/components/DotplotWarnings.js +26 -20
- package/dist/DotplotView/components/ExportSvgDialog.d.ts +1 -2
- package/dist/DotplotView/components/ExportSvgDialog.js +31 -64
- package/dist/DotplotView/components/Grid.d.ts +2 -3
- package/dist/DotplotView/components/Grid.js +17 -28
- package/dist/DotplotView/components/Header.d.ts +1 -2
- package/dist/DotplotView/components/Header.js +2 -21
- package/dist/DotplotView/components/ImportForm/ImportSyntenyOpenCustomTrack.d.ts +7 -0
- package/dist/DotplotView/components/ImportForm/ImportSyntenyOpenCustomTrack.js +129 -0
- package/dist/DotplotView/components/ImportForm/ImportSyntenyTrackSelector.d.ts +3 -5
- package/dist/DotplotView/components/ImportForm/ImportSyntenyTrackSelector.js +12 -38
- package/dist/DotplotView/components/ImportForm/TrackSelector.d.ts +7 -0
- package/dist/DotplotView/components/ImportForm/TrackSelector.js +23 -0
- package/dist/DotplotView/components/ImportForm/getAdapter.d.ts +117 -0
- package/dist/DotplotView/components/ImportForm/getAdapter.js +68 -0
- package/dist/DotplotView/components/ImportForm/index.d.ts +2 -3
- package/dist/DotplotView/components/ImportForm/index.js +43 -92
- package/dist/DotplotView/components/PanButtons.d.ts +1 -2
- package/dist/DotplotView/components/PanButtons.js +14 -32
- package/dist/DotplotView/components/WarningDialog.d.ts +1 -2
- package/dist/DotplotView/components/WarningDialog.js +2 -9
- package/dist/DotplotView/index.js +17 -7
- package/dist/DotplotView/model.d.ts +6 -4
- package/dist/DotplotView/model.js +40 -30
- package/dist/DotplotView/svgcomponents/SVGBackground.d.ts +1 -2
- package/dist/DotplotView/svgcomponents/SVGBackground.js +2 -5
- package/dist/DotplotView/svgcomponents/SVGDotplotView.js +2 -16
- package/dist/DotplotView/types.d.ts +12 -0
- package/dist/DotplotView/types.js +2 -0
- package/dist/ServerSideRenderedBlockContent.d.ts +1 -2
- package/dist/ServerSideRenderedBlockContent.js +9 -34
- package/dist/ServerSideSyntenyRendering.d.ts +1 -2
- package/dist/ServerSideSyntenyRendering.js +3 -25
- package/esm/DotplotDisplay/components/DotplotDisplay.d.ts +1 -2
- package/esm/DotplotDisplay/components/DotplotDisplay.js +6 -8
- package/esm/DotplotDisplay/stateModelFactory.d.ts +1 -2
- package/esm/DotplotDisplay/stateModelFactory.js +2 -3
- package/esm/DotplotRenderer/DotplotRenderer.d.ts +3 -3
- package/esm/DotplotRenderer/components/DotplotRendering.d.ts +1 -2
- package/esm/DotplotRenderer/components/DotplotRendering.js +2 -2
- package/esm/DotplotView/components/Axes.d.ts +4 -5
- package/esm/DotplotView/components/Axes.js +23 -33
- package/esm/DotplotView/components/CursorIcon.d.ts +2 -3
- package/esm/DotplotView/components/CursorIcon.js +3 -5
- package/esm/DotplotView/components/DotplotControls.d.ts +1 -2
- package/esm/DotplotView/components/DotplotControls.js +89 -91
- package/esm/DotplotView/components/DotplotTooltipClick.d.ts +1 -2
- package/esm/DotplotView/components/DotplotTooltipClick.js +2 -6
- package/esm/DotplotView/components/DotplotTooltipMouseover.d.ts +1 -2
- package/esm/DotplotView/components/DotplotTooltipMouseover.js +3 -7
- package/esm/DotplotView/components/DotplotView.d.ts +1 -2
- package/esm/DotplotView/components/DotplotView.js +58 -73
- package/esm/DotplotView/components/DotplotWarnings.d.ts +1 -2
- package/esm/DotplotView/components/DotplotWarnings.js +9 -13
- package/esm/DotplotView/components/ExportSvgDialog.d.ts +1 -2
- package/esm/DotplotView/components/ExportSvgDialog.js +31 -41
- package/esm/DotplotView/components/Grid.d.ts +2 -3
- package/esm/DotplotView/components/Grid.js +17 -25
- package/esm/DotplotView/components/Header.d.ts +1 -2
- package/esm/DotplotView/components/Header.js +2 -21
- package/esm/DotplotView/components/ImportForm/ImportSyntenyOpenCustomTrack.d.ts +7 -0
- package/esm/DotplotView/components/ImportForm/ImportSyntenyOpenCustomTrack.js +124 -0
- package/esm/DotplotView/components/ImportForm/ImportSyntenyTrackSelector.d.ts +3 -5
- package/esm/DotplotView/components/ImportForm/ImportSyntenyTrackSelector.js +12 -15
- package/esm/DotplotView/components/ImportForm/TrackSelector.d.ts +7 -0
- package/esm/DotplotView/components/ImportForm/TrackSelector.js +18 -0
- package/esm/DotplotView/components/ImportForm/getAdapter.d.ts +117 -0
- package/esm/DotplotView/components/ImportForm/getAdapter.js +65 -0
- package/esm/DotplotView/components/ImportForm/index.d.ts +2 -3
- package/esm/DotplotView/components/ImportForm/index.js +45 -71
- package/esm/DotplotView/components/PanButtons.d.ts +1 -2
- package/esm/DotplotView/components/PanButtons.js +14 -32
- package/esm/DotplotView/components/WarningDialog.d.ts +1 -2
- package/esm/DotplotView/components/WarningDialog.js +2 -6
- package/esm/DotplotView/model.d.ts +6 -4
- package/esm/DotplotView/model.js +25 -25
- package/esm/DotplotView/svgcomponents/SVGBackground.d.ts +1 -2
- package/esm/DotplotView/svgcomponents/SVGBackground.js +2 -2
- package/esm/DotplotView/svgcomponents/SVGDotplotView.js +2 -16
- package/esm/DotplotView/types.d.ts +12 -0
- package/esm/DotplotView/types.js +1 -0
- package/esm/ServerSideRenderedBlockContent.d.ts +1 -2
- package/esm/ServerSideRenderedBlockContent.js +9 -11
- package/esm/ServerSideSyntenyRendering.d.ts +1 -2
- package/esm/ServerSideSyntenyRendering.js +3 -2
- package/package.json +2 -2
- package/dist/DotplotView/components/ImportForm/ImportCustomTrack.d.ts +0 -11
- package/dist/DotplotView/components/ImportForm/ImportCustomTrack.js +0 -194
- package/esm/DotplotView/components/ImportForm/ImportCustomTrack.d.ts +0 -11
- package/esm/DotplotView/components/ImportForm/ImportCustomTrack.js +0 -169
|
@@ -3,7 +3,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const
|
|
6
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
const ArrowDropDown_1 = __importDefault(require("@mui/icons-material/ArrowDropDown"));
|
|
8
8
|
const ArrowDropUp_1 = __importDefault(require("@mui/icons-material/ArrowDropUp"));
|
|
9
9
|
const ArrowLeft_1 = __importDefault(require("@mui/icons-material/ArrowLeft"));
|
|
@@ -30,36 +30,18 @@ const useStyles = (0, mui_1.makeStyles)()({
|
|
|
30
30
|
});
|
|
31
31
|
const PanButtons = (0, mobx_react_1.observer)(function PanButtons({ model, }) {
|
|
32
32
|
const { classes } = useStyles();
|
|
33
|
-
return (
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
model.hview.scroll(100);
|
|
47
|
-
} },
|
|
48
|
-
react_1.default.createElement(ArrowRight_1.default, null)),
|
|
49
|
-
react_1.default.createElement("div", null),
|
|
50
|
-
react_1.default.createElement(material_1.IconButton, { className: classes.icon, onClick: () => {
|
|
51
|
-
model.vview.scroll(-100);
|
|
52
|
-
} },
|
|
53
|
-
react_1.default.createElement(ArrowDropDown_1.default, null)),
|
|
54
|
-
react_1.default.createElement("div", null),
|
|
55
|
-
react_1.default.createElement(material_1.IconButton, { className: classes.icon, onClick: () => {
|
|
56
|
-
model.zoomIn();
|
|
57
|
-
} },
|
|
58
|
-
react_1.default.createElement(ZoomIn_1.default, null)),
|
|
59
|
-
react_1.default.createElement("div", null),
|
|
60
|
-
react_1.default.createElement(material_1.IconButton, { className: classes.icon, onClick: () => {
|
|
61
|
-
model.zoomOut();
|
|
62
|
-
} },
|
|
63
|
-
react_1.default.createElement(ZoomOut_1.default, null))));
|
|
33
|
+
return ((0, jsx_runtime_1.jsxs)(material_1.Paper, { className: classes.dpad, elevation: 6, children: [(0, jsx_runtime_1.jsx)("div", {}), (0, jsx_runtime_1.jsx)(material_1.IconButton, { className: classes.icon, onClick: () => {
|
|
34
|
+
model.vview.scroll(100);
|
|
35
|
+
}, children: (0, jsx_runtime_1.jsx)(ArrowDropUp_1.default, {}) }), (0, jsx_runtime_1.jsx)("div", {}), (0, jsx_runtime_1.jsx)(material_1.IconButton, { className: classes.icon, onClick: () => {
|
|
36
|
+
model.hview.scroll(-100);
|
|
37
|
+
}, children: (0, jsx_runtime_1.jsx)(ArrowLeft_1.default, {}) }), (0, jsx_runtime_1.jsx)("div", {}), (0, jsx_runtime_1.jsx)(material_1.IconButton, { className: classes.icon, onClick: () => {
|
|
38
|
+
model.hview.scroll(100);
|
|
39
|
+
}, children: (0, jsx_runtime_1.jsx)(ArrowRight_1.default, {}) }), (0, jsx_runtime_1.jsx)("div", {}), (0, jsx_runtime_1.jsx)(material_1.IconButton, { className: classes.icon, onClick: () => {
|
|
40
|
+
model.vview.scroll(-100);
|
|
41
|
+
}, children: (0, jsx_runtime_1.jsx)(ArrowDropDown_1.default, {}) }), (0, jsx_runtime_1.jsx)("div", {}), (0, jsx_runtime_1.jsx)(material_1.IconButton, { className: classes.icon, onClick: () => {
|
|
42
|
+
model.zoomIn();
|
|
43
|
+
}, children: (0, jsx_runtime_1.jsx)(ZoomIn_1.default, {}) }), (0, jsx_runtime_1.jsx)("div", {}), (0, jsx_runtime_1.jsx)(material_1.IconButton, { className: classes.icon, onClick: () => {
|
|
44
|
+
model.zoomOut();
|
|
45
|
+
}, children: (0, jsx_runtime_1.jsx)(ZoomOut_1.default, {}) })] }));
|
|
64
46
|
});
|
|
65
47
|
exports.default = PanButtons;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
3
2
|
interface Warning {
|
|
4
3
|
message: string;
|
|
@@ -13,5 +12,5 @@ interface TrackWarning {
|
|
|
13
12
|
declare const WarningDialog: ({ trackWarnings, handleClose, }: {
|
|
14
13
|
handleClose: () => void;
|
|
15
14
|
trackWarnings: TrackWarning[];
|
|
16
|
-
}) =>
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
17
16
|
export default WarningDialog;
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
const
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
4
|
const configuration_1 = require("@jbrowse/core/configuration");
|
|
8
5
|
const ui_1 = require("@jbrowse/core/ui");
|
|
9
6
|
const util_1 = require("@jbrowse/core/util");
|
|
@@ -37,10 +34,6 @@ const WarningDialog = (0, mobx_react_1.observer)(function WarningDialog({ trackW
|
|
|
37
34
|
{ field: 'message', width: (0, util_1.measureGridWidth)(rows.map(r => r.message)) },
|
|
38
35
|
{ field: 'effect', width: (0, util_1.measureGridWidth)(rows.map(r => r.effect)) },
|
|
39
36
|
];
|
|
40
|
-
return (
|
|
41
|
-
react_1.default.createElement(material_1.DialogContent, { className: classes.content },
|
|
42
|
-
react_1.default.createElement(material_1.DialogContentText, null, "Found warnings while rendering the dotplot. This is often due to out-of-bound features that may indicate the wrong assemblies are being used. Check that the query and target are configured correctly, and that the right assemblies are being compared."),
|
|
43
|
-
react_1.default.createElement("div", { style: { height: 600, width: '100%', overflow: 'auto' } },
|
|
44
|
-
react_1.default.createElement(x_data_grid_1.DataGrid, { rows: rows, columns: columns, disableRowSelectionOnClick: true, rowHeight: 25, disableColumnMenu: true })))));
|
|
37
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Dialog, { open: true, onClose: handleClose, maxWidth: "xl", title: "Dotplot rendered with warnings", children: (0, jsx_runtime_1.jsxs)(material_1.DialogContent, { className: classes.content, children: [(0, jsx_runtime_1.jsx)(material_1.DialogContentText, { children: "Found warnings while rendering the dotplot. This is often due to out-of-bound features that may indicate the wrong assemblies are being used. Check that the query and target are configured correctly, and that the right assemblies are being compared." }), (0, jsx_runtime_1.jsx)("div", { style: { height: 600, width: '100%', overflow: 'auto' }, children: (0, jsx_runtime_1.jsx)(x_data_grid_1.DataGrid, { rows: rows, columns: columns, disableRowSelectionOnClick: true, rowHeight: 25, disableColumnMenu: true }) })] }) }));
|
|
45
38
|
});
|
|
46
39
|
exports.default = WarningDialog;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type React from 'react';
|
|
2
2
|
import { TrackSelector as TrackSelectorIcon } from '@jbrowse/core/ui/Icons';
|
|
3
|
+
import type { ImportFormSyntenyTrack } from './types';
|
|
3
4
|
import type PluginManager from '@jbrowse/core/PluginManager';
|
|
4
5
|
import type { Base1DViewModel } from '@jbrowse/core/util/Base1DViewModel';
|
|
5
6
|
import type { Instance, SnapshotIn } from 'mobx-state-tree';
|
|
@@ -214,6 +215,11 @@ export default function stateModelFactory(pm: PluginManager): import("mobx-state
|
|
|
214
215
|
wheelMode: string;
|
|
215
216
|
borderX: number;
|
|
216
217
|
borderY: number;
|
|
218
|
+
importFormSyntenyTrackSelections: import("mobx").IObservableArray<ImportFormSyntenyTrack>;
|
|
219
|
+
} & {
|
|
220
|
+
importFormRemoveRow(idx: number): void;
|
|
221
|
+
clearImportFormSyntenyTracks(): void;
|
|
222
|
+
setImportFormSyntenyTrack(arg: number, val: ImportFormSyntenyTrack): void;
|
|
217
223
|
} & {
|
|
218
224
|
readonly width: number;
|
|
219
225
|
} & {
|
|
@@ -410,14 +416,10 @@ export default function stateModelFactory(pm: PluginManager): import("mobx-state
|
|
|
410
416
|
} & {
|
|
411
417
|
menuItems(): ({
|
|
412
418
|
label: string;
|
|
413
|
-
onClick: () => void;
|
|
414
419
|
icon: import("@mui/material/OverridableComponent").OverridableComponent<import("@mui/material").SvgIconTypeMap<{}, "svg">> & {
|
|
415
420
|
muiName: string;
|
|
416
421
|
};
|
|
417
|
-
} | {
|
|
418
|
-
label: string;
|
|
419
422
|
onClick: () => void;
|
|
420
|
-
icon?: undefined;
|
|
421
423
|
} | {
|
|
422
424
|
label: string;
|
|
423
425
|
onClick: () => import("@jbrowse/core/util").Widget;
|
|
@@ -15,13 +15,23 @@ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (
|
|
|
15
15
|
}) : function(o, v) {
|
|
16
16
|
o["default"] = v;
|
|
17
17
|
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
};
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
25
35
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
36
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
37
|
};
|
|
@@ -78,10 +88,22 @@ function stateModelFactory(pm) {
|
|
|
78
88
|
volatileWidth: undefined,
|
|
79
89
|
volatileError: undefined,
|
|
80
90
|
cursorMode: (0, util_1.localStorageGetItem)('dotplot-cursorMode') || 'crosshair',
|
|
81
|
-
showPanButtons:
|
|
91
|
+
showPanButtons: (0, util_1.localStorageGetBoolean)('dotplot-showPanbuttons', true),
|
|
82
92
|
wheelMode: (0, util_1.localStorageGetItem)('dotplot-wheelMode') || 'zoom',
|
|
83
93
|
borderX: 100,
|
|
84
94
|
borderY: 100,
|
|
95
|
+
importFormSyntenyTrackSelections: mobx_1.observable.array(),
|
|
96
|
+
}))
|
|
97
|
+
.actions(self => ({
|
|
98
|
+
importFormRemoveRow(idx) {
|
|
99
|
+
self.importFormSyntenyTrackSelections.splice(idx, 1);
|
|
100
|
+
},
|
|
101
|
+
clearImportFormSyntenyTracks() {
|
|
102
|
+
self.importFormSyntenyTrackSelections.clear();
|
|
103
|
+
},
|
|
104
|
+
setImportFormSyntenyTrack(arg, val) {
|
|
105
|
+
self.importFormSyntenyTrackSelections[arg] = val;
|
|
106
|
+
},
|
|
85
107
|
}))
|
|
86
108
|
.views(self => ({
|
|
87
109
|
get width() {
|
|
@@ -339,7 +361,7 @@ function stateModelFactory(pm) {
|
|
|
339
361
|
beforeDestroy() {
|
|
340
362
|
var _a;
|
|
341
363
|
const session = (0, util_1.getSession)(self);
|
|
342
|
-
for (const name
|
|
364
|
+
for (const name of self.assemblyNames) {
|
|
343
365
|
(_a = session.removeTemporaryAssembly) === null || _a === void 0 ? void 0 : _a.call(session, name);
|
|
344
366
|
}
|
|
345
367
|
},
|
|
@@ -419,31 +441,16 @@ function stateModelFactory(pm) {
|
|
|
419
441
|
return [
|
|
420
442
|
{
|
|
421
443
|
label: 'Return to import form',
|
|
444
|
+
icon: FolderOpen_1.default,
|
|
422
445
|
onClick: () => {
|
|
423
446
|
(0, util_1.getSession)(self).queueDialog(handleClose => [
|
|
424
447
|
ReturnToImportFormDialog,
|
|
425
|
-
{
|
|
448
|
+
{
|
|
449
|
+
model: self,
|
|
450
|
+
handleClose,
|
|
451
|
+
},
|
|
426
452
|
]);
|
|
427
453
|
},
|
|
428
|
-
icon: FolderOpen_1.default,
|
|
429
|
-
},
|
|
430
|
-
{
|
|
431
|
-
label: 'Square view - same bp per pixel',
|
|
432
|
-
onClick: () => {
|
|
433
|
-
self.squareView();
|
|
434
|
-
},
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
label: 'Rectangular view - same total bp',
|
|
438
|
-
onClick: () => {
|
|
439
|
-
self.squareView();
|
|
440
|
-
},
|
|
441
|
-
},
|
|
442
|
-
{
|
|
443
|
-
label: 'Show all regions',
|
|
444
|
-
onClick: () => {
|
|
445
|
-
self.showAllRegions();
|
|
446
|
-
},
|
|
447
454
|
},
|
|
448
455
|
{
|
|
449
456
|
label: 'Export SVG',
|
|
@@ -451,7 +458,10 @@ function stateModelFactory(pm) {
|
|
|
451
458
|
onClick: () => {
|
|
452
459
|
(0, util_1.getSession)(self).queueDialog(handleClose => [
|
|
453
460
|
ExportSvgDialog,
|
|
454
|
-
{
|
|
461
|
+
{
|
|
462
|
+
model: self,
|
|
463
|
+
handleClose,
|
|
464
|
+
},
|
|
455
465
|
]);
|
|
456
466
|
},
|
|
457
467
|
},
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
3
|
exports.default = SVGBackground;
|
|
7
|
-
const
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
5
|
const util_1 = require("@jbrowse/core/util");
|
|
9
6
|
const material_1 = require("@mui/material");
|
|
10
7
|
function SVGBackground({ width, height, }) {
|
|
11
8
|
const theme = (0, material_1.useTheme)();
|
|
12
|
-
return (
|
|
9
|
+
return ((0, jsx_runtime_1.jsx)("rect", { x: 0, y: 0, width: width, height: height, fill: (0, util_1.stripAlpha)(theme.palette.background.default) }));
|
|
13
10
|
}
|
|
@@ -4,12 +4,11 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.renderToSvg = renderToSvg;
|
|
7
|
-
const
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
8
|
const ui_1 = require("@jbrowse/core/ui");
|
|
9
9
|
const util_1 = require("@jbrowse/core/util");
|
|
10
10
|
const material_1 = require("@mui/material");
|
|
11
11
|
const mobx_1 = require("mobx");
|
|
12
|
-
const mobx_state_tree_1 = require("mobx-state-tree");
|
|
13
12
|
const SVGBackground_1 = __importDefault(require("./SVGBackground"));
|
|
14
13
|
const Axes_1 = require("../components/Axes");
|
|
15
14
|
const Grid_1 = require("../components/Grid");
|
|
@@ -17,7 +16,6 @@ async function renderToSvg(model, opts) {
|
|
|
17
16
|
var _a;
|
|
18
17
|
await (0, mobx_1.when)(() => model.initialized);
|
|
19
18
|
const { themeName = 'default', Wrapper = ({ children }) => children } = opts;
|
|
20
|
-
const { createRootFn } = (0, mobx_state_tree_1.getRoot)(model);
|
|
21
19
|
const session = (0, util_1.getSession)(model);
|
|
22
20
|
const theme = (_a = session.allThemes) === null || _a === void 0 ? void 0 : _a.call(session)[themeName];
|
|
23
21
|
const { width, borderX, viewWidth, viewHeight, tracks, height } = model;
|
|
@@ -28,17 +26,5 @@ async function renderToSvg(model, opts) {
|
|
|
28
26
|
return { track, result: await display.renderSvg({ ...opts, theme }) };
|
|
29
27
|
}));
|
|
30
28
|
const w = width + shift * 2;
|
|
31
|
-
return (0, util_1.renderToStaticMarkup)(
|
|
32
|
-
react_1.default.createElement(Wrapper, null,
|
|
33
|
-
react_1.default.createElement("svg", { width: width, height: height, xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: [0, 0, w, height].toString() },
|
|
34
|
-
react_1.default.createElement(SVGBackground_1.default, { width: w, height: height }),
|
|
35
|
-
react_1.default.createElement(Axes_1.VerticalAxisRaw, { model: model }),
|
|
36
|
-
react_1.default.createElement("g", { transform: `translate(${borderX} 0)` },
|
|
37
|
-
react_1.default.createElement(Grid_1.GridRaw, { model: model }),
|
|
38
|
-
react_1.default.createElement("defs", null,
|
|
39
|
-
react_1.default.createElement("clipPath", { id: "clip-ruler" },
|
|
40
|
-
react_1.default.createElement("rect", { x: 0, y: 0, width: viewWidth, height: viewHeight }))),
|
|
41
|
-
react_1.default.createElement("g", { clipPath: "url(#clip-ruler)" }, displayResults.map(({ result }, i) => (react_1.default.createElement("g", { key: i }, result))))),
|
|
42
|
-
react_1.default.createElement("g", { transform: `translate(${borderX} ${viewHeight})` },
|
|
43
|
-
react_1.default.createElement(Axes_1.HorizontalAxisRaw, { model: model }))))), createRootFn);
|
|
29
|
+
return (0, util_1.renderToStaticMarkup)((0, jsx_runtime_1.jsx)(material_1.ThemeProvider, { theme: (0, ui_1.createJBrowseTheme)(theme), children: (0, jsx_runtime_1.jsx)(Wrapper, { children: (0, jsx_runtime_1.jsxs)("svg", { width: width, height: height, xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: [0, 0, w, height].toString(), children: [(0, jsx_runtime_1.jsx)(SVGBackground_1.default, { width: w, height: height }), (0, jsx_runtime_1.jsx)(Axes_1.VerticalAxisRaw, { model: model }), (0, jsx_runtime_1.jsxs)("g", { transform: `translate(${borderX} 0)`, children: [(0, jsx_runtime_1.jsx)(Grid_1.GridRaw, { model: model }), (0, jsx_runtime_1.jsx)("defs", { children: (0, jsx_runtime_1.jsx)("clipPath", { id: "clip-ruler", children: (0, jsx_runtime_1.jsx)("rect", { x: 0, y: 0, width: viewWidth, height: viewHeight }) }) }), (0, jsx_runtime_1.jsx)("g", { clipPath: "url(#clip-ruler)", children: displayResults.map(({ result }, i) => ((0, jsx_runtime_1.jsx)("g", { children: result }, i))) })] }), (0, jsx_runtime_1.jsx)("g", { transform: `translate(${borderX} ${viewHeight})`, children: (0, jsx_runtime_1.jsx)(Axes_1.HorizontalAxisRaw, { model: model }) })] }) }) }));
|
|
44
30
|
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AnyConfigurationModel } from '@jbrowse/core/configuration';
|
|
2
|
+
import type { SnapshotIn } from 'mobx-state-tree';
|
|
3
|
+
export type Conf = SnapshotIn<AnyConfigurationModel>;
|
|
4
|
+
export type ImportFormSyntenyTrack = {
|
|
5
|
+
type: 'preConfigured';
|
|
6
|
+
value: string;
|
|
7
|
+
} | {
|
|
8
|
+
type: 'userOpened';
|
|
9
|
+
value: Conf;
|
|
10
|
+
} | {
|
|
11
|
+
type: 'none';
|
|
12
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { CSSProperties } from 'react';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
declare const ServerSideRenderedDotplotContent: ({ model, style, }: {
|
|
4
3
|
model: {
|
|
5
4
|
error?: unknown;
|
|
@@ -9,5 +8,5 @@ declare const ServerSideRenderedDotplotContent: ({ model, style, }: {
|
|
|
9
8
|
reactElement?: React.ReactElement;
|
|
10
9
|
};
|
|
11
10
|
style: CSSProperties;
|
|
12
|
-
}) =>
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element | null;
|
|
13
12
|
export default ServerSideRenderedDotplotContent;
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
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;
|
|
17
|
-
});
|
|
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
const
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const react_1 = require("react");
|
|
27
5
|
const ui_1 = require("@jbrowse/core/ui");
|
|
28
6
|
const material_1 = require("@mui/material");
|
|
29
7
|
const mobx_react_1 = require("mobx-react");
|
|
@@ -59,31 +37,28 @@ function LoadingMessage() {
|
|
|
59
37
|
clearTimeout(timeout);
|
|
60
38
|
};
|
|
61
39
|
}, []);
|
|
62
|
-
return shown ? (
|
|
63
|
-
react_1.default.createElement(ui_1.LoadingEllipses, null))) : null;
|
|
40
|
+
return shown ? ((0, jsx_runtime_1.jsx)("div", { className: classes.loading, children: (0, jsx_runtime_1.jsx)(ui_1.LoadingEllipses, {}) })) : null;
|
|
64
41
|
}
|
|
65
42
|
function BlockMessage({ messageText }) {
|
|
66
43
|
const { classes } = useStyles();
|
|
67
|
-
return (
|
|
68
|
-
react_1.default.createElement(material_1.Typography, null, messageText)));
|
|
44
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: classes.blockMessage, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { children: messageText }) }));
|
|
69
45
|
}
|
|
70
46
|
function BlockError({ error }) {
|
|
71
47
|
const { classes } = useStyles();
|
|
72
|
-
return (
|
|
73
|
-
react_1.default.createElement(material_1.Typography, null, `${error}`)));
|
|
48
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: classes.blockError, children: (0, jsx_runtime_1.jsx)(material_1.Typography, { children: `${error}` }) }));
|
|
74
49
|
}
|
|
75
50
|
const ServerSideRenderedDotplotContent = (0, mobx_react_1.observer)(function ({ model, style, }) {
|
|
76
51
|
if (model.error) {
|
|
77
|
-
return
|
|
52
|
+
return (0, jsx_runtime_1.jsx)(BlockError, { error: model.error, "data-testid": "reload_button" });
|
|
78
53
|
}
|
|
79
54
|
else if (model.message) {
|
|
80
|
-
return
|
|
55
|
+
return (0, jsx_runtime_1.jsx)(BlockMessage, { messageText: model.message });
|
|
81
56
|
}
|
|
82
57
|
else if (!model.filled) {
|
|
83
|
-
return
|
|
58
|
+
return (0, jsx_runtime_1.jsx)(LoadingMessage, {});
|
|
84
59
|
}
|
|
85
60
|
else if (model.shouldDisplay) {
|
|
86
|
-
return
|
|
61
|
+
return (0, jsx_runtime_1.jsx)("div", { style: style, children: model.reactElement });
|
|
87
62
|
}
|
|
88
63
|
return null;
|
|
89
64
|
});
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
interface ModelType {
|
|
3
2
|
imageData: string;
|
|
4
3
|
style: Record<string, string>;
|
|
@@ -10,5 +9,5 @@ interface ModelType {
|
|
|
10
9
|
}
|
|
11
10
|
declare const ServerSideSyntenyRendering: ({ model, }: {
|
|
12
11
|
model: ModelType;
|
|
13
|
-
}) =>
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
export default ServerSideSyntenyRendering;
|
|
@@ -1,29 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
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;
|
|
17
|
-
});
|
|
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
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
const
|
|
3
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
4
|
+
const react_1 = require("react");
|
|
27
5
|
const offscreenCanvasPonyfill_1 = require("@jbrowse/core/util/offscreenCanvasPonyfill");
|
|
28
6
|
const mobx_react_1 = require("mobx-react");
|
|
29
7
|
const ServerSideSyntenyRendering = (0, mobx_react_1.observer)(function ({ model, }) {
|
|
@@ -40,6 +18,6 @@ const ServerSideSyntenyRendering = (0, mobx_react_1.observer)(function ({ model,
|
|
|
40
18
|
(0, offscreenCanvasPonyfill_1.drawImageOntoCanvasContext)(imageData, context);
|
|
41
19
|
setDone(true);
|
|
42
20
|
}, [imageData]);
|
|
43
|
-
return (
|
|
21
|
+
return ((0, jsx_runtime_1.jsx)("canvas", { "data-testid": `prerendered_canvas${done ? '_done' : ''}`, ref: featureCanvas, width: width * highResolutionScaling, height: height * highResolutionScaling, style: { width, height, ...style } }));
|
|
44
22
|
});
|
|
45
23
|
exports.default = ServerSideSyntenyRendering;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { DotplotDisplayModel } from '../stateModelFactory';
|
|
3
2
|
declare const DotplotDisplay: (props: {
|
|
4
3
|
model: DotplotDisplayModel;
|
|
5
4
|
children?: React.ReactNode;
|
|
6
|
-
}) =>
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
6
|
export default DotplotDisplay;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { getContainingView } from '@jbrowse/core/util';
|
|
3
3
|
import { observer } from 'mobx-react';
|
|
4
4
|
const DotplotDisplay = observer(function DotplotDisplay(props) {
|
|
@@ -7,12 +7,10 @@ const DotplotDisplay = observer(function DotplotDisplay(props) {
|
|
|
7
7
|
const view = getContainingView(model);
|
|
8
8
|
const top = view.vview.offsetPx - offsetY;
|
|
9
9
|
const left = -(view.hview.offsetPx - offsetX);
|
|
10
|
-
return (
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} }),
|
|
16
|
-
children));
|
|
10
|
+
return (_jsxs("div", { style: { position: 'relative' }, children: [_jsx(model.ReactComponent2, { ...props, style: {
|
|
11
|
+
position: 'absolute',
|
|
12
|
+
top,
|
|
13
|
+
left,
|
|
14
|
+
} }), children] }));
|
|
17
15
|
});
|
|
18
16
|
export default DotplotDisplay;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { ExportSvgOptions } from '../DotplotView/model';
|
|
3
2
|
import type { AnyConfigurationSchemaType } from '@jbrowse/core/configuration';
|
|
4
3
|
import type { ThemeOptions } from '@mui/material';
|
|
@@ -87,7 +86,7 @@ export declare function stateModelFactory(configSchema: AnyConfigurationSchemaTy
|
|
|
87
86
|
} & {
|
|
88
87
|
renderSvg(opts: ExportSvgOptions & {
|
|
89
88
|
theme?: ThemeOptions;
|
|
90
|
-
}): Promise<
|
|
89
|
+
}): Promise<import("react/jsx-runtime").JSX.Element | null>;
|
|
91
90
|
} & {
|
|
92
91
|
afterAttach(): void;
|
|
93
92
|
setLoading(stopToken?: string): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { ConfigurationReference, getConf } from '@jbrowse/core/configuration';
|
|
3
3
|
import { BaseDisplay } from '@jbrowse/core/pluggableElementTypes/models';
|
|
4
4
|
import { ReactRendering, getContainingView, makeAbortableReaction, } from '@jbrowse/core/util';
|
|
@@ -56,8 +56,7 @@ export function stateModelFactory(configSchema) {
|
|
|
56
56
|
const { hview, vview } = getContainingView(self);
|
|
57
57
|
const offX = -hview.offsetPx + rendering.offsetX;
|
|
58
58
|
const offY = -vview.offsetPx + rendering.offsetY;
|
|
59
|
-
return (
|
|
60
|
-
React.createElement(ReactRendering, { rendering: rendering })));
|
|
59
|
+
return (_jsx("g", { transform: `translate(${offX} ${-offY})`, children: _jsx(ReactRendering, { rendering: rendering }) }));
|
|
61
60
|
},
|
|
62
61
|
}))
|
|
63
62
|
.actions(self => ({
|
|
@@ -36,7 +36,7 @@ export default class DotplotRenderer extends ComparativeRenderer {
|
|
|
36
36
|
bpPerPxX: number;
|
|
37
37
|
bpPerPxY: number;
|
|
38
38
|
canvasRecordedData: any;
|
|
39
|
-
reactElement?:
|
|
39
|
+
reactElement?: React.ReactElement;
|
|
40
40
|
html?: string;
|
|
41
41
|
} | {
|
|
42
42
|
height: number;
|
|
@@ -45,7 +45,7 @@ export default class DotplotRenderer extends ComparativeRenderer {
|
|
|
45
45
|
offsetY: number;
|
|
46
46
|
bpPerPxX: number;
|
|
47
47
|
bpPerPxY: number;
|
|
48
|
-
reactElement:
|
|
48
|
+
reactElement: import("react/jsx-runtime").JSX.Element;
|
|
49
49
|
html?: string;
|
|
50
50
|
} | {
|
|
51
51
|
height: number;
|
|
@@ -55,7 +55,7 @@ export default class DotplotRenderer extends ComparativeRenderer {
|
|
|
55
55
|
bpPerPxX: number;
|
|
56
56
|
bpPerPxY: number;
|
|
57
57
|
imageData: any;
|
|
58
|
-
reactElement?:
|
|
58
|
+
reactElement?: React.ReactElement;
|
|
59
59
|
html?: string;
|
|
60
60
|
}>;
|
|
61
61
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { DotplotRenderArgsDeserialized } from '../DotplotRenderer';
|
|
3
|
-
declare const DotplotRendering: (props: DotplotRenderArgsDeserialized) =>
|
|
2
|
+
declare const DotplotRendering: (props: DotplotRenderArgsDeserialized) => import("react/jsx-runtime").JSX.Element;
|
|
4
3
|
export default DotplotRendering;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
2
|
import { PrerenderedCanvas } from '@jbrowse/core/ui';
|
|
3
3
|
import { observer } from 'mobx-react';
|
|
4
4
|
const DotplotRendering = observer(function (props) {
|
|
5
|
-
return
|
|
5
|
+
return _jsx(PrerenderedCanvas, { ...props });
|
|
6
6
|
});
|
|
7
7
|
export default DotplotRendering;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import type { DotplotViewModel } from '../model';
|
|
3
2
|
export declare const HorizontalAxis: ({ model, }: {
|
|
4
3
|
model: DotplotViewModel;
|
|
5
|
-
}) =>
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
6
5
|
export declare const HorizontalAxisRaw: ({ model, }: {
|
|
7
6
|
model: DotplotViewModel;
|
|
8
|
-
}) =>
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export declare const VerticalAxis: ({ model, }: {
|
|
10
9
|
model: DotplotViewModel;
|
|
11
|
-
}) =>
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
12
11
|
export declare const VerticalAxisRaw: ({ model, }: {
|
|
13
12
|
model: DotplotViewModel;
|
|
14
|
-
}) =>
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element;
|