1 line
10 KiB
Plaintext
1 line
10 KiB
Plaintext
|
{"version":3,"file":"angular-file-upload.min.js","sources":["angular-file-upload.js"],"names":["angular","factory","define","amd","app","module","directive","$fileUploader","link","isHTML5","scope","element","attributes","bind","event","dataTransfer","originalEvent","preventDefault","stopPropagation","$broadcast","$emit","files","$eval","ngFileDrop","dropEffect","noop","$on","addClass","ngFileOver","removeClass","removeAttr","this","ngFileSelect","attr","prop","$compile","$rootScope","$http","$window","Uploader","params","extend","url","alias","queue","headers","progress","autoUpload","removeAfterUpload","method","filters","formData","isUploading","_nextIndex","_timestamp","Date","now","unshift","_filter","items","options","addToQueue","Item","prototype","_beforeupload","_progress","_success","_cancel","_error","_complete","input","file","clone","uploader","value","val","lastModifiedDate","size","type","slice","lastIndexOf","toLowerCase","name","_input","css","after","isReady","isUploaded","isSuccess","isCancel","isError","index","constructor","item","isElement","handler","trigger","arguments","apply","File","FormData","length","list","forEach","isValid","every","filter","call","copy","push","_getTotalProgress","_render","uploadAll","removeFromQueue","getIndexOfItem","cancel","splice","_destroy","clearQueue","isObject","indexOf","getNotUploadedItems","getReadyItems","sort","item1","item2","uploadItem","transport","cancelItem","abort","cancelAll","$$phase","$digest","notUploaded","uploaded","ratio","current","Math","round","result","isDefined","_xhrTransport","xhr","_xhr","XMLHttpRequest","form","that","obj","key","append","upload","onprogress","lengthComputable","loaded","total","onload","response","_transformResponse","_isSuccessCode","status","onerror","onabort","open","setRequestHeader","send","_iframeTransport","iframe","_form","replaceWith","action","target","enctype","encoding","html","contentDocument","body","innerHTML","dummy","unbind","submit","defaults","transformResponse","transformFn","remove","create"],"mappings":"CAIC,SAASA,EAASC,GACf,MAAsB,kBAAXC,SAAyBA,OAAOC,KACvCD,OAAO,uBAAwB,WAAY,SAASF,GAChD,MAAOC,GAAQD,KADnBE,QAIOD,EAAQD,IAErBA,SAAW,KAAM,SAASA,GAC5B,GAAII,GAAMJ,EAAQK,OAAO,uBA8pBrB,OA3pBJD,GAAIE,UAAU,cAAgB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