@progress/kendo-angular-menu 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.
Files changed (42) hide show
  1. package/context-menu/context-menu-target-container.directive.d.ts +1 -1
  2. package/context-menu/context-menu-target.directive.d.ts +1 -1
  3. package/context-menu/context-menu-template.directive.d.ts +1 -1
  4. package/context-menu/context-menu.component.d.ts +1 -1
  5. package/context-menu/context-menu.module.d.ts +10 -4
  6. package/data-binding/flat-binding.directive.d.ts +1 -1
  7. package/data-binding/hierachy-binding.directive.d.ts +1 -1
  8. package/directives.d.ts +29 -0
  9. package/esm2020/context-menu/context-menu-target-container.directive.mjs +3 -2
  10. package/esm2020/context-menu/context-menu-target.directive.mjs +3 -2
  11. package/esm2020/context-menu/context-menu-template.directive.mjs +3 -2
  12. package/esm2020/context-menu/context-menu.component.mjs +8 -6
  13. package/esm2020/context-menu/context-menu.module.mjs +22 -24
  14. package/esm2020/data-binding/flat-binding.directive.mjs +3 -2
  15. package/esm2020/data-binding/hierachy-binding.directive.mjs +3 -2
  16. package/esm2020/directives.mjs +48 -0
  17. package/esm2020/index.mjs +1 -0
  18. package/esm2020/menu-item.component.mjs +3 -2
  19. package/esm2020/menu.component.mjs +7 -5
  20. package/esm2020/menu.module.mjs +18 -51
  21. package/esm2020/menus.module.mjs +22 -5
  22. package/esm2020/package-metadata.mjs +2 -2
  23. package/esm2020/rendering/arrow.component.mjs +5 -3
  24. package/esm2020/rendering/link.directive.mjs +3 -2
  25. package/esm2020/rendering/list.component.mjs +16 -12
  26. package/esm2020/templates/item-content-template.directive.mjs +3 -2
  27. package/esm2020/templates/item-link-template.directive.mjs +3 -2
  28. package/esm2020/templates/item-template.directive.mjs +3 -2
  29. package/fesm2015/progress-kendo-angular-menu.mjs +205 -195
  30. package/fesm2020/progress-kendo-angular-menu.mjs +182 -172
  31. package/index.d.ts +1 -0
  32. package/menu-item.component.d.ts +1 -1
  33. package/menu.component.d.ts +1 -1
  34. package/menu.module.d.ts +1 -5
  35. package/menus.module.d.ts +14 -3
  36. package/package.json +6 -6
  37. package/rendering/arrow.component.d.ts +1 -1
  38. package/rendering/link.directive.d.ts +1 -1
  39. package/rendering/list.component.d.ts +3 -3
  40. package/templates/item-content-template.directive.d.ts +1 -1
  41. package/templates/item-link-template.directive.d.ts +1 -1
  42. package/templates/item-template.directive.d.ts +1 -1
@@ -3,18 +3,16 @@
3
3
  * Licensed under commercial license. See LICENSE.md in the project root for more information
4
4
  *-------------------------------------------------------------------------------------------*/
5
5
  import * as i0 from '@angular/core';
6
- import { Injectable, NgZone, EventEmitter, Directive, Optional, Component, Input, ContentChildren, ElementRef, ViewChild, HostBinding, forwardRef, Output, isDevMode, NgModule, ContentChild } from '@angular/core';
6
+ import { Injectable, NgZone, EventEmitter, Directive, Optional, Component, Input, ContentChildren, ElementRef, forwardRef, ViewChild, HostBinding, Output, isDevMode, ContentChild, NgModule } from '@angular/core';
7
+ import { NgFor, NgIf, NgClass, NgStyle, NgTemplateOutlet } from '@angular/common';
7
8
  import * as i3 from '@progress/kendo-angular-l10n';
8
9
  import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
9
10
  import { validatePackage } from '@progress/kendo-licensing';
10
11
  import { PreventableEvent as PreventableEvent$1, hasObservers, isDocumentAvailable, Keys } from '@progress/kendo-angular-common';
11
12
  import { caretAltLeftIcon, caretAltRightIcon, caretAltDownIcon } from '@progress/kendo-svg-icons';
12
- import * as i5 from '@angular/common';
13
- import { CommonModule } from '@angular/common';
14
- import * as i6 from '@progress/kendo-angular-popup';
15
- import { PopupService, POPUP_CONTAINER, PopupModule } from '@progress/kendo-angular-popup';
16
- import * as i8 from '@progress/kendo-angular-icons';
17
- import { IconsModule } from '@progress/kendo-angular-icons';
13
+ import * as i5 from '@progress/kendo-angular-popup';
14
+ import { PopupService, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
15
+ import { IconWrapperComponent, IconsService } from '@progress/kendo-angular-icons';
18
16
 
19
17
  /**
20
18
  * @hidden
@@ -23,8 +21,8 @@ const packageMetadata = {
23
21
  name: '@progress/kendo-angular-menu',
24
22
  productName: 'Kendo UI for Angular',
25
23
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
26
- publishDate: 1721814086,
27
- version: '16.5.0',
24
+ publishDate: 1721827651,
25
+ version: '16.6.0-develop.1',
28
26
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
29
27
  };
30
28
 
@@ -857,11 +855,12 @@ class ItemTemplateDirective {
857
855
  }
858
856
  }
859
857
  ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
860
- ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, selector: "[kendoMenuItemTemplate]", ngImport: i0 });
858
+ ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, isStandalone: true, selector: "[kendoMenuItemTemplate]", ngImport: i0 });
861
859
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, decorators: [{
862
860
  type: Directive,
863
861
  args: [{
864
- selector: '[kendoMenuItemTemplate]'
862
+ selector: '[kendoMenuItemTemplate]',
863
+ standalone: true
865
864
  }]
866
865
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
867
866
  type: Optional
@@ -905,11 +904,12 @@ class ItemLinkTemplateDirective {
905
904
  }
906
905
  }
907
906
  ItemLinkTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemLinkTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
908
- ItemLinkTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemLinkTemplateDirective, selector: "[kendoMenuItemLinkTemplate]", ngImport: i0 });
907
+ ItemLinkTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemLinkTemplateDirective, isStandalone: true, selector: "[kendoMenuItemLinkTemplate]", ngImport: i0 });
909
908
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemLinkTemplateDirective, decorators: [{
910
909
  type: Directive,
911
910
  args: [{
912
- selector: '[kendoMenuItemLinkTemplate]'
911
+ selector: '[kendoMenuItemLinkTemplate]',
912
+ standalone: true
913
913
  }]
914
914
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
915
915
  type: Optional
@@ -951,11 +951,12 @@ class ItemContentTemplateDirective {
951
951
  }
952
952
  }
953
953
  ItemContentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
954
- ItemContentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemContentTemplateDirective, selector: "[kendoMenuItemContentTemplate]", ngImport: i0 });
954
+ ItemContentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemContentTemplateDirective, isStandalone: true, selector: "[kendoMenuItemContentTemplate]", ngImport: i0 });
955
955
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemContentTemplateDirective, decorators: [{
956
956
  type: Directive,
957
957
  args: [{
958
- selector: '[kendoMenuItemContentTemplate]'
958
+ selector: '[kendoMenuItemContentTemplate]',
959
+ standalone: true
959
960
  }]
960
961
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
961
962
  type: Optional
@@ -1041,12 +1042,13 @@ class MenuItemComponent {
1041
1042
  }
1042
1043
  }
1043
1044
  MenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
1044
- MenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MenuItemComponent, selector: "kendo-menu-item", inputs: { text: "text", url: "url", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", icon: "icon", svgIcon: "svgIcon", data: "data", separator: "separator" }, queries: [{ propertyName: "itemTemplate", predicate: ItemTemplateDirective }, { propertyName: "itemLinkTemplate", predicate: ItemLinkTemplateDirective }, { propertyName: "itemContentTemplate", predicate: ItemContentTemplateDirective }, { propertyName: "children", predicate: MenuItemComponent }], ngImport: i0, template: ``, isInline: true });
1045
+ MenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MenuItemComponent, isStandalone: true, selector: "kendo-menu-item", inputs: { text: "text", url: "url", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", icon: "icon", svgIcon: "svgIcon", data: "data", separator: "separator" }, queries: [{ propertyName: "itemTemplate", predicate: ItemTemplateDirective }, { propertyName: "itemLinkTemplate", predicate: ItemLinkTemplateDirective }, { propertyName: "itemContentTemplate", predicate: ItemContentTemplateDirective }, { propertyName: "children", predicate: MenuItemComponent }], ngImport: i0, template: ``, isInline: true });
1045
1046
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuItemComponent, decorators: [{
1046
1047
  type: Component,
1047
1048
  args: [{
1048
1049
  selector: 'kendo-menu-item',
1049
- template: ``
1050
+ template: ``,
1051
+ standalone: true
1050
1052
  }]
1051
1053
  }], propDecorators: { text: [{
1052
1054
  type: Input
@@ -1419,7 +1421,7 @@ class ListComponent {
1419
1421
  }
1420
1422
  }
1421
1423
  ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListComponent, deps: [{ token: ItemsService }, { token: HoverService }, { token: ActionsService }, { token: NavigationService }, { token: i0.Renderer2 }, { token: i0.NgZone }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
1422
- ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ListComponent, selector: "[kendoMenuList]", inputs: { appendTo: "appendTo", items: "items", level: "level", index: "index", animate: "animate", size: "size", vertical: "vertical", rtl: "rtl", openOnClick: "openOnClick", itemTemplate: "itemTemplate", itemLinkTemplate: "itemLinkTemplate" }, ngImport: i0, template: "\n <ng-container *ngFor=\"let item of items; let idx = index\">\n <li *ngIf=\"!item.separator\" \n kendoMenuItem\n [appendTo]=\"appendTo\"\n [item]=\"item\"\n [level]=\"level\"\n [size]=\"size\"\n [vertical]=\"vertical\"\n [animate]=\"animate\"\n [rtl]=\"rtl\"\n [itemTemplate]=\"itemTemplate\"\n [itemLinkTemplate]=\"itemLinkTemplate\"\n [openOnClick]=\"openOnClick\"\n [index]=\"hierarchyIndex(idx)\"\n [siblingIndex]=\"idx\"\n [attr.data-kendo-menu-index]=\"hierarchyIndex(idx)\"\n [ngClass]=\"item.cssClass\"\n [ngStyle]=\"item.cssStyle\"\n role=\"menuitem\"\n class=\"k-item k-menu-item\"\n [class.k-first]=\"idx === 0\"\n [class.k-last]=\"idx === items.length - 1\"\n [class.k-disabled]=\"item.disabled\"></li>\n <li \n *ngIf=\"item.separator\"\n class=\"k-separator k-item\"\n [ngClass]=\"item.cssClass\"\n aria-hidden=\"true\"\n [ngStyle]=\"item.cssStyle\">\n &nbsp;\n </li>\n </ng-container>\n ", isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return i5.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(function () { return i5.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return i5.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i0.forwardRef(function () { return i5.NgStyle; }), selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i0.forwardRef(function () { return ItemComponent; }), selector: "[kendoMenuItem]", inputs: ["appendTo", "item", "level", "index", "siblingIndex", "animate", "size", "vertical", "rtl", "openOnClick", "itemTemplate", "itemLinkTemplate"] }] });
1424
+ ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ListComponent, isStandalone: true, selector: "[kendoMenuList]", inputs: { appendTo: "appendTo", items: "items", level: "level", index: "index", animate: "animate", size: "size", vertical: "vertical", rtl: "rtl", openOnClick: "openOnClick", itemTemplate: "itemTemplate", itemLinkTemplate: "itemLinkTemplate" }, ngImport: i0, template: "\n <ng-container *ngFor=\"let item of items; let idx = index\">\n <li *ngIf=\"!item.separator\" \n kendoMenuItem\n [appendTo]=\"appendTo\"\n [item]=\"item\"\n [level]=\"level\"\n [size]=\"size\"\n [vertical]=\"vertical\"\n [animate]=\"animate\"\n [rtl]=\"rtl\"\n [itemTemplate]=\"itemTemplate\"\n [itemLinkTemplate]=\"itemLinkTemplate\"\n [openOnClick]=\"openOnClick\"\n [index]=\"hierarchyIndex(idx)\"\n [siblingIndex]=\"idx\"\n [attr.data-kendo-menu-index]=\"hierarchyIndex(idx)\"\n [ngClass]=\"item.cssClass\"\n [ngStyle]=\"item.cssStyle\"\n role=\"menuitem\"\n class=\"k-item k-menu-item\"\n [class.k-first]=\"idx === 0\"\n [class.k-last]=\"idx === items.length - 1\"\n [class.k-disabled]=\"item.disabled\"></li>\n <li \n *ngIf=\"item.separator\"\n class=\"k-separator k-item\"\n [ngClass]=\"item.cssClass\"\n aria-hidden=\"true\"\n [ngStyle]=\"item.cssStyle\">\n &nbsp;\n </li>\n </ng-container>\n ", isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return NgFor; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i0.forwardRef(function () { return ItemComponent; }), selector: "[kendoMenuItem]", inputs: ["appendTo", "item", "level", "index", "siblingIndex", "animate", "size", "vertical", "rtl", "openOnClick", "itemTemplate", "itemLinkTemplate"] }, { kind: "directive", type: i0.forwardRef(function () { return NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(function () { return NgStyle; }), selector: "[ngStyle]", inputs: ["ngStyle"] }] });
1423
1425
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListComponent, decorators: [{
1424
1426
  type: Component,
1425
1427
  args: [{
@@ -1457,7 +1459,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1457
1459
  &nbsp;
1458
1460
  </li>
1459
1461
  </ng-container>
1460
- `
1462
+ `,
1463
+ standalone: true,
1464
+ imports: [NgFor, NgIf, forwardRef(() => ItemComponent), NgClass, NgStyle]
1461
1465
  }]
1462
1466
  }], ctorParameters: function () { return [{ type: ItemsService }, { type: HoverService }, { type: ActionsService }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ElementRef }]; }, propDecorators: { appendTo: [{
1463
1467
  type: Input
@@ -1673,8 +1677,8 @@ class ItemComponent {
1673
1677
  this.renderer.setAttribute(this.element.nativeElement, name, value);
1674
1678
  }
1675
1679
  }
1676
- ItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemComponent, deps: [{ token: ItemsService }, { token: NavigationService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i6.PopupService }, { token: i0.ElementRef }, { token: ContextMenuService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1677
- ItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ItemComponent, selector: "[kendoMenuItem]", inputs: { appendTo: "appendTo", item: "item", level: "level", index: "index", siblingIndex: "siblingIndex", animate: "animate", size: "size", vertical: "vertical", rtl: "rtl", openOnClick: "openOnClick", itemTemplate: "itemTemplate", itemLinkTemplate: "itemLinkTemplate" }, host: { properties: { "attr.aria-disabled": "this.disabled", "attr.aria-haspopup": "this.hasPopup", "attr.aria-label": "this.label", "attr.tabindex": "this.activeId" } }, providers: [PopupService, {
1680
+ ItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemComponent, deps: [{ token: ItemsService }, { token: NavigationService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i5.PopupService }, { token: i0.ElementRef }, { token: ContextMenuService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
1681
+ ItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ItemComponent, isStandalone: true, selector: "[kendoMenuItem]", inputs: { appendTo: "appendTo", item: "item", level: "level", index: "index", siblingIndex: "siblingIndex", animate: "animate", size: "size", vertical: "vertical", rtl: "rtl", openOnClick: "openOnClick", itemTemplate: "itemTemplate", itemLinkTemplate: "itemLinkTemplate" }, host: { properties: { "attr.aria-disabled": "this.disabled", "attr.aria-haspopup": "this.hasPopup", "attr.aria-label": "this.label", "attr.tabindex": "this.activeId" } }, providers: [PopupService, {
1678
1682
  provide: POPUP_CONTAINER,
1679
1683
  useFactory: bodyFactory
1680
1684
  }], viewQueries: [{ propertyName: "link", first: true, predicate: ["link"], descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], ngImport: i0, template: `
@@ -1725,7 +1729,7 @@ ItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
1725
1729
  </ng-template>
1726
1730
  <kendo-icon-wrapper *ngIf="hasContent" [name]="fontIcon(horizontal, rtl)" [svgIcon]="SVGIcon(horizontal, rtl)" class="k-menu-expand-arrow" aria-hidden="true"></kendo-icon-wrapper>
1727
1731
  </ng-template>
1728
- `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }, { kind: "component", type: ListComponent, selector: "[kendoMenuList]", inputs: ["appendTo", "items", "level", "index", "animate", "size", "vertical", "rtl", "openOnClick", "itemTemplate", "itemLinkTemplate"] }] });
1732
+ `, isInline: true, dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: ListComponent, selector: "[kendoMenuList]", inputs: ["appendTo", "items", "level", "index", "animate", "size", "vertical", "rtl", "openOnClick", "itemTemplate", "itemLinkTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
1729
1733
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemComponent, decorators: [{
1730
1734
  type: Component,
1731
1735
  args: [{
@@ -1782,9 +1786,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
1782
1786
  </ng-template>
1783
1787
  <kendo-icon-wrapper *ngIf="hasContent" [name]="fontIcon(horizontal, rtl)" [svgIcon]="SVGIcon(horizontal, rtl)" class="k-menu-expand-arrow" aria-hidden="true"></kendo-icon-wrapper>
1784
1788
  </ng-template>
1785
- `
1789
+ `,
1790
+ standalone: true,
1791
+ imports: [NgIf, NgTemplateOutlet, ListComponent, NgClass, IconWrapperComponent]
1786
1792
  }]
1787
- }], ctorParameters: function () { return [{ type: ItemsService }, { type: NavigationService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i6.PopupService }, { type: i0.ElementRef }, { type: ContextMenuService, decorators: [{
1793
+ }], ctorParameters: function () { return [{ type: ItemsService }, { type: NavigationService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i5.PopupService }, { type: i0.ElementRef }, { type: ContextMenuService, decorators: [{
1788
1794
  type: Optional
1789
1795
  }] }]; }, propDecorators: { appendTo: [{
1790
1796
  type: Input
@@ -2001,7 +2007,7 @@ class MenuComponent extends MenuBase {
2001
2007
  }
2002
2008
  }
2003
2009
  MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuComponent, deps: [{ token: ItemsService }, { token: HoverService }, { token: ActionsService }, { token: NavigationService }, { token: i3.LocalizationService }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: ContextMenuService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
2004
- MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MenuComponent, selector: "kendo-menu", inputs: { appendTo: "appendTo", menuItemTemplate: "menuItemTemplate", ariaRole: "ariaRole", menuItemLinkTemplate: "menuItemLinkTemplate" }, outputs: { select: "select", open: "open", close: "close" }, host: { properties: { "class.k-rtl": "this.direction" } }, providers: [
2010
+ MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: MenuComponent, isStandalone: true, selector: "kendo-menu", inputs: { appendTo: "appendTo", menuItemTemplate: "menuItemTemplate", ariaRole: "ariaRole", menuItemLinkTemplate: "menuItemLinkTemplate" }, outputs: { select: "select", open: "open", close: "close" }, host: { properties: { "class.k-rtl": "this.direction" } }, providers: [
2005
2011
  ItemsService,
2006
2012
  ActionsService,
2007
2013
  NavigationService,
@@ -2025,7 +2031,7 @@ MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
2025
2031
  [itemLinkTemplate]="itemLinkTemplate.first?.templateRef || menuItemLinkTemplate"
2026
2032
  [ngClass]="menuClasses">
2027
2033
  </ul>
2028
- `, isInline: true, dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: ListComponent, selector: "[kendoMenuList]", inputs: ["appendTo", "items", "level", "index", "animate", "size", "vertical", "rtl", "openOnClick", "itemTemplate", "itemLinkTemplate"] }] });
2034
+ `, isInline: true, dependencies: [{ kind: "component", type: ListComponent, selector: "[kendoMenuList]", inputs: ["appendTo", "items", "level", "index", "animate", "size", "vertical", "rtl", "openOnClick", "itemTemplate", "itemLinkTemplate"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
2029
2035
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuComponent, decorators: [{
2030
2036
  type: Component,
2031
2037
  args: [{
@@ -2056,7 +2062,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2056
2062
  [itemLinkTemplate]="itemLinkTemplate.first?.templateRef || menuItemLinkTemplate"
2057
2063
  [ngClass]="menuClasses">
2058
2064
  </ul>
2059
- `
2065
+ `,
2066
+ standalone: true,
2067
+ imports: [ListComponent, NgClass]
2060
2068
  }]
2061
2069
  }], ctorParameters: function () { return [{ type: ItemsService }, { type: HoverService }, { type: ActionsService }, { type: NavigationService }, { type: i3.LocalizationService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: ContextMenuService, decorators: [{
2062
2070
  type: Optional
@@ -2101,11 +2109,12 @@ class LinkDirective {
2101
2109
  }
2102
2110
  }
2103
2111
  LinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkDirective, deps: [{ token: ItemsService }], target: i0.ɵɵFactoryTarget.Directive });
2104
- LinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LinkDirective, selector: "[kendoMenuItemLink]", inputs: { index: ["kendoMenuItemLink", "index"] }, host: { properties: { "class.k-link": "this.hostClasses", "class.k-menu-link": "this.hostClasses", "attr.role": "this.role", "attr.tabindex": "this.tabindex", "class.k-active": "this.activeClass" } }, ngImport: i0 });
2112
+ LinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: LinkDirective, isStandalone: true, selector: "[kendoMenuItemLink]", inputs: { index: ["kendoMenuItemLink", "index"] }, host: { properties: { "class.k-link": "this.hostClasses", "class.k-menu-link": "this.hostClasses", "attr.role": "this.role", "attr.tabindex": "this.tabindex", "class.k-active": "this.activeClass" } }, ngImport: i0 });
2105
2113
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkDirective, decorators: [{
2106
2114
  type: Directive,
2107
2115
  args: [{
2108
- selector: '[kendoMenuItemLink]'
2116
+ selector: '[kendoMenuItemLink]',
2117
+ standalone: true
2109
2118
  }]
2110
2119
  }], ctorParameters: function () { return [{ type: ItemsService }]; }, propDecorators: { index: [{
2111
2120
  type: Input,
@@ -2147,12 +2156,14 @@ class ExpandArrowComponent {
2147
2156
  }
2148
2157
  }
2149
2158
  ExpandArrowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpandArrowComponent, deps: [{ token: ItemsService }], target: i0.ɵɵFactoryTarget.Component });
2150
- ExpandArrowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ExpandArrowComponent, selector: "[kendoMenuExpandArrow]", inputs: { index: ["kendoMenuExpandArrow", "index"] }, host: { properties: { "class.k-menu-expand-arrow": "this.hostClasses", "attr.aria-hidden": "this.ariaHidden" } }, ngImport: i0, template: `<kendo-icon-wrapper [name]="fontIcon" [svgIcon]="SVGIcon"></kendo-icon-wrapper>`, isInline: true, dependencies: [{ kind: "component", type: i8.IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
2159
+ ExpandArrowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ExpandArrowComponent, isStandalone: true, selector: "[kendoMenuExpandArrow]", inputs: { index: ["kendoMenuExpandArrow", "index"] }, host: { properties: { "class.k-menu-expand-arrow": "this.hostClasses", "attr.aria-hidden": "this.ariaHidden" } }, ngImport: i0, template: `<kendo-icon-wrapper [name]="fontIcon" [svgIcon]="SVGIcon"></kendo-icon-wrapper>`, isInline: true, dependencies: [{ kind: "component", type: IconWrapperComponent, selector: "kendo-icon-wrapper", inputs: ["name", "svgIcon", "innerCssClass", "customFontClass", "size"], exportAs: ["kendoIconWrapper"] }] });
2151
2160
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpandArrowComponent, decorators: [{
2152
2161
  type: Component,
2153
2162
  args: [{
2154
2163
  selector: '[kendoMenuExpandArrow]',
2155
- template: `<kendo-icon-wrapper [name]="fontIcon" [svgIcon]="SVGIcon"></kendo-icon-wrapper>`
2164
+ template: `<kendo-icon-wrapper [name]="fontIcon" [svgIcon]="SVGIcon"></kendo-icon-wrapper>`,
2165
+ standalone: true,
2166
+ imports: [IconWrapperComponent]
2156
2167
  }]
2157
2168
  }], ctorParameters: function () { return [{ type: ItemsService }]; }, propDecorators: { index: [{
2158
2169
  type: Input,
@@ -2307,12 +2318,13 @@ class HierarchyBindingDirective extends BindingDirectiveBase {
2307
2318
  }
2308
2319
  }
2309
2320
  HierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HierarchyBindingDirective, deps: [{ token: MenuBase }], target: i0.ɵɵFactoryTarget.Directive });
2310
- HierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HierarchyBindingDirective, selector: "[kendoMenuHierarchyBinding]", inputs: { data: ["kendoMenuHierarchyBinding", "data"], textField: "textField", urlField: "urlField", iconField: "iconField", svgIconField: "svgIconField", disabledField: "disabledField", cssClassField: "cssClassField", cssStyleField: "cssStyleField", separatorField: "separatorField", childrenField: "childrenField" }, exportAs: ["kendoMenuHierarchyBinding"], usesInheritance: true, ngImport: i0 });
2321
+ HierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: HierarchyBindingDirective, isStandalone: true, selector: "[kendoMenuHierarchyBinding]", inputs: { data: ["kendoMenuHierarchyBinding", "data"], textField: "textField", urlField: "urlField", iconField: "iconField", svgIconField: "svgIconField", disabledField: "disabledField", cssClassField: "cssClassField", cssStyleField: "cssStyleField", separatorField: "separatorField", childrenField: "childrenField" }, exportAs: ["kendoMenuHierarchyBinding"], usesInheritance: true, ngImport: i0 });
2311
2322
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HierarchyBindingDirective, decorators: [{
2312
2323
  type: Directive,
2313
2324
  args: [{
2314
2325
  exportAs: 'kendoMenuHierarchyBinding',
2315
- selector: '[kendoMenuHierarchyBinding]'
2326
+ selector: '[kendoMenuHierarchyBinding]',
2327
+ standalone: true
2316
2328
  }]
2317
2329
  }], ctorParameters: function () { return [{ type: MenuBase }]; }, propDecorators: { data: [{
2318
2330
  type: Input,
@@ -2381,12 +2393,13 @@ class FlatBindingDirective extends BindingDirectiveBase {
2381
2393
  }
2382
2394
  }
2383
2395
  FlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FlatBindingDirective, deps: [{ token: MenuBase }], target: i0.ɵɵFactoryTarget.Directive });
2384
- FlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FlatBindingDirective, selector: "[kendoMenuFlatBinding]", inputs: { data: ["kendoMenuFlatBinding", "data"], textField: "textField", urlField: "urlField", iconField: "iconField", svgIconField: "svgIconField", disabledField: "disabledField", cssClassField: "cssClassField", cssStyleField: "cssStyleField", separatorField: "separatorField", idField: "idField", parentIdField: "parentIdField" }, exportAs: ["kendoMenuFlatBinding"], usesInheritance: true, ngImport: i0 });
2396
+ FlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: FlatBindingDirective, isStandalone: true, selector: "[kendoMenuFlatBinding]", inputs: { data: ["kendoMenuFlatBinding", "data"], textField: "textField", urlField: "urlField", iconField: "iconField", svgIconField: "svgIconField", disabledField: "disabledField", cssClassField: "cssClassField", cssStyleField: "cssStyleField", separatorField: "separatorField", idField: "idField", parentIdField: "parentIdField" }, exportAs: ["kendoMenuFlatBinding"], usesInheritance: true, ngImport: i0 });
2385
2397
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FlatBindingDirective, decorators: [{
2386
2398
  type: Directive,
2387
2399
  args: [{
2388
2400
  exportAs: 'kendoMenuFlatBinding',
2389
- selector: '[kendoMenuFlatBinding]'
2401
+ selector: '[kendoMenuFlatBinding]',
2402
+ standalone: true
2390
2403
  }]
2391
2404
  }], ctorParameters: function () { return [{ type: MenuBase }]; }, propDecorators: { data: [{
2392
2405
  type: Input,
@@ -2413,102 +2426,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
2413
2426
  type: Input
2414
2427
  }] } });
2415
2428
 
2416
- const COMPONENT_EXPORTS = [
2417
- MenuComponent,
2418
- MenuItemComponent,
2419
- ItemTemplateDirective,
2420
- ItemLinkTemplateDirective,
2421
- ItemContentTemplateDirective,
2422
- HierarchyBindingDirective,
2423
- FlatBindingDirective,
2424
- LinkDirective,
2425
- ExpandArrowComponent
2426
- ];
2427
- const COMPONENT_DIRECTIVES$1 = [
2428
- ...COMPONENT_EXPORTS,
2429
- ListComponent,
2430
- ItemComponent
2431
- ];
2432
- /**
2433
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
2434
- * definition for the Menu component.
2435
- *
2436
- * @example
2437
- *
2438
- * ```ts-no-run
2439
- * // Import the Menu module
2440
- * import { MenuModule } from '@progress/kendo-angular-menu';
2441
- *
2442
- * // The browser platform with a compiler
2443
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
2444
- * import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
2445
- *
2446
- * import { NgModule } from '@angular/core';
2447
- *
2448
- * // Import the app component
2449
- * import { AppComponent } from './app.component';
2450
- *
2451
- * // Define the app module
2452
- * _@NgModule({
2453
- * declarations: [AppComponent], // declare app component
2454
- * imports: [BrowserModule, BrowserAnimationsModule, MenuModule], // import Menu module
2455
- * bootstrap: [AppComponent]
2456
- * })
2457
- * export class AppModule {}
2458
- *
2459
- * // Compile and launch the module
2460
- * platformBrowserDynamic().bootstrapModule(AppModule);
2461
- *
2462
- * ```
2463
- */
2464
- class MenuModule {
2465
- }
2466
- MenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
2467
- MenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, declarations: [MenuComponent,
2468
- MenuItemComponent,
2469
- ItemTemplateDirective,
2470
- ItemLinkTemplateDirective,
2471
- ItemContentTemplateDirective,
2472
- HierarchyBindingDirective,
2473
- FlatBindingDirective,
2474
- LinkDirective,
2475
- ExpandArrowComponent, ListComponent,
2476
- ItemComponent], imports: [PopupModule, CommonModule, IconsModule], exports: [MenuComponent,
2477
- MenuItemComponent,
2478
- ItemTemplateDirective,
2479
- ItemLinkTemplateDirective,
2480
- ItemContentTemplateDirective,
2481
- HierarchyBindingDirective,
2482
- FlatBindingDirective,
2483
- LinkDirective,
2484
- ExpandArrowComponent] });
2485
- MenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, imports: [PopupModule, CommonModule, IconsModule] });
2486
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, decorators: [{
2487
- type: NgModule,
2488
- args: [{
2489
- declarations: [COMPONENT_DIRECTIVES$1],
2490
- exports: [COMPONENT_EXPORTS],
2491
- imports: [PopupModule, CommonModule, IconsModule]
2492
- }]
2493
- }] });
2494
-
2495
2429
  /**
2496
- * Arguments for the `open` and `close` events of the ContextMenu.
2497
- */
2498
- class ContextMenuEvent {
2499
- }
2500
-
2501
- /**
2502
- * Arguments for the `select` event of the ContextMenu.
2430
+ * Arguments for the `popupOpen` and `popupClose` events of the ContextMenu.
2503
2431
  */
2504
- class ContextMenuSelectEvent extends ContextMenuEvent {
2432
+ class ContextMenuPopupEvent extends PreventableEvent {
2505
2433
  }
2506
2434
 
2507
2435
  /**
2508
- * Arguments for the `popupOpen` and `popupClose` events of the ContextMenu.
2436
+ * @hidden
2509
2437
  */
2510
- class ContextMenuPopupEvent extends PreventableEvent {
2438
+ class ContextMenuItemsService {
2439
+ constructor(contextService) {
2440
+ this.contextService = contextService;
2441
+ }
2442
+ get(index) {
2443
+ if (this.contextService.items) {
2444
+ return this.contextService.items.get(index);
2445
+ }
2446
+ }
2511
2447
  }
2448
+ ContextMenuItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService, deps: [{ token: ContextMenuService }], target: i0.ɵɵFactoryTarget.Injectable });
2449
+ ContextMenuItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService });
2450
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService, decorators: [{
2451
+ type: Injectable
2452
+ }], ctorParameters: function () { return [{ type: ContextMenuService }]; } });
2512
2453
 
2513
2454
  /**
2514
2455
  * Represents a template for the content of the ContextMenu. To define a template, nest an `<ng-template>`
@@ -2527,35 +2468,17 @@ class ContextMenuTemplateDirective {
2527
2468
  }
2528
2469
  }
2529
2470
  ContextMenuTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
2530
- ContextMenuTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuTemplateDirective, selector: "[kendoContextMenuTemplate]", ngImport: i0 });
2471
+ ContextMenuTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuTemplateDirective, isStandalone: true, selector: "[kendoContextMenuTemplate]", ngImport: i0 });
2531
2472
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuTemplateDirective, decorators: [{
2532
2473
  type: Directive,
2533
2474
  args: [{
2534
- selector: '[kendoContextMenuTemplate]'
2475
+ selector: '[kendoContextMenuTemplate]',
2476
+ standalone: true
2535
2477
  }]
2536
2478
  }], ctorParameters: function () { return [{ type: i0.TemplateRef, decorators: [{
2537
2479
  type: Optional
2538
2480
  }] }]; } });
2539
2481
 
2540
- /**
2541
- * @hidden
2542
- */
2543
- class ContextMenuItemsService {
2544
- constructor(contextService) {
2545
- this.contextService = contextService;
2546
- }
2547
- get(index) {
2548
- if (this.contextService.items) {
2549
- return this.contextService.items.get(index);
2550
- }
2551
- }
2552
- }
2553
- ContextMenuItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService, deps: [{ token: ContextMenuService }], target: i0.ɵɵFactoryTarget.Injectable });
2554
- ContextMenuItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService });
2555
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService, decorators: [{
2556
- type: Injectable
2557
- }], ctorParameters: function () { return [{ type: ContextMenuService }]; } });
2558
-
2559
2482
  /**
2560
2483
  * @hidden
2561
2484
  */
@@ -2595,13 +2518,14 @@ class ContextMenuTargetContainerDirective {
2595
2518
  }
2596
2519
  }
2597
2520
  ContextMenuTargetContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuTargetContainerDirective, deps: [{ token: i0.ElementRef }, { token: ContextMenuTargetService }], target: i0.ɵɵFactoryTarget.Directive });
2598
- ContextMenuTargetContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuTargetContainerDirective, selector: "[kendoContextMenuTargetContainer]", providers: [ContextMenuTargetService], exportAs: ["kendoContextMenuTargetContainer"], ngImport: i0 });
2521
+ ContextMenuTargetContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuTargetContainerDirective, isStandalone: true, selector: "[kendoContextMenuTargetContainer]", providers: [ContextMenuTargetService], exportAs: ["kendoContextMenuTargetContainer"], ngImport: i0 });
2599
2522
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuTargetContainerDirective, decorators: [{
2600
2523
  type: Directive,
2601
2524
  args: [{
2602
2525
  selector: '[kendoContextMenuTargetContainer]',
2603
2526
  exportAs: 'kendoContextMenuTargetContainer',
2604
- providers: [ContextMenuTargetService]
2527
+ providers: [ContextMenuTargetService],
2528
+ standalone: true
2605
2529
  }]
2606
2530
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ContextMenuTargetService }]; } });
2607
2531
 
@@ -2630,12 +2554,13 @@ class ContextMenuTargetDirective {
2630
2554
  }
2631
2555
  }
2632
2556
  ContextMenuTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuTargetDirective, deps: [{ token: i0.ElementRef }, { token: ContextMenuTargetService }], target: i0.ɵɵFactoryTarget.Directive });
2633
- ContextMenuTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuTargetDirective, selector: "[kendoContextMenuTarget]", inputs: { data: ["kendoContextMenuTarget", "data"] }, host: { properties: { "class.k-contextmenu-target": "this.hostClass" } }, exportAs: ["kendoContextMenuTarget"], ngImport: i0 });
2557
+ ContextMenuTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuTargetDirective, isStandalone: true, selector: "[kendoContextMenuTarget]", inputs: { data: ["kendoContextMenuTarget", "data"] }, host: { properties: { "class.k-contextmenu-target": "this.hostClass" } }, exportAs: ["kendoContextMenuTarget"], ngImport: i0 });
2634
2558
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuTargetDirective, decorators: [{
2635
2559
  type: Directive,
2636
2560
  args: [{
2637
2561
  selector: '[kendoContextMenuTarget]',
2638
- exportAs: 'kendoContextMenuTarget'
2562
+ exportAs: 'kendoContextMenuTarget',
2563
+ standalone: true
2639
2564
  }]
2640
2565
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ContextMenuTargetService }]; }, propDecorators: { data: [{
2641
2566
  type: Input,
@@ -2960,8 +2885,8 @@ class ContextMenuComponent extends MenuBase {
2960
2885
  return this.directiveTarget && this.currentTarget ? this.currentTarget.element : this.currentTarget;
2961
2886
  }
2962
2887
  }
2963
- ContextMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuComponent, deps: [{ token: i6.PopupService }, { token: ContextMenuService }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2964
- ContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuComponent, selector: "kendo-contextmenu", inputs: { showOn: "showOn", target: "target", filter: "filter", alignToAnchor: "alignToAnchor", vertical: "vertical", popupAnimate: "popupAnimate", popupAlign: "popupAlign", anchorAlign: "anchorAlign", collision: "collision", appendTo: "appendTo", ariaLabel: "ariaLabel" }, outputs: { popupOpen: "popupOpen", popupClose: "popupClose", select: "select", open: "open", close: "close" }, providers: [
2888
+ ContextMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuComponent, deps: [{ token: i5.PopupService }, { token: ContextMenuService }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
2889
+ ContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuComponent, isStandalone: true, selector: "kendo-contextmenu", inputs: { showOn: "showOn", target: "target", filter: "filter", alignToAnchor: "alignToAnchor", vertical: "vertical", popupAnimate: "popupAnimate", popupAlign: "popupAlign", anchorAlign: "anchorAlign", collision: "collision", appendTo: "appendTo", ariaLabel: "ariaLabel" }, outputs: { popupOpen: "popupOpen", popupClose: "popupClose", select: "select", open: "open", close: "close" }, providers: [
2965
2890
  ContextMenuService,
2966
2891
  LocalizationService,
2967
2892
  {
@@ -2993,7 +2918,7 @@ ContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
2993
2918
  [animate]="animate"
2994
2919
  [menuItemTemplate]="itemTemplate.first?.templateRef"
2995
2920
  [menuItemLinkTemplate]="itemLinkTemplate.first?.templateRef"
2996
- ></kendo-menu>
2921
+ ></kendo-menu>
2997
2922
  </ng-template>
2998
2923
  `, isInline: true, dependencies: [{ kind: "component", type: MenuComponent, selector: "kendo-menu", inputs: ["appendTo", "menuItemTemplate", "ariaRole", "menuItemLinkTemplate"], outputs: ["select", "open", "close"], exportAs: ["kendoMenu"] }] });
2999
2924
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuComponent, decorators: [{
@@ -3034,11 +2959,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
3034
2959
  [animate]="animate"
3035
2960
  [menuItemTemplate]="itemTemplate.first?.templateRef"
3036
2961
  [menuItemLinkTemplate]="itemLinkTemplate.first?.templateRef"
3037
- ></kendo-menu>
2962
+ ></kendo-menu>
3038
2963
  </ng-template>
3039
- `
2964
+ `,
2965
+ standalone: true,
2966
+ imports: [MenuComponent]
3040
2967
  }]
3041
- }], ctorParameters: function () { return [{ type: i6.PopupService }, { type: ContextMenuService }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { showOn: [{
2968
+ }], ctorParameters: function () { return [{ type: i5.PopupService }, { type: ContextMenuService }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { showOn: [{
3042
2969
  type: Input
3043
2970
  }], target: [{
3044
2971
  type: Input
@@ -3078,12 +3005,98 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
3078
3005
  args: ['default', { static: false }]
3079
3006
  }] } });
3080
3007
 
3081
- const COMPONENT_DIRECTIVES = [
3008
+ /**
3009
+ * Utility array that contains all `Menu` related components and directives.
3010
+ */
3011
+ const KENDO_MENU = [
3012
+ MenuComponent,
3013
+ MenuItemComponent,
3014
+ ItemTemplateDirective,
3015
+ ItemLinkTemplateDirective,
3016
+ ItemContentTemplateDirective,
3017
+ HierarchyBindingDirective,
3018
+ FlatBindingDirective,
3019
+ LinkDirective,
3020
+ ExpandArrowComponent
3021
+ ];
3022
+ /**
3023
+ * Utility array that contains all `ContextMenu` related components and directives.
3024
+ */
3025
+ const KENDO_CONTEXTMENU = [
3082
3026
  ContextMenuComponent,
3083
3027
  ContextMenuTemplateDirective,
3084
3028
  ContextMenuTargetDirective,
3085
- ContextMenuTargetContainerDirective
3029
+ ContextMenuTargetContainerDirective,
3030
+ ...KENDO_MENU
3086
3031
  ];
3032
+ /**
3033
+ * Utility array that contains all `@progress/kendo-angular-menu` related components and directives.
3034
+ */
3035
+ const KENDO_MENUS = [
3036
+ ...KENDO_MENU,
3037
+ ...KENDO_CONTEXTMENU
3038
+ ];
3039
+
3040
+ //IMPORTANT: NgModule export kept for backwards compatibility
3041
+ /**
3042
+ * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
3043
+ * definition for the Menu component.
3044
+ *
3045
+ * @example
3046
+ *
3047
+ * ```ts-no-run
3048
+ * // Import the Menu module
3049
+ * import { MenuModule } from '@progress/kendo-angular-menu';
3050
+ *
3051
+ * // The browser platform with a compiler
3052
+ * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
3053
+ * import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
3054
+ *
3055
+ * import { NgModule } from '@angular/core';
3056
+ *
3057
+ * // Import the app component
3058
+ * import { AppComponent } from './app.component';
3059
+ *
3060
+ * // Define the app module
3061
+ * _@NgModule({
3062
+ * declarations: [AppComponent], // declare app component
3063
+ * imports: [BrowserModule, BrowserAnimationsModule, MenuModule], // import Menu module
3064
+ * bootstrap: [AppComponent]
3065
+ * })
3066
+ * export class AppModule {}
3067
+ *
3068
+ * // Compile and launch the module
3069
+ * platformBrowserDynamic().bootstrapModule(AppModule);
3070
+ *
3071
+ * ```
3072
+ */
3073
+ class MenuModule {
3074
+ }
3075
+ MenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3076
+ MenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, imports: [MenuComponent, MenuItemComponent, ItemTemplateDirective, ItemLinkTemplateDirective, ItemContentTemplateDirective, HierarchyBindingDirective, FlatBindingDirective, LinkDirective, ExpandArrowComponent], exports: [MenuComponent, MenuItemComponent, ItemTemplateDirective, ItemLinkTemplateDirective, ItemContentTemplateDirective, HierarchyBindingDirective, FlatBindingDirective, LinkDirective, ExpandArrowComponent] });
3077
+ MenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, providers: [PopupService, IconsService], imports: [MenuComponent, MenuItemComponent, ExpandArrowComponent] });
3078
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, decorators: [{
3079
+ type: NgModule,
3080
+ args: [{
3081
+ exports: [...KENDO_MENU],
3082
+ imports: [...KENDO_MENU],
3083
+ providers: [PopupService, IconsService]
3084
+ }]
3085
+ }] });
3086
+
3087
+ /**
3088
+ * Arguments for the `open` and `close` events of the ContextMenu.
3089
+ */
3090
+ class ContextMenuEvent {
3091
+ }
3092
+
3093
+ /**
3094
+ * Arguments for the `select` event of the ContextMenu.
3095
+ */
3096
+ class ContextMenuSelectEvent extends ContextMenuEvent {
3097
+ }
3098
+
3099
+ //IMPORTANT: NgModule export kept for backwards compatibility
3087
3100
  /**
3088
3101
  * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
3089
3102
  * definition for the ContextMenu component.
@@ -3119,23 +3132,18 @@ const COMPONENT_DIRECTIVES = [
3119
3132
  class ContextMenuModule {
3120
3133
  }
3121
3134
  ContextMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3122
- ContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuModule, declarations: [ContextMenuComponent,
3123
- ContextMenuTemplateDirective,
3124
- ContextMenuTargetDirective,
3125
- ContextMenuTargetContainerDirective], imports: [PopupModule, CommonModule, MenuModule], exports: [ContextMenuComponent,
3126
- ContextMenuTemplateDirective,
3127
- ContextMenuTargetDirective,
3128
- ContextMenuTargetContainerDirective, MenuModule] });
3129
- ContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuModule, imports: [PopupModule, CommonModule, MenuModule, MenuModule] });
3135
+ ContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuModule, imports: [ContextMenuComponent, ContextMenuTemplateDirective, ContextMenuTargetDirective, ContextMenuTargetContainerDirective, MenuComponent, MenuItemComponent, ItemTemplateDirective, ItemLinkTemplateDirective, ItemContentTemplateDirective, HierarchyBindingDirective, FlatBindingDirective, LinkDirective, ExpandArrowComponent], exports: [ContextMenuComponent, ContextMenuTemplateDirective, ContextMenuTargetDirective, ContextMenuTargetContainerDirective, MenuComponent, MenuItemComponent, ItemTemplateDirective, ItemLinkTemplateDirective, ItemContentTemplateDirective, HierarchyBindingDirective, FlatBindingDirective, LinkDirective, ExpandArrowComponent] });
3136
+ ContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuModule, providers: [PopupService, IconsService], imports: [ContextMenuComponent, MenuComponent, MenuItemComponent, ExpandArrowComponent] });
3130
3137
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuModule, decorators: [{
3131
3138
  type: NgModule,
3132
3139
  args: [{
3133
- declarations: [COMPONENT_DIRECTIVES],
3134
- exports: [COMPONENT_DIRECTIVES, MenuModule],
3135
- imports: [PopupModule, CommonModule, MenuModule]
3140
+ exports: [...KENDO_CONTEXTMENU],
3141
+ imports: [...KENDO_CONTEXTMENU],
3142
+ providers: [PopupService, IconsService]
3136
3143
  }]
3137
3144
  }] });
3138
3145
 
3146
+ //IMPORTANT: NgModule export kept for backwards compatibility
3139
3147
  /**
3140
3148
  * A [module](link:site.data.urls.angular['ngmoduleapi']) that includes the Menu and ContextMenu components and directives.
3141
3149
  * Imports the MenusModule into your application [root module](link:site.data.urls.angular['ngmodules']#angular-modularity)
@@ -3161,12 +3169,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
3161
3169
  class MenusModule {
3162
3170
  }
3163
3171
  MenusModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
3164
- MenusModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MenusModule, exports: [MenuModule, ContextMenuModule] });
3165
- MenusModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenusModule, imports: [MenuModule, ContextMenuModule] });
3172
+ MenusModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MenusModule, imports: [MenuComponent, MenuItemComponent, ItemTemplateDirective, ItemLinkTemplateDirective, ItemContentTemplateDirective, HierarchyBindingDirective, FlatBindingDirective, LinkDirective, ExpandArrowComponent, ContextMenuComponent, ContextMenuTemplateDirective, ContextMenuTargetDirective, ContextMenuTargetContainerDirective, MenuComponent, MenuItemComponent, ItemTemplateDirective, ItemLinkTemplateDirective, ItemContentTemplateDirective, HierarchyBindingDirective, FlatBindingDirective, LinkDirective, ExpandArrowComponent], exports: [MenuComponent, MenuItemComponent, ItemTemplateDirective, ItemLinkTemplateDirective, ItemContentTemplateDirective, HierarchyBindingDirective, FlatBindingDirective, LinkDirective, ExpandArrowComponent, ContextMenuComponent, ContextMenuTemplateDirective, ContextMenuTargetDirective, ContextMenuTargetContainerDirective, MenuComponent, MenuItemComponent, ItemTemplateDirective, ItemLinkTemplateDirective, ItemContentTemplateDirective, HierarchyBindingDirective, FlatBindingDirective, LinkDirective, ExpandArrowComponent] });
3173
+ MenusModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenusModule, providers: [PopupService, IconsService], imports: [MenuComponent, MenuItemComponent, ExpandArrowComponent, ContextMenuComponent, MenuComponent, MenuItemComponent, ExpandArrowComponent] });
3166
3174
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenusModule, decorators: [{
3167
3175
  type: NgModule,
3168
3176
  args: [{
3169
- exports: [MenuModule, ContextMenuModule]
3177
+ exports: [...KENDO_MENUS],
3178
+ imports: [...KENDO_MENUS],
3179
+ providers: [PopupService, IconsService]
3170
3180
  }]
3171
3181
  }] });
3172
3182
 
@@ -3174,5 +3184,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
3174
3184
  * Generated bundle index. Do not edit.
3175
3185
  */
3176
3186
 
3177
- export { ContextMenuComponent, ContextMenuEvent, ContextMenuModule, ContextMenuPopupEvent, ContextMenuSelectEvent, ContextMenuService, ContextMenuTargetContainerDirective, ContextMenuTargetDirective, ContextMenuTemplateDirective, ExpandArrowComponent, FlatBindingDirective, HierarchyBindingDirective, ItemComponent, ItemContentTemplateDirective, ItemLinkTemplateDirective, ItemTemplateDirective, ItemsService, LinkDirective, ListComponent, MenuComponent, MenuEvent, MenuItemComponent, MenuModule, MenuSelectEvent, MenusModule };
3187
+ export { ContextMenuComponent, ContextMenuEvent, ContextMenuModule, ContextMenuPopupEvent, ContextMenuSelectEvent, ContextMenuService, ContextMenuTargetContainerDirective, ContextMenuTargetDirective, ContextMenuTemplateDirective, ExpandArrowComponent, FlatBindingDirective, HierarchyBindingDirective, ItemComponent, ItemContentTemplateDirective, ItemLinkTemplateDirective, ItemTemplateDirective, ItemsService, KENDO_CONTEXTMENU, KENDO_MENU, KENDO_MENUS, LinkDirective, ListComponent, MenuComponent, MenuEvent, MenuItemComponent, MenuModule, MenuSelectEvent, MenusModule };
3178
3188