@social-mail/social-mail-client 1.2.37 → 1.2.39
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 +7 -3
- 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.js +1 -1
- package/dist/common/pages/websites/studio/WebSiteStudioPage.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +7 -3
- 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/dist/web/page/files/service/CloudFileService.d.ts +2 -1
- package/dist/web/page/files/service/CloudFileService.d.ts.map +1 -1
- package/dist/web/page/files/service/CloudFileService.js +6 -2
- package/dist/web/page/files/service/CloudFileService.js.map +1 -1
- package/package.json +1 -1
- package/src/common/pages/websites/studio/WebSiteStudioPage.tsx +1 -1
- package/src/web/page/files/service/CloudFileService.ts +9 -3
|
@@ -18763,7 +18763,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
18763
18763
|
}) {
|
|
18764
18764
|
return __awaiter(this, void 0, void 0, function* () {
|
|
18765
18765
|
const userID = SocialMailApp.user.userID;
|
|
18766
|
-
let q = this.entityService.query(AppFile).where(x => x.isFolder === true && x.parentID === null && x.path !== null);
|
|
18766
|
+
let q = this.entityService.query(AppFile).where(x => x.isFolder === true && x.parentID === null && x.path !== null && x.contentType !== "snapshot");
|
|
18767
18767
|
if (search) {
|
|
18768
18768
|
q = q.where({
|
|
18769
18769
|
search
|
|
@@ -18889,6 +18889,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
18889
18889
|
folder,
|
|
18890
18890
|
cancelToken,
|
|
18891
18891
|
showDeleted = false,
|
|
18892
|
+
showSnapShot = false,
|
|
18892
18893
|
showFolder = true
|
|
18893
18894
|
}) {
|
|
18894
18895
|
var _a, _b;
|
|
@@ -18920,6 +18921,9 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
18920
18921
|
} else {
|
|
18921
18922
|
q = q.orderByDescending(x => x.isFolder).thenBy(x => x.name);
|
|
18922
18923
|
}
|
|
18924
|
+
if (!showSnapShot) {
|
|
18925
|
+
q = q.where(x => x.contentType !== "snapshot");
|
|
18926
|
+
}
|
|
18923
18927
|
const files = yield q.toArray({
|
|
18924
18928
|
cancelToken
|
|
18925
18929
|
});
|
|
@@ -18979,7 +18983,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
18979
18983
|
appFileID
|
|
18980
18984
|
}) => AppFile.create({
|
|
18981
18985
|
appFileID,
|
|
18982
|
-
|
|
18986
|
+
isDeleted: true
|
|
18983
18987
|
}));
|
|
18984
18988
|
yield this.entityService.save(files);
|
|
18985
18989
|
});
|
|
@@ -39811,7 +39815,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/InjectProperty", "@web-atom
|
|
|
39811
39815
|
this.root.children.remove(x => x.isDeleted || !(/^(text\/(html|css))$/i.test(x.contentType) || x.isFolder));
|
|
39812
39816
|
this.root.children.sort((a, b) => a.isFolder ? -1 : 0);
|
|
39813
39817
|
yield this.onItemExpanded(this.root);
|
|
39814
|
-
if (!((_b = this.root.children) === null || _b === void 0 ? void 0 : _b.
|
|
39818
|
+
if (!((_b = this.root.children) === null || _b === void 0 ? void 0 : _b.some(f => f.name === "index.html"))) {
|
|
39815
39819
|
yield this.createIndexHtml();
|
|
39816
39820
|
return;
|
|
39817
39821
|
}
|