ketcher-react 2.11.0-rc.2 → 2.11.0-rc.3
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.modern.js
CHANGED
|
@@ -3010,7 +3010,7 @@ var zoom = {
|
|
|
3010
3010
|
|
|
3011
3011
|
var openHelpLink = function openHelpLink() {
|
|
3012
3012
|
var _window$open;
|
|
3013
|
-
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.11.0-rc.
|
|
3013
|
+
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.11.0-rc.3\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
|
|
3014
3014
|
};
|
|
3015
3015
|
var help = {
|
|
3016
3016
|
help: {
|
|
@@ -7529,6 +7529,7 @@ var RenderStruct = function () {
|
|
|
7529
7529
|
var rnd = new Render(el, _objectSpread$11({
|
|
7530
7530
|
autoScale: true
|
|
7531
7531
|
}, options));
|
|
7532
|
+
preparedStruct.rescale();
|
|
7532
7533
|
rnd.setMolecule(preparedStruct);
|
|
7533
7534
|
if (needCache) {
|
|
7534
7535
|
renderCache.set(cacheKey, rnd.clientArea.innerHTML);
|
|
@@ -17990,7 +17991,7 @@ var InfoPanel = function InfoPanel(props) {
|
|
|
17990
17991
|
var childRef = useRef(null);
|
|
17991
17992
|
var groupName = sGroup === null || sGroup === void 0 ? void 0 : (_sGroup$data = sGroup.data) === null || _sGroup$data === void 0 ? void 0 : _sGroup$data.name;
|
|
17992
17993
|
useEffect(function () {
|
|
17993
|
-
if (
|
|
17994
|
+
if (sGroup && SGroup$1.isDataSGroup(sGroup)) {
|
|
17994
17995
|
var _sGroup$data2, _sGroup$data3;
|
|
17995
17996
|
setSGroupData("".concat((_sGroup$data2 = sGroup.data) === null || _sGroup$data2 === void 0 ? void 0 : _sGroup$data2.fieldName, "=").concat((_sGroup$data3 = sGroup.data) === null || _sGroup$data3 === void 0 ? void 0 : _sGroup$data3.fieldValue));
|
|
17996
17997
|
} else {
|
|
@@ -18011,7 +18012,8 @@ var InfoPanel = function InfoPanel(props) {
|
|
|
18011
18012
|
y = position.y;
|
|
18012
18013
|
var width = size.x;
|
|
18013
18014
|
var height = size.y;
|
|
18014
|
-
|
|
18015
|
+
var showMolecule = molecule && sGroup && !SGroup$1.isDataSGroup(sGroup);
|
|
18016
|
+
return showMolecule ? jsx("div", {
|
|
18015
18017
|
style: {
|
|
18016
18018
|
left: x + 'px',
|
|
18017
18019
|
top: y + 'px'
|
|
@@ -24606,8 +24608,8 @@ var KetcherBuilder = function () {
|
|
|
24606
24608
|
initApp(element, staticResourcesUrl, {
|
|
24607
24609
|
buttons: buttons || {},
|
|
24608
24610
|
errorHandler: errorHandler || null,
|
|
24609
|
-
version: "2.11.0-rc.
|
|
24610
|
-
buildDate: "2023-
|
|
24611
|
+
version: "2.11.0-rc.3" ,
|
|
24612
|
+
buildDate: "2023-06-01T07:21:00" ,
|
|
24611
24613
|
buildNumber: ''
|
|
24612
24614
|
}, structService, resolve);
|
|
24613
24615
|
});
|