@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.
- package/context-menu/context-menu-target-container.directive.d.ts +1 -1
- package/context-menu/context-menu-target.directive.d.ts +1 -1
- package/context-menu/context-menu-template.directive.d.ts +1 -1
- package/context-menu/context-menu.component.d.ts +1 -1
- package/context-menu/context-menu.module.d.ts +10 -4
- package/data-binding/flat-binding.directive.d.ts +1 -1
- package/data-binding/hierachy-binding.directive.d.ts +1 -1
- package/directives.d.ts +29 -0
- package/esm2020/context-menu/context-menu-target-container.directive.mjs +3 -2
- package/esm2020/context-menu/context-menu-target.directive.mjs +3 -2
- package/esm2020/context-menu/context-menu-template.directive.mjs +3 -2
- package/esm2020/context-menu/context-menu.component.mjs +8 -6
- package/esm2020/context-menu/context-menu.module.mjs +22 -24
- package/esm2020/data-binding/flat-binding.directive.mjs +3 -2
- package/esm2020/data-binding/hierachy-binding.directive.mjs +3 -2
- package/esm2020/directives.mjs +48 -0
- package/esm2020/index.mjs +1 -0
- package/esm2020/menu-item.component.mjs +3 -2
- package/esm2020/menu.component.mjs +7 -5
- package/esm2020/menu.module.mjs +18 -51
- package/esm2020/menus.module.mjs +22 -5
- package/esm2020/package-metadata.mjs +2 -2
- package/esm2020/rendering/arrow.component.mjs +5 -3
- package/esm2020/rendering/link.directive.mjs +3 -2
- package/esm2020/rendering/list.component.mjs +16 -12
- package/esm2020/templates/item-content-template.directive.mjs +3 -2
- package/esm2020/templates/item-link-template.directive.mjs +3 -2
- package/esm2020/templates/item-template.directive.mjs +3 -2
- package/fesm2015/progress-kendo-angular-menu.mjs +205 -195
- package/fesm2020/progress-kendo-angular-menu.mjs +182 -172
- package/index.d.ts +1 -0
- package/menu-item.component.d.ts +1 -1
- package/menu.component.d.ts +1 -1
- package/menu.module.d.ts +1 -5
- package/menus.module.d.ts +14 -3
- package/package.json +6 -6
- package/rendering/arrow.component.d.ts +1 -1
- package/rendering/link.directive.d.ts +1 -1
- package/rendering/list.component.d.ts +3 -3
- package/templates/item-content-template.directive.d.ts +1 -1
- package/templates/item-link-template.directive.d.ts +1 -1
- 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, Directive, Optional, Component, Input, ContentChildren, ElementRef, EventEmitter, ViewChild, HostBinding,
|
|
6
|
+
import { Injectable, NgZone, Directive, Optional, Component, Input, ContentChildren, ElementRef, EventEmitter, 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
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
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:
|
|
27
|
-
version: '16.
|
|
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
|
|
|
@@ -834,11 +832,12 @@ class ItemTemplateDirective {
|
|
|
834
832
|
}
|
|
835
833
|
}
|
|
836
834
|
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 });
|
|
837
|
-
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, selector: "[kendoMenuItemTemplate]", ngImport: i0 });
|
|
835
|
+
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemTemplateDirective, isStandalone: true, selector: "[kendoMenuItemTemplate]", ngImport: i0 });
|
|
838
836
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
839
837
|
type: Directive,
|
|
840
838
|
args: [{
|
|
841
|
-
selector: '[kendoMenuItemTemplate]'
|
|
839
|
+
selector: '[kendoMenuItemTemplate]',
|
|
840
|
+
standalone: true
|
|
842
841
|
}]
|
|
843
842
|
}], ctorParameters: function () {
|
|
844
843
|
return [{ type: i0.TemplateRef, decorators: [{
|
|
@@ -884,11 +883,12 @@ class ItemLinkTemplateDirective {
|
|
|
884
883
|
}
|
|
885
884
|
}
|
|
886
885
|
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 });
|
|
887
|
-
ItemLinkTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemLinkTemplateDirective, selector: "[kendoMenuItemLinkTemplate]", ngImport: i0 });
|
|
886
|
+
ItemLinkTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemLinkTemplateDirective, isStandalone: true, selector: "[kendoMenuItemLinkTemplate]", ngImport: i0 });
|
|
888
887
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemLinkTemplateDirective, decorators: [{
|
|
889
888
|
type: Directive,
|
|
890
889
|
args: [{
|
|
891
|
-
selector: '[kendoMenuItemLinkTemplate]'
|
|
890
|
+
selector: '[kendoMenuItemLinkTemplate]',
|
|
891
|
+
standalone: true
|
|
892
892
|
}]
|
|
893
893
|
}], ctorParameters: function () {
|
|
894
894
|
return [{ type: i0.TemplateRef, decorators: [{
|
|
@@ -932,11 +932,12 @@ class ItemContentTemplateDirective {
|
|
|
932
932
|
}
|
|
933
933
|
}
|
|
934
934
|
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 });
|
|
935
|
-
ItemContentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemContentTemplateDirective, selector: "[kendoMenuItemContentTemplate]", ngImport: i0 });
|
|
935
|
+
ItemContentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ItemContentTemplateDirective, isStandalone: true, selector: "[kendoMenuItemContentTemplate]", ngImport: i0 });
|
|
936
936
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemContentTemplateDirective, decorators: [{
|
|
937
937
|
type: Directive,
|
|
938
938
|
args: [{
|
|
939
|
-
selector: '[kendoMenuItemContentTemplate]'
|
|
939
|
+
selector: '[kendoMenuItemContentTemplate]',
|
|
940
|
+
standalone: true
|
|
940
941
|
}]
|
|
941
942
|
}], ctorParameters: function () {
|
|
942
943
|
return [{ type: i0.TemplateRef, decorators: [{
|
|
@@ -1024,12 +1025,13 @@ class MenuItemComponent {
|
|
|
1024
1025
|
}
|
|
1025
1026
|
}
|
|
1026
1027
|
MenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1027
|
-
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 });
|
|
1028
|
+
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 });
|
|
1028
1029
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuItemComponent, decorators: [{
|
|
1029
1030
|
type: Component,
|
|
1030
1031
|
args: [{
|
|
1031
1032
|
selector: 'kendo-menu-item',
|
|
1032
|
-
template:
|
|
1033
|
+
template: ``,
|
|
1034
|
+
standalone: true
|
|
1033
1035
|
}]
|
|
1034
1036
|
}], propDecorators: { text: [{
|
|
1035
1037
|
type: Input
|
|
@@ -1183,29 +1185,6 @@ const getSVGIcon = (horizontal, rtl) => {
|
|
|
1183
1185
|
return icon;
|
|
1184
1186
|
};
|
|
1185
1187
|
|
|
1186
|
-
/**
|
|
1187
|
-
* @hidden
|
|
1188
|
-
*/
|
|
1189
|
-
class ContextMenuService {
|
|
1190
|
-
constructor() {
|
|
1191
|
-
this.keydown = new EventEmitter();
|
|
1192
|
-
}
|
|
1193
|
-
emit(name, args) {
|
|
1194
|
-
this.owner.emitMenuEvent(name, args);
|
|
1195
|
-
}
|
|
1196
|
-
hasObservers(name) {
|
|
1197
|
-
return this.owner && hasObservers(this.owner[name]);
|
|
1198
|
-
}
|
|
1199
|
-
leaveMenu(e) {
|
|
1200
|
-
return this.items ? !inMenu(e.target, this.items) : true;
|
|
1201
|
-
}
|
|
1202
|
-
}
|
|
1203
|
-
ContextMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1204
|
-
ContextMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuService });
|
|
1205
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuService, decorators: [{
|
|
1206
|
-
type: Injectable
|
|
1207
|
-
}] });
|
|
1208
|
-
|
|
1209
1188
|
const POPUP_ALIGN = {
|
|
1210
1189
|
vertical: 'top',
|
|
1211
1190
|
horizontal: 'left'
|
|
@@ -1269,6 +1248,29 @@ const POPUP_SETTINGS = {
|
|
|
1269
1248
|
}
|
|
1270
1249
|
};
|
|
1271
1250
|
|
|
1251
|
+
/**
|
|
1252
|
+
* @hidden
|
|
1253
|
+
*/
|
|
1254
|
+
class ContextMenuService {
|
|
1255
|
+
constructor() {
|
|
1256
|
+
this.keydown = new EventEmitter();
|
|
1257
|
+
}
|
|
1258
|
+
emit(name, args) {
|
|
1259
|
+
this.owner.emitMenuEvent(name, args);
|
|
1260
|
+
}
|
|
1261
|
+
hasObservers(name) {
|
|
1262
|
+
return this.owner && hasObservers(this.owner[name]);
|
|
1263
|
+
}
|
|
1264
|
+
leaveMenu(e) {
|
|
1265
|
+
return this.items ? !inMenu(e.target, this.items) : true;
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
ContextMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1269
|
+
ContextMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuService });
|
|
1270
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuService, decorators: [{
|
|
1271
|
+
type: Injectable
|
|
1272
|
+
}] });
|
|
1273
|
+
|
|
1272
1274
|
/* eslint-disable @angular-eslint/component-selector */
|
|
1273
1275
|
/**
|
|
1274
1276
|
* @hidden
|
|
@@ -1425,7 +1427,7 @@ class ListComponent {
|
|
|
1425
1427
|
}
|
|
1426
1428
|
}
|
|
1427
1429
|
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 });
|
|
1428
|
-
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 \n </li>\n </ng-container>\n ", isInline: true, dependencies: [{ kind: "directive", type: i0.forwardRef(function () { return
|
|
1430
|
+
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 \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"] }] });
|
|
1429
1431
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ListComponent, decorators: [{
|
|
1430
1432
|
type: Component,
|
|
1431
1433
|
args: [{
|
|
@@ -1463,7 +1465,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1463
1465
|
|
|
1464
1466
|
</li>
|
|
1465
1467
|
</ng-container>
|
|
1466
|
-
|
|
1468
|
+
`,
|
|
1469
|
+
standalone: true,
|
|
1470
|
+
imports: [NgFor, NgIf, forwardRef(() => ItemComponent), NgClass, NgStyle]
|
|
1467
1471
|
}]
|
|
1468
1472
|
}], ctorParameters: function () { return [{ type: ItemsService }, { type: HoverService }, { type: ActionsService }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ElementRef }]; }, propDecorators: { appendTo: [{
|
|
1469
1473
|
type: Input
|
|
@@ -1679,8 +1683,8 @@ class ItemComponent {
|
|
|
1679
1683
|
this.renderer.setAttribute(this.element.nativeElement, name, value);
|
|
1680
1684
|
}
|
|
1681
1685
|
}
|
|
1682
|
-
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:
|
|
1683
|
-
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, {
|
|
1686
|
+
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 });
|
|
1687
|
+
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, {
|
|
1684
1688
|
provide: POPUP_CONTAINER,
|
|
1685
1689
|
useFactory: bodyFactory
|
|
1686
1690
|
}], viewQueries: [{ propertyName: "link", first: true, predicate: ["link"], descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], ngImport: i0, template: `
|
|
@@ -1731,7 +1735,7 @@ ItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
1731
1735
|
</ng-template>
|
|
1732
1736
|
<kendo-icon-wrapper *ngIf="hasContent" [name]="fontIcon(horizontal, rtl)" [svgIcon]="SVGIcon(horizontal, rtl)" class="k-menu-expand-arrow" aria-hidden="true"></kendo-icon-wrapper>
|
|
1733
1737
|
</ng-template>
|
|
1734
|
-
`, isInline: true, dependencies: [{ kind: "directive", type:
|
|
1738
|
+
`, 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"] }] });
|
|
1735
1739
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ItemComponent, decorators: [{
|
|
1736
1740
|
type: Component,
|
|
1737
1741
|
args: [{
|
|
@@ -1788,10 +1792,12 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
1788
1792
|
</ng-template>
|
|
1789
1793
|
<kendo-icon-wrapper *ngIf="hasContent" [name]="fontIcon(horizontal, rtl)" [svgIcon]="SVGIcon(horizontal, rtl)" class="k-menu-expand-arrow" aria-hidden="true"></kendo-icon-wrapper>
|
|
1790
1794
|
</ng-template>
|
|
1791
|
-
|
|
1795
|
+
`,
|
|
1796
|
+
standalone: true,
|
|
1797
|
+
imports: [NgIf, NgTemplateOutlet, ListComponent, NgClass, IconWrapperComponent]
|
|
1792
1798
|
}]
|
|
1793
1799
|
}], ctorParameters: function () {
|
|
1794
|
-
return [{ type: ItemsService }, { type: NavigationService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type:
|
|
1800
|
+
return [{ type: ItemsService }, { type: NavigationService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i5.PopupService }, { type: i0.ElementRef }, { type: ContextMenuService, decorators: [{
|
|
1795
1801
|
type: Optional
|
|
1796
1802
|
}] }];
|
|
1797
1803
|
}, propDecorators: { appendTo: [{
|
|
@@ -2009,7 +2015,7 @@ class MenuComponent extends MenuBase {
|
|
|
2009
2015
|
}
|
|
2010
2016
|
}
|
|
2011
2017
|
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 });
|
|
2012
|
-
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: [
|
|
2018
|
+
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: [
|
|
2013
2019
|
ItemsService,
|
|
2014
2020
|
ActionsService,
|
|
2015
2021
|
NavigationService,
|
|
@@ -2033,7 +2039,7 @@ MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version:
|
|
|
2033
2039
|
[itemLinkTemplate]="itemLinkTemplate.first?.templateRef || menuItemLinkTemplate"
|
|
2034
2040
|
[ngClass]="menuClasses">
|
|
2035
2041
|
</ul>
|
|
2036
|
-
`, isInline: true, dependencies: [{ kind: "
|
|
2042
|
+
`, 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"] }] });
|
|
2037
2043
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuComponent, decorators: [{
|
|
2038
2044
|
type: Component,
|
|
2039
2045
|
args: [{
|
|
@@ -2064,7 +2070,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2064
2070
|
[itemLinkTemplate]="itemLinkTemplate.first?.templateRef || menuItemLinkTemplate"
|
|
2065
2071
|
[ngClass]="menuClasses">
|
|
2066
2072
|
</ul>
|
|
2067
|
-
|
|
2073
|
+
`,
|
|
2074
|
+
standalone: true,
|
|
2075
|
+
imports: [ListComponent, NgClass]
|
|
2068
2076
|
}]
|
|
2069
2077
|
}], ctorParameters: function () {
|
|
2070
2078
|
return [{ type: ItemsService }, { type: HoverService }, { type: ActionsService }, { type: NavigationService }, { type: i3.LocalizationService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: ContextMenuService, decorators: [{
|
|
@@ -2111,11 +2119,12 @@ class LinkDirective {
|
|
|
2111
2119
|
}
|
|
2112
2120
|
}
|
|
2113
2121
|
LinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkDirective, deps: [{ token: ItemsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2114
|
-
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 });
|
|
2122
|
+
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 });
|
|
2115
2123
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: LinkDirective, decorators: [{
|
|
2116
2124
|
type: Directive,
|
|
2117
2125
|
args: [{
|
|
2118
|
-
selector: '[kendoMenuItemLink]'
|
|
2126
|
+
selector: '[kendoMenuItemLink]',
|
|
2127
|
+
standalone: true
|
|
2119
2128
|
}]
|
|
2120
2129
|
}], ctorParameters: function () { return [{ type: ItemsService }]; }, propDecorators: { index: [{
|
|
2121
2130
|
type: Input,
|
|
@@ -2157,12 +2166,14 @@ class ExpandArrowComponent {
|
|
|
2157
2166
|
}
|
|
2158
2167
|
}
|
|
2159
2168
|
ExpandArrowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpandArrowComponent, deps: [{ token: ItemsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2160
|
-
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:
|
|
2169
|
+
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"] }] });
|
|
2161
2170
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ExpandArrowComponent, decorators: [{
|
|
2162
2171
|
type: Component,
|
|
2163
2172
|
args: [{
|
|
2164
2173
|
selector: '[kendoMenuExpandArrow]',
|
|
2165
|
-
template: `<kendo-icon-wrapper [name]="fontIcon" [svgIcon]="SVGIcon"></kendo-icon-wrapper
|
|
2174
|
+
template: `<kendo-icon-wrapper [name]="fontIcon" [svgIcon]="SVGIcon"></kendo-icon-wrapper>`,
|
|
2175
|
+
standalone: true,
|
|
2176
|
+
imports: [IconWrapperComponent]
|
|
2166
2177
|
}]
|
|
2167
2178
|
}], ctorParameters: function () { return [{ type: ItemsService }]; }, propDecorators: { index: [{
|
|
2168
2179
|
type: Input,
|
|
@@ -2317,12 +2328,13 @@ class HierarchyBindingDirective extends BindingDirectiveBase {
|
|
|
2317
2328
|
}
|
|
2318
2329
|
}
|
|
2319
2330
|
HierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HierarchyBindingDirective, deps: [{ token: MenuBase }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2320
|
-
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 });
|
|
2331
|
+
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 });
|
|
2321
2332
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: HierarchyBindingDirective, decorators: [{
|
|
2322
2333
|
type: Directive,
|
|
2323
2334
|
args: [{
|
|
2324
2335
|
exportAs: 'kendoMenuHierarchyBinding',
|
|
2325
|
-
selector: '[kendoMenuHierarchyBinding]'
|
|
2336
|
+
selector: '[kendoMenuHierarchyBinding]',
|
|
2337
|
+
standalone: true
|
|
2326
2338
|
}]
|
|
2327
2339
|
}], ctorParameters: function () { return [{ type: MenuBase }]; }, propDecorators: { data: [{
|
|
2328
2340
|
type: Input,
|
|
@@ -2391,12 +2403,13 @@ class FlatBindingDirective extends BindingDirectiveBase {
|
|
|
2391
2403
|
}
|
|
2392
2404
|
}
|
|
2393
2405
|
FlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FlatBindingDirective, deps: [{ token: MenuBase }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2394
|
-
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 });
|
|
2406
|
+
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 });
|
|
2395
2407
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: FlatBindingDirective, decorators: [{
|
|
2396
2408
|
type: Directive,
|
|
2397
2409
|
args: [{
|
|
2398
2410
|
exportAs: 'kendoMenuFlatBinding',
|
|
2399
|
-
selector: '[kendoMenuFlatBinding]'
|
|
2411
|
+
selector: '[kendoMenuFlatBinding]',
|
|
2412
|
+
standalone: true
|
|
2400
2413
|
}]
|
|
2401
2414
|
}], ctorParameters: function () { return [{ type: MenuBase }]; }, propDecorators: { data: [{
|
|
2402
2415
|
type: Input,
|
|
@@ -2423,102 +2436,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2423
2436
|
type: Input
|
|
2424
2437
|
}] } });
|
|
2425
2438
|
|
|
2426
|
-
const COMPONENT_EXPORTS = [
|
|
2427
|
-
MenuComponent,
|
|
2428
|
-
MenuItemComponent,
|
|
2429
|
-
ItemTemplateDirective,
|
|
2430
|
-
ItemLinkTemplateDirective,
|
|
2431
|
-
ItemContentTemplateDirective,
|
|
2432
|
-
HierarchyBindingDirective,
|
|
2433
|
-
FlatBindingDirective,
|
|
2434
|
-
LinkDirective,
|
|
2435
|
-
ExpandArrowComponent
|
|
2436
|
-
];
|
|
2437
|
-
const COMPONENT_DIRECTIVES$1 = [
|
|
2438
|
-
...COMPONENT_EXPORTS,
|
|
2439
|
-
ListComponent,
|
|
2440
|
-
ItemComponent
|
|
2441
|
-
];
|
|
2442
2439
|
/**
|
|
2443
|
-
*
|
|
2444
|
-
* definition for the Menu component.
|
|
2445
|
-
*
|
|
2446
|
-
* @example
|
|
2447
|
-
*
|
|
2448
|
-
* ```ts-no-run
|
|
2449
|
-
* // Import the Menu module
|
|
2450
|
-
* import { MenuModule } from '@progress/kendo-angular-menu';
|
|
2451
|
-
*
|
|
2452
|
-
* // The browser platform with a compiler
|
|
2453
|
-
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
2454
|
-
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
2455
|
-
*
|
|
2456
|
-
* import { NgModule } from '@angular/core';
|
|
2457
|
-
*
|
|
2458
|
-
* // Import the app component
|
|
2459
|
-
* import { AppComponent } from './app.component';
|
|
2460
|
-
*
|
|
2461
|
-
* // Define the app module
|
|
2462
|
-
* _@NgModule({
|
|
2463
|
-
* declarations: [AppComponent], // declare app component
|
|
2464
|
-
* imports: [BrowserModule, BrowserAnimationsModule, MenuModule], // import Menu module
|
|
2465
|
-
* bootstrap: [AppComponent]
|
|
2466
|
-
* })
|
|
2467
|
-
* export class AppModule {}
|
|
2468
|
-
*
|
|
2469
|
-
* // Compile and launch the module
|
|
2470
|
-
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
2471
|
-
*
|
|
2472
|
-
* ```
|
|
2473
|
-
*/
|
|
2474
|
-
class MenuModule {
|
|
2475
|
-
}
|
|
2476
|
-
MenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2477
|
-
MenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, declarations: [MenuComponent,
|
|
2478
|
-
MenuItemComponent,
|
|
2479
|
-
ItemTemplateDirective,
|
|
2480
|
-
ItemLinkTemplateDirective,
|
|
2481
|
-
ItemContentTemplateDirective,
|
|
2482
|
-
HierarchyBindingDirective,
|
|
2483
|
-
FlatBindingDirective,
|
|
2484
|
-
LinkDirective,
|
|
2485
|
-
ExpandArrowComponent, ListComponent,
|
|
2486
|
-
ItemComponent], imports: [PopupModule, CommonModule, IconsModule], exports: [MenuComponent,
|
|
2487
|
-
MenuItemComponent,
|
|
2488
|
-
ItemTemplateDirective,
|
|
2489
|
-
ItemLinkTemplateDirective,
|
|
2490
|
-
ItemContentTemplateDirective,
|
|
2491
|
-
HierarchyBindingDirective,
|
|
2492
|
-
FlatBindingDirective,
|
|
2493
|
-
LinkDirective,
|
|
2494
|
-
ExpandArrowComponent] });
|
|
2495
|
-
MenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, imports: [PopupModule, CommonModule, IconsModule] });
|
|
2496
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, decorators: [{
|
|
2497
|
-
type: NgModule,
|
|
2498
|
-
args: [{
|
|
2499
|
-
declarations: [COMPONENT_DIRECTIVES$1],
|
|
2500
|
-
exports: [COMPONENT_EXPORTS],
|
|
2501
|
-
imports: [PopupModule, CommonModule, IconsModule]
|
|
2502
|
-
}]
|
|
2503
|
-
}] });
|
|
2504
|
-
|
|
2505
|
-
/**
|
|
2506
|
-
* Arguments for the `open` and `close` events of the ContextMenu.
|
|
2507
|
-
*/
|
|
2508
|
-
class ContextMenuEvent {
|
|
2509
|
-
}
|
|
2510
|
-
|
|
2511
|
-
/**
|
|
2512
|
-
* Arguments for the `select` event of the ContextMenu.
|
|
2440
|
+
* Arguments for the `popupOpen` and `popupClose` events of the ContextMenu.
|
|
2513
2441
|
*/
|
|
2514
|
-
class
|
|
2442
|
+
class ContextMenuPopupEvent extends PreventableEvent {
|
|
2515
2443
|
}
|
|
2516
2444
|
|
|
2517
2445
|
/**
|
|
2518
|
-
*
|
|
2446
|
+
* @hidden
|
|
2519
2447
|
*/
|
|
2520
|
-
class
|
|
2448
|
+
class ContextMenuItemsService {
|
|
2449
|
+
constructor(contextService) {
|
|
2450
|
+
this.contextService = contextService;
|
|
2451
|
+
}
|
|
2452
|
+
get(index) {
|
|
2453
|
+
if (this.contextService.items) {
|
|
2454
|
+
return this.contextService.items.get(index);
|
|
2455
|
+
}
|
|
2456
|
+
}
|
|
2521
2457
|
}
|
|
2458
|
+
ContextMenuItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService, deps: [{ token: ContextMenuService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2459
|
+
ContextMenuItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService });
|
|
2460
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService, decorators: [{
|
|
2461
|
+
type: Injectable
|
|
2462
|
+
}], ctorParameters: function () { return [{ type: ContextMenuService }]; } });
|
|
2522
2463
|
|
|
2523
2464
|
/**
|
|
2524
2465
|
* Represents a template for the content of the ContextMenu. To define a template, nest an `<ng-template>`
|
|
@@ -2537,11 +2478,12 @@ class ContextMenuTemplateDirective {
|
|
|
2537
2478
|
}
|
|
2538
2479
|
}
|
|
2539
2480
|
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 });
|
|
2540
|
-
ContextMenuTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuTemplateDirective, selector: "[kendoContextMenuTemplate]", ngImport: i0 });
|
|
2481
|
+
ContextMenuTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuTemplateDirective, isStandalone: true, selector: "[kendoContextMenuTemplate]", ngImport: i0 });
|
|
2541
2482
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuTemplateDirective, decorators: [{
|
|
2542
2483
|
type: Directive,
|
|
2543
2484
|
args: [{
|
|
2544
|
-
selector: '[kendoContextMenuTemplate]'
|
|
2485
|
+
selector: '[kendoContextMenuTemplate]',
|
|
2486
|
+
standalone: true
|
|
2545
2487
|
}]
|
|
2546
2488
|
}], ctorParameters: function () {
|
|
2547
2489
|
return [{ type: i0.TemplateRef, decorators: [{
|
|
@@ -2549,25 +2491,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
2549
2491
|
}] }];
|
|
2550
2492
|
} });
|
|
2551
2493
|
|
|
2552
|
-
/**
|
|
2553
|
-
* @hidden
|
|
2554
|
-
*/
|
|
2555
|
-
class ContextMenuItemsService {
|
|
2556
|
-
constructor(contextService) {
|
|
2557
|
-
this.contextService = contextService;
|
|
2558
|
-
}
|
|
2559
|
-
get(index) {
|
|
2560
|
-
if (this.contextService.items) {
|
|
2561
|
-
return this.contextService.items.get(index);
|
|
2562
|
-
}
|
|
2563
|
-
}
|
|
2564
|
-
}
|
|
2565
|
-
ContextMenuItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService, deps: [{ token: ContextMenuService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2566
|
-
ContextMenuItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService });
|
|
2567
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuItemsService, decorators: [{
|
|
2568
|
-
type: Injectable
|
|
2569
|
-
}], ctorParameters: function () { return [{ type: ContextMenuService }]; } });
|
|
2570
|
-
|
|
2571
2494
|
/**
|
|
2572
2495
|
* @hidden
|
|
2573
2496
|
*/
|
|
@@ -2607,13 +2530,14 @@ class ContextMenuTargetContainerDirective {
|
|
|
2607
2530
|
}
|
|
2608
2531
|
}
|
|
2609
2532
|
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 });
|
|
2610
|
-
ContextMenuTargetContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuTargetContainerDirective, selector: "[kendoContextMenuTargetContainer]", providers: [ContextMenuTargetService], exportAs: ["kendoContextMenuTargetContainer"], ngImport: i0 });
|
|
2533
|
+
ContextMenuTargetContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "15.2.10", type: ContextMenuTargetContainerDirective, isStandalone: true, selector: "[kendoContextMenuTargetContainer]", providers: [ContextMenuTargetService], exportAs: ["kendoContextMenuTargetContainer"], ngImport: i0 });
|
|
2611
2534
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuTargetContainerDirective, decorators: [{
|
|
2612
2535
|
type: Directive,
|
|
2613
2536
|
args: [{
|
|
2614
2537
|
selector: '[kendoContextMenuTargetContainer]',
|
|
2615
2538
|
exportAs: 'kendoContextMenuTargetContainer',
|
|
2616
|
-
providers: [ContextMenuTargetService]
|
|
2539
|
+
providers: [ContextMenuTargetService],
|
|
2540
|
+
standalone: true
|
|
2617
2541
|
}]
|
|
2618
2542
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ContextMenuTargetService }]; } });
|
|
2619
2543
|
|
|
@@ -2642,12 +2566,13 @@ class ContextMenuTargetDirective {
|
|
|
2642
2566
|
}
|
|
2643
2567
|
}
|
|
2644
2568
|
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 });
|
|
2645
|
-
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 });
|
|
2569
|
+
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 });
|
|
2646
2570
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuTargetDirective, decorators: [{
|
|
2647
2571
|
type: Directive,
|
|
2648
2572
|
args: [{
|
|
2649
2573
|
selector: '[kendoContextMenuTarget]',
|
|
2650
|
-
exportAs: 'kendoContextMenuTarget'
|
|
2574
|
+
exportAs: 'kendoContextMenuTarget',
|
|
2575
|
+
standalone: true
|
|
2651
2576
|
}]
|
|
2652
2577
|
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: ContextMenuTargetService }]; }, propDecorators: { data: [{
|
|
2653
2578
|
type: Input,
|
|
@@ -2972,8 +2897,8 @@ class ContextMenuComponent extends MenuBase {
|
|
|
2972
2897
|
return this.directiveTarget && this.currentTarget ? this.currentTarget.element : this.currentTarget;
|
|
2973
2898
|
}
|
|
2974
2899
|
}
|
|
2975
|
-
ContextMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuComponent, deps: [{ token:
|
|
2976
|
-
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: [
|
|
2900
|
+
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 });
|
|
2901
|
+
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: [
|
|
2977
2902
|
ContextMenuService,
|
|
2978
2903
|
LocalizationService,
|
|
2979
2904
|
{
|
|
@@ -3005,7 +2930,7 @@ ContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", v
|
|
|
3005
2930
|
[animate]="animate"
|
|
3006
2931
|
[menuItemTemplate]="itemTemplate.first?.templateRef"
|
|
3007
2932
|
[menuItemLinkTemplate]="itemLinkTemplate.first?.templateRef"
|
|
3008
|
-
|
|
2933
|
+
></kendo-menu>
|
|
3009
2934
|
</ng-template>
|
|
3010
2935
|
`, isInline: true, dependencies: [{ kind: "component", type: MenuComponent, selector: "kendo-menu", inputs: ["appendTo", "menuItemTemplate", "ariaRole", "menuItemLinkTemplate"], outputs: ["select", "open", "close"], exportAs: ["kendoMenu"] }] });
|
|
3011
2936
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuComponent, decorators: [{
|
|
@@ -3046,11 +2971,13 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3046
2971
|
[animate]="animate"
|
|
3047
2972
|
[menuItemTemplate]="itemTemplate.first?.templateRef"
|
|
3048
2973
|
[menuItemLinkTemplate]="itemLinkTemplate.first?.templateRef"
|
|
3049
|
-
|
|
2974
|
+
></kendo-menu>
|
|
3050
2975
|
</ng-template>
|
|
3051
|
-
|
|
2976
|
+
`,
|
|
2977
|
+
standalone: true,
|
|
2978
|
+
imports: [MenuComponent]
|
|
3052
2979
|
}]
|
|
3053
|
-
}], ctorParameters: function () { return [{ type:
|
|
2980
|
+
}], ctorParameters: function () { return [{ type: i5.PopupService }, { type: ContextMenuService }, { type: i0.NgZone }, { type: i0.Renderer2 }]; }, propDecorators: { showOn: [{
|
|
3054
2981
|
type: Input
|
|
3055
2982
|
}], target: [{
|
|
3056
2983
|
type: Input
|
|
@@ -3090,12 +3017,98 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3090
3017
|
args: ['default', { static: false }]
|
|
3091
3018
|
}] } });
|
|
3092
3019
|
|
|
3093
|
-
|
|
3020
|
+
/**
|
|
3021
|
+
* Utility array that contains all `Menu` related components and directives.
|
|
3022
|
+
*/
|
|
3023
|
+
const KENDO_MENU = [
|
|
3024
|
+
MenuComponent,
|
|
3025
|
+
MenuItemComponent,
|
|
3026
|
+
ItemTemplateDirective,
|
|
3027
|
+
ItemLinkTemplateDirective,
|
|
3028
|
+
ItemContentTemplateDirective,
|
|
3029
|
+
HierarchyBindingDirective,
|
|
3030
|
+
FlatBindingDirective,
|
|
3031
|
+
LinkDirective,
|
|
3032
|
+
ExpandArrowComponent
|
|
3033
|
+
];
|
|
3034
|
+
/**
|
|
3035
|
+
* Utility array that contains all `ContextMenu` related components and directives.
|
|
3036
|
+
*/
|
|
3037
|
+
const KENDO_CONTEXTMENU = [
|
|
3094
3038
|
ContextMenuComponent,
|
|
3095
3039
|
ContextMenuTemplateDirective,
|
|
3096
3040
|
ContextMenuTargetDirective,
|
|
3097
|
-
ContextMenuTargetContainerDirective
|
|
3041
|
+
ContextMenuTargetContainerDirective,
|
|
3042
|
+
...KENDO_MENU
|
|
3098
3043
|
];
|
|
3044
|
+
/**
|
|
3045
|
+
* Utility array that contains all `@progress/kendo-angular-menu` related components and directives.
|
|
3046
|
+
*/
|
|
3047
|
+
const KENDO_MENUS = [
|
|
3048
|
+
...KENDO_MENU,
|
|
3049
|
+
...KENDO_CONTEXTMENU
|
|
3050
|
+
];
|
|
3051
|
+
|
|
3052
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
3053
|
+
/**
|
|
3054
|
+
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
3055
|
+
* definition for the Menu component.
|
|
3056
|
+
*
|
|
3057
|
+
* @example
|
|
3058
|
+
*
|
|
3059
|
+
* ```ts-no-run
|
|
3060
|
+
* // Import the Menu module
|
|
3061
|
+
* import { MenuModule } from '@progress/kendo-angular-menu';
|
|
3062
|
+
*
|
|
3063
|
+
* // The browser platform with a compiler
|
|
3064
|
+
* import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
|
|
3065
|
+
* import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
3066
|
+
*
|
|
3067
|
+
* import { NgModule } from '@angular/core';
|
|
3068
|
+
*
|
|
3069
|
+
* // Import the app component
|
|
3070
|
+
* import { AppComponent } from './app.component';
|
|
3071
|
+
*
|
|
3072
|
+
* // Define the app module
|
|
3073
|
+
* _@NgModule({
|
|
3074
|
+
* declarations: [AppComponent], // declare app component
|
|
3075
|
+
* imports: [BrowserModule, BrowserAnimationsModule, MenuModule], // import Menu module
|
|
3076
|
+
* bootstrap: [AppComponent]
|
|
3077
|
+
* })
|
|
3078
|
+
* export class AppModule {}
|
|
3079
|
+
*
|
|
3080
|
+
* // Compile and launch the module
|
|
3081
|
+
* platformBrowserDynamic().bootstrapModule(AppModule);
|
|
3082
|
+
*
|
|
3083
|
+
* ```
|
|
3084
|
+
*/
|
|
3085
|
+
class MenuModule {
|
|
3086
|
+
}
|
|
3087
|
+
MenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3088
|
+
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] });
|
|
3089
|
+
MenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, providers: [PopupService, IconsService], imports: [MenuComponent, MenuItemComponent, ExpandArrowComponent] });
|
|
3090
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenuModule, decorators: [{
|
|
3091
|
+
type: NgModule,
|
|
3092
|
+
args: [{
|
|
3093
|
+
exports: [...KENDO_MENU],
|
|
3094
|
+
imports: [...KENDO_MENU],
|
|
3095
|
+
providers: [PopupService, IconsService]
|
|
3096
|
+
}]
|
|
3097
|
+
}] });
|
|
3098
|
+
|
|
3099
|
+
/**
|
|
3100
|
+
* Arguments for the `open` and `close` events of the ContextMenu.
|
|
3101
|
+
*/
|
|
3102
|
+
class ContextMenuEvent {
|
|
3103
|
+
}
|
|
3104
|
+
|
|
3105
|
+
/**
|
|
3106
|
+
* Arguments for the `select` event of the ContextMenu.
|
|
3107
|
+
*/
|
|
3108
|
+
class ContextMenuSelectEvent extends ContextMenuEvent {
|
|
3109
|
+
}
|
|
3110
|
+
|
|
3111
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
3099
3112
|
/**
|
|
3100
3113
|
* Represents the [NgModule](link:site.data.urls.angular['ngmoduleapi'])
|
|
3101
3114
|
* definition for the ContextMenu component.
|
|
@@ -3131,23 +3144,18 @@ const COMPONENT_DIRECTIVES = [
|
|
|
3131
3144
|
class ContextMenuModule {
|
|
3132
3145
|
}
|
|
3133
3146
|
ContextMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3134
|
-
ContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuModule,
|
|
3135
|
-
|
|
3136
|
-
ContextMenuTargetDirective,
|
|
3137
|
-
ContextMenuTargetContainerDirective], imports: [PopupModule, CommonModule, MenuModule], exports: [ContextMenuComponent,
|
|
3138
|
-
ContextMenuTemplateDirective,
|
|
3139
|
-
ContextMenuTargetDirective,
|
|
3140
|
-
ContextMenuTargetContainerDirective, MenuModule] });
|
|
3141
|
-
ContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuModule, imports: [PopupModule, CommonModule, MenuModule, MenuModule] });
|
|
3147
|
+
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] });
|
|
3148
|
+
ContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuModule, providers: [PopupService, IconsService], imports: [ContextMenuComponent, MenuComponent, MenuItemComponent, ExpandArrowComponent] });
|
|
3142
3149
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: ContextMenuModule, decorators: [{
|
|
3143
3150
|
type: NgModule,
|
|
3144
3151
|
args: [{
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3152
|
+
exports: [...KENDO_CONTEXTMENU],
|
|
3153
|
+
imports: [...KENDO_CONTEXTMENU],
|
|
3154
|
+
providers: [PopupService, IconsService]
|
|
3148
3155
|
}]
|
|
3149
3156
|
}] });
|
|
3150
3157
|
|
|
3158
|
+
//IMPORTANT: NgModule export kept for backwards compatibility
|
|
3151
3159
|
/**
|
|
3152
3160
|
* A [module](link:site.data.urls.angular['ngmoduleapi']) that includes the Menu and ContextMenu components and directives.
|
|
3153
3161
|
* Imports the MenusModule into your application [root module](link:site.data.urls.angular['ngmodules']#angular-modularity)
|
|
@@ -3173,12 +3181,14 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3173
3181
|
class MenusModule {
|
|
3174
3182
|
}
|
|
3175
3183
|
MenusModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3176
|
-
MenusModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.10", ngImport: i0, type: MenusModule, exports: [
|
|
3177
|
-
MenusModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenusModule, imports: [
|
|
3184
|
+
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] });
|
|
3185
|
+
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] });
|
|
3178
3186
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: MenusModule, decorators: [{
|
|
3179
3187
|
type: NgModule,
|
|
3180
3188
|
args: [{
|
|
3181
|
-
exports: [
|
|
3189
|
+
exports: [...KENDO_MENUS],
|
|
3190
|
+
imports: [...KENDO_MENUS],
|
|
3191
|
+
providers: [PopupService, IconsService]
|
|
3182
3192
|
}]
|
|
3183
3193
|
}] });
|
|
3184
3194
|
|
|
@@ -3186,5 +3196,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImpo
|
|
|
3186
3196
|
* Generated bundle index. Do not edit.
|
|
3187
3197
|
*/
|
|
3188
3198
|
|
|
3189
|
-
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 };
|
|
3199
|
+
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 };
|
|
3190
3200
|
|