@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.
@@ -34829,7 +34829,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
34829
34829
  });
34830
34830
  }
34831
34831
  prepareEmail() {
34832
- var _a, _b;
34832
+ var _a, _b, _c;
34833
34833
  this.title = "Forward";
34834
34834
  let subject = "";
34835
34835
  let htmlBody;
@@ -34897,11 +34897,11 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
34897
34897
  }, "Subject:"), XNode.create("label", null, email.subject)), XNode.create("div", {
34898
34898
  "data-type": "html-body"
34899
34899
  }, XNode.create("div", {
34900
- innerHTML: email.htmlBody
34900
+ innerHTML: (_b = email.sanitizedHtml) !== null && _b !== void 0 ? _b : email.htmlBody
34901
34901
  }))))), XNode.create("footer", {
34902
34902
  "data-social-mail-commands": "emoji-bar"
34903
34903
  })));
34904
- attachments = (_b = email.attachments) === null || _b === void 0 ? void 0 : _b.map(x => AppFile.create(Object.assign(Object.assign({}, x), {
34904
+ attachments = (_c = email.attachments) === null || _c === void 0 ? void 0 : _c.map(x => AppFile.create(Object.assign(Object.assign({}, x), {
34905
34905
  appFileID: void 0
34906
34906
  })));
34907
34907
  }
@@ -36062,7 +36062,14 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
36062
36062
  }), XNode.create(DeleteIconTextButton, {
36063
36063
  "data-click-event": "delete-draft",
36064
36064
  text: "Delete Draft"
36065
- })), !sent && XNode.create("div", {
36065
+ })), sent ? XNode.create("div", {
36066
+ "data-layout": "row",
36067
+ "data-margin-top": "default"
36068
+ }, XNode.create("i", {
36069
+ "data-click-event": "forward-email",
36070
+ class: "fa-solid fa-share-all",
36071
+ title: "Forward"
36072
+ })) : XNode.create("div", {
36066
36073
  "data-layout": "row",
36067
36074
  "data-margin-top": "default"
36068
36075
  }, XNode.create("i", {