@social-mail/social-mail-client 1.2.537 → 1.2.539

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.
@@ -28623,7 +28623,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28623
28623
  }],
28624
28624
  execute: function () {
28625
28625
  _export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
28626
- var _a, _b;
28626
+ var _a, _b, _c;
28627
28627
  if (!value) {
28628
28628
  e.innerHTML = "";
28629
28629
  return;
@@ -28645,7 +28645,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28645
28645
  for (const iterator of descendentElementIterator(msg)) {
28646
28646
  let cid = iterator.getAttribute("data-content-id");
28647
28647
  if (cid) {
28648
- const a = mail.attachments.find(x => x.contentID === cid);
28648
+ const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
28649
28649
  if (a) {
28650
28650
  iterator.setAttribute("src", a.url);
28651
28651
  continue;
@@ -28656,7 +28656,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28656
28656
  if (src) {
28657
28657
  if (src.startsWith("cid:")) {
28658
28658
  cid = src.substring(4);
28659
- const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
28659
+ const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
28660
28660
  if (a) {
28661
28661
  iterator.setAttribute("src", fileUrl(a));
28662
28662
  }
@@ -28675,7 +28675,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
28675
28675
  mode: "open"
28676
28676
  });
28677
28677
  shadow.appendChild(msg);
28678
- if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_b = thread.email) === null || _b === void 0 ? void 0 : _b.senderID)) {
28678
+ if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_c = thread.email) === null || _c === void 0 ? void 0 : _c.senderID)) {
28679
28679
  const timeRead = DateTime.now;
28680
28680
  thread.timeRead = timeRead;
28681
28681
  const control = AtomControl.from(e);
@@ -44162,7 +44162,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
44162
44162
  yield this.conversationService.closeAllThreads(this.parameters);
44163
44163
  });
44164
44164
  }
44165
- closePermament() {
44165
+ closePermanent() {
44166
44166
  return __awaiter(this, void 0, void 0, function* () {
44167
44167
  yield this.conversationService.closePermanently(this.parameters);
44168
44168
  });
@@ -44414,7 +44414,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
44414
44414
  __decorate([Action({
44415
44415
  onEvent: "close-permanently",
44416
44416
  confirm: "Are you sure, you wan to close this contact permanently?"
44417
- }), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], ConversationPage.prototype, "closePermament", null);
44417
+ }), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], ConversationPage.prototype, "closePermanent", null);
44418
44418
  __decorate([Action({
44419
44419
  onEvent: "open-threads",
44420
44420
  confirm: "Are you sure you want to change this contact to normal?"
@@ -52295,7 +52295,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
52295
52295
  });
52296
52296
  }
52297
52297
  });
52298
- WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.112`;
52298
+ WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.114`;
52299
52299
  }
52300
52300
  };
52301
52301
  });