quasar-ui-danx 0.3.35 → 0.3.37
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/dist/danx.es.js +3 -2
- package/dist/danx.es.js.map +1 -1
- package/dist/danx.umd.js +2 -2
- package/dist/danx.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/helpers/FileUpload.ts +3 -0
package/package.json
CHANGED
@@ -268,6 +268,7 @@ export class FileUpload {
|
|
268
268
|
* Start uploading all files
|
269
269
|
*/
|
270
270
|
async upload() {
|
271
|
+
console.log && console.log("FileUploader@upload():", this.fileUploads, this.options);
|
271
272
|
for (const fileUpload of this.fileUploads) {
|
272
273
|
const mimeType = fileUpload.file.mimeType || fileUpload.file.type;
|
273
274
|
const presignedUrl = this.options.presignedUploadUrl(this.options.directory, fileUpload.file.name, mimeType);
|
@@ -304,6 +305,8 @@ export class FileUpload {
|
|
304
305
|
// Set all the callbacks on the XHR requests
|
305
306
|
this.setXhrCallbacks();
|
306
307
|
|
308
|
+
console.log && console.log("FileUploader@upload():", "sending uploads");
|
309
|
+
|
307
310
|
// Send all the XHR file uploads
|
308
311
|
for (const fileUpload of this.fileUploads) {
|
309
312
|
fileUpload.xhr.send(fileUpload.body);
|