ketcher-react 2.6.2 → 2.6.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 +6 -5
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +6 -5
- package/dist/index.modern.js.map +1 -1
- package/dist/script/ui/state/shared.d.ts +19 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -2504,7 +2504,7 @@ function load(struct, options) {
|
|
|
2504
2504
|
_context.next = 16;
|
|
2505
2505
|
return editor.event.confirm.dispatch();
|
|
2506
2506
|
case 16:
|
|
2507
|
-
parsedStruct.sgroups = parsedStruct.sgroups.filter(function (
|
|
2507
|
+
parsedStruct.sgroups = parsedStruct.sgroups.filter(function (_key, sGroup) {
|
|
2508
2508
|
return supportedSGroupTypes[sGroup.type];
|
|
2509
2509
|
});
|
|
2510
2510
|
case 17:
|
|
@@ -2523,7 +2523,8 @@ function load(struct, options) {
|
|
|
2523
2523
|
parsedStruct.setImplicitHydrogen();
|
|
2524
2524
|
stereAtomsMap = ketcherCore.getStereoAtomsMap(parsedStruct, Array.from(parsedStruct.bonds.values()));
|
|
2525
2525
|
parsedStruct.atoms.forEach(function (atom, id) {
|
|
2526
|
-
|
|
2526
|
+
var _parsedStruct$atomGet;
|
|
2527
|
+
if ((parsedStruct === null || parsedStruct === void 0 ? void 0 : (_parsedStruct$atomGet = parsedStruct.atomGetNeighbors(id)) === null || _parsedStruct$atomGet === void 0 ? void 0 : _parsedStruct$atomGet.length) === 0) {
|
|
2527
2528
|
atom.stereoLabel = null;
|
|
2528
2529
|
atom.stereoParity = 0;
|
|
2529
2530
|
} else {
|
|
@@ -2911,7 +2912,7 @@ var zoom = {
|
|
|
2911
2912
|
|
|
2912
2913
|
var openHelpLink = function openHelpLink() {
|
|
2913
2914
|
var _window$open;
|
|
2914
|
-
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.6.
|
|
2915
|
+
return (_window$open = window.open("https://github.com/epam/ketcher/blob/".concat("v2.6.3\n", "/documentation/help.md#ketcher-overview"))) === null || _window$open === void 0 ? void 0 : _window$open.focus();
|
|
2915
2916
|
};
|
|
2916
2917
|
var help = {
|
|
2917
2918
|
help: {
|
|
@@ -21813,8 +21814,8 @@ var KetcherBuilder = function () {
|
|
|
21813
21814
|
initApp(element, staticResourcesUrl, {
|
|
21814
21815
|
buttons: buttons || {},
|
|
21815
21816
|
errorHandler: errorHandler || null,
|
|
21816
|
-
version: "2.6.
|
|
21817
|
-
buildDate: "2022-
|
|
21817
|
+
version: "2.6.4" ,
|
|
21818
|
+
buildDate: "2022-12-01T13:14:40" ,
|
|
21818
21819
|
buildNumber: ''
|
|
21819
21820
|
}, structService, resolve);
|
|
21820
21821
|
});
|