@progress/kendo-angular-utils 13.0.0-develop.12 → 13.0.0-develop.14
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/esm2020/drag-and-drop/dragtarget-container.directive.mjs +4 -2
- package/esm2020/drag-and-drop/dragtarget.directive.mjs +4 -2
- package/esm2020/drag-and-drop/droptarget-container.directive.mjs +1 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-utils.mjs +13 -9
- package/fesm2020/progress-kendo-angular-utils.mjs +11 -7
- package/package.json +3 -3
|
@@ -548,8 +548,10 @@ export class DragTargetContainerDirective {
|
|
|
548
548
|
if (!this.dragStarted && this.threshold > 0) {
|
|
549
549
|
this.dragStarted = true;
|
|
550
550
|
}
|
|
551
|
-
|
|
552
|
-
|
|
551
|
+
if (elem) {
|
|
552
|
+
const styles = this.getStylesPerElement(elem);
|
|
553
|
+
setElementStyles(this.renderer, elem, styles);
|
|
554
|
+
}
|
|
553
555
|
}
|
|
554
556
|
calculatePosition(element, event) {
|
|
555
557
|
let position = null;
|
|
@@ -419,8 +419,10 @@ export class DragTargetDirective {
|
|
|
419
419
|
if (!this.dragStarted && this.threshold > 0) {
|
|
420
420
|
this.dragStarted = true;
|
|
421
421
|
}
|
|
422
|
-
|
|
423
|
-
|
|
422
|
+
if (elem) {
|
|
423
|
+
const styles = this.getStylesPerElement(elem);
|
|
424
|
+
setElementStyles(this.renderer, elem, styles);
|
|
425
|
+
}
|
|
424
426
|
}
|
|
425
427
|
calculatePosition(element, event) {
|
|
426
428
|
let position = null;
|
|
@@ -174,7 +174,7 @@ export class DropTargetContainerDirective {
|
|
|
174
174
|
}
|
|
175
175
|
emitZoneAwareEvent(event, normalizedEvent) {
|
|
176
176
|
const eventProps = {
|
|
177
|
-
dragTarget: this.service.dragTarget,
|
|
177
|
+
dragTarget: this.service.dragTarget?.element,
|
|
178
178
|
dropTarget: this.currentDropTargetElement,
|
|
179
179
|
dragData: this.service.dragData,
|
|
180
180
|
dragEvent: normalizedEvent,
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-utils',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '13.0.0-develop.
|
|
12
|
+
publishDate: 1685438538,
|
|
13
|
+
version: '13.0.0-develop.14',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -19,8 +19,8 @@ const packageMetadata = {
|
|
|
19
19
|
name: '@progress/kendo-angular-utils',
|
|
20
20
|
productName: 'Kendo UI for Angular',
|
|
21
21
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
22
|
-
publishDate:
|
|
23
|
-
version: '13.0.0-develop.
|
|
22
|
+
publishDate: 1685438538,
|
|
23
|
+
version: '13.0.0-develop.14',
|
|
24
24
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -848,8 +848,10 @@ class DragTargetDirective {
|
|
|
848
848
|
if (!this.dragStarted && this.threshold > 0) {
|
|
849
849
|
this.dragStarted = true;
|
|
850
850
|
}
|
|
851
|
-
|
|
852
|
-
|
|
851
|
+
if (elem) {
|
|
852
|
+
const styles = this.getStylesPerElement(elem);
|
|
853
|
+
setElementStyles(this.renderer, elem, styles);
|
|
854
|
+
}
|
|
853
855
|
}
|
|
854
856
|
calculatePosition(element, event) {
|
|
855
857
|
let position = null;
|
|
@@ -1597,8 +1599,10 @@ class DragTargetContainerDirective {
|
|
|
1597
1599
|
if (!this.dragStarted && this.threshold > 0) {
|
|
1598
1600
|
this.dragStarted = true;
|
|
1599
1601
|
}
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
+
if (elem) {
|
|
1603
|
+
const styles = this.getStylesPerElement(elem);
|
|
1604
|
+
setElementStyles(this.renderer, elem, styles);
|
|
1605
|
+
}
|
|
1602
1606
|
}
|
|
1603
1607
|
calculatePosition(element, event) {
|
|
1604
1608
|
let position = null;
|
|
@@ -1833,15 +1837,15 @@ class DropTargetContainerDirective {
|
|
|
1833
1837
|
this.previousDropTargets = this.allDropTargets;
|
|
1834
1838
|
}
|
|
1835
1839
|
emitZoneAwareEvent(event, normalizedEvent) {
|
|
1836
|
-
var _a;
|
|
1840
|
+
var _a, _b;
|
|
1837
1841
|
const eventProps = {
|
|
1838
|
-
dragTarget: this.service.dragTarget,
|
|
1842
|
+
dragTarget: (_a = this.service.dragTarget) === null || _a === void 0 ? void 0 : _a.element,
|
|
1839
1843
|
dropTarget: this.currentDropTargetElement,
|
|
1840
1844
|
dragData: this.service.dragData,
|
|
1841
1845
|
dragEvent: normalizedEvent,
|
|
1842
1846
|
dropTargetIndex: this.service.dropIndex
|
|
1843
1847
|
};
|
|
1844
|
-
if (isPresent((
|
|
1848
|
+
if (isPresent((_b = this.service.dragTarget) === null || _b === void 0 ? void 0 : _b.hint)) {
|
|
1845
1849
|
eventProps.hintElement = this.service.dragTarget.hint;
|
|
1846
1850
|
}
|
|
1847
1851
|
const eventArgs = new DropTargetEvent(eventProps);
|
|
@@ -19,8 +19,8 @@ const packageMetadata = {
|
|
|
19
19
|
name: '@progress/kendo-angular-utils',
|
|
20
20
|
productName: 'Kendo UI for Angular',
|
|
21
21
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
22
|
-
publishDate:
|
|
23
|
-
version: '13.0.0-develop.
|
|
22
|
+
publishDate: 1685438538,
|
|
23
|
+
version: '13.0.0-develop.14',
|
|
24
24
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
25
25
|
};
|
|
26
26
|
|
|
@@ -847,8 +847,10 @@ class DragTargetDirective {
|
|
|
847
847
|
if (!this.dragStarted && this.threshold > 0) {
|
|
848
848
|
this.dragStarted = true;
|
|
849
849
|
}
|
|
850
|
-
|
|
851
|
-
|
|
850
|
+
if (elem) {
|
|
851
|
+
const styles = this.getStylesPerElement(elem);
|
|
852
|
+
setElementStyles(this.renderer, elem, styles);
|
|
853
|
+
}
|
|
852
854
|
}
|
|
853
855
|
calculatePosition(element, event) {
|
|
854
856
|
let position = null;
|
|
@@ -1594,8 +1596,10 @@ class DragTargetContainerDirective {
|
|
|
1594
1596
|
if (!this.dragStarted && this.threshold > 0) {
|
|
1595
1597
|
this.dragStarted = true;
|
|
1596
1598
|
}
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
+
if (elem) {
|
|
1600
|
+
const styles = this.getStylesPerElement(elem);
|
|
1601
|
+
setElementStyles(this.renderer, elem, styles);
|
|
1602
|
+
}
|
|
1599
1603
|
}
|
|
1600
1604
|
calculatePosition(element, event) {
|
|
1601
1605
|
let position = null;
|
|
@@ -1831,7 +1835,7 @@ class DropTargetContainerDirective {
|
|
|
1831
1835
|
}
|
|
1832
1836
|
emitZoneAwareEvent(event, normalizedEvent) {
|
|
1833
1837
|
const eventProps = {
|
|
1834
|
-
dragTarget: this.service.dragTarget,
|
|
1838
|
+
dragTarget: this.service.dragTarget?.element,
|
|
1835
1839
|
dropTarget: this.currentDropTargetElement,
|
|
1836
1840
|
dragData: this.service.dragData,
|
|
1837
1841
|
dragEvent: normalizedEvent,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-utils",
|
|
3
|
-
"version": "13.0.0-develop.
|
|
3
|
+
"version": "13.0.0-develop.14",
|
|
4
4
|
"description": "Kendo UI Angular utils component",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,12 +23,12 @@
|
|
|
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.0.0-develop.
|
|
26
|
+
"@progress/kendo-angular-common": "13.0.0-develop.14",
|
|
27
27
|
"rxjs": "^6.5.3 || ^7.0.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"tslib": "^2.3.1",
|
|
31
|
-
"@progress/kendo-angular-schematics": "13.0.0-develop.
|
|
31
|
+
"@progress/kendo-angular-schematics": "13.0.0-develop.14",
|
|
32
32
|
"@progress/kendo-draggable-common": "^0.2.3"
|
|
33
33
|
},
|
|
34
34
|
"schematics": "./schematics/collection.json",
|