@progress/kendo-angular-utils 16.5.0 → 16.6.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.
@@ -0,0 +1,19 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { DragHandleDirective } from "./drag-and-drop/draghandle.directive";
6
+ import { DragTargetContainerDirective } from "./drag-and-drop/dragtarget-container.directive";
7
+ import { DragTargetDirective } from "./drag-and-drop/dragtarget.directive";
8
+ import { DropTargetContainerDirective } from "./drag-and-drop/droptarget-container.directive";
9
+ import { DropTargetDirective } from "./drag-and-drop/droptarget.directive";
10
+ import { HintComponent } from "./drag-and-drop/hint.component";
11
+ /**
12
+ * Utility array that contains all `Drag and Drop` related components and directives
13
+ */
14
+ export declare const KENDO_DRAGANDDROP: readonly [typeof DragTargetDirective, typeof DragHandleDirective, typeof DropTargetDirective, typeof DragTargetContainerDirective, typeof DropTargetContainerDirective, typeof HintComponent];
15
+ /**
16
+ * Utility array that contains all `@progress/kendo-angular-utils` related components and directives.
17
+ * > As of now, `KENDO_UTILS` includes only the `KENDO_DRAGANDDROP` utility array and their usage is equivalent.
18
+ */
19
+ export declare const KENDO_UTILS: readonly [typeof DragTargetDirective, typeof DragHandleDirective, typeof DropTargetDirective, typeof DragTargetContainerDirective, typeof DropTargetContainerDirective, typeof HintComponent];
@@ -13,5 +13,5 @@ export declare class DragHandleDirective {
13
13
  constructor(element: ElementRef);
14
14
  cursorStyle: string;
15
15
  static ɵfac: i0.ɵɵFactoryDeclaration<DragHandleDirective, never>;
16
- static ɵdir: i0.ɵɵDirectiveDeclaration<DragHandleDirective, "[kendoDragHandle]", ["kendoDragHandle"], {}, {}, never, never, false, never>;
16
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DragHandleDirective, "[kendoDragHandle]", ["kendoDragHandle"], {}, {}, never, never, true, never>;
17
17
  }
@@ -161,5 +161,5 @@ export declare class DragTargetContainerDirective implements AfterViewInit {
161
161
  private calculatePosition;
162
162
  private getStylesPerElement;
163
163
  static ɵfac: i0.ɵɵFactoryDeclaration<DragTargetContainerDirective, never>;
164
- static ɵdir: i0.ɵɵDirectiveDeclaration<DragTargetContainerDirective, "[kendoDragTargetContainer]", ["kendoDragTargetContainer"], { "hint": "hint"; "dragTargetFilter": "dragTargetFilter"; "dragHandle": "dragHandle"; "dragDelay": "dragDelay"; "threshold": "threshold"; "dragTargetId": "dragTargetId"; "dragData": "dragData"; "dragDisabled": "dragDisabled"; "mode": "mode"; }, { "onDragReady": "onDragReady"; "onPress": "onPress"; "onDragStart": "onDragStart"; "onDrag": "onDrag"; "onRelease": "onRelease"; "onDragEnd": "onDragEnd"; }, never, never, false, never>;
164
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DragTargetContainerDirective, "[kendoDragTargetContainer]", ["kendoDragTargetContainer"], { "hint": "hint"; "dragTargetFilter": "dragTargetFilter"; "dragHandle": "dragHandle"; "dragDelay": "dragDelay"; "threshold": "threshold"; "dragTargetId": "dragTargetId"; "dragData": "dragData"; "dragDisabled": "dragDisabled"; "mode": "mode"; }, { "onDragReady": "onDragReady"; "onPress": "onPress"; "onDragStart": "onDragStart"; "onDrag": "onDrag"; "onRelease": "onRelease"; "onDragEnd": "onDragEnd"; }, never, never, true, never>;
165
165
  }
@@ -130,5 +130,5 @@ export declare class DragTargetDirective implements OnInit, AfterContentInit, On
130
130
  private calculatePosition;
131
131
  private getStylesPerElement;
132
132
  static ɵfac: i0.ɵɵFactoryDeclaration<DragTargetDirective, never>;
133
- static ɵdir: i0.ɵɵDirectiveDeclaration<DragTargetDirective, "[kendoDragTarget]", ["kendoDragTarget"], { "hint": "hint"; "threshold": "threshold"; "autoScroll": "autoScroll"; "dragTargetId": "dragTargetId"; "dragDelay": "dragDelay"; "restrictByAxis": "restrictByAxis"; "mode": "mode"; "dragData": "dragData"; }, { "onPress": "onPress"; "onDragStart": "onDragStart"; "onDrag": "onDrag"; "onDragReady": "onDragReady"; "onRelease": "onRelease"; "onDragEnd": "onDragEnd"; }, ["dragHandles"], never, false, never>;
133
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DragTargetDirective, "[kendoDragTarget]", ["kendoDragTarget"], { "hint": "hint"; "threshold": "threshold"; "autoScroll": "autoScroll"; "dragTargetId": "dragTargetId"; "dragDelay": "dragDelay"; "restrictByAxis": "restrictByAxis"; "mode": "mode"; "dragData": "dragData"; }, { "onPress": "onPress"; "onDragStart": "onDragStart"; "onDrag": "onDrag"; "onDragReady": "onDragReady"; "onRelease": "onRelease"; "onDragEnd": "onDragEnd"; }, ["dragHandles"], never, true, never>;
134
134
  }
@@ -84,5 +84,5 @@ export declare class DropTargetContainerDirective implements AfterViewInit {
84
84
  private getDropIndex;
85
85
  private clearPreviousTargets;
86
86
  static ɵfac: i0.ɵɵFactoryDeclaration<DropTargetContainerDirective, never>;
87
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropTargetContainerDirective, "[kendoDropTargetContainer]", ["kendoDropTargetContainer"], { "dropTargetFilter": "dropTargetFilter"; "dropDisabled": "dropDisabled"; }, { "onDragEnter": "onDragEnter"; "onDragOver": "onDragOver"; "onDragLeave": "onDragLeave"; "onDrop": "onDrop"; }, never, never, false, never>;
87
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropTargetContainerDirective, "[kendoDropTargetContainer]", ["kendoDropTargetContainer"], { "dropTargetFilter": "dropTargetFilter"; "dropDisabled": "dropDisabled"; }, { "onDragEnter": "onDragEnter"; "onDragOver": "onDragOver"; "onDragLeave": "onDragLeave"; "onDrop": "onDrop"; }, never, never, true, never>;
88
88
  }
@@ -52,5 +52,5 @@ export declare class DropTargetDirective implements OnInit {
52
52
  private initializeDropTarget;
53
53
  private emitZoneAwareEvent;
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<DropTargetDirective, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<DropTargetDirective, "[kendoDropTarget]", ["kendoDropTarget"], {}, { "onDragEnter": "onDragEnter"; "onDragOver": "onDragOver"; "onDragLeave": "onDragLeave"; "onDrop": "onDrop"; }, never, never, false, never>;
55
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DropTargetDirective, "[kendoDropTarget]", ["kendoDropTarget"], {}, { "onDragEnter": "onDragEnter"; "onDragOver": "onDragOver"; "onDragLeave": "onDragLeave"; "onDrop": "onDrop"; }, never, never, true, never>;
56
56
  }
@@ -16,5 +16,5 @@ export declare class HintComponent {
16
16
  pointerEvents: string;
17
17
  constructor(element: ElementRef);
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<HintComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<HintComponent, "kendo-draghint", never, { "template": "template"; "directive": "directive"; "targetIndex": "targetIndex"; "contextData": "contextData"; }, {}, never, never, false, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<HintComponent, "kendo-draghint", never, { "template": "template"; "directive": "directive"; "targetIndex": "targetIndex"; "contextData": "contextData"; }, {}, never, never, true, never>;
20
20
  }
@@ -9,7 +9,6 @@ import * as i3 from "./drag-and-drop/droptarget.directive";
9
9
  import * as i4 from "./drag-and-drop/dragtarget-container.directive";
10
10
  import * as i5 from "./drag-and-drop/droptarget-container.directive";
11
11
  import * as i6 from "./drag-and-drop/hint.component";
12
- import * as i7 from "@angular/common";
13
12
  /**
14
13
  * Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
15
14
  * definition for the Drag and Drop directives.
@@ -43,6 +42,6 @@ import * as i7 from "@angular/common";
43
42
  */
44
43
  export declare class DragAndDropModule {
45
44
  static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropModule, never>;
46
- static ɵmod: i0.ɵɵNgModuleDeclaration<DragAndDropModule, [typeof i1.DragTargetDirective, typeof i2.DragHandleDirective, typeof i3.DropTargetDirective, typeof i4.DragTargetContainerDirective, typeof i5.DropTargetContainerDirective, typeof i6.HintComponent], [typeof i7.CommonModule], [typeof i1.DragTargetDirective, typeof i2.DragHandleDirective, typeof i3.DropTargetDirective, typeof i4.DragTargetContainerDirective, typeof i5.DropTargetContainerDirective, typeof i6.HintComponent]>;
45
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DragAndDropModule, never, [typeof i1.DragTargetDirective, typeof i2.DragHandleDirective, typeof i3.DropTargetDirective, typeof i4.DragTargetContainerDirective, typeof i5.DropTargetContainerDirective, typeof i6.HintComponent], [typeof i1.DragTargetDirective, typeof i2.DragHandleDirective, typeof i3.DropTargetDirective, typeof i4.DragTargetContainerDirective, typeof i5.DropTargetContainerDirective, typeof i6.HintComponent]>;
47
46
  static ɵinj: i0.ɵɵInjectorDeclaration<DragAndDropModule>;
48
47
  }
@@ -0,0 +1,28 @@
1
+ /**-----------------------------------------------------------------------------------------
2
+ * Copyright © 2024 Progress Software Corporation. All rights reserved.
3
+ * Licensed under commercial license. See LICENSE.md in the project root for more information
4
+ *-------------------------------------------------------------------------------------------*/
5
+ import { DragHandleDirective } from "./drag-and-drop/draghandle.directive";
6
+ import { DragTargetContainerDirective } from "./drag-and-drop/dragtarget-container.directive";
7
+ import { DragTargetDirective } from "./drag-and-drop/dragtarget.directive";
8
+ import { DropTargetContainerDirective } from "./drag-and-drop/droptarget-container.directive";
9
+ import { DropTargetDirective } from "./drag-and-drop/droptarget.directive";
10
+ import { HintComponent } from "./drag-and-drop/hint.component";
11
+ /**
12
+ * Utility array that contains all `Drag and Drop` related components and directives
13
+ */
14
+ export const KENDO_DRAGANDDROP = [
15
+ DragTargetDirective,
16
+ DragHandleDirective,
17
+ DropTargetDirective,
18
+ DragTargetContainerDirective,
19
+ DropTargetContainerDirective,
20
+ HintComponent
21
+ ];
22
+ /**
23
+ * Utility array that contains all `@progress/kendo-angular-utils` related components and directives.
24
+ * > As of now, `KENDO_UTILS` includes only the `KENDO_DRAGANDDROP` utility array and their usage is equivalent.
25
+ */
26
+ export const KENDO_UTILS = [
27
+ ...KENDO_DRAGANDDROP
28
+ ];
@@ -15,12 +15,13 @@ export class DragHandleDirective {
15
15
  }
16
16
  }
17
17
  DragHandleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
18
- DragHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DragHandleDirective, selector: "[kendoDragHandle]", host: { properties: { "style.cursor": "this.cursorStyle" } }, exportAs: ["kendoDragHandle"], ngImport: i0 });
18
+ DragHandleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DragHandleDirective, isStandalone: true, selector: "[kendoDragHandle]", host: { properties: { "style.cursor": "this.cursorStyle" } }, exportAs: ["kendoDragHandle"], ngImport: i0 });
19
19
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragHandleDirective, decorators: [{
20
20
  type: Directive,
21
21
  args: [{
22
22
  selector: '[kendoDragHandle]',
23
- exportAs: 'kendoDragHandle'
23
+ exportAs: 'kendoDragHandle',
24
+ standalone: true
24
25
  }]
25
26
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { cursorStyle: [{
26
27
  type: HostBinding,
@@ -592,12 +592,13 @@ export class DragTargetContainerDirective {
592
592
  }
593
593
  }
594
594
  DragTargetContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragTargetContainerDirective, deps: [{ token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i1.DragStateService }, { token: i0.ViewContainerRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
595
- DragTargetContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DragTargetContainerDirective, selector: "[kendoDragTargetContainer]", inputs: { hint: "hint", dragTargetFilter: "dragTargetFilter", dragHandle: "dragHandle", dragDelay: "dragDelay", threshold: "threshold", dragTargetId: "dragTargetId", dragData: "dragData", dragDisabled: "dragDisabled", mode: "mode" }, outputs: { onDragReady: "onDragReady", onPress: "onPress", onDragStart: "onDragStart", onDrag: "onDrag", onRelease: "onRelease", onDragEnd: "onDragEnd" }, exportAs: ["kendoDragTargetContainer"], ngImport: i0 });
595
+ DragTargetContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DragTargetContainerDirective, isStandalone: true, selector: "[kendoDragTargetContainer]", inputs: { hint: "hint", dragTargetFilter: "dragTargetFilter", dragHandle: "dragHandle", dragDelay: "dragDelay", threshold: "threshold", dragTargetId: "dragTargetId", dragData: "dragData", dragDisabled: "dragDisabled", mode: "mode" }, outputs: { onDragReady: "onDragReady", onPress: "onPress", onDragStart: "onDragStart", onDrag: "onDrag", onRelease: "onRelease", onDragEnd: "onDragEnd" }, exportAs: ["kendoDragTargetContainer"], ngImport: i0 });
596
596
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragTargetContainerDirective, decorators: [{
597
597
  type: Directive,
598
598
  args: [{
599
599
  selector: '[kendoDragTargetContainer]',
600
- exportAs: 'kendoDragTargetContainer'
600
+ exportAs: 'kendoDragTargetContainer',
601
+ standalone: true
601
602
  }]
602
603
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: i1.DragStateService }, { type: i0.ViewContainerRef }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { hint: [{
603
604
  type: Input
@@ -462,12 +462,13 @@ export class DragTargetDirective {
462
462
  }
463
463
  }
464
464
  DragTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragTargetDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i1.DragStateService }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive });
465
- DragTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DragTargetDirective, selector: "[kendoDragTarget]", inputs: { hint: "hint", threshold: "threshold", autoScroll: "autoScroll", dragTargetId: "dragTargetId", dragDelay: "dragDelay", restrictByAxis: "restrictByAxis", mode: "mode", dragData: "dragData" }, outputs: { onPress: "onPress", onDragStart: "onDragStart", onDrag: "onDrag", onDragReady: "onDragReady", onRelease: "onRelease", onDragEnd: "onDragEnd" }, queries: [{ propertyName: "dragHandles", predicate: DragHandleDirective }], exportAs: ["kendoDragTarget"], ngImport: i0 });
465
+ DragTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DragTargetDirective, isStandalone: true, selector: "[kendoDragTarget]", inputs: { hint: "hint", threshold: "threshold", autoScroll: "autoScroll", dragTargetId: "dragTargetId", dragDelay: "dragDelay", restrictByAxis: "restrictByAxis", mode: "mode", dragData: "dragData" }, outputs: { onPress: "onPress", onDragStart: "onDragStart", onDrag: "onDrag", onDragReady: "onDragReady", onRelease: "onRelease", onDragEnd: "onDragEnd" }, queries: [{ propertyName: "dragHandles", predicate: DragHandleDirective }], exportAs: ["kendoDragTarget"], ngImport: i0 });
466
466
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragTargetDirective, decorators: [{
467
467
  type: Directive,
468
468
  args: [{
469
469
  selector: '[kendoDragTarget]',
470
- exportAs: 'kendoDragTarget'
470
+ exportAs: 'kendoDragTarget',
471
+ standalone: true
471
472
  }]
472
473
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i1.DragStateService }, { type: i0.ViewContainerRef }]; }, propDecorators: { hint: [{
473
474
  type: Input
@@ -207,12 +207,13 @@ export class DropTargetContainerDirective {
207
207
  }
208
208
  }
209
209
  DropTargetContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropTargetContainerDirective, deps: [{ token: i1.DragStateService }, { token: i0.ElementRef }, { token: i0.NgZone }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Directive });
210
- DropTargetContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropTargetContainerDirective, selector: "[kendoDropTargetContainer]", inputs: { dropTargetFilter: "dropTargetFilter", dropDisabled: "dropDisabled" }, outputs: { onDragEnter: "onDragEnter", onDragOver: "onDragOver", onDragLeave: "onDragLeave", onDrop: "onDrop" }, exportAs: ["kendoDropTargetContainer"], ngImport: i0 });
210
+ DropTargetContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropTargetContainerDirective, isStandalone: true, selector: "[kendoDropTargetContainer]", inputs: { dropTargetFilter: "dropTargetFilter", dropDisabled: "dropDisabled" }, outputs: { onDragEnter: "onDragEnter", onDragOver: "onDragOver", onDragLeave: "onDragLeave", onDrop: "onDrop" }, exportAs: ["kendoDropTargetContainer"], ngImport: i0 });
211
211
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropTargetContainerDirective, decorators: [{
212
212
  type: Directive,
213
213
  args: [{
214
214
  selector: '[kendoDropTargetContainer]',
215
- exportAs: 'kendoDropTargetContainer'
215
+ exportAs: 'kendoDropTargetContainer',
216
+ standalone: true
216
217
  }]
217
218
  }], ctorParameters: function () { return [{ type: i1.DragStateService }, { type: i0.ElementRef }, { type: i0.NgZone }, { type: i0.ChangeDetectorRef }]; }, propDecorators: { dropTargetFilter: [{
218
219
  type: Input
@@ -102,12 +102,13 @@ export class DropTargetDirective {
102
102
  }
103
103
  }
104
104
  DropTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropTargetDirective, deps: [{ token: i1.DragStateService }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
105
- DropTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropTargetDirective, selector: "[kendoDropTarget]", outputs: { onDragEnter: "onDragEnter", onDragOver: "onDragOver", onDragLeave: "onDragLeave", onDrop: "onDrop" }, exportAs: ["kendoDropTarget"], ngImport: i0 });
105
+ DropTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DropTargetDirective, isStandalone: true, selector: "[kendoDropTarget]", outputs: { onDragEnter: "onDragEnter", onDragOver: "onDragOver", onDragLeave: "onDragLeave", onDrop: "onDrop" }, exportAs: ["kendoDropTarget"], ngImport: i0 });
106
106
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DropTargetDirective, decorators: [{
107
107
  type: Directive,
108
108
  args: [{
109
109
  selector: '[kendoDropTarget]',
110
- exportAs: 'kendoDropTarget'
110
+ exportAs: 'kendoDropTarget',
111
+ standalone: true
111
112
  }]
112
113
  }], ctorParameters: function () { return [{ type: i1.DragStateService }, { type: i0.ElementRef }, { type: i0.NgZone }]; }, propDecorators: { onDragEnter: [{
113
114
  type: Output
@@ -3,8 +3,8 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { Component, ElementRef, HostBinding, Input, TemplateRef } from "@angular/core";
6
+ import { NgTemplateOutlet } from "@angular/common";
6
7
  import * as i0 from "@angular/core";
7
- import * as i1 from "@angular/common";
8
8
  /**
9
9
  * @hidden
10
10
  */
@@ -15,10 +15,10 @@ export class HintComponent {
15
15
  }
16
16
  }
17
17
  HintComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HintComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
18
- HintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HintComponent, selector: "kendo-draghint", inputs: { template: "template", directive: "directive", targetIndex: "targetIndex", contextData: "contextData" }, host: { properties: { "style.pointer-events": "this.pointerEvents" } }, ngImport: i0, template: `
18
+ HintComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: HintComponent, isStandalone: true, selector: "kendo-draghint", inputs: { template: "template", directive: "directive", targetIndex: "targetIndex", contextData: "contextData" }, host: { properties: { "style.pointer-events": "this.pointerEvents" } }, ngImport: i0, template: `
19
19
  <ng-container *ngTemplateOutlet="template; context: { $implicit: directive, index: targetIndex, data: contextData }">
20
20
  </ng-container>
21
- `, isInline: true, dependencies: [{ kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
21
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
22
22
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HintComponent, decorators: [{
23
23
  type: Component,
24
24
  args: [{
@@ -26,7 +26,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
26
26
  template: `
27
27
  <ng-container *ngTemplateOutlet="template; context: { $implicit: directive, index: targetIndex, data: contextData }">
28
28
  </ng-container>
29
- `
29
+ `,
30
+ standalone: true,
31
+ imports: [NgTemplateOutlet]
30
32
  }]
31
33
  }], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { template: [{
32
34
  type: Input
@@ -2,23 +2,17 @@
2
2
  * Copyright © 2024 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 { CommonModule } from '@angular/common';
6
5
  import { NgModule } from '@angular/core';
7
- import { DragTargetDirective } from './drag-and-drop/dragtarget.directive';
8
- import { DragHandleDirective } from './drag-and-drop/draghandle.directive';
9
- import { DropTargetDirective } from './drag-and-drop/droptarget.directive';
10
- import { DragTargetContainerDirective } from './drag-and-drop/dragtarget-container.directive';
11
- import { DropTargetContainerDirective } from './drag-and-drop/droptarget-container.directive';
12
6
  import { HintComponent } from './drag-and-drop/hint.component';
7
+ import { KENDO_DRAGANDDROP } from './directives';
13
8
  import * as i0 from "@angular/core";
14
- const EXPORTS = [
15
- DragTargetDirective,
16
- DragHandleDirective,
17
- DropTargetDirective,
18
- DragTargetContainerDirective,
19
- DropTargetContainerDirective,
20
- HintComponent
21
- ];
9
+ import * as i1 from "./drag-and-drop/dragtarget.directive";
10
+ import * as i2 from "./drag-and-drop/draghandle.directive";
11
+ import * as i3 from "./drag-and-drop/droptarget.directive";
12
+ import * as i4 from "./drag-and-drop/dragtarget-container.directive";
13
+ import * as i5 from "./drag-and-drop/droptarget-container.directive";
14
+ import * as i6 from "./drag-and-drop/hint.component";
15
+ // IMPORTANT: NgModule export kept for backwards compatibility
22
16
  /**
23
17
  * Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
24
18
  * definition for the Drag and Drop directives.
@@ -53,24 +47,13 @@ const EXPORTS = [
53
47
  export class DragAndDropModule {
54
48
  }
55
49
  DragAndDropModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragAndDropModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
56
- DragAndDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DragAndDropModule, declarations: [DragTargetDirective,
57
- DragHandleDirective,
58
- DropTargetDirective,
59
- DragTargetContainerDirective,
60
- DropTargetContainerDirective,
61
- HintComponent], imports: [CommonModule], exports: [DragTargetDirective,
62
- DragHandleDirective,
63
- DropTargetDirective,
64
- DragTargetContainerDirective,
65
- DropTargetContainerDirective,
66
- HintComponent] });
67
- DragAndDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragAndDropModule, imports: [CommonModule] });
50
+ DragAndDropModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: DragAndDropModule, imports: [i1.DragTargetDirective, i2.DragHandleDirective, i3.DropTargetDirective, i4.DragTargetContainerDirective, i5.DropTargetContainerDirective, i6.HintComponent], exports: [i1.DragTargetDirective, i2.DragHandleDirective, i3.DropTargetDirective, i4.DragTargetContainerDirective, i5.DropTargetContainerDirective, i6.HintComponent] });
51
+ DragAndDropModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragAndDropModule, imports: [i6.HintComponent] });
68
52
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DragAndDropModule, decorators: [{
69
53
  type: NgModule,
70
54
  args: [{
71
- declarations: [...EXPORTS],
72
- exports: [...EXPORTS],
73
- imports: [CommonModule],
55
+ exports: [...KENDO_DRAGANDDROP],
56
+ imports: [...KENDO_DRAGANDDROP],
74
57
  entryComponents: [HintComponent]
75
58
  }]
76
59
  }] });
package/esm2020/index.mjs CHANGED
@@ -2,6 +2,7 @@
2
2
  * Copyright © 2024 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';
5
6
  export { UtilsModule } from './utils.module';
6
7
  export { DragAndDropModule } from './drag-and-drop.module';
7
8
  export { DragTargetDirective } from './drag-and-drop/dragtarget.directive';
@@ -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: 1721814063,
13
- version: '16.5.0',
12
+ publishDate: 1721827680,
13
+ version: '16.6.0-develop.1',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -3,8 +3,15 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import { NgModule } from '@angular/core';
6
- import { DragAndDropModule } from './drag-and-drop.module';
6
+ import { KENDO_UTILS } from './directives';
7
7
  import * as i0 from "@angular/core";
8
+ import * as i1 from "./drag-and-drop/dragtarget.directive";
9
+ import * as i2 from "./drag-and-drop/draghandle.directive";
10
+ import * as i3 from "./drag-and-drop/droptarget.directive";
11
+ import * as i4 from "./drag-and-drop/dragtarget-container.directive";
12
+ import * as i5 from "./drag-and-drop/droptarget-container.directive";
13
+ import * as i6 from "./drag-and-drop/hint.component";
14
+ // IMPORTANT: NgModule export kept for backwards compatibility
8
15
  /**
9
16
  * Represents the [NgModule](link:site.data.urls.angular['ngmodules'])
10
17
  * definition for the Utils components.
@@ -39,11 +46,12 @@ import * as i0 from "@angular/core";
39
46
  export class UtilsModule {
40
47
  }
41
48
  UtilsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UtilsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
42
- UtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: UtilsModule, exports: [DragAndDropModule] });
43
- UtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UtilsModule, imports: [DragAndDropModule] });
49
+ UtilsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: UtilsModule, imports: [i1.DragTargetDirective, i2.DragHandleDirective, i3.DropTargetDirective, i4.DragTargetContainerDirective, i5.DropTargetContainerDirective, i6.HintComponent], exports: [i1.DragTargetDirective, i2.DragHandleDirective, i3.DropTargetDirective, i4.DragTargetContainerDirective, i5.DropTargetContainerDirective, i6.HintComponent] });
50
+ UtilsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UtilsModule, imports: [i6.HintComponent] });
44
51
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: UtilsModule, decorators: [{
45
52
  type: NgModule,
46
53
  args: [{
47
- exports: [DragAndDropModule]
54
+ exports: [...KENDO_UTILS],
55
+ imports: [...KENDO_UTILS]
48
56
  }]
49
57
  }] });