@social-mail/social-mail-client 1.2.129 → 1.2.131
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/admin/AdminAppIndex.pack.js +10 -3
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +2 -2
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.d.ts.map +1 -1
- package/dist/site-editor/editor/HtmlPageEditor.js +9 -2
- package/dist/site-editor/editor/HtmlPageEditor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +10 -3
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +2 -2
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/mails/service/MailService.js +1 -1
- package/dist/web/page/mails/service/MailService.js.map +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/HtmlPageEditor.tsx +10 -2
- package/src/web/page/mails/service/MailService.ts +1 -1
|
@@ -17826,7 +17826,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
17826
17826
|
originalFileID
|
|
17827
17827
|
} = email;
|
|
17828
17828
|
if (mimeFileID) {
|
|
17829
|
-
return FetchBuilder.get(`/api/emails/
|
|
17829
|
+
return FetchBuilder.get(`/api/emails/logs/${mimeFileID}/${email.emailID}.eml`).responseAsText();
|
|
17830
17830
|
}
|
|
17831
17831
|
const file = yield this.entityService.query(AppFile).where({
|
|
17832
17832
|
originalFileID
|
|
@@ -39047,7 +39047,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
39047
39047
|
}
|
|
39048
39048
|
start = start.parentElement;
|
|
39049
39049
|
}
|
|
39050
|
-
previous.
|
|
39050
|
+
if (previous !== this.htmlDocument.body) {
|
|
39051
|
+
previous.removeAttribute("contentEditable");
|
|
39052
|
+
}
|
|
39051
39053
|
this.commit();
|
|
39052
39054
|
}
|
|
39053
39055
|
e.preventDefault();
|
|
@@ -39067,7 +39069,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
39067
39069
|
if (element.hasAttribute("data-web-atoms-view")) {
|
|
39068
39070
|
return;
|
|
39069
39071
|
}
|
|
39070
|
-
element.setAttribute("contentEditable", "true");
|
|
39071
39072
|
this.setSelection(element);
|
|
39072
39073
|
});
|
|
39073
39074
|
this.htmlDocument.addEventListener("scroll", e => {
|
|
@@ -39112,6 +39113,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
39112
39113
|
});
|
|
39113
39114
|
InstallDragDropHelper(this);
|
|
39114
39115
|
this.htmlDocument.close();
|
|
39116
|
+
this.htmlDocument.body.contentEditable = "true";
|
|
39115
39117
|
setTimeout(() => {
|
|
39116
39118
|
this.app.runAsync(() => __awaiter(this, void 0, void 0, function* () {
|
|
39117
39119
|
yield this.setStylerSheet();
|
|
@@ -39386,6 +39388,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
39386
39388
|
this.redoList.clear();
|
|
39387
39389
|
const lastHtml = this.lastHtml;
|
|
39388
39390
|
const clone = this.htmlDocument.documentElement.cloneNode(true);
|
|
39391
|
+
const body = clone.querySelector("body");
|
|
39392
|
+
body.removeAttribute("contentEditable");
|
|
39389
39393
|
const all = clone.querySelectorAll("*");
|
|
39390
39394
|
for (let index = 0; index < all.length; index++) {
|
|
39391
39395
|
const element = all[index];
|
|
@@ -39424,10 +39428,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
39424
39428
|
undo() {
|
|
39425
39429
|
this.redoList.insert(this.redoList.length, this.htmlDocument.documentElement.innerHTML);
|
|
39426
39430
|
this.htmlDocument.documentElement.innerHTML = this.undoList.removeAt(this.undoList.length - 1);
|
|
39431
|
+
this.htmlDocument.body.contentEditable = "true";
|
|
39427
39432
|
}
|
|
39428
39433
|
redo() {
|
|
39429
39434
|
this.undoList.insert(this.undoList.length, this.htmlDocument.documentElement.innerHTML);
|
|
39430
39435
|
this.htmlDocument.documentElement.innerHTML = this.redoList.removeAt(this.redoList.length - 1);
|
|
39436
|
+
this.htmlDocument.body.contentEditable = "true";
|
|
39431
39437
|
}
|
|
39432
39438
|
setStylerSheet() {
|
|
39433
39439
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -39463,6 +39469,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
39463
39469
|
this.htmlDocument = this.contentEditor.contentDocument;
|
|
39464
39470
|
yield sleep(100);
|
|
39465
39471
|
}
|
|
39472
|
+
this.htmlDocument.body.contentEditable = "true";
|
|
39466
39473
|
});
|
|
39467
39474
|
}
|
|
39468
39475
|
});
|