@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
|
@@ -46504,7 +46504,7 @@ System.register(["tslib", "@web-atoms/core/dist/style/styled", "@web-atoms/core/
|
|
|
46504
46504
|
currentTarget.removeAttribute("data-drop-enabled");
|
|
46505
46505
|
const uploadEvent = currentTarget.getAttribute("data-upload-event");
|
|
46506
46506
|
const extra = currentTarget.getAttribute("data-extra");
|
|
46507
|
-
const fileHandlesPromises = [...e.dataTransfer.items].filter(item => item.kind === "file").map(item => supportsFileSystemAccessAPI ? item.getAsFileSystemHandle() : supportsWebkitGetAsEntry ? item.webkitGetAsEntry() : item.getAsFile());
|
|
46507
|
+
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());
|
|
46508
46508
|
const files = [];
|
|
46509
46509
|
const getFiles = (dir, parent = dir.name) => __awaiter(void 0, void 0, void 0, function* () {
|
|
46510
46510
|
var _a, e_1, _b, _c;
|
|
@@ -46554,7 +46554,7 @@ System.register(["tslib", "@web-atoms/core/dist/style/styled", "@web-atoms/core/
|
|
|
46554
46554
|
if (handle.kind === "directory" || handle.isDirectory) {
|
|
46555
46555
|
files.push(...(yield getFiles(handle)));
|
|
46556
46556
|
} else {
|
|
46557
|
-
files.push(yield handle.getFile());
|
|
46557
|
+
files.push(handle.getFile ? yield handle.getFile() : handle);
|
|
46558
46558
|
}
|
|
46559
46559
|
} finally {
|
|
46560
46560
|
_k = true;
|