@social-mail/social-mail-client 1.9.119 → 1.9.120

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.
@@ -39478,7 +39478,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
39478
39478
  });
39479
39479
  }
39480
39480
  prepareEmail() {
39481
- var _a, _b;
39481
+ var _a, _b, _c;
39482
39482
  this.title = "Forward";
39483
39483
  let subject = "";
39484
39484
  let htmlBody;
@@ -39546,11 +39546,11 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
39546
39546
  }, "Subject:"), XNode.create("label", null, email.subject)), XNode.create("div", {
39547
39547
  "data-type": "html-body"
39548
39548
  }, XNode.create("div", {
39549
- innerHTML: email.htmlBody
39549
+ innerHTML: (_b = email.sanitizedHtml) !== null && _b !== void 0 ? _b : email.htmlBody
39550
39550
  }))))), XNode.create("footer", {
39551
39551
  "data-social-mail-commands": "emoji-bar"
39552
39552
  })));
39553
- attachments = (_b = email.attachments) === null || _b === void 0 ? void 0 : _b.map(x => AppFile.create(Object.assign(Object.assign({}, x), {
39553
+ attachments = (_c = email.attachments) === null || _c === void 0 ? void 0 : _c.map(x => AppFile.create(Object.assign(Object.assign({}, x), {
39554
39554
  appFileID: void 0
39555
39555
  })));
39556
39556
  }
@@ -40601,7 +40601,14 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
40601
40601
  }), XNode.create(DeleteIconTextButton, {
40602
40602
  "data-click-event": "delete-draft",
40603
40603
  text: "Delete Draft"
40604
- })), !sent && XNode.create("div", {
40604
+ })), sent ? XNode.create("div", {
40605
+ "data-layout": "row",
40606
+ "data-margin-top": "default"
40607
+ }, XNode.create("i", {
40608
+ "data-click-event": "forward-email",
40609
+ class: "fa-solid fa-share-all",
40610
+ title: "Forward"
40611
+ })) : XNode.create("div", {
40605
40612
  "data-layout": "row",
40606
40613
  "data-margin-top": "default"
40607
40614
  }, XNode.create("i", {