ketcher-react 2.15.0-rc.6 → 2.15.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.
@@ -3301,7 +3301,7 @@ var zoom = {
3301
3301
 
3302
3302
  var openHelpLink = function openHelpLink() {
3303
3303
  var _window$open;
3304
- return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.15.0-rc.6\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
3304
+ return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.15.1\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
3305
3305
  };
3306
3306
  var help = {
3307
3307
  help: {
@@ -8595,12 +8595,12 @@ var implementation$4 = function bind(that) {
8595
8595
 
8596
8596
  var functionBind = Function.prototype.bind || implementation$4;
8597
8597
 
8598
- var hasOwnProperty$2 = {}.hasOwnProperty;
8599
8598
  var call = Function.prototype.call;
8599
+ var $hasOwn = Object.prototype.hasOwnProperty;
8600
8600
 
8601
- var src = call.bind ? call.bind(hasOwnProperty$2) : function (O, P) {
8602
- return call.call(hasOwnProperty$2, O, P);
8603
- };
8601
+
8602
+ /** @type {(o: {}, p: PropertyKey) => p is keyof o} */
8603
+ var hasown = functionBind.call(call, $hasOwn);
8604
8604
 
8605
8605
  var undefined$1;
8606
8606
 
@@ -8845,12 +8845,12 @@ var stringToPath = function stringToPath(string) {
8845
8845
  var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
8846
8846
  var intrinsicName = name;
8847
8847
  var alias;
8848
- if (src(LEGACY_ALIASES, intrinsicName)) {
8848
+ if (hasown(LEGACY_ALIASES, intrinsicName)) {
8849
8849
  alias = LEGACY_ALIASES[intrinsicName];
8850
8850
  intrinsicName = '%' + alias[0] + '%';
8851
8851
  }
8852
8852
 
8853
- if (src(INTRINSICS, intrinsicName)) {
8853
+ if (hasown(INTRINSICS, intrinsicName)) {
8854
8854
  var value = INTRINSICS[intrinsicName];
8855
8855
  if (value === needsEval) {
8856
8856
  value = doEval(intrinsicName);
@@ -8914,7 +8914,7 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
8914
8914
  intrinsicBaseName += '.' + part;
8915
8915
  intrinsicRealName = '%' + intrinsicBaseName + '%';
8916
8916
 
8917
- if (src(INTRINSICS, intrinsicRealName)) {
8917
+ if (hasown(INTRINSICS, intrinsicRealName)) {
8918
8918
  value = INTRINSICS[intrinsicRealName];
8919
8919
  } else if (value != null) {
8920
8920
  if (!(part in value)) {
@@ -8940,7 +8940,7 @@ var getIntrinsic = function GetIntrinsic(name, allowMissing) {
8940
8940
  value = value[part];
8941
8941
  }
8942
8942
  } else {
8943
- isOwn = src(value, part);
8943
+ isOwn = hasown(value, part);
8944
8944
  value = value[part];
8945
8945
  }
8946
8946
 
@@ -13831,7 +13831,7 @@ var mapDispatchToProps$j = function mapDispatchToProps(dispatch) {
13831
13831
  var RightToolbarContainer = connect(mapStateToProps$j, mapDispatchToProps$j)(RightToolbar);
13832
13832
 
13833
13833
  var _templateObject$7;
13834
- var TopToolbarIconButton = styled(IconButton)(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n border-radius: 4px;\n padding: 2px;\n\n @media only screen and (min-width: 1024px) {\n height: 32px;\n width: 32px;\n padding: 4px;\n }\n @media only screen and (min-width: 1920px) {\n height: 40px;\n width: 40px;\n padding: 5px;\n }\n"])));
13834
+ var TopToolbarIconButton = styled(IconButton)(_templateObject$7 || (_templateObject$7 = _taggedTemplateLiteral(["\n border-radius: 4px;\n padding: 2px;\n\n @media only screen {\n @container (min-width: 1024px) {\n height: 32px;\n width: 32px;\n padding: 4px;\n }\n }\n @media only screen {\n @container (min-width: 1920px) {\n height: 40px;\n width: 40px;\n padding: 5px;\n }\n }\n"])));
13835
13835
 
13836
13836
  var FileControls = function FileControls(_ref) {
13837
13837
  var onFileOpen = _ref.onFileOpen,
@@ -14304,7 +14304,7 @@ var ExternalFuncControls = function ExternalFuncControls(_ref) {
14304
14304
 
14305
14305
  var _templateObject$2;
14306
14306
  var collapseLimit = 650;
14307
- var ControlsPanel = styled('div')(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 0px;\n height: 36px;\n padding: 0px 22px;\n background-color: #ffffff;\n box-shadow: 0px 2px 5px rgba(103, 104, 132, 0.15);\n\n .group {\n display: flex;\n flex-direction: row;\n gap: 0px;\n }\n\n & * {\n box-sizing: border-box;\n }\n\n @media only screen and (min-width: 1024px) {\n height: 40px;\n gap: 0px;\n padding-bottom: 0;\n .group {\n gap: 4px;\n }\n }\n\n @media only screen and (min-width: 1920px) {\n height: 64px;\n gap: 12px;\n }\n"])));
14307
+ var ControlsPanel = styled('div')(_templateObject$2 || (_templateObject$2 = _taggedTemplateLiteral(["\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 0px;\n height: 36px;\n padding: 0px 22px;\n background-color: #ffffff;\n box-shadow: 0px 2px 5px rgba(103, 104, 132, 0.15);\n\n .group {\n display: flex;\n flex-direction: row;\n gap: 0px;\n }\n\n & * {\n box-sizing: border-box;\n }\n\n @media only screen {\n @container (min-width: 1024px) {\n height: 40px;\n gap: 0px;\n padding-bottom: 0;\n .group {\n gap: 4px;\n }\n }\n }\n\n @media only screen {\n @container (min-width: 1920px) {\n height: 64px;\n gap: 12px;\n }\n }\n"])));
14308
14308
  var TopToolbar = function TopToolbar(_ref) {
14309
14309
  var className = _ref.className,
14310
14310
  disabledButtons = _ref.disabledButtons,
@@ -31115,8 +31115,8 @@ var KetcherBuilder = function () {
31115
31115
  initApp(element, appRoot, staticResourcesUrl, {
31116
31116
  buttons: buttons || {},
31117
31117
  errorHandler: errorHandler || null,
31118
- version: "2.15.0-rc.6" ,
31119
- buildDate: "2023-10-27T14:41:31" ,
31118
+ version: "2.15.1" ,
31119
+ buildDate: "2023-12-11T16:30:15" ,
31120
31120
  buildNumber: ''
31121
31121
  }, structService, resolve);
31122
31122
  });