@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
|
@@ -34094,8 +34094,7 @@ System.register(["tslib", "@web-atoms/core/dist/di/DISingleton", "@web-atoms/cor
|
|
|
34094
34094
|
}
|
|
34095
34095
|
save(file) {
|
|
34096
34096
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34097
|
-
|
|
34098
|
-
yield this.entityService.save(c.copy);
|
|
34097
|
+
yield this.entityService.save(file, c => c);
|
|
34099
34098
|
return file;
|
|
34100
34099
|
});
|
|
34101
34100
|
}
|
|
@@ -40143,6 +40142,15 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "./TreeView", "@web
|
|
|
40143
40142
|
onItemExpanded(item) {
|
|
40144
40143
|
return __awaiter(this, void 0, void 0, function* () {
|
|
40145
40144
|
yield this.cloudFileService.expand(item, void 0, this.accept);
|
|
40145
|
+
const setParent = i => {
|
|
40146
|
+
if (!i.children) {
|
|
40147
|
+
return;
|
|
40148
|
+
}
|
|
40149
|
+
for (const iterator of i.children) {
|
|
40150
|
+
iterator.parent = i;
|
|
40151
|
+
}
|
|
40152
|
+
};
|
|
40153
|
+
setParent(item);
|
|
40146
40154
|
});
|
|
40147
40155
|
}
|
|
40148
40156
|
onDeleteItem(file) {
|
|
@@ -40173,6 +40181,7 @@ System.register(["tslib", "@web-atoms/core/dist/core/XNode", "./TreeView", "@web
|
|
|
40173
40181
|
parentID
|
|
40174
40182
|
});
|
|
40175
40183
|
((_a = file.children) !== null && _a !== void 0 ? _a : file.children = []).add(child);
|
|
40184
|
+
child.parent = file;
|
|
40176
40185
|
});
|
|
40177
40186
|
}
|
|
40178
40187
|
onRenameItem(file) {
|