@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.
- package/fesm2022/progress-kendo-angular-menu.mjs +86 -86
- package/index.d.ts +1421 -30
- package/package-metadata.mjs +2 -2
- package/package.json +11 -11
- package/constants.d.ts +0 -8
- package/context-menu/context-menu-event.d.ts +0 -26
- package/context-menu/context-menu-items.service.d.ts +0 -16
- package/context-menu/context-menu-popup-event.d.ts +0 -27
- package/context-menu/context-menu-select-event.d.ts +0 -14
- package/context-menu/context-menu-target-container.directive.d.ts +0 -34
- package/context-menu/context-menu-target.directive.d.ts +0 -39
- package/context-menu/context-menu-target.service.d.ts +0 -16
- package/context-menu/context-menu-template.directive.d.ts +0 -28
- package/context-menu/context-menu.component.d.ts +0 -171
- package/context-menu/context-menu.module.d.ts +0 -55
- package/context-menu/context-menu.service.d.ts +0 -19
- package/data-binding/binding-directive-base.d.ts +0 -24
- package/data-binding/flat-binding.directive.d.ts +0 -70
- package/data-binding/hierachy-binding.directive.d.ts +0 -67
- package/data-binding/utils.d.ts +0 -12
- package/directives.d.ts +0 -29
- package/dom-queries.d.ts +0 -44
- package/menu-animation.interface.d.ts +0 -21
- package/menu-base.d.ts +0 -79
- package/menu-event.d.ts +0 -23
- package/menu-item.component.d.ts +0 -97
- package/menu-item.interface.d.ts +0 -65
- package/menu-select-event.d.ts +0 -14
- package/menu.component.d.ts +0 -109
- package/menu.module.d.ts +0 -51
- package/menus.module.d.ts +0 -45
- package/open-on-click-settings.d.ts +0 -24
- package/package-metadata.d.ts +0 -9
- package/preventable-event.d.ts +0 -28
- package/rendering/arrow.component.d.ts +0 -41
- package/rendering/link.directive.d.ts +0 -34
- package/rendering/list.component.d.ts +0 -127
- package/rendering/popup-settings.d.ts +0 -84
- package/services/actions.service.d.ts +0 -54
- package/services/hover.service.d.ts +0 -33
- package/services/items.service.d.ts +0 -37
- package/services/navigation.service.d.ts +0 -47
- package/size.d.ts +0 -8
- package/templates/item-content-template.directive.d.ts +0 -42
- package/templates/item-link-template.directive.d.ts +0 -46
- package/templates/item-template.directive.d.ts +0 -43
- package/utils.d.ts +0 -31
package/menus.module.d.ts
DELETED
|
@@ -1,45 +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 "./menu.component";
|
|
7
|
-
import * as i2 from "./menu-item.component";
|
|
8
|
-
import * as i3 from "./templates/item-template.directive";
|
|
9
|
-
import * as i4 from "./templates/item-link-template.directive";
|
|
10
|
-
import * as i5 from "./templates/item-content-template.directive";
|
|
11
|
-
import * as i6 from "./data-binding/hierachy-binding.directive";
|
|
12
|
-
import * as i7 from "./data-binding/flat-binding.directive";
|
|
13
|
-
import * as i8 from "./rendering/link.directive";
|
|
14
|
-
import * as i9 from "./rendering/arrow.component";
|
|
15
|
-
import * as i10 from "./context-menu/context-menu.component";
|
|
16
|
-
import * as i11 from "./context-menu/context-menu-template.directive";
|
|
17
|
-
import * as i12 from "./context-menu/context-menu-target.directive";
|
|
18
|
-
import * as i13 from "./context-menu/context-menu-target-container.directive";
|
|
19
|
-
/**
|
|
20
|
-
* A [module](link:site.data.urls.angular['ngmoduleapi']) that includes the Menu and ContextMenu components and directives.
|
|
21
|
-
* Imports the MenusModule into your application [root module](link:site.data.urls.angular['ngmodules']#angular-modularity)
|
|
22
|
-
* or any other sub-module that will use the Menu and ContextMenu components.
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```ts-no-run
|
|
26
|
-
* import { NgModule } from '@angular/core';
|
|
27
|
-
* import { BrowserModule } from '@angular/platform-browser';
|
|
28
|
-
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
29
|
-
* import { MenusModule } from '@progress/kendo-angular-menu';
|
|
30
|
-
* import { AppComponent } from './app.component';
|
|
31
|
-
*
|
|
32
|
-
* _@NgModule({
|
|
33
|
-
* bootstrap: [AppComponent],
|
|
34
|
-
* declarations: [AppComponent],
|
|
35
|
-
* imports: [BrowserModule, BrowserAnimationsModule, MenusModule]
|
|
36
|
-
* })
|
|
37
|
-
* export class AppModule {
|
|
38
|
-
* }
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
export declare class MenusModule {
|
|
42
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<MenusModule, never>;
|
|
43
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<MenusModule, never, [typeof i1.MenuComponent, typeof i2.MenuItemComponent, typeof i3.ItemTemplateDirective, typeof i4.ItemLinkTemplateDirective, typeof i5.ItemContentTemplateDirective, typeof i6.HierarchyBindingDirective, typeof i7.FlatBindingDirective, typeof i8.LinkDirective, typeof i9.ExpandArrowComponent, typeof i10.ContextMenuComponent, typeof i11.ContextMenuTemplateDirective, typeof i12.ContextMenuTargetDirective, typeof i13.ContextMenuTargetContainerDirective, typeof i1.MenuComponent, typeof i2.MenuItemComponent, typeof i3.ItemTemplateDirective, typeof i4.ItemLinkTemplateDirective, typeof i5.ItemContentTemplateDirective, typeof i6.HierarchyBindingDirective, typeof i7.FlatBindingDirective, typeof i8.LinkDirective, typeof i9.ExpandArrowComponent], [typeof i1.MenuComponent, typeof i2.MenuItemComponent, typeof i3.ItemTemplateDirective, typeof i4.ItemLinkTemplateDirective, typeof i5.ItemContentTemplateDirective, typeof i6.HierarchyBindingDirective, typeof i7.FlatBindingDirective, typeof i8.LinkDirective, typeof i9.ExpandArrowComponent, typeof i10.ContextMenuComponent, typeof i11.ContextMenuTemplateDirective, typeof i12.ContextMenuTargetDirective, typeof i13.ContextMenuTargetContainerDirective, typeof i1.MenuComponent, typeof i2.MenuItemComponent, typeof i3.ItemTemplateDirective, typeof i4.ItemLinkTemplateDirective, typeof i5.ItemContentTemplateDirective, typeof i6.HierarchyBindingDirective, typeof i7.FlatBindingDirective, typeof i8.LinkDirective, typeof i9.ExpandArrowComponent]>;
|
|
44
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<MenusModule>;
|
|
45
|
-
}
|
|
@@ -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
|
-
/**
|
|
6
|
-
* The settings for the `openOnClick` option.
|
|
7
|
-
*/
|
|
8
|
-
export interface OpenOnClickSettings {
|
|
9
|
-
/**
|
|
10
|
-
* Specifies the way in which you can toggle the open-on-click behavior.
|
|
11
|
-
*
|
|
12
|
-
* The supported values are:
|
|
13
|
-
* - `"select"`—The user opens an item with a click and the Menu items open on hover until one of them is selected.
|
|
14
|
-
* - `"leave"`—The user opens an item with a click and the Menu items open on hover until either one of them is selected, or the mouse pointer leaves the Menu and the predefined delay passes.
|
|
15
|
-
* - `"click"`—The user opens an item with a click and the Menu items open on hover but do not close when the mouse pointer leaves the Menu. To close the items, the user has to either select an item, or click a random place on the page.
|
|
16
|
-
*
|
|
17
|
-
* @default 'select'
|
|
18
|
-
*/
|
|
19
|
-
toggle: 'select' | 'leave' | 'click';
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @hidden
|
|
23
|
-
*/
|
|
24
|
-
export declare const normalize: (settings: any) => any;
|
package/package-metadata.d.ts
DELETED
|
@@ -1,9 +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 { type PackageMetadata } from '@progress/kendo-licensing';
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const packageMetadata: PackageMetadata;
|
package/preventable-event.d.ts
DELETED
|
@@ -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
|
-
/**
|
|
6
|
-
* @hidden
|
|
7
|
-
*/
|
|
8
|
-
export declare class PreventableEvent {
|
|
9
|
-
private prevented;
|
|
10
|
-
/**
|
|
11
|
-
* Prevents the default action for a specified event.
|
|
12
|
-
* In this way, the source component suppresses
|
|
13
|
-
* the built-in behavior that follows the event.
|
|
14
|
-
*/
|
|
15
|
-
preventDefault(): void;
|
|
16
|
-
/**
|
|
17
|
-
* Returns `true` if the event was prevented
|
|
18
|
-
* by any of its subscribers.
|
|
19
|
-
*
|
|
20
|
-
* @returns `true` if the default action was prevented.
|
|
21
|
-
* Otherwise, returns `false`.
|
|
22
|
-
*/
|
|
23
|
-
isDefaultPrevented(): boolean;
|
|
24
|
-
/**
|
|
25
|
-
* @hidden
|
|
26
|
-
*/
|
|
27
|
-
constructor(args?: any);
|
|
28
|
-
}
|
|
@@ -1,41 +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 } from '@angular/core';
|
|
6
|
-
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
7
|
-
import { ItemsService } from '../services/items.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Represents a component that can be used in the [`linkTemplate`](https://www.telerik.com/kendo-angular-ui/components/menus/api/itemlinktemplatedirective)
|
|
11
|
-
* of the items to render the default expand arrow.
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```html
|
|
15
|
-
* <ng-template kendoMenuItemLinkTemplate let-item="item" let-index="index">
|
|
16
|
-
* <span [kendoMenuExpandArrow]="index"></span>
|
|
17
|
-
* </ng-template>
|
|
18
|
-
* ```
|
|
19
|
-
*/
|
|
20
|
-
export declare class ExpandArrowComponent implements OnInit {
|
|
21
|
-
private itemsService;
|
|
22
|
-
/**
|
|
23
|
-
* Specifies the index of the Menu item. The input is mandatory.
|
|
24
|
-
*/
|
|
25
|
-
index: string;
|
|
26
|
-
hostClasses: boolean;
|
|
27
|
-
ariaHidden: string;
|
|
28
|
-
private item;
|
|
29
|
-
/**
|
|
30
|
-
* @hidden
|
|
31
|
-
*/
|
|
32
|
-
fontIcon: string;
|
|
33
|
-
/**
|
|
34
|
-
* @hidden
|
|
35
|
-
*/
|
|
36
|
-
SVGIcon: SVGIcon;
|
|
37
|
-
constructor(itemsService: ItemsService);
|
|
38
|
-
ngOnInit(): void;
|
|
39
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ExpandArrowComponent, never>;
|
|
40
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ExpandArrowComponent, "[kendoMenuExpandArrow]", never, { "index": { "alias": "kendoMenuExpandArrow"; "required": false; }; }, {}, never, never, true, never>;
|
|
41
|
-
}
|
|
@@ -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 { OnInit } from '@angular/core';
|
|
6
|
-
import { ItemsService } from '../services/items.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* Represents a directive that can be used in the [`linkTemplate`](https://www.telerik.com/kendo-angular-ui/components/menus/api/itemlinktemplatedirective)
|
|
10
|
-
* of the items to apply the default styling and behavior.
|
|
11
|
-
*
|
|
12
|
-
* @example
|
|
13
|
-
* ```html
|
|
14
|
-
* <ng-template kendoMenuItemLinkTemplate let-item="item" let-index="index">
|
|
15
|
-
* <a [kendoMenuItemLink]="index">{{ item.text }}</a>
|
|
16
|
-
* </ng-template>
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
export declare class LinkDirective implements OnInit {
|
|
20
|
-
private itemsService;
|
|
21
|
-
/**
|
|
22
|
-
* Specifies the index of the Menu item. The input is mandatory.
|
|
23
|
-
*/
|
|
24
|
-
index: string;
|
|
25
|
-
hostClasses: boolean;
|
|
26
|
-
role: string;
|
|
27
|
-
tabindex: string;
|
|
28
|
-
get activeClass(): boolean;
|
|
29
|
-
private item;
|
|
30
|
-
constructor(itemsService: ItemsService);
|
|
31
|
-
ngOnInit(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LinkDirective, never>;
|
|
33
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LinkDirective, "[kendoMenuItemLink]", never, { "index": { "alias": "kendoMenuItemLink"; "required": false; }; }, {}, never, never, true, never>;
|
|
34
|
-
}
|
|
@@ -1,127 +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 { AfterViewInit, ElementRef, NgZone, OnChanges, OnDestroy, OnInit, Renderer2, SimpleChanges, TemplateRef, TrackByFunction, ViewContainerRef } from '@angular/core';
|
|
6
|
-
import { ChangeDetectorRef } from '@angular/core';
|
|
7
|
-
import { PopupService } from '@progress/kendo-angular-popup';
|
|
8
|
-
import { ContextMenuService } from '../context-menu/context-menu.service';
|
|
9
|
-
import { MenuSize } from '../size';
|
|
10
|
-
import { MenuAnimation } from '../menu-animation.interface';
|
|
11
|
-
import { ActionsService } from '../services/actions.service';
|
|
12
|
-
import { HoverService } from '../services/hover.service';
|
|
13
|
-
import { ItemsService } from '../services/items.service';
|
|
14
|
-
import { NavigationService } from '../services/navigation.service';
|
|
15
|
-
import { PopupSettings } from './popup-settings';
|
|
16
|
-
import * as i0 from "@angular/core";
|
|
17
|
-
/**
|
|
18
|
-
* @hidden
|
|
19
|
-
*/
|
|
20
|
-
export declare class ListComponent implements OnInit, OnDestroy {
|
|
21
|
-
private itemsService;
|
|
22
|
-
private hover;
|
|
23
|
-
private actions;
|
|
24
|
-
private navigation;
|
|
25
|
-
private renderer;
|
|
26
|
-
private ngZone;
|
|
27
|
-
element: ElementRef;
|
|
28
|
-
appendTo: ViewContainerRef;
|
|
29
|
-
items: any[];
|
|
30
|
-
level: number;
|
|
31
|
-
index: string;
|
|
32
|
-
animate: boolean | MenuAnimation;
|
|
33
|
-
size: MenuSize;
|
|
34
|
-
vertical: boolean;
|
|
35
|
-
rtl: boolean;
|
|
36
|
-
openOnClick: any;
|
|
37
|
-
itemTemplate: TemplateRef<any>;
|
|
38
|
-
itemLinkTemplate: TemplateRef<any>;
|
|
39
|
-
popupSettings: PopupSettings;
|
|
40
|
-
trackBy: TrackByFunction<any>;
|
|
41
|
-
private domSubscriptions;
|
|
42
|
-
constructor(itemsService: ItemsService, hover: HoverService, actions: ActionsService, navigation: NavigationService, renderer: Renderer2, ngZone: NgZone, element: ElementRef);
|
|
43
|
-
trackByWrapper(index: number, item: any): any;
|
|
44
|
-
hierarchyIndex(index: number): string;
|
|
45
|
-
ngOnInit(): void;
|
|
46
|
-
ngOnDestroy(): void;
|
|
47
|
-
private initDomEvents;
|
|
48
|
-
private leavesMenu;
|
|
49
|
-
private onLeave;
|
|
50
|
-
private nodeItem;
|
|
51
|
-
private clickHandler;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ListComponent, never>;
|
|
53
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ListComponent, "[kendoMenuList]", never, { "appendTo": { "alias": "appendTo"; "required": false; }; "items": { "alias": "items"; "required": false; }; "level": { "alias": "level"; "required": false; }; "index": { "alias": "index"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "size": { "alias": "size"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "rtl": { "alias": "rtl"; "required": false; }; "openOnClick": { "alias": "openOnClick"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "itemLinkTemplate": { "alias": "itemLinkTemplate"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; }, {}, never, never, true, never>;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* @hidden
|
|
57
|
-
*/
|
|
58
|
-
export declare class ItemComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
|
|
59
|
-
private itemsService;
|
|
60
|
-
private navigation;
|
|
61
|
-
private changeDetector;
|
|
62
|
-
private renderer;
|
|
63
|
-
private popupService;
|
|
64
|
-
element: ElementRef;
|
|
65
|
-
private contextService?;
|
|
66
|
-
appendTo: ViewContainerRef;
|
|
67
|
-
item: any;
|
|
68
|
-
level: number;
|
|
69
|
-
set index(index: string);
|
|
70
|
-
get index(): string;
|
|
71
|
-
siblingIndex: number;
|
|
72
|
-
animate: boolean | MenuAnimation;
|
|
73
|
-
size: MenuSize;
|
|
74
|
-
vertical: boolean;
|
|
75
|
-
rtl: boolean;
|
|
76
|
-
openOnClick: boolean;
|
|
77
|
-
itemTemplate: TemplateRef<any>;
|
|
78
|
-
itemLinkTemplate: TemplateRef<any>;
|
|
79
|
-
popupSettings: PopupSettings;
|
|
80
|
-
trackBy: TrackByFunction<any>;
|
|
81
|
-
link: ElementRef;
|
|
82
|
-
popupTemplate: TemplateRef<any>;
|
|
83
|
-
get disabled(): boolean;
|
|
84
|
-
get hasPopup(): string;
|
|
85
|
-
get defaultPopupSettings(): any;
|
|
86
|
-
get horizontal(): boolean;
|
|
87
|
-
get hasLink(): boolean;
|
|
88
|
-
get linkTemplate(): TemplateRef<any>;
|
|
89
|
-
get hasContent(): boolean;
|
|
90
|
-
get isContent(): boolean;
|
|
91
|
-
get iconClass(): string;
|
|
92
|
-
get isContextMenu(): boolean;
|
|
93
|
-
get menuListClasses(): string;
|
|
94
|
-
get children(): any[];
|
|
95
|
-
get template(): TemplateRef<any>;
|
|
96
|
-
/**
|
|
97
|
-
* @hidden
|
|
98
|
-
*/
|
|
99
|
-
fontIcon: (horizontal: boolean, rtl: boolean) => string;
|
|
100
|
-
/**
|
|
101
|
-
* @hidden
|
|
102
|
-
*/
|
|
103
|
-
SVGIcon: (horizontal: boolean, rtl: boolean) => import("@progress/kendo-angular-icons").SVGIcon;
|
|
104
|
-
opened: boolean;
|
|
105
|
-
navigating: boolean;
|
|
106
|
-
childId: string;
|
|
107
|
-
private contentItems;
|
|
108
|
-
private popupRef;
|
|
109
|
-
private _index;
|
|
110
|
-
private destroyed;
|
|
111
|
-
constructor(itemsService: ItemsService, navigation: NavigationService, changeDetector: ChangeDetectorRef, renderer: Renderer2, popupService: PopupService, element: ElementRef, contextService?: ContextMenuService);
|
|
112
|
-
hasContentTemplates(): boolean;
|
|
113
|
-
ngOnInit(): void;
|
|
114
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
115
|
-
ngAfterViewInit(): void;
|
|
116
|
-
ngOnDestroy(): void;
|
|
117
|
-
focus(): void;
|
|
118
|
-
blur(): void;
|
|
119
|
-
toggleActive(isActive: boolean): void;
|
|
120
|
-
open(): void;
|
|
121
|
-
close(): void;
|
|
122
|
-
navigate(): void;
|
|
123
|
-
private setAttribute;
|
|
124
|
-
private getMergedPopupSettings;
|
|
125
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItemComponent, [null, null, null, null, null, null, { optional: true; }]>;
|
|
126
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ItemComponent, "[kendoMenuItem]", never, { "appendTo": { "alias": "appendTo"; "required": false; }; "item": { "alias": "item"; "required": false; }; "level": { "alias": "level"; "required": false; }; "index": { "alias": "index"; "required": false; }; "siblingIndex": { "alias": "siblingIndex"; "required": false; }; "animate": { "alias": "animate"; "required": false; }; "size": { "alias": "size"; "required": false; }; "vertical": { "alias": "vertical"; "required": false; }; "rtl": { "alias": "rtl"; "required": false; }; "openOnClick": { "alias": "openOnClick"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "itemLinkTemplate": { "alias": "itemLinkTemplate"; "required": false; }; "popupSettings": { "alias": "popupSettings"; "required": false; }; "trackBy": { "alias": "trackBy"; "required": false; }; }, {}, never, never, true, never>;
|
|
127
|
-
}
|
|
@@ -1,84 +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 { Margin } from "@progress/kendo-angular-popup";
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare const DEFAULT_MARGIN: Margin;
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare const POPUP_SETTINGS_RTL: {
|
|
14
|
-
vertical: {
|
|
15
|
-
anchor: {
|
|
16
|
-
vertical: string;
|
|
17
|
-
horizontal: string;
|
|
18
|
-
};
|
|
19
|
-
popup: any;
|
|
20
|
-
collision: {
|
|
21
|
-
vertical: string;
|
|
22
|
-
horizontal: string;
|
|
23
|
-
};
|
|
24
|
-
animate: string;
|
|
25
|
-
popupClass: string[];
|
|
26
|
-
};
|
|
27
|
-
horizontal: {
|
|
28
|
-
anchor: {
|
|
29
|
-
vertical: string;
|
|
30
|
-
horizontal: string;
|
|
31
|
-
};
|
|
32
|
-
popup: any;
|
|
33
|
-
collision: {
|
|
34
|
-
vertical: string;
|
|
35
|
-
horizontal: string;
|
|
36
|
-
};
|
|
37
|
-
animate: string;
|
|
38
|
-
popupClass: string[];
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
/**
|
|
42
|
-
* @hidden
|
|
43
|
-
*/
|
|
44
|
-
export declare const POPUP_SETTINGS: {
|
|
45
|
-
vertical: {
|
|
46
|
-
anchor: {
|
|
47
|
-
vertical: string;
|
|
48
|
-
horizontal: string;
|
|
49
|
-
};
|
|
50
|
-
popup: any;
|
|
51
|
-
collision: {
|
|
52
|
-
vertical: string;
|
|
53
|
-
horizontal: string;
|
|
54
|
-
};
|
|
55
|
-
animate: string;
|
|
56
|
-
popupClass: string[];
|
|
57
|
-
};
|
|
58
|
-
horizontal: {
|
|
59
|
-
anchor: {
|
|
60
|
-
vertical: string;
|
|
61
|
-
horizontal: string;
|
|
62
|
-
};
|
|
63
|
-
popup: any;
|
|
64
|
-
collision: {
|
|
65
|
-
vertical: string;
|
|
66
|
-
horizontal: string;
|
|
67
|
-
};
|
|
68
|
-
animate: string;
|
|
69
|
-
popupClass: string[];
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* Settings for the Menu and ContextMenu popups.
|
|
74
|
-
*/
|
|
75
|
-
export interface PopupSettings {
|
|
76
|
-
/**
|
|
77
|
-
* The CSS class that will be applied to the popup container.
|
|
78
|
-
*/
|
|
79
|
-
popupClass?: string | string[] | object | Set<string>;
|
|
80
|
-
/**
|
|
81
|
-
* The margin of the popup container.
|
|
82
|
-
*/
|
|
83
|
-
margin?: Margin;
|
|
84
|
-
}
|
|
@@ -1,54 +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 { NgZone } from '@angular/core';
|
|
6
|
-
import { ItemsService } from './items.service';
|
|
7
|
-
import { PreventableEvent } from '@progress/kendo-angular-common';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
/**
|
|
10
|
-
* Used to remove cyclic dependency error. Dublicates MenuEvent
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class MenuStateEvent extends PreventableEvent {
|
|
14
|
-
/**
|
|
15
|
-
* The MenuComponent that triggered the event.
|
|
16
|
-
*/
|
|
17
|
-
sender: any;
|
|
18
|
-
/**
|
|
19
|
-
* The item data of the event.
|
|
20
|
-
*/
|
|
21
|
-
item: any;
|
|
22
|
-
/**
|
|
23
|
-
* The item index of the event.
|
|
24
|
-
*/
|
|
25
|
-
index: string;
|
|
26
|
-
constructor(args?: any);
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @hidden
|
|
30
|
-
*/
|
|
31
|
-
export declare class ActionsService {
|
|
32
|
-
private ngZone;
|
|
33
|
-
private items;
|
|
34
|
-
owner: any;
|
|
35
|
-
actions: any[];
|
|
36
|
-
constructor(ngZone: NgZone, items: ItemsService);
|
|
37
|
-
open(item: any, finished?: any): void;
|
|
38
|
-
close(item: any): void;
|
|
39
|
-
closeItem(item: any): void;
|
|
40
|
-
closeToRoot(item: any): void;
|
|
41
|
-
closeOthers(item: any): void;
|
|
42
|
-
closeAll(): void;
|
|
43
|
-
select(item: any, domEvent: any, prevented?: any, finished?: any): void;
|
|
44
|
-
emit(name: string, item: any, domEvent?: any): boolean;
|
|
45
|
-
get hasPending(): boolean;
|
|
46
|
-
execute(toExecute?: any[]): void;
|
|
47
|
-
clear(): any[];
|
|
48
|
-
private executeActions;
|
|
49
|
-
private requiresZone;
|
|
50
|
-
private closeChildren;
|
|
51
|
-
private closeItems;
|
|
52
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ActionsService, never>;
|
|
53
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ActionsService>;
|
|
54
|
-
}
|
|
@@ -1,33 +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 { ItemsService } from './items.service';
|
|
6
|
-
import { ActionsService } from './actions.service';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
/**
|
|
9
|
-
* @hidden
|
|
10
|
-
*/
|
|
11
|
-
export declare class HoverService {
|
|
12
|
-
private actions;
|
|
13
|
-
private items;
|
|
14
|
-
delay: number;
|
|
15
|
-
get openOnOver(): boolean;
|
|
16
|
-
set openOnOver(value: boolean);
|
|
17
|
-
private _openOnOver;
|
|
18
|
-
private hoveredIdx;
|
|
19
|
-
private get hovered();
|
|
20
|
-
private set hovered(value);
|
|
21
|
-
private scheduled;
|
|
22
|
-
constructor(actions: ActionsService, items: ItemsService);
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
over(item: any): void;
|
|
25
|
-
leave(disableOpenOnOver?: boolean): void;
|
|
26
|
-
closeCurrent(): void;
|
|
27
|
-
private scheduleActions;
|
|
28
|
-
private scheduleDisableOpenOnOver;
|
|
29
|
-
private removeScheduled;
|
|
30
|
-
private cancelActions;
|
|
31
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HoverService, never>;
|
|
32
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<HoverService>;
|
|
33
|
-
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
3
|
-
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
|
-
*-------------------------------------------------------------------------------------------*/
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
/**
|
|
7
|
-
* @hidden
|
|
8
|
-
*/
|
|
9
|
-
export declare class ItemsService {
|
|
10
|
-
items: any;
|
|
11
|
-
lists: any[];
|
|
12
|
-
private idPrefix;
|
|
13
|
-
get hasItems(): boolean;
|
|
14
|
-
childId(index: string): string;
|
|
15
|
-
itemIndex(parentIndex: string, index: any): string;
|
|
16
|
-
get(index: string): any;
|
|
17
|
-
add(item: any): any;
|
|
18
|
-
remove(item: any): any;
|
|
19
|
-
addList(list: any): any;
|
|
20
|
-
removeList(list: any): any;
|
|
21
|
-
containsList(element: any): boolean;
|
|
22
|
-
siblings(item: any): any[];
|
|
23
|
-
otherSiblings(item: any): any[];
|
|
24
|
-
children(item: any): any[];
|
|
25
|
-
parent(item: any): any;
|
|
26
|
-
root(item: any): any;
|
|
27
|
-
indices(index: string): string[];
|
|
28
|
-
filter(predicate: any): any[];
|
|
29
|
-
previous(item: any): any;
|
|
30
|
-
next(item: any): any;
|
|
31
|
-
hasParent(item: any, parent: any): boolean;
|
|
32
|
-
areSiblings(item1: any, item2: any): boolean;
|
|
33
|
-
forEach(callback: any): void;
|
|
34
|
-
private parentIndex;
|
|
35
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItemsService, never>;
|
|
36
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ItemsService>;
|
|
37
|
-
}
|
|
@@ -1,47 +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 { NgZone } from '@angular/core';
|
|
6
|
-
import { LocalizationService } from '@progress/kendo-angular-l10n';
|
|
7
|
-
import { ItemsService } from './items.service';
|
|
8
|
-
import { ActionsService } from './actions.service';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
/**
|
|
11
|
-
* @hidden
|
|
12
|
-
*/
|
|
13
|
-
export declare class NavigationService {
|
|
14
|
-
private items;
|
|
15
|
-
private actions;
|
|
16
|
-
private localization;
|
|
17
|
-
private ngZone;
|
|
18
|
-
vertical: boolean;
|
|
19
|
-
activeIndex: string;
|
|
20
|
-
focusedIdx: string;
|
|
21
|
-
get focusedItem(): any;
|
|
22
|
-
private get activeItem();
|
|
23
|
-
private get handlers();
|
|
24
|
-
constructor(items: ItemsService, actions: ActionsService, localization: LocalizationService, ngZone: NgZone);
|
|
25
|
-
focus(item: any): void;
|
|
26
|
-
setFocus(item: any): void;
|
|
27
|
-
focusLeave(): void;
|
|
28
|
-
updateActive(): void;
|
|
29
|
-
keydown(e: KeyboardEvent): void;
|
|
30
|
-
focusIndex(index?: string): void;
|
|
31
|
-
focusFirst(): void;
|
|
32
|
-
focusLast(): void;
|
|
33
|
-
search(current: any, key: string): void;
|
|
34
|
-
down(current: any): void;
|
|
35
|
-
up(current: any): void;
|
|
36
|
-
left(current: any): void;
|
|
37
|
-
right(current: any): void;
|
|
38
|
-
home(current: any): void;
|
|
39
|
-
end(current: any): void;
|
|
40
|
-
enter(current: any, domEvent: any): void;
|
|
41
|
-
esc(current: any): void;
|
|
42
|
-
tab(current: any): void;
|
|
43
|
-
private focusChild;
|
|
44
|
-
private setActive;
|
|
45
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationService, never>;
|
|
46
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
|
|
47
|
-
}
|
package/size.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
|
-
* Represents the possible size options of the menu.
|
|
7
|
-
*/
|
|
8
|
-
export type MenuSize = 'small' | 'medium' | 'large';
|
|
@@ -1,42 +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 Menu items ([see example](https://www.telerik.com/kendo-angular-ui/components/menus/menu/templates)). To define the template,
|
|
9
|
-
* nest an `<ng-template>` tag with the `kendoMenuItemContentTemplate` directive inside a `<kendo-menu-item>` component.
|
|
10
|
-
*
|
|
11
|
-
* The available fields in the template context are:
|
|
12
|
-
* - `item`—The item data.
|
|
13
|
-
* - `index`—The item index.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```ts-preview
|
|
17
|
-
*
|
|
18
|
-
* _@Component({
|
|
19
|
-
* selector: 'my-app',
|
|
20
|
-
* template: `
|
|
21
|
-
* <kendo-menu>
|
|
22
|
-
* <kendo-menu-item text="item2">
|
|
23
|
-
* <ng-template kendoMenuItemContentTemplate let-item="item" let-index="index">
|
|
24
|
-
* <div style="padding: 10px;">
|
|
25
|
-
* My Content Template for: {{ item.text }} at index: {{ index }}
|
|
26
|
-
* </div>
|
|
27
|
-
* </ng-template>
|
|
28
|
-
* </kendo-menu-item>
|
|
29
|
-
* </kendo-menu>
|
|
30
|
-
* `
|
|
31
|
-
* })
|
|
32
|
-
*
|
|
33
|
-
* class AppComponent {
|
|
34
|
-
* }
|
|
35
|
-
* ```
|
|
36
|
-
*/
|
|
37
|
-
export declare class ItemContentTemplateDirective {
|
|
38
|
-
templateRef: TemplateRef<any>;
|
|
39
|
-
constructor(templateRef: TemplateRef<any>);
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ItemContentTemplateDirective, [{ optional: true; }]>;
|
|
41
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ItemContentTemplateDirective, "[kendoMenuItemContentTemplate]", never, {}, {}, never, never, true, never>;
|
|
42
|
-
}
|