ketcher-react 2.26.0-rc.2 → 2.26.0-rc.4
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 +4 -9
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +4 -9
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3798,7 +3798,7 @@ var zoom = {
|
|
|
3798
3798
|
|
|
3799
3799
|
var openHelpLink = function openHelpLink() {
|
|
3800
3800
|
var _window$open;
|
|
3801
|
-
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.26.0-rc.
|
|
3801
|
+
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.26.0-rc.4\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
|
|
3802
3802
|
};
|
|
3803
3803
|
var help = {
|
|
3804
3804
|
help: {
|
|
@@ -21807,7 +21807,7 @@ var EraserTool = function () {
|
|
|
21807
21807
|
}));
|
|
21808
21808
|
} else if (ci.map === 'sgroups' || ci.map === 'sgroupData') {
|
|
21809
21809
|
var _sGroup2 = sgroups.get(ci.id);
|
|
21810
|
-
if (ketcherCore.FunctionalGroup.isFunctionalGroup(_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item)) {
|
|
21810
|
+
if (ketcherCore.FunctionalGroup.isFunctionalGroup(_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item) || (_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item) instanceof ketcherCore.MonomerMicromolecule) {
|
|
21811
21811
|
this.editor.event.removeFG.dispatch({
|
|
21812
21812
|
fgIds: [ci.id]
|
|
21813
21813
|
});
|
|
@@ -26272,11 +26272,6 @@ var useMonomerExpansionHandlers = function useMonomerExpansionHandlers() {
|
|
|
26272
26272
|
});
|
|
26273
26273
|
editor.update(action);
|
|
26274
26274
|
editor.rotateController.rerender();
|
|
26275
|
-
editor.selection({
|
|
26276
|
-
sgroups: selectedFunctionalGroups === null || selectedFunctionalGroups === void 0 ? void 0 : selectedFunctionalGroups.map(function (fg) {
|
|
26277
|
-
return fg.relatedSGroup;
|
|
26278
|
-
})
|
|
26279
|
-
});
|
|
26280
26275
|
}, [getKetcherInstance]);
|
|
26281
26276
|
var hidden = React.useCallback(function (_ref2, toExpand) {
|
|
26282
26277
|
var _props$functionalGrou;
|
|
@@ -34848,8 +34843,8 @@ var KetcherBuilder = function () {
|
|
|
34848
34843
|
cleanup = initApp(element, appRoot, staticResourcesUrl, {
|
|
34849
34844
|
buttons: buttons || {},
|
|
34850
34845
|
errorHandler: errorHandler || null,
|
|
34851
|
-
version: "2.26.0-rc.
|
|
34852
|
-
buildDate: "2024-10-
|
|
34846
|
+
version: "2.26.0-rc.4" ,
|
|
34847
|
+
buildDate: "2024-10-18T17:09:08" ,
|
|
34853
34848
|
buildNumber: '',
|
|
34854
34849
|
customButtons: customButtons || []
|
|
34855
34850
|
}, structService, resolve, togglerComponent);
|