@emailmaker/filemanager 0.10.31 → 0.10.33
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/file-manager.css +20 -12
- package/file-manager.esm.js +9 -9
- package/file-manager.esm.js.map +1 -1
- package/file-manager.js +1 -1
- package/notification.d.ts +0 -2
- package/package.json +1 -1
- package/utils/fileValidation.d.ts +1 -0
package/notification.d.ts
CHANGED
|
@@ -513,8 +513,6 @@ declare namespace Notify {
|
|
|
513
513
|
FOLDER_CREATE_FAILED: FolderOperationPayload;
|
|
514
514
|
FOLDER_CHILDREN_COUNT_FAILED: FolderOperationPayload;
|
|
515
515
|
FOLDER_CHILDREN_FETCH_FAILED: FolderOperationPayload;
|
|
516
|
-
|
|
517
|
-
JSON_DATA_PROVIDER_LOAD_FAILED: JsonDataProviderErrorPayload;
|
|
518
516
|
FILE_URL_VALIDATION_FAILED: FileUrlValidationErrorPayload;
|
|
519
517
|
}
|
|
520
518
|
|
package/package.json
CHANGED
|
@@ -31,4 +31,5 @@ export declare const validateFiles: (files: File[], options?: FileValidationOpti
|
|
|
31
31
|
export declare const validateFileUrl: (url: string) => Promise<FileValidationResult>;
|
|
32
32
|
export declare const getFileCategory: (file: File) => string;
|
|
33
33
|
export declare const formatFileSize: (bytes: number) => string;
|
|
34
|
+
export declare const formatFileSizeShort: (bytes?: number) => string;
|
|
34
35
|
export declare const sanitizeFileName: (fileName: string) => string;
|