@social-mail/social-mail-client 1.2.776 → 1.2.777
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 +5 -7
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +2 -2
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/model/model.d.ts +1 -0
- package/dist/model/model.d.ts.map +1 -1
- package/dist/model/model.js +2 -1
- package/dist/model/model.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.js +5 -7
- package/dist/public/channel/ChannelApp.pack.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +2 -2
- package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.js +5 -7
- package/dist/public/channel/ChannelView.pack.js.map +1 -1
- package/dist/public/channel/ChannelView.pack.min.js +2 -2
- package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.js +2 -1
- package/dist/public/preview/zip/DownloadZip.pack.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js.map +1 -1
- package/dist/public/store/StoreApp.pack.js +2 -1
- package/dist/public/store/StoreApp.pack.js.map +1 -1
- package/dist/public/store/StoreApp.pack.min.js +1 -1
- package/dist/public/store/StoreApp.pack.min.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.js +2 -1
- package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js +1 -1
- package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +5 -7
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +2 -2
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +5 -7
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +2 -2
- 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 +3 -6
- package/dist/web/page/mails/service/ConversationService.js.map +1 -1
- package/package.json +1 -1
- package/src/model/model.ts +3 -2
- package/src/web/page/mails/service/ConversationService.tsx +7 -8
|
@@ -16910,7 +16910,8 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
|
|
|
16910
16910
|
"relatedName": "MailboxContact"
|
|
16911
16911
|
}],
|
|
16912
16912
|
"actions": {
|
|
16913
|
-
"getBody": "external"
|
|
16913
|
+
"getBody": "external",
|
|
16914
|
+
"markAsRead": "external"
|
|
16914
16915
|
}
|
|
16915
16916
|
}));
|
|
16916
16917
|
modelEntitySchemas["MailboxContactEmail"] = MailboxContactEmail;
|
|
@@ -30268,14 +30269,11 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
30268
30269
|
const root = AncestorEnumerator.find(e, x => x.hasAttribute("data-msg-container"));
|
|
30269
30270
|
(root !== null && root !== void 0 ? root : e).setAttribute("has-poster", "true");
|
|
30270
30271
|
}
|
|
30271
|
-
if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_d = thread.email) === null || _d === void 0 ? void 0 : _d.senderID)) {
|
|
30272
|
+
if (thread && !thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_d = thread.email) === null || _d === void 0 ? void 0 : _d.senderID)) {
|
|
30272
30273
|
const timeRead = DateTime.now;
|
|
30273
30274
|
thread.timeRead = timeRead;
|
|
30274
|
-
const
|
|
30275
|
-
|
|
30276
|
-
entityService.save(MailboxContactEmail.patch(thread, {
|
|
30277
|
-
timeRead
|
|
30278
|
-
})).then(() => {
|
|
30275
|
+
const es = c.app.resolve(EntityService);
|
|
30276
|
+
es.run(MailboxContactEmail, "markAsRead", thread).asJson().then(() => {
|
|
30279
30277
|
CommonEvents.onThreadMarkedAsRead.dispatchEvent(thread);
|
|
30280
30278
|
}, console.error);
|
|
30281
30279
|
}
|