@progress/kendo-vue-upload 4.2.0-dev.202401161027 → 4.3.0-dev.202401231815
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/es/Upload.js
CHANGED
|
@@ -360,7 +360,7 @@ var UploadVue2 = {
|
|
|
360
360
|
},
|
|
361
361
|
onUploadProgress: function onUploadProgress(uid, event) {
|
|
362
362
|
var _this = this;
|
|
363
|
-
var percentComplete = Math.round(100 * event.loaded / event.total)
|
|
363
|
+
var percentComplete = event.total ? Math.round(100 * event.loaded / event.total) : 0;
|
|
364
364
|
var newState = this.fileStateCopy;
|
|
365
365
|
var filesWithProgress = newState.filter(function (file) {
|
|
366
366
|
return file.uid === uid;
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-upload',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1706033643,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
package/dist/esm/Upload.js
CHANGED
|
@@ -360,7 +360,7 @@ var UploadVue2 = {
|
|
|
360
360
|
},
|
|
361
361
|
onUploadProgress: function onUploadProgress(uid, event) {
|
|
362
362
|
var _this = this;
|
|
363
|
-
var percentComplete = Math.round(100 * event.loaded / event.total)
|
|
363
|
+
var percentComplete = event.total ? Math.round(100 * event.loaded / event.total) : 0;
|
|
364
364
|
var newState = this.fileStateCopy;
|
|
365
365
|
var filesWithProgress = newState.filter(function (file) {
|
|
366
366
|
return file.uid === uid;
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-vue-upload',
|
|
6
6
|
productName: 'Kendo UI for Vue',
|
|
7
7
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1706033643,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
11
11
|
};
|
package/dist/npm/Upload.js
CHANGED
|
@@ -366,7 +366,7 @@ var UploadVue2 = {
|
|
|
366
366
|
},
|
|
367
367
|
onUploadProgress: function onUploadProgress(uid, event) {
|
|
368
368
|
var _this = this;
|
|
369
|
-
var percentComplete = Math.round(100 * event.loaded / event.total)
|
|
369
|
+
var percentComplete = event.total ? Math.round(100 * event.loaded / event.total) : 0;
|
|
370
370
|
var newState = this.fileStateCopy;
|
|
371
371
|
var filesWithProgress = newState.filter(function (file) {
|
|
372
372
|
return file.uid === uid;
|
|
@@ -8,7 +8,7 @@ exports.packageMetadata = {
|
|
|
8
8
|
name: '@progress/kendo-vue-upload',
|
|
9
9
|
productName: 'Kendo UI for Vue',
|
|
10
10
|
productCodes: ['KENDOUIVUE', 'KENDOUICOMPLETE'],
|
|
11
|
-
publishDate:
|
|
11
|
+
publishDate: 1706033643,
|
|
12
12
|
version: '',
|
|
13
13
|
licensingDocsUrl: 'https://www.telerik.com/kendo-vue-ui/my-license/?utm_medium=product&utm_source=kendovue&utm_campaign=kendo-ui-vue-purchase-license-keys-warning'
|
|
14
14
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-vue-upload",
|
|
3
3
|
"description": "Kendo UI for Vue Upload package",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.3.0-dev.202401231815",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/telerik/kendo-vue.git"
|
|
@@ -34,15 +34,15 @@
|
|
|
34
34
|
"vue": "^2.6.12 || ^3.0.2"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@progress/kendo-vue-buttons": "4.
|
|
38
|
-
"@progress/kendo-vue-common": "4.
|
|
39
|
-
"@progress/kendo-vue-progressbars": "4.
|
|
40
|
-
"axios": "
|
|
37
|
+
"@progress/kendo-vue-buttons": "4.3.0-dev.202401231815",
|
|
38
|
+
"@progress/kendo-vue-common": "4.3.0-dev.202401231815",
|
|
39
|
+
"@progress/kendo-vue-progressbars": "4.3.0-dev.202401231815",
|
|
40
|
+
"axios": "^1.6.5"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@progress/kendo-licensing": "^1.3.0",
|
|
44
44
|
"@progress/kendo-svg-icons": "^2.0.0",
|
|
45
|
-
"@progress/kendo-vue-intl": "4.
|
|
45
|
+
"@progress/kendo-vue-intl": "4.3.0-dev.202401231815"
|
|
46
46
|
},
|
|
47
47
|
"@progress": {
|
|
48
48
|
"friendlyName": "Upload",
|