@teselagen/ove 0.7.7 → 0.7.8
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/index.d.ts +1 -101
- package/RowItem/Caret/index.d.ts +14 -1
- package/index.cjs.js +1329 -1329
- package/index.es.js +1329 -1329
- package/index.umd.js +1327 -1318
- package/package.json +1 -1
- package/src/AlignmentView/index.js +1151 -1273
- package/src/RowItem/Caret/index.js +14 -16
package/AlignmentView/index.d.ts
CHANGED
|
@@ -1,103 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export class AlignmentView extends React.Component<any, any, any> {
|
|
3
|
-
constructor(props: any);
|
|
4
|
-
bindOutsideChangeHelper: {};
|
|
5
|
-
onShortcutCopy: void;
|
|
6
|
-
getMaxLength: () => any;
|
|
7
|
-
getNearestCursorPositionToMouseEvent(rowData: any, event: any, callback: any): void;
|
|
8
|
-
charWidth: number | undefined;
|
|
9
|
-
componentWillUnmount(): void;
|
|
10
|
-
handleAlignmentCopy: (event: any) => void;
|
|
11
|
-
getAllAlignmentsFastaText: () => string;
|
|
12
|
-
state: {
|
|
13
|
-
alignmentName: any;
|
|
14
|
-
isTrackDragging: boolean;
|
|
15
|
-
charWidthInLinearView: number;
|
|
16
|
-
scrollAlignmentView: boolean;
|
|
17
|
-
width: number;
|
|
18
|
-
nameDivWidth: number;
|
|
19
|
-
};
|
|
20
|
-
easyStore: {
|
|
21
|
-
selectionLayer: {
|
|
22
|
-
start: number;
|
|
23
|
-
end: number;
|
|
24
|
-
};
|
|
25
|
-
caretPosition: number;
|
|
26
|
-
percentScrolled: number;
|
|
27
|
-
viewportWidth: number;
|
|
28
|
-
verticalVisibleRange: {
|
|
29
|
-
start: number;
|
|
30
|
-
end: number;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
getMinCharWidth: (noNameDiv: any) => number;
|
|
34
|
-
getSequenceLength: () => any;
|
|
35
|
-
componentDidUpdate(prevProps: any): Promise<void>;
|
|
36
|
-
componentDidMount(): void;
|
|
37
|
-
annotationClicked: ({ event, annotation, gapsBefore, gapsInside }: {
|
|
38
|
-
event: any;
|
|
39
|
-
annotation: any;
|
|
40
|
-
gapsBefore?: number | undefined;
|
|
41
|
-
gapsInside?: number | undefined;
|
|
42
|
-
}) => void;
|
|
43
|
-
updateSelectionOrCaret: (shiftHeld: any, newRangeOrCaret: any, { forceReduxUpdate }?: {
|
|
44
|
-
forceReduxUpdate: any;
|
|
45
|
-
}) => void;
|
|
46
|
-
caretPositionUpdate: (position: any) => void;
|
|
47
|
-
debouncedAlignmentRunUpdate: import('lodash').DebouncedFunc<any>;
|
|
48
|
-
forceReduxSelectionLayerUpdate: (newSelection: any) => void;
|
|
49
|
-
selectionLayerUpdate: (newSelection: any, { forceReduxUpdate }?: {
|
|
50
|
-
forceReduxUpdate: any;
|
|
51
|
-
}) => void;
|
|
52
|
-
getCharWidthInLinearView: () => number;
|
|
53
|
-
getNumBpsShownInLinearView: () => number;
|
|
54
|
-
setVerticalScrollRange: import('lodash').DebouncedFuncLeading<() => void>;
|
|
55
|
-
handleScroll: () => void;
|
|
56
|
-
oldAlignmentHolderScrollTop: any;
|
|
57
|
-
handleTopScroll: () => void;
|
|
58
|
-
/**
|
|
59
|
-
* Responsible for handling resizing the highlighted region of the minimap
|
|
60
|
-
* @param {*} newSliderSize
|
|
61
|
-
* @param {*} newPercent
|
|
62
|
-
*/
|
|
63
|
-
onMinimapSizeAdjust: (newSliderSize: any, newPercent: any) => void;
|
|
64
|
-
blockScroll: boolean | undefined;
|
|
65
|
-
setCharWidthInLinearView: ({ charWidthInLinearView }: {
|
|
66
|
-
charWidthInLinearView: any;
|
|
67
|
-
}) => void;
|
|
68
|
-
scrollToCaret: () => void;
|
|
69
|
-
scrollAlignmentToPercent: (scrollPercentage: any) => void;
|
|
70
|
-
scrollYToTrack: (trackIndex: any) => void;
|
|
71
|
-
estimateRowHeight: (index: any, cache: any) => any;
|
|
72
|
-
rowData: {
|
|
73
|
-
rowNumber: number;
|
|
74
|
-
start: number;
|
|
75
|
-
end: number;
|
|
76
|
-
sequence: any;
|
|
77
|
-
}[] | undefined;
|
|
78
|
-
getMaxLinearViewWidth: () => number;
|
|
79
|
-
renderItem: (_i: any, key: any, isTemplate: any, cloneProps: any) => import("react/jsx-runtime").JSX.Element | null;
|
|
80
|
-
handleResize: import('lodash').DebouncedFuncLeading<([e]: any) => void>;
|
|
81
|
-
removeMinimapHighlightForMouseLeave: () => void;
|
|
82
|
-
updateMinimapHighlightForMouseMove: (event: any) => void;
|
|
83
|
-
latestMouseY: any;
|
|
84
|
-
updateMinimapHighlight: () => void;
|
|
85
|
-
onTrackDragStart: () => void;
|
|
86
|
-
onTrackDragEnd: ({ destination, source }: {
|
|
87
|
-
destination: any;
|
|
88
|
-
source: any;
|
|
89
|
-
}) => void;
|
|
90
|
-
render(): import("react/jsx-runtime").JSX.Element | "corrupted data!";
|
|
91
|
-
veTracksAndAlignmentHolder: HTMLDivElement | null | undefined;
|
|
92
|
-
InfiniteScroller: any;
|
|
93
|
-
isZooming: boolean | undefined;
|
|
94
|
-
getTrackTrimmingOptions({ e, allTracks, upsertAlignmentRun, currentPairwiseAlignmentIndex, alignmentId }: {
|
|
95
|
-
e: any;
|
|
96
|
-
allTracks: any;
|
|
97
|
-
upsertAlignmentRun: any;
|
|
98
|
-
currentPairwiseAlignmentIndex: any;
|
|
99
|
-
alignmentId: any;
|
|
100
|
-
}): void;
|
|
101
|
-
}
|
|
1
|
+
export function AlignmentView(props: any): import("react/jsx-runtime").JSX.Element | "corrupted data!";
|
|
102
2
|
declare const _default: any;
|
|
103
3
|
export default _default;
|
package/RowItem/Caret/index.d.ts
CHANGED
|
@@ -1,2 +1,15 @@
|
|
|
1
1
|
export default Caret;
|
|
2
|
-
declare function Caret(
|
|
2
|
+
declare function Caret({ charWidth, row, sequenceLength, caretPosition, isProtein, onClick, isDraggable, leftMargin, onRightClick, style, selectionMessage, className }: {
|
|
3
|
+
charWidth: any;
|
|
4
|
+
row: any;
|
|
5
|
+
sequenceLength: any;
|
|
6
|
+
caretPosition: any;
|
|
7
|
+
isProtein: any;
|
|
8
|
+
onClick: any;
|
|
9
|
+
isDraggable: any;
|
|
10
|
+
leftMargin?: number | undefined;
|
|
11
|
+
onRightClick: any;
|
|
12
|
+
style: any;
|
|
13
|
+
selectionMessage: any;
|
|
14
|
+
className?: string | undefined;
|
|
15
|
+
}): import("react/jsx-runtime").JSX.Element | null;
|