@social-mail/social-mail-client 1.9.56 → 1.9.58
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 +6 -0
- package/dist/admin/AdminAppIndex.pack.js.map +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js +1 -1
- package/dist/admin/AdminAppIndex.pack.min.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.js +6 -0
- package/dist/public/channel/ChannelApp.pack.js.map +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js +1 -1
- package/dist/public/channel/ChannelApp.pack.min.js.map +1 -1
- package/dist/public/store/StoreApp.pack.js +6 -0
- package/dist/public/store/StoreApp.pack.js.map +1 -1
- package/dist/public/store/StoreApp.pack.min.js +1 -1
- package/dist/public/store/StoreApp.pack.min.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +18 -4
- 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.d.ts +1 -1
- package/dist/site-editor-app/pages/websites/studio/WebSiteStudioPage.d.ts.map +1 -1
- package/dist/site-editor-app/pages/websites/studio/WebSiteStudioPage.js +12 -4
- package/dist/site-editor-app/pages/websites/studio/WebSiteStudioPage.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +6 -0
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/node_modules/@web-atoms/web-controls/dist/desktop-app/DesktopApp.d.ts +1 -0
- package/node_modules/@web-atoms/web-controls/dist/desktop-app/DesktopApp.d.ts.map +1 -1
- package/node_modules/@web-atoms/web-controls/dist/desktop-app/DesktopApp.js +6 -0
- package/node_modules/@web-atoms/web-controls/dist/desktop-app/DesktopApp.js.map +1 -1
- package/node_modules/@web-atoms/web-controls/dist/tsconfig.tsbuildinfo +1 -1
- package/node_modules/@web-atoms/web-controls/package.json +1 -1
- package/node_modules/@web-atoms/web-controls/src/desktop-app/DesktopApp.tsx +6 -0
- package/package.json +2 -2
- package/src/site-editor-app/pages/websites/studio/WebSiteStudioPage.tsx +18 -4
|
@@ -10167,6 +10167,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "@web-at
|
|
|
10167
10167
|
this.element.setAttribute("drawer-hidden", "1");
|
|
10168
10168
|
}
|
|
10169
10169
|
}
|
|
10170
|
+
onHideDrawer() {
|
|
10171
|
+
this.element.setAttribute("drawer-hidden", "1");
|
|
10172
|
+
}
|
|
10170
10173
|
});
|
|
10171
10174
|
__decorate([BindableProperty, __metadata("design:type", Function)], DesktopApp.prototype, "menuRenderer", void 0);
|
|
10172
10175
|
__decorate([BindableProperty, __metadata("design:type", Function)], DesktopApp.prototype, "sideBarRenderer", void 0);
|
|
@@ -10174,6 +10177,9 @@ System.register(["tslib", "@web-atoms/core/dist/core/BindableProperty", "@web-at
|
|
|
10174
10177
|
__decorate([Action({
|
|
10175
10178
|
onEvent: "iconClick"
|
|
10176
10179
|
}), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", void 0)], DesktopApp.prototype, "onIconClick", null);
|
|
10180
|
+
__decorate([Action({
|
|
10181
|
+
onEvent: "hideDrawer"
|
|
10182
|
+
}), __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", void 0)], DesktopApp.prototype, "onHideDrawer", null);
|
|
10177
10183
|
}
|
|
10178
10184
|
};
|
|
10179
10185
|
});
|
|
@@ -60543,7 +60549,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
60543
60549
|
this.renderer = XNode.create("div", null, XNode.create(Loader, null));
|
|
60544
60550
|
this.search = "";
|
|
60545
60551
|
this.root = yield this.cloudFileService.webRoot(this.parameters);
|
|
60546
|
-
this.element.dispatchEvent(new CustomEvent("
|
|
60552
|
+
this.element.dispatchEvent(new CustomEvent("hideDrawer", {
|
|
60547
60553
|
bubbles: true
|
|
60548
60554
|
}));
|
|
60549
60555
|
this.title = this.root.name;
|
|
@@ -60705,9 +60711,8 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
60705
60711
|
}));
|
|
60706
60712
|
});
|
|
60707
60713
|
}
|
|
60708
|
-
changeFile() {
|
|
60714
|
+
changeFile(file = this.folderTree.selectedItem) {
|
|
60709
60715
|
var _a;
|
|
60710
|
-
const file = this.folderTree.selectedItem;
|
|
60711
60716
|
const folder = (_a = this.cloudFileService.getFilePath(this.root, file)) !== null && _a !== void 0 ? _a : "";
|
|
60712
60717
|
SiteEditorCommands.editWebSite.dispatch({
|
|
60713
60718
|
id: this.parameters.id,
|
|
@@ -60817,6 +60822,15 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
60817
60822
|
name
|
|
60818
60823
|
} = file;
|
|
60819
60824
|
name = name.replace(/(\.[^\.]+)$/, ext => " Copy" + ext);
|
|
60825
|
+
name = name.replace(/\.html$/, "");
|
|
60826
|
+
name = prompt("Name of the file", name);
|
|
60827
|
+
if (!name) {
|
|
60828
|
+
return;
|
|
60829
|
+
}
|
|
60830
|
+
name = name + ".html";
|
|
60831
|
+
if (this.root.children.find(f => f.name === name)) {
|
|
60832
|
+
throw new Error("File with same name already exists");
|
|
60833
|
+
}
|
|
60820
60834
|
file = yield this.cloudFileService.save(Object.assign(Object.assign({}, file), {
|
|
60821
60835
|
appFileID: void 0,
|
|
60822
60836
|
children: void 0,
|
|
@@ -60824,7 +60838,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
60824
60838
|
name
|
|
60825
60839
|
}));
|
|
60826
60840
|
this.root.children.add(file);
|
|
60827
|
-
this.
|
|
60841
|
+
this.changeFile(file);
|
|
60828
60842
|
});
|
|
60829
60843
|
}
|
|
60830
60844
|
fileHistory(file) {
|