@progress/kendo-angular-utils 19.1.2-develop.4 → 19.1.2-develop.6

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.
Files changed (44) hide show
  1. package/adaptive-breakpoints/adaptive-settings.d.ts +4 -4
  2. package/adaptive-breakpoints/adaptive-settings.service.d.ts +2 -2
  3. package/adaptive-breakpoints/adaptive.service.d.ts +6 -10
  4. package/adaptive-breakpoints/models/adaptive-settings.d.ts +6 -3
  5. package/directives.d.ts +20 -3
  6. package/drag-and-drop/draghandle.directive.d.ts +10 -2
  7. package/drag-and-drop/dragtarget-container.directive.d.ts +26 -25
  8. package/drag-and-drop/dragtarget.directive.d.ts +16 -15
  9. package/drag-and-drop/droptarget-container.directive.d.ts +12 -12
  10. package/drag-and-drop/droptarget.directive.d.ts +12 -4
  11. package/drag-and-drop/events/drag-target/drag-event.d.ts +6 -5
  12. package/drag-and-drop/events/drag-target/dragready-event.d.ts +5 -4
  13. package/drag-and-drop/events/drag-target/end-event.d.ts +5 -4
  14. package/drag-and-drop/events/drag-target/press-event.d.ts +5 -4
  15. package/drag-and-drop/events/drag-target/release-event.d.ts +5 -4
  16. package/drag-and-drop/events/drag-target/start-event.d.ts +5 -4
  17. package/drag-and-drop/events/drop-target-event.d.ts +3 -3
  18. package/drag-and-drop/models/autoscroll-options.d.ts +4 -4
  19. package/drag-and-drop/models/functions.d.ts +7 -9
  20. package/drag-and-drop/models/hint-settings.d.ts +3 -3
  21. package/drag-and-drop/models/scroll-direction.d.ts +3 -0
  22. package/drag-and-drop.module.d.ts +5 -17
  23. package/esm2022/adaptive-breakpoints/adaptive-settings.mjs +4 -4
  24. package/esm2022/adaptive-breakpoints/adaptive-settings.service.mjs +2 -2
  25. package/esm2022/adaptive-breakpoints/adaptive.service.mjs +6 -10
  26. package/esm2022/directives.mjs +20 -3
  27. package/esm2022/drag-and-drop/draghandle.directive.mjs +10 -2
  28. package/esm2022/drag-and-drop/dragtarget-container.directive.mjs +26 -25
  29. package/esm2022/drag-and-drop/dragtarget.directive.mjs +16 -15
  30. package/esm2022/drag-and-drop/droptarget-container.directive.mjs +12 -12
  31. package/esm2022/drag-and-drop/droptarget.directive.mjs +12 -4
  32. package/esm2022/drag-and-drop/events/drag-target/drag-event.mjs +6 -5
  33. package/esm2022/drag-and-drop/events/drag-target/dragready-event.mjs +5 -4
  34. package/esm2022/drag-and-drop/events/drag-target/end-event.mjs +5 -4
  35. package/esm2022/drag-and-drop/events/drag-target/press-event.mjs +5 -4
  36. package/esm2022/drag-and-drop/events/drag-target/release-event.mjs +5 -4
  37. package/esm2022/drag-and-drop/events/drag-target/start-event.mjs +5 -4
  38. package/esm2022/drag-and-drop/events/drop-target-event.mjs +3 -3
  39. package/esm2022/drag-and-drop.module.mjs +5 -17
  40. package/esm2022/package-metadata.mjs +2 -2
  41. package/esm2022/utils.module.mjs +5 -17
  42. package/fesm2022/progress-kendo-angular-utils.mjs +154 -141
  43. package/package.json +4 -4
  44. package/utils.module.d.ts +5 -17
@@ -12,25 +12,33 @@ import * as i0 from "@angular/core";
12
12
  import * as i1 from "./drag-state.service";
13
13
  /**
14
14
  * Represents the Kendo UI DropTarget directive for Angular.
15
+ * Use this directive to make an element a drop target for draggable items.
16
+ *
17
+ * ```html
18
+ * <div kendoDropTarget>
19
+ * Drop here
20
+ * </div>
21
+ * ```
22
+ *
15
23
  */
16
24
  export class DropTargetDirective {
17
25
  service;
18
26
  element;
19
27
  ngZone;
20
28
  /**
21
- * Fires when a DragTarget element enters the DropTarget.
29
+ * Fires when a drag target enters the drop target.
22
30
  */
23
31
  onDragEnter = new EventEmitter();
24
32
  /**
25
- * Fires when a DragTarget element is being dragged over the DropTarget.
33
+ * Fires when a drag target is dragged over the drop target.
26
34
  */
27
35
  onDragOver = new EventEmitter();
28
36
  /**
29
- * Fires when a DragTarget element leaves the DropTarget.
37
+ * Fires when a drag target leaves the drop target.
30
38
  */
31
39
  onDragLeave = new EventEmitter();
32
40
  /**
33
- * Fires when a DragTarget element is dropped over the DropTarget.
41
+ * Fires when a drag target is dropped over the drop target.
34
42
  */
35
43
  onDrop = new EventEmitter();
36
44
  constructor(service, element, ngZone) {
@@ -4,19 +4,20 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from '@progress/kendo-angular-common';
6
6
  /**
7
- * Arguments for the drag event of the DragTarget and DragTargetContainer.
7
+ * Arguments for the drag event of the `DragTarget` and `DragTargetContainer`.
8
8
  */
9
9
  export class DragTargetDragEvent extends PreventableEvent {
10
10
  /**
11
- * The normalized drag event.
11
+ * The information related to the current drag event.
12
+ * This is the normalized drag event that contains details about the drag operation.
12
13
  */
13
14
  dragEvent;
14
15
  /**
15
- * The DOM element that is being dragged.
16
+ * The DOM element being dragged.
16
17
  */
17
18
  dragTarget;
18
19
  /**
19
- * The hint of the DragTarget.
20
+ * The hint element of the `DragTarget`.
20
21
  */
21
22
  hintElement;
22
23
  /**
@@ -24,7 +25,7 @@ export class DragTargetDragEvent extends PreventableEvent {
24
25
  */
25
26
  dragTargetId;
26
27
  /**
27
- * The index of the current drag target in the collection of drag targets (applicable for the `DragTargetContainer` directive).
28
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
28
29
  */
29
30
  dragTargetIndex;
30
31
  /**
@@ -3,15 +3,16 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Arguments for the dragReady event of the DragTarget and DragTargetContainer.
6
+ * Arguments for the dragReady event of the `DragTarget` and `DragTargetContainer`.
7
7
  */
8
8
  export class DragTargetDragReadyEvent {
9
9
  /**
10
- * The normalized drag event.
10
+ * The information related to the current drag event.
11
+ * This is the normalized drag event that contains details about the drag operation.
11
12
  */
12
13
  dragEvent;
13
14
  /**
14
- * The DOM element that is being dragged.
15
+ * The DOM element being dragged.
15
16
  */
16
17
  dragTarget;
17
18
  /**
@@ -19,7 +20,7 @@ export class DragTargetDragReadyEvent {
19
20
  */
20
21
  dragTargetId;
21
22
  /**
22
- * The index of the current drag target in the collection of drag targets (applicable for the `DragTargetContainer` directive).
23
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
23
24
  */
24
25
  dragTargetIndex;
25
26
  /**
@@ -3,15 +3,16 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Arguments for the dragEnd event of the DragTarget and DragTargetContainer.
6
+ * Arguments for the dragEnd event of the `DragTarget` and `DragTargetContainer`.
7
7
  */
8
8
  export class DragTargetDragEndEvent {
9
9
  /**
10
- * The normalized drag event.
10
+ * The information related to the current drag event.
11
+ * This is the normalized drag event that contains details about the drag operation.
11
12
  */
12
13
  dragEvent;
13
14
  /**
14
- * The DOM element that is being dragged.
15
+ * The DOM element being dragged.
15
16
  */
16
17
  dragTarget;
17
18
  /**
@@ -19,7 +20,7 @@ export class DragTargetDragEndEvent {
19
20
  */
20
21
  dragTargetId;
21
22
  /**
22
- * The index of the current drag target in the collection of drag targets (applicable for the `DragTargetContainer` directive).
23
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
23
24
  */
24
25
  dragTargetIndex;
25
26
  /**
@@ -3,15 +3,16 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Arguments for the press event of the DragTarget and DragTargetContainer.
6
+ * Arguments for the press event of the `DragTarget` and `DragTargetContainer`.
7
7
  */
8
8
  export class DragTargetPressEvent {
9
9
  /**
10
- * The normalized drag event.
10
+ * The information related to the current drag event.
11
+ * This is the normalized drag event that contains details about the drag operation.
11
12
  */
12
13
  dragEvent;
13
14
  /**
14
- * The DOM element that is being dragged.
15
+ * The DOM element being dragged.
15
16
  */
16
17
  dragTarget;
17
18
  /**
@@ -19,7 +20,7 @@ export class DragTargetPressEvent {
19
20
  */
20
21
  dragTargetId;
21
22
  /**
22
- * The index of the current drag target in the collection of drag targets (applicable for the `DragTargetContainer` directive).
23
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
23
24
  */
24
25
  dragTargetIndex;
25
26
  /**
@@ -3,15 +3,16 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Arguments for the release event of the DragTarget and DragTargetContainer.
6
+ * Arguments for the release event of the `DragTarget` and `DragTargetContainer`.
7
7
  */
8
8
  export class DragTargetReleaseEvent {
9
9
  /**
10
- * The normalized drag event.
10
+ * The information related to the current drag event.
11
+ * This is the normalized drag event that contains details about the drag operation.
11
12
  */
12
13
  dragEvent;
13
14
  /**
14
- * The DOM element that is being dragged.
15
+ * The DOM element being dragged.
15
16
  */
16
17
  dragTarget;
17
18
  /**
@@ -19,7 +20,7 @@ export class DragTargetReleaseEvent {
19
20
  */
20
21
  dragTargetId;
21
22
  /**
22
- * The index of the current drag target in the collection of drag targets (applicable for the `DragTargetContainer` directive).
23
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
23
24
  */
24
25
  dragTargetIndex;
25
26
  /**
@@ -4,15 +4,16 @@
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { PreventableEvent } from '@progress/kendo-angular-common';
6
6
  /**
7
- * Arguments for the dragStart event of the DragTarget and DragTargetContainer.
7
+ * Arguments for the `dragStart` event of the `DragTarget` and `DragTargetContainer`.
8
8
  */
9
9
  export class DragTargetDragStartEvent extends PreventableEvent {
10
10
  /**
11
- * The normalized drag event.
11
+ * The information related to the current drag event.
12
+ * This is the normalized drag event that contains details about the drag operation.
12
13
  */
13
14
  dragEvent;
14
15
  /**
15
- * The DOM element that is being dragged.
16
+ * The DOM element being dragged.
16
17
  */
17
18
  dragTarget;
18
19
  /**
@@ -20,7 +21,7 @@ export class DragTargetDragStartEvent extends PreventableEvent {
20
21
  */
21
22
  dragTargetId;
22
23
  /**
23
- * The index of the current drag target in the collection of drag targets (applicable for the `DragTargetContainer` directive).
24
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
24
25
  */
25
26
  dragTargetIndex;
26
27
  /**
@@ -3,7 +3,7 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  /**
6
- * Arguments for the drag events of the DropTarget and DropTargetContainer directives.
6
+ * Arguments for the drag events of the `DropTarget` and `DropTargetContainer` directives.
7
7
  */
8
8
  export class DropTargetEvent {
9
9
  /**
@@ -23,11 +23,11 @@ export class DropTargetEvent {
23
23
  */
24
24
  dragData;
25
25
  /**
26
- * The index of the current drop target in the collection of drop targets (applicable for the `DropTargetContainer` directive).
26
+ * The index of the current drop target in the collection of drop targets. Applies to `DropTargetContainer` directive.
27
27
  */
28
28
  dropTargetIndex;
29
29
  /**
30
- * The hint of the DragTarget.
30
+ * The hint element of the `DragTarget`.
31
31
  */
32
32
  hintElement;
33
33
  /**
@@ -13,34 +13,22 @@ import * as i5 from "./drag-and-drop/droptarget-container.directive";
13
13
  import * as i6 from "./drag-and-drop/hint.component";
14
14
  // IMPORTANT: NgModule export kept for backwards compatibility
15
15
  /**
16
- * Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
16
+ * Represents the [`NgModule`](link:site.data.urls.angular['ngmodules'])
17
17
  * definition for the Drag and Drop directives.
18
18
  *
19
19
  * @example
20
- *
21
- * ```ts-no-run
22
- * // Import the DragAndDrop module
20
+ * ```ts
23
21
  * import { DragAndDropModule } from '@progress/kendo-angular-utils';
24
- *
25
- * // The browser platform with a compiler
26
22
  * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
27
- *
28
23
  * import { NgModule } from '@angular/core';
29
- *
30
- * // Import the app component
31
24
  * import { AppComponent } from './app.component';
32
25
  *
33
- * // Define the app module
34
- * _@NgModule({
35
- * declarations: [AppComponent], // declare app component
36
- * imports: [BrowserModule, DragAndDropModule], // import DragAndDropModule module
26
+ * @NgModule({
27
+ * declarations: [AppComponent],
28
+ * imports: [BrowserModule, DragAndDropModule],
37
29
  * bootstrap: [AppComponent]
38
30
  * })
39
31
  * export class AppModule {}
40
- *
41
- * // Compile and launch the module
42
- * platformBrowserDynamic().bootstrapModule(AppModule);
43
- *
44
32
  * ```
45
33
  */
46
34
  export class DragAndDropModule {
@@ -10,7 +10,7 @@ export const packageMetadata = {
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCode: 'KENDOUIANGULAR',
12
12
  productCodes: ['KENDOUIANGULAR'],
13
- publishDate: 1750156851,
14
- version: '19.1.2-develop.4',
13
+ publishDate: 1750433583,
14
+ version: '19.1.2-develop.6',
15
15
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
16
16
  };
@@ -13,34 +13,22 @@ import * as i5 from "./drag-and-drop/droptarget-container.directive";
13
13
  import * as i6 from "./drag-and-drop/hint.component";
14
14
  // IMPORTANT: NgModule export kept for backwards compatibility
15
15
  /**
16
- * Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
16
+ * Represents the [`NgModule`](link:site.data.urls.angular['ngmodules'])
17
17
  * definition for the Utils components.
18
18
  *
19
19
  * @example
20
- *
21
- * ```ts-no-run
22
- * // Import the Utils module
20
+ * ```ts
23
21
  * import { UtilsModule } from '@progress/kendo-angular-utils';
24
- *
25
- * // The browser platform with a compiler
26
22
  * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
27
- *
28
23
  * import { NgModule } from '@angular/core';
29
- *
30
- * // Import the app component
31
24
  * import { AppComponent } from './app.component';
32
25
  *
33
- * // Define the app module
34
- * _@NgModule({
35
- * declarations: [AppComponent], // declare app component
36
- * imports: [BrowserModule, UtilsModule], // import Utils module
26
+ * @NgModule({
27
+ * declarations: [AppComponent],
28
+ * imports: [BrowserModule, UtilsModule],
37
29
  * bootstrap: [AppComponent]
38
30
  * })
39
31
  * export class AppModule {}
40
- *
41
- * // Compile and launch the module
42
- * platformBrowserDynamic().bootstrapModule(AppModule);
43
- *
44
32
  * ```
45
33
  */
46
34
  export class UtilsModule {