@social-mail/social-mail-client 1.0.142 → 1.0.143
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 +17 -9
- 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/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +17 -9
- 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 +17 -9
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/package.json +1 -1
- package/src/web/page/mails/service/ConversationService.tsx +16 -8
|
@@ -21438,10 +21438,10 @@ System.register(["@web-atoms/core/dist/core/EventScope"], function (_export, _co
|
|
|
21438
21438
|
|
|
21439
21439
|
AmdLoader.instance.setup("@social-mail/social-mail-client/dist/common/events/CommonEvents");
|
|
21440
21440
|
|
|
21441
|
-
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"], function (_export, _context) {
|
|
21441
|
+
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/BusyProgress"], function (_export, _context) {
|
|
21442
21442
|
"use strict";
|
|
21443
21443
|
|
|
21444
|
-
var __awaiter, __decorate, __metadata, DISingleton, Inject, EntityService, MailboxThreadEmail, Sql, DomToString, XNode, AtomControl, descendentElementIterator, DateTime, CommonEvents, renderMail, downloadEmailContent, ConversationService;
|
|
21444
|
+
var __awaiter, __decorate, __metadata, DISingleton, Inject, EntityService, MailboxThreadEmail, Sql, DomToString, XNode, AtomControl, descendentElementIterator, DateTime, CommonEvents, BusyProgress, renderMail, downloadEmailContent, ConversationService;
|
|
21445
21445
|
return {
|
|
21446
21446
|
setters: [function (_tslib) {
|
|
21447
21447
|
__awaiter = _tslib.__awaiter;
|
|
@@ -21469,6 +21469,8 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
21469
21469
|
DateTime = _webAtomsDateTimeDistDateTime.default;
|
|
21470
21470
|
}, function (_commonEventsCommonEvents) {
|
|
21471
21471
|
CommonEvents = _commonEventsCommonEvents.CommonEvents;
|
|
21472
|
+
}, function (_servicesBusyProgress) {
|
|
21473
|
+
BusyProgress = _servicesBusyProgress.default;
|
|
21472
21474
|
}],
|
|
21473
21475
|
execute: function () {
|
|
21474
21476
|
_export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
|
|
@@ -21545,6 +21547,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
21545
21547
|
version = 0,
|
|
21546
21548
|
cancelToken
|
|
21547
21549
|
}) {
|
|
21550
|
+
var _a;
|
|
21548
21551
|
return __awaiter(this, void 0, void 0, function* () {
|
|
21549
21552
|
let q = this.entityService.query(MailboxThreadEmail).where({
|
|
21550
21553
|
mailboxID,
|
|
@@ -21564,15 +21567,20 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
21564
21567
|
cancelToken
|
|
21565
21568
|
});
|
|
21566
21569
|
const tasks = [];
|
|
21567
|
-
|
|
21568
|
-
|
|
21569
|
-
|
|
21570
|
-
|
|
21571
|
-
|
|
21570
|
+
const d = BusyProgress.create();
|
|
21571
|
+
try {
|
|
21572
|
+
for (const {
|
|
21573
|
+
email
|
|
21574
|
+
} of emails.items) {
|
|
21575
|
+
if (!email.originalFileID) {
|
|
21576
|
+
continue;
|
|
21577
|
+
}
|
|
21578
|
+
tasks.push(downloadEmailContent(email));
|
|
21572
21579
|
}
|
|
21573
|
-
|
|
21580
|
+
yield Promise.all(tasks);
|
|
21581
|
+
} finally {
|
|
21582
|
+
(_a = d === null || d === void 0 ? void 0 : d.dispose) === null || _a === void 0 ? void 0 : _a.call(d);
|
|
21574
21583
|
}
|
|
21575
|
-
yield Promise.all(tasks);
|
|
21576
21584
|
return emails;
|
|
21577
21585
|
});
|
|
21578
21586
|
}
|