@social-mail/social-mail-client 1.8.267 → 1.8.269

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 (48) hide show
  1. package/dist/admin/AdminAppIndex.pack.global.css +1 -1
  2. package/dist/admin/AdminAppIndex.pack.global.css.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.js +13 -5
  4. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  5. package/dist/admin/AdminAppIndex.pack.min.js +1 -1
  6. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  7. package/dist/common/pages/websites/detail/WebSiteDetail.global.css +1 -1
  8. package/dist/common/pages/websites/detail/WebSiteDetail.global.css.map +1 -1
  9. package/dist/public/channel/ChannelApp.pack.global.css +1 -1
  10. package/dist/public/channel/ChannelApp.pack.global.css.map +1 -1
  11. package/dist/public/channel/ChannelApp.pack.js +25 -6
  12. package/dist/public/channel/ChannelApp.pack.js.map +1 -1
  13. package/dist/public/channel/ChannelApp.pack.min.js +1 -1
  14. package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
  15. package/dist/public/channel/controls/channel-post/ChannelPost.d.ts.map +1 -1
  16. package/dist/public/channel/controls/channel-post/ChannelPost.global.css +1 -1
  17. package/dist/public/channel/controls/channel-post/ChannelPost.global.css.map +1 -1
  18. package/dist/public/channel/controls/channel-post/ChannelPost.js +4 -1
  19. package/dist/public/channel/controls/channel-post/ChannelPost.js.map +1 -1
  20. package/dist/public/channel/pages/posts/ChannelPage.d.ts +3 -0
  21. package/dist/public/channel/pages/posts/ChannelPage.d.ts.map +1 -1
  22. package/dist/public/channel/pages/posts/ChannelPage.js +8 -0
  23. package/dist/public/channel/pages/posts/ChannelPage.js.map +1 -1
  24. package/dist/site-editor-app/SiteEditorApp.pack.global.css +1 -1
  25. package/dist/site-editor-app/SiteEditorApp.pack.global.css.map +1 -1
  26. package/dist/site-editor-app/SiteEditorApp.pack.js +13 -5
  27. package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
  28. package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
  29. package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
  30. package/dist/tsconfig.tsbuildinfo +1 -1
  31. package/dist/web/AppIndex.pack.global.css +1 -1
  32. package/dist/web/AppIndex.pack.global.css.map +1 -1
  33. package/dist/web/AppIndex.pack.js +13 -5
  34. package/dist/web/AppIndex.pack.js.map +1 -1
  35. package/dist/web/AppIndex.pack.min.js +1 -1
  36. package/dist/web/AppIndex.pack.min.js.map +1 -1
  37. package/dist/web/page/mails/ConversationPage.d.ts.map +1 -1
  38. package/dist/web/page/mails/ConversationPage.js.map +1 -1
  39. package/dist/web/page/mails/service/ConversationService.d.ts.map +1 -1
  40. package/dist/web/page/mails/service/ConversationService.js +13 -5
  41. package/dist/web/page/mails/service/ConversationService.js.map +1 -1
  42. package/package.json +1 -1
  43. package/src/common/pages/websites/detail/WebSiteDetail.global.css +1 -1
  44. package/src/public/channel/controls/channel-post/ChannelPost.global.css +17 -0
  45. package/src/public/channel/controls/channel-post/ChannelPost.tsx +5 -0
  46. package/src/public/channel/pages/posts/ChannelPage.tsx +6 -0
  47. package/src/web/page/mails/ConversationPage.tsx +6 -0
  48. package/src/web/page/mails/service/ConversationService.tsx +10 -2
@@ -27644,7 +27644,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
27644
27644
  return FetchBuilder.get(path).asText();
27645
27645
  }))();
27646
27646
  _export("renderMailPromise", renderMailPromise = AtomControl.registerProperty("data-html", "html", (c, e, value) => __awaiter(void 0, void 0, void 0, function* () {
27647
- var _a, _b, _c, _d, _e, _f;
27647
+ var _a, _b, _c, _d, _e, _f, _g;
27648
27648
  if (!value) {
27649
27649
  e.innerHTML = "";
27650
27650
  return;
@@ -27736,15 +27736,23 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
27736
27736
  const container = document.createElement("msg-root");
27737
27737
  msg.setAttribute("msg", "msg");
27738
27738
  container.appendChild(msg);
27739
- const root = AncestorEnumerator.find(e, x => x.tagName === "CHANNEL-POST" || x.hasAttribute("data-msg-container"));
27739
+ const root = (_e = AncestorEnumerator.find(e, x => x.tagName === "CHANNEL-POST" || x.hasAttribute("data-msg-container"))) !== null && _e !== void 0 ? _e : e;
27740
+ for (const a of Array.from(msg.querySelectorAll(`a[hash-tag]`))) {
27741
+ const tag = a.getAttribute("hash-tag");
27742
+ const tokens = tag.toLowerCase().split("/");
27743
+ if (tokens[0] !== "#price") {
27744
+ continue;
27745
+ }
27746
+ root.setAttribute("enable-buy", "true");
27747
+ }
27740
27748
  if (/img|video/i.test(firstVisibleElement === null || firstVisibleElement === void 0 ? void 0 : firstVisibleElement.tagName)) {
27741
- (root !== null && root !== void 0 ? root : e).setAttribute("has-poster", "true");
27749
+ root.setAttribute("has-poster", "true");
27742
27750
  }
27743
- const included = (_e = email.attachments) === null || _e === void 0 ? void 0 : _e.every(x => x.included);
27751
+ const included = (_f = email.attachments) === null || _f === void 0 ? void 0 : _f.every(x => x.included);
27744
27752
  if (included) {
27745
27753
  (root !== null && root !== void 0 ? root : e).setAttribute("hide-media", "1");
27746
27754
  }
27747
- if (thread && !thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_f = thread.email) === null || _f === void 0 ? void 0 : _f.senderID)) {
27755
+ if (thread && !thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_g = thread.email) === null || _g === void 0 ? void 0 : _g.senderID)) {
27748
27756
  const timeRead = DateTime.now;
27749
27757
  thread.timeRead = timeRead;
27750
27758
  const es = c.app.resolve(EntityService);