@teselagen/ove 0.7.5 → 0.7.6-beta.1

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/index.cjs.js CHANGED
@@ -73513,7 +73513,7 @@ let FillWindow$1 = (_F = class extends React$2.Component {
73513
73513
  this.props.children && isFunction$7(this.props.children) ? this.props.children(windowDimensions) : this.props.children
73514
73514
  );
73515
73515
  if (asPortal)
73516
- return React$2.createPortal(inner2, window.document.body);
73516
+ return ReactDOM$1(inner2, window.document.body);
73517
73517
  return inner2;
73518
73518
  }
73519
73519
  }, __name(_F, "FillWindow"), _F);
@@ -117104,7 +117104,7 @@ var clipboard = { exports: {} };
117104
117104
  });
117105
117105
  })(clipboard);
117106
117106
  var clipboardExports = clipboard.exports;
117107
- const Clipboard$1 = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
117107
+ const Clipboard = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
117108
117108
  var connectionStore = /* @__PURE__ */ new WeakMap();
117109
117109
  var ITERATION_KEY = Symbol("iteration key");
117110
117110
  function storeObservable(obj) {
@@ -123079,7 +123079,7 @@ function showFileDialog({ multiple = false, onSelect }) {
123079
123079
  }
123080
123080
  __name(showFileDialog, "showFileDialog");
123081
123081
  const name = "@teselagen/ove";
123082
- const version = "0.7.4";
123082
+ const version = "0.7.5";
123083
123083
  const main = "./src/index.js";
123084
123084
  const type = "module";
123085
123085
  const exports$1 = {
@@ -126987,7 +126987,7 @@ function isElementInViewport(el) {
126987
126987
  return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth);
126988
126988
  }
126989
126989
  __name(isElementInViewport, "isElementInViewport");
126990
- const _Clipboard = class _Clipboard extends React$2.Component {
126990
+ const _Keyboard = class _Keyboard extends React$2.Component {
126991
126991
  constructor() {
126992
126992
  super(...arguments);
126993
126993
  __publicField(this, "handleKeyDown", /* @__PURE__ */ __name((e) => {
@@ -127056,14 +127056,14 @@ const _Clipboard = class _Clipboard extends React$2.Component {
127056
127056
  );
127057
127057
  }
127058
127058
  };
127059
- __name(_Clipboard, "Clipboard");
127059
+ __name(_Keyboard, "Keyboard");
127060
127060
  // static propTypes = {
127061
127061
  // value: PropTypes.string.isRequired
127062
127062
  // };
127063
- __publicField(_Clipboard, "defaultProps", {
127063
+ __publicField(_Keyboard, "defaultProps", {
127064
127064
  className: "clipboard"
127065
127065
  });
127066
- let Clipboard = _Clipboard;
127066
+ let Keyboard = _Keyboard;
127067
127067
  let dragInProgress = false;
127068
127068
  let selectionStartOrEndGrabbed;
127069
127069
  let caretPositionOnDragStart;
@@ -128079,7 +128079,7 @@ function VectorInteractionHOC(Component) {
128079
128079
  const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
128080
128080
  const { isProtein: isProtein2 } = sequenceData2;
128081
128081
  const makeTextCopyable = /* @__PURE__ */ __name((transformFunc, className, action2 = "copy") => {
128082
- return new Clipboard$1(`.${className}`, {
128082
+ return new Clipboard(`.${className}`, {
128083
128083
  action: () => action2,
128084
128084
  text: () => {
128085
128085
  if (action2 === "copy") {
@@ -128754,7 +128754,7 @@ function VectorInteractionHOC(Component) {
128754
128754
  },
128755
128755
  closePanelButton,
128756
128756
  /* @__PURE__ */ React$2.createElement(
128757
- Clipboard,
128757
+ Keyboard,
128758
128758
  {
128759
128759
  value: selectedBps,
128760
128760
  onCopy: this.handleCopy,
@@ -146927,7 +146927,7 @@ ${seqDataToCopy}\r
146927
146927
  this.copyAllAlignmentsFastaClipboardHelper && this.copyAllAlignmentsFastaClipboardHelper.destroy();
146928
146928
  },
146929
146929
  didMount: () => {
146930
- this.copyAllAlignmentsFastaClipboardHelper = new Clipboard$1(
146930
+ this.copyAllAlignmentsFastaClipboardHelper = new Clipboard(
146931
146931
  `.copyAllAlignmentsFastaClipboardHelper`,
146932
146932
  {
146933
146933
  action: "copyAllAlignmentsFasta",
@@ -146948,7 +146948,7 @@ ${seqDataToCopy}\r
146948
146948
  this.copySpecificAlignmentFastaClipboardHelper && this.copySpecificAlignmentFastaClipboardHelper.destroy();
146949
146949
  },
146950
146950
  didMount: () => {
146951
- this.copySpecificAlignmentFastaClipboardHelper = new Clipboard$1(
146951
+ this.copySpecificAlignmentFastaClipboardHelper = new Clipboard(
146952
146952
  `.copySpecificAlignmentFastaClipboardHelper`,
146953
146953
  {
146954
146954
  action: "copySpecificAlignmentFasta",
@@ -146979,7 +146979,7 @@ ${seqDataToCopy}\r
146979
146979
  this.copySpecificAlignmentAsPlainClipboardHelper && this.copySpecificAlignmentAsPlainClipboardHelper.destroy();
146980
146980
  },
146981
146981
  didMount: () => {
146982
- this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard$1(
146982
+ this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard(
146983
146983
  `.copySpecificAlignmentAsPlainClipboardHelper`,
146984
146984
  {
146985
146985
  action: "copySpecificAlignmentFasta",
package/index.es.js CHANGED
@@ -59,7 +59,7 @@ var __async = (__this, __arguments, generator) => {
59
59
  var _E, _F, _G, _H, _I, _L, _O, _V;
60
60
  import { Icon, Classes, Button, Intent, MenuItem, Keys, Tag, Popover, Tooltip, Spinner, Position, FormGroup, Checkbox, Switch, InputGroup, TextArea, EditableText, NumericInput, RadioGroup, Menu, Toaster, MenuDivider, useHotkeys, ContextMenu, Callout, Dialog, Card, Tabs, Tab, Colors, KeyCombo, AnchorButton, Slider as Slider$1, ButtonGroup, HTMLSelect, Label, ResizeSensor, FocusStyleManager } from "@blueprintjs/core";
61
61
  import * as React$2 from "react";
62
- import React__default$1, { useState, useEffect, forwardRef, useImperativeHandle, Fragment, useMemo as useMemo$1, useRef, useReducer, useCallback as useCallback$1, createElement, Component, useLayoutEffect as useLayoutEffect$1, createContext, memo, useContext, isValidElement, PureComponent, createPortal as createPortal$1 } from "react";
62
+ import React__default$1, { useState, useEffect, forwardRef, useImperativeHandle, Fragment, useMemo as useMemo$1, useRef, useReducer, useCallback as useCallback$1, createElement, Component, useLayoutEffect as useLayoutEffect$1, createContext, memo, useContext, isValidElement, PureComponent } from "react";
63
63
  import { formValueSelector, initialize, change, Field, reduxForm, SubmissionError, destroy as destroy$1, touch, FormName, reducer as reducer$4, getFormValues, FieldArray } from "redux-form";
64
64
  import ReactDOM$1, { unstable_batchedUpdates, createPortal, flushSync, findDOMNode as findDOMNode$1, unmountComponentAtNode, render as render$2 } from "react-dom";
65
65
  import { connect, useDispatch, useSelector, useStore, Provider } from "react-redux";
@@ -73495,7 +73495,7 @@ let FillWindow$1 = (_F = class extends React__default$1.Component {
73495
73495
  this.props.children && isFunction$7(this.props.children) ? this.props.children(windowDimensions) : this.props.children
73496
73496
  );
73497
73497
  if (asPortal)
73498
- return createPortal$1(inner2, window.document.body);
73498
+ return ReactDOM$1(inner2, window.document.body);
73499
73499
  return inner2;
73500
73500
  }
73501
73501
  }, __name(_F, "FillWindow"), _F);
@@ -117086,7 +117086,7 @@ var clipboard = { exports: {} };
117086
117086
  });
117087
117087
  })(clipboard);
117088
117088
  var clipboardExports = clipboard.exports;
117089
- const Clipboard$1 = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
117089
+ const Clipboard = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
117090
117090
  var connectionStore = /* @__PURE__ */ new WeakMap();
117091
117091
  var ITERATION_KEY = Symbol("iteration key");
117092
117092
  function storeObservable(obj) {
@@ -123061,7 +123061,7 @@ function showFileDialog({ multiple = false, onSelect }) {
123061
123061
  }
123062
123062
  __name(showFileDialog, "showFileDialog");
123063
123063
  const name = "@teselagen/ove";
123064
- const version = "0.7.4";
123064
+ const version = "0.7.5";
123065
123065
  const main = "./src/index.js";
123066
123066
  const type = "module";
123067
123067
  const exports$1 = {
@@ -126969,7 +126969,7 @@ function isElementInViewport(el) {
126969
126969
  return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth);
126970
126970
  }
126971
126971
  __name(isElementInViewport, "isElementInViewport");
126972
- const _Clipboard = class _Clipboard extends React__default$1.Component {
126972
+ const _Keyboard = class _Keyboard extends React__default$1.Component {
126973
126973
  constructor() {
126974
126974
  super(...arguments);
126975
126975
  __publicField(this, "handleKeyDown", /* @__PURE__ */ __name((e) => {
@@ -127038,14 +127038,14 @@ const _Clipboard = class _Clipboard extends React__default$1.Component {
127038
127038
  );
127039
127039
  }
127040
127040
  };
127041
- __name(_Clipboard, "Clipboard");
127041
+ __name(_Keyboard, "Keyboard");
127042
127042
  // static propTypes = {
127043
127043
  // value: PropTypes.string.isRequired
127044
127044
  // };
127045
- __publicField(_Clipboard, "defaultProps", {
127045
+ __publicField(_Keyboard, "defaultProps", {
127046
127046
  className: "clipboard"
127047
127047
  });
127048
- let Clipboard = _Clipboard;
127048
+ let Keyboard = _Keyboard;
127049
127049
  let dragInProgress = false;
127050
127050
  let selectionStartOrEndGrabbed;
127051
127051
  let caretPositionOnDragStart;
@@ -128061,7 +128061,7 @@ function VectorInteractionHOC(Component2) {
128061
128061
  const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
128062
128062
  const { isProtein: isProtein2 } = sequenceData2;
128063
128063
  const makeTextCopyable = /* @__PURE__ */ __name((transformFunc, className, action2 = "copy") => {
128064
- return new Clipboard$1(`.${className}`, {
128064
+ return new Clipboard(`.${className}`, {
128065
128065
  action: () => action2,
128066
128066
  text: () => {
128067
128067
  if (action2 === "copy") {
@@ -128736,7 +128736,7 @@ function VectorInteractionHOC(Component2) {
128736
128736
  },
128737
128737
  closePanelButton,
128738
128738
  /* @__PURE__ */ React__default$1.createElement(
128739
- Clipboard,
128739
+ Keyboard,
128740
128740
  {
128741
128741
  value: selectedBps,
128742
128742
  onCopy: this.handleCopy,
@@ -146909,7 +146909,7 @@ ${seqDataToCopy}\r
146909
146909
  this.copyAllAlignmentsFastaClipboardHelper && this.copyAllAlignmentsFastaClipboardHelper.destroy();
146910
146910
  },
146911
146911
  didMount: () => {
146912
- this.copyAllAlignmentsFastaClipboardHelper = new Clipboard$1(
146912
+ this.copyAllAlignmentsFastaClipboardHelper = new Clipboard(
146913
146913
  `.copyAllAlignmentsFastaClipboardHelper`,
146914
146914
  {
146915
146915
  action: "copyAllAlignmentsFasta",
@@ -146930,7 +146930,7 @@ ${seqDataToCopy}\r
146930
146930
  this.copySpecificAlignmentFastaClipboardHelper && this.copySpecificAlignmentFastaClipboardHelper.destroy();
146931
146931
  },
146932
146932
  didMount: () => {
146933
- this.copySpecificAlignmentFastaClipboardHelper = new Clipboard$1(
146933
+ this.copySpecificAlignmentFastaClipboardHelper = new Clipboard(
146934
146934
  `.copySpecificAlignmentFastaClipboardHelper`,
146935
146935
  {
146936
146936
  action: "copySpecificAlignmentFasta",
@@ -146961,7 +146961,7 @@ ${seqDataToCopy}\r
146961
146961
  this.copySpecificAlignmentAsPlainClipboardHelper && this.copySpecificAlignmentAsPlainClipboardHelper.destroy();
146962
146962
  },
146963
146963
  didMount: () => {
146964
- this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard$1(
146964
+ this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard(
146965
146965
  `.copySpecificAlignmentAsPlainClipboardHelper`,
146966
146966
  {
146967
146967
  action: "copySpecificAlignmentFasta",
package/index.umd.js CHANGED
@@ -102796,7 +102796,7 @@ ${latestSubscriptionCallbackError.current.stack}
102796
102796
  this.props.children && isFunction$2(this.props.children) ? this.props.children(windowDimensions) : this.props.children
102797
102797
  );
102798
102798
  if (asPortal)
102799
- return reactExports.createPortal(inner2, window.document.body);
102799
+ return ReactDOM$1(inner2, window.document.body);
102800
102800
  return inner2;
102801
102801
  }
102802
102802
  }, __name(_F, "FillWindow"), _F);
@@ -145718,7 +145718,7 @@ ${seq.sequence}
145718
145718
  });
145719
145719
  })(clipboard);
145720
145720
  var clipboardExports = clipboard.exports;
145721
- const Clipboard$1 = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
145721
+ const Clipboard = /* @__PURE__ */ getDefaultExportFromCjs(clipboardExports);
145722
145722
  var connectionStore = /* @__PURE__ */ new WeakMap();
145723
145723
  var ITERATION_KEY = Symbol("iteration key");
145724
145724
  function storeObservable(obj) {
@@ -151659,7 +151659,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
151659
151659
  }
151660
151660
  __name(showFileDialog, "showFileDialog");
151661
151661
  const name = "@teselagen/ove";
151662
- const version = "0.7.4";
151662
+ const version = "0.7.5";
151663
151663
  const main = "./src/index.js";
151664
151664
  const type = "module";
151665
151665
  const exports$1 = {
@@ -153962,7 +153962,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
153962
153962
  return rect.top >= 0 && rect.left >= 0 && rect.bottom <= (window.innerHeight || document.documentElement.clientHeight) && rect.right <= (window.innerWidth || document.documentElement.clientWidth);
153963
153963
  }
153964
153964
  __name(isElementInViewport, "isElementInViewport");
153965
- const _Clipboard = class _Clipboard extends React$2.Component {
153965
+ const _Keyboard = class _Keyboard extends React$2.Component {
153966
153966
  constructor() {
153967
153967
  super(...arguments);
153968
153968
  __publicField(this, "handleKeyDown", /* @__PURE__ */ __name((e2) => {
@@ -154031,14 +154031,14 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
154031
154031
  );
154032
154032
  }
154033
154033
  };
154034
- __name(_Clipboard, "Clipboard");
154034
+ __name(_Keyboard, "Keyboard");
154035
154035
  // static propTypes = {
154036
154036
  // value: PropTypes.string.isRequired
154037
154037
  // };
154038
- __publicField(_Clipboard, "defaultProps", {
154038
+ __publicField(_Keyboard, "defaultProps", {
154039
154039
  className: "clipboard"
154040
154040
  });
154041
- let Clipboard = _Clipboard;
154041
+ let Keyboard = _Keyboard;
154042
154042
  let dragInProgress = false;
154043
154043
  let selectionStartOrEndGrabbed;
154044
154044
  let caretPositionOnDragStart;
@@ -155054,7 +155054,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
155054
155054
  const { sequenceData: sequenceData2, readOnly: readOnly2, disableBpEditing, selectionLayer: selectionLayer2 } = this.props;
155055
155055
  const { isProtein: isProtein2 } = sequenceData2;
155056
155056
  const makeTextCopyable = /* @__PURE__ */ __name((transformFunc, className, action2 = "copy") => {
155057
- return new Clipboard$1(`.${className}`, {
155057
+ return new Clipboard(`.${className}`, {
155058
155058
  action: () => action2,
155059
155059
  text: () => {
155060
155060
  if (action2 === "copy") {
@@ -155729,7 +155729,7 @@ Part of ${annotation.translationType} Translation from BPs ${annotation.start +
155729
155729
  },
155730
155730
  closePanelButton,
155731
155731
  /* @__PURE__ */ React$2.createElement(
155732
- Clipboard,
155732
+ Keyboard,
155733
155733
  {
155734
155734
  value: selectedBps,
155735
155735
  onCopy: this.handleCopy,
@@ -173902,7 +173902,7 @@ ${seqDataToCopy}\r
173902
173902
  this.copyAllAlignmentsFastaClipboardHelper && this.copyAllAlignmentsFastaClipboardHelper.destroy();
173903
173903
  },
173904
173904
  didMount: () => {
173905
- this.copyAllAlignmentsFastaClipboardHelper = new Clipboard$1(
173905
+ this.copyAllAlignmentsFastaClipboardHelper = new Clipboard(
173906
173906
  `.copyAllAlignmentsFastaClipboardHelper`,
173907
173907
  {
173908
173908
  action: "copyAllAlignmentsFasta",
@@ -173923,7 +173923,7 @@ ${seqDataToCopy}\r
173923
173923
  this.copySpecificAlignmentFastaClipboardHelper && this.copySpecificAlignmentFastaClipboardHelper.destroy();
173924
173924
  },
173925
173925
  didMount: () => {
173926
- this.copySpecificAlignmentFastaClipboardHelper = new Clipboard$1(
173926
+ this.copySpecificAlignmentFastaClipboardHelper = new Clipboard(
173927
173927
  `.copySpecificAlignmentFastaClipboardHelper`,
173928
173928
  {
173929
173929
  action: "copySpecificAlignmentFasta",
@@ -173954,7 +173954,7 @@ ${seqDataToCopy}\r
173954
173954
  this.copySpecificAlignmentAsPlainClipboardHelper && this.copySpecificAlignmentAsPlainClipboardHelper.destroy();
173955
173955
  },
173956
173956
  didMount: () => {
173957
- this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard$1(
173957
+ this.copySpecificAlignmentAsPlainClipboardHelper = new Clipboard(
173958
173958
  `.copySpecificAlignmentAsPlainClipboardHelper`,
173959
173959
  {
173960
173960
  action: "copySpecificAlignmentFasta",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teselagen/ove",
3
- "version": "0.7.5",
3
+ "version": "0.7.6-beta.1",
4
4
  "main": "./src/index.js",
5
5
  "exports": {
6
6
  ".": {
@@ -12,11 +12,12 @@
12
12
  "dependencies": {
13
13
  "@teselagen/sequence-utils": "0.3.27",
14
14
  "@teselagen/range-utils": "0.3.7",
15
- "@teselagen/ui": "0.7.9",
15
+ "@teselagen/ui": "0.7.10-beta.1",
16
16
  "@teselagen/file-utils": "0.3.16",
17
17
  "@teselagen/bounce-loader": "0.3.11",
18
18
  "@teselagen/bio-parsers": "0.4.22",
19
- "@blueprintjs/core": "3.52.0",
19
+ "@blueprintjs/core": "3.54.0",
20
+ "@blueprintjs/datetime": "^3.24.1",
20
21
  "@blueprintjs/icons": "3.33.0",
21
22
  "@blueprintjs/select": "3.18.11",
22
23
  "@dnd-kit/core": "^6.1.0",
@@ -33,6 +34,7 @@
33
34
  "buffer": "5.7.1",
34
35
  "bufferpack": "0.0.6",
35
36
  "classnames": "^2.3.2",
37
+ "clipboard": "2.0.11",
36
38
  "color": "^3.2.1",
37
39
  "combokeys": "^3.0.1",
38
40
  "copy-to-clipboard": "^3.3.1",
@@ -70,6 +72,7 @@
70
72
  "react-dom": "^18.3.1",
71
73
  "react-draggable": "4.4.5",
72
74
  "react-dropzone": "^11.4.2",
75
+ "react-markdown": "9.0.1",
73
76
  "react-measure": "^2.5.2",
74
77
  "react-redux": "^8.0.5",
75
78
  "react-rnd": "^10.2.4",
@@ -81,6 +84,7 @@
81
84
  "redux-act": "^1.8.0",
82
85
  "redux-form": "^8.3.10",
83
86
  "redux-thunk": "2.4.1",
87
+ "remark-gfm": "^4.0.0",
84
88
  "reselect": "^4.1.7",
85
89
  "shortid": "^2.2.16",
86
90
  "tg-use-local-storage-state": "^16.0.3",
@@ -1,7 +1,7 @@
1
1
  import { noop } from "lodash-es";
2
2
  import React from "react";
3
3
 
4
- class Clipboard extends React.Component {
4
+ class Keyboard extends React.Component {
5
5
  // static propTypes = {
6
6
  // value: PropTypes.string.isRequired
7
7
  // };
@@ -82,4 +82,4 @@ class Clipboard extends React.Component {
82
82
  }
83
83
  }
84
84
 
85
- export default Clipboard;
85
+ export default Keyboard;
@@ -1,6 +1,6 @@
1
1
  import { default as React } from '../../../../node_modules/react';
2
- export default Clipboard;
3
- declare class Clipboard extends React.Component<any, any, any> {
2
+ export default Keyboard;
3
+ declare class Keyboard extends React.Component<any, any, any> {
4
4
  static defaultProps: {
5
5
  className: string;
6
6
  };