@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
|
@@ -24385,7 +24385,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24385
24385
|
return FetchBuilder.get(path).asText();
|
|
24386
24386
|
}))();
|
|
24387
24387
|
_export("renderMailPromise", renderMailPromise = AtomControl.registerProperty("data-html", "html", (c, e, value) => __awaiter(void 0, void 0, void 0, function* () {
|
|
24388
|
-
var _a, _b, _c, _d, _e, _f
|
|
24388
|
+
var _a, _b, _c, _d, _e, _f;
|
|
24389
24389
|
if (!value) {
|
|
24390
24390
|
e.innerHTML = "";
|
|
24391
24391
|
return;
|
|
@@ -24504,13 +24504,18 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24504
24504
|
if (included) {
|
|
24505
24505
|
(root !== null && root !== void 0 ? root : e).setAttribute("hide-media", "1");
|
|
24506
24506
|
}
|
|
24507
|
-
if (thread && !thread.timeRead && thread.mailboxID
|
|
24508
|
-
|
|
24509
|
-
|
|
24510
|
-
|
|
24511
|
-
|
|
24512
|
-
|
|
24513
|
-
|
|
24507
|
+
if (thread && !thread.timeRead && thread.mailboxID) {
|
|
24508
|
+
setTimeout(() => {
|
|
24509
|
+
if (!e.isConnected) {
|
|
24510
|
+
return;
|
|
24511
|
+
}
|
|
24512
|
+
const timeRead = DateTime.now;
|
|
24513
|
+
thread.timeRead = timeRead;
|
|
24514
|
+
const es = c.app.resolve(EntityService);
|
|
24515
|
+
es.run(MailboxContactEmail, "markAsRead", thread).asJson().then(() => {
|
|
24516
|
+
CommonEvents.onThreadMarkedAsRead.dispatchEvent(thread);
|
|
24517
|
+
}, console.error);
|
|
24518
|
+
}, 1000);
|
|
24514
24519
|
}
|
|
24515
24520
|
if (window.previewMode) {
|
|
24516
24521
|
e.appendChild(container);
|