@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.
- package/dist/admin/AdminAppIndex.pack.js +8 -1
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +2 -2
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/common/pages/websites/studio/WebSiteStudioPage.d.ts +1 -0
- package/dist/common/pages/websites/studio/WebSiteStudioPage.d.ts.map +1 -1
- package/dist/common/pages/websites/studio/WebSiteStudioPage.js +7 -1
- package/dist/common/pages/websites/studio/WebSiteStudioPage.js.map +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.d.ts.map +1 -1
- package/dist/site-editor/editor/WebSitePageEditor.js +1 -0
- package/dist/site-editor/editor/WebSitePageEditor.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +8 -1
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +2 -2
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/websites/studio/WebSiteStudioPage.tsx +30 -3
- package/src/site-editor/editor/WebSitePageEditor.tsx +1 -0
|
@@ -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 ?
|
|
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);
|