quasar-ui-danx 0.3.36 → 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 -3
- 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 -1
package/dist/danx.es.js
CHANGED
@@ -9718,7 +9718,7 @@ class fs {
|
|
9718
9718
|
* Start uploading all files
|
9719
9719
|
*/
|
9720
9720
|
async upload() {
|
9721
|
-
console.log && console.log("FileUploader@upload()", this.fileUploads, this.options);
|
9721
|
+
console.log && console.log("FileUploader@upload():", this.fileUploads, this.options);
|
9722
9722
|
for (const e of this.fileUploads) {
|
9723
9723
|
const n = e.file.mimeType || e.file.type, r = this.options.presignedUploadUrl(this.options.directory, e.file.name, n), i = await fetch(r).then((l) => l.json());
|
9724
9724
|
if (!i.url) {
|
@@ -9730,7 +9730,7 @@ class fs {
|
|
9730
9730
|
const s = new XMLHttpRequest();
|
9731
9731
|
o ? (s.open("PUT", i.url), s.setRequestHeader("Content-Type", n), e.body = e.file) : (s.open("POST", i.url), e.body = e.formData), e.xhr = s;
|
9732
9732
|
}
|
9733
|
-
this.setXhrCallbacks();
|
9733
|
+
this.setXhrCallbacks(), console.log && console.log("FileUploader@upload():", "sending uploads");
|
9734
9734
|
for (const e of this.fileUploads)
|
9735
9735
|
e.xhr.send(e.body);
|
9736
9736
|
}
|
@@ -19428,7 +19428,7 @@ const VS = {
|
|
19428
19428
|
});
|
19429
19429
|
};
|
19430
19430
|
}
|
19431
|
-
}, pT = "quasar-ui-danx", gT = "0.3.
|
19431
|
+
}, pT = "quasar-ui-danx", gT = "0.3.37", bT = "Dan <dan@flytedesk.com>", yT = "DanX Vue / Quasar component library", xT = "MIT", vT = "module", wT = "dist/danx.es.js", ST = "dist/danx.es.js", TT = {
|
19432
19432
|
dev: "cd dev && quasar dev && cd ..",
|
19433
19433
|
build: "vite build",
|
19434
19434
|
preview: "vite preview",
|