@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.
@@ -0,0 +1,2 @@
1
+ export function AlignmentSearchBar(props: any): import("react/jsx-runtime").JSX.Element;
2
+ export default AlignmentSearchBar;
@@ -1,20 +1,2 @@
1
- import { default as React } from '../../../../node_modules/react';
2
- declare const _default: import('../../../../node_modules/react-redux').ConnectedComponent<typeof Mismatches, {
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
+ };