@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
|
@@ -29197,7 +29197,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
29197
29197
|
return FetchBuilder.get(path).asText();
|
|
29198
29198
|
}))();
|
|
29199
29199
|
_export("renderMailPromise", renderMailPromise = AtomControl.registerProperty("data-html", "html", (c, e, value) => __awaiter(void 0, void 0, void 0, function* () {
|
|
29200
|
-
var _a, _b, _c, _d, _e, _f
|
|
29200
|
+
var _a, _b, _c, _d, _e, _f;
|
|
29201
29201
|
if (!value) {
|
|
29202
29202
|
e.innerHTML = "";
|
|
29203
29203
|
return;
|
|
@@ -29316,13 +29316,18 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
29316
29316
|
if (included) {
|
|
29317
29317
|
(root !== null && root !== void 0 ? root : e).setAttribute("hide-media", "1");
|
|
29318
29318
|
}
|
|
29319
|
-
if (thread && !thread.timeRead && thread.mailboxID
|
|
29320
|
-
|
|
29321
|
-
|
|
29322
|
-
|
|
29323
|
-
|
|
29324
|
-
|
|
29325
|
-
|
|
29319
|
+
if (thread && !thread.timeRead && thread.mailboxID) {
|
|
29320
|
+
setTimeout(() => {
|
|
29321
|
+
if (!e.isConnected) {
|
|
29322
|
+
return;
|
|
29323
|
+
}
|
|
29324
|
+
const timeRead = DateTime.now;
|
|
29325
|
+
thread.timeRead = timeRead;
|
|
29326
|
+
const es = c.app.resolve(EntityService);
|
|
29327
|
+
es.run(MailboxContactEmail, "markAsRead", thread).asJson().then(() => {
|
|
29328
|
+
CommonEvents.onThreadMarkedAsRead.dispatchEvent(thread);
|
|
29329
|
+
}, console.error);
|
|
29330
|
+
}, 1000);
|
|
29326
29331
|
}
|
|
29327
29332
|
if (window.previewMode) {
|
|
29328
29333
|
e.appendChild(container);
|