@progress/kendo-angular-sortable 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-sortable.mjs +28 -28
- package/package.json +9 -17
- package/esm2022/binding.directive.mjs +0 -189
- package/esm2022/data-event-args.interface.mjs +0 -5
- package/esm2022/data-events.mjs +0 -69
- package/esm2022/directives.mjs +0 -38
- package/esm2022/draggable-event.mjs +0 -26
- package/esm2022/draggable.directive.mjs +0 -79
- package/esm2022/index.mjs +0 -18
- package/esm2022/item-template.directive.mjs +0 -43
- package/esm2022/navigate-event.mjs +0 -29
- package/esm2022/package-metadata.mjs +0 -16
- package/esm2022/preventable-event.mjs +0 -30
- package/esm2022/progress-kendo-angular-sortable.mjs +0 -8
- package/esm2022/sortable-container.mjs +0 -16
- package/esm2022/sortable-event-args.interface.mjs +0 -5
- package/esm2022/sortable-events.mjs +0 -37
- package/esm2022/sortable.component.mjs +0 -1204
- package/esm2022/sortable.module.mjs +0 -44
- package/esm2022/sortable.service.mjs +0 -238
- package/esm2022/util.mjs +0 -176
|
@@ -1,43 +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, TemplateRef } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
//TODO: RENAME FILE AND UPDATE EXPORTS AND MODULES
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export class ItemTemplateDirective {
|
|
12
|
-
templateRef;
|
|
13
|
-
constructor(templateRef) {
|
|
14
|
-
this.templateRef = templateRef;
|
|
15
|
-
}
|
|
16
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ItemTemplateDirective, isStandalone: true, selector: "[kendoSortableItemTemplate]", ngImport: i0 });
|
|
18
|
-
}
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
20
|
-
type: Directive,
|
|
21
|
-
args: [{
|
|
22
|
-
selector: '[kendoSortableItemTemplate]',
|
|
23
|
-
standalone: true
|
|
24
|
-
}]
|
|
25
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
26
|
-
/**
|
|
27
|
-
* @hidden
|
|
28
|
-
*/
|
|
29
|
-
export class PlaceholderTemplateDirective {
|
|
30
|
-
templateRef;
|
|
31
|
-
constructor(templateRef) {
|
|
32
|
-
this.templateRef = templateRef;
|
|
33
|
-
}
|
|
34
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PlaceholderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
35
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: PlaceholderTemplateDirective, isStandalone: true, selector: "[kendoSortablePlaceholderTemplate]", ngImport: i0 });
|
|
36
|
-
}
|
|
37
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: PlaceholderTemplateDirective, decorators: [{
|
|
38
|
-
type: Directive,
|
|
39
|
-
args: [{
|
|
40
|
-
selector: '[kendoSortablePlaceholderTemplate]',
|
|
41
|
-
standalone: true
|
|
42
|
-
}]
|
|
43
|
-
}], ctorParameters: () => [{ type: i0.TemplateRef }] });
|
|
@@ -1,29 +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 { PreventableEvent } from './preventable-event';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the event arguments for the `navigate` event, which is emitted when you use the keyboard arrows.
|
|
8
|
-
*/
|
|
9
|
-
export class NavigateEvent extends PreventableEvent {
|
|
10
|
-
/**
|
|
11
|
-
* Specifies the index of the draggable item.
|
|
12
|
-
*/
|
|
13
|
-
index;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the old index of the draggable item.
|
|
16
|
-
*/
|
|
17
|
-
oldIndex;
|
|
18
|
-
/**
|
|
19
|
-
* Indicates whether the `Ctrl` or meta keys are pressed.
|
|
20
|
-
*/
|
|
21
|
-
ctrlKey;
|
|
22
|
-
/**
|
|
23
|
-
* @hidden
|
|
24
|
-
*/
|
|
25
|
-
constructor(options) {
|
|
26
|
-
super();
|
|
27
|
-
Object.assign(this, options);
|
|
28
|
-
}
|
|
29
|
-
}
|
|
@@ -1,16 +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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export const packageMetadata = {
|
|
9
|
-
name: '@progress/kendo-angular-sortable',
|
|
10
|
-
productName: 'Kendo UI for Angular',
|
|
11
|
-
productCode: 'KENDOUIANGULAR',
|
|
12
|
-
productCodes: ['KENDOUIANGULAR'],
|
|
13
|
-
publishDate: 1768393321,
|
|
14
|
-
version: '21.4.1',
|
|
15
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
16
|
-
};
|
|
@@ -1,30 +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
|
-
/**
|
|
6
|
-
* Defines an event whose default action can be prevented
|
|
7
|
-
* by calling the `preventDefault` method.
|
|
8
|
-
*
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export class PreventableEvent {
|
|
12
|
-
prevented = false;
|
|
13
|
-
/**
|
|
14
|
-
* Prevents the default action for a specified event.
|
|
15
|
-
* In this way, the source component suppresses
|
|
16
|
-
* the built-in behavior that follows the event.
|
|
17
|
-
*/
|
|
18
|
-
preventDefault() {
|
|
19
|
-
this.prevented = true;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* If the event was prevented
|
|
23
|
-
* by any of its subscribers, returns `true`.
|
|
24
|
-
*
|
|
25
|
-
* @returns `true` if the default action was prevented. Otherwise, returns `false`.
|
|
26
|
-
*/
|
|
27
|
-
isDefaultPrevented() {
|
|
28
|
-
return this.prevented;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
@@ -1,8 +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
|
-
/**
|
|
6
|
-
* Generated bundle index. Do not edit.
|
|
7
|
-
*/
|
|
8
|
-
export * from './index';
|
|
@@ -1,16 +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 { Injectable } from '@angular/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
/**
|
|
8
|
-
* @hidden
|
|
9
|
-
*/
|
|
10
|
-
export class SortableContainer {
|
|
11
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SortableContainer, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
12
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SortableContainer });
|
|
13
|
-
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: SortableContainer, decorators: [{
|
|
15
|
-
type: Injectable
|
|
16
|
-
}] });
|
|
@@ -1,5 +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
|
-
export {};
|
|
@@ -1,37 +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 { PreventableEvent } from './preventable-event';
|
|
6
|
-
/**
|
|
7
|
-
* Represents the arguments for the `dragStart` event.
|
|
8
|
-
*/
|
|
9
|
-
export class DragStartEvent extends PreventableEvent {
|
|
10
|
-
/**
|
|
11
|
-
* Specifies the index of the draggable item.
|
|
12
|
-
*/
|
|
13
|
-
index;
|
|
14
|
-
/**
|
|
15
|
-
* Specifies the previous index of the draggable item.
|
|
16
|
-
* This property is used for the `dragEnd and `dragOver` events to determine the original position of the item before dragging.
|
|
17
|
-
* It doesn't apply to the `dragStart` event as there is no previous position at that point.
|
|
18
|
-
*/
|
|
19
|
-
oldIndex;
|
|
20
|
-
/**
|
|
21
|
-
* @hidden
|
|
22
|
-
*/
|
|
23
|
-
constructor(options) {
|
|
24
|
-
super();
|
|
25
|
-
Object.assign(this, options);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Represents the arguments for the `dragOver` event.
|
|
30
|
-
*/
|
|
31
|
-
export class DragOverEvent extends DragStartEvent {
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Represents the arguments for the `dragEnd` event.
|
|
35
|
-
*/
|
|
36
|
-
export class DragEndEvent extends DragOverEvent {
|
|
37
|
-
}
|