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

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 (29) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +11 -1
  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.js +13 -6
  6. package/dist/public/channel/ChannelApp.pack.js.map +1 -1
  7. package/dist/public/channel/ChannelApp.pack.min.js +1 -1
  8. package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
  9. package/dist/public/channel/pages/PublicChannelPage.js +1 -1
  10. package/dist/public/channel/pages/PublicChannelPage.js.map +1 -1
  11. package/dist/public/channel/pages/posts/ChannelPage.js +2 -5
  12. package/dist/public/channel/pages/posts/ChannelPage.js.map +1 -1
  13. package/dist/services/email/EmailContentDownloader.d.ts +2 -1
  14. package/dist/services/email/EmailContentDownloader.d.ts.map +1 -1
  15. package/dist/services/email/EmailContentDownloader.js +11 -1
  16. package/dist/services/email/EmailContentDownloader.js.map +1 -1
  17. package/dist/site-editor-app/SiteEditorApp.pack.js +11 -1
  18. package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
  19. package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
  20. package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
  21. package/dist/tsconfig.tsbuildinfo +1 -1
  22. package/dist/web/AppIndex.pack.js +11 -1
  23. package/dist/web/AppIndex.pack.js.map +1 -1
  24. package/dist/web/AppIndex.pack.min.js +1 -1
  25. package/dist/web/AppIndex.pack.min.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/public/channel/pages/PublicChannelPage.tsx +1 -1
  28. package/src/public/channel/pages/posts/ChannelPage.tsx +2 -2
  29. package/src/services/email/EmailContentDownloader.ts +8 -1
@@ -33873,7 +33873,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "@web-at
33873
33873
  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) {
33874
33874
  "use strict";
33875
33875
 
33876
- var __awaiter, __decorate, __metadata, DISingleton, TaskManager, Email, Inject, EntityService, CacheTTL, CacheVersions, cacheSeconds, EmailContentDownloader;
33876
+ var __awaiter, __decorate, __metadata, DISingleton, TaskManager, ChannelEmail, Email, Inject, EntityService, CacheTTL, CacheVersions, cacheSeconds, EmailContentDownloader;
33877
33877
  return {
33878
33878
  setters: [function (_tslib) {
33879
33879
  __awaiter = _tslib.__awaiter;
@@ -33884,6 +33884,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
33884
33884
  }, function (_webAtomsEntityDistModelsTaskManager) {
33885
33885
  TaskManager = _webAtomsEntityDistModelsTaskManager.default;
33886
33886
  }, function (_modelModel) {
33887
+ ChannelEmail = _modelModel.ChannelEmail;
33887
33888
  Email = _modelModel.Email;
33888
33889
  }, function (_webAtomsCoreDistDiInject) {
33889
33890
  Inject = _webAtomsCoreDistDiInject.Inject;
@@ -33897,6 +33898,15 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
33897
33898
  execute: function () {
33898
33899
  cacheSeconds = CacheTTL.seconds.oneMonth;
33899
33900
  EmailContentDownloader = class EmailContentDownloader extends TaskManager {
33901
+ downloadPostContent(email) {
33902
+ return __awaiter(this, void 0, void 0, function* () {
33903
+ var _a;
33904
+ (_a = email.email).htmlBody || (_a.htmlBody = yield this.entityService.run(ChannelEmail, "getBody", email, {
33905
+ cacheVersion: CacheVersions.email,
33906
+ cacheSeconds
33907
+ }).asText());
33908
+ });
33909
+ }
33900
33910
  downloadPost(email) {
33901
33911
  return __awaiter(this, void 0, void 0, function* () {
33902
33912
  email.htmlBody || (email.htmlBody = yield this.entityService.run(Email, "getBody", email, {