@progress/kendo-angular-utils 18.4.0-develop.1 → 18.4.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.
|
@@ -383,6 +383,9 @@ export class DragTargetContainerDirective {
|
|
|
383
383
|
this.scrollableParent.removeEventListener('scroll', this.onPointerMove);
|
|
384
384
|
}
|
|
385
385
|
const element = this.nativeElement;
|
|
386
|
+
if (!isDocumentAvailable()) {
|
|
387
|
+
return;
|
|
388
|
+
}
|
|
386
389
|
document.removeEventListener('pointermove', this.onPointerMove);
|
|
387
390
|
document.removeEventListener('pointerup', this.onPointerUp, true);
|
|
388
391
|
document.removeEventListener('pointercancel', this.onPointerUp);
|
|
@@ -629,6 +632,9 @@ export class DragTargetContainerDirective {
|
|
|
629
632
|
}
|
|
630
633
|
calculatePosition(element, event) {
|
|
631
634
|
let position = null;
|
|
635
|
+
if (!isDocumentAvailable()) {
|
|
636
|
+
return { x: 0, y: 0 };
|
|
637
|
+
}
|
|
632
638
|
if (element === this.hintElem) {
|
|
633
639
|
position = { x: event.clientX + window.scrollX, y: event.clientY + window.scrollY };
|
|
634
640
|
}
|
|
@@ -323,6 +323,9 @@ export class DragTargetDirective {
|
|
|
323
323
|
this.scrollableParent.removeEventListener('scroll', this.onPointerMove);
|
|
324
324
|
}
|
|
325
325
|
const element = this.nativeElement;
|
|
326
|
+
if (!isDocumentAvailable()) {
|
|
327
|
+
return;
|
|
328
|
+
}
|
|
326
329
|
document.removeEventListener('pointermove', this.onPointerMove);
|
|
327
330
|
document.removeEventListener('pointerup', this.onPointerUp, true);
|
|
328
331
|
document.removeEventListener('contextmenu', this.onContextMenu);
|
|
@@ -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: '18.4.
|
|
13
|
+
publishDate: 1743596483,
|
|
14
|
+
version: '18.4.1-develop.1',
|
|
15
15
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
16
|
};
|
|
@@ -55,8 +55,8 @@ const packageMetadata = {
|
|
|
55
55
|
productName: 'Kendo UI for Angular',
|
|
56
56
|
productCode: 'KENDOUIANGULAR',
|
|
57
57
|
productCodes: ['KENDOUIANGULAR'],
|
|
58
|
-
publishDate:
|
|
59
|
-
version: '18.4.
|
|
58
|
+
publishDate: 1743596483,
|
|
59
|
+
version: '18.4.1-develop.1',
|
|
60
60
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
61
61
|
};
|
|
62
62
|
|
|
@@ -943,6 +943,9 @@ class DragTargetContainerDirective {
|
|
|
943
943
|
this.scrollableParent.removeEventListener('scroll', this.onPointerMove);
|
|
944
944
|
}
|
|
945
945
|
const element = this.nativeElement;
|
|
946
|
+
if (!isDocumentAvailable()) {
|
|
947
|
+
return;
|
|
948
|
+
}
|
|
946
949
|
document.removeEventListener('pointermove', this.onPointerMove);
|
|
947
950
|
document.removeEventListener('pointerup', this.onPointerUp, true);
|
|
948
951
|
document.removeEventListener('pointercancel', this.onPointerUp);
|
|
@@ -1189,6 +1192,9 @@ class DragTargetContainerDirective {
|
|
|
1189
1192
|
}
|
|
1190
1193
|
calculatePosition(element, event) {
|
|
1191
1194
|
let position = null;
|
|
1195
|
+
if (!isDocumentAvailable()) {
|
|
1196
|
+
return { x: 0, y: 0 };
|
|
1197
|
+
}
|
|
1192
1198
|
if (element === this.hintElem) {
|
|
1193
1199
|
position = { x: event.clientX + window.scrollX, y: event.clientY + window.scrollY };
|
|
1194
1200
|
}
|
|
@@ -1568,6 +1574,9 @@ class DragTargetDirective {
|
|
|
1568
1574
|
this.scrollableParent.removeEventListener('scroll', this.onPointerMove);
|
|
1569
1575
|
}
|
|
1570
1576
|
const element = this.nativeElement;
|
|
1577
|
+
if (!isDocumentAvailable()) {
|
|
1578
|
+
return;
|
|
1579
|
+
}
|
|
1571
1580
|
document.removeEventListener('pointermove', this.onPointerMove);
|
|
1572
1581
|
document.removeEventListener('pointerup', this.onPointerUp, true);
|
|
1573
1582
|
document.removeEventListener('contextmenu', this.onContextMenu);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-utils",
|
|
3
|
-
"version": "18.4.
|
|
3
|
+
"version": "18.4.1-develop.1",
|
|
4
4
|
"description": "Kendo UI Angular utils 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": 1743596483,
|
|
23
23
|
"licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
|
|
24
24
|
}
|
|
25
25
|
},
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
"@angular/core": "16 - 19",
|
|
30
30
|
"@angular/platform-browser": "16 - 19",
|
|
31
31
|
"@progress/kendo-licensing": "^1.5.0",
|
|
32
|
-
"@progress/kendo-angular-common": "18.4.
|
|
32
|
+
"@progress/kendo-angular-common": "18.4.1-develop.1",
|
|
33
33
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"tslib": "^2.3.1",
|
|
37
|
-
"@progress/kendo-angular-schematics": "18.4.
|
|
37
|
+
"@progress/kendo-angular-schematics": "18.4.1-develop.1",
|
|
38
38
|
"@progress/kendo-draggable-common": "^0.2.3"
|
|
39
39
|
},
|
|
40
40
|
"schematics": "./schematics/collection.json",
|