@social-mail/social-mail-client 1.2.626 → 1.2.628
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 +1 -0
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +6 -3
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +1 -1
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/public/channel/controls/MediaCarousel.d.ts.map +1 -1
- package/dist/public/channel/controls/MediaCarousel.js +5 -3
- package/dist/public/channel/controls/MediaCarousel.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +1 -0
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/dist/web/page/mails/service/ConversationService.d.ts.map +1 -1
- package/dist/web/page/mails/service/ConversationService.js +1 -0
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/package.json +1 -1
- package/src/public/channel/controls/MediaCarousel.tsx +6 -3
- package/src/web/page/mails/service/ConversationService.tsx +1 -0
|
@@ -23981,6 +23981,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
23981
23981
|
const a = (_c = mail.attachments) === null || _c === void 0 ? void 0 : _c.find(x => x.contentID === cid);
|
|
23982
23982
|
if (a) {
|
|
23983
23983
|
iterator.setAttribute("src", fileUrl(a));
|
|
23984
|
+
a.included = true;
|
|
23984
23985
|
}
|
|
23985
23986
|
}
|
|
23986
23987
|
if (/^http\:\/\//i.test(src)) {
|
|
@@ -24272,11 +24273,13 @@ System.register(["@web-atoms/core/dist/core/XNode"], function (_export, _context
|
|
|
24272
24273
|
if (!((_a = email.attachments) === null || _a === void 0 ? void 0 : _a.length)) {
|
|
24273
24274
|
return XNode.create("div", null);
|
|
24274
24275
|
}
|
|
24276
|
+
if (email.attachments.length === 1) {
|
|
24277
|
+
if (email.attachments[0].included) {
|
|
24278
|
+
return XNode.create("div", null);
|
|
24279
|
+
}
|
|
24280
|
+
}
|
|
24275
24281
|
const children = [];
|
|
24276
24282
|
for (const element of email.attachments) {
|
|
24277
|
-
if (element.contentID) {
|
|
24278
|
-
continue;
|
|
24279
|
-
}
|
|
24280
24283
|
if (/video/i.test(element.contentType)) {
|
|
24281
24284
|
children.push(XNode.create("video", {
|
|
24282
24285
|
controls: "true",
|