@social-mail/social-mail-client 1.4.96 → 1.4.98

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 (30) hide show
  1. package/dist/admin/AdminAppIndex.pack.js +8 -6
  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/controls/file-preview/FilePreview.d.ts.map +1 -1
  6. package/dist/common/controls/file-preview/FilePreview.js +2 -1
  7. package/dist/common/controls/file-preview/FilePreview.js.map +1 -1
  8. package/dist/public/channel/ChannelApp.pack.js +1 -0
  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/site-editor-app/SiteEditorApp.pack.js +8 -6
  13. package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
  14. package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
  15. package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
  16. package/dist/tsconfig.tsbuildinfo +1 -1
  17. package/dist/web/AppIndex.pack.js +8 -6
  18. package/dist/web/AppIndex.pack.js.map +1 -1
  19. package/dist/web/AppIndex.pack.min.js +1 -1
  20. package/dist/web/AppIndex.pack.min.js.map +1 -1
  21. package/dist/web/page/channels/services/ChannelService.d.ts.map +1 -1
  22. package/dist/web/page/channels/services/ChannelService.js +5 -5
  23. package/dist/web/page/channels/services/ChannelService.js.map +1 -1
  24. package/dist/web/page/mails/service/ConversationService.d.ts.map +1 -1
  25. package/dist/web/page/mails/service/ConversationService.js +1 -0
  26. package/dist/web/page/mails/service/ConversationService.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/common/controls/file-preview/FilePreview.tsx +4 -2
  29. package/src/web/page/channels/services/ChannelService.ts +5 -4
  30. package/src/web/page/mails/service/ConversationService.tsx +1 -0
@@ -27653,6 +27653,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
27653
27653
  display: flex;
27654
27654
  flex-direction: column;
27655
27655
  word-break: break-word;
27656
+ align-items: flex-start;
27656
27657
  }
27657
27658
  `;
27658
27659
  container.appendChild(style);
@@ -32482,8 +32483,9 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../NumberFormats", "../.
32482
32483
  href: FileUrlService.downloadUrl(a),
32483
32484
  title: size ? `${name} (${size})` : name,
32484
32485
  target: "_blank",
32485
- "data-file-preview": "attachment"
32486
+ "data-file-preview": "file-preview"
32486
32487
  }, XNode.create("i", {
32488
+ "data-element": "preview",
32487
32489
  class: "fas fa-paperclip"
32488
32490
  }), XNode.create("label", {
32489
32491
  "data-element": "file-name"
@@ -40146,7 +40148,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
40146
40148
  System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/core/dist/di/Inject", "../../../../services/EntityService", "../../../../model/model", "../../../../common/Sql", "../../../../services/email/EmailContentDownloader", "../../mails/service/EngagementService"], function (_export, _context) {
40147
40149
  "use strict";
40148
40150
 
40149
- var __awaiter, __decorate, __metadata, DITransient, Inject, EntityService, ChannelEmail, Email, Mailbox, MailboxContact, Sql, EmailContentDownloader, EngagementService, ChannelService;
40151
+ var __awaiter, __decorate, __metadata, DITransient, Inject, EntityService, Email, Mailbox, MailboxContact, MailboxContactEmail, Sql, EmailContentDownloader, EngagementService, ChannelService;
40150
40152
  return {
40151
40153
  setters: [function (_tslib) {
40152
40154
  __awaiter = _tslib.__awaiter;
@@ -40159,10 +40161,10 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
40159
40161
  }, function (_servicesEntityService) {
40160
40162
  EntityService = _servicesEntityService.default;
40161
40163
  }, function (_modelModel) {
40162
- ChannelEmail = _modelModel.ChannelEmail;
40163
40164
  Email = _modelModel.Email;
40164
40165
  Mailbox = _modelModel.Mailbox;
40165
40166
  MailboxContact = _modelModel.MailboxContact;
40167
+ MailboxContactEmail = _modelModel.MailboxContactEmail;
40166
40168
  }, function (_commonSql) {
40167
40169
  Sql = _commonSql.Sql;
40168
40170
  }, function (_servicesEmailEmailContentDownloader) {
@@ -40182,16 +40184,16 @@ System.register(["tslib", "@web-atoms/core/dist/di/DITransient", "@web-atoms/cor
40182
40184
  cancelToken
40183
40185
  }) {
40184
40186
  return __awaiter(this, void 0, void 0, function* () {
40185
- let q = this.entityService.query(ChannelEmail);
40187
+ let q = this.entityService.query(MailboxContactEmail);
40186
40188
  if (channelID) {
40187
40189
  q = q.where({
40188
40190
  channelID
40189
40191
  }, p => x => x.mailboxID === p.channelID);
40190
40192
  }
40191
40193
  if (published) {
40192
- q = q.where(x => x.datePublished !== null);
40194
+ q = q.where(void 0, p => x => x.email.status === "published");
40193
40195
  } else {
40194
- q = q.where(x => x.datePublished === null);
40196
+ q = q.where(void 0, p => x => x.email.status !== "published");
40195
40197
  }
40196
40198
  if (search) {
40197
40199
  if (!/\%/.test(search)) {