@progress/kendo-angular-utils 18.1.0 → 18.1.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.
|
@@ -630,7 +630,7 @@ export class DragTargetContainerDirective {
|
|
|
630
630
|
calculatePosition(element, event) {
|
|
631
631
|
let position = null;
|
|
632
632
|
if (element === this.hintElem) {
|
|
633
|
-
position = { x: event.clientX, y: event.clientY };
|
|
633
|
+
position = { x: event.clientX + window.scrollX, y: event.clientY + window.scrollY };
|
|
634
634
|
}
|
|
635
635
|
else {
|
|
636
636
|
position = { x: event.clientX - this.initialPosition.x + event.scrollX, y: event.clientY - this.initialPosition.y + event.scrollY };
|
|
@@ -639,10 +639,9 @@ export class DragTargetContainerDirective {
|
|
|
639
639
|
}
|
|
640
640
|
getStylesPerElement(element) {
|
|
641
641
|
if (element === this.hintElem) {
|
|
642
|
-
const hintCoordinates = { x: this.position.x - this.initialPosition.x, y: this.position.y - this.initialPosition.y };
|
|
643
642
|
return {
|
|
644
|
-
top: `${
|
|
645
|
-
left: `${
|
|
643
|
+
top: `${this.position.y}px`,
|
|
644
|
+
left: `${this.position.x}px`,
|
|
646
645
|
transition: 'none',
|
|
647
646
|
position: 'absolute',
|
|
648
647
|
zIndex: 1999
|
|
@@ -501,7 +501,7 @@ export class DragTargetDirective {
|
|
|
501
501
|
calculatePosition(element, event) {
|
|
502
502
|
let position = null;
|
|
503
503
|
if (element === this.hintElem) {
|
|
504
|
-
position = { x: event.clientX, y: event.clientY };
|
|
504
|
+
position = { x: event.clientX + window.scrollX, y: event.clientY + window.scrollY };
|
|
505
505
|
}
|
|
506
506
|
else {
|
|
507
507
|
position = { x: event.clientX - this.initialPosition.x + event.scrollX, y: event.clientY - this.initialPosition.y + event.scrollY };
|
|
@@ -534,7 +534,7 @@ export class DragTargetDirective {
|
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragTargetDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.DragStateService }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
537
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DragTargetDirective, isStandalone: true, selector: "[kendoDragTarget]", inputs: { hint: "hint", threshold: "threshold", autoScroll: "autoScroll", dragTargetId: "dragTargetId", dragDelay: "dragDelay", restrictByAxis: "restrictByAxis", mode: "mode", dragData: "dragData", cursorStyle: "cursorStyle" }, outputs: { onPress: "onPress", onDragStart: "onDragStart", onDrag: "onDrag", onDragReady: "onDragReady", onRelease: "onRelease", onDragEnd: "onDragEnd" }, host: { properties: { "style.touch-action": "this.touchActionStyle" } }, queries: [{ propertyName: "dragHandles", predicate: DragHandleDirective }], exportAs: ["kendoDragTarget"], ngImport: i0 });
|
|
537
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DragTargetDirective, isStandalone: true, selector: "[kendoDragTarget]", inputs: { hint: "hint", threshold: "threshold", autoScroll: "autoScroll", dragTargetId: "dragTargetId", dragDelay: "dragDelay", restrictByAxis: "restrictByAxis", mode: "mode", dragData: "dragData", cursorStyle: "cursorStyle" }, outputs: { onPress: "onPress", onDragStart: "onDragStart", onDrag: "onDrag", onDragReady: "onDragReady", onRelease: "onRelease", onDragEnd: "onDragEnd" }, host: { properties: { "style.touch-action": "this.touchActionStyle" } }, queries: [{ propertyName: "dragHandles", predicate: DragHandleDirective, descendants: true }], exportAs: ["kendoDragTarget"], ngImport: i0 });
|
|
538
538
|
}
|
|
539
539
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragTargetDirective, decorators: [{
|
|
540
540
|
type: Directive,
|
|
@@ -578,5 +578,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
578
578
|
type: Output
|
|
579
579
|
}], dragHandles: [{
|
|
580
580
|
type: ContentChildren,
|
|
581
|
-
args: [DragHandleDirective]
|
|
581
|
+
args: [DragHandleDirective, { descendants: true }]
|
|
582
582
|
}] } });
|
|
@@ -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.1.
|
|
13
|
+
publishDate: 1739868492,
|
|
14
|
+
version: '18.1.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.1.
|
|
58
|
+
publishDate: 1739868492,
|
|
59
|
+
version: '18.1.1-develop.1',
|
|
60
60
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
61
61
|
};
|
|
62
62
|
|
|
@@ -1190,7 +1190,7 @@ class DragTargetContainerDirective {
|
|
|
1190
1190
|
calculatePosition(element, event) {
|
|
1191
1191
|
let position = null;
|
|
1192
1192
|
if (element === this.hintElem) {
|
|
1193
|
-
position = { x: event.clientX, y: event.clientY };
|
|
1193
|
+
position = { x: event.clientX + window.scrollX, y: event.clientY + window.scrollY };
|
|
1194
1194
|
}
|
|
1195
1195
|
else {
|
|
1196
1196
|
position = { x: event.clientX - this.initialPosition.x + event.scrollX, y: event.clientY - this.initialPosition.y + event.scrollY };
|
|
@@ -1199,10 +1199,9 @@ class DragTargetContainerDirective {
|
|
|
1199
1199
|
}
|
|
1200
1200
|
getStylesPerElement(element) {
|
|
1201
1201
|
if (element === this.hintElem) {
|
|
1202
|
-
const hintCoordinates = { x: this.position.x - this.initialPosition.x, y: this.position.y - this.initialPosition.y };
|
|
1203
1202
|
return {
|
|
1204
|
-
top: `${
|
|
1205
|
-
left: `${
|
|
1203
|
+
top: `${this.position.y}px`,
|
|
1204
|
+
left: `${this.position.x}px`,
|
|
1206
1205
|
transition: 'none',
|
|
1207
1206
|
position: 'absolute',
|
|
1208
1207
|
zIndex: 1999
|
|
@@ -1747,7 +1746,7 @@ class DragTargetDirective {
|
|
|
1747
1746
|
calculatePosition(element, event) {
|
|
1748
1747
|
let position = null;
|
|
1749
1748
|
if (element === this.hintElem) {
|
|
1750
|
-
position = { x: event.clientX, y: event.clientY };
|
|
1749
|
+
position = { x: event.clientX + window.scrollX, y: event.clientY + window.scrollY };
|
|
1751
1750
|
}
|
|
1752
1751
|
else {
|
|
1753
1752
|
position = { x: event.clientX - this.initialPosition.x + event.scrollX, y: event.clientY - this.initialPosition.y + event.scrollY };
|
|
@@ -1780,7 +1779,7 @@ class DragTargetDirective {
|
|
|
1780
1779
|
}
|
|
1781
1780
|
}
|
|
1782
1781
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragTargetDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: DragStateService }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1783
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DragTargetDirective, isStandalone: true, selector: "[kendoDragTarget]", inputs: { hint: "hint", threshold: "threshold", autoScroll: "autoScroll", dragTargetId: "dragTargetId", dragDelay: "dragDelay", restrictByAxis: "restrictByAxis", mode: "mode", dragData: "dragData", cursorStyle: "cursorStyle" }, outputs: { onPress: "onPress", onDragStart: "onDragStart", onDrag: "onDrag", onDragReady: "onDragReady", onRelease: "onRelease", onDragEnd: "onDragEnd" }, host: { properties: { "style.touch-action": "this.touchActionStyle" } }, queries: [{ propertyName: "dragHandles", predicate: DragHandleDirective }], exportAs: ["kendoDragTarget"], ngImport: i0 });
|
|
1782
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "16.2.12", type: DragTargetDirective, isStandalone: true, selector: "[kendoDragTarget]", inputs: { hint: "hint", threshold: "threshold", autoScroll: "autoScroll", dragTargetId: "dragTargetId", dragDelay: "dragDelay", restrictByAxis: "restrictByAxis", mode: "mode", dragData: "dragData", cursorStyle: "cursorStyle" }, outputs: { onPress: "onPress", onDragStart: "onDragStart", onDrag: "onDrag", onDragReady: "onDragReady", onRelease: "onRelease", onDragEnd: "onDragEnd" }, host: { properties: { "style.touch-action": "this.touchActionStyle" } }, queries: [{ propertyName: "dragHandles", predicate: DragHandleDirective, descendants: true }], exportAs: ["kendoDragTarget"], ngImport: i0 });
|
|
1784
1783
|
}
|
|
1785
1784
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: DragTargetDirective, decorators: [{
|
|
1786
1785
|
type: Directive,
|
|
@@ -1824,7 +1823,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1824
1823
|
type: Output
|
|
1825
1824
|
}], dragHandles: [{
|
|
1826
1825
|
type: ContentChildren,
|
|
1827
|
-
args: [DragHandleDirective]
|
|
1826
|
+
args: [DragHandleDirective, { descendants: true }]
|
|
1828
1827
|
}] } });
|
|
1829
1828
|
|
|
1830
1829
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-utils",
|
|
3
|
-
"version": "18.1.
|
|
3
|
+
"version": "18.1.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": 1739868492,
|
|
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.4.0",
|
|
32
|
-
"@progress/kendo-angular-common": "18.1.
|
|
32
|
+
"@progress/kendo-angular-common": "18.1.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.1.
|
|
37
|
+
"@progress/kendo-angular-schematics": "18.1.1-develop.1",
|
|
38
38
|
"@progress/kendo-draggable-common": "^0.2.3"
|
|
39
39
|
},
|
|
40
40
|
"schematics": "./schematics/collection.json",
|