@sumaris-net/ngx-components 18.24.11 → 18.24.13

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sumaris-net/ngx-components",
3
3
  "description": "SUMARiS Angular components",
4
- "version": "18.24.11",
4
+ "version": "18.24.13",
5
5
  "author": "contact@e-is.pro",
6
6
  "license": "AGPL-3.0",
7
7
  "readmeFilename": "README.md",
@@ -39,6 +39,7 @@ export declare class CryptoService {
39
39
  */
40
40
  static sha512(message: string): string;
41
41
  static encodeBase64(message: string): string;
42
+ static decodeBase64(message: string): Uint8Array;
42
43
  static ɵfac: i0.ɵɵFactoryDeclaration<CryptoService, never>;
43
44
  static ɵprov: i0.ɵɵInjectableDeclaration<CryptoService>;
44
45
  }
@@ -33,4 +33,10 @@ export declare class ImagesUtils {
33
33
  static readAndResizeFromUrl(fileUrl: string, opts?: ImageResizeOptions): Promise<string>;
34
34
  static resizeBase64(dataUrl: string, opts?: ImageResizeOptions): Promise<string>;
35
35
  protected static createImageOnLoadResizeFn(resolve: any, reject: any, opts?: ImageResizeOptions): (event: any) => void;
36
+ static getBase64MimeType(base64: string): string | undefined;
37
+ static getMimeTypeFileExtension(mimeType: string): string | undefined;
38
+ static writeBase64ToFile(base64: string, opts?: {
39
+ type?: string;
40
+ filename?: string;
41
+ }): File;
36
42
  }
@@ -2,7 +2,7 @@
2
2
  "name": "ngx-sumaris-components",
3
3
  "short_name": "ngx-sumaris-components",
4
4
  "manifest_version": 1,
5
- "version": "18.24.11",
5
+ "version": "18.24.13",
6
6
  "default_locale": "fr",
7
7
  "description": "Angular components for building beautiful and responsive Apps",
8
8
  "icons": [{