ketcher-react 2.9.0-rc.7 → 2.9.0-rc.8
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
|
@@ -3013,7 +3013,7 @@ var zoom = {
|
|
|
3013
3013
|
|
|
3014
3014
|
var openHelpLink = function openHelpLink() {
|
|
3015
3015
|
var _window$open;
|
|
3016
|
-
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.9.0-rc.
|
|
3016
|
+
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.9.0-rc.8\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
|
|
3017
3017
|
};
|
|
3018
3018
|
var help = {
|
|
3019
3019
|
help: {
|
|
@@ -12121,7 +12121,7 @@ function getGroupIdsFromItemMaps(struct, mergeMaps) {
|
|
|
12121
12121
|
});
|
|
12122
12122
|
}
|
|
12123
12123
|
|
|
12124
|
-
function dropAndMerge(editor, mergeItems, action) {
|
|
12124
|
+
function dropAndMerge(editor, mergeItems, action, isPaste) {
|
|
12125
12125
|
var _dropItemAction;
|
|
12126
12126
|
var restruct = editor.render.ctab;
|
|
12127
12127
|
var isMerging = !!mergeItems;
|
|
@@ -12138,7 +12138,7 @@ function dropAndMerge(editor, mergeItems, action) {
|
|
|
12138
12138
|
if (isMerging) editor.selection(null);
|
|
12139
12139
|
if (((_dropItemAction = dropItemAction) === null || _dropItemAction === void 0 ? void 0 : _dropItemAction.operations.length) > 0) {
|
|
12140
12140
|
editor.update(dropItemAction, false, {
|
|
12141
|
-
resizeCanvas:
|
|
12141
|
+
resizeCanvas: !!isPaste
|
|
12142
12142
|
});
|
|
12143
12143
|
}
|
|
12144
12144
|
}
|
|
@@ -13193,7 +13193,7 @@ var PasteTool = function () {
|
|
|
13193
13193
|
} else {
|
|
13194
13194
|
var action = this.action;
|
|
13195
13195
|
delete this.action;
|
|
13196
|
-
dropAndMerge(this.editor, this.mergeItems, action);
|
|
13196
|
+
dropAndMerge(this.editor, this.mergeItems, action, true);
|
|
13197
13197
|
}
|
|
13198
13198
|
}
|
|
13199
13199
|
}, {
|
|
@@ -24048,8 +24048,8 @@ var KetcherBuilder = function () {
|
|
|
24048
24048
|
initApp(element, staticResourcesUrl, {
|
|
24049
24049
|
buttons: buttons || {},
|
|
24050
24050
|
errorHandler: errorHandler || null,
|
|
24051
|
-
version: "2.9.0-rc.
|
|
24052
|
-
buildDate: "2023-04-
|
|
24051
|
+
version: "2.9.0-rc.8" ,
|
|
24052
|
+
buildDate: "2023-04-21T12:27:20" ,
|
|
24053
24053
|
buildNumber: ''
|
|
24054
24054
|
}, structService, resolve);
|
|
24055
24055
|
});
|