@progress/kendo-angular-menu 24.2.2 → 25.0.0-develop.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/fesm2022/progress-kendo-angular-menu.mjs +86 -86
  2. package/index.d.ts +1421 -30
  3. package/package-metadata.mjs +2 -2
  4. package/package.json +11 -11
  5. package/constants.d.ts +0 -8
  6. package/context-menu/context-menu-event.d.ts +0 -26
  7. package/context-menu/context-menu-items.service.d.ts +0 -16
  8. package/context-menu/context-menu-popup-event.d.ts +0 -27
  9. package/context-menu/context-menu-select-event.d.ts +0 -14
  10. package/context-menu/context-menu-target-container.directive.d.ts +0 -34
  11. package/context-menu/context-menu-target.directive.d.ts +0 -39
  12. package/context-menu/context-menu-target.service.d.ts +0 -16
  13. package/context-menu/context-menu-template.directive.d.ts +0 -28
  14. package/context-menu/context-menu.component.d.ts +0 -171
  15. package/context-menu/context-menu.module.d.ts +0 -55
  16. package/context-menu/context-menu.service.d.ts +0 -19
  17. package/data-binding/binding-directive-base.d.ts +0 -24
  18. package/data-binding/flat-binding.directive.d.ts +0 -70
  19. package/data-binding/hierachy-binding.directive.d.ts +0 -67
  20. package/data-binding/utils.d.ts +0 -12
  21. package/directives.d.ts +0 -29
  22. package/dom-queries.d.ts +0 -44
  23. package/menu-animation.interface.d.ts +0 -21
  24. package/menu-base.d.ts +0 -79
  25. package/menu-event.d.ts +0 -23
  26. package/menu-item.component.d.ts +0 -97
  27. package/menu-item.interface.d.ts +0 -65
  28. package/menu-select-event.d.ts +0 -14
  29. package/menu.component.d.ts +0 -109
  30. package/menu.module.d.ts +0 -51
  31. package/menus.module.d.ts +0 -45
  32. package/open-on-click-settings.d.ts +0 -24
  33. package/package-metadata.d.ts +0 -9
  34. package/preventable-event.d.ts +0 -28
  35. package/rendering/arrow.component.d.ts +0 -41
  36. package/rendering/link.directive.d.ts +0 -34
  37. package/rendering/list.component.d.ts +0 -127
  38. package/rendering/popup-settings.d.ts +0 -84
  39. package/services/actions.service.d.ts +0 -54
  40. package/services/hover.service.d.ts +0 -33
  41. package/services/items.service.d.ts +0 -37
  42. package/services/navigation.service.d.ts +0 -47
  43. package/size.d.ts +0 -8
  44. package/templates/item-content-template.directive.d.ts +0 -42
  45. package/templates/item-link-template.directive.d.ts +0 -46
  46. package/templates/item-template.directive.d.ts +0 -43
  47. package/utils.d.ts +0 -31
@@ -7,7 +7,7 @@ export const packageMetadata = {
7
7
  "productCodes": [
8
8
  "KENDOUIANGULAR"
9
9
  ],
10
- "publishDate": 1783511470,
11
- "version": "24.2.2",
10
+ "publishDate": 1783679773,
11
+ "version": "25.0.0-develop.1",
12
12
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
13
13
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-menu",
3
- "version": "24.2.2",
3
+ "version": "25.0.0-develop.1",
4
4
  "description": "Kendo UI Angular Menu component",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -19,25 +19,25 @@
19
19
  "package": {
20
20
  "productName": "Kendo UI for Angular",
21
21
  "productCode": "KENDOUIANGULAR",
22
- "publishDate": 1783511470,
22
+ "publishDate": 1783679773,
23
23
  "licensingDocsUrl": "https://www.telerik.com/kendo-angular-ui/my-license/"
24
24
  }
25
25
  },
26
26
  "peerDependencies": {
27
- "@angular/animations": "19 - 22",
28
- "@angular/common": "19 - 22",
29
- "@angular/core": "19 - 22",
30
- "@angular/platform-browser": "19 - 22",
27
+ "@angular/animations": "20 - 22",
28
+ "@angular/common": "20 - 22",
29
+ "@angular/core": "20 - 22",
30
+ "@angular/platform-browser": "20 - 22",
31
31
  "@progress/kendo-licensing": "^1.11.0",
32
- "@progress/kendo-angular-common": "24.2.2",
33
- "@progress/kendo-angular-l10n": "24.2.2",
34
- "@progress/kendo-angular-icons": "24.2.2",
35
- "@progress/kendo-angular-popup": "24.2.2",
32
+ "@progress/kendo-angular-common": "25.0.0-develop.1",
33
+ "@progress/kendo-angular-l10n": "25.0.0-develop.1",
34
+ "@progress/kendo-angular-icons": "25.0.0-develop.1",
35
+ "@progress/kendo-angular-popup": "25.0.0-develop.1",
36
36
  "rxjs": "^6.5.3 || ^7.0.0"
37
37
  },
38
38
  "dependencies": {
39
39
  "tslib": "^2.3.1",
40
- "@progress/kendo-angular-schematics": "24.2.2"
40
+ "@progress/kendo-angular-schematics": "25.0.0-develop.1"
41
41
  },
42
42
  "schematics": "./schematics/collection.json",
43
43
  "module": "fesm2022/progress-kendo-angular-menu.mjs",
package/constants.d.ts DELETED
@@ -1,8 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- /**
6
- * @hidden
7
- */
8
- export declare const NODE_INDEX = "data-kendo-menu-index";
@@ -1,26 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ContextMenuComponent } from './context-menu.component';
6
- /**
7
- * Represents the arguments for the `open` and `close` events of the ContextMenu.
8
- */
9
- export declare class ContextMenuEvent {
10
- /**
11
- * Specifies the target element for which the ContextMenu is opened.
12
- */
13
- target: any;
14
- /**
15
- * Specifies the ContextMenuComponent that triggered the event.
16
- */
17
- sender: ContextMenuComponent;
18
- /**
19
- * Specifies the item data of the event.
20
- */
21
- item: any;
22
- /**
23
- * Specifies the item index of the event.
24
- */
25
- index: string;
26
- }
@@ -1,16 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ContextMenuService } from './context-menu.service';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export declare class ContextMenuItemsService {
11
- private contextService;
12
- constructor(contextService: ContextMenuService);
13
- get(index: string): any;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuItemsService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuItemsService>;
16
- }
@@ -1,27 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { PreventableEvent } from '../preventable-event';
6
- import { ContextMenuComponent } from './context-menu.component';
7
- /**
8
- * Represents the arguments for the `popupOpen` and `popupClose` events of the ContextMenu.
9
- */
10
- export declare class ContextMenuPopupEvent extends PreventableEvent {
11
- /**
12
- * Specifies the target element for which the ContextMenu is opened.
13
- */
14
- target: any;
15
- /**
16
- * Specifies the DOM event that started the action.
17
- */
18
- originalEvent: any;
19
- /**
20
- * Specifies the ContextMenuComponent that triggered the event.
21
- */
22
- sender: ContextMenuComponent;
23
- /**
24
- * @hidden
25
- */
26
- constructor(args: any);
27
- }
@@ -1,14 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ContextMenuEvent } from './context-menu-event';
6
- /**
7
- * Represents the arguments for the `select` event of the ContextMenu.
8
- */
9
- export declare class ContextMenuSelectEvent extends ContextMenuEvent {
10
- /**
11
- * Specifies the DOM event that triggered the selection.
12
- */
13
- originalEvent: any;
14
- }
@@ -1,34 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ElementRef } from '@angular/core';
6
- import { ContextMenuTargetService } from './context-menu-target.service';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * Represents a container for the [targets](https://www.telerik.com/kendo-angular-ui/components/menus/api/contextmenutargetdirective) of the ContextMenu.
10
- *
11
- * @example
12
- * ```html
13
- * <div
14
- * #target="kendoContextMenuTargetContainer"
15
- * kendoContextMenuTargetContainer
16
- * >
17
- * <div kendoContextMenuTarget></div>
18
- * <div kendoContextMenuTarget></div>
19
- * </div>
20
- * ```
21
- */
22
- export declare class ContextMenuTargetContainerDirective {
23
- targetService: ContextMenuTargetService;
24
- /**
25
- * @hidden
26
- */
27
- element: any;
28
- /**
29
- * @hidden
30
- */
31
- constructor(elementRef: ElementRef, targetService: ContextMenuTargetService);
32
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuTargetContainerDirective, never>;
33
- static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuTargetContainerDirective, "[kendoContextMenuTargetContainer]", ["kendoContextMenuTargetContainer"], {}, {}, never, never, true, never>;
34
- }
@@ -1,39 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { ElementRef, OnDestroy } from '@angular/core';
6
- import { ContextMenuTargetService } from './context-menu-target.service';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export declare const TARGET_CLASS = "k-contextmenu-target";
12
- /**
13
- * Represents a [target](https://www.telerik.com/kendo-angular-ui/components/menus/api/contextmenutargetdirective) for the ContextMenu
14
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu/target#directives)).
15
- *
16
- * @example
17
- * ```html
18
- * <div kendoContextMenuTarget> </div>
19
- * ```
20
- */
21
- export declare class ContextMenuTargetDirective implements OnDestroy {
22
- targetService: ContextMenuTargetService;
23
- /**
24
- * Specifies the data which is associated with the target.
25
- */
26
- data: any;
27
- /**
28
- * Specifies the target DOM element.
29
- */
30
- element: any;
31
- /**
32
- * @hidden
33
- */
34
- hostClass: boolean;
35
- constructor(elementRef: ElementRef, targetService: ContextMenuTargetService);
36
- ngOnDestroy(): void;
37
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuTargetDirective, never>;
38
- static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuTargetDirective, "[kendoContextMenuTarget]", ["kendoContextMenuTarget"], { "data": { "alias": "kendoContextMenuTarget"; "required": false; }; }, {}, never, never, true, never>;
39
- }
@@ -1,16 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as i0 from "@angular/core";
6
- /**
7
- * @hidden
8
- */
9
- export declare class ContextMenuTargetService {
10
- targets: any[];
11
- add(target: any): void;
12
- remove(target: any): void;
13
- find(targetElement: any): any;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuTargetService, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuTargetService>;
16
- }
@@ -1,28 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { TemplateRef } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * Represents a template for the content of the ContextMenu. To define a template, nest an `<ng-template>`
9
- * tag with the `kendoContextMenuTemplate` directive inside a `<kendo-contextmenu>` component
10
- * ([more information and examples](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu/templates)).
11
- *
12
- * <demo metaUrl="menus/context-menu/template/" height="200"></demo>
13
- *
14
- * @example
15
- * ```html
16
- * <kendo-contextmenu>
17
- * <ng-template kendoContextMenuTemplate let-item="item">
18
- * <span>{{ item.text }}</span>
19
- * </ng-template>
20
- * </kendo-contextmenu>
21
- * ```
22
- */
23
- export declare class ContextMenuTemplateDirective {
24
- templateRef: TemplateRef<any>;
25
- constructor(templateRef: TemplateRef<any>);
26
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuTemplateDirective, [{ optional: true; }]>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuTemplateDirective, "[kendoContextMenuTemplate]", never, {}, {}, never, never, true, never>;
28
- }
@@ -1,171 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { OnInit, OnChanges, OnDestroy, EventEmitter, NgZone, Renderer2, TemplateRef, ElementRef, ViewContainerRef } from '@angular/core';
6
- import { PopupService, Offset, Align, Collision, PopupAnimation } from '@progress/kendo-angular-popup';
7
- import { MenuBase } from '../menu-base';
8
- import { ContextMenuEvent } from './context-menu-event';
9
- import { ContextMenuSelectEvent } from './context-menu-select-event';
10
- import { ContextMenuPopupEvent } from './context-menu-popup-event';
11
- import { ContextMenuService } from './context-menu.service';
12
- import { ContextMenuTemplateDirective } from './context-menu-template.directive';
13
- import { ContextMenuTargetContainerDirective } from './context-menu-target-container.directive';
14
- import * as i0 from "@angular/core";
15
- /**
16
- * Represents the [Kendo UI ContextMenu component for Angular](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu).
17
- *
18
- * @example
19
- * ```ts
20
- * _@Component({
21
- * selector: 'my-app',
22
- * template: `
23
- * <div #target>
24
- * Right-click to open Context menu</p>
25
- * </div>
26
- * <kendo-contextmenu [target]="target" [items]="items"> </kendo-contextmenu>
27
- * `
28
- * })
29
- * class AppComponent {
30
- * public items: any[] = [{ text: 'item1', items: [{ text: 'item1.1' }] }, { text: 'item2', disabled: true }];
31
- * }
32
- * ```
33
- */
34
- export declare class ContextMenuComponent extends MenuBase implements OnInit, OnChanges, OnDestroy {
35
- private popupService;
36
- private service;
37
- private ngZone;
38
- private renderer;
39
- /**
40
- * Specifies the event on which the ContextMenu will open ([see example](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu/opening)).
41
- * Accepts the name of a native DOM event. For example, `click`, `dblclick`, `mouseover`, etc.
42
- *
43
- * @default 'contextmenu'
44
- */
45
- showOn: string;
46
- /**
47
- * Specifies the element for which the ContextMenu will open ([see example](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu/target#configuration)).
48
- */
49
- target: HTMLElement | ElementRef | ContextMenuTargetContainerDirective | string;
50
- /**
51
- * Specifies a CSS selector which filters the elements in the target for which the ContextMenu will open
52
- * ([see example](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu/target#changing-items-for-specific-targets)).
53
- */
54
- filter: string;
55
- /**
56
- * Specifies if the ContextMenu will be aligned to the target or to the `filter` element (if specified).
57
- *
58
- * @default false
59
- */
60
- alignToAnchor: boolean;
61
- /**
62
- * Specifies if the Menu will be vertically rendered ([see example](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu/orientation)).
63
- *
64
- * @default true
65
- */
66
- vertical: boolean;
67
- /**
68
- * Specifies the popup animation.
69
- *
70
- * @default true
71
- */
72
- popupAnimate: boolean | PopupAnimation;
73
- /**
74
- * Specifies the pivot point of the popup.
75
- *
76
- * @default { horizontal: 'left', vertical: 'top' }
77
- */
78
- popupAlign: Align;
79
- /**
80
- * Specifies the pivot point of the anchor. Applicable if `alignToAnchor` is `true`.
81
- *
82
- * @default { horizontal: 'left', vertical: 'bottom' }
83
- */
84
- anchorAlign: Align;
85
- /**
86
- * Configures the collision behavior of the popup.
87
- *
88
- * @default { horizontal: 'fit', vertical: 'flip' }
89
- */
90
- collision: Collision;
91
- /**
92
- * Defines the container to which the popups will be appended.
93
- */
94
- appendTo: ViewContainerRef;
95
- /**
96
- * Sets the value for the [`aria-label`](https://www.w3.org/TR/wai-aria-1.1/#aria-label) attribute of the ContextMenu.
97
- *
98
- * @remarks
99
- * This property is related to accessibility.
100
- */
101
- ariaLabel: string;
102
- /**
103
- * Fires when the Menu is opened ([see example](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu/events)).
104
- */
105
- popupOpen: EventEmitter<ContextMenuPopupEvent>;
106
- /**
107
- * Fires when the Menu is closed ([see example](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu/events)).
108
- */
109
- popupClose: EventEmitter<ContextMenuPopupEvent>;
110
- /**
111
- * Fires when a Menu item is selected ([see example](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu/events)).
112
- */
113
- select: EventEmitter<ContextMenuSelectEvent>;
114
- /**
115
- * Fires when a Menu item is opened ([see example](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu/events)).
116
- */
117
- open: EventEmitter<ContextMenuEvent>;
118
- /**
119
- * Fires when a Menu item is closed ([see example](https://www.telerik.com/kendo-angular-ui/components/menus/contextmenu/events)).
120
- */
121
- close: EventEmitter<ContextMenuEvent>;
122
- /**
123
- * @hidden
124
- */
125
- contentTemplate: ContextMenuTemplateDirective;
126
- /**
127
- * @hidden
128
- */
129
- defaultContentTemplate: TemplateRef<any>;
130
- private closeSubscription;
131
- private showSubscription;
132
- private keydownSubscription;
133
- private popupSubscriptions;
134
- private popupRef;
135
- private currentTarget;
136
- private directiveTarget;
137
- private activeTarget;
138
- constructor(popupService: PopupService, service: ContextMenuService, ngZone: NgZone, renderer: Renderer2);
139
- /**
140
- * Hides the ContextMenu.
141
- */
142
- hide(): void;
143
- /**
144
- * Shows the ContextMenu for the specified target.
145
- *
146
- * @param target - The offset or the target element for which the ContextMenu will open.
147
- */
148
- show(target: Offset | HTMLElement | ElementRef): void;
149
- ngOnChanges(changes: any): void;
150
- ngOnInit(): void;
151
- ngOnDestroy(): void;
152
- /**
153
- * @hidden
154
- */
155
- emitMenuEvent(name: string, args: any): void;
156
- private bindShowHandler;
157
- private showContextMenu;
158
- private unbindShowHandler;
159
- private targetElement;
160
- private targetFilter;
161
- private closePopup;
162
- private removePopup;
163
- private openPopup;
164
- private createPopup;
165
- private closeAndFocus;
166
- private popupKeyDownHandler;
167
- private popupAction;
168
- private get currentTargetElement();
169
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuComponent, never>;
170
- static ɵcmp: i0.ɵɵComponentDeclaration<ContextMenuComponent, "kendo-contextmenu", ["kendoContextMenu"], { "showOn": { "alias": "showOn"; "required": false; }; "target": { "alias": "target"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "alignToAnchor": { "alias": "alignToAnchor"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "popupAnimate": { "alias": "popupAnimate"; "required": false; }; "popupAlign": { "alias": "popupAlign"; "required": false; }; "anchorAlign": { "alias": "anchorAlign"; "required": false; }; "collision": { "alias": "collision"; "required": false; }; "appendTo": { "alias": "appendTo"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "popupOpen": "popupOpen"; "popupClose": "popupClose"; "select": "select"; "open": "open"; "close": "close"; }, ["contentTemplate"], never, true, never>;
171
- }
@@ -1,55 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import * as i0 from "@angular/core";
6
- import * as i1 from "./context-menu.component";
7
- import * as i2 from "./context-menu-template.directive";
8
- import * as i3 from "./context-menu-target.directive";
9
- import * as i4 from "./context-menu-target-container.directive";
10
- import * as i5 from "../menu.component";
11
- import * as i6 from "../menu-item.component";
12
- import * as i7 from "../templates/item-template.directive";
13
- import * as i8 from "../templates/item-link-template.directive";
14
- import * as i9 from "../templates/item-content-template.directive";
15
- import * as i10 from "../data-binding/hierachy-binding.directive";
16
- import * as i11 from "../data-binding/flat-binding.directive";
17
- import * as i12 from "../rendering/link.directive";
18
- import * as i13 from "../rendering/arrow.component";
19
- /**
20
- * Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
21
- * definition for the ContextMenu component.
22
- *
23
- * @example
24
- *
25
- * ```ts-no-run
26
- * // Import the ContextMenu module
27
- * import { ContextMenuModule } from '@progress/kendo-angular-menu';
28
- *
29
- * // The browser platform with a compiler
30
- * import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
31
- * import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
32
- *
33
- * import { NgModule } from '@angular/core';
34
- *
35
- * // Import the app component
36
- * import { AppComponent } from './app.component';
37
- *
38
- * // Define the app module
39
- * _@NgModule({
40
- * declarations: [AppComponent], // declare app component
41
- * imports: [BrowserModule, BrowserAnimationsModule, ContextMenuModule], // import ContextMenuModule module
42
- * bootstrap: [AppComponent]
43
- * })
44
- * export class AppModule {}
45
- *
46
- * // Compile and launch the module
47
- * platformBrowserDynamic().bootstrapModule(AppModule);
48
- *
49
- * ```
50
- */
51
- export declare class ContextMenuModule {
52
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuModule, never>;
53
- static ɵmod: i0.ɵɵNgModuleDeclaration<ContextMenuModule, never, [typeof i1.ContextMenuComponent, typeof i2.ContextMenuTemplateDirective, typeof i3.ContextMenuTargetDirective, typeof i4.ContextMenuTargetContainerDirective, typeof i5.MenuComponent, typeof i6.MenuItemComponent, typeof i7.ItemTemplateDirective, typeof i8.ItemLinkTemplateDirective, typeof i9.ItemContentTemplateDirective, typeof i10.HierarchyBindingDirective, typeof i11.FlatBindingDirective, typeof i12.LinkDirective, typeof i13.ExpandArrowComponent], [typeof i1.ContextMenuComponent, typeof i2.ContextMenuTemplateDirective, typeof i3.ContextMenuTargetDirective, typeof i4.ContextMenuTargetContainerDirective, typeof i5.MenuComponent, typeof i6.MenuItemComponent, typeof i7.ItemTemplateDirective, typeof i8.ItemLinkTemplateDirective, typeof i9.ItemContentTemplateDirective, typeof i10.HierarchyBindingDirective, typeof i11.FlatBindingDirective, typeof i12.LinkDirective, typeof i13.ExpandArrowComponent]>;
54
- static ɵinj: i0.ɵɵInjectorDeclaration<ContextMenuModule>;
55
- }
@@ -1,19 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { EventEmitter } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export declare class ContextMenuService {
11
- keydown: EventEmitter<any>;
12
- owner: any;
13
- items: any;
14
- emit(name: string, args: any): void;
15
- hasObservers(name: string): boolean;
16
- leaveMenu(e: any): boolean;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuService, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextMenuService>;
19
- }
@@ -1,24 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { OnChanges } from '@angular/core';
6
- import { MenuBase } from '../menu-base';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * @hidden
10
- */
11
- export declare abstract class BindingDirectiveBase implements OnChanges {
12
- protected menu: MenuBase;
13
- data: any[];
14
- protected fields: any[];
15
- constructor(menu: MenuBase);
16
- ngOnChanges(): void;
17
- /**
18
- * Rebinds the Menu items.
19
- */
20
- rebind(): void;
21
- protected abstract mapItems(items: any[]): any[];
22
- static ɵfac: i0.ɵɵFactoryDeclaration<BindingDirectiveBase, never>;
23
- static ɵdir: i0.ɵɵDirectiveDeclaration<BindingDirectiveBase, "kendoBindingBase", never, {}, {}, never, never, true, never>;
24
- }
@@ -1,70 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { MenuBase } from '../menu-base';
6
- import { BindingDirectiveBase } from './binding-directive-base';
7
- import * as i0 from "@angular/core";
8
- /**
9
- * Represents a directive that converts the provided flat data to [MenuItems](https://www.telerik.com/kendo-angular-ui/components/menus/api/menuitem) and binds them to the Menu.
10
- *
11
- * @example
12
- * ```html
13
- * <kendo-menu [kendoMenuFlatBinding]="flatData" [textField]="'text'" [idField]="'id'" [parentIdField]="'parentId'">
14
- * </kendo-menu>
15
- * ```
16
- *
17
- * @remarks
18
- * Applied to: {@link MenuComponent}.
19
- */
20
- export declare class FlatBindingDirective extends BindingDirectiveBase {
21
- /**
22
- * Specifies the array of data which will be used to populate the Menu.
23
- */
24
- data: any[];
25
- /**
26
- * Defines the `text` field of the items.
27
- */
28
- textField: string;
29
- /**
30
- * Defines the `url` field of the items.
31
- */
32
- urlField: string;
33
- /**
34
- * Defines the `icon` field of the items.
35
- */
36
- iconField: string | string[];
37
- /**
38
- * Defines the `svgIcon` field of the items.
39
- */
40
- svgIconField: string | string[];
41
- /**
42
- * Defines the `disabled` field of the items.
43
- */
44
- disabledField: string;
45
- /**
46
- * Defines the `cssClass` field of the items.
47
- */
48
- cssClassField: string;
49
- /**
50
- * Defines the `cssStyle` field of the items.
51
- */
52
- cssStyleField: string;
53
- /**
54
- * Defines the `separator` field of the items.
55
- */
56
- separatorField: string;
57
- /**
58
- * Defines the `id` field of the items.
59
- */
60
- idField: string;
61
- /**
62
- * Defines the parent `id` field of the items.
63
- */
64
- parentIdField: string;
65
- constructor(menu: MenuBase);
66
- protected mapItems(items: any[]): any[];
67
- protected createItem(dataItem: any): any;
68
- static ɵfac: i0.ɵɵFactoryDeclaration<FlatBindingDirective, never>;
69
- static ɵdir: i0.ɵɵDirectiveDeclaration<FlatBindingDirective, "[kendoMenuFlatBinding]", ["kendoMenuFlatBinding"], { "data": { "alias": "kendoMenuFlatBinding"; "required": false; }; "textField": { "alias": "textField"; "required": false; }; "urlField": { "alias": "urlField"; "required": false; }; "iconField": { "alias": "iconField"; "required": false; }; "svgIconField": { "alias": "svgIconField"; "required": false; }; "disabledField": { "alias": "disabledField"; "required": false; }; "cssClassField": { "alias": "cssClassField"; "required": false; }; "cssStyleField": { "alias": "cssStyleField"; "required": false; }; "separatorField": { "alias": "separatorField"; "required": false; }; "idField": { "alias": "idField"; "required": false; }; "parentIdField": { "alias": "parentIdField"; "required": false; }; }, {}, never, never, true, never>;
70
- }