@social-mail/social-mail-client 1.2.282 → 1.2.284

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.
@@ -49743,6 +49743,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
49743
49743
  e.innerHTML = "";
49744
49744
  for (const iterator of children) {
49745
49745
  iterator.setAttribute("contentEditable", "false");
49746
+ iterator.remove();
49746
49747
  e.appendChild(iterator);
49747
49748
  }
49748
49749
  }
@@ -50452,7 +50453,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
50452
50453
  folder: this.root,
50453
50454
  presenter: Bind.presenter(c => this.htmlEditor = c),
50454
50455
  "event-html-page-changed": ce => this.pageContent = ce.detail,
50455
- htmlPage: Bind.oneWayAsync((s, e, cancelToken) => this.selectedFile ? FetchBuilder.get(this.selectedFile.downloadUrl).cancelToken(cancelToken).responseAsText(true) : void 0)
50456
+ htmlPage: Bind.oneWayAsync((s, e, cancelToken) => this.selectedFile ? this.downloadHtml(this.selectedFile, cancelToken) : void 0)
50456
50457
  }));
50457
50458
  this.footerRenderer = () => XNode.create("div", {
50458
50459
  "data-layout": "command-row",
@@ -50463,6 +50464,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
50463
50464
  }));
50464
50465
  });
50465
50466
  }
50467
+ downloadHtml(file, cancelToken) {
50468
+ return __awaiter(this, void 0, void 0, function* () {
50469
+ const text = yield FetchBuilder.get(file.downloadUrl).cancelToken(cancelToken).responseAsText(true);
50470
+ return text;
50471
+ });
50472
+ }
50466
50473
  createIndexHtml() {
50467
50474
  return __awaiter(this, void 0, void 0, function* () {
50468
50475
  yield PageNavigator.pushPageForResultOrCancel(ChooseWebSiteTemplatePage, this.root);