ketcher-react 2.6.2 → 2.6.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.js +5 -4
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -4
- package/dist/index.modern.js.map +1 -1
- package/dist/script/ui/state/shared.d.ts +19 -3
- package/dist/script/ui/views/Editor.d.ts +1 -1
- package/dist/script/ui/views/modal/components/document/Save/Save.d.ts +1 -1
- 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 {
|
|
@@ -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-11-
|
|
21817
|
+
version: "2.6.3" ,
|
|
21818
|
+
buildDate: "2022-11-29T12:22:11" ,
|
|
21818
21819
|
buildNumber: ''
|
|
21819
21820
|
}, structService, resolve);
|
|
21820
21821
|
});
|