ab-file-preview-assembly
Advanced tools
Comparing version 0.0.12 to 0.0.13
@@ -10,3 +10,3 @@ const getPlatform = () => { | ||
}); | ||
const VideoTypeList = ["mp4", "webm", "ogg"]; | ||
const VideoTypeList = ["mp4"]; | ||
const MediaTypeList = [...ImageTypeList, ...VideoTypeList]; | ||
@@ -13,0 +13,0 @@ const OfficeTypeList = ["zip", "txt", "text", "pdf", "pptx", "docx", "xlsx"]; |
@@ -1,1 +0,1 @@ | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>{const e=window.navigator.userAgent.toLowerCase();return/iphone|ipad|ipod|mac os/i.test(e)?"ios":"android"},t=["jpg","jpeg","png","gif","webp","heic"].filter((t=>"ios"===e()||"heic"!==t)),o=["mp4","webm","ogg"],r=[...t,...o],p=["zip","txt","text","pdf","pptx","docx","xlsx"],i=[...t,...o,...p],s={path:{type:String,default:""}},n={name:{type:String,default:""},extension:{type:String,default:""},fileContent:{type:Object,default:()=>new Blob},size:{type:Number,default:0},isFolder:{type:Boolean,default:!1},children:{type:Array,default:()=>[]},parentFolderName:{type:String,default:""}};exports.AllTypeList=i,exports.ImageTypeList=t,exports.MediaTypeList=r,exports.OfficeTypeList=p,exports.VideoTypeList=o,exports.commonFileProps=n,exports.commonViewerEmits=["rendered","error"],exports.commonViewerProps=s,exports.getFileExtension=e=>{const t=e.match(/\.([^.]+)$/);return t?t[1].toLowerCase():""},exports.getFileName=(e,t)=>t?e:e.slice(0,e.lastIndexOf(".")),exports.getPlatform=e,exports.isEmpty=e=>null==e||""===e; | ||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=()=>{const e=window.navigator.userAgent.toLowerCase();return/iphone|ipad|ipod|mac os/i.test(e)?"ios":"android"},t=["jpg","jpeg","png","gif","webp","heic"].filter((t=>"ios"===e()||"heic"!==t)),o=["mp4"],r=[...t,...o],p=["zip","txt","text","pdf","pptx","docx","xlsx"],i=[...t,...o,...p],s={path:{type:String,default:""}},n={name:{type:String,default:""},extension:{type:String,default:""},fileContent:{type:Object,default:()=>new Blob},size:{type:Number,default:0},isFolder:{type:Boolean,default:!1},children:{type:Array,default:()=>[]},parentFolderName:{type:String,default:""}};exports.AllTypeList=i,exports.ImageTypeList=t,exports.MediaTypeList=r,exports.OfficeTypeList=p,exports.VideoTypeList=o,exports.commonFileProps=n,exports.commonViewerEmits=["rendered","error"],exports.commonViewerProps=s,exports.getFileExtension=e=>{const t=e.match(/\.([^.]+)$/);return t?t[1].toLowerCase():""},exports.getFileName=(e,t)=>t?e:e.slice(0,e.lastIndexOf(".")),exports.getPlatform=e,exports.isEmpty=e=>null==e||""===e; |
{ | ||
"name": "ab-file-preview-assembly", | ||
"version": "0.0.12", | ||
"version": "0.0.13", | ||
"author": "zhangyibin", | ||
@@ -54,3 +54,9 @@ "private": false, | ||
"vue-tsc": "^1.8.27" | ||
} | ||
}, | ||
"directories": { | ||
"lib": "lib" | ||
}, | ||
"keywords": [], | ||
"license": "ISC", | ||
"description": "" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No License Found
License(Experimental) License information could not be found.
Found 1 instance in 1 package
174066
0