@progress/kendo-angular-upload 13.3.0-develop.3 → 13.3.0-develop.5

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.
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-upload',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1691757199,
13
- version: '13.3.0-develop.3',
12
+ publishDate: 1692003086,
13
+ version: '13.3.0-develop.5',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -385,7 +385,7 @@ export class UploadService {
385
385
  getChunkInfo(file) {
386
386
  let chunkInfo = this.chunkMap.get(file.uid);
387
387
  if (!chunkInfo) {
388
- const totalChunks = Math.ceil(file.size / this.chunk.size);
388
+ const totalChunks = file.size > 0 ? Math.ceil(file.size / this.chunk.size) : 1;
389
389
  chunkInfo = this.chunkMap.add(file.uid, totalChunks);
390
390
  }
391
391
  return chunkInfo;
@@ -1285,7 +1285,7 @@ class UploadService {
1285
1285
  getChunkInfo(file) {
1286
1286
  let chunkInfo = this.chunkMap.get(file.uid);
1287
1287
  if (!chunkInfo) {
1288
- const totalChunks = Math.ceil(file.size / this.chunk.size);
1288
+ const totalChunks = file.size > 0 ? Math.ceil(file.size / this.chunk.size) : 1;
1289
1289
  chunkInfo = this.chunkMap.add(file.uid, totalChunks);
1290
1290
  }
1291
1291
  return chunkInfo;
@@ -1539,8 +1539,8 @@ const packageMetadata = {
1539
1539
  name: '@progress/kendo-angular-upload',
1540
1540
  productName: 'Kendo UI for Angular',
1541
1541
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
1542
- publishDate: 1691757199,
1543
- version: '13.3.0-develop.3',
1542
+ publishDate: 1692003086,
1543
+ version: '13.3.0-develop.5',
1544
1544
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
1545
1545
  };
1546
1546
 
@@ -1285,7 +1285,7 @@ class UploadService {
1285
1285
  getChunkInfo(file) {
1286
1286
  let chunkInfo = this.chunkMap.get(file.uid);
1287
1287
  if (!chunkInfo) {
1288
- const totalChunks = Math.ceil(file.size / this.chunk.size);
1288
+ const totalChunks = file.size > 0 ? Math.ceil(file.size / this.chunk.size) : 1;
1289
1289
  chunkInfo = this.chunkMap.add(file.uid, totalChunks);
1290
1290
  }
1291
1291
  return chunkInfo;
@@ -1539,8 +1539,8 @@ const packageMetadata = {
1539
1539
  name: '@progress/kendo-angular-upload',
1540
1540
  productName: 'Kendo UI for Angular',
1541
1541
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
1542
- publishDate: 1691757199,
1543
- version: '13.3.0-develop.3',
1542
+ publishDate: 1692003086,
1543
+ version: '13.3.0-develop.5',
1544
1544
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
1545
1545
  };
1546
1546
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-upload",
3
- "version": "13.3.0-develop.3",
3
+ "version": "13.3.0-develop.5",
4
4
  "description": "Kendo UI Angular Upload Component",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -23,16 +23,16 @@
23
23
  "@angular/core": "13 - 16",
24
24
  "@angular/platform-browser": "13 - 16",
25
25
  "@progress/kendo-licensing": "^1.0.2",
26
- "@progress/kendo-angular-common": "13.3.0-develop.3",
27
- "@progress/kendo-angular-l10n": "13.3.0-develop.3",
28
- "@progress/kendo-angular-icons": "13.3.0-develop.3",
29
- "@progress/kendo-angular-buttons": "13.3.0-develop.3",
30
- "@progress/kendo-angular-progressbar": "13.3.0-develop.3",
26
+ "@progress/kendo-angular-common": "13.3.0-develop.5",
27
+ "@progress/kendo-angular-l10n": "13.3.0-develop.5",
28
+ "@progress/kendo-angular-icons": "13.3.0-develop.5",
29
+ "@progress/kendo-angular-buttons": "13.3.0-develop.5",
30
+ "@progress/kendo-angular-progressbar": "13.3.0-develop.5",
31
31
  "rxjs": "^6.5.3 || ^7.0.0"
32
32
  },
33
33
  "dependencies": {
34
34
  "tslib": "^2.3.1",
35
- "@progress/kendo-angular-schematics": "13.3.0-develop.3"
35
+ "@progress/kendo-angular-schematics": "13.3.0-develop.5"
36
36
  },
37
37
  "schematics": "./schematics/collection.json",
38
38
  "module": "fesm2015/progress-kendo-angular-upload.mjs",
@@ -10,9 +10,9 @@ function default_1(options) {
10
10
  ], peerDependencies: {
11
11
  // peer dep of the icons
12
12
  '@progress/kendo-svg-icons': '^1.0.0',
13
- '@progress/kendo-angular-buttons': '13.3.0-develop.3',
14
- '@progress/kendo-angular-progressbar': '13.3.0-develop.3',
15
- '@progress/kendo-angular-popup': '13.3.0-develop.3',
13
+ '@progress/kendo-angular-buttons': '13.3.0-develop.5',
14
+ '@progress/kendo-angular-progressbar': '13.3.0-develop.5',
15
+ '@progress/kendo-angular-popup': '13.3.0-develop.5',
16
16
  } });
17
17
  return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
18
18
  }