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

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 (57) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +13 -9
  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/cache/CacheVersions.d.ts +6 -2
  6. package/dist/common/cache/CacheVersions.d.ts.map +1 -1
  7. package/dist/common/cache/CacheVersions.js +7 -3
  8. package/dist/common/cache/CacheVersions.js.map +1 -1
  9. package/dist/public/channel/BlogService.js +4 -5
  10. package/dist/public/channel/BlogService.js.map +1 -1
  11. package/dist/public/channel/ChannelApp.local.css +1 -1
  12. package/dist/public/channel/ChannelApp.local.css.map +1 -1
  13. package/dist/public/channel/ChannelApp.pack.global.css +1 -1
  14. package/dist/public/channel/ChannelApp.pack.global.css.map +1 -1
  15. package/dist/public/channel/ChannelApp.pack.js +75 -24
  16. package/dist/public/channel/ChannelApp.pack.js.map +1 -1
  17. package/dist/public/channel/ChannelApp.pack.local.css +1 -1
  18. package/dist/public/channel/ChannelApp.pack.local.css.map +1 -1
  19. package/dist/public/channel/ChannelApp.pack.min.js +1 -1
  20. package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
  21. package/dist/public/channel/controls/channel-post/ChannelPost.global.css +1 -1
  22. package/dist/public/channel/controls/channel-post/ChannelPost.global.css.map +1 -1
  23. package/dist/public/channel/controls/post-view/PostView.global.css +1 -1
  24. package/dist/public/channel/controls/post-view/PostView.global.css.map +1 -1
  25. package/dist/public/channel/pages/comments/PostComments.d.ts +9 -0
  26. package/dist/public/channel/pages/comments/PostComments.d.ts.map +1 -1
  27. package/dist/public/channel/pages/comments/PostComments.global.css +1 -1
  28. package/dist/public/channel/pages/comments/PostComments.global.css.map +1 -1
  29. package/dist/public/channel/pages/comments/PostComments.js +51 -6
  30. package/dist/public/channel/pages/comments/PostComments.js.map +1 -1
  31. package/dist/public/channel/pages/posts/ChannelPage.d.ts.map +1 -1
  32. package/dist/public/channel/pages/posts/ChannelPage.js +7 -4
  33. package/dist/public/channel/pages/posts/ChannelPage.js.map +1 -1
  34. package/dist/services/email/EmailContentDownloader.js +3 -3
  35. package/dist/services/email/EmailContentDownloader.js.map +1 -1
  36. package/dist/site-editor-app/SiteEditorApp.pack.js +13 -9
  37. package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
  38. package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
  39. package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
  40. package/dist/tsconfig.tsbuildinfo +1 -1
  41. package/dist/web/AppIndex.pack.js +13 -9
  42. package/dist/web/AppIndex.pack.js.map +1 -1
  43. package/dist/web/AppIndex.pack.min.js +1 -1
  44. package/dist/web/AppIndex.pack.min.js.map +1 -1
  45. package/dist/web/page/mails/service/ConversationService.js +3 -3
  46. package/dist/web/page/mails/service/ConversationService.js.map +1 -1
  47. package/package.json +1 -1
  48. package/src/common/cache/CacheVersions.ts +7 -2
  49. package/src/public/channel/BlogService.ts +3 -3
  50. package/src/public/channel/ChannelApp.local.css +0 -26
  51. package/src/public/channel/controls/channel-post/ChannelPost.global.css +17 -2
  52. package/src/public/channel/controls/post-view/PostView.global.css +1 -1
  53. package/src/public/channel/pages/comments/PostComments.global.css +24 -0
  54. package/src/public/channel/pages/comments/PostComments.tsx +71 -6
  55. package/src/public/channel/pages/posts/ChannelPage.tsx +3 -1
  56. package/src/services/email/EmailContentDownloader.ts +2 -2
  57. package/src/web/page/mails/service/ConversationService.tsx +2 -2
@@ -27974,12 +27974,16 @@ System.register(["@web-atoms/core/dist/core/XNode", "@social-mail/social-mail-cl
27974
27974
  System.register([], function (_export, _context) {
27975
27975
  "use strict";
27976
27976
 
27977
- var emailContentVersion, channelNameContentVersion;
27977
+ var CacheVersions;
27978
27978
  return {
27979
27979
  setters: [],
27980
27980
  execute: function () {
27981
- _export("emailContentVersion", emailContentVersion = "ec1");
27982
- _export("channelNameContentVersion", channelNameContentVersion = "cl1");
27981
+ CacheVersions = {
27982
+ email: "ec1",
27983
+ channelName: "cl1",
27984
+ comment: "c1"
27985
+ };
27986
+ _export("default", CacheVersions);
27983
27987
  }
27984
27988
  };
27985
27989
  });
@@ -27990,7 +27994,7 @@ System.register([], function (_export, _context) {
27990
27994
  System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/core/dist/di/Inject", "../../../../services/EntityService", "../../../../model/model", "../../../../common/Sql", "@web-atoms/email-dom/dist/DomToString", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/dist/web/controls/AtomControl", "@web-atoms/core/dist/web/core/AtomUI", "@web-atoms/date-time/dist/DateTime", "../../../../common/events/CommonEvents", "../../../commands/MailAppEvents", "../../../../common/fileUrl", "../../../../common/cache/CacheTTL", "../../../../common/controls/Loader", "./MsgStyle.global.css", "@web-atoms/core/dist/services/FetchBuilder", "../../../../common/cache/CacheVersions"], function (_export, _context) {
27991
27995
  "use strict";
27992
27996
 
27993
- var __awaiter, __decorate, __metadata, DISingleton, Inject, EntityService, Email, EmailRecipient, MailboxContactEmail, Sql, DomToString, XNode, AtomControl, AncestorEnumerator, descendentIterator, DateTime, CommonEvents, MailAppEvents, fileUrl, CacheTTL, Loader, FetchBuilder, emailContentVersion, msgStyleUrl, msgStyle, renderMailPromise, ConversationService;
27997
+ var __awaiter, __decorate, __metadata, DISingleton, Inject, EntityService, Email, EmailRecipient, MailboxContactEmail, Sql, DomToString, XNode, AtomControl, AncestorEnumerator, descendentIterator, DateTime, CommonEvents, MailAppEvents, fileUrl, CacheTTL, Loader, FetchBuilder, CacheVersions, msgStyleUrl, msgStyle, renderMailPromise, ConversationService;
27994
27998
  return {
27995
27999
  setters: [function (_tslib) {
27996
28000
  __awaiter = _tslib.__awaiter;
@@ -28032,7 +28036,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28032
28036
  }, function (_MsgStyleGlobalCss) {}, function (_webAtomsCoreDistServicesFetchBuilder) {
28033
28037
  FetchBuilder = _webAtomsCoreDistServicesFetchBuilder.default;
28034
28038
  }, function (_commonCacheCacheVersions) {
28035
- emailContentVersion = _commonCacheCacheVersions.emailContentVersion;
28039
+ CacheVersions = _commonCacheCacheVersions.default;
28036
28040
  }],
28037
28041
  execute: function () {
28038
28042
  msgStyleUrl = _context.import("./MsgStyle.global.css");
@@ -28061,7 +28065,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28061
28065
  const es = c.app.resolve(EntityService);
28062
28066
  mail.htmlBody = html = yield es.run(Email, "getBody", email, {
28063
28067
  cacheSeconds: CacheTTL.seconds.oneMonth,
28064
- cacheVersion: emailContentVersion
28068
+ cacheVersion: CacheVersions.email
28065
28069
  }).asText();
28066
28070
  e.innerHTML = "";
28067
28071
  }
@@ -37017,7 +37021,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "@web-at
37017
37021
  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) {
37018
37022
  "use strict";
37019
37023
 
37020
- var __awaiter, __decorate, __metadata, DISingleton, TaskManager, Email, Inject, EntityService, CacheTTL, emailContentVersion, cacheSeconds, EmailContentDownloader;
37024
+ var __awaiter, __decorate, __metadata, DISingleton, TaskManager, Email, Inject, EntityService, CacheTTL, CacheVersions, cacheSeconds, EmailContentDownloader;
37021
37025
  return {
37022
37026
  setters: [function (_tslib) {
37023
37027
  __awaiter = _tslib.__awaiter;
@@ -37036,7 +37040,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
37036
37040
  }, function (_commonCacheCacheTTL) {
37037
37041
  CacheTTL = _commonCacheCacheTTL.CacheTTL;
37038
37042
  }, function (_commonCacheCacheVersions) {
37039
- emailContentVersion = _commonCacheCacheVersions.emailContentVersion;
37043
+ CacheVersions = _commonCacheCacheVersions.default;
37040
37044
  }],
37041
37045
  execute: function () {
37042
37046
  cacheSeconds = CacheTTL.seconds.oneMonth;
@@ -37044,7 +37048,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/ent
37044
37048
  downloadPost(email) {
37045
37049
  return __awaiter(this, void 0, void 0, function* () {
37046
37050
  email.htmlBody || (email.htmlBody = yield this.entityService.run(Email, "getBody", email, {
37047
- cacheVersion: emailContentVersion,
37051
+ cacheVersion: CacheVersions.email,
37048
37052
  cacheSeconds
37049
37053
  }).asText());
37050
37054
  });