@social-mail/social-mail-client 1.2.295 → 1.2.296
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 +11 -2
- 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/controls/tree/FileTreeView.d.ts.map +1 -1
- package/dist/common/controls/tree/FileTreeView.js +10 -0
- package/dist/common/controls/tree/FileTreeView.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +11 -2
- 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.map +1 -1
- package/dist/web/page/files/service/CloudFileService.js +1 -2
- package/dist/web/page/files/service/CloudFileService.js.map +1 -1
- package/package.json +1 -1
- package/src/common/controls/tree/FileTreeView.tsx +11 -0
- package/src/web/page/files/service/CloudFileService.ts +1 -2
|
@@ -23069,8 +23069,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
23069
23069
|
}
|
|
23070
23070
|
save(file) {
|
|
23071
23071
|
return __awaiter(this, void 0, void 0, function* () {
|
|
23072
|
-
|
|
23073
|
-
yield this.entityService.save(c.copy);
|
|
23072
|
+
yield this.entityService.save(file, c => c);
|
|
23074
23073
|
return file;
|
|
23075
23074
|
});
|
|
23076
23075
|
}
|
|
@@ -43981,6 +43980,15 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "./TreeView", "@web
|
|
|
43981
43980
|
onItemExpanded(item) {
|
|
43982
43981
|
return __awaiter(this, void 0, void 0, function* () {
|
|
43983
43982
|
yield this.cloudFileService.expand(item, void 0, this.accept);
|
|
43983
|
+
const setParent = i => {
|
|
43984
|
+
if (!i.children) {
|
|
43985
|
+
return;
|
|
43986
|
+
}
|
|
43987
|
+
for (const iterator of i.children) {
|
|
43988
|
+
iterator.parent = i;
|
|
43989
|
+
}
|
|
43990
|
+
};
|
|
43991
|
+
setParent(item);
|
|
43984
43992
|
});
|
|
43985
43993
|
}
|
|
43986
43994
|
onDeleteItem(file) {
|
|
@@ -44011,6 +44019,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "./TreeView", "@web
|
|
|
44011
44019
|
parentID
|
|
44012
44020
|
});
|
|
44013
44021
|
((_a = file.children) !== null && _a !== void 0 ? _a : file.children = []).add(child);
|
|
44022
|
+
child.parent = file;
|
|
44014
44023
|
});
|
|
44015
44024
|
}
|
|
44016
44025
|
onRenameItem(file) {
|