@teselagen/ove 0.5.4 → 0.5.6

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.
Files changed (98) hide show
  1. package/html2canvas.esm--JN4fLQL.js +7891 -0
  2. package/html2canvas.esm-B7d7VJmQ.cjs +7891 -0
  3. package/index.cjs.js +5437 -9962
  4. package/index.es.js +5439 -9964
  5. package/index.umd.js +4922 -10306
  6. package/package.json +4 -2
  7. package/src/AlignmentView/AlignmentVisibilityTool.js +1 -1
  8. package/src/AlignmentView/Minimap.js +1 -1
  9. package/src/AlignmentView/index.js +3 -3
  10. package/src/AutoAnnotate.js +1 -1
  11. package/src/CircularView/Feature.js +1 -1
  12. package/src/CircularView/Labels/index.js +1 -1
  13. package/src/CircularView/Labels/relaxLabelAngles.js +1 -1
  14. package/src/CircularView/Part.js +1 -1
  15. package/src/CircularView/drawAnnotations.js +1 -1
  16. package/src/CircularView/index.js +1 -1
  17. package/src/CreateAnnotationsPage.js +1 -1
  18. package/src/CutsiteFilter/AdditionalCutsiteInfoDialog.js +1 -1
  19. package/src/CutsiteFilter/index.js +2 -2
  20. package/src/DigestTool/AddLaddersDialog.js +1 -1
  21. package/src/DigestTool/DigestTool.js +1 -1
  22. package/src/DigestTool/Ladder.js +2 -2
  23. package/src/Editor/FillWindow.js +1 -1
  24. package/src/Editor/index.js +2 -2
  25. package/src/EnzymeViewer/index.js +1 -1
  26. package/src/GlobalDialog.js +10 -3
  27. package/src/GlobalDialogUtils.js +20 -5
  28. package/src/LinearView/index.js +1 -1
  29. package/src/MenuBar/index.js +1 -1
  30. package/src/PCRTool/PCRTool.js +1 -1
  31. package/src/Reflex/ReflexContainer.js +1 -1
  32. package/src/Reflex/ReflexElement.js +1 -1
  33. package/src/RowItem/Labels.js +1 -1
  34. package/src/RowItem/Sequence.js +1 -1
  35. package/src/RowItem/StackedAnnotations/PointedAnnotation.js +1 -1
  36. package/src/RowItem/StackedAnnotations/getStructuredBases.js +1 -1
  37. package/src/RowItem/StackedAnnotations/primerBases.js +1 -1
  38. package/src/RowItem/getXStartAndWidthOfRangeWrtRow.js +1 -1
  39. package/src/RowItem/index.js +2 -2
  40. package/src/RowView/estimateRowHeight.js +1 -1
  41. package/src/RowView/index.js +1 -1
  42. package/src/SimpleCircularOrLinearView.js +1 -1
  43. package/src/StatusBar/MeltingTemp.js +1 -1
  44. package/src/ToolBar/ToolbarItem.js +1 -1
  45. package/src/ToolBar/alignmentTool.js +2 -2
  46. package/src/ToolBar/cutsiteTool.js +1 -1
  47. package/src/ToolBar/index.js +1 -1
  48. package/src/VersionHistoryView/index.js +1 -1
  49. package/src/commands/index.js +1 -1
  50. package/src/helperComponents/AddOrEditAnnotationDialog/index.js +1 -1
  51. package/src/helperComponents/AddOrEditPartDialog/index.js +1 -1
  52. package/src/helperComponents/AddOrEditPrimerDialog/index.js +1 -1
  53. package/src/helperComponents/EnzymesDialog/index.js +1 -1
  54. package/src/helperComponents/GoToDialog.js +1 -1
  55. package/src/helperComponents/MergeFeaturesDialog/index.js +1 -1
  56. package/src/helperComponents/PropertiesDialog/CutsiteProperties.js +2 -2
  57. package/src/helperComponents/PropertiesDialog/GenericAnnotationProperties.js +1 -1
  58. package/src/helperComponents/PropertiesDialog/OrfProperties.js +1 -1
  59. package/src/helperComponents/PropertiesDialog/TranslationProperties.js +1 -1
  60. package/src/helperComponents/PropertiesDialog/index.js +2 -2
  61. package/src/helperComponents/RemoveDuplicates/index.js +1 -1
  62. package/src/helperComponents/SelectDialog.js +1 -1
  63. package/src/helperComponents/UncontrolledSliderWithPlusMinusBtns.js +1 -1
  64. package/src/helperComponents/createSimpleDialog.js +1 -1
  65. package/src/helperComponents/partTagSearch.js +2 -2
  66. package/src/redux/alignments.js +1 -1
  67. package/src/redux/annotationVisibility.js +1 -1
  68. package/src/redux/findTool.js +1 -1
  69. package/src/redux/index.js +1 -1
  70. package/src/redux/panelsShown.js +1 -1
  71. package/src/redux/readOnly.js +1 -1
  72. package/src/redux/useAdditionalOrfStartCodons.js +1 -1
  73. package/src/redux/versionHistory.js +1 -1
  74. package/src/selectors/annotationSearchSelector.js +1 -1
  75. package/src/selectors/cdsFeaturesSelector.js +1 -1
  76. package/src/selectors/cutsitesSelector.js +1 -1
  77. package/src/selectors/filteredCutsitesSelector.js +1 -1
  78. package/src/selectors/filteredFeaturesSelector.js +1 -1
  79. package/src/selectors/filteredPartsSelector.js +2 -2
  80. package/src/selectors/filteredPrimersSelector.js +1 -1
  81. package/src/selectors/getAdditionalEnzymesSelector.js +1 -1
  82. package/src/selectors/restrictionEnzymesSelector.js +1 -1
  83. package/src/selectors/translationsSelector.js +1 -1
  84. package/src/updateEditor.js +1 -1
  85. package/src/utils/addWrappedAddons.js +1 -1
  86. package/src/utils/commandUtils.js +1 -1
  87. package/src/utils/editorUtils.js +2 -2
  88. package/src/utils/getAnnotationClassnames.js +1 -1
  89. package/src/utils/getAnnotationNameAndStartStopString.js +1 -1
  90. package/src/utils/massageTickSpacing.js +1 -1
  91. package/src/utils/onlyUpdateForKeysDeep.js +2 -2
  92. package/src/utils/pureNoFunc.js +1 -1
  93. package/src/utils/shouldRerender.js +1 -1
  94. package/src/withEditorInteractions/Keyboard.js +1 -1
  95. package/src/withEditorInteractions/clickAndDragUtils.js +1 -1
  96. package/src/withEditorInteractions/createSequenceInputPopup.js +1 -1
  97. package/src/withEditorInteractions/index.js +1 -1
  98. package/src/withEditorProps/index.js +1 -1
@@ -6,7 +6,7 @@ import {
6
6
  createCommandMenu
7
7
  } from "@teselagen/ui";
8
8
  import getCommands from "../../commands";
9
- import { map } from "lodash";
9
+ import { map } from "lodash-es";
10
10
  import { getRangeLength } from "@teselagen/range-utils";
11
11
  import { connectToEditor } from "../../withEditorProps";
12
12
  import { compose } from "recompose";
@@ -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
 
@@ -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,
@@ -1,4 +1,4 @@
1
- import { omit } from "lodash";
1
+ import { omit } from "lodash-es";
2
2
 
3
3
  //./caretPosition.js
4
4
 
@@ -1,6 +1,6 @@
1
1
  import createAction from "./utils/createMetaAction";
2
2
  import createMergedDefaultStateReducer from "./utils/createMergedDefaultStateReducer";
3
- import { noop } from "lodash";
3
+ import { noop } from "lodash-es";
4
4
 
5
5
  // ------------------------------------
6
6
  // Actions
@@ -1,4 +1,4 @@
1
- import { merge } from "lodash";
1
+ import { merge } from "lodash-es";
2
2
  import * as createYourOwnEnzyme from "./createYourOwnEnzyme";
3
3
  import * as showGCContent from "./showGCContent";
4
4
  import * as annotationLabelVisibility from "./annotationLabelVisibility";
@@ -1,4 +1,4 @@
1
- import { map, flatMap } from "lodash";
1
+ import { map, flatMap } from "lodash-es";
2
2
  import { createReducer } from "redux-act";
3
3
  import createAction from "./utils/createMetaAction";
4
4
  import { removeItem } from "../utils/arrayUtils";
@@ -1,7 +1,7 @@
1
1
  //./caretPosition.js
2
2
  import { createReducer } from "redux-act";
3
3
  import createAction from "./utils/createMetaAction";
4
- import { noop } from "lodash";
4
+ import { noop } from "lodash-es";
5
5
 
6
6
  // ------------------------------------
7
7
  // Actions
@@ -1,7 +1,7 @@
1
1
  //./caretPosition.js
2
2
  import { createReducer } from "redux-act";
3
3
  import createAction from "./utils/createMetaAction";
4
- import { noop } from "lodash";
4
+ import { noop } from "lodash-es";
5
5
 
6
6
  // ------------------------------------
7
7
  // Actions
@@ -1,7 +1,7 @@
1
1
  //./caretPosition.js
2
2
  import { createReducer } from "redux-act";
3
3
  import createAction from "./utils/createMetaAction";
4
- import { noop } from "lodash";
4
+ import { noop } from "lodash-es";
5
5
 
6
6
  // ------------------------------------
7
7
  // Actions
@@ -1,5 +1,5 @@
1
1
  import { createSelector } from "reselect";
2
- import { filter } from "lodash";
2
+ import { filter } from "lodash-es";
3
3
  export const searchableTypes = ["parts", "features", "primers"];
4
4
 
5
5
  function annotationSearchSelector(isOpen, searchString, ...rest) {
@@ -1,5 +1,5 @@
1
1
  import { createSelector } from "reselect";
2
- import { filter } from "lodash";
2
+ import { filter } from "lodash-es";
3
3
  import featuresSelector from "./featuresSelector";
4
4
 
5
5
  function cdsFeaturesRawSelector(features) {
@@ -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";
@@ -1,4 +1,4 @@
1
- import { pickBy } from "lodash";
1
+ import { pickBy } from "lodash-es";
2
2
  import { createSelector } from "reselect";
3
3
  import { getLowerCaseObj } from "../utils/arrayUtils";
4
4
  import { getCustomEnzymes } from "../utils/editorUtils";
@@ -1,4 +1,4 @@
1
- import { forEach } from "lodash";
1
+ import { forEach } from "lodash-es";
2
2
  import { createSelector } from "reselect";
3
3
  import {
4
4
  defaultEnzymesByName,
@@ -1,4 +1,4 @@
1
- import { reduce } from "lodash";
1
+ import { reduce } from "lodash-es";
2
2
  import uuid from "shortid";
3
3
  import sequenceSelector from "./sequenceSelector";
4
4
  import orfsSelector from "./orfsSelector";
@@ -1,4 +1,4 @@
1
- import { set } from "lodash";
1
+ import { set } from "lodash-es";
2
2
  import { tidyUpSequenceData } from "@teselagen/sequence-utils";
3
3
  import { annotationTypes } from "@teselagen/sequence-utils";
4
4
 
@@ -1,4 +1,4 @@
1
- import { flatMap } from "lodash";
1
+ import { flatMap } from "lodash-es";
2
2
  import { normalizePositionByRangeLength } from "@teselagen/range-utils";
3
3
 
4
4
  export function addWrappedAddons(anns, seqLen) {
@@ -1,5 +1,5 @@
1
1
  import { genericCommandFactory } from "@teselagen/ui";
2
- import { noop } from "lodash";
2
+ import { noop } from "lodash-es";
3
3
 
4
4
  export function oveCommandFactory(instance, commandDefs) {
5
5
  return genericCommandFactory({
@@ -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,5 +1,5 @@
1
1
  import classnames from "classnames";
2
- import { upperFirst } from "lodash";
2
+ import { upperFirst } from "lodash-es";
3
3
 
4
4
  export default function getAnnotationClassnames(
5
5
  { overlapsSelf },
@@ -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(
@@ -1,4 +1,4 @@
1
- import { some } from "lodash";
1
+ import { some } from "lodash-es";
2
2
 
3
3
  export function massageTickSpacing(spacing) {
4
4
  let toRet = spacing;
@@ -1,6 +1,6 @@
1
- import { pick } from "lodash";
1
+ import { pick } from "lodash-es";
2
2
  import { shouldUpdate } from "recompose";
3
- import { isEqualWith, isFunction } from "lodash";
3
+ import { isEqualWith, isFunction } from "lodash-es";
4
4
 
5
5
  // import deepEqual from "deep-equal";
6
6
 
@@ -1,5 +1,5 @@
1
1
  import { shouldUpdate } from "recompose";
2
- import { isEqualWith, isFunction } from "lodash";
2
+ import { isEqualWith, isFunction } from "lodash-es";
3
3
 
4
4
  const isEq = (o1, o2) => {
5
5
  const isEq = isEqualWith(o1, o2, function (val1, val2) {
@@ -1,4 +1,4 @@
1
- import { pick, isEqualWith, isFunction } from "lodash";
1
+ import { pick, isEqualWith, isFunction } from "lodash-es";
2
2
  const shouldRerender = (propKeys, stateKeys, that) => {
3
3
  if (!that.hasRendered) {
4
4
  that.hasRendered = true;
@@ -1,4 +1,4 @@
1
- import { noop } from "lodash";
1
+ import { noop } from "lodash-es";
2
2
  import React from "react";
3
3
 
4
4
  class Clipboard extends React.Component {
@@ -1,4 +1,4 @@
1
- import { noop } from "lodash";
1
+ import { noop } from "lodash-es";
2
2
  import {
3
3
  getRangeLength,
4
4
  trimRangeByAnotherRange,
@@ -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,