@social-mail/social-mail-client 1.9.94 → 1.9.95
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 +23 -21
- 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/services/files/LocalFileService.js +23 -21
- package/dist/services/files/LocalFileService.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +23 -21
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.pack.js +23 -21
- 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/services/files/LocalFileService.tsx +19 -17
|
@@ -22803,30 +22803,32 @@ System.register(["tslib", "@web-atoms/core/dist/App", "@web-atoms/core/dist/core
|
|
|
22803
22803
|
text: Bind.source(file, x => x.source.error)
|
|
22804
22804
|
}))
|
|
22805
22805
|
})));
|
|
22806
|
-
|
|
22807
|
-
|
|
22808
|
-
|
|
22809
|
-
|
|
22810
|
-
|
|
22806
|
+
this.app.runAsync(() => __awaiter(this, void 0, void 0, function* () {
|
|
22807
|
+
try {
|
|
22808
|
+
const ct = new CancelToken();
|
|
22809
|
+
this.registerDisposable({
|
|
22810
|
+
dispose: () => {
|
|
22811
|
+
ct.cancel();
|
|
22812
|
+
}
|
|
22813
|
+
});
|
|
22814
|
+
const tasks = this.files.map(x => x.promise);
|
|
22815
|
+
const files = yield Promise.all(tasks);
|
|
22816
|
+
const extra = this.parameters.extra;
|
|
22817
|
+
this.close({
|
|
22818
|
+
files,
|
|
22819
|
+
extra
|
|
22820
|
+
});
|
|
22821
|
+
} catch (error) {
|
|
22822
|
+
if (CancelToken.isCancelled(error)) {
|
|
22823
|
+
this.cancel(error);
|
|
22824
|
+
return;
|
|
22811
22825
|
}
|
|
22812
|
-
|
|
22813
|
-
|
|
22814
|
-
|
|
22815
|
-
const extra = this.parameters.extra;
|
|
22816
|
-
this.close({
|
|
22817
|
-
files,
|
|
22818
|
-
extra
|
|
22819
|
-
});
|
|
22820
|
-
} catch (error) {
|
|
22821
|
-
if (CancelToken.isCancelled(error)) {
|
|
22826
|
+
yield PopupService.alert({
|
|
22827
|
+
message: error
|
|
22828
|
+
});
|
|
22822
22829
|
this.cancel(error);
|
|
22823
|
-
return;
|
|
22824
22830
|
}
|
|
22825
|
-
|
|
22826
|
-
message: error
|
|
22827
|
-
});
|
|
22828
|
-
this.cancel(error);
|
|
22829
|
-
}
|
|
22831
|
+
}));
|
|
22830
22832
|
});
|
|
22831
22833
|
}
|
|
22832
22834
|
};
|