@social-mail/social-mail-client 1.8.124 → 1.8.126

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.
Files changed (55) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +8 -3
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +1 -1
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/public/channel/ChannelApp.pack.global.css +1 -1
  6. package/dist/public/channel/ChannelApp.pack.global.css.map +1 -1
  7. package/dist/public/channel/ChannelApp.pack.js +46 -10
  8. package/dist/public/channel/ChannelApp.pack.js.map +1 -1
  9. package/dist/public/channel/ChannelApp.pack.min.js +1 -1
  10. package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
  11. package/dist/public/channel/controls/channel-post/ChannelPost.d.ts +1 -0
  12. package/dist/public/channel/controls/channel-post/ChannelPost.d.ts.map +1 -1
  13. package/dist/public/channel/controls/channel-post/ChannelPost.global.css +1 -1
  14. package/dist/public/channel/controls/channel-post/ChannelPost.global.css.map +1 -1
  15. package/dist/public/channel/controls/channel-post/ChannelPost.js +20 -5
  16. package/dist/public/channel/controls/channel-post/ChannelPost.js.map +1 -1
  17. package/dist/public/channel/pages/comments/PostComments.d.ts.map +1 -1
  18. package/dist/public/channel/pages/comments/PostComments.global.css +1 -1
  19. package/dist/public/channel/pages/comments/PostComments.global.css.map +1 -1
  20. package/dist/public/channel/pages/comments/PostComments.js +5 -1
  21. package/dist/public/channel/pages/comments/PostComments.js.map +1 -1
  22. package/dist/public/channel/pages/posts/ChannelPage.d.ts +1 -0
  23. package/dist/public/channel/pages/posts/ChannelPage.d.ts.map +1 -1
  24. package/dist/public/channel/pages/posts/ChannelPage.js +13 -1
  25. package/dist/public/channel/pages/posts/ChannelPage.js.map +1 -1
  26. package/dist/site-editor/editor/UndoRedo.d.ts.map +1 -1
  27. package/dist/site-editor/editor/UndoRedo.js +3 -3
  28. package/dist/site-editor/editor/UndoRedo.js.map +1 -1
  29. package/dist/site-editor/suggestions/editorSuggestions.d.ts +48 -0
  30. package/dist/site-editor/suggestions/editorSuggestions.d.ts.map +1 -1
  31. package/dist/site-editor/suggestions/properties/size.d.ts +48 -0
  32. package/dist/site-editor/suggestions/properties/size.d.ts.map +1 -1
  33. package/dist/site-editor/suggestions/properties/size.js +13 -1
  34. package/dist/site-editor/suggestions/properties/size.js.map +1 -1
  35. package/dist/site-editor-app/SiteEditorApp.pack.js +24 -7
  36. package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
  37. package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
  38. package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
  39. package/dist/tsconfig.tsbuildinfo +1 -1
  40. package/dist/web/AppIndex.pack.js +8 -3
  41. package/dist/web/AppIndex.pack.js.map +1 -1
  42. package/dist/web/AppIndex.pack.min.js +1 -1
  43. package/dist/web/AppIndex.pack.min.js.map +1 -1
  44. package/dist/web/page/mails/service/ConversationService.d.ts.map +1 -1
  45. package/dist/web/page/mails/service/ConversationService.js +8 -3
  46. package/dist/web/page/mails/service/ConversationService.js.map +1 -1
  47. package/package.json +1 -1
  48. package/src/public/channel/controls/channel-post/ChannelPost.global.css +8 -6
  49. package/src/public/channel/controls/channel-post/ChannelPost.tsx +17 -5
  50. package/src/public/channel/pages/comments/PostComments.global.css +3 -1
  51. package/src/public/channel/pages/comments/PostComments.tsx +6 -1
  52. package/src/public/channel/pages/posts/ChannelPage.tsx +17 -1
  53. package/src/site-editor/editor/UndoRedo.tsx +5 -6
  54. package/src/site-editor/suggestions/properties/size.ts +13 -0
  55. package/src/web/page/mails/service/ConversationService.tsx +9 -21
@@ -28047,7 +28047,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28047
28047
  return FetchBuilder.get(path).asText();
28048
28048
  }))();
28049
28049
  _export("renderMailPromise", renderMailPromise = AtomControl.registerProperty("data-html", "html", (c, e, value) => __awaiter(void 0, void 0, void 0, function* () {
28050
- var _a, _b, _c, _d, _e;
28050
+ var _a, _b, _c, _d, _e, _f;
28051
28051
  if (!value) {
28052
28052
  e.innerHTML = "";
28053
28053
  return;
@@ -28101,6 +28101,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28101
28101
  const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
28102
28102
  if (a) {
28103
28103
  iterator.setAttribute("src", a.url);
28104
+ a.included = true;
28104
28105
  }
28105
28106
  }
28106
28107
  if (/^(IMG|VIDEO)$/.test(iterator.tagName)) {
@@ -28138,11 +28139,15 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28138
28139
  const container = document.createElement("msg-root");
28139
28140
  msg.setAttribute("msg", "msg");
28140
28141
  container.appendChild(msg);
28142
+ const root = AncestorEnumerator.find(e, x => x.tagName === "CHANNEL-POST" || x.hasAttribute("data-msg-container"));
28141
28143
  if (/img|video/i.test(firstVisibleElement === null || firstVisibleElement === void 0 ? void 0 : firstVisibleElement.tagName)) {
28142
- const root = AncestorEnumerator.find(e, x => x.hasAttribute("data-msg-container"));
28143
28144
  (root !== null && root !== void 0 ? root : e).setAttribute("has-poster", "true");
28144
28145
  }
28145
- if (thread && !thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_e = thread.email) === null || _e === void 0 ? void 0 : _e.senderID)) {
28146
+ const included = (_e = email.attachments) === null || _e === void 0 ? void 0 : _e.every(x => x.included);
28147
+ if (included) {
28148
+ (root !== null && root !== void 0 ? root : e).setAttribute("hide-media", "1");
28149
+ }
28150
+ if (thread && !thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_f = thread.email) === null || _f === void 0 ? void 0 : _f.senderID)) {
28146
28151
  const timeRead = DateTime.now;
28147
28152
  thread.timeRead = timeRead;
28148
28153
  const es = c.app.resolve(EntityService);