@social-mail/social-mail-client 1.1.21 → 1.1.23

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.
@@ -13390,7 +13390,7 @@ System.register(["@web-atoms/date-time/dist/DateTime", "@web-atoms/entity/dist/s
13390
13390
  originalFileSize: 0
13391
13391
  }));
13392
13392
  _export("EmailEngagement", EmailEngagement = new Model("EmailEngagement", ["emailID"], {
13393
- activity: "",
13393
+ engagement: "",
13394
13394
  count: 0
13395
13395
  }));
13396
13396
  _export("AppLog", AppLog = new Model("AppLog", ["logID"], {
@@ -21416,17 +21416,17 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
21416
21416
  downloadEmailContent = (es, email) => __awaiter(void 0, void 0, void 0, function* () {
21417
21417
  var _a, _b;
21418
21418
  if (email.replyCount) {
21419
- const egagements = yield es.query(Email).where({
21419
+ const children = yield es.query(Email).where({
21420
21420
  emailID: email.emailID
21421
- }, p => x => x.parentID === p.emailID && x.engagement !== null).orderByDescending(x => x.dateReceived).toPagedList({
21421
+ }, p => x => x.emailID === p.emailID && x.engagement !== null).orderByDescending(x => x.emailID).toPagedList({
21422
21422
  start: 0,
21423
21423
  size: 4,
21424
21424
  cacheVersion: "a",
21425
21425
  cacheSeconds: 900
21426
21426
  });
21427
- email.engagements = (_a = egagements === null || egagements === void 0 ? void 0 : egagements.items) !== null && _a !== void 0 ? _a : [];
21427
+ email.children = (_a = children === null || children === void 0 ? void 0 : children.items) !== null && _a !== void 0 ? _a : [];
21428
21428
  } else {
21429
- (_b = email.engagements) !== null && _b !== void 0 ? _b : email.engagements = [];
21429
+ (_b = email.children) !== null && _b !== void 0 ? _b : email.children = [];
21430
21430
  }
21431
21431
  if (!email.originalFileID) {
21432
21432
  return;
@@ -25806,7 +25806,7 @@ System.register(["@web-atoms/core/dist/core/XNode", "../../../../services/Emoji"
25806
25806
  "data-track": emoji
25807
25807
  }, XNode.create("img", {
25808
25808
  style: "margin-left:5px; max-height: 16px; height: 16px;",
25809
- src: `/social-mail/social/img/counts/${emojiCode}/`
25809
+ src: `/social-mail/social/img/counts/${emojiCode}/[{activityId}]`
25810
25810
  }));
25811
25811
  };
25812
25812
  AvatarButton = ({