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.js
CHANGED
|
@@ -8230,7 +8230,14 @@ function throughFileReader(file) {
|
|
|
8230
8230
|
var rd = new FileReader();
|
|
8231
8231
|
rd.onload = function () {
|
|
8232
8232
|
console.log('fileOpener.js::throughFileReader::onload::rd.result', rd.result);
|
|
8233
|
-
var content
|
|
8233
|
+
var content;
|
|
8234
|
+
if (isCDX) {
|
|
8235
|
+
var base64String = rd.result.split(',').at(-1);
|
|
8236
|
+
console.log('fileOpener.js::throughFileReader::onload::base64String', base64String);
|
|
8237
|
+
content = base64String;
|
|
8238
|
+
} else {
|
|
8239
|
+
content = rd.result;
|
|
8240
|
+
}
|
|
8234
8241
|
console.log('fileOpener.js::throughFileReader::onload::content', content);
|
|
8235
8242
|
console.log('fileOpener.js::throughFileReader::onload::file.msClose', file.msClose);
|
|
8236
8243
|
if (file.msClose) file.msClose();
|
|
@@ -30386,8 +30393,8 @@ var KetcherBuilder = function () {
|
|
|
30386
30393
|
initApp(element, staticResourcesUrl, {
|
|
30387
30394
|
buttons: buttons || {},
|
|
30388
30395
|
errorHandler: errorHandler || null,
|
|
30389
|
-
version: "2.13.0-rc.3-dev.
|
|
30390
|
-
buildDate: "2023-08-
|
|
30396
|
+
version: "2.13.0-rc.3-dev.2" ,
|
|
30397
|
+
buildDate: "2023-08-11T07:09:24" ,
|
|
30391
30398
|
buildNumber: ''
|
|
30392
30399
|
}, structService, resolve);
|
|
30393
30400
|
});
|