@social-mail/social-mail-client 1.2.103 → 1.2.105

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 (50) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +2 -6
  2. package/dist/admin/AdminAppIndex.pack.js.map +1 -1
  3. package/dist/admin/AdminAppIndex.pack.min.js +3 -3
  4. package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
  5. package/dist/model/model.d.ts +0 -1
  6. package/dist/model/model.d.ts.map +1 -1
  7. package/dist/model/model.js.map +1 -1
  8. package/dist/public/channel/BlogService.d.ts.map +1 -1
  9. package/dist/public/channel/BlogService.js +6 -4
  10. package/dist/public/channel/BlogService.js.map +1 -1
  11. package/dist/public/channel/ChannelMessage.d.ts +2 -2
  12. package/dist/public/channel/ChannelMessage.d.ts.map +1 -1
  13. package/dist/public/channel/ChannelMessage.js +18 -50
  14. package/dist/public/channel/ChannelMessage.js.map +1 -1
  15. package/dist/public/channel/ChannelView.pack.js +3911 -3844
  16. package/dist/public/channel/ChannelView.pack.js.map +1 -1
  17. package/dist/public/channel/ChannelView.pack.min.js +108 -87
  18. package/dist/public/channel/ChannelView.pack.min.js.map +1 -1
  19. package/dist/public/channel/PostView.d.ts +6 -0
  20. package/dist/public/channel/PostView.d.ts.map +1 -0
  21. package/dist/public/channel/PostView.js +77 -0
  22. package/dist/public/channel/PostView.js.map +1 -0
  23. package/dist/public/channel/styles/channelViewStyle.d.ts.map +1 -1
  24. package/dist/public/channel/styles/channelViewStyle.js +106 -85
  25. package/dist/public/channel/styles/channelViewStyle.js.map +1 -1
  26. package/dist/tsconfig.tsbuildinfo +1 -1
  27. package/dist/web/AppIndex.pack.js +2 -6
  28. package/dist/web/AppIndex.pack.js.map +1 -1
  29. package/dist/web/AppIndex.pack.min.js +3 -3
  30. package/dist/web/AppIndex.pack.min.js.map +1 -1
  31. package/dist/web/page/channels/services/ChannelService.js +1 -1
  32. package/dist/web/page/channels/services/ChannelService.js.map +1 -1
  33. package/dist/web/page/mails/mini-compose/MiniComposeBox.js +1 -1
  34. package/dist/web/page/mails/mini-compose/MiniComposeBox.js.map +1 -1
  35. package/dist/web/page/mails/service/ConversationService.d.ts.map +1 -1
  36. package/dist/web/page/mails/service/ConversationService.js +0 -3
  37. package/dist/web/page/mails/service/ConversationService.js.map +1 -1
  38. package/dist/web/page/mails/service/EngagementService.d.ts.map +1 -1
  39. package/dist/web/page/mails/service/EngagementService.js +0 -1
  40. package/dist/web/page/mails/service/EngagementService.js.map +1 -1
  41. package/package.json +1 -1
  42. package/src/model/model.ts +0 -1
  43. package/src/public/channel/BlogService.ts +12 -4
  44. package/src/public/channel/ChannelMessage.tsx +14 -46
  45. package/src/public/channel/PostView.tsx +67 -0
  46. package/src/public/channel/styles/channelViewStyle.ts +106 -85
  47. package/src/web/page/channels/services/ChannelService.ts +1 -1
  48. package/src/web/page/mails/mini-compose/MiniComposeBox.tsx +1 -1
  49. package/src/web/page/mails/service/ConversationService.tsx +0 -4
  50. package/src/web/page/mails/service/EngagementService.tsx +0 -3
@@ -22246,7 +22246,6 @@ System.register(["tslib", "@web-atoms/core/dist/di/Inject", "../../../../service
22246
22246
  cacheVersion,
22247
22247
  cacheSeconds
22248
22248
  });
22249
- yield Promise.all(list.items.map(x => this.emailContentDownloader.download(x)));
22250
22249
  return list;
22251
22250
  });
22252
22251
  }
@@ -22393,9 +22392,6 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
22393
22392
  var _a, _b, _c;
22394
22393
  return __awaiter(this, void 0, void 0, function* () {
22395
22394
  if (email === null || email === void 0 ? void 0 : email.emailID) {
22396
- if (!email.textBody) {
22397
- email.textBody = email.mdBody;
22398
- }
22399
22395
  email.subject || (email.subject = "");
22400
22396
  const cloner = this.entityService.cloner(email).include(x => x.attachments).include(x => x.recipients);
22401
22397
  yield this.entityService.save(cloner.copy);
@@ -33712,7 +33708,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "@web-atoms/core/di
33712
33708
  return __awaiter(this, void 0, void 0, function* () {
33713
33709
  const uploadedFile = yield AudioRecorder.show();
33714
33710
  this.ensureDraft();
33715
- this.draft.mdBody = this.typedMessage;
33711
+ this.draft.textBody = this.typedMessage;
33716
33712
  yield this.addFiles(uploadedFile);
33717
33713
  yield this.save();
33718
33714
  });
@@ -37512,7 +37508,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
37512
37508
  });
37513
37509
  const tasks = [];
37514
37510
  for (const iterator of result.items) {
37515
- tasks.push(this.emailContentDownloader.download(iterator));
37511
+ tasks.push(this.emailContentDownloader.downloadFromUrl(`/api/emails/channel/content/html/${channelID}/${iterator.emailID}/${iterator.headerMessageID}`, iterator));
37516
37512
  tasks.push(this.engagementService.downloadEngagements(iterator));
37517
37513
  }
37518
37514
  yield Promise.all(tasks);