@social-mail/social-mail-client 1.2.11 → 1.2.12
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 +15 -6
- 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/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +15 -6
- 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/ConversationPage.d.ts.map +1 -1
- package/dist/web/page/mails/ConversationPage.js +5 -1
- package/dist/web/page/mails/ConversationPage.js.map +1 -1
- package/dist/web/page/mails/service/ConversationService.d.ts.map +1 -1
- package/dist/web/page/mails/service/ConversationService.js +10 -5
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/package.json +1 -1
- package/src/web/page/mails/ConversationPage.tsx +3 -0
- package/src/web/page/mails/service/ConversationService.tsx +10 -5
|
@@ -21489,11 +21489,16 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
21489
21489
|
for (const iterator of descendentElementIterator(msg)) {
|
|
21490
21490
|
if (iterator.tagName === "IMG") {
|
|
21491
21491
|
const src = iterator.getAttribute("src");
|
|
21492
|
-
if (src
|
|
21493
|
-
|
|
21494
|
-
|
|
21495
|
-
|
|
21496
|
-
|
|
21492
|
+
if (src) {
|
|
21493
|
+
if (src.startsWith("cid:")) {
|
|
21494
|
+
const cid = src.substring(4);
|
|
21495
|
+
const a = mail.attachments.find(x => x.contentID === cid);
|
|
21496
|
+
if (a) {
|
|
21497
|
+
iterator.setAttribute("src", `/api/files/${a.appFileID}/${a.fileContentID}/${a.name}`);
|
|
21498
|
+
}
|
|
21499
|
+
}
|
|
21500
|
+
if (/^http\:\/\//i.test(src)) {
|
|
21501
|
+
iterator.setAttribute("src", src.substring(5));
|
|
21497
21502
|
}
|
|
21498
21503
|
}
|
|
21499
21504
|
continue;
|
|
@@ -32407,7 +32412,11 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
|
|
|
32407
32412
|
}, renderMail(thread)))), ((_e = item.attachments) === null || _e === void 0 ? void 0 : _e.length) && XNode.create("div", {
|
|
32408
32413
|
class: "attachments",
|
|
32409
32414
|
"data-layout": "flex-wrap-padding"
|
|
32410
|
-
}, ...item.attachments.map(FilePreview)),
|
|
32415
|
+
}, ...item.attachments.map(FilePreview)), thread.email.tags && XNode.create("div", {
|
|
32416
|
+
"data-layout": "row"
|
|
32417
|
+
}, ...thread.email.tags.split(",").map(x => XNode.create("span", {
|
|
32418
|
+
text: `#${x.startsWith("#") ? x.substring(1) : x}`
|
|
32419
|
+
}))), !sent && XNode.create("div", {
|
|
32411
32420
|
"data-layout": "row"
|
|
32412
32421
|
}, XNode.create("i", {
|
|
32413
32422
|
"data-click-event": "reply-email",
|