zek 17.3.75 → 17.3.78
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/esm2022/lib/services/auth.service.mjs +5 -3
- package/esm2022/lib/utils/base64-helper.mjs +1 -33
- package/esm2022/lib/utils/file.helper.mjs +33 -1
- package/fesm2022/zek.mjs +36 -34
- package/fesm2022/zek.mjs.map +1 -1
- package/lib/services/auth.service.d.ts +1 -0
- package/lib/utils/base64-helper.d.ts +0 -3
- package/lib/utils/file.helper.d.ts +3 -0
- package/package.json +1 -1
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { IFileString } from "../models";
|
|
2
1
|
export declare class Base64Helper {
|
|
3
2
|
static utf8ToBase64String(str: string): string;
|
|
4
3
|
static base64StringToUtf8(str: string): string;
|
|
5
4
|
static base64StringToBlob(str: string, type?: string): Blob;
|
|
6
|
-
static fileToDataUrl(file: File): Promise<IFileString>;
|
|
7
|
-
static fileToBase64String(file: File): Promise<IFileString>;
|
|
8
5
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import { IFileString } from "../models";
|
|
1
2
|
export declare class FileHelper {
|
|
2
3
|
static getExtension(path?: string | null): string | null | undefined;
|
|
3
4
|
static download(blob: Blob | null, fileName: string): void;
|
|
5
|
+
static fileToDataUrl(file: File): Promise<IFileString>;
|
|
6
|
+
static fileToBase64String(file: File): Promise<IFileString>;
|
|
4
7
|
}
|