ketcher-react 2.13.0-rc.3-dev.1 → 2.13.0-rc.3-dev.2
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 +10 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +10 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -8167,7 +8167,14 @@ function throughFileReader(file) {
|
|
|
8167
8167
|
var rd = new FileReader();
|
|
8168
8168
|
rd.onload = function () {
|
|
8169
8169
|
console.log('fileOpener.js::throughFileReader::onload::rd.result', rd.result);
|
|
8170
|
-
var content
|
|
8170
|
+
var content;
|
|
8171
|
+
if (isCDX) {
|
|
8172
|
+
var base64String = rd.result.split(',').at(-1);
|
|
8173
|
+
console.log('fileOpener.js::throughFileReader::onload::base64String', base64String);
|
|
8174
|
+
content = base64String;
|
|
8175
|
+
} else {
|
|
8176
|
+
content = rd.result;
|
|
8177
|
+
}
|
|
8171
8178
|
console.log('fileOpener.js::throughFileReader::onload::content', content);
|
|
8172
8179
|
console.log('fileOpener.js::throughFileReader::onload::file.msClose', file.msClose);
|
|
8173
8180
|
if (file.msClose) file.msClose();
|
|
@@ -30323,8 +30330,8 @@ var KetcherBuilder = function () {
|
|
|
30323
30330
|
initApp(element, staticResourcesUrl, {
|
|
30324
30331
|
buttons: buttons || {},
|
|
30325
30332
|
errorHandler: errorHandler || null,
|
|
30326
|
-
version: "2.13.0-rc.3-dev.
|
|
30327
|
-
buildDate: "2023-08-
|
|
30333
|
+
version: "2.13.0-rc.3-dev.2" ,
|
|
30334
|
+
buildDate: "2023-08-11T07:09:24" ,
|
|
30328
30335
|
buildNumber: ''
|
|
30329
30336
|
}, structService, resolve);
|
|
30330
30337
|
});
|