@social-mail/social-mail-client 1.8.272 → 1.8.274

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 (33) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +13 -2
  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/FileUrlService.d.ts.map +1 -1
  6. package/dist/common/FileUrlService.js +2 -1
  7. package/dist/common/FileUrlService.js.map +1 -1
  8. package/dist/public/channel/ChannelApp.pack.js +15 -7
  9. package/dist/public/channel/ChannelApp.pack.js.map +1 -1
  10. package/dist/public/channel/ChannelApp.pack.min.js +1 -1
  11. package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
  12. package/dist/public/channel/pages/PublicChannelPage.js +1 -1
  13. package/dist/public/channel/pages/PublicChannelPage.js.map +1 -1
  14. package/dist/public/channel/pages/posts/ChannelPage.js +2 -5
  15. package/dist/public/channel/pages/posts/ChannelPage.js.map +1 -1
  16. package/dist/services/email/EmailContentDownloader.d.ts +2 -1
  17. package/dist/services/email/EmailContentDownloader.d.ts.map +1 -1
  18. package/dist/services/email/EmailContentDownloader.js +11 -1
  19. package/dist/services/email/EmailContentDownloader.js.map +1 -1
  20. package/dist/site-editor-app/SiteEditorApp.pack.js +13 -2
  21. package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
  22. package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
  23. package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
  24. package/dist/tsconfig.tsbuildinfo +1 -1
  25. package/dist/web/AppIndex.pack.js +13 -2
  26. package/dist/web/AppIndex.pack.js.map +1 -1
  27. package/dist/web/AppIndex.pack.min.js +1 -1
  28. package/dist/web/AppIndex.pack.min.js.map +1 -1
  29. package/package.json +1 -1
  30. package/src/common/FileUrlService.ts +4 -1
  31. package/src/public/channel/pages/PublicChannelPage.tsx +1 -1
  32. package/src/public/channel/pages/posts/ChannelPage.tsx +2 -2
  33. package/src/services/email/EmailContentDownloader.ts +8 -1
@@ -29498,7 +29498,8 @@ System.register([], function (_export, _context) {
29498
29498
  return url.replace("/view/", "/html/") + ".html";
29499
29499
  },
29500
29500
  webP(file, size = 300) {
29501
- const url = file.url.replace("/view/", `/webp(${300})/`);
29501
+ const webp = `/webp(${300})/`;
29502
+ const url = file.url.replace("/view/", webp).replace("/webm-branded/", webp);
29502
29503
  return url + `.${size}.webp`;
29503
29504
  },
29504
29505
  webM(file) {
@@ -37515,7 +37516,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "@web-at
37515
37516
  System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/entity/dist/models/TaskManager", "../../model/model", "@web-atoms/core/dist/di/Inject", "../EntityService", "../../common/cache/CacheTTL", "../../common/cache/CacheVersions"], function (_export, _context) {
37516
37517
  "use strict";
37517
37518
 
37518
- var __awaiter, __decorate, __metadata, DISingleton, TaskManager, Email, Inject, EntityService, CacheTTL, CacheVersions, cacheSeconds, EmailContentDownloader;
37519
+ var __awaiter, __decorate, __metadata, DISingleton, TaskManager, ChannelEmail, Email, Inject, EntityService, CacheTTL, CacheVersions, cacheSeconds, EmailContentDownloader;
37519
37520
  return {
37520
37521
  setters: [function (_tslib) {
37521
37522
  __awaiter = _tslib.__awaiter;
@@ -37526,6 +37527,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
37526
37527
  }, function (_webAtomsEntityDistModelsTaskManager) {
37527
37528
  TaskManager = _webAtomsEntityDistModelsTaskManager.default;
37528
37529
  }, function (_modelModel) {
37530
+ ChannelEmail = _modelModel.ChannelEmail;
37529
37531
  Email = _modelModel.Email;
37530
37532
  }, function (_webAtomsCoreDistDiInject) {
37531
37533
  Inject = _webAtomsCoreDistDiInject.Inject;
@@ -37539,6 +37541,15 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
37539
37541
  execute: function () {
37540
37542
  cacheSeconds = CacheTTL.seconds.oneMonth;
37541
37543
  EmailContentDownloader = class EmailContentDownloader extends TaskManager {
37544
+ downloadPostContent(email) {
37545
+ return __awaiter(this, void 0, void 0, function* () {
37546
+ var _a;
37547
+ (_a = email.email).htmlBody || (_a.htmlBody = yield this.entityService.run(ChannelEmail, "getBody", email, {
37548
+ cacheVersion: CacheVersions.email,
37549
+ cacheSeconds
37550
+ }).asText());
37551
+ });
37552
+ }
37542
37553
  downloadPost(email) {
37543
37554
  return __awaiter(this, void 0, void 0, function* () {
37544
37555
  email.htmlBody || (email.htmlBody = yield this.entityService.run(Email, "getBody", email, {