@progress/kendo-angular-sortable 16.5.0-develop.6 → 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.
@@ -43,5 +43,5 @@ export declare class SortableBindingDirective implements OnInit, OnDestroy {
43
43
  ngOnInit(): void;
44
44
  ngOnDestroy(): void;
45
45
  static ɵfac: i0.ɵɵFactoryDeclaration<SortableBindingDirective, never>;
46
- static ɵdir: i0.ɵɵDirectiveDeclaration<SortableBindingDirective, "[kendoSortableBinding]", never, { "data": "kendoSortableBinding"; }, {}, never, never, false, never>;
46
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SortableBindingDirective, "[kendoSortableBinding]", never, { "data": "kendoSortableBinding"; }, {}, never, never, true, never>;
47
47
  }
@@ -0,0 +1,12 @@
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 { SortableBindingDirective } from "./binding.directive";
6
+ import { DraggableDirective } from "./draggable.directive";
7
+ import { ItemTemplateDirective, PlaceholderTemplateDirective } from "./item-template.directive";
8
+ import { SortableComponent } from "./sortable.component";
9
+ /**
10
+ * Utility array that contains all `@progress/kendo-angular-sortable` related components and directives
11
+ */
12
+ export declare const KENDO_SORTABLE: readonly [typeof SortableComponent, typeof DraggableDirective, typeof PlaceholderTemplateDirective, typeof ItemTemplateDirective, typeof SortableBindingDirective];
@@ -26,5 +26,5 @@ export declare class DraggableDirective implements OnInit {
26
26
  ngOnInit(): void;
27
27
  private updateDisplayStyle;
28
28
  static ɵfac: i0.ɵɵFactoryDeclaration<DraggableDirective, never>;
29
- static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableDirective, "[kendoDraggable]", never, { "index": "index"; "disabled": "disabled"; "hidden": "hidden"; }, {}, never, never, false, never>;
29
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DraggableDirective, "[kendoDraggable]", never, { "index": "index"; "disabled": "disabled"; "hidden": "hidden"; }, {}, never, never, true, never>;
30
30
  }
@@ -162,11 +162,12 @@ export class SortableBindingDirective {
162
162
  }
163
163
  }
164
164
  SortableBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableBindingDirective, deps: [{ token: i1.SortableComponent }, { token: i2.SortableService }], target: i0.ɵɵFactoryTarget.Directive });
165
- SortableBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SortableBindingDirective, selector: "[kendoSortableBinding]", inputs: { data: ["kendoSortableBinding", "data"] }, ngImport: i0 });
165
+ SortableBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SortableBindingDirective, isStandalone: true, selector: "[kendoSortableBinding]", inputs: { data: ["kendoSortableBinding", "data"] }, ngImport: i0 });
166
166
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableBindingDirective, decorators: [{
167
167
  type: Directive,
168
168
  args: [{
169
- selector: '[kendoSortableBinding]'
169
+ selector: '[kendoSortableBinding]',
170
+ standalone: true
170
171
  }]
171
172
  }], ctorParameters: function () { return [{ type: i1.SortableComponent }, { type: i2.SortableService }]; }, propDecorators: { data: [{
172
173
  type: Input,
@@ -0,0 +1,18 @@
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 { SortableBindingDirective } from "./binding.directive";
6
+ import { DraggableDirective } from "./draggable.directive";
7
+ import { ItemTemplateDirective, PlaceholderTemplateDirective } from "./item-template.directive";
8
+ import { SortableComponent } from "./sortable.component";
9
+ /**
10
+ * Utility array that contains all `@progress/kendo-angular-sortable` related components and directives
11
+ */
12
+ export const KENDO_SORTABLE = [
13
+ SortableComponent,
14
+ DraggableDirective,
15
+ PlaceholderTemplateDirective,
16
+ ItemTemplateDirective,
17
+ SortableBindingDirective
18
+ ];
@@ -50,11 +50,12 @@ export class DraggableDirective {
50
50
  }
51
51
  }
52
52
  DraggableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableDirective, deps: [{ token: i1.SortableContainer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
53
- DraggableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DraggableDirective, selector: "[kendoDraggable]", inputs: { index: "index", disabled: "disabled", hidden: "hidden" }, host: { properties: { "class.k-focus": "this._focused", "attr.aria-disabled": "this._disabled" } }, ngImport: i0 });
53
+ DraggableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DraggableDirective, isStandalone: true, selector: "[kendoDraggable]", inputs: { index: "index", disabled: "disabled", hidden: "hidden" }, host: { properties: { "class.k-focus": "this._focused", "attr.aria-disabled": "this._disabled" } }, ngImport: i0 });
54
54
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableDirective, decorators: [{
55
55
  type: Directive,
56
56
  args: [{
57
- selector: '[kendoDraggable]'
57
+ selector: '[kendoDraggable]',
58
+ standalone: true
58
59
  }]
59
60
  }], ctorParameters: function () { return [{ type: i1.SortableContainer }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { index: [{
60
61
  type: Input
package/esm2020/index.mjs CHANGED
@@ -15,3 +15,4 @@ export { PlaceholderTemplateDirective } from './item-template.directive';
15
15
  export { ItemTemplateDirective } from './item-template.directive';
16
16
  export { SortableService } from './sortable.service';
17
17
  export { SortableContainer } from './sortable-container';
18
+ export * from './directives';
@@ -14,11 +14,12 @@ export class ItemTemplateDirective {
14
14
  }
15
15
  }
16
16
  ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
17
- ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, selector: "[kendoSortableItemTemplate]", ngImport: i0 });
17
+ ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, isStandalone: true, selector: "[kendoSortableItemTemplate]", ngImport: i0 });
18
18
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, decorators: [{
19
19
  type: Directive,
20
20
  args: [{
21
- selector: '[kendoSortableItemTemplate]'
21
+ selector: '[kendoSortableItemTemplate]',
22
+ standalone: true
22
23
  }]
23
24
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
24
25
  /**
@@ -30,10 +31,11 @@ export class PlaceholderTemplateDirective {
30
31
  }
31
32
  }
32
33
  PlaceholderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PlaceholderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
33
- PlaceholderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PlaceholderTemplateDirective, selector: "[kendoSortablePlaceholderTemplate]", ngImport: i0 });
34
+ PlaceholderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PlaceholderTemplateDirective, isStandalone: true, selector: "[kendoSortablePlaceholderTemplate]", ngImport: i0 });
34
35
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PlaceholderTemplateDirective, decorators: [{
35
36
  type: Directive,
36
37
  args: [{
37
- selector: '[kendoSortablePlaceholderTemplate]'
38
+ selector: '[kendoSortablePlaceholderTemplate]',
39
+ standalone: true
38
40
  }]
39
41
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-sortable',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1721766363,
13
- version: '16.5.0-develop.6',
12
+ publishDate: 1721828001,
13
+ version: '16.6.0-develop.1',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -19,11 +19,10 @@ import { NavigateEvent } from './navigate-event';
19
19
  import { DraggableEvent } from './draggable-event';
20
20
  import { DragStartEvent, DragOverEvent, DragEndEvent } from './sortable-events';
21
21
  import { Draggable } from '@progress/kendo-draggable';
22
+ import { NgFor, NgClass, NgStyle, NgIf, NgTemplateOutlet } from '@angular/common';
22
23
  import * as i0 from "@angular/core";
23
24
  import * as i1 from "@progress/kendo-angular-l10n";
24
25
  import * as i2 from "./sortable.service";
25
- import * as i3 from "@angular/common";
26
- import * as i4 from "./draggable.directive";
27
26
  const KEY_SHORTCUTS = 'Control+ArrowLeft Control+ArrowRight Meta+ArrowLeft Meta+ArrowRight';
28
27
  /**
29
28
  * Represents the [Kendo UI Sortable component for Angular]({% slug overview_sortable %}).
@@ -59,18 +58,18 @@ export class SortableComponent {
59
58
  this.animation = false;
60
59
  /**
61
60
  * Sets an array of integers, which represent the indexes of the disabled items from the data array
62
- * ([see example]({% slug items_sortable %}#toc-disabled-items)).
61
+ * ([see example](slug:items_sortable#toc-disabling-items)).
63
62
  */
64
63
  this.disabledIndexes = [];
65
64
  /**
66
65
  * Sets a string that represents the name of the zone to which the Sortable belongs
67
- * ([see example]({% slug items_sortable %}#toc-transfer-of-items)). Items can be transferred
66
+ * ([see example](slug:items_sortable#toc-transferring-of-items)). Items can be transferred
68
67
  * between Sortables which belong to the same zone.
69
68
  */
70
69
  this.zone = undefined;
71
70
  /**
72
71
  * Defines the zones from which items can be transferred onto the current Sortable component
73
- * ([see example]({% slug items_sortable %}#toc-transfer-of-items)). If the `acceptZones` property
72
+ * ([see example](slug:items_sortable#toc-transferring-of-items)). If the `acceptZones` property
74
73
  * of the target Sortable is set, allows you to transfer items between Sortables which belong
75
74
  * to different zones.
76
75
  */
@@ -981,7 +980,7 @@ export class SortableComponent {
981
980
  }
982
981
  }
983
982
  SortableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.ElementRef }, { token: i2.SortableService }], target: i0.ɵɵFactoryTarget.Component });
984
- SortableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SortableComponent, selector: "kendo-sortable", inputs: { tabIndex: "tabIndex", data: "data", navigable: "navigable", navigatable: "navigatable", animation: "animation", disabledIndexes: "disabledIndexes", zone: "zone", acceptZones: "acceptZones", itemStyle: "itemStyle", emptyItemStyle: "emptyItemStyle", activeItemStyle: "activeItemStyle", disabledItemStyle: "disabledItemStyle", itemClass: "itemClass", activeItemClass: "activeItemClass", emptyItemClass: "emptyItemClass", disabledItemClass: "disabledItemClass", emptyText: "emptyText", activeIndex: "activeIndex" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", dragOver: "dragOver", dragLeave: "dragLeave", dataMove: "dataMove", dataAdd: "dataAdd", dataRemove: "dataRemove", navigate: "navigate" }, host: { properties: { "style.touch-action": "this.touchAction", "attr.dir": "this.dir", "attr.role": "this.hostRole" } }, providers: [
983
+ SortableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SortableComponent, isStandalone: true, selector: "kendo-sortable", inputs: { tabIndex: "tabIndex", data: "data", navigable: "navigable", navigatable: "navigatable", animation: "animation", disabledIndexes: "disabledIndexes", zone: "zone", acceptZones: "acceptZones", itemStyle: "itemStyle", emptyItemStyle: "emptyItemStyle", activeItemStyle: "activeItemStyle", disabledItemStyle: "disabledItemStyle", itemClass: "itemClass", activeItemClass: "activeItemClass", emptyItemClass: "emptyItemClass", disabledItemClass: "disabledItemClass", emptyText: "emptyText", activeIndex: "activeIndex" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", dragOver: "dragOver", dragLeave: "dragLeave", dataMove: "dataMove", dataAdd: "dataAdd", dataRemove: "dataRemove", navigate: "navigate" }, host: { properties: { "style.touch-action": "this.touchAction", "attr.dir": "this.dir", "attr.role": "this.hostRole" } }, providers: [
985
984
  LocalizationService,
986
985
  {
987
986
  provide: L10N_PREFIX,
@@ -1037,7 +1036,7 @@ SortableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
1037
1036
  </ng-container>
1038
1037
  <ng-container *ngIf="!itemTemplateRef">{{_localData[dragIndex].item}}</ng-container>
1039
1038
  </div>
1040
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: i4.DraggableDirective, selector: "[kendoDraggable]", inputs: ["index", "disabled", "hidden"] }] });
1039
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["index", "disabled", "hidden"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
1041
1040
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableComponent, decorators: [{
1042
1041
  type: Component,
1043
1042
  args: [{
@@ -1100,7 +1099,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1100
1099
  </ng-container>
1101
1100
  <ng-container *ngIf="!itemTemplateRef">{{_localData[dragIndex].item}}</ng-container>
1102
1101
  </div>
1103
- `
1102
+ `,
1103
+ standalone: true,
1104
+ imports: [NgFor, DraggableDirective, NgClass, NgStyle, NgIf, NgTemplateOutlet]
1104
1105
  }]
1105
1106
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i0.ElementRef }, { type: i2.SortableService }]; }, propDecorators: { tabIndex: [{
1106
1107
  type: Input
@@ -3,21 +3,14 @@
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 { CommonModule } from '@angular/common';
7
- import { SortableComponent } from './sortable.component';
8
6
  import { SortableService } from "./sortable.service";
9
- import { DraggableDirective } from "./draggable.directive";
10
- import { PlaceholderTemplateDirective } from './item-template.directive';
11
- import { ItemTemplateDirective } from './item-template.directive';
12
- import { SortableBindingDirective } from "./binding.directive";
7
+ import { KENDO_SORTABLE } from './directives';
13
8
  import * as i0 from "@angular/core";
14
- const COMPONENT_DIRECTIVES = [
15
- SortableComponent,
16
- DraggableDirective,
17
- PlaceholderTemplateDirective,
18
- ItemTemplateDirective,
19
- SortableBindingDirective
20
- ];
9
+ import * as i1 from "./sortable.component";
10
+ import * as i2 from "./draggable.directive";
11
+ import * as i3 from "./item-template.directive";
12
+ import * as i4 from "./binding.directive";
13
+ //IMPORTANT: NgModule export kept for backwards compatibility
21
14
  /**
22
15
  *
23
16
  * Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
@@ -51,22 +44,13 @@ const COMPONENT_DIRECTIVES = [
51
44
  export class SortableModule {
52
45
  }
53
46
  SortableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
54
- SortableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, declarations: [SortableComponent,
55
- DraggableDirective,
56
- PlaceholderTemplateDirective,
57
- ItemTemplateDirective,
58
- SortableBindingDirective], imports: [CommonModule], exports: [SortableComponent,
59
- DraggableDirective,
60
- PlaceholderTemplateDirective,
61
- ItemTemplateDirective,
62
- SortableBindingDirective] });
63
- SortableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, providers: [SortableService], imports: [CommonModule] });
47
+ SortableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, imports: [i1.SortableComponent, i2.DraggableDirective, i3.PlaceholderTemplateDirective, i3.ItemTemplateDirective, i4.SortableBindingDirective], exports: [i1.SortableComponent, i2.DraggableDirective, i3.PlaceholderTemplateDirective, i3.ItemTemplateDirective, i4.SortableBindingDirective] });
48
+ SortableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, providers: [SortableService], imports: [i1.SortableComponent] });
64
49
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, decorators: [{
65
50
  type: NgModule,
66
51
  args: [{
67
- declarations: [COMPONENT_DIRECTIVES],
68
- exports: [COMPONENT_DIRECTIVES],
69
- imports: [CommonModule],
52
+ imports: [...KENDO_SORTABLE],
53
+ exports: [...KENDO_SORTABLE],
70
54
  providers: [SortableService]
71
55
  }]
72
56
  }] });
@@ -11,8 +11,7 @@ import * as i1 from '@progress/kendo-angular-l10n';
11
11
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
12
12
  import { validatePackage } from '@progress/kendo-licensing';
13
13
  import { Draggable } from '@progress/kendo-draggable';
14
- import * as i3 from '@angular/common';
15
- import { CommonModule } from '@angular/common';
14
+ import { NgFor, NgClass, NgStyle, NgIf, NgTemplateOutlet } from '@angular/common';
16
15
 
17
16
  const NODE_NAME_PREDICATES = {};
18
17
  const NODE_ATTR_PREDICATES = {};
@@ -189,8 +188,8 @@ const packageMetadata = {
189
188
  name: '@progress/kendo-angular-sortable',
190
189
  productName: 'Kendo UI for Angular',
191
190
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
192
- publishDate: 1721766363,
193
- version: '16.5.0-develop.6',
191
+ publishDate: 1721828001,
192
+ version: '16.6.0-develop.1',
194
193
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
195
194
  };
196
195
 
@@ -249,11 +248,12 @@ class DraggableDirective {
249
248
  }
250
249
  }
251
250
  DraggableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableDirective, deps: [{ token: SortableContainer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
252
- DraggableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DraggableDirective, selector: "[kendoDraggable]", inputs: { index: "index", disabled: "disabled", hidden: "hidden" }, host: { properties: { "class.k-focus": "this._focused", "attr.aria-disabled": "this._disabled" } }, ngImport: i0 });
251
+ DraggableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DraggableDirective, isStandalone: true, selector: "[kendoDraggable]", inputs: { index: "index", disabled: "disabled", hidden: "hidden" }, host: { properties: { "class.k-focus": "this._focused", "attr.aria-disabled": "this._disabled" } }, ngImport: i0 });
253
252
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableDirective, decorators: [{
254
253
  type: Directive,
255
254
  args: [{
256
- selector: '[kendoDraggable]'
255
+ selector: '[kendoDraggable]',
256
+ standalone: true
257
257
  }]
258
258
  }], ctorParameters: function () { return [{ type: SortableContainer }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { index: [{
259
259
  type: Input
@@ -279,11 +279,12 @@ class ItemTemplateDirective {
279
279
  }
280
280
  }
281
281
  ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
282
- ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, selector: "[kendoSortableItemTemplate]", ngImport: i0 });
282
+ ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, isStandalone: true, selector: "[kendoSortableItemTemplate]", ngImport: i0 });
283
283
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, decorators: [{
284
284
  type: Directive,
285
285
  args: [{
286
- selector: '[kendoSortableItemTemplate]'
286
+ selector: '[kendoSortableItemTemplate]',
287
+ standalone: true
287
288
  }]
288
289
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
289
290
  /**
@@ -295,11 +296,12 @@ class PlaceholderTemplateDirective {
295
296
  }
296
297
  }
297
298
  PlaceholderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PlaceholderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
298
- PlaceholderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PlaceholderTemplateDirective, selector: "[kendoSortablePlaceholderTemplate]", ngImport: i0 });
299
+ PlaceholderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PlaceholderTemplateDirective, isStandalone: true, selector: "[kendoSortablePlaceholderTemplate]", ngImport: i0 });
299
300
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PlaceholderTemplateDirective, decorators: [{
300
301
  type: Directive,
301
302
  args: [{
302
- selector: '[kendoSortablePlaceholderTemplate]'
303
+ selector: '[kendoSortablePlaceholderTemplate]',
304
+ standalone: true
303
305
  }]
304
306
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
305
307
 
@@ -647,18 +649,18 @@ class SortableComponent {
647
649
  this.animation = false;
648
650
  /**
649
651
  * Sets an array of integers, which represent the indexes of the disabled items from the data array
650
- * ([see example]({% slug items_sortable %}#toc-disabled-items)).
652
+ * ([see example](slug:items_sortable#toc-disabling-items)).
651
653
  */
652
654
  this.disabledIndexes = [];
653
655
  /**
654
656
  * Sets a string that represents the name of the zone to which the Sortable belongs
655
- * ([see example]({% slug items_sortable %}#toc-transfer-of-items)). Items can be transferred
657
+ * ([see example](slug:items_sortable#toc-transferring-of-items)). Items can be transferred
656
658
  * between Sortables which belong to the same zone.
657
659
  */
658
660
  this.zone = undefined;
659
661
  /**
660
662
  * Defines the zones from which items can be transferred onto the current Sortable component
661
- * ([see example]({% slug items_sortable %}#toc-transfer-of-items)). If the `acceptZones` property
663
+ * ([see example](slug:items_sortable#toc-transferring-of-items)). If the `acceptZones` property
662
664
  * of the target Sortable is set, allows you to transfer items between Sortables which belong
663
665
  * to different zones.
664
666
  */
@@ -1569,7 +1571,7 @@ class SortableComponent {
1569
1571
  }
1570
1572
  }
1571
1573
  SortableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.ElementRef }, { token: SortableService }], target: i0.ɵɵFactoryTarget.Component });
1572
- SortableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SortableComponent, selector: "kendo-sortable", inputs: { tabIndex: "tabIndex", data: "data", navigable: "navigable", navigatable: "navigatable", animation: "animation", disabledIndexes: "disabledIndexes", zone: "zone", acceptZones: "acceptZones", itemStyle: "itemStyle", emptyItemStyle: "emptyItemStyle", activeItemStyle: "activeItemStyle", disabledItemStyle: "disabledItemStyle", itemClass: "itemClass", activeItemClass: "activeItemClass", emptyItemClass: "emptyItemClass", disabledItemClass: "disabledItemClass", emptyText: "emptyText", activeIndex: "activeIndex" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", dragOver: "dragOver", dragLeave: "dragLeave", dataMove: "dataMove", dataAdd: "dataAdd", dataRemove: "dataRemove", navigate: "navigate" }, host: { properties: { "style.touch-action": "this.touchAction", "attr.dir": "this.dir", "attr.role": "this.hostRole" } }, providers: [
1574
+ SortableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SortableComponent, isStandalone: true, selector: "kendo-sortable", inputs: { tabIndex: "tabIndex", data: "data", navigable: "navigable", navigatable: "navigatable", animation: "animation", disabledIndexes: "disabledIndexes", zone: "zone", acceptZones: "acceptZones", itemStyle: "itemStyle", emptyItemStyle: "emptyItemStyle", activeItemStyle: "activeItemStyle", disabledItemStyle: "disabledItemStyle", itemClass: "itemClass", activeItemClass: "activeItemClass", emptyItemClass: "emptyItemClass", disabledItemClass: "disabledItemClass", emptyText: "emptyText", activeIndex: "activeIndex" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", dragOver: "dragOver", dragLeave: "dragLeave", dataMove: "dataMove", dataAdd: "dataAdd", dataRemove: "dataRemove", navigate: "navigate" }, host: { properties: { "style.touch-action": "this.touchAction", "attr.dir": "this.dir", "attr.role": "this.hostRole" } }, providers: [
1573
1575
  LocalizationService,
1574
1576
  {
1575
1577
  provide: L10N_PREFIX,
@@ -1625,7 +1627,7 @@ SortableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
1625
1627
  </ng-container>
1626
1628
  <ng-container *ngIf="!itemTemplateRef">{{_localData[dragIndex].item}}</ng-container>
1627
1629
  </div>
1628
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["index", "disabled", "hidden"] }] });
1630
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["index", "disabled", "hidden"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
1629
1631
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableComponent, decorators: [{
1630
1632
  type: Component,
1631
1633
  args: [{
@@ -1688,7 +1690,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1688
1690
  </ng-container>
1689
1691
  <ng-container *ngIf="!itemTemplateRef">{{_localData[dragIndex].item}}</ng-container>
1690
1692
  </div>
1691
- `
1693
+ `,
1694
+ standalone: true,
1695
+ imports: [NgFor, DraggableDirective, NgClass, NgStyle, NgIf, NgTemplateOutlet]
1692
1696
  }]
1693
1697
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i0.ElementRef }, { type: SortableService }]; }, propDecorators: { tabIndex: [{
1694
1698
  type: Input
@@ -1963,24 +1967,30 @@ class SortableBindingDirective {
1963
1967
  }
1964
1968
  }
1965
1969
  SortableBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableBindingDirective, deps: [{ token: SortableComponent }, { token: SortableService }], target: i0.ɵɵFactoryTarget.Directive });
1966
- SortableBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SortableBindingDirective, selector: "[kendoSortableBinding]", inputs: { data: ["kendoSortableBinding", "data"] }, ngImport: i0 });
1970
+ SortableBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SortableBindingDirective, isStandalone: true, selector: "[kendoSortableBinding]", inputs: { data: ["kendoSortableBinding", "data"] }, ngImport: i0 });
1967
1971
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableBindingDirective, decorators: [{
1968
1972
  type: Directive,
1969
1973
  args: [{
1970
- selector: '[kendoSortableBinding]'
1974
+ selector: '[kendoSortableBinding]',
1975
+ standalone: true
1971
1976
  }]
1972
1977
  }], ctorParameters: function () { return [{ type: SortableComponent }, { type: SortableService }]; }, propDecorators: { data: [{
1973
1978
  type: Input,
1974
1979
  args: ["kendoSortableBinding"]
1975
1980
  }] } });
1976
1981
 
1977
- const COMPONENT_DIRECTIVES = [
1982
+ /**
1983
+ * Utility array that contains all `@progress/kendo-angular-sortable` related components and directives
1984
+ */
1985
+ const KENDO_SORTABLE = [
1978
1986
  SortableComponent,
1979
1987
  DraggableDirective,
1980
1988
  PlaceholderTemplateDirective,
1981
1989
  ItemTemplateDirective,
1982
1990
  SortableBindingDirective
1983
1991
  ];
1992
+
1993
+ //IMPORTANT: NgModule export kept for backwards compatibility
1984
1994
  /**
1985
1995
  *
1986
1996
  * Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
@@ -2014,22 +2024,13 @@ const COMPONENT_DIRECTIVES = [
2014
2024
  class SortableModule {
2015
2025
  }
2016
2026
  SortableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2017
- SortableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, declarations: [SortableComponent,
2018
- DraggableDirective,
2019
- PlaceholderTemplateDirective,
2020
- ItemTemplateDirective,
2021
- SortableBindingDirective], imports: [CommonModule], exports: [SortableComponent,
2022
- DraggableDirective,
2023
- PlaceholderTemplateDirective,
2024
- ItemTemplateDirective,
2025
- SortableBindingDirective] });
2026
- SortableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, providers: [SortableService], imports: [CommonModule] });
2027
+ SortableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, imports: [SortableComponent, DraggableDirective, PlaceholderTemplateDirective, ItemTemplateDirective, SortableBindingDirective], exports: [SortableComponent, DraggableDirective, PlaceholderTemplateDirective, ItemTemplateDirective, SortableBindingDirective] });
2028
+ SortableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, providers: [SortableService], imports: [SortableComponent] });
2027
2029
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, decorators: [{
2028
2030
  type: NgModule,
2029
2031
  args: [{
2030
- declarations: [COMPONENT_DIRECTIVES],
2031
- exports: [COMPONENT_DIRECTIVES],
2032
- imports: [CommonModule],
2032
+ imports: [...KENDO_SORTABLE],
2033
+ exports: [...KENDO_SORTABLE],
2033
2034
  providers: [SortableService]
2034
2035
  }]
2035
2036
  }] });
@@ -2038,5 +2039,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2038
2039
  * Generated bundle index. Do not edit.
2039
2040
  */
2040
2041
 
2041
- export { DataMoveEvent, DragEndEvent, DragOverEvent, DragStartEvent, DraggableDirective, DraggableEvent, ItemTemplateDirective, NavigateEvent, PlaceholderTemplateDirective, PreventableEvent, SortableBindingDirective, SortableComponent, SortableContainer, SortableModule, SortableService };
2042
+ export { DataMoveEvent, DragEndEvent, DragOverEvent, DragStartEvent, DraggableDirective, DraggableEvent, ItemTemplateDirective, KENDO_SORTABLE, NavigateEvent, PlaceholderTemplateDirective, PreventableEvent, SortableBindingDirective, SortableComponent, SortableContainer, SortableModule, SortableService };
2042
2043
 
@@ -11,8 +11,7 @@ import * as i1 from '@progress/kendo-angular-l10n';
11
11
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
12
12
  import { validatePackage } from '@progress/kendo-licensing';
13
13
  import { Draggable } from '@progress/kendo-draggable';
14
- import * as i3 from '@angular/common';
15
- import { CommonModule } from '@angular/common';
14
+ import { NgFor, NgClass, NgStyle, NgIf, NgTemplateOutlet } from '@angular/common';
16
15
 
17
16
  const NODE_NAME_PREDICATES = {};
18
17
  const NODE_ATTR_PREDICATES = {};
@@ -189,8 +188,8 @@ const packageMetadata = {
189
188
  name: '@progress/kendo-angular-sortable',
190
189
  productName: 'Kendo UI for Angular',
191
190
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
192
- publishDate: 1721766363,
193
- version: '16.5.0-develop.6',
191
+ publishDate: 1721828001,
192
+ version: '16.6.0-develop.1',
194
193
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
195
194
  };
196
195
 
@@ -464,11 +463,12 @@ class DraggableDirective {
464
463
  }
465
464
  }
466
465
  DraggableDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableDirective, deps: [{ token: SortableContainer }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
467
- DraggableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DraggableDirective, selector: "[kendoDraggable]", inputs: { index: "index", disabled: "disabled", hidden: "hidden" }, host: { properties: { "class.k-focus": "this._focused", "attr.aria-disabled": "this._disabled" } }, ngImport: i0 });
466
+ DraggableDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: DraggableDirective, isStandalone: true, selector: "[kendoDraggable]", inputs: { index: "index", disabled: "disabled", hidden: "hidden" }, host: { properties: { "class.k-focus": "this._focused", "attr.aria-disabled": "this._disabled" } }, ngImport: i0 });
468
467
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: DraggableDirective, decorators: [{
469
468
  type: Directive,
470
469
  args: [{
471
- selector: '[kendoDraggable]'
470
+ selector: '[kendoDraggable]',
471
+ standalone: true
472
472
  }]
473
473
  }], ctorParameters: function () { return [{ type: SortableContainer }, { type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { index: [{
474
474
  type: Input
@@ -494,11 +494,12 @@ class ItemTemplateDirective {
494
494
  }
495
495
  }
496
496
  ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
497
- ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, selector: "[kendoSortableItemTemplate]", ngImport: i0 });
497
+ ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, isStandalone: true, selector: "[kendoSortableItemTemplate]", ngImport: i0 });
498
498
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, decorators: [{
499
499
  type: Directive,
500
500
  args: [{
501
- selector: '[kendoSortableItemTemplate]'
501
+ selector: '[kendoSortableItemTemplate]',
502
+ standalone: true
502
503
  }]
503
504
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
504
505
  /**
@@ -510,11 +511,12 @@ class PlaceholderTemplateDirective {
510
511
  }
511
512
  }
512
513
  PlaceholderTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PlaceholderTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
513
- PlaceholderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PlaceholderTemplateDirective, selector: "[kendoSortablePlaceholderTemplate]", ngImport: i0 });
514
+ PlaceholderTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: PlaceholderTemplateDirective, isStandalone: true, selector: "[kendoSortablePlaceholderTemplate]", ngImport: i0 });
514
515
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: PlaceholderTemplateDirective, decorators: [{
515
516
  type: Directive,
516
517
  args: [{
517
- selector: '[kendoSortablePlaceholderTemplate]'
518
+ selector: '[kendoSortablePlaceholderTemplate]',
519
+ standalone: true
518
520
  }]
519
521
  }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
520
522
 
@@ -647,18 +649,18 @@ class SortableComponent {
647
649
  this.animation = false;
648
650
  /**
649
651
  * Sets an array of integers, which represent the indexes of the disabled items from the data array
650
- * ([see example]({% slug items_sortable %}#toc-disabled-items)).
652
+ * ([see example](slug:items_sortable#toc-disabling-items)).
651
653
  */
652
654
  this.disabledIndexes = [];
653
655
  /**
654
656
  * Sets a string that represents the name of the zone to which the Sortable belongs
655
- * ([see example]({% slug items_sortable %}#toc-transfer-of-items)). Items can be transferred
657
+ * ([see example](slug:items_sortable#toc-transferring-of-items)). Items can be transferred
656
658
  * between Sortables which belong to the same zone.
657
659
  */
658
660
  this.zone = undefined;
659
661
  /**
660
662
  * Defines the zones from which items can be transferred onto the current Sortable component
661
- * ([see example]({% slug items_sortable %}#toc-transfer-of-items)). If the `acceptZones` property
663
+ * ([see example](slug:items_sortable#toc-transferring-of-items)). If the `acceptZones` property
662
664
  * of the target Sortable is set, allows you to transfer items between Sortables which belong
663
665
  * to different zones.
664
666
  */
@@ -1569,7 +1571,7 @@ class SortableComponent {
1569
1571
  }
1570
1572
  }
1571
1573
  SortableComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableComponent, deps: [{ token: i0.NgZone }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i1.LocalizationService }, { token: i0.ElementRef }, { token: SortableService }], target: i0.ɵɵFactoryTarget.Component });
1572
- SortableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SortableComponent, selector: "kendo-sortable", inputs: { tabIndex: "tabIndex", data: "data", navigable: "navigable", navigatable: "navigatable", animation: "animation", disabledIndexes: "disabledIndexes", zone: "zone", acceptZones: "acceptZones", itemStyle: "itemStyle", emptyItemStyle: "emptyItemStyle", activeItemStyle: "activeItemStyle", disabledItemStyle: "disabledItemStyle", itemClass: "itemClass", activeItemClass: "activeItemClass", emptyItemClass: "emptyItemClass", disabledItemClass: "disabledItemClass", emptyText: "emptyText", activeIndex: "activeIndex" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", dragOver: "dragOver", dragLeave: "dragLeave", dataMove: "dataMove", dataAdd: "dataAdd", dataRemove: "dataRemove", navigate: "navigate" }, host: { properties: { "style.touch-action": "this.touchAction", "attr.dir": "this.dir", "attr.role": "this.hostRole" } }, providers: [
1574
+ SortableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: SortableComponent, isStandalone: true, selector: "kendo-sortable", inputs: { tabIndex: "tabIndex", data: "data", navigable: "navigable", navigatable: "navigatable", animation: "animation", disabledIndexes: "disabledIndexes", zone: "zone", acceptZones: "acceptZones", itemStyle: "itemStyle", emptyItemStyle: "emptyItemStyle", activeItemStyle: "activeItemStyle", disabledItemStyle: "disabledItemStyle", itemClass: "itemClass", activeItemClass: "activeItemClass", emptyItemClass: "emptyItemClass", disabledItemClass: "disabledItemClass", emptyText: "emptyText", activeIndex: "activeIndex" }, outputs: { dragStart: "dragStart", dragEnd: "dragEnd", dragOver: "dragOver", dragLeave: "dragLeave", dataMove: "dataMove", dataAdd: "dataAdd", dataRemove: "dataRemove", navigate: "navigate" }, host: { properties: { "style.touch-action": "this.touchAction", "attr.dir": "this.dir", "attr.role": "this.hostRole" } }, providers: [
1573
1575
  LocalizationService,
1574
1576
  {
1575
1577
  provide: L10N_PREFIX,
@@ -1625,7 +1627,7 @@ SortableComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", vers
1625
1627
  </ng-container>
1626
1628
  <ng-container *ngIf="!itemTemplateRef">{{_localData[dragIndex].item}}</ng-container>
1627
1629
  </div>
1628
- `, isInline: true, dependencies: [{ kind: "directive", type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i3.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["index", "disabled", "hidden"] }] });
1630
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: DraggableDirective, selector: "[kendoDraggable]", inputs: ["index", "disabled", "hidden"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
1629
1631
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableComponent, decorators: [{
1630
1632
  type: Component,
1631
1633
  args: [{
@@ -1688,7 +1690,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1688
1690
  </ng-container>
1689
1691
  <ng-container *ngIf="!itemTemplateRef">{{_localData[dragIndex].item}}</ng-container>
1690
1692
  </div>
1691
- `
1693
+ `,
1694
+ standalone: true,
1695
+ imports: [NgFor, DraggableDirective, NgClass, NgStyle, NgIf, NgTemplateOutlet]
1692
1696
  }]
1693
1697
  }], ctorParameters: function () { return [{ type: i0.NgZone }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i1.LocalizationService }, { type: i0.ElementRef }, { type: SortableService }]; }, propDecorators: { tabIndex: [{
1694
1698
  type: Input
@@ -1963,24 +1967,30 @@ class SortableBindingDirective {
1963
1967
  }
1964
1968
  }
1965
1969
  SortableBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableBindingDirective, deps: [{ token: SortableComponent }, { token: SortableService }], target: i0.ɵɵFactoryTarget.Directive });
1966
- SortableBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SortableBindingDirective, selector: "[kendoSortableBinding]", inputs: { data: ["kendoSortableBinding", "data"] }, ngImport: i0 });
1970
+ SortableBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: SortableBindingDirective, isStandalone: true, selector: "[kendoSortableBinding]", inputs: { data: ["kendoSortableBinding", "data"] }, ngImport: i0 });
1967
1971
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableBindingDirective, decorators: [{
1968
1972
  type: Directive,
1969
1973
  args: [{
1970
- selector: '[kendoSortableBinding]'
1974
+ selector: '[kendoSortableBinding]',
1975
+ standalone: true
1971
1976
  }]
1972
1977
  }], ctorParameters: function () { return [{ type: SortableComponent }, { type: SortableService }]; }, propDecorators: { data: [{
1973
1978
  type: Input,
1974
1979
  args: ["kendoSortableBinding"]
1975
1980
  }] } });
1976
1981
 
1977
- const COMPONENT_DIRECTIVES = [
1982
+ /**
1983
+ * Utility array that contains all `@progress/kendo-angular-sortable` related components and directives
1984
+ */
1985
+ const KENDO_SORTABLE = [
1978
1986
  SortableComponent,
1979
1987
  DraggableDirective,
1980
1988
  PlaceholderTemplateDirective,
1981
1989
  ItemTemplateDirective,
1982
1990
  SortableBindingDirective
1983
1991
  ];
1992
+
1993
+ //IMPORTANT: NgModule export kept for backwards compatibility
1984
1994
  /**
1985
1995
  *
1986
1996
  * Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
@@ -2014,22 +2024,13 @@ const COMPONENT_DIRECTIVES = [
2014
2024
  class SortableModule {
2015
2025
  }
2016
2026
  SortableModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2017
- SortableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, declarations: [SortableComponent,
2018
- DraggableDirective,
2019
- PlaceholderTemplateDirective,
2020
- ItemTemplateDirective,
2021
- SortableBindingDirective], imports: [CommonModule], exports: [SortableComponent,
2022
- DraggableDirective,
2023
- PlaceholderTemplateDirective,
2024
- ItemTemplateDirective,
2025
- SortableBindingDirective] });
2026
- SortableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, providers: [SortableService], imports: [CommonModule] });
2027
+ SortableModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, imports: [SortableComponent, DraggableDirective, PlaceholderTemplateDirective, ItemTemplateDirective, SortableBindingDirective], exports: [SortableComponent, DraggableDirective, PlaceholderTemplateDirective, ItemTemplateDirective, SortableBindingDirective] });
2028
+ SortableModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, providers: [SortableService], imports: [SortableComponent] });
2027
2029
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: SortableModule, decorators: [{
2028
2030
  type: NgModule,
2029
2031
  args: [{
2030
- declarations: [COMPONENT_DIRECTIVES],
2031
- exports: [COMPONENT_DIRECTIVES],
2032
- imports: [CommonModule],
2032
+ imports: [...KENDO_SORTABLE],
2033
+ exports: [...KENDO_SORTABLE],
2033
2034
  providers: [SortableService]
2034
2035
  }]
2035
2036
  }] });
@@ -2038,5 +2039,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2038
2039
  * Generated bundle index. Do not edit.
2039
2040
  */
2040
2041
 
2041
- export { DataMoveEvent, DragEndEvent, DragOverEvent, DragStartEvent, DraggableDirective, DraggableEvent, ItemTemplateDirective, NavigateEvent, PlaceholderTemplateDirective, PreventableEvent, SortableBindingDirective, SortableComponent, SortableContainer, SortableModule, SortableService };
2042
+ export { DataMoveEvent, DragEndEvent, DragOverEvent, DragStartEvent, DraggableDirective, DraggableEvent, ItemTemplateDirective, KENDO_SORTABLE, NavigateEvent, PlaceholderTemplateDirective, PreventableEvent, SortableBindingDirective, SortableComponent, SortableContainer, SortableModule, SortableService };
2042
2043
 
package/index.d.ts CHANGED
@@ -17,3 +17,4 @@ export { PlaceholderTemplateDirective } from './item-template.directive';
17
17
  export { ItemTemplateDirective } from './item-template.directive';
18
18
  export { SortableService } from './sortable.service';
19
19
  export { SortableContainer } from './sortable-container';
20
+ export * from './directives';
@@ -11,7 +11,7 @@ export declare class ItemTemplateDirective {
11
11
  templateRef: TemplateRef<any>;
12
12
  constructor(templateRef: TemplateRef<any>);
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<ItemTemplateDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<ItemTemplateDirective, "[kendoSortableItemTemplate]", never, {}, {}, never, never, false, never>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ItemTemplateDirective, "[kendoSortableItemTemplate]", never, {}, {}, never, never, true, never>;
15
15
  }
16
16
  /**
17
17
  * @hidden
@@ -20,5 +20,5 @@ export declare class PlaceholderTemplateDirective {
20
20
  templateRef: TemplateRef<any>;
21
21
  constructor(templateRef: TemplateRef<any>);
22
22
  static ɵfac: i0.ɵɵFactoryDeclaration<PlaceholderTemplateDirective, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<PlaceholderTemplateDirective, "[kendoSortablePlaceholderTemplate]", never, {}, {}, never, never, false, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PlaceholderTemplateDirective, "[kendoSortablePlaceholderTemplate]", never, {}, {}, never, never, true, never>;
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-sortable",
3
- "version": "16.5.0-develop.6",
3
+ "version": "16.6.0-develop.1",
4
4
  "description": "A Sortable Component for Angular",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -23,13 +23,13 @@
23
23
  "@angular/core": "15 - 18",
24
24
  "@angular/platform-browser": "15 - 18",
25
25
  "@progress/kendo-licensing": "^1.0.2",
26
- "@progress/kendo-angular-common": "16.5.0-develop.6",
27
- "@progress/kendo-angular-l10n": "16.5.0-develop.6",
26
+ "@progress/kendo-angular-common": "16.6.0-develop.1",
27
+ "@progress/kendo-angular-l10n": "16.6.0-develop.1",
28
28
  "rxjs": "^6.5.3 || ^7.0.0"
29
29
  },
30
30
  "dependencies": {
31
31
  "tslib": "^2.3.1",
32
- "@progress/kendo-angular-schematics": "16.5.0-develop.6",
32
+ "@progress/kendo-angular-schematics": "16.6.0-develop.1",
33
33
  "@progress/kendo-draggable": "^3.0.2"
34
34
  },
35
35
  "schematics": "./schematics/collection.json",
@@ -56,18 +56,18 @@ export declare class SortableComponent implements OnInit, OnDestroy, OnChanges,
56
56
  animation: boolean;
57
57
  /**
58
58
  * Sets an array of integers, which represent the indexes of the disabled items from the data array
59
- * ([see example]({% slug items_sortable %}#toc-disabled-items)).
59
+ * ([see example](slug:items_sortable#toc-disabling-items)).
60
60
  */
61
61
  disabledIndexes: number[];
62
62
  /**
63
63
  * Sets a string that represents the name of the zone to which the Sortable belongs
64
- * ([see example]({% slug items_sortable %}#toc-transfer-of-items)). Items can be transferred
64
+ * ([see example](slug:items_sortable#toc-transferring-of-items)). Items can be transferred
65
65
  * between Sortables which belong to the same zone.
66
66
  */
67
67
  zone: string;
68
68
  /**
69
69
  * Defines the zones from which items can be transferred onto the current Sortable component
70
- * ([see example]({% slug items_sortable %}#toc-transfer-of-items)). If the `acceptZones` property
70
+ * ([see example](slug:items_sortable#toc-transferring-of-items)). If the `acceptZones` property
71
71
  * of the target Sortable is set, allows you to transfer items between Sortables which belong
72
72
  * to different zones.
73
73
  */
@@ -442,5 +442,5 @@ export declare class SortableComponent implements OnInit, OnDestroy, OnChanges,
442
442
  private placeHolderItemData;
443
443
  private fixFocus;
444
444
  static ɵfac: i0.ɵɵFactoryDeclaration<SortableComponent, never>;
445
- static ɵcmp: i0.ɵɵComponentDeclaration<SortableComponent, "kendo-sortable", ["kendoSortable"], { "tabIndex": "tabIndex"; "data": "data"; "navigable": "navigable"; "navigatable": "navigatable"; "animation": "animation"; "disabledIndexes": "disabledIndexes"; "zone": "zone"; "acceptZones": "acceptZones"; "itemStyle": "itemStyle"; "emptyItemStyle": "emptyItemStyle"; "activeItemStyle": "activeItemStyle"; "disabledItemStyle": "disabledItemStyle"; "itemClass": "itemClass"; "activeItemClass": "activeItemClass"; "emptyItemClass": "emptyItemClass"; "disabledItemClass": "disabledItemClass"; "emptyText": "emptyText"; "activeIndex": "activeIndex"; }, { "dragStart": "dragStart"; "dragEnd": "dragEnd"; "dragOver": "dragOver"; "dragLeave": "dragLeave"; "dataMove": "dataMove"; "dataAdd": "dataAdd"; "dataRemove": "dataRemove"; "navigate": "navigate"; }, ["defaultTemplateRef", "itemTemplateDirectiveRef", "placeholderTemplateDirectiveRef"], never, false, never>;
445
+ static ɵcmp: i0.ɵɵComponentDeclaration<SortableComponent, "kendo-sortable", ["kendoSortable"], { "tabIndex": "tabIndex"; "data": "data"; "navigable": "navigable"; "navigatable": "navigatable"; "animation": "animation"; "disabledIndexes": "disabledIndexes"; "zone": "zone"; "acceptZones": "acceptZones"; "itemStyle": "itemStyle"; "emptyItemStyle": "emptyItemStyle"; "activeItemStyle": "activeItemStyle"; "disabledItemStyle": "disabledItemStyle"; "itemClass": "itemClass"; "activeItemClass": "activeItemClass"; "emptyItemClass": "emptyItemClass"; "disabledItemClass": "disabledItemClass"; "emptyText": "emptyText"; "activeIndex": "activeIndex"; }, { "dragStart": "dragStart"; "dragEnd": "dragEnd"; "dragOver": "dragOver"; "dragLeave": "dragLeave"; "dataMove": "dataMove"; "dataAdd": "dataAdd"; "dataRemove": "dataRemove"; "navigate": "navigate"; }, ["defaultTemplateRef", "itemTemplateDirectiveRef", "placeholderTemplateDirectiveRef"], never, true, never>;
446
446
  }
@@ -7,7 +7,6 @@ import * as i1 from "./sortable.component";
7
7
  import * as i2 from "./draggable.directive";
8
8
  import * as i3 from "./item-template.directive";
9
9
  import * as i4 from "./binding.directive";
10
- import * as i5 from "@angular/common";
11
10
  /**
12
11
  *
13
12
  * Represents the [`NgModule`](link:site.data.urls.angular['ngmoduleapi'])
@@ -40,6 +39,6 @@ import * as i5 from "@angular/common";
40
39
  */
41
40
  export declare class SortableModule {
42
41
  static ɵfac: i0.ɵɵFactoryDeclaration<SortableModule, never>;
43
- static ɵmod: i0.ɵɵNgModuleDeclaration<SortableModule, [typeof i1.SortableComponent, typeof i2.DraggableDirective, typeof i3.PlaceholderTemplateDirective, typeof i3.ItemTemplateDirective, typeof i4.SortableBindingDirective], [typeof i5.CommonModule], [typeof i1.SortableComponent, typeof i2.DraggableDirective, typeof i3.PlaceholderTemplateDirective, typeof i3.ItemTemplateDirective, typeof i4.SortableBindingDirective]>;
42
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SortableModule, never, [typeof i1.SortableComponent, typeof i2.DraggableDirective, typeof i3.PlaceholderTemplateDirective, typeof i3.ItemTemplateDirective, typeof i4.SortableBindingDirective], [typeof i1.SortableComponent, typeof i2.DraggableDirective, typeof i3.PlaceholderTemplateDirective, typeof i3.ItemTemplateDirective, typeof i4.SortableBindingDirective]>;
44
43
  static ɵinj: i0.ɵɵInjectorDeclaration<SortableModule>;
45
44
  }