@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
|
@@ -21870,7 +21870,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
21870
21870
|
originalFileID
|
|
21871
21871
|
} = email;
|
|
21872
21872
|
if (mimeFileID) {
|
|
21873
|
-
return FetchBuilder.get(`/api/emails/
|
|
21873
|
+
return FetchBuilder.get(`/api/emails/logs/${mimeFileID}/${email.emailID}.eml`).responseAsText();
|
|
21874
21874
|
}
|
|
21875
21875
|
const file = yield this.entityService.query(AppFile).where({
|
|
21876
21876
|
originalFileID
|
|
@@ -42508,7 +42508,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
42508
42508
|
}
|
|
42509
42509
|
start = start.parentElement;
|
|
42510
42510
|
}
|
|
42511
|
-
previous.
|
|
42511
|
+
if (previous !== this.htmlDocument.body) {
|
|
42512
|
+
previous.removeAttribute("contentEditable");
|
|
42513
|
+
}
|
|
42512
42514
|
this.commit();
|
|
42513
42515
|
}
|
|
42514
42516
|
e.preventDefault();
|
|
@@ -42528,7 +42530,6 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
42528
42530
|
if (element.hasAttribute("data-web-atoms-view")) {
|
|
42529
42531
|
return;
|
|
42530
42532
|
}
|
|
42531
|
-
element.setAttribute("contentEditable", "true");
|
|
42532
42533
|
this.setSelection(element);
|
|
42533
42534
|
});
|
|
42534
42535
|
this.htmlDocument.addEventListener("scroll", e => {
|
|
@@ -42573,6 +42574,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
42573
42574
|
});
|
|
42574
42575
|
InstallDragDropHelper(this);
|
|
42575
42576
|
this.htmlDocument.close();
|
|
42577
|
+
this.htmlDocument.body.contentEditable = "true";
|
|
42576
42578
|
setTimeout(() => {
|
|
42577
42579
|
this.app.runAsync(() => __awaiter(this, void 0, void 0, function* () {
|
|
42578
42580
|
yield this.setStylerSheet();
|
|
@@ -42847,6 +42849,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
42847
42849
|
this.redoList.clear();
|
|
42848
42850
|
const lastHtml = this.lastHtml;
|
|
42849
42851
|
const clone = this.htmlDocument.documentElement.cloneNode(true);
|
|
42852
|
+
const body = clone.querySelector("body");
|
|
42853
|
+
body.removeAttribute("contentEditable");
|
|
42850
42854
|
const all = clone.querySelectorAll("*");
|
|
42851
42855
|
for (let index = 0; index < all.length; index++) {
|
|
42852
42856
|
const element = all[index];
|
|
@@ -42885,10 +42889,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
42885
42889
|
undo() {
|
|
42886
42890
|
this.redoList.insert(this.redoList.length, this.htmlDocument.documentElement.innerHTML);
|
|
42887
42891
|
this.htmlDocument.documentElement.innerHTML = this.undoList.removeAt(this.undoList.length - 1);
|
|
42892
|
+
this.htmlDocument.body.contentEditable = "true";
|
|
42888
42893
|
}
|
|
42889
42894
|
redo() {
|
|
42890
42895
|
this.undoList.insert(this.undoList.length, this.htmlDocument.documentElement.innerHTML);
|
|
42891
42896
|
this.htmlDocument.documentElement.innerHTML = this.redoList.removeAt(this.redoList.length - 1);
|
|
42897
|
+
this.htmlDocument.body.contentEditable = "true";
|
|
42892
42898
|
}
|
|
42893
42899
|
setStylerSheet() {
|
|
42894
42900
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -42924,6 +42930,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/Bind", "@web-atoms/core/dis
|
|
|
42924
42930
|
this.htmlDocument = this.contentEditor.contentDocument;
|
|
42925
42931
|
yield sleep(100);
|
|
42926
42932
|
}
|
|
42933
|
+
this.htmlDocument.body.contentEditable = "true";
|
|
42927
42934
|
});
|
|
42928
42935
|
}
|
|
42929
42936
|
});
|