ketcher-react 2.10.0-rc.5 → 2.10.0

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/dist/index.js CHANGED
@@ -3071,7 +3071,7 @@ var zoom = {
3071
3071
 
3072
3072
  var openHelpLink = function openHelpLink() {
3073
3073
  var _window$open;
3074
- return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.10.0-rc.5\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
3074
+ return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.10.0\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
3075
3075
  };
3076
3076
  var help = {
3077
3077
  help: {
@@ -17719,11 +17719,10 @@ function _objectSpread$C(target) { for (var i = 1; i < arguments.length; i++) {
17719
17719
  var HOVER_PANEL_PADDING = 20;
17720
17720
  function getSGroupFirstAtom(sGroup, render) {
17721
17721
  var _render$ctab$atoms, _render$ctab$atoms$ge;
17722
- var firstSgroupAtom = sGroup.firstSgroupAtom;
17722
+ var firstSgroupAtom = sGroup.firstSgroupAtom,
17723
+ firstSgroupAtomId = sGroup.firstSgroupAtomId;
17723
17724
  if (firstSgroupAtom) return firstSgroupAtom.pp;
17724
- var _sGroup$atoms = _slicedToArray__default["default"](sGroup.atoms, 1),
17725
- firstAtomId = _sGroup$atoms[0];
17726
- return ((_render$ctab$atoms = render.ctab.atoms) === null || _render$ctab$atoms === void 0 ? void 0 : (_render$ctab$atoms$ge = _render$ctab$atoms.get(firstAtomId)) === null || _render$ctab$atoms$ge === void 0 ? void 0 : _render$ctab$atoms$ge.a.pp) || new ketcherCore.Vec2(0, 0);
17725
+ return ((_render$ctab$atoms = render.ctab.atoms) === null || _render$ctab$atoms === void 0 ? void 0 : (_render$ctab$atoms$ge = _render$ctab$atoms.get(firstSgroupAtomId)) === null || _render$ctab$atoms$ge === void 0 ? void 0 : _render$ctab$atoms$ge.a.pp) || new ketcherCore.Vec2(0, 0);
17727
17726
  }
17728
17727
  function getPanelPosition(clientX, clientY, render, sGroup) {
17729
17728
  var width = 0;
@@ -24374,8 +24373,8 @@ var KetcherBuilder = function () {
24374
24373
  initApp(element, staticResourcesUrl, {
24375
24374
  buttons: buttons || {},
24376
24375
  errorHandler: errorHandler || null,
24377
- version: "2.10.0-rc.5" ,
24378
- buildDate: "2023-05-22T15:20:41" ,
24376
+ version: "2.10.0" ,
24377
+ buildDate: "2023-06-06T12:19:09" ,
24379
24378
  buildNumber: ''
24380
24379
  }, structService, resolve);
24381
24380
  });