@progress/kendo-angular-utils 24.2.2-develop.9 → 25.0.0-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.
Files changed (39) hide show
  1. package/fesm2022/progress-kendo-angular-utils.mjs +37 -37
  2. package/index.d.ts +1093 -13
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +8 -8
  5. package/adaptive-breakpoints/adaptive-settings.d.ts +0 -21
  6. package/adaptive-breakpoints/adaptive-settings.service.d.ts +0 -24
  7. package/adaptive-breakpoints/adaptive.service.d.ts +0 -57
  8. package/adaptive-breakpoints/index.d.ts +0 -9
  9. package/adaptive-breakpoints/models/adaptive-settings.d.ts +0 -24
  10. package/adaptive-breakpoints/models/adaptive-size.d.ts +0 -9
  11. package/directives.d.ts +0 -36
  12. package/drag-and-drop/drag-state.service.d.ts +0 -58
  13. package/drag-and-drop/draghandle.directive.d.ts +0 -31
  14. package/drag-and-drop/dragtarget-container.directive.d.ts +0 -179
  15. package/drag-and-drop/dragtarget.directive.d.ts +0 -149
  16. package/drag-and-drop/droptarget-container.directive.d.ts +0 -88
  17. package/drag-and-drop/droptarget.directive.d.ts +0 -65
  18. package/drag-and-drop/events/drag-target/drag-event.d.ts +0 -46
  19. package/drag-and-drop/events/drag-target/dragready-event.d.ts +0 -31
  20. package/drag-and-drop/events/drag-target/end-event.d.ts +0 -41
  21. package/drag-and-drop/events/drag-target/index.d.ts +0 -10
  22. package/drag-and-drop/events/drag-target/press-event.d.ts +0 -41
  23. package/drag-and-drop/events/drag-target/release-event.d.ts +0 -41
  24. package/drag-and-drop/events/drag-target/start-event.d.ts +0 -42
  25. package/drag-and-drop/events/drop-target-event.d.ts +0 -48
  26. package/drag-and-drop/events/index.d.ts +0 -6
  27. package/drag-and-drop/hint.component.d.ts +0 -21
  28. package/drag-and-drop/models/autoscroll-options.d.ts +0 -23
  29. package/drag-and-drop/models/coordinates.d.ts +0 -11
  30. package/drag-and-drop/models/drag-axis.d.ts +0 -8
  31. package/drag-and-drop/models/drag-mode.d.ts +0 -8
  32. package/drag-and-drop/models/functions.d.ts +0 -45
  33. package/drag-and-drop/models/hint-settings.d.ts +0 -22
  34. package/drag-and-drop/models/index.d.ts +0 -11
  35. package/drag-and-drop/models/scroll-direction.d.ts +0 -11
  36. package/drag-and-drop/util.d.ts +0 -34
  37. package/drag-and-drop.module.d.ts +0 -35
  38. package/package-metadata.d.ts +0 -9
  39. package/utils.module.d.ts +0 -35
package/index.d.ts CHANGED
@@ -2,17 +2,1097 @@
2
2
  * Copyright © 2026 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
- export * from './directives';
6
- export { UtilsModule } from './utils.module';
7
- export { DragAndDropModule } from './drag-and-drop.module';
8
- export { DragTargetDirective } from './drag-and-drop/dragtarget.directive';
9
- export { DragHandleDirective } from './drag-and-drop/draghandle.directive';
10
- export { DropTargetDirective } from './drag-and-drop/droptarget.directive';
11
- export { DragTargetContainerDirective } from './drag-and-drop/dragtarget-container.directive';
12
- export { DropTargetContainerDirective } from './drag-and-drop/droptarget-container.directive';
13
- export { HintComponent } from './drag-and-drop/hint.component';
14
- export * from './drag-and-drop/models/index';
15
- export { DropTargetEvent } from './drag-and-drop/events';
16
- export * from './drag-and-drop/events/drag-target';
5
+ import * as i0 from '@angular/core';
6
+ import { ElementRef, TemplateRef, ViewContainerRef, OnInit, AfterContentInit, OnDestroy, EventEmitter, QueryList, Renderer2, NgZone, AfterViewInit, ChangeDetectorRef, InjectionToken } from '@angular/core';
7
+ import { NormalizedDragEvent, DragTarget, DropTarget, DragAndDropState, DragAndDropAction } from '@progress/kendo-draggable-common';
17
8
  export { NormalizedDragEvent } from '@progress/kendo-draggable-common';
18
- export * from './adaptive-breakpoints';
9
+ import { PreventableEvent } from '@progress/kendo-angular-common';
10
+ import { Subject } from 'rxjs';
11
+
12
+ /**
13
+ * Represents the Kendo UI DragHandle directive for Angular.
14
+ * Use this directive to specify an element inside a drag target as a handle for dragging instead of the drag target itself.
15
+ *
16
+ * ```html
17
+ * <div kendoDragTarget>
18
+ * <button kendoDragHandle kendoButton>
19
+ * Drag me
20
+ * </button>
21
+ * </div>
22
+ * ```
23
+ */
24
+ declare class DragHandleDirective {
25
+ element: ElementRef;
26
+ touchActionStyle: string;
27
+ /**
28
+ * Sets the cursor style of the drag handle. Accepts same values as the [CSS `cursor` property](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#values).
29
+ *
30
+ * @default 'move'
31
+ */
32
+ cursorStyle: string;
33
+ constructor(element: ElementRef);
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragHandleDirective, never>;
35
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DragHandleDirective, "[kendoDragHandle]", ["kendoDragHandle"], { "cursorStyle": { "alias": "cursorStyle"; "required": false; }; }, {}, never, never, true, never>;
36
+ }
37
+
38
+ /**
39
+ * Represents the autoscroll direction during drag-and-drop operations.
40
+ */
41
+ interface ScrollDirection {
42
+ horizontal: boolean;
43
+ vertical: boolean;
44
+ }
45
+
46
+ /**
47
+ * Represents additional configuration options for the autoScroll feature of the DragTarget.
48
+ */
49
+ interface AutoScrollOptions {
50
+ /**
51
+ * Sets the element for boundary detection. Used to calculate the autoScroll velocity.
52
+ */
53
+ boundaryElementRef?: ElementRef;
54
+ /**
55
+ * Sets the direction for the autoScroll feature.
56
+ */
57
+ direction?: ScrollDirection;
58
+ /**
59
+ * Enables or disables the autoScroll feature.
60
+ */
61
+ enabled?: boolean;
62
+ }
63
+
64
+ /**
65
+ * Represents the callback used by the `dragData` property of the [`DragTarget`](https://www.telerik.com/kendo-angular-ui/components/utils/api/dragtargetdirective) and [`DragTargetContainer`](https://www.telerik.com/kendo-angular-ui/components/utils/api/dragtargetcontainerdirective) directives.
66
+ * It returns the custom data that will be available in the events of the respective [`DropTarget`](https://www.telerik.com/kendo-angular-ui/components/utils/api/droptargetdirective) or [`DropTargetContainer`](https://www.telerik.com/kendo-angular-ui/components/utils/api/droptargetcontainerdirective) directives upon interaction.
67
+ *
68
+ */
69
+ type DragTargetDataFn = (args: DragTargetDataArgs) => any;
70
+ /**
71
+ * Represents the callback used by the `dragTargetId` property of the [`DragTargetContainer`](https://www.telerik.com/kendo-angular-ui/components/utils/api/dragtargetcontainerdirective) directive.
72
+ * It returns a custom identifier that will be available in the events of the respective directive upon its interaction with a valid DropTarget.
73
+ */
74
+ type DragTargetIdFn = (args: DragTargetIdArgs) => any;
75
+ /**
76
+ * Represents the callback arguments for the `dragData` property.
77
+ */
78
+ interface DragTargetDataArgs {
79
+ /**
80
+ * The drag target HTML element.
81
+ */
82
+ dragTarget: HTMLElement;
83
+ /**
84
+ * The drag target unique identifier, result from executing the callback used by the `dragTargetId` property. Applies to `DragTargetContainerDirective`.
85
+ */
86
+ dragTargetId: any;
87
+ /**
88
+ * The index of the current drag target in the collection. Applies to `DragTargetContainerDirective`.
89
+ */
90
+ dragTargetIndex: number;
91
+ }
92
+ /**
93
+ * Represents the callback arguments for the `dragTargetId` property.
94
+ */
95
+ interface DragTargetIdArgs {
96
+ /**
97
+ * The drag target HTML element.
98
+ */
99
+ dragTarget: HTMLElement;
100
+ /**
101
+ * The index of the current drag target in the collection. Applies to `DragTargetContainerDirective`.
102
+ */
103
+ dragTargetIndex: number;
104
+ }
105
+
106
+ /**
107
+ * Represents a unified type for all coordinates.
108
+ */
109
+ interface Coordinates {
110
+ x: number;
111
+ y: number;
112
+ }
113
+
114
+ /**
115
+ * Represents additional configuration options for the hint element of the DragTarget and DragTargetContainer directives.
116
+ */
117
+ interface HintSettings {
118
+ /**
119
+ * Renders the given template as a hint for the current drag target.
120
+ */
121
+ hintTemplate?: TemplateRef<any>;
122
+ /**
123
+ * Sets the CSS classes for the hint host element when using the default hint. Supports values accepted by [`ngClass`](link:site.data.urls.angular['ngclassapi']).
124
+ */
125
+ hintClass?: any;
126
+ /**
127
+ * Controls the hint container. By default, the hint is appended to the document body.
128
+ */
129
+ appendTo?: ViewContainerRef;
130
+ }
131
+
132
+ /**
133
+ * Represents the axis to which the dragging will be restricted.
134
+ */
135
+ type DragAxis = 'horizontal' | 'vertical';
136
+
137
+ /**
138
+ * Represents the available modes for the drag action.
139
+ */
140
+ type DragMode = 'auto' | 'manual';
141
+
142
+ /**
143
+ * Arguments for the press event of the `DragTarget` and `DragTargetContainer`.
144
+ */
145
+ declare class DragTargetPressEvent {
146
+ /**
147
+ * The information related to the current drag event.
148
+ * This is the normalized drag event that contains details about the drag operation.
149
+ */
150
+ dragEvent: NormalizedDragEvent;
151
+ /**
152
+ * The DOM element being dragged.
153
+ */
154
+ dragTarget: HTMLElement;
155
+ /**
156
+ * The identifier passed to the `dragTargetId` input property of the `DragTarget` or `DragTargetContainer` directive.
157
+ */
158
+ dragTargetId?: any;
159
+ /**
160
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
161
+ */
162
+ dragTargetIndex?: number;
163
+ /**
164
+ * Left for backward compatibility for the DragTarget deprecated events.
165
+ * @hidden
166
+ */
167
+ get normalizedEvent(): NormalizedDragEvent;
168
+ /**
169
+ * Left for backward compatibility for the DragTarget deprecated events.
170
+ * @hidden
171
+ */
172
+ get hostElement(): HTMLElement;
173
+ /**
174
+ * @hidden
175
+ */
176
+ constructor(args?: any);
177
+ }
178
+
179
+ /**
180
+ * Arguments for the dragReady event of the `DragTarget` and `DragTargetContainer`.
181
+ */
182
+ declare class DragTargetDragReadyEvent {
183
+ /**
184
+ * The information related to the current drag event.
185
+ * This is the normalized drag event that contains details about the drag operation.
186
+ */
187
+ dragEvent: NormalizedDragEvent;
188
+ /**
189
+ * The DOM element being dragged.
190
+ */
191
+ dragTarget: HTMLElement;
192
+ /**
193
+ * The identifier passed to the `dragTargetId` input property of the `DragTarget` or `DragTargetContainer` directive.
194
+ */
195
+ dragTargetId?: any;
196
+ /**
197
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
198
+ */
199
+ dragTargetIndex?: number;
200
+ /**
201
+ * @hidden
202
+ */
203
+ constructor(args?: any);
204
+ }
205
+
206
+ /**
207
+ * Arguments for the `dragStart` event of the `DragTarget` and `DragTargetContainer`.
208
+ */
209
+ declare class DragTargetDragStartEvent extends PreventableEvent {
210
+ /**
211
+ * The information related to the current drag event.
212
+ * This is the normalized drag event that contains details about the drag operation.
213
+ */
214
+ dragEvent: NormalizedDragEvent;
215
+ /**
216
+ * The DOM element being dragged.
217
+ */
218
+ dragTarget: HTMLElement;
219
+ /**
220
+ * The identifier passed to the `dragTargetId` input property of the `DragTarget` or `DragTargetContainer` directive.
221
+ */
222
+ dragTargetId?: any;
223
+ /**
224
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
225
+ */
226
+ dragTargetIndex?: number;
227
+ /**
228
+ * Left for backward compatibility for the DragTarget deprecated events.
229
+ * @hidden
230
+ */
231
+ get normalizedEvent(): NormalizedDragEvent;
232
+ /**
233
+ * Left for backward compatibility for the DragTarget deprecated events.
234
+ * @hidden
235
+ */
236
+ get hostElement(): HTMLElement;
237
+ /**
238
+ * @hidden
239
+ */
240
+ constructor(args?: any);
241
+ }
242
+
243
+ /**
244
+ * Arguments for the dragEnd event of the `DragTarget` and `DragTargetContainer`.
245
+ */
246
+ declare class DragTargetDragEndEvent {
247
+ /**
248
+ * The information related to the current drag event.
249
+ * This is the normalized drag event that contains details about the drag operation.
250
+ */
251
+ dragEvent: NormalizedDragEvent;
252
+ /**
253
+ * The DOM element being dragged.
254
+ */
255
+ dragTarget: HTMLElement;
256
+ /**
257
+ * The identifier passed to the `dragTargetId` input property of the `DragTarget` or `DragTargetContainer` directive.
258
+ */
259
+ dragTargetId?: any;
260
+ /**
261
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
262
+ */
263
+ dragTargetIndex?: number;
264
+ /**
265
+ * Left for backward compatibility for the DragTarget deprecated events.
266
+ * @hidden
267
+ */
268
+ get normalizedEvent(): NormalizedDragEvent;
269
+ /**
270
+ * Left for backward compatibility for the DragTarget deprecated events.
271
+ * @hidden
272
+ */
273
+ get hostElement(): HTMLElement;
274
+ /**
275
+ * @hidden
276
+ */
277
+ constructor(args?: any);
278
+ }
279
+
280
+ /**
281
+ * Arguments for the drag event of the `DragTarget` and `DragTargetContainer`.
282
+ */
283
+ declare class DragTargetDragEvent extends PreventableEvent {
284
+ /**
285
+ * The information related to the current drag event.
286
+ * This is the normalized drag event that contains details about the drag operation.
287
+ */
288
+ dragEvent: NormalizedDragEvent;
289
+ /**
290
+ * The DOM element being dragged.
291
+ */
292
+ dragTarget: HTMLElement;
293
+ /**
294
+ * The hint element of the `DragTarget`.
295
+ */
296
+ hintElement?: HTMLElement;
297
+ /**
298
+ * The identifier passed to the `dragTargetId` input property of the `DragTarget` or `DragTargetContainer` directive.
299
+ */
300
+ dragTargetId?: any;
301
+ /**
302
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
303
+ */
304
+ dragTargetIndex?: number;
305
+ /**
306
+ * Left for backward compatibility for the DragTarget deprecated events.
307
+ * @hidden
308
+ */
309
+ get normalizedEvent(): NormalizedDragEvent;
310
+ /**
311
+ * Left for backward compatibility for the DragTarget deprecated events.
312
+ * @hidden
313
+ */
314
+ get hostElement(): HTMLElement;
315
+ /**
316
+ * @hidden
317
+ */
318
+ constructor(args?: any);
319
+ }
320
+
321
+ /**
322
+ * Arguments for the release event of the `DragTarget` and `DragTargetContainer`.
323
+ */
324
+ declare class DragTargetReleaseEvent {
325
+ /**
326
+ * The information related to the current drag event.
327
+ * This is the normalized drag event that contains details about the drag operation.
328
+ */
329
+ dragEvent: NormalizedDragEvent;
330
+ /**
331
+ * The DOM element being dragged.
332
+ */
333
+ dragTarget: HTMLElement;
334
+ /**
335
+ * The identifier passed to the `dragTargetId` input property of the `DragTarget` or `DragTargetContainer` directive.
336
+ */
337
+ dragTargetId?: any;
338
+ /**
339
+ * The index of the current drag target in the collection of drag targets. Applies to `DragTargetContainer` directive.
340
+ */
341
+ dragTargetIndex?: number;
342
+ /**
343
+ * Left for backward compatibility for the DragTarget deprecated events.
344
+ * @hidden
345
+ */
346
+ get normalizedEvent(): NormalizedDragEvent;
347
+ /**
348
+ * Left for backward compatibility for the DragTarget deprecated events.
349
+ * @hidden
350
+ */
351
+ get hostElement(): HTMLElement;
352
+ /**
353
+ * @hidden
354
+ */
355
+ constructor(args?: any);
356
+ }
357
+
358
+ /**
359
+ * Represents the Kendo UI DragTarget directive for Angular.
360
+ * Use this directive to make an element draggable.
361
+ */
362
+ declare class DragTargetDirective implements OnInit, AfterContentInit, OnDestroy {
363
+ private element;
364
+ private renderer;
365
+ private ngZone;
366
+ private service;
367
+ private viewContainer;
368
+ get touchActionStyle(): string;
369
+ /**
370
+ * Defines whether a hint will be used for dragging. By default, the hint is a copy of the drag target. ([see example](https://www.telerik.com/kendo-angular-ui/components/utils/draganddrop/hint)).
371
+ *
372
+ * @default false
373
+ */
374
+ hint: boolean | HintSettings;
375
+ /**
376
+ * Sets the number of pixels the pointer must move before dragging starts. Applies when `manualDrag` is `false`. [See example](https://www.telerik.com/kendo-angular-ui/components/utils/draganddrop/threshold).
377
+ *
378
+ * @default 0
379
+ */
380
+ threshold: number;
381
+ /**
382
+ * Sets the automatic container scrolling behavior when close to the edge. [See example](https://www.telerik.com/kendo-angular-ui/components/utils/draganddrop/autoscroll).
383
+ *
384
+ * @default true
385
+ */
386
+ autoScroll: boolean | AutoScrollOptions;
387
+ /**
388
+ * Sets a unique identifier for the drag target.
389
+ */
390
+ dragTargetId: string | DragTargetIdFn;
391
+ /**
392
+ * Sets the delay in milliseconds before dragging begins. [See example](https://www.telerik.com/kendo-angular-ui/components/utils/draganddrop/delay).
393
+ *
394
+ * @default 0
395
+ */
396
+ dragDelay: number;
397
+ /**
398
+ * Restricts dragging to horizontal or vertical only. Applies when `mode` is `auto`. [See example](https://www.telerik.com/kendo-angular-ui/components/utils/draganddrop/axis).
399
+ */
400
+ restrictByAxis: DragAxis;
401
+ /**
402
+ * Specifies whether to use the default dragging behavior or handle it manually.
403
+ *
404
+ * @default 'auto'
405
+ */
406
+ mode: DragMode;
407
+ /**
408
+ * Defines a callback function used for attaching custom data to the drag target.
409
+ * The data is available in the events of the respective [`DropTarget`](https://www.telerik.com/kendo-angular-ui/components/utils/api/droptargetdirective) or [`DropTargetContainer`](https://www.telerik.com/kendo-angular-ui/components/utils/api/droptargetcontainerdirective) directives.
410
+ * The current DragTarget HTML element and its `dragTargetId` will be available as arguments.
411
+ */
412
+ set dragData(fn: DragTargetDataFn);
413
+ get dragData(): DragTargetDataFn;
414
+ /**
415
+ * Sets the cursor style of the drag target. Accepts same values as the [CSS `cursor` property](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#values).
416
+ *
417
+ * @default 'move'
418
+ */
419
+ cursorStyle: string;
420
+ /**
421
+ * Fires when the user presses the drag target element.
422
+ */
423
+ onPress: EventEmitter<DragTargetPressEvent>;
424
+ /**
425
+ * Fires when dragging of the drag target element begins.
426
+ */
427
+ onDragStart: EventEmitter<DragTargetDragStartEvent>;
428
+ /**
429
+ * Fires while the user drags the drag target element.
430
+ */
431
+ onDrag: EventEmitter<DragTargetDragEvent>;
432
+ /**
433
+ * Fires when the drag target's `dragDelay` has passed and the user can drag the element.
434
+ */
435
+ onDragReady: EventEmitter<DragTargetDragReadyEvent>;
436
+ /**
437
+ * Fires when `DragTarget` is released, either by dropping it on a drop target or by releasing the mouse button.
438
+ */
439
+ onRelease: EventEmitter<DragTargetReleaseEvent>;
440
+ /**
441
+ * Fires when dragging of the drag target ends and the element is released.
442
+ */
443
+ onDragEnd: EventEmitter<DragTargetDragEndEvent>;
444
+ private dragTarget;
445
+ private hintComponent;
446
+ private dragStarted;
447
+ private pressed;
448
+ private dragReady;
449
+ private dragTimeout;
450
+ private initialPosition;
451
+ private position;
452
+ private scrollableParent;
453
+ private defaultHint;
454
+ private _dragData;
455
+ private prevUserSelect;
456
+ private get hintTemplate();
457
+ private get nativeElement();
458
+ private get hintElem();
459
+ private onPointerDown;
460
+ private onTouchStart;
461
+ private onPointerMove;
462
+ private onTouchMove;
463
+ private onPointerUp;
464
+ private onContextMenu;
465
+ private onNativeDragStart;
466
+ dragHandles: QueryList<DragHandleDirective>;
467
+ constructor(element: ElementRef, renderer: Renderer2, ngZone: NgZone, service: DragStateService, viewContainer: ViewContainerRef);
468
+ ngOnInit(): void;
469
+ ngAfterContentInit(): void;
470
+ ngOnDestroy(): void;
471
+ private handlePress;
472
+ private handleDragStart;
473
+ private handleDrag;
474
+ private handleRelease;
475
+ private handleDragEnd;
476
+ private initializeDragTarget;
477
+ private get supportPointerEvent();
478
+ private removeListeners;
479
+ private attachDomHandlers;
480
+ private isDragHandle;
481
+ private getAutoScrollContainer;
482
+ private createHint;
483
+ private createDefaultHint;
484
+ private createCustomHint;
485
+ private destroyHint;
486
+ private emitZoneAwareEvent;
487
+ private get dragTargetIdResult();
488
+ private performDrag;
489
+ private calculatePosition;
490
+ private getStylesPerElement;
491
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragTargetDirective, never>;
492
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DragTargetDirective, "[kendoDragTarget]", ["kendoDragTarget"], { "hint": { "alias": "hint"; "required": false; }; "threshold": { "alias": "threshold"; "required": false; }; "autoScroll": { "alias": "autoScroll"; "required": false; }; "dragTargetId": { "alias": "dragTargetId"; "required": false; }; "dragDelay": { "alias": "dragDelay"; "required": false; }; "restrictByAxis": { "alias": "restrictByAxis"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "dragData": { "alias": "dragData"; "required": false; }; "cursorStyle": { "alias": "cursorStyle"; "required": false; }; }, { "onPress": "onPress"; "onDragStart": "onDragStart"; "onDrag": "onDrag"; "onDragReady": "onDragReady"; "onRelease": "onRelease"; "onDragEnd": "onDragEnd"; }, ["dragHandles"], never, true, never>;
493
+ }
494
+
495
+ /**
496
+ * @hidden
497
+ */
498
+ declare class DragStateService implements OnDestroy {
499
+ constructor();
500
+ dragTarget: DragTarget | null;
501
+ dropTarget: DropTarget | null;
502
+ dragTargets: DragTarget[];
503
+ dropTargets: DropTarget[];
504
+ pressed: boolean;
505
+ ignoreMouse: boolean;
506
+ autoScroll: boolean;
507
+ isScrolling: boolean;
508
+ scrollableParent: HTMLElement | null;
509
+ autoScrollDirection: ScrollDirection;
510
+ initialClientOffset: Coordinates;
511
+ clientOffset: Coordinates;
512
+ initialScrollOffset: Coordinates;
513
+ scrollOffset: Coordinates;
514
+ offset: Coordinates;
515
+ pageOffset: Coordinates;
516
+ velocity: Coordinates;
517
+ dragTargetDirective: DragTargetDirective;
518
+ state: DragAndDropState;
519
+ dragIndex: number;
520
+ dropIndex: number;
521
+ dragData: any;
522
+ dragTargetId: any;
523
+ private callbacks;
524
+ private scrollInterval;
525
+ handleDragAndDrop(action: DragAndDropAction): void;
526
+ setPressed(pressed: boolean): void;
527
+ setScrolling(isScrolling: boolean): void;
528
+ setVelocity(velocity: Coordinates): void;
529
+ setOffset(offset: Coordinates): void;
530
+ setClientOffset(clientOffset: Coordinates): void;
531
+ setPageOffset(pageOffset: Coordinates): void;
532
+ setInitialClientOffset(initialClientOffset: Coordinates): void;
533
+ setScrollOffset(scrollOffset: Coordinates): void;
534
+ setInitialScrollOffset(initialScrollOffset: Coordinates): void;
535
+ get dragTargetPresent(): boolean;
536
+ get dropTargetPresent(): boolean;
537
+ private updateState;
538
+ private setCallbacks;
539
+ ngOnDestroy(): void;
540
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragStateService, never>;
541
+ static ɵprov: i0.ɵɵInjectableDeclaration<DragStateService>;
542
+ }
543
+
544
+ /**
545
+ * Represents the [Kendo UI DragTargetContainer directive for Angular](https://www.telerik.com/kendo-angular-ui/components/utils/api/dragtargetcontainerdirective).
546
+ * Use this directive to make multiple elements draggable inside a container.
547
+ *
548
+ * @example
549
+ * ```html
550
+ * <ul kendoDragTargetContainer dragTargetFilter=".my-draggable">
551
+ * <li class="my-draggable"> Item 1</li>
552
+ * <li class="my-draggable"> Item 2</li>
553
+ * <li class="my-draggable"> Item 3</li>
554
+ * </ul>
555
+ * ```
556
+ */
557
+ declare class DragTargetContainerDirective implements AfterViewInit, OnDestroy {
558
+ wrapper: ElementRef;
559
+ ngZone: NgZone;
560
+ private renderer;
561
+ private service;
562
+ private viewContainer;
563
+ private cdr;
564
+ /**
565
+ * Defines whether a hint will be used for dragging. By default, the hint is a copy of the current drag target. [See example](https://www.telerik.com/kendo-angular-ui/components/utils/draganddrop/hint).
566
+ *
567
+ * @default false
568
+ */
569
+ hint: boolean | HintSettings;
570
+ /**
571
+ * Sets a selector for elements in the container to make them draggable. The possible values include any
572
+ * DOM `selector`. [See example](https://www.telerik.com/kendo-angular-ui/components/utils/draganddrop/drag-container).
573
+ */
574
+ set dragTargetFilter(value: string);
575
+ get dragTargetFilter(): string;
576
+ /**
577
+ * Sets a selector for elements inside each drag target to use as drag handles.
578
+ */
579
+ dragHandle: string;
580
+ /**
581
+ * Sets the delay in milliseconds before dragging begins. [See example](https://www.telerik.com/kendo-angular-ui/components/utils/draganddrop/drag-container#events).
582
+ *
583
+ * @default 0
584
+ */
585
+ dragDelay: number;
586
+ /**
587
+ * Sets the number of pixels the pointer must move before dragging starts. [See example](https://www.telerik.com/kendo-angular-ui/components/utils/draganddrop/threshold).
588
+ *
589
+ * @default 0
590
+ */
591
+ threshold: number;
592
+ /**
593
+ * Sets a unique identifier for each drag target.
594
+ * It exposes the current drag target HTML element and its index in the collection of drag targets as arguments.
595
+ */
596
+ set dragTargetId(fn: DragTargetIdFn);
597
+ get dragTargetId(): DragTargetIdFn;
598
+ /**
599
+ * Sets a callback function to return custom data for `DropTarget` events.
600
+ * It exposes the current `DragTarget` HTML element, its `dragTargetId`, and its index in the collection of drag targets as arguments.
601
+ */
602
+ set dragData(fn: DragTargetDataFn);
603
+ get dragData(): DragTargetDataFn;
604
+ /**
605
+ * Disables dragging of drag targets in the container when set to `true`.
606
+ *
607
+ * @default false
608
+ */
609
+ set dragDisabled(value: boolean);
610
+ get dragDisabled(): boolean;
611
+ /**
612
+ * Sets whether to use the default dragging behavior or handle it manually.
613
+ *
614
+ * @default 'auto'
615
+ */
616
+ mode: DragMode;
617
+ /**
618
+ * Sets the cursor style of the drag targets. Accepts same values as the [CSS `cursor` property](https://developer.mozilla.org/en-US/docs/Web/CSS/cursor#values).
619
+ *
620
+ * @default 'move'
621
+ */
622
+ cursorStyle: string;
623
+ /**
624
+ * @hidden
625
+ */
626
+ hintContext: any;
627
+ /**
628
+ * Fires when a drag target's `dragDelay` has passed and the user can drag the element.
629
+ */
630
+ onDragReady: EventEmitter<DragTargetDragReadyEvent>;
631
+ /**
632
+ * Fires when the user presses a drag target element.
633
+ */
634
+ onPress: EventEmitter<DragTargetPressEvent>;
635
+ /**
636
+ * Fires when dragging of a drag target element begins.
637
+ */
638
+ onDragStart: EventEmitter<DragTargetDragStartEvent>;
639
+ /**
640
+ * Fires while the user drags a drag target element.
641
+ */
642
+ onDrag: EventEmitter<DragTargetDragEvent>;
643
+ /**
644
+ * Fires when the user releases a drag target element after pressing it.
645
+ */
646
+ onRelease: EventEmitter<DragTargetReleaseEvent>;
647
+ /**
648
+ * Fires when dragging of a drag target ends and the element is released.
649
+ */
650
+ onDragEnd: EventEmitter<DragTargetDragEndEvent>;
651
+ /**
652
+ * Notifies the `DragTargetContainer` that its content has changed.
653
+ */
654
+ notify(): void;
655
+ private currentDragTarget;
656
+ private dragTimeout;
657
+ private pressed;
658
+ private dragStarted;
659
+ private hintComponent;
660
+ private defaultHint;
661
+ private currentDragTargetElement;
662
+ private scrollableParent;
663
+ private previousDragTargets;
664
+ private initialPosition;
665
+ private position;
666
+ private positionsMap;
667
+ private _dragTargetFilter;
668
+ private _dragDisabled;
669
+ private _dragData;
670
+ private _dragTargetId;
671
+ private prevUserSelect;
672
+ private get allDragTargets();
673
+ private get dragHandles();
674
+ private get hintTemplate();
675
+ constructor(wrapper: ElementRef, ngZone: NgZone, renderer: Renderer2, service: DragStateService, viewContainer: ViewContainerRef, cdr: ChangeDetectorRef);
676
+ ngAfterViewInit(): void;
677
+ ngOnDestroy(): void;
678
+ private onPointerDown;
679
+ private onTouchStart;
680
+ private onPointerMove;
681
+ private onTouchMove;
682
+ private onPointerUp;
683
+ private onContextMenu;
684
+ private onNativeDragStart;
685
+ private handlePress;
686
+ private handleDragStart;
687
+ private handleDrag;
688
+ private handleRelease;
689
+ private handleDragEnd;
690
+ private get nativeElement();
691
+ private get hintElem();
692
+ private removeListeners;
693
+ private get supportPointerEvent();
694
+ private subscribe;
695
+ private emitZoneAwareEvent;
696
+ private createHint;
697
+ private createDefaultHint;
698
+ private createCustomHint;
699
+ private destroyHint;
700
+ private getDragIndex;
701
+ private initializeDragTargets;
702
+ private isDragHandle;
703
+ private get isHandleSelectorValid();
704
+ private setTargetStyles;
705
+ private queryHost;
706
+ private clearPreviousTargets;
707
+ private performDrag;
708
+ private calculatePosition;
709
+ private getStylesPerElement;
710
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragTargetContainerDirective, never>;
711
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DragTargetContainerDirective, "[kendoDragTargetContainer]", ["kendoDragTargetContainer"], { "hint": { "alias": "hint"; "required": false; }; "dragTargetFilter": { "alias": "dragTargetFilter"; "required": false; }; "dragHandle": { "alias": "dragHandle"; "required": false; }; "dragDelay": { "alias": "dragDelay"; "required": false; }; "threshold": { "alias": "threshold"; "required": false; }; "dragTargetId": { "alias": "dragTargetId"; "required": false; }; "dragData": { "alias": "dragData"; "required": false; }; "dragDisabled": { "alias": "dragDisabled"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "cursorStyle": { "alias": "cursorStyle"; "required": false; }; "hintContext": { "alias": "hintContext"; "required": false; }; }, { "onDragReady": "onDragReady"; "onPress": "onPress"; "onDragStart": "onDragStart"; "onDrag": "onDrag"; "onRelease": "onRelease"; "onDragEnd": "onDragEnd"; }, never, never, true, never>;
712
+ }
713
+
714
+ /**
715
+ * Arguments for the drag events of the `DropTarget` and `DropTargetContainer` directives.
716
+ */
717
+ declare class DropTargetEvent {
718
+ /**
719
+ * The current drag target element.
720
+ */
721
+ dragTarget: HTMLElement;
722
+ /**
723
+ * The current drop target element.
724
+ */
725
+ dropTarget: HTMLElement;
726
+ /**
727
+ * The information related to the current drag event.
728
+ */
729
+ dragEvent: NormalizedDragEvent;
730
+ /**
731
+ * The data passed to the `dragData` input property of the `DragTarget` or `DragTargetContainer` directive.
732
+ */
733
+ dragData: any;
734
+ /**
735
+ * The index of the current drop target in the collection of drop targets. Applies to `DropTargetContainer` directive.
736
+ */
737
+ dropTargetIndex?: number;
738
+ /**
739
+ * The hint element of the `DragTarget`.
740
+ */
741
+ hintElement?: HTMLElement;
742
+ /**
743
+ * Left for backward compatibility for the DropTarget deprecated events.
744
+ * @hidden
745
+ */
746
+ get normalizedEvent(): NormalizedDragEvent;
747
+ /**
748
+ * Left for backward compatibility for the DropTarget deprecated events.
749
+ * @hidden
750
+ */
751
+ get hostElement(): HTMLElement;
752
+ /**
753
+ * @hidden
754
+ */
755
+ constructor(args?: any);
756
+ }
757
+
758
+ /**
759
+ * Represents the [Kendo UI DropTargetContainer directive for Angular](https://www.telerik.com/kendo-angular-ui/components/utils/api/droptargetcontainerdirective).
760
+ * Use this directive to make multiple elements drop targets inside a container.
761
+ *
762
+ * @example
763
+ * ```html
764
+ * <div kendoDropTargetContainer dropTargetFilter=".my-droptarget">
765
+ * <div class="my-droptarget">
766
+ * Drop here
767
+ * </div>
768
+ * </div>
769
+ * ```
770
+ */
771
+ declare class DropTargetContainerDirective implements AfterViewInit {
772
+ private service;
773
+ private element;
774
+ private ngZone;
775
+ private cdr;
776
+ /**
777
+ * Sets a selector for elements in the container to make them drop targets. [See example](https://www.telerik.com/kendo-angular-ui/components/utils/draganddrop/drop-container).
778
+ */
779
+ set dropTargetFilter(value: string);
780
+ get dropTargetFilter(): string;
781
+ /**
782
+ * Specifies whether the drop targets within the container will emit the corresponding events upon interaction with a drag target.
783
+ */
784
+ set dropDisabled(value: boolean);
785
+ get dropDisabled(): boolean;
786
+ /**
787
+ * Fires when a drag target enters a drop target.
788
+ */
789
+ onDragEnter: EventEmitter<DropTargetEvent>;
790
+ /**
791
+ * Fires when a drag target is dragged over a drop target.
792
+ */
793
+ onDragOver: EventEmitter<DropTargetEvent>;
794
+ /**
795
+ * Fires when a drag target leaves a drop target.
796
+ */
797
+ onDragLeave: EventEmitter<DropTargetEvent>;
798
+ /**
799
+ * Fires when a drag target is dropped over a drop target.
800
+ */
801
+ onDrop: EventEmitter<DropTargetEvent>;
802
+ /**
803
+ * Notifies the `DropTargetContainer` that its content has changed.
804
+ */
805
+ notify(): void;
806
+ constructor(service: DragStateService, element: ElementRef, ngZone: NgZone, cdr: ChangeDetectorRef);
807
+ private currentDropTargetElement;
808
+ private previousDropTargets;
809
+ private _dropTargetFilter;
810
+ private _dropDisabled;
811
+ private get nativeElement();
812
+ ngAfterViewInit(): void;
813
+ private get allDropTargets();
814
+ /**
815
+ * @hidden
816
+ */
817
+ handleDragEnter(event: NormalizedDragEvent): void;
818
+ /**
819
+ * @hidden
820
+ */
821
+ handleDragLeave(event: NormalizedDragEvent): void;
822
+ /**
823
+ * @hidden
824
+ */
825
+ handleDragOver(event: NormalizedDragEvent): void;
826
+ /**
827
+ * @hidden
828
+ */
829
+ handleDrop(event: NormalizedDragEvent): void;
830
+ private initializeDropTargets;
831
+ private emitZoneAwareEvent;
832
+ private getDropIndex;
833
+ private clearPreviousTargets;
834
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropTargetContainerDirective, never>;
835
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropTargetContainerDirective, "[kendoDropTargetContainer]", ["kendoDropTargetContainer"], { "dropTargetFilter": { "alias": "dropTargetFilter"; "required": false; }; "dropDisabled": { "alias": "dropDisabled"; "required": false; }; }, { "onDragEnter": "onDragEnter"; "onDragOver": "onDragOver"; "onDragLeave": "onDragLeave"; "onDrop": "onDrop"; }, never, never, true, never>;
836
+ }
837
+
838
+ /**
839
+ * Represents the Kendo UI DropTarget directive for Angular.
840
+ * Use this directive to make an element a drop target for draggable items.
841
+ *
842
+ * ```html
843
+ * <div kendoDropTarget>
844
+ * Drop here
845
+ * </div>
846
+ * ```
847
+ *
848
+ */
849
+ declare class DropTargetDirective implements OnInit, OnDestroy {
850
+ private service;
851
+ private element;
852
+ private ngZone;
853
+ /**
854
+ * Fires when a drag target enters the drop target.
855
+ */
856
+ onDragEnter: EventEmitter<DropTargetEvent>;
857
+ /**
858
+ * Fires when a drag target is dragged over the drop target.
859
+ */
860
+ onDragOver: EventEmitter<DropTargetEvent>;
861
+ /**
862
+ * Fires when a drag target leaves the drop target.
863
+ */
864
+ onDragLeave: EventEmitter<DropTargetEvent>;
865
+ /**
866
+ * Fires when a drag target is dropped over the drop target.
867
+ */
868
+ onDrop: EventEmitter<DropTargetEvent>;
869
+ constructor(service: DragStateService, element: ElementRef, ngZone: NgZone);
870
+ private dropTarget;
871
+ ngOnInit(): void;
872
+ ngOnDestroy(): void;
873
+ /**
874
+ * @hidden
875
+ */
876
+ handleDragEnter(event: NormalizedDragEvent): void;
877
+ /**
878
+ * @hidden
879
+ */
880
+ handleDragLeave(event: NormalizedDragEvent): void;
881
+ /**
882
+ * @hidden
883
+ */
884
+ handleDragOver(event: NormalizedDragEvent): void;
885
+ /**
886
+ * @hidden
887
+ */
888
+ handleDrop(event: NormalizedDragEvent): void;
889
+ private initializeDropTarget;
890
+ private emitZoneAwareEvent;
891
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropTargetDirective, never>;
892
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropTargetDirective, "[kendoDropTarget]", ["kendoDropTarget"], {}, { "onDragEnter": "onDragEnter"; "onDragOver": "onDragOver"; "onDragLeave": "onDragLeave"; "onDrop": "onDrop"; }, never, never, true, never>;
893
+ }
894
+
895
+ /**
896
+ * @hidden
897
+ */
898
+ declare class HintComponent {
899
+ element: ElementRef;
900
+ template: TemplateRef<any>;
901
+ directive: any;
902
+ targetIndex: number;
903
+ contextData: any;
904
+ customContext: any;
905
+ pointerEvents: string;
906
+ constructor(element: ElementRef);
907
+ static ɵfac: i0.ɵɵFactoryDeclaration<HintComponent, never>;
908
+ static ɵcmp: i0.ɵɵComponentDeclaration<HintComponent, "kendo-draghint", never, { "template": { "alias": "template"; "required": false; }; "directive": { "alias": "directive"; "required": false; }; "targetIndex": { "alias": "targetIndex"; "required": false; }; "contextData": { "alias": "contextData"; "required": false; }; "customContext": { "alias": "customContext"; "required": false; }; }, {}, never, never, true, never>;
909
+ }
910
+
911
+ /**
912
+ * Use this utility array to access all Drag and Drop-related components and directives in a standalone Angular component.
913
+ *
914
+ * @example
915
+ * ```typescript
916
+ * import { Component } from '@angular/core';
917
+ * import { KENDO_DRAGANDDROP } from '@progress/kendo-angular-utils';
918
+ *
919
+ * @Component({
920
+ * selector: 'my-app',
921
+ * standalone: true,
922
+ * imports: [KENDO_DRAGANDDROP],
923
+ * template: `
924
+ * <div kendoDragTarget>Drag me</div>
925
+ * <div kendoDropTarget>Drop here</div>
926
+ * `
927
+ * })
928
+ * export class AppComponent {}
929
+ * ```
930
+ */
931
+ declare const KENDO_DRAGANDDROP: readonly [typeof DragTargetDirective, typeof DragHandleDirective, typeof DropTargetDirective, typeof DragTargetContainerDirective, typeof DropTargetContainerDirective, typeof HintComponent];
932
+ /**
933
+ * Use this utility array to access all `@progress/kendo-angular-utils`-related components and directives in a standalone Angular component.
934
+ * > Currently, `KENDO_UTILS` includes only the `KENDO_DRAGANDDROP` utility array and their usage is equivalent.
935
+ */
936
+ declare const KENDO_UTILS: readonly [typeof DragTargetDirective, typeof DragHandleDirective, typeof DropTargetDirective, typeof DragTargetContainerDirective, typeof DropTargetContainerDirective, typeof HintComponent];
937
+
938
+ /**
939
+ * Represents the [`NgModule`](link:site.data.urls.angular['ngmodules'])
940
+ * definition for the Utils components.
941
+ *
942
+ * @example
943
+ * ```ts
944
+ * import { UtilsModule } from '@progress/kendo-angular-utils';
945
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
946
+ * import { NgModule } from '@angular/core';
947
+ * import { AppComponent } from './app.component';
948
+ *
949
+ * @NgModule({
950
+ * declarations: [AppComponent],
951
+ * imports: [BrowserModule, UtilsModule],
952
+ * bootstrap: [AppComponent]
953
+ * })
954
+ * export class AppModule {}
955
+ * ```
956
+ */
957
+ declare class UtilsModule {
958
+ static ɵfac: i0.ɵɵFactoryDeclaration<UtilsModule, never>;
959
+ static ɵmod: i0.ɵɵNgModuleDeclaration<UtilsModule, never, [typeof DragTargetDirective, typeof DragHandleDirective, typeof DropTargetDirective, typeof DragTargetContainerDirective, typeof DropTargetContainerDirective, typeof HintComponent], [typeof DragTargetDirective, typeof DragHandleDirective, typeof DropTargetDirective, typeof DragTargetContainerDirective, typeof DropTargetContainerDirective, typeof HintComponent]>;
960
+ static ɵinj: i0.ɵɵInjectorDeclaration<UtilsModule>;
961
+ }
962
+
963
+ /**
964
+ * Represents the [`NgModule`](link:site.data.urls.angular['ngmodules'])
965
+ * definition for the Drag and Drop directives.
966
+ *
967
+ * @example
968
+ * ```ts
969
+ * import { DragAndDropModule } from '@progress/kendo-angular-utils';
970
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
971
+ * import { NgModule } from '@angular/core';
972
+ * import { AppComponent } from './app.component';
973
+ *
974
+ * @NgModule({
975
+ * declarations: [AppComponent],
976
+ * imports: [BrowserModule, DragAndDropModule],
977
+ * bootstrap: [AppComponent]
978
+ * })
979
+ * export class AppModule {}
980
+ * ```
981
+ */
982
+ declare class DragAndDropModule {
983
+ static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropModule, never>;
984
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DragAndDropModule, never, [typeof DragTargetDirective, typeof DragHandleDirective, typeof DropTargetDirective, typeof DragTargetContainerDirective, typeof DropTargetContainerDirective, typeof HintComponent], [typeof DragTargetDirective, typeof DragHandleDirective, typeof DropTargetDirective, typeof DragTargetContainerDirective, typeof DropTargetContainerDirective, typeof HintComponent]>;
985
+ static ɵinj: i0.ɵɵInjectorDeclaration<DragAndDropModule>;
986
+ }
987
+
988
+ /**
989
+ * Represents the adaptive settings for Kendo UI for Angular components.
990
+ *
991
+ * Allows customization of adaptive breakpoints to ensure optimal rendering
992
+ * across different screen resolutions and device types.
993
+ */
994
+ interface AdaptiveSettings {
995
+ /**
996
+ * Sets the screen width in pixels up to which the component renders a full-screen modal.
997
+ *
998
+ * @default 500
999
+ */
1000
+ small?: number;
1001
+ /**
1002
+ * Sets the screen width in pixels up to which the component renders a docked-to-bottom modal. Uses the `small` adaptive breakpoint as a lower boundary.
1003
+ *
1004
+ * @default 768
1005
+ */
1006
+ medium?: number;
1007
+ }
1008
+
1009
+ /**
1010
+ * A service that lets you change the current adaptive settings dynamically. Use the public `notify` method to update the settings. [See example](https://www.telerik.com/kendo-angular-ui/components/utils/adaptive-settings#changing-the-adaptive-settings-dynamically).
1011
+ */
1012
+ declare class AdaptiveSettingsService {
1013
+ /**
1014
+ * @hidden
1015
+ */
1016
+ readonly changes: Subject<AdaptiveSettings>;
1017
+ /**
1018
+ * Notifies subscribers that the adaptive settings have changed.
1019
+ *
1020
+ * @param adaptiveSettings - (Optional) A new value for the adaptive settings token.
1021
+ */
1022
+ notify(adaptiveSettings?: AdaptiveSettings): void;
1023
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdaptiveSettingsService, never>;
1024
+ static ɵprov: i0.ɵɵInjectableDeclaration<AdaptiveSettingsService>;
1025
+ }
1026
+
1027
+ /**
1028
+ * Specifies the possible adaptive size options based on the window width in pixels.
1029
+ * @hidden
1030
+ */
1031
+ type AdaptiveSize = 'small' | 'medium' | 'large';
1032
+
1033
+ /**
1034
+ * The service responsible for handling changes in adaptive settings. Add it to the providers array when using adaptive breakpoints in a standalone component.
1035
+ *
1036
+ * @example
1037
+ * ```ts
1038
+ * import { AdaptiveService } from '@progress/kendo-angular-utils';
1039
+ *
1040
+ * @Component({
1041
+ * selector: 'my-component',
1042
+ * standalone: true,
1043
+ * providers: [AdaptiveService, { provide: ADAPTIVE_SETTINGS, useValue: { small: 300 } }],
1044
+ * template: '...'
1045
+ * })
1046
+ * export class AppComponent {}
1047
+ * ```
1048
+ */
1049
+ declare class AdaptiveService implements OnDestroy {
1050
+ private _adaptiveSettings;
1051
+ private zone;
1052
+ /**
1053
+ * Notifies subscribers of the initial adaptive settings, and upon each call to `notify`.
1054
+ * @hidden
1055
+ */
1056
+ readonly changes: Subject<AdaptiveSettings>;
1057
+ /**
1058
+ * Notifies subscribers when the window size changes to any of small, medium, or large depending on the set adaptive size breakpoints.
1059
+ * @hidden
1060
+ */
1061
+ readonly sizeChanges: Subject<AdaptiveSize>;
1062
+ private subs;
1063
+ private previousSize;
1064
+ /**
1065
+ * @hidden
1066
+ */
1067
+ constructor(_adaptiveSettings: AdaptiveSettings, adaptiveSettingsService: AdaptiveSettingsService, zone: NgZone);
1068
+ /**
1069
+ * @hidden
1070
+ */
1071
+ get adaptiveSettings(): AdaptiveSettings;
1072
+ /**
1073
+ * @hidden
1074
+ */
1075
+ get size(): AdaptiveSize;
1076
+ ngOnDestroy(): void;
1077
+ static ɵfac: i0.ɵɵFactoryDeclaration<AdaptiveService, [{ optional: true; }, { optional: true; }, null]>;
1078
+ static ɵprov: i0.ɵɵInjectableDeclaration<AdaptiveService>;
1079
+ }
1080
+
1081
+ /**
1082
+ * A token that specifies the `AdaptiveSettings` for Kendo UI for Angular components.
1083
+ *
1084
+ * @example
1085
+ * ```ts
1086
+ * import { NgModule } from '@angular/core';
1087
+ *
1088
+ * @NgModule({
1089
+ * ...,
1090
+ * providers: [{ provide: ADAPTIVE_SETTINGS, useValue: { small: 400, medium: 600 } }]
1091
+ * })
1092
+ * export class AppModule {}
1093
+ * ```
1094
+ */
1095
+ declare const ADAPTIVE_SETTINGS: InjectionToken<AdaptiveSettings>;
1096
+
1097
+ export { ADAPTIVE_SETTINGS, AdaptiveService, AdaptiveSettingsService, DragAndDropModule, DragHandleDirective, DragTargetContainerDirective, DragTargetDirective, DragTargetDragEndEvent, DragTargetDragEvent, DragTargetDragReadyEvent, DragTargetDragStartEvent, DragTargetPressEvent, DragTargetReleaseEvent, DropTargetContainerDirective, DropTargetDirective, DropTargetEvent, HintComponent, KENDO_DRAGANDDROP, KENDO_UTILS, UtilsModule };
1098
+ export type { AdaptiveSettings, AdaptiveSize, AutoScrollOptions, Coordinates, DragAxis, DragMode, DragTargetDataArgs, DragTargetDataFn, DragTargetIdArgs, DragTargetIdFn, HintSettings, ScrollDirection };