@progress/kendo-angular-upload 21.0.0-develop.9 → 21.0.1-develop.1
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/esm2022/common/util.mjs
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/* eslint-disable no-bitwise */
|
|
6
6
|
import { FileState } from '../types';
|
|
7
|
-
import { guid } from '@progress/kendo-angular-common';
|
|
7
|
+
import { guid, isDocumentAvailable } from '@progress/kendo-angular-common';
|
|
8
8
|
import { fileGroupMap, fileSVGGroupMap } from '../types/file-groups';
|
|
9
9
|
import { fileIcon } from '@progress/kendo-svg-icons';
|
|
10
10
|
/**
|
|
@@ -179,6 +179,9 @@ export const IGNORE_TARGET_CLASSES = 'k-icon k-select k-input k-multiselect-wrap
|
|
|
179
179
|
*/
|
|
180
180
|
export const UPLOAD_CLASSES = 'k-upload-button k-clear-selected k-upload-selected k-upload-action k-file';
|
|
181
181
|
const isVisible = (element) => {
|
|
182
|
+
if (!isDocumentAvailable()) {
|
|
183
|
+
return false;
|
|
184
|
+
}
|
|
182
185
|
const rect = element.getBoundingClientRect();
|
|
183
186
|
return !!(rect.width && rect.height) && window.getComputedStyle(element).visibility !== 'hidden';
|
|
184
187
|
};
|
|
@@ -10,7 +10,7 @@ export const packageMetadata = {
|
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCode: 'KENDOUIANGULAR',
|
|
12
12
|
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate:
|
|
14
|
-
version: '21.0.
|
|
13
|
+
publishDate: 1762953227,
|
|
14
|
+
version: '21.0.1-develop.1',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -6,7 +6,7 @@ import * as i1 from '@angular/common/http';
|
|
|
6
6
|
import { HttpHeaders, HttpRequest, HttpEventType, HttpResponse } from '@angular/common/http';
|
|
7
7
|
import * as i0 from '@angular/core';
|
|
8
8
|
import { EventEmitter, Injectable, Directive, ElementRef, ContentChild, ViewChild, Input, HostBinding, Output, Component, HostListener, ViewChildren, Inject, forwardRef, isDevMode, NgModule } from '@angular/core';
|
|
9
|
-
import { guid, normalizeNumpadKeys, Keys, isControlRequired, isChanged,
|
|
9
|
+
import { guid, isDocumentAvailable, normalizeNumpadKeys, Keys, isControlRequired, isChanged, KendoInput, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
10
10
|
import { fileAudioIcon, fileVideoIcon, fileImageIcon, fileTxtIcon, filePresentationIcon, fileDataIcon, fileProgrammingIcon, filePdfIcon, fileConfigIcon, fileZipIcon, fileDiscImageIcon, fileIcon, arrowRotateCwSmallIcon, playSmIcon, pauseSmIcon, cancelIcon, xIcon, copyIcon, checkIcon, exclamationCircleIcon, uploadIcon } from '@progress/kendo-svg-icons';
|
|
11
11
|
import { NgControl, NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
12
12
|
import * as i1$1 from '@progress/kendo-angular-l10n';
|
|
@@ -821,6 +821,9 @@ const IGNORE_TARGET_CLASSES = 'k-icon k-select k-input k-multiselect-wrap';
|
|
|
821
821
|
*/
|
|
822
822
|
const UPLOAD_CLASSES = 'k-upload-button k-clear-selected k-upload-selected k-upload-action k-file';
|
|
823
823
|
const isVisible = (element) => {
|
|
824
|
+
if (!isDocumentAvailable()) {
|
|
825
|
+
return false;
|
|
826
|
+
}
|
|
824
827
|
const rect = element.getBoundingClientRect();
|
|
825
828
|
return !!(rect.width && rect.height) && window.getComputedStyle(element).visibility !== 'hidden';
|
|
826
829
|
};
|
|
@@ -1582,8 +1585,8 @@ const packageMetadata = {
|
|
|
1582
1585
|
productName: 'Kendo UI for Angular',
|
|
1583
1586
|
productCode: 'KENDOUIANGULAR',
|
|
1584
1587
|
productCodes: ['KENDOUIANGULAR'],
|
|
1585
|
-
publishDate:
|
|
1586
|
-
version: '21.0.
|
|
1588
|
+
publishDate: 1762953227,
|
|
1589
|
+
version: '21.0.1-develop.1',
|
|
1587
1590
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
1588
1591
|
};
|
|
1589
1592
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-upload",
|
|
3
|
-
"version": "21.0.
|
|
3
|
+
"version": "21.0.1-develop.1",
|
|
4
4
|
"description": "Kendo UI Angular Upload Component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"package": {
|
|
20
20
|
"productName": "Kendo UI for Angular",
|
|
21
21
|
"productCode": "KENDOUIANGULAR",
|
|
22
|
-
"publishDate":
|
|
22
|
+
"publishDate": 1762953227,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -30,16 +30,16 @@
|
|
|
30
30
|
"@angular/forms": "18 - 20",
|
|
31
31
|
"@angular/platform-browser": "18 - 20",
|
|
32
32
|
"@progress/kendo-licensing": "^1.7.0",
|
|
33
|
-
"@progress/kendo-angular-common": "21.0.
|
|
34
|
-
"@progress/kendo-angular-l10n": "21.0.
|
|
35
|
-
"@progress/kendo-angular-icons": "21.0.
|
|
36
|
-
"@progress/kendo-angular-buttons": "21.0.
|
|
37
|
-
"@progress/kendo-angular-progressbar": "21.0.
|
|
33
|
+
"@progress/kendo-angular-common": "21.0.1-develop.1",
|
|
34
|
+
"@progress/kendo-angular-l10n": "21.0.1-develop.1",
|
|
35
|
+
"@progress/kendo-angular-icons": "21.0.1-develop.1",
|
|
36
|
+
"@progress/kendo-angular-buttons": "21.0.1-develop.1",
|
|
37
|
+
"@progress/kendo-angular-progressbar": "21.0.1-develop.1",
|
|
38
38
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"tslib": "^2.3.1",
|
|
42
|
-
"@progress/kendo-angular-schematics": "21.0.
|
|
42
|
+
"@progress/kendo-angular-schematics": "21.0.1-develop.1"
|
|
43
43
|
},
|
|
44
44
|
"schematics": "./schematics/collection.json",
|
|
45
45
|
"module": "fesm2022/progress-kendo-angular-upload.mjs",
|
|
@@ -11,9 +11,9 @@ function default_1(options) {
|
|
|
11
11
|
], peerDependencies: {
|
|
12
12
|
// peer dep of the icons
|
|
13
13
|
'@progress/kendo-svg-icons': '^4.0.0',
|
|
14
|
-
'@progress/kendo-angular-buttons': '21.0.
|
|
15
|
-
'@progress/kendo-angular-progressbar': '21.0.
|
|
16
|
-
'@progress/kendo-angular-popup': '21.0.
|
|
14
|
+
'@progress/kendo-angular-buttons': '21.0.1-develop.1',
|
|
15
|
+
'@progress/kendo-angular-progressbar': '21.0.1-develop.1',
|
|
16
|
+
'@progress/kendo-angular-popup': '21.0.1-develop.1',
|
|
17
17
|
} });
|
|
18
18
|
return (0, schematics_1.externalSchematic)('@progress/kendo-angular-schematics', 'ng-add', finalOptions);
|
|
19
19
|
}
|