@progress/kendo-angular-utils 18.5.0-develop.9 → 18.5.0
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.
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright © 2025 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { ElementRef, EventEmitter, NgZone, OnInit } from "@angular/core";
|
|
5
|
+
import { ElementRef, EventEmitter, NgZone, OnDestroy, OnInit } from "@angular/core";
|
|
6
6
|
import { NormalizedDragEvent } from "@progress/kendo-draggable-common";
|
|
7
7
|
import { DragStateService } from "./drag-state.service";
|
|
8
8
|
import { DropTargetEvent } from './events/drop-target-event';
|
|
@@ -10,7 +10,7 @@ import * as i0 from "@angular/core";
|
|
|
10
10
|
/**
|
|
11
11
|
* Represents the Kendo UI DropTarget directive for Angular.
|
|
12
12
|
*/
|
|
13
|
-
export declare class DropTargetDirective implements OnInit {
|
|
13
|
+
export declare class DropTargetDirective implements OnInit, OnDestroy {
|
|
14
14
|
private service;
|
|
15
15
|
private element;
|
|
16
16
|
private ngZone;
|
|
@@ -33,6 +33,7 @@ export declare class DropTargetDirective implements OnInit {
|
|
|
33
33
|
constructor(service: DragStateService, element: ElementRef, ngZone: NgZone);
|
|
34
34
|
private dropTarget;
|
|
35
35
|
ngOnInit(): void;
|
|
36
|
+
ngOnDestroy(): void;
|
|
36
37
|
/**
|
|
37
38
|
* @hidden
|
|
38
39
|
*/
|
|
@@ -44,6 +44,10 @@ export class DropTargetDirective {
|
|
|
44
44
|
this.initializeDropTarget();
|
|
45
45
|
this.service.dropTargets.push(this.dropTarget);
|
|
46
46
|
}
|
|
47
|
+
ngOnDestroy() {
|
|
48
|
+
const currentDropTargetIndex = this.service.dropTargets.indexOf(this.dropTarget);
|
|
49
|
+
this.service.dropTargets.splice(currentDropTargetIndex, 1);
|
|
50
|
+
}
|
|
47
51
|
/**
|
|
48
52
|
* @hidden
|
|
49
53
|
*/
|
|
@@ -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.5.0
|
|
13
|
+
publishDate: 1744288238,
|
|
14
|
+
version: '18.5.0',
|
|
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.5.0
|
|
58
|
+
publishDate: 1744288238,
|
|
59
|
+
version: '18.5.0',
|
|
60
60
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
61
61
|
};
|
|
62
62
|
|
|
@@ -2142,6 +2142,10 @@ class DropTargetDirective {
|
|
|
2142
2142
|
this.initializeDropTarget();
|
|
2143
2143
|
this.service.dropTargets.push(this.dropTarget);
|
|
2144
2144
|
}
|
|
2145
|
+
ngOnDestroy() {
|
|
2146
|
+
const currentDropTargetIndex = this.service.dropTargets.indexOf(this.dropTarget);
|
|
2147
|
+
this.service.dropTargets.splice(currentDropTargetIndex, 1);
|
|
2148
|
+
}
|
|
2145
2149
|
/**
|
|
2146
2150
|
* @hidden
|
|
2147
2151
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-utils",
|
|
3
|
-
"version": "18.5.0
|
|
3
|
+
"version": "18.5.0",
|
|
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": 1744288238,
|
|
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.5.0
|
|
32
|
+
"@progress/kendo-angular-common": "18.5.0",
|
|
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.5.0
|
|
37
|
+
"@progress/kendo-angular-schematics": "18.5.0",
|
|
38
38
|
"@progress/kendo-draggable-common": "^0.2.3"
|
|
39
39
|
},
|
|
40
40
|
"schematics": "./schematics/collection.json",
|