@social-mail/social-mail-client 1.8.161 → 1.8.162
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/site-editor-app/SiteEditorApp.pack.js +5 -5
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/site-editor-app/pages/websites/studio/WebSiteStudioPage.js +5 -5
- package/dist/site-editor-app/pages/websites/studio/WebSiteStudioPage.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/site-editor-app/pages/websites/studio/WebSiteStudioPage.tsx +1 -1
|
@@ -54942,14 +54942,14 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
54942
54942
|
}
|
|
54943
54943
|
init() {
|
|
54944
54944
|
return __awaiter(this, void 0, void 0, function* () {
|
|
54945
|
-
var _a, _b, _c, _d, _e;
|
|
54946
|
-
var
|
|
54945
|
+
var _a, _b, _c, _d, _e, _f;
|
|
54946
|
+
var _g;
|
|
54947
54947
|
this.search = "";
|
|
54948
54948
|
this.root = yield this.cloudFileService.root(this.parameters);
|
|
54949
54949
|
this.title = this.root.name;
|
|
54950
54950
|
this.webSite = yield this.websiteService.get(this.root.appFileID);
|
|
54951
54951
|
this.menuService.addWebSite(this.webSite);
|
|
54952
|
-
(_a = (
|
|
54952
|
+
(_a = (_g = this.root).children) !== null && _a !== void 0 ? _a : _g.children = [];
|
|
54953
54953
|
this.root.children.remove(x => x.isDeleted || !(/^(text\/(html|css))$/i.test(x.contentType) || x.isFolder));
|
|
54954
54954
|
this.root.children.sort((a, b) => a.isFolder ? -1 : 0);
|
|
54955
54955
|
if (!((_b = this.root.children) === null || _b === void 0 ? void 0 : _b.some(f => f.name === "index.html"))) {
|
|
@@ -54958,9 +54958,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
54958
54958
|
}
|
|
54959
54959
|
const indexHtml = this.root.children.find(x => x.name === "index.html");
|
|
54960
54960
|
this.selectedFile = indexHtml;
|
|
54961
|
-
const domain = (_d = (_c = this.webSite.channelDomains[0]) === null ||
|
|
54961
|
+
const domain = (_e = (_d = (_c = this.webSite.channelDomains) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.domain) === null || _e === void 0 ? void 0 : _e.domain;
|
|
54962
54962
|
const infoEmail = domain ? `info@${domain.name}` : void 0;
|
|
54963
|
-
const supportEmail = (
|
|
54963
|
+
const supportEmail = (_f = SocialMailApp.config.supportEmail) !== null && _f !== void 0 ? _f : "support@esocialmail.com";
|
|
54964
54964
|
this.titleRenderer = () => XNode.create("div", {
|
|
54965
54965
|
"data-layout": "row"
|
|
54966
54966
|
}, XNode.create("div", {
|