@social-mail/social-mail-client 1.8.361 → 1.8.362
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 +13 -8
- 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/ChannelApp.pack.js +13 -8
- package/dist/public/channel/ChannelApp.pack.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +13 -8
- 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 +13 -8
- 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 +13 -8
- 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 -9
|
@@ -28595,7 +28595,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28595
28595
|
return FetchBuilder.get(path).asText();
|
|
28596
28596
|
}))();
|
|
28597
28597
|
_export("renderMailPromise", renderMailPromise = AtomControl.registerProperty("data-html", "html", (c, e, value) => __awaiter(void 0, void 0, void 0, function* () {
|
|
28598
|
-
var _a, _b, _c, _d, _e, _f
|
|
28598
|
+
var _a, _b, _c, _d, _e, _f;
|
|
28599
28599
|
if (!value) {
|
|
28600
28600
|
e.innerHTML = "";
|
|
28601
28601
|
return;
|
|
@@ -28714,13 +28714,18 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
28714
28714
|
if (included) {
|
|
28715
28715
|
(root !== null && root !== void 0 ? root : e).setAttribute("hide-media", "1");
|
|
28716
28716
|
}
|
|
28717
|
-
if (thread && !thread.timeRead && thread.mailboxID
|
|
28718
|
-
|
|
28719
|
-
|
|
28720
|
-
|
|
28721
|
-
|
|
28722
|
-
|
|
28723
|
-
|
|
28717
|
+
if (thread && !thread.timeRead && thread.mailboxID) {
|
|
28718
|
+
setTimeout(() => {
|
|
28719
|
+
if (!e.isConnected) {
|
|
28720
|
+
return;
|
|
28721
|
+
}
|
|
28722
|
+
const timeRead = DateTime.now;
|
|
28723
|
+
thread.timeRead = timeRead;
|
|
28724
|
+
const es = c.app.resolve(EntityService);
|
|
28725
|
+
es.run(MailboxContactEmail, "markAsRead", thread).asJson().then(() => {
|
|
28726
|
+
CommonEvents.onThreadMarkedAsRead.dispatchEvent(thread);
|
|
28727
|
+
}, console.error);
|
|
28728
|
+
}, 1000);
|
|
28724
28729
|
}
|
|
28725
28730
|
if (window.previewMode) {
|
|
28726
28731
|
e.appendChild(container);
|