@social-mail/social-mail-client 1.2.783 → 1.2.784
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 +37 -31
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +3 -3
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.js +37 -5
- package/dist/public/channel/ChannelApp.pack.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +2 -2
- package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +10 -4
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +37 -31
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +3 -3
- 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 +10 -4
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/package.json +1 -1
- package/src/web/page/mails/service/ConversationService.tsx +14 -2
|
@@ -27422,10 +27422,10 @@ System.register(["./apiPath"], function (_export, _context) {
|
|
|
27422
27422
|
|
|
27423
27423
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/fileUrl");
|
|
27424
27424
|
|
|
27425
|
-
System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/core/dist/di/Inject", "../../../../services/EntityService", "../../../../model/model", "../../../../common/Sql", "@web-atoms/email-dom/dist/DomToString", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/controls/AtomControl", "@web-atoms/core/dist/web/core/AtomUI", "@web-atoms/date-time/dist/DateTime", "../../../../common/events/CommonEvents", "../../../../services/email/EmailContentDownloader", "./EngagementService", "../../../commands/MailAppEvents", "../../../../common/fileUrl", "../../../../common/cache/CacheTTL"], function (_export, _context) {
|
|
27425
|
+
System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/core/dist/di/Inject", "../../../../services/EntityService", "../../../../model/model", "../../../../common/Sql", "@web-atoms/email-dom/dist/DomToString", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/controls/AtomControl", "@web-atoms/core/dist/web/core/AtomUI", "@web-atoms/date-time/dist/DateTime", "../../../../common/events/CommonEvents", "../../../../services/email/EmailContentDownloader", "./EngagementService", "../../../commands/MailAppEvents", "../../../../common/fileUrl", "../../../../common/cache/CacheTTL", "../../../../common/controls/Loader"], function (_export, _context) {
|
|
27426
27426
|
"use strict";
|
|
27427
27427
|
|
|
27428
|
-
var __awaiter, __decorate, __metadata, DISingleton, Inject, EntityService, Email, EmailRecipient, MailboxContactEmail, MailboxEmail, Sql, DomToString, XNode, AtomControl, AncestorEnumerator, descendentIterator, DateTime, CommonEvents, EmailContentDownloader, EngagementService, MailAppEvents, fileUrl, CacheTTL, cacheVersion, renderMailPromise, ConversationService;
|
|
27428
|
+
var __awaiter, __decorate, __metadata, DISingleton, Inject, EntityService, Email, EmailRecipient, MailboxContactEmail, MailboxEmail, Sql, DomToString, XNode, AtomControl, AncestorEnumerator, descendentIterator, DateTime, CommonEvents, EmailContentDownloader, EngagementService, MailAppEvents, fileUrl, CacheTTL, Loader, cacheVersion, renderMailPromise, ConversationService;
|
|
27429
27429
|
return {
|
|
27430
27430
|
setters: [function (_tslib) {
|
|
27431
27431
|
__awaiter = _tslib.__awaiter;
|
|
@@ -27467,6 +27467,8 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
27467
27467
|
fileUrl = _commonFileUrl.fileUrl;
|
|
27468
27468
|
}, function (_commonCacheCacheTTL) {
|
|
27469
27469
|
CacheTTL = _commonCacheCacheTTL.CacheTTL;
|
|
27470
|
+
}, function (_commonControlsLoader) {
|
|
27471
|
+
Loader = _commonControlsLoader.default;
|
|
27470
27472
|
}],
|
|
27471
27473
|
execute: function () {
|
|
27472
27474
|
cacheVersion = "c1";
|
|
@@ -27483,18 +27485,22 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
27483
27485
|
const mail = email !== null && email !== void 0 ? email : thread.email;
|
|
27484
27486
|
let html = mail.htmlBody;
|
|
27485
27487
|
if (!html) {
|
|
27488
|
+
c.render(XNode.create("div", null, XNode.create("div", {
|
|
27489
|
+
"style-height": "40vh"
|
|
27490
|
+
}, XNode.create(Loader, null))), e, c);
|
|
27486
27491
|
const es = c.app.resolve(EntityService);
|
|
27487
27492
|
if (thread) {
|
|
27488
|
-
html = yield es.run(MailboxContactEmail, "getBody", thread, {
|
|
27493
|
+
mail.htmlBody = html = yield es.run(MailboxContactEmail, "getBody", thread, {
|
|
27489
27494
|
cacheSeconds: CacheTTL.seconds.oneMonth,
|
|
27490
27495
|
cacheVersion
|
|
27491
27496
|
}).asText();
|
|
27492
27497
|
} else {
|
|
27493
|
-
html = yield es.run(Email, "getBody", email, {
|
|
27498
|
+
mail.htmlBody = html = yield es.run(Email, "getBody", email, {
|
|
27494
27499
|
cacheSeconds: CacheTTL.seconds.oneMonth,
|
|
27495
27500
|
cacheVersion
|
|
27496
27501
|
}).asText();
|
|
27497
27502
|
}
|
|
27503
|
+
e.innerHTML = "";
|
|
27498
27504
|
}
|
|
27499
27505
|
const msg = document.createElement("div");
|
|
27500
27506
|
if (!html) {
|