@@ -75,39 +75,48 @@ const Types = {
7575 audio : 'audio/*' ,
7676 csv : 'text/csv' ,
7777 doc : 'application/msword' ,
78- excel : 'application/vnd.ms-excel ' ,
78+ docx : 'application/vnd.openxmlformats-officedocument.wordprocessingml.document ' ,
7979 images : 'image/*' ,
8080 pdf : 'application/pdf' ,
8181 plainText : 'text/plain' ,
82- powerpoint : 'application/vnd.ms-powerpoint' ,
82+ ppt : 'application/vnd.ms-powerpoint' ,
83+ pptx : 'application/vnd.openxmlformats-officedocument.presentationml.presentation' ,
8384 video : 'video/*' ,
85+ xls : 'application/vnd.ms-excel' ,
86+ xlsx : 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' ,
8487 zip : 'application/zip' ,
8588 } ,
8689 utis : {
8790 allFiles : 'public.content' ,
8891 audio : 'public.audio' ,
8992 csv : 'public.comma-separated-values-text' ,
9093 doc : 'com.microsoft.word.doc' ,
91- excel : 'com.microsoft.excel.xls ' ,
94+ docx : 'org.openxmlformats.wordprocessingml.document ' ,
9295 images : 'public.image' ,
9396 pdf : 'com.adobe.pdf' ,
9497 plainText : 'public.plain-text' ,
95- powerpoint : 'com.microsoft.powerpoint.ppt' ,
98+ ppt : 'com.microsoft.powerpoint.ppt' ,
99+ pptx : 'org.openxmlformats.presentationml.presentation' ,
96100 video : 'public.movie' ,
101+ xls : 'com.microsoft.excel.xls' ,
102+ xlsx : 'org.openxmlformats.spreadsheetml.sheet' ,
97103 zip : 'public.zip-archive' ,
98104 } ,
99105 extensions : {
100106 allFiles : '*' ,
101107 audio :
102108 '.3g2 .3gp .aac .adt .adts .aif .aifc .aiff .asf .au .m3u .m4a .m4b .mid .midi .mp2 .mp3 .mp4 .rmi .snd .wav .wax .wma' ,
103109 csv : '.csv' ,
104- doc : '.doc .docx ' ,
105- excel : '.xls .xlsx ' ,
110+ doc : '.doc' ,
111+ docx : '.docx ' ,
106112 images : '.jpeg .jpg .png' ,
107113 pdf : '.pdf' ,
108114 plainText : '.txt' ,
109- powerpoint : '.ppt .pptx' ,
115+ ppt : '.ppt' ,
116+ pptx : '.pptx' ,
110117 video : '.mp4' ,
118+ xls : '.xls' ,
119+ xlsx : '.xlsx' ,
111120 zip : '.zip .gz' ,
112121 } ,
113122} ;
0 commit comments