@progress/kendo-angular-utils 21.4.1 → 22.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.
- package/fesm2022/progress-kendo-angular-utils.mjs +38 -38
- package/package.json +8 -16
- package/esm2022/adaptive-breakpoints/adaptive-settings.mjs +0 -20
- package/esm2022/adaptive-breakpoints/adaptive-settings.service.mjs +0 -29
- package/esm2022/adaptive-breakpoints/adaptive.service.mjs +0 -114
- package/esm2022/adaptive-breakpoints/index.mjs +0 -7
- package/esm2022/adaptive-breakpoints/models/adaptive-settings.mjs +0 -5
- package/esm2022/adaptive-breakpoints/models/adaptive-size.mjs +0 -5
- package/esm2022/directives.mjs +0 -45
- package/esm2022/drag-and-drop/drag-state.service.mjs +0 -139
- package/esm2022/drag-and-drop/draghandle.directive.mjs +0 -49
- package/esm2022/drag-and-drop/dragtarget-container.directive.mjs +0 -709
- package/esm2022/drag-and-drop/dragtarget.directive.mjs +0 -596
- package/esm2022/drag-and-drop/droptarget-container.directive.mjs +0 -236
- package/esm2022/drag-and-drop/droptarget.directive.mjs +0 -137
- package/esm2022/drag-and-drop/events/drag-target/drag-event.mjs +0 -52
- package/esm2022/drag-and-drop/events/drag-target/dragready-event.mjs +0 -32
- package/esm2022/drag-and-drop/events/drag-target/end-event.mjs +0 -46
- package/esm2022/drag-and-drop/events/drag-target/index.mjs +0 -10
- package/esm2022/drag-and-drop/events/drag-target/press-event.mjs +0 -46
- package/esm2022/drag-and-drop/events/drag-target/release-event.mjs +0 -46
- package/esm2022/drag-and-drop/events/drag-target/start-event.mjs +0 -48
- package/esm2022/drag-and-drop/events/drop-target-event.mjs +0 -53
- package/esm2022/drag-and-drop/events/index.mjs +0 -6
- package/esm2022/drag-and-drop/hint.component.mjs +0 -56
- package/esm2022/drag-and-drop/models/autoscroll-options.mjs +0 -5
- package/esm2022/drag-and-drop/models/coordinates.mjs +0 -5
- package/esm2022/drag-and-drop/models/drag-axis.mjs +0 -5
- package/esm2022/drag-and-drop/models/drag-mode.mjs +0 -5
- package/esm2022/drag-and-drop/models/functions.mjs +0 -5
- package/esm2022/drag-and-drop/models/hint-settings.mjs +0 -5
- package/esm2022/drag-and-drop/models/index.mjs +0 -5
- package/esm2022/drag-and-drop/models/scroll-direction.mjs +0 -5
- package/esm2022/drag-and-drop/util.mjs +0 -90
- package/esm2022/drag-and-drop.module.mjs +0 -45
- package/esm2022/index.mjs +0 -17
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/progress-kendo-angular-utils.mjs +0 -8
- package/esm2022/utils.module.mjs +0 -45
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import { Directive, ElementRef, HostBinding, Input } from "@angular/core";
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* Represents the Kendo UI DragHandle directive for Angular.
|
|
9
|
-
* Use this directive to specify an element inside a drag target as a handle for dragging instead of the drag target itself.
|
|
10
|
-
*
|
|
11
|
-
* ```html
|
|
12
|
-
* <div kendoDragTarget>
|
|
13
|
-
* <button kendoDragHandle kendoButton>
|
|
14
|
-
* Drag me
|
|
15
|
-
* </button>
|
|
16
|
-
* </div>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export class DragHandleDirective {
|
|
20
|
-
element;
|
|
21
|
-
touchActionStyle = 'none';
|
|
22
|
-
/**
|
|
23
|
-
* 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).
|
|
24
|
-
*
|
|
25
|
-
* @default 'move'
|
|
26
|
-
*/
|
|
27
|
-
cursorStyle = 'move';
|
|
28
|
-
constructor(element) {
|
|
29
|
-
this.element = element;
|
|
30
|
-
}
|
|
31
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DragHandleDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
32
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: DragHandleDirective, isStandalone: true, selector: "[kendoDragHandle]", inputs: { cursorStyle: "cursorStyle" }, host: { properties: { "style.touch-action": "this.touchActionStyle", "style.cursor": "this.cursorStyle" } }, exportAs: ["kendoDragHandle"], ngImport: i0 });
|
|
33
|
-
}
|
|
34
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DragHandleDirective, decorators: [{
|
|
35
|
-
type: Directive,
|
|
36
|
-
args: [{
|
|
37
|
-
selector: '[kendoDragHandle]',
|
|
38
|
-
exportAs: 'kendoDragHandle',
|
|
39
|
-
standalone: true
|
|
40
|
-
}]
|
|
41
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { touchActionStyle: [{
|
|
42
|
-
type: HostBinding,
|
|
43
|
-
args: ['style.touch-action']
|
|
44
|
-
}], cursorStyle: [{
|
|
45
|
-
type: HostBinding,
|
|
46
|
-
args: ['style.cursor']
|
|
47
|
-
}, {
|
|
48
|
-
type: Input
|
|
49
|
-
}] } });
|