@progress/kendo-angular-utils 12.0.0-develop.1 → 12.0.0-develop.11

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 (59) hide show
  1. package/drag-and-drop/drag-state.service.d.ts +4 -0
  2. package/drag-and-drop/draghandle.directive.d.ts +1 -0
  3. package/drag-and-drop/dragtarget-container.directive.d.ts +164 -0
  4. package/drag-and-drop/dragtarget.directive.d.ts +45 -42
  5. package/drag-and-drop/droptarget-container.directive.d.ts +89 -0
  6. package/drag-and-drop/droptarget.directive.d.ts +7 -18
  7. package/drag-and-drop/events/drag-target/drag-event.d.ts +23 -5
  8. package/drag-and-drop/events/drag-target/dragready-event.d.ts +30 -0
  9. package/drag-and-drop/events/drag-target/end-event.d.ts +22 -4
  10. package/drag-and-drop/events/drag-target/index.d.ts +2 -0
  11. package/drag-and-drop/events/drag-target/press-event.d.ts +23 -5
  12. package/drag-and-drop/events/drag-target/release-event.d.ts +40 -0
  13. package/drag-and-drop/events/drag-target/start-event.d.ts +22 -4
  14. package/drag-and-drop/events/drop-target-event.d.ts +48 -0
  15. package/drag-and-drop/events/index.d.ts +6 -0
  16. package/drag-and-drop/hint.component.d.ts +3 -4
  17. package/{esm2020/drag-and-drop/events/drop-target/drop-event.mjs → drag-and-drop/models/drag-mode.d.ts} +2 -9
  18. package/drag-and-drop/models/functions.d.ts +17 -0
  19. package/drag-and-drop/models/hint-settings.d.ts +22 -0
  20. package/drag-and-drop/models/index.d.ts +4 -2
  21. package/drag-and-drop/util.d.ts +22 -2
  22. package/drag-and-drop.module.d.ts +5 -3
  23. package/esm2020/drag-and-drop/drag-state.service.mjs +2 -0
  24. package/esm2020/drag-and-drop/draghandle.directive.mjs +1 -0
  25. package/esm2020/drag-and-drop/dragtarget-container.directive.mjs +621 -0
  26. package/esm2020/drag-and-drop/dragtarget.directive.mjs +260 -162
  27. package/esm2020/drag-and-drop/droptarget-container.directive.mjs +224 -0
  28. package/esm2020/drag-and-drop/droptarget.directive.mjs +25 -43
  29. package/esm2020/drag-and-drop/events/drag-target/drag-event.mjs +15 -1
  30. package/esm2020/drag-and-drop/events/{drop-target/enter-event.mjs → drag-target/dragready-event.mjs} +2 -2
  31. package/esm2020/drag-and-drop/events/drag-target/end-event.mjs +15 -1
  32. package/esm2020/drag-and-drop/events/drag-target/index.mjs +2 -0
  33. package/esm2020/drag-and-drop/events/drag-target/press-event.mjs +15 -1
  34. package/esm2020/drag-and-drop/events/{drop-target/leave-event.mjs → drag-target/release-event.mjs} +16 -2
  35. package/esm2020/drag-and-drop/events/drag-target/start-event.mjs +15 -1
  36. package/esm2020/drag-and-drop/events/drop-target-event.mjs +29 -0
  37. package/esm2020/drag-and-drop/events/index.mjs +6 -0
  38. package/esm2020/drag-and-drop/hint.component.mjs +9 -20
  39. package/esm2020/drag-and-drop/models/functions.mjs +5 -0
  40. package/esm2020/drag-and-drop/models/hint-settings.mjs +5 -0
  41. package/esm2020/drag-and-drop/util.mjs +73 -5
  42. package/esm2020/drag-and-drop.module.mjs +8 -0
  43. package/esm2020/index.mjs +4 -1
  44. package/esm2020/package-metadata.mjs +2 -2
  45. package/fesm2015/progress-kendo-angular-utils.mjs +1346 -307
  46. package/fesm2020/progress-kendo-angular-utils.mjs +1349 -313
  47. package/index.d.ts +4 -2
  48. package/package.json +3 -3
  49. package/drag-and-drop/events/drop-target/drop-event.d.ts +0 -22
  50. package/drag-and-drop/events/drop-target/enter-event.d.ts +0 -22
  51. package/drag-and-drop/events/drop-target/index.d.ts +0 -8
  52. package/drag-and-drop/events/drop-target/leave-event.d.ts +0 -22
  53. package/drag-and-drop/events/drop-target/over-event.d.ts +0 -22
  54. package/drag-and-drop/models/allowed-target.d.ts +0 -16
  55. package/esm2020/drag-and-drop/events/drop-target/index.mjs +0 -8
  56. package/esm2020/drag-and-drop/events/drop-target/over-event.mjs +0 -15
  57. /package/drag-and-drop/models/{dragaxis.d.ts → drag-axis.d.ts} +0 -0
  58. /package/esm2020/drag-and-drop/models/{allowed-target.mjs → drag-axis.mjs} +0 -0
  59. /package/esm2020/drag-and-drop/models/{dragaxis.mjs → drag-mode.mjs} +0 -0
package/index.d.ts CHANGED
@@ -7,8 +7,10 @@ export { DragAndDropModule } from './drag-and-drop.module';
7
7
  export { DragTargetDirective } from './drag-and-drop/dragtarget.directive';
8
8
  export { DragHandleDirective } from './drag-and-drop/draghandle.directive';
9
9
  export { DropTargetDirective } from './drag-and-drop/droptarget.directive';
10
+ export { DragTargetContainerDirective } from './drag-and-drop/dragtarget-container.directive';
11
+ export { DropTargetContainerDirective } from './drag-and-drop/droptarget-container.directive';
10
12
  export { HintComponent } from './drag-and-drop/hint.component';
11
- export { DragAxis, AutoScrollOptions, AllowedTargetFn, ScrollDirection, Coordinates } from './drag-and-drop/models/index';
13
+ export * from './drag-and-drop/models/index';
14
+ export { DropTargetEvent } from './drag-and-drop/events';
12
15
  export * from './drag-and-drop/events/drag-target';
13
- export * from './drag-and-drop/events/drop-target';
14
16
  export { NormalizedDragEvent } from '@progress/kendo-draggable-common';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-utils",
3
- "version": "12.0.0-develop.1",
3
+ "version": "12.0.0-develop.11",
4
4
  "description": "Kendo UI Angular utils component",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -23,12 +23,12 @@
23
23
  "@angular/core": "13 - 15",
24
24
  "@angular/platform-browser": "13 - 15",
25
25
  "@progress/kendo-licensing": "^1.0.2",
26
- "@progress/kendo-angular-common": "12.0.0-develop.1",
26
+ "@progress/kendo-angular-common": "12.0.0-develop.11",
27
27
  "rxjs": "^6.5.3 || ^7.0.0"
28
28
  },
29
29
  "dependencies": {
30
30
  "tslib": "^2.3.1",
31
- "@progress/kendo-angular-schematics": "12.0.0-develop.1",
31
+ "@progress/kendo-angular-schematics": "12.0.0-develop.11",
32
32
  "@progress/kendo-draggable-common": "^0.2.3"
33
33
  },
34
34
  "schematics": "./schematics/collection.json",
@@ -1,22 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { NormalizedDragEvent } from '@progress/kendo-draggable-common';
6
- /**
7
- * Arguments for the drop event of the DropTarget.
8
- */
9
- export declare class DropTargetDropEvent {
10
- /**
11
- * The normalized drag event.
12
- */
13
- normalizedEvent: NormalizedDragEvent;
14
- /**
15
- * The DropTarget DOM element.
16
- */
17
- hostElement: HTMLElement;
18
- /**
19
- * @hidden
20
- */
21
- constructor(args?: any);
22
- }
@@ -1,22 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { NormalizedDragEvent } from '@progress/kendo-draggable-common';
6
- /**
7
- * Arguments for the dragEnter event of the DropTarget.
8
- */
9
- export declare class DropTargetDragEnterEvent {
10
- /**
11
- * The normalized drag event.
12
- */
13
- normalizedEvent: NormalizedDragEvent;
14
- /**
15
- * The DropTarget DOM element.
16
- */
17
- hostElement: HTMLElement;
18
- /**
19
- * @hidden
20
- */
21
- constructor(args?: any);
22
- }
@@ -1,8 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export { DropTargetDragEnterEvent } from './enter-event';
6
- export { DropTargetDragOverEvent } from './over-event';
7
- export { DropTargetDragLeaveEvent } from './leave-event';
8
- export { DropTargetDropEvent } from './drop-event';
@@ -1,22 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { NormalizedDragEvent } from '@progress/kendo-draggable-common';
6
- /**
7
- * Arguments for the dragLeave event of the DropTarget.
8
- */
9
- export declare class DropTargetDragLeaveEvent {
10
- /**
11
- * The normalized drag event.
12
- */
13
- normalizedEvent: NormalizedDragEvent;
14
- /**
15
- * The DropTarget DOM element.
16
- */
17
- hostElement: HTMLElement;
18
- /**
19
- * @hidden
20
- */
21
- constructor(args?: any);
22
- }
@@ -1,22 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { NormalizedDragEvent } from '@progress/kendo-draggable-common';
6
- /**
7
- * Arguments for the dragOver event of the DropTarget.
8
- */
9
- export declare class DropTargetDragOverEvent {
10
- /**
11
- * The normalized drag event.
12
- */
13
- normalizedEvent: NormalizedDragEvent;
14
- /**
15
- * The DropTarget DOM element.
16
- */
17
- hostElement: HTMLElement;
18
- /**
19
- * @hidden
20
- */
21
- constructor(args?: any);
22
- }
@@ -1,16 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { DragTargetDirective } from "../dragtarget.directive";
6
- /**
7
- * Represents the callback that is used by the
8
- * [`allowedDragTargets`]({% slug api_utils_droptargetdirective %}#toc-alloweddragtargets) property.
9
- *
10
- * ```ts-no-run
11
- * isTargetAllowed(dragTarget) {
12
- * return dragTarget.link === 'allowed';
13
- * }
14
- * ```
15
- */
16
- export declare type AllowedTargetFn = (dragTarget: DragTargetDirective) => boolean;
@@ -1,8 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export { DropTargetDragEnterEvent } from './enter-event';
6
- export { DropTargetDragOverEvent } from './over-event';
7
- export { DropTargetDragLeaveEvent } from './leave-event';
8
- export { DropTargetDropEvent } from './drop-event';
@@ -1,15 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2023 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * Arguments for the dragOver event of the DropTarget.
7
- */
8
- export class DropTargetDragOverEvent {
9
- /**
10
- * @hidden
11
- */
12
- constructor(args) {
13
- Object.assign(this, args);
14
- }
15
- }