@jbrowse/plugin-linear-comparative-view 2.11.2 → 2.12.1
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/LGVSyntenyDisplay/components/LaunchSyntenyViewDialog.js +1 -1
- package/dist/LGVSyntenyDisplay/components/util.js +2 -3
- package/dist/LGVSyntenyDisplay/index.js +1 -1
- package/dist/LGVSyntenyDisplay/model.d.ts +35 -36
- package/dist/LaunchLinearSyntenyView.js +1 -1
- package/dist/LinearComparativeDisplay/index.js +1 -1
- package/dist/LinearComparativeDisplay/stateModelFactory.d.ts +34 -49
- package/dist/LinearComparativeView/index.js +1 -1
- package/dist/LinearComparativeView/model.d.ts +23 -178
- package/dist/LinearComparativeView/model.js +0 -23
- package/dist/LinearReadVsRef/LinearReadVsRef.js +1 -1
- package/dist/LinearReadVsRef/index.js +1 -1
- package/dist/LinearSyntenyDisplay/afterAttach.js +1 -2
- package/dist/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +54 -101
- package/dist/LinearSyntenyDisplay/components/SyntenyContextMenu.js +1 -1
- package/dist/LinearSyntenyDisplay/components/util.d.ts +10 -0
- package/dist/LinearSyntenyDisplay/components/util.js +90 -5
- package/dist/LinearSyntenyDisplay/drawSynteny.js +4 -4
- package/dist/LinearSyntenyDisplay/index.js +1 -1
- package/dist/LinearSyntenyDisplay/model.d.ts +26 -36
- package/dist/LinearSyntenyView/components/ExportSvgDialog.js +1 -1
- package/dist/LinearSyntenyView/components/Icons.js +2 -3
- package/dist/LinearSyntenyView/components/ImportForm/index.js +1 -0
- package/dist/LinearSyntenyView/components/ImportForm/util.js +4 -5
- package/dist/LinearSyntenyView/index.js +1 -1
- package/dist/LinearSyntenyView/model.d.ts +26 -943
- package/dist/LinearSyntenyView/model.js +1 -9
- package/dist/LinearSyntenyView/svgcomponents/SVGBackground.js +1 -1
- package/dist/LinearSyntenyView/svgcomponents/SVGLinearSyntenyView.js +1 -2
- package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +5 -3
- package/dist/SyntenyFeatureDetail/SyntenyFeatureDetail.js +2 -4
- package/dist/SyntenyFeatureDetail/index.js +1 -1
- package/dist/SyntenyTrack/index.js +1 -1
- package/dist/util.js +5 -6
- package/esm/LGVSyntenyDisplay/components/util.js +1 -1
- package/esm/LGVSyntenyDisplay/model.d.ts +35 -36
- package/esm/LinearComparativeDisplay/stateModelFactory.d.ts +34 -49
- package/esm/LinearComparativeView/model.d.ts +23 -178
- package/esm/LinearComparativeView/model.js +1 -24
- package/esm/LinearSyntenyDisplay/components/LinearSyntenyRendering.js +54 -101
- package/esm/LinearSyntenyDisplay/components/util.d.ts +10 -0
- package/esm/LinearSyntenyDisplay/components/util.js +84 -1
- package/esm/LinearSyntenyDisplay/model.d.ts +26 -36
- package/esm/LinearSyntenyView/components/ImportForm/index.js +1 -0
- package/esm/LinearSyntenyView/model.d.ts +26 -943
- package/esm/LinearSyntenyView/model.js +0 -8
- package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.d.ts +5 -3
- package/esm/SyntenyFeatureDetail/SyntenyFeatureDetail.js +2 -4
- package/package.json +2 -2
|
@@ -5,7 +5,6 @@ import { getSession } from '@jbrowse/core/util';
|
|
|
5
5
|
import { saveAs } from 'file-saver';
|
|
6
6
|
// icons
|
|
7
7
|
import CropFreeIcon from '@mui/icons-material/CropFree';
|
|
8
|
-
import LinkIcon from '@mui/icons-material/Link';
|
|
9
8
|
import VisibilityIcon from '@mui/icons-material/Visibility';
|
|
10
9
|
import PhotoCameraIcon from '@mui/icons-material/PhotoCamera';
|
|
11
10
|
import { Curves } from './components/Icons';
|
|
@@ -98,13 +97,6 @@ export default function stateModelFactory(pluginManager) {
|
|
|
98
97
|
type: 'checkbox',
|
|
99
98
|
description: 'Draws per-base CIGAR level alignments',
|
|
100
99
|
},
|
|
101
|
-
{
|
|
102
|
-
label: 'Link views',
|
|
103
|
-
type: 'checkbox',
|
|
104
|
-
checked: self.linkViews,
|
|
105
|
-
onClick: self.toggleLinkViews,
|
|
106
|
-
icon: LinkIcon,
|
|
107
|
-
},
|
|
108
100
|
{
|
|
109
101
|
label: 'Use curved lines',
|
|
110
102
|
type: 'checkbox',
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const
|
|
3
|
-
model:
|
|
2
|
+
declare const SyntenyFeatureDetail: ({ model, }: {
|
|
3
|
+
model: {
|
|
4
|
+
featureData: unknown;
|
|
5
|
+
};
|
|
4
6
|
}) => React.JSX.Element;
|
|
5
|
-
export default
|
|
7
|
+
export default SyntenyFeatureDetail;
|
|
@@ -24,9 +24,7 @@ function Formatter({ value }) {
|
|
|
24
24
|
function CustomFeatureDetails(props) {
|
|
25
25
|
return (React.createElement(BaseAttributes, { ...props, formatter: (value) => React.createElement(Formatter, { value: value }) }));
|
|
26
26
|
}
|
|
27
|
-
const
|
|
28
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
29
|
-
({ model }) => {
|
|
27
|
+
const SyntenyFeatureDetail = observer(function ({ model, }) {
|
|
30
28
|
const { feature1, feature2 } = JSON.parse(JSON.stringify(model.featureData));
|
|
31
29
|
return (React.createElement(Paper, { "data-testid": "alignment-side-drawer" },
|
|
32
30
|
React.createElement(BaseCoreDetails, { title: "Feature 1", feature: feature1 }),
|
|
@@ -34,4 +32,4 @@ const BreakpointAlignmentsFeatureDetail = observer(
|
|
|
34
32
|
React.createElement(CustomFeatureDetails, { feature: feature1 }),
|
|
35
33
|
React.createElement(CustomFeatureDetails, { feature: feature2 })));
|
|
36
34
|
});
|
|
37
|
-
export default
|
|
35
|
+
export default SyntenyFeatureDetail;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jbrowse/plugin-linear-comparative-view",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.1",
|
|
4
4
|
"description": "JBrowse 2 linear comparative view",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jbrowse",
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"publishConfig": {
|
|
62
62
|
"access": "public"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "20f16ae5a56ae5e4806aaa373131e540b0b5b0fd"
|
|
65
65
|
}
|