@teselagen/ove 0.5.5 → 0.5.7
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/html2canvas.esm--JN4fLQL.js +7891 -0
- package/html2canvas.esm-B7d7VJmQ.cjs +7891 -0
- package/index.cjs.js +5254 -9829
- package/index.es.js +5256 -9831
- package/index.umd.js +4832 -10266
- package/package.json +5 -5
- package/src/AlignmentView/AlignmentVisibilityTool.js +1 -1
- package/src/AlignmentView/Minimap.js +1 -1
- package/src/AlignmentView/index.js +3 -3
- package/src/AutoAnnotate.js +1 -1
- package/src/CircularView/Feature.js +1 -1
- package/src/CircularView/Labels/index.js +1 -1
- package/src/CircularView/Labels/relaxLabelAngles.js +1 -1
- package/src/CircularView/Part.js +1 -1
- package/src/CircularView/drawAnnotations.js +1 -1
- package/src/CircularView/index.js +5 -5
- package/src/CreateAnnotationsPage.js +1 -1
- package/src/CutsiteFilter/AdditionalCutsiteInfoDialog.js +1 -1
- package/src/CutsiteFilter/index.js +2 -2
- package/src/DigestTool/AddLaddersDialog.js +1 -1
- package/src/DigestTool/DigestTool.js +1 -1
- package/src/DigestTool/Ladder.js +2 -2
- package/src/Editor/FillWindow.js +1 -1
- package/src/Editor/index.js +2 -2
- package/src/EnzymeViewer/index.js +1 -1
- package/src/GlobalDialogUtils.js +1 -1
- package/src/LinearView/index.js +1 -1
- package/src/MenuBar/index.js +1 -1
- package/src/PCRTool/PCRTool.js +1 -1
- package/src/Reflex/ReflexContainer.js +1 -1
- package/src/Reflex/ReflexElement.js +1 -1
- package/src/RowItem/Labels.js +1 -1
- package/src/RowItem/Sequence.js +1 -1
- package/src/RowItem/StackedAnnotations/PointedAnnotation.js +1 -1
- package/src/RowItem/StackedAnnotations/getStructuredBases.js +1 -1
- package/src/RowItem/StackedAnnotations/primerBases.js +5 -5
- package/src/RowItem/getXStartAndWidthOfRangeWrtRow.js +1 -1
- package/src/RowItem/index.js +2 -2
- package/src/RowView/estimateRowHeight.js +1 -1
- package/src/RowView/index.js +1 -1
- package/src/SimpleCircularOrLinearView.js +1 -1
- package/src/StatusBar/MeltingTemp.js +1 -1
- package/src/ToolBar/ToolbarItem.js +1 -1
- package/src/ToolBar/alignmentTool.js +2 -2
- package/src/ToolBar/cutsiteTool.js +1 -1
- package/src/ToolBar/index.js +1 -1
- package/src/VersionHistoryView/index.js +1 -1
- package/src/commands/index.js +1 -1
- package/src/helperComponents/AddOrEditAnnotationDialog/index.js +1 -1
- package/src/helperComponents/AddOrEditPartDialog/index.js +1 -1
- package/src/helperComponents/AddOrEditPrimerDialog/index.js +3 -3
- package/src/helperComponents/EnzymesDialog/index.js +1 -1
- package/src/helperComponents/GoToDialog.js +1 -1
- package/src/helperComponents/MergeFeaturesDialog/index.js +1 -1
- package/src/helperComponents/PropertiesDialog/CutsiteProperties.js +2 -2
- package/src/helperComponents/PropertiesDialog/GenericAnnotationProperties.js +1 -1
- package/src/helperComponents/PropertiesDialog/OrfProperties.js +1 -1
- package/src/helperComponents/PropertiesDialog/TranslationProperties.js +1 -1
- package/src/helperComponents/PropertiesDialog/index.js +2 -2
- package/src/helperComponents/RemoveDuplicates/index.js +1 -1
- package/src/helperComponents/SelectDialog.js +1 -1
- package/src/helperComponents/UncontrolledSliderWithPlusMinusBtns.js +1 -1
- package/src/helperComponents/createSimpleDialog.js +1 -1
- package/src/helperComponents/partTagSearch.js +2 -2
- package/src/redux/alignments.js +1 -1
- package/src/redux/annotationVisibility.js +1 -1
- package/src/redux/findTool.js +1 -1
- package/src/redux/index.js +1 -1
- package/src/redux/panelsShown.js +1 -1
- package/src/redux/readOnly.js +1 -1
- package/src/redux/useAdditionalOrfStartCodons.js +1 -1
- package/src/redux/versionHistory.js +1 -1
- package/src/selectors/annotationSearchSelector.js +1 -1
- package/src/selectors/cdsFeaturesSelector.js +1 -1
- package/src/selectors/cutsitesSelector.js +1 -1
- package/src/selectors/filteredCutsitesSelector.js +1 -1
- package/src/selectors/filteredFeaturesSelector.js +1 -1
- package/src/selectors/filteredPartsSelector.js +2 -2
- package/src/selectors/filteredPrimersSelector.js +1 -1
- package/src/selectors/getAdditionalEnzymesSelector.js +1 -1
- package/src/selectors/restrictionEnzymesSelector.js +1 -1
- package/src/selectors/translationsSelector.js +1 -1
- package/src/updateEditor.js +1 -1
- package/src/utils/addWrappedAddons.js +1 -1
- package/src/utils/commandUtils.js +1 -1
- package/src/utils/editorUtils.js +2 -2
- package/src/utils/getAnnotationClassnames.js +1 -1
- package/src/utils/getAnnotationNameAndStartStopString.js +3 -3
- package/src/utils/massageTickSpacing.js +1 -1
- package/src/utils/onlyUpdateForKeysDeep.js +2 -2
- package/src/utils/pureNoFunc.js +1 -1
- package/src/utils/shouldRerender.js +1 -1
- package/src/withEditorInteractions/Keyboard.js +1 -1
- package/src/withEditorInteractions/clickAndDragUtils.js +3 -3
- package/src/withEditorInteractions/createSequenceInputPopup.js +1 -1
- package/src/withEditorInteractions/index.js +1 -1
- package/src/withEditorProps/index.js +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { compose } from "redux";
|
|
3
3
|
import { Tab, Tabs } from "@blueprintjs/core";
|
|
4
|
-
import { flatMap, startCase } from "lodash";
|
|
4
|
+
import { flatMap, startCase } from "lodash-es";
|
|
5
5
|
import FeatureProperties from "./FeatureProperties";
|
|
6
6
|
import GeneralProperties from "./GeneralProperties";
|
|
7
7
|
import CutsiteProperties from "./CutsiteProperties";
|
|
@@ -13,7 +13,7 @@ import PartProperties from "./PartProperties";
|
|
|
13
13
|
import { connectToEditor } from "../../withEditorProps";
|
|
14
14
|
import "./style.css";
|
|
15
15
|
import { userDefinedHandlersAndOpts } from "../../Editor/userDefinedHandlersAndOpts";
|
|
16
|
-
import { pick } from "lodash";
|
|
16
|
+
import { pick } from "lodash-es";
|
|
17
17
|
|
|
18
18
|
const PropertiesContainer = Comp => props => {
|
|
19
19
|
const { additionalFooterEls, additionalHeaderEls, ...rest } = props;
|
|
@@ -13,7 +13,7 @@ import { Button, Classes, Popover } from "@blueprintjs/core";
|
|
|
13
13
|
import classNames from "classnames";
|
|
14
14
|
|
|
15
15
|
import withEditorProps from "../../withEditorProps";
|
|
16
|
-
import { forEach, camelCase, startCase } from "lodash";
|
|
16
|
+
import { forEach, camelCase, startCase } from "lodash-es";
|
|
17
17
|
import { sizeSchema } from "../PropertiesDialog/utils";
|
|
18
18
|
import { getRangeLength } from "@teselagen/range-utils";
|
|
19
19
|
|
|
@@ -8,7 +8,7 @@ import { compose } from "redux";
|
|
|
8
8
|
import { Button, Intent, Classes } from "@blueprintjs/core";
|
|
9
9
|
|
|
10
10
|
import { NumericInputField } from "@teselagen/ui";
|
|
11
|
-
import { get } from "lodash";
|
|
11
|
+
import { get } from "lodash-es";
|
|
12
12
|
import { getRangeLength } from "@teselagen/range-utils";
|
|
13
13
|
import { tryToRefocusEditor } from "../utils/editorUtils";
|
|
14
14
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Icon, Slider, Intent } from "@blueprintjs/core";
|
|
3
3
|
import { preventDefaultStopPropagation } from "../utils/editorUtils";
|
|
4
|
-
import { clamp, isNumber } from "lodash";
|
|
4
|
+
import { clamp, isNumber } from "lodash-es";
|
|
5
5
|
import "./UncontrolledSliderWithPlusMinusBtns.css";
|
|
6
6
|
|
|
7
7
|
export default class UncontrolledSliderWithPlusMinusBtns extends React.Component {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
|
|
3
3
|
import { reduxForm } from "redux-form";
|
|
4
|
-
import { startCase } from "lodash";
|
|
4
|
+
import { startCase } from "lodash-es";
|
|
5
5
|
import { withProps } from "recompose";
|
|
6
6
|
import { InputField, wrapDialog } from "@teselagen/ui";
|
|
7
7
|
import { compose } from "redux";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import withEditorProps from "../withEditorProps";
|
|
3
3
|
import { TgSelect, getKeyedTagsAndTagOptions } from "@teselagen/ui";
|
|
4
|
-
import { flatMap } from "lodash";
|
|
5
|
-
import { uniqBy } from "lodash";
|
|
4
|
+
import { flatMap } from "lodash-es";
|
|
5
|
+
import { uniqBy } from "lodash-es";
|
|
6
6
|
|
|
7
7
|
export const PartTagSearch = withEditorProps(PartToolDropdown);
|
|
8
8
|
|
package/src/redux/alignments.js
CHANGED
|
@@ -8,7 +8,7 @@ import shortid from "shortid";
|
|
|
8
8
|
import addDashesForMatchStartAndEndForTracks from "./utils/addDashesForMatchStartAndEndForTracks";
|
|
9
9
|
|
|
10
10
|
import { /* createReducer, */ createAction } from "redux-act";
|
|
11
|
-
import { omit } from "lodash";
|
|
11
|
+
import { omit } from "lodash-es";
|
|
12
12
|
|
|
13
13
|
const alignmentAnnotationSettings = {
|
|
14
14
|
axis: true,
|
package/src/redux/findTool.js
CHANGED
package/src/redux/index.js
CHANGED
package/src/redux/panelsShown.js
CHANGED
package/src/redux/readOnly.js
CHANGED
|
@@ -5,7 +5,7 @@ import restrictionEnzymesSelector from "./restrictionEnzymesSelector";
|
|
|
5
5
|
import cutsiteLabelColorSelector from "./cutsiteLabelColorSelector";
|
|
6
6
|
import { createSelector } from "reselect";
|
|
7
7
|
|
|
8
|
-
import { flatMap as flatmap, map } from "lodash";
|
|
8
|
+
import { flatMap as flatmap, map } from "lodash-es";
|
|
9
9
|
import { getCutsitesFromSequence } from "@teselagen/sequence-utils";
|
|
10
10
|
import { getLowerCaseObj } from "../utils/arrayUtils";
|
|
11
11
|
|
|
@@ -3,7 +3,7 @@ import { createSelector } from "reselect";
|
|
|
3
3
|
import cutsitesSelector from "./cutsitesSelector";
|
|
4
4
|
import filteredRestrictionEnzymesSelector from "./filteredRestrictionEnzymesSelector";
|
|
5
5
|
import specialCutsiteFilterOptions from "../constants/specialCutsiteFilterOptions";
|
|
6
|
-
import { flatMap } from "lodash";
|
|
6
|
+
import { flatMap } from "lodash-es";
|
|
7
7
|
import isEnzymeFilterAndSelector from "./isEnzymeFilterAndSelector";
|
|
8
8
|
|
|
9
9
|
export default createSelector(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createSelector } from "reselect";
|
|
2
|
-
import { omitBy } from "lodash";
|
|
2
|
+
import { omitBy } from "lodash-es";
|
|
3
3
|
import featuresSelector from "./featuresSelector";
|
|
4
4
|
import sequenceLengthSelector from "./sequenceLengthSelector";
|
|
5
5
|
import { hideAnnByLengthFilter } from "../utils/editorUtils";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createSelector } from "reselect";
|
|
2
2
|
import partsSelector from "./partsSelector";
|
|
3
3
|
import tagsToBoldSelector from "./tagsToBoldSelector";
|
|
4
|
-
import { some, keyBy, omitBy } from "lodash";
|
|
5
|
-
import { map } from "lodash";
|
|
4
|
+
import { some, keyBy, omitBy } from "lodash-es";
|
|
5
|
+
import { map } from "lodash-es";
|
|
6
6
|
import sequenceLengthSelector from "./sequenceLengthSelector";
|
|
7
7
|
import { hideAnnByLengthFilter } from "../utils/editorUtils";
|
|
8
8
|
import { addWrappedAddons } from "../utils/addWrappedAddons";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createSelector } from "reselect";
|
|
2
|
-
import { omitBy } from "lodash";
|
|
2
|
+
import { omitBy } from "lodash-es";
|
|
3
3
|
import primersSelector from "./primersSelector";
|
|
4
4
|
import sequenceLengthSelector from "./sequenceLengthSelector";
|
|
5
5
|
import { hideAnnByLengthFilter } from "../utils/editorUtils";
|
package/src/updateEditor.js
CHANGED
package/src/utils/editorUtils.js
CHANGED
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
calculatePercentGC,
|
|
7
7
|
aliasedEnzymesByName
|
|
8
8
|
} from "@teselagen/sequence-utils";
|
|
9
|
-
import { get, sortBy } from "lodash";
|
|
9
|
+
import { get, sortBy } from "lodash-es";
|
|
10
10
|
import VeWarning from "../helperComponents/VeWarning";
|
|
11
11
|
import { normalizePositionByRangeLength } from "@teselagen/range-utils";
|
|
12
|
-
import { filter } from "lodash";
|
|
12
|
+
import { filter } from "lodash-es";
|
|
13
13
|
|
|
14
14
|
export function getSelectionMessage({
|
|
15
15
|
caretPosition = -1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { upperFirst } from "lodash";
|
|
1
|
+
import { upperFirst } from "lodash-es";
|
|
2
2
|
import { getSingular } from "./annotationTypes";
|
|
3
3
|
|
|
4
4
|
export default function getAnnotationNameAndStartStopString(
|
|
@@ -48,12 +48,12 @@ export default function getAnnotationNameAndStartStopString(
|
|
|
48
48
|
readOnly
|
|
49
49
|
? ""
|
|
50
50
|
: annotationTypePlural === "cutsites"
|
|
51
|
-
|
|
51
|
+
? `
|
|
52
52
|
|
|
53
53
|
click --> top cut position
|
|
54
54
|
alt/option+click --> bottom cut position
|
|
55
55
|
cmd/ctrl+click --> recognition range`
|
|
56
|
-
|
|
56
|
+
: `
|
|
57
57
|
|
|
58
58
|
alt/option+click --> jump row view to start/end
|
|
59
59
|
double click --> edit`
|
package/src/utils/pureNoFunc.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { noop } from "lodash";
|
|
1
|
+
import { noop } from "lodash-es";
|
|
2
2
|
import {
|
|
3
3
|
getRangeLength,
|
|
4
4
|
trimRangeByAnotherRange,
|
|
@@ -89,8 +89,8 @@ export const editorDragStarted = function (opts) {
|
|
|
89
89
|
selectionStartOrEndGrabbed = opts.selectionStartGrabbed
|
|
90
90
|
? "start"
|
|
91
91
|
: opts.selectionEndGrabbed
|
|
92
|
-
|
|
93
|
-
|
|
92
|
+
? "end"
|
|
93
|
+
: null;
|
|
94
94
|
};
|
|
95
95
|
export const editorDragStopped = function () {
|
|
96
96
|
document.body.classList.remove("sequenceDragging"); //needed to prevent the input bubble from losing focus post user drag
|
|
@@ -14,7 +14,7 @@ import { divideBy3 } from "../utils/proteinUtils";
|
|
|
14
14
|
import "./createSequenceInputPopupStyle.css";
|
|
15
15
|
import { Classes } from "@blueprintjs/core";
|
|
16
16
|
import { getNodeToRefocus } from "../utils/editorUtils";
|
|
17
|
-
import { noop } from "lodash";
|
|
17
|
+
import { noop } from "lodash-es";
|
|
18
18
|
|
|
19
19
|
let div;
|
|
20
20
|
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getReverseComplementSequenceAndAnnotations,
|
|
11
11
|
getComplementSequenceAndAnnotations
|
|
12
12
|
} from "@teselagen/sequence-utils";
|
|
13
|
-
import { some, map, noop } from "lodash";
|
|
13
|
+
import { some, map, noop } from "lodash-es";
|
|
14
14
|
import { Menu } from "@blueprintjs/core";
|
|
15
15
|
import { branch } from "recompose";
|
|
16
16
|
|
|
@@ -12,7 +12,7 @@ import { connect } from "react-redux";
|
|
|
12
12
|
import { compose, withHandlers, withProps } from "recompose";
|
|
13
13
|
import { getFormValues /* formValueSelector */ } from "redux-form";
|
|
14
14
|
import { showConfirmationDialog } from "@teselagen/ui";
|
|
15
|
-
import { some, map, keyBy, omit, isArray, noop } from "lodash";
|
|
15
|
+
import { some, map, keyBy, omit, isArray, noop } from "lodash-es";
|
|
16
16
|
import {
|
|
17
17
|
tidyUpSequenceData,
|
|
18
18
|
getComplementSequenceAndAnnotations,
|