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.modern.js
CHANGED
|
@@ -2443,7 +2443,7 @@ function load(struct, options) {
|
|
|
2443
2443
|
_context.next = 16;
|
|
2444
2444
|
return editor.event.confirm.dispatch();
|
|
2445
2445
|
case 16:
|
|
2446
|
-
parsedStruct.sgroups = parsedStruct.sgroups.filter(function (
|
|
2446
|
+
parsedStruct.sgroups = parsedStruct.sgroups.filter(function (_key, sGroup) {
|
|
2447
2447
|
return supportedSGroupTypes[sGroup.type];
|
|
2448
2448
|
});
|
|
2449
2449
|
case 17:
|
|
@@ -2462,7 +2462,8 @@ function load(struct, options) {
|
|
|
2462
2462
|
parsedStruct.setImplicitHydrogen();
|
|
2463
2463
|
stereAtomsMap = getStereoAtomsMap(parsedStruct, Array.from(parsedStruct.bonds.values()));
|
|
2464
2464
|
parsedStruct.atoms.forEach(function (atom, id) {
|
|
2465
|
-
|
|
2465
|
+
var _parsedStruct$atomGet;
|
|
2466
|
+
if ((parsedStruct === null || parsedStruct === void 0 ? void 0 : (_parsedStruct$atomGet = parsedStruct.atomGetNeighbors(id)) === null || _parsedStruct$atomGet === void 0 ? void 0 : _parsedStruct$atomGet.length) === 0) {
|
|
2466
2467
|
atom.stereoLabel = null;
|
|
2467
2468
|
atom.stereoParity = 0;
|
|
2468
2469
|
} else {
|
|
@@ -21752,8 +21753,8 @@ var KetcherBuilder = function () {
|
|
|
21752
21753
|
initApp(element, staticResourcesUrl, {
|
|
21753
21754
|
buttons: buttons || {},
|
|
21754
21755
|
errorHandler: errorHandler || null,
|
|
21755
|
-
version: "2.6.
|
|
21756
|
-
buildDate: "2022-11-
|
|
21756
|
+
version: "2.6.3" ,
|
|
21757
|
+
buildDate: "2022-11-29T12:22:11" ,
|
|
21757
21758
|
buildNumber: ''
|
|
21758
21759
|
}, structService, resolve);
|
|
21759
21760
|
});
|