@teselagen/ove 0.8.39 → 0.8.40
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/AlignmentView/AlignmentSearchBar.d.ts +2 -0
- package/AlignmentView/Mismatches.d.ts +2 -20
- package/AlignmentView/utils.d.ts +31 -0
- package/index.cjs.js +943 -144
- package/index.es.js +943 -144
- package/index.umd.js +943 -144
- package/ove.css +58 -54
- package/package.json +1 -1
- package/src/AlignmentView/AlignmentSearchBar.js +810 -0
- package/src/AlignmentView/Mismatches.js +173 -120
- package/src/AlignmentView/index.js +14 -2
- package/src/AlignmentView/style.css +4 -0
- package/src/AlignmentView/utils.js +30 -0
- package/src/PropertySidePanel/index.js +89 -28
|
@@ -1,20 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
context?: import('../../../../node_modules/react-redux/es/components/Context').ReactReduxContextInstance | undefined;
|
|
4
|
-
store?: import('../../../../node_modules/redux').Store | undefined;
|
|
5
|
-
} | {
|
|
6
|
-
store?: import('../../../../node_modules/redux').Store | undefined;
|
|
7
|
-
}>;
|
|
8
|
-
export default _default;
|
|
9
|
-
declare class Mismatches extends React.Component<any, any, any> {
|
|
10
|
-
constructor(props: any);
|
|
11
|
-
constructor(props: any, context: any);
|
|
12
|
-
UNSAFE_componentWillMount(): void;
|
|
13
|
-
getGapMap: (sequence: any) => number[];
|
|
14
|
-
getMismatchList: (alignmentData: any, mismatches: any) => {
|
|
15
|
-
mismatches: number;
|
|
16
|
-
start: number;
|
|
17
|
-
end: number;
|
|
18
|
-
}[];
|
|
19
|
-
render(): import("react/jsx-runtime").JSX.Element;
|
|
20
|
-
}
|
|
1
|
+
export function FindMismatches(props: any): import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export default FindMismatches;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @typedef {Object} Mismatch
|
|
3
|
+
* @property {number} position
|
|
4
|
+
* @property {string[]} bases
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @typedef {Object} FindMismatchesProps
|
|
8
|
+
* @property {Array<{
|
|
9
|
+
* alignmentData: {
|
|
10
|
+
* sequence: string
|
|
11
|
+
* }
|
|
12
|
+
* }>} alignmentJson
|
|
13
|
+
* @property {string} id
|
|
14
|
+
*/
|
|
15
|
+
export function scrollToAlignmentSelection(): void;
|
|
16
|
+
export function updateCaretPosition({ start, end }: {
|
|
17
|
+
start: any;
|
|
18
|
+
end: any;
|
|
19
|
+
}): void;
|
|
20
|
+
export type Mismatch = {
|
|
21
|
+
position: number;
|
|
22
|
+
bases: string[];
|
|
23
|
+
};
|
|
24
|
+
export type FindMismatchesProps = {
|
|
25
|
+
alignmentJson: Array<{
|
|
26
|
+
alignmentData: {
|
|
27
|
+
sequence: string;
|
|
28
|
+
};
|
|
29
|
+
}>;
|
|
30
|
+
id: string;
|
|
31
|
+
};
|