@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
|
@@ -24172,7 +24172,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24172
24172
|
return FetchBuilder.get(path).asText();
|
|
24173
24173
|
}))();
|
|
24174
24174
|
_export("renderMailPromise", renderMailPromise = AtomControl.registerProperty("data-html", "html", (c, e, value) => __awaiter(void 0, void 0, void 0, function* () {
|
|
24175
|
-
var _a, _b, _c, _d, _e, _f
|
|
24175
|
+
var _a, _b, _c, _d, _e, _f;
|
|
24176
24176
|
if (!value) {
|
|
24177
24177
|
e.innerHTML = "";
|
|
24178
24178
|
return;
|
|
@@ -24291,13 +24291,18 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
24291
24291
|
if (included) {
|
|
24292
24292
|
(root !== null && root !== void 0 ? root : e).setAttribute("hide-media", "1");
|
|
24293
24293
|
}
|
|
24294
|
-
if (thread && !thread.timeRead && thread.mailboxID
|
|
24295
|
-
|
|
24296
|
-
|
|
24297
|
-
|
|
24298
|
-
|
|
24299
|
-
|
|
24300
|
-
|
|
24294
|
+
if (thread && !thread.timeRead && thread.mailboxID) {
|
|
24295
|
+
setTimeout(() => {
|
|
24296
|
+
if (!e.isConnected) {
|
|
24297
|
+
return;
|
|
24298
|
+
}
|
|
24299
|
+
const timeRead = DateTime.now;
|
|
24300
|
+
thread.timeRead = timeRead;
|
|
24301
|
+
const es = c.app.resolve(EntityService);
|
|
24302
|
+
es.run(MailboxContactEmail, "markAsRead", thread).asJson().then(() => {
|
|
24303
|
+
CommonEvents.onThreadMarkedAsRead.dispatchEvent(thread);
|
|
24304
|
+
}, console.error);
|
|
24305
|
+
}, 1000);
|
|
24301
24306
|
}
|
|
24302
24307
|
if (window.previewMode) {
|
|
24303
24308
|
e.appendChild(container);
|