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/dist/danx.es.js
    CHANGED
    
    | @@ -9718,6 +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 9722 | 
             
                for (const e of this.fileUploads) {
         | 
| 9722 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());
         | 
| 9723 9724 | 
             
                  if (!i.url) {
         | 
| @@ -9729,7 +9730,7 @@ class fs { | |
| 9729 9730 | 
             
                  const s = new XMLHttpRequest();
         | 
| 9730 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;
         | 
| 9731 9732 | 
             
                }
         | 
| 9732 | 
            -
                this.setXhrCallbacks();
         | 
| 9733 | 
            +
                this.setXhrCallbacks(), console.log && console.log("FileUploader@upload():", "sending uploads");
         | 
| 9733 9734 | 
             
                for (const e of this.fileUploads)
         | 
| 9734 9735 | 
             
                  e.xhr.send(e.body);
         | 
| 9735 9736 | 
             
              }
         | 
| @@ -19427,7 +19428,7 @@ const VS = { | |
| 19427 19428 | 
             
                  });
         | 
| 19428 19429 | 
             
                };
         | 
| 19429 19430 | 
             
              }
         | 
| 19430 | 
            -
            }, 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 = {
         | 
| 19431 19432 | 
             
              dev: "cd dev && quasar dev && cd ..",
         | 
| 19432 19433 | 
             
              build: "vite build",
         | 
| 19433 19434 | 
             
              preview: "vite preview",
         |