@social-mail/social-mail-client 1.2.606 → 1.2.607
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/public/preview/zip/DownloadZip.d.ts.map +1 -1
- package/dist/public/preview/zip/DownloadZip.js +7 -3
- package/dist/public/preview/zip/DownloadZip.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.js +7 -3
- package/dist/public/preview/zip/DownloadZip.pack.js.map +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js +1 -1
- package/dist/public/preview/zip/DownloadZip.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/public/preview/zip/DownloadZip.tsx +2 -3
package/package.json
CHANGED
|
@@ -19,11 +19,10 @@ import { Sql } from "../../../common/Sql";
|
|
|
19
19
|
import FetchBuilder from "@web-atoms/core/dist/services/FetchBuilder";
|
|
20
20
|
import AtomRepeater from "@web-atoms/web-controls/dist/basic/AtomRepeater";
|
|
21
21
|
import { toKMBString } from "../../../common/NumberFormats";
|
|
22
|
+
import { UMD } from "@web-atoms/core/dist/core/types";
|
|
22
23
|
|
|
23
24
|
let fileInfo: Partial<IAppFile> = (window as any).fileInfo;
|
|
24
25
|
|
|
25
|
-
declare let JSZip: any;
|
|
26
|
-
|
|
27
26
|
if (!fileInfo) {
|
|
28
27
|
fileInfo = (window as any).fileInfo = {};
|
|
29
28
|
const url = new URL(location.href);
|
|
@@ -60,7 +59,7 @@ export default class DownloadZip extends AtomControl {
|
|
|
60
59
|
<div>Preparing Zip</div>
|
|
61
60
|
</div>;
|
|
62
61
|
|
|
63
|
-
await
|
|
62
|
+
const { JSZip } = await UMD.import("https://cdn.jsdelivr.net/npm/jszip@3.10.1/dist/jszip.min.js") as any;
|
|
64
63
|
|
|
65
64
|
this.zipFile = new JSZip();
|
|
66
65
|
|