@jobber/components 6.62.2 → 6.63.0
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.
|
@@ -4,7 +4,9 @@ export declare enum FileTypes {
|
|
|
4
4
|
PNG = "image/png",
|
|
5
5
|
HEIC = "image/heic",
|
|
6
6
|
PDF = "application/pdf",
|
|
7
|
-
DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document"
|
|
7
|
+
DOCX = "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
|
|
8
|
+
XLSX = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
|
9
|
+
CSV = "text/csv"
|
|
8
10
|
}
|
|
9
11
|
export declare const BASIC_IMAGE_TYPES: string[];
|
|
10
12
|
export declare const mimeTypeToReadable: (mimeType: string) => string;
|
package/dist/InputFile-cjs.js
CHANGED
|
@@ -1450,6 +1450,8 @@ var FileTypes;
|
|
|
1450
1450
|
FileTypes["HEIC"] = "image/heic";
|
|
1451
1451
|
FileTypes["PDF"] = "application/pdf";
|
|
1452
1452
|
FileTypes["DOCX"] = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
1453
|
+
FileTypes["XLSX"] = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
1454
|
+
FileTypes["CSV"] = "text/csv";
|
|
1453
1455
|
})(FileTypes || (FileTypes = {}));
|
|
1454
1456
|
const BASIC_IMAGE_TYPES = ["PNG", "JPEG", "JPG"];
|
|
1455
1457
|
// Converts a MIME type to its readable format
|
package/dist/InputFile-es.js
CHANGED
|
@@ -1448,6 +1448,8 @@ var FileTypes;
|
|
|
1448
1448
|
FileTypes["HEIC"] = "image/heic";
|
|
1449
1449
|
FileTypes["PDF"] = "application/pdf";
|
|
1450
1450
|
FileTypes["DOCX"] = "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
|
|
1451
|
+
FileTypes["XLSX"] = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
|
|
1452
|
+
FileTypes["CSV"] = "text/csv";
|
|
1451
1453
|
})(FileTypes || (FileTypes = {}));
|
|
1452
1454
|
const BASIC_IMAGE_TYPES = ["PNG", "JPEG", "JPG"];
|
|
1453
1455
|
// Converts a MIME type to its readable format
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.63.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
@@ -542,5 +542,5 @@
|
|
|
542
542
|
"> 1%",
|
|
543
543
|
"IE 10"
|
|
544
544
|
],
|
|
545
|
-
"gitHead": "
|
|
545
|
+
"gitHead": "d297fd78aac12e2d69ae1692d49df59721ded766"
|
|
546
546
|
}
|