@social-mail/social-mail-client 1.2.613 → 1.2.614

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 (47) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +5 -5
  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/common/CDN.d.ts +4 -0
  6. package/dist/common/CDN.d.ts.map +1 -0
  7. package/dist/common/CDN.js +20 -0
  8. package/dist/common/CDN.js.map +1 -0
  9. package/dist/model/model.d.ts +1 -0
  10. package/dist/model/model.d.ts.map +1 -1
  11. package/dist/model/model.js.map +1 -1
  12. package/dist/public/channel/BlogImageService.d.ts.map +1 -1
  13. package/dist/public/channel/BlogImageService.js +5 -3
  14. package/dist/public/channel/BlogImageService.js.map +1 -1
  15. package/dist/public/channel/BlogService.d.ts.map +1 -1
  16. package/dist/public/channel/BlogService.js +5 -3
  17. package/dist/public/channel/BlogService.js.map +1 -1
  18. package/dist/public/channel/ChannelView.pack.js +42 -13
  19. package/dist/public/channel/ChannelView.pack.js.map +1 -1
  20. package/dist/public/channel/ChannelView.pack.min.js +6 -4
  21. package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
  22. package/dist/public/channel/PostView.js +1 -1
  23. package/dist/public/channel/PostView.js.map +1 -1
  24. package/dist/public/channel/styles/channelViewStyle.d.ts.map +1 -1
  25. package/dist/public/channel/styles/channelViewStyle.js +2 -0
  26. package/dist/public/channel/styles/channelViewStyle.js.map +1 -1
  27. package/dist/public/preview/zip/DownloadZip.pack.js.map +1 -1
  28. package/dist/public/preview/zip/DownloadZip.pack.min.js.map +1 -1
  29. package/dist/public/store/Store.pack.js.map +1 -1
  30. package/dist/public/store/Store.pack.min.js.map +1 -1
  31. package/dist/public/store/cart/ShoppingCart.pack.js.map +1 -1
  32. package/dist/public/store/cart/ShoppingCart.pack.min.js.map +1 -1
  33. package/dist/tsconfig.tsbuildinfo +1 -1
  34. package/dist/web/AppIndex.pack.js +5 -5
  35. package/dist/web/AppIndex.pack.js.map +1 -1
  36. package/dist/web/AppIndex.pack.min.js +1 -1
  37. package/dist/web/AppIndex.pack.min.js.map +1 -1
  38. package/dist/web/page/mails/service/ConversationService.js +5 -5
  39. package/dist/web/page/mails/service/ConversationService.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/common/CDN.ts +12 -0
  42. package/src/model/model.ts +1 -0
  43. package/src/public/channel/BlogImageService.ts +2 -1
  44. package/src/public/channel/BlogService.ts +2 -1
  45. package/src/public/channel/PostView.tsx +2 -2
  46. package/src/public/channel/styles/channelViewStyle.ts +2 -0
  47. package/src/web/page/mails/service/ConversationService.tsx +1 -1
@@ -28867,7 +28867,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28867
28867
  }],
28868
28868
  execute: function () {
28869
28869
  _export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
28870
- var _a, _b, _c;
28870
+ var _a, _b, _c, _d;
28871
28871
  if (!value) {
28872
28872
  e.innerHTML = "";
28873
28873
  return;
@@ -28893,7 +28893,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28893
28893
  const {
28894
28894
  parentElement
28895
28895
  } = node;
28896
- if (parentElement.tagName !== "STYLE") {
28896
+ if (parentElement.tagName !== "STYLE" && ((_a = node.nodeValue) === null || _a === void 0 ? void 0 : _a.trim())) {
28897
28897
  firstVisibleElement || (firstVisibleElement = node.parentElement);
28898
28898
  }
28899
28899
  }
@@ -28903,7 +28903,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28903
28903
  const iterator = node;
28904
28904
  let cid = iterator.getAttribute("data-content-id");
28905
28905
  if (cid) {
28906
- const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
28906
+ const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
28907
28907
  if (a) {
28908
28908
  iterator.setAttribute("src", a.url);
28909
28909
  }
@@ -28916,7 +28916,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28916
28916
  if (src) {
28917
28917
  if (src.startsWith("cid:")) {
28918
28918
  cid = src.substring(4);
28919
- const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
28919
+ const a = (_c = mail.attachments) === null || _c === void 0 ? void 0 : _c.find(x => x.contentID === cid);
28920
28920
  if (a) {
28921
28921
  iterator.setAttribute("src", fileUrl(a));
28922
28922
  }
@@ -28952,7 +28952,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28952
28952
  const root = AncestorEnumerator.find(e, x => x.hasAttribute("data-msg-container"));
28953
28953
  (root !== null && root !== void 0 ? root : e).setAttribute("has-poster", "true");
28954
28954
  }
28955
- if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_c = thread.email) === null || _c === void 0 ? void 0 : _c.senderID)) {
28955
+ if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_d = thread.email) === null || _d === void 0 ? void 0 : _d.senderID)) {
28956
28956
  const timeRead = DateTime.now;
28957
28957
  thread.timeRead = timeRead;
28958
28958
  const control = AtomControl.from(e);