@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.
@@ -24228,7 +24228,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
24228
24228
  }],
24229
24229
  execute: function () {
24230
24230
  _export("renderMail", renderMail = AtomControl.registerProperty("data-html", "html", (c, e, value) => {
24231
- var _a, _b;
24231
+ var _a, _b, _c;
24232
24232
  if (!value) {
24233
24233
  e.innerHTML = "";
24234
24234
  return;
@@ -24250,7 +24250,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
24250
24250
  for (const iterator of descendentElementIterator(msg)) {
24251
24251
  let cid = iterator.getAttribute("data-content-id");
24252
24252
  if (cid) {
24253
- const a = mail.attachments.find(x => x.contentID === cid);
24253
+ const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
24254
24254
  if (a) {
24255
24255
  iterator.setAttribute("src", a.url);
24256
24256
  continue;
@@ -24261,7 +24261,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
24261
24261
  if (src) {
24262
24262
  if (src.startsWith("cid:")) {
24263
24263
  cid = src.substring(4);
24264
- const a = (_a = mail.attachments) === null || _a === void 0 ? void 0 : _a.find(x => x.contentID === cid);
24264
+ const a = (_b = mail.attachments) === null || _b === void 0 ? void 0 : _b.find(x => x.contentID === cid);
24265
24265
  if (a) {
24266
24266
  iterator.setAttribute("src", fileUrl(a));
24267
24267
  }
@@ -24280,7 +24280,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
24280
24280
  mode: "open"
24281
24281
  });
24282
24282
  shadow.appendChild(msg);
24283
- if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_b = thread.email) === null || _b === void 0 ? void 0 : _b.senderID)) {
24283
+ if (!thread.timeRead && thread.mailboxID && thread.mailboxID !== ((_c = thread.email) === null || _c === void 0 ? void 0 : _c.senderID)) {
24284
24284
  const timeRead = DateTime.now;
24285
24285
  thread.timeRead = timeRead;
24286
24286
  const control = AtomControl.from(e);
@@ -35477,7 +35477,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
35477
35477
  yield this.conversationService.closeAllThreads(this.parameters);
35478
35478
  });
35479
35479
  }
35480
- closePermament() {
35480
+ closePermanent() {
35481
35481
  return __awaiter(this, void 0, void 0, function* () {
35482
35482
  yield this.conversationService.closePermanently(this.parameters);
35483
35483
  });
@@ -35729,7 +35729,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
35729
35729
  __decorate([Action({
35730
35730
  onEvent: "close-permanently",
35731
35731
  confirm: "Are you sure, you wan to close this contact permanently?"
35732
- }), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], ConversationPage.prototype, "closePermament", null);
35732
+ }), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], ConversationPage.prototype, "closePermanent", null);
35733
35733
  __decorate([Action({
35734
35734
  onEvent: "open-threads",
35735
35735
  confirm: "Are you sure you want to change this contact to normal?"
@@ -47564,7 +47564,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/sleep", "@web-atoms/core/di
47564
47564
  });
47565
47565
  }
47566
47566
  });
47567
- WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.112`;
47567
+ WebComponents.path = `//cdn.jsdelivr.net/npm/@social-mail/web-components@1.0.114`;
47568
47568
  }
47569
47569
  };
47570
47570
  });