@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
|
@@ -46055,6 +46055,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "./HtmlP
|
|
|
46055
46055
|
e.innerHTML = "";
|
|
46056
46056
|
for (const iterator of children) {
|
|
46057
46057
|
iterator.setAttribute("contentEditable", "false");
|
|
46058
|
+
iterator.remove();
|
|
46058
46059
|
e.appendChild(iterator);
|
|
46059
46060
|
}
|
|
46060
46061
|
}
|
|
@@ -46764,7 +46765,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
46764
46765
|
folder: this.root,
|
|
46765
46766
|
presenter: Bind.presenter(c => this.htmlEditor = c),
|
|
46766
46767
|
"event-html-page-changed": ce => this.pageContent = ce.detail,
|
|
46767
|
-
htmlPage: Bind.oneWayAsync((s, e, cancelToken) => this.selectedFile ?
|
|
46768
|
+
htmlPage: Bind.oneWayAsync((s, e, cancelToken) => this.selectedFile ? this.downloadHtml(this.selectedFile, cancelToken) : void 0)
|
|
46768
46769
|
}));
|
|
46769
46770
|
this.footerRenderer = () => XNode.create("div", {
|
|
46770
46771
|
"data-layout": "command-row",
|
|
@@ -46775,6 +46776,12 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
46775
46776
|
}));
|
|
46776
46777
|
});
|
|
46777
46778
|
}
|
|
46779
|
+
downloadHtml(file, cancelToken) {
|
|
46780
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
46781
|
+
const text = yield FetchBuilder.get(file.downloadUrl).cancelToken(cancelToken).responseAsText(true);
|
|
46782
|
+
return text;
|
|
46783
|
+
});
|
|
46784
|
+
}
|
|
46778
46785
|
createIndexHtml() {
|
|
46779
46786
|
return __awaiter(this, void 0, void 0, function* () {
|
|
46780
46787
|
yield PageNavigator.pushPageForResultOrCancel(ChooseWebSiteTemplatePage, this.root);
|