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.modern.js
CHANGED
|
@@ -3733,7 +3733,7 @@ var zoom = {
|
|
|
3733
3733
|
|
|
3734
3734
|
var openHelpLink = function openHelpLink() {
|
|
3735
3735
|
var _window$open;
|
|
3736
|
-
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.26.0-rc.
|
|
3736
|
+
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();
|
|
3737
3737
|
};
|
|
3738
3738
|
var help = {
|
|
3739
3739
|
help: {
|
|
@@ -21742,7 +21742,7 @@ var EraserTool = function () {
|
|
|
21742
21742
|
}));
|
|
21743
21743
|
} else if (ci.map === 'sgroups' || ci.map === 'sgroupData') {
|
|
21744
21744
|
var _sGroup2 = sgroups.get(ci.id);
|
|
21745
|
-
if (FunctionalGroup.isFunctionalGroup(_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item)) {
|
|
21745
|
+
if (FunctionalGroup.isFunctionalGroup(_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item) || (_sGroup2 === null || _sGroup2 === void 0 ? void 0 : _sGroup2.item) instanceof MonomerMicromolecule) {
|
|
21746
21746
|
this.editor.event.removeFG.dispatch({
|
|
21747
21747
|
fgIds: [ci.id]
|
|
21748
21748
|
});
|
|
@@ -26207,11 +26207,6 @@ var useMonomerExpansionHandlers = function useMonomerExpansionHandlers() {
|
|
|
26207
26207
|
});
|
|
26208
26208
|
editor.update(action);
|
|
26209
26209
|
editor.rotateController.rerender();
|
|
26210
|
-
editor.selection({
|
|
26211
|
-
sgroups: selectedFunctionalGroups === null || selectedFunctionalGroups === void 0 ? void 0 : selectedFunctionalGroups.map(function (fg) {
|
|
26212
|
-
return fg.relatedSGroup;
|
|
26213
|
-
})
|
|
26214
|
-
});
|
|
26215
26210
|
}, [getKetcherInstance]);
|
|
26216
26211
|
var hidden = useCallback(function (_ref2, toExpand) {
|
|
26217
26212
|
var _props$functionalGrou;
|
|
@@ -34783,8 +34778,8 @@ var KetcherBuilder = function () {
|
|
|
34783
34778
|
cleanup = initApp(element, appRoot, staticResourcesUrl, {
|
|
34784
34779
|
buttons: buttons || {},
|
|
34785
34780
|
errorHandler: errorHandler || null,
|
|
34786
|
-
version: "2.26.0-rc.
|
|
34787
|
-
buildDate: "2024-10-
|
|
34781
|
+
version: "2.26.0-rc.4" ,
|
|
34782
|
+
buildDate: "2024-10-18T17:09:08" ,
|
|
34788
34783
|
buildNumber: '',
|
|
34789
34784
|
customButtons: customButtons || []
|
|
34790
34785
|
}, structService, resolve, togglerComponent);
|