@social-mail/social-mail-client 1.2.329 → 1.2.331
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 +2 -2
- 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/common/controls/drag-drop/FilesDragDrop.js +2 -2
- package/dist/common/controls/drag-drop/FilesDragDrop.js.map +1 -1
- package/dist/public/store/Store.pack.js +3482 -3330
- package/dist/public/store/Store.pack.js.map +1 -1
- package/dist/public/store/Store.pack.min.js +141 -102
- package/dist/public/store/Store.pack.min.js.map +1 -1
- package/dist/public/store/StoreItemDetailView.d.ts +4 -0
- package/dist/public/store/StoreItemDetailView.d.ts.map +1 -1
- package/dist/public/store/StoreItemDetailView.js +63 -15
- package/dist/public/store/StoreItemDetailView.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +2 -2
- 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/package.json +1 -1
- package/src/common/controls/drag-drop/FilesDragDrop.ts +2 -2
- package/src/public/store/StoreItemDetailView.tsx +54 -11
|
@@ -32478,7 +32478,7 @@ System.register(["tslib", "@web-atoms/core/dist/style/styled", "@web-atoms/core/
|
|
|
32478
32478
|
currentTarget.removeAttribute("data-drop-enabled");
|
|
32479
32479
|
const uploadEvent = currentTarget.getAttribute("data-upload-event");
|
|
32480
32480
|
const extra = currentTarget.getAttribute("data-extra");
|
|
32481
|
-
const fileHandlesPromises = [...e.dataTransfer.items].filter(item => item.kind === "file").map(item => supportsFileSystemAccessAPI ? item.getAsFileSystemHandle() : supportsWebkitGetAsEntry ? item.webkitGetAsEntry() : item.getAsFile());
|
|
32481
|
+
const fileHandlesPromises = [...e.dataTransfer.items].filter(item => item.kind === "file").map(item => supportsFileSystemAccessAPI ? item.getAsFileSystemHandle().then(f => f !== null && f !== void 0 ? f : item.getAsFile()) : supportsWebkitGetAsEntry ? item.webkitGetAsEntry() : item.getAsFile());
|
|
32482
32482
|
const files = [];
|
|
32483
32483
|
const getFiles = (dir, parent = dir.name) => __awaiter(void 0, void 0, void 0, function* () {
|
|
32484
32484
|
var _a, e_1, _b, _c;
|
|
@@ -32528,7 +32528,7 @@ System.register(["tslib", "@web-atoms/core/dist/style/styled", "@web-atoms/core/
|
|
|
32528
32528
|
if (handle.kind === "directory" || handle.isDirectory) {
|
|
32529
32529
|
files.push(...(yield getFiles(handle)));
|
|
32530
32530
|
} else {
|
|
32531
|
-
files.push(yield handle.getFile());
|
|
32531
|
+
files.push(handle.getFile ? yield handle.getFile() : handle);
|
|
32532
32532
|
}
|
|
32533
32533
|
} finally {
|
|
32534
32534
|
_k = true;
|