@progress/kendo-angular-menu 20.1.2-develop.2 → 21.0.0-develop.11
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/esm2022/context-menu/context-menu-items.service.mjs +4 -4
- package/esm2022/context-menu/context-menu-target-container.directive.mjs +4 -4
- package/esm2022/context-menu/context-menu-target.directive.mjs +4 -4
- package/esm2022/context-menu/context-menu-target.service.mjs +3 -3
- package/esm2022/context-menu/context-menu-template.directive.mjs +5 -5
- package/esm2022/context-menu/context-menu.component.mjs +4 -4
- package/esm2022/context-menu/context-menu.module.mjs +4 -4
- package/esm2022/context-menu/context-menu.service.mjs +3 -3
- package/esm2022/data-binding/binding-directive-base.mjs +4 -4
- package/esm2022/data-binding/flat-binding.directive.mjs +4 -4
- package/esm2022/data-binding/hierachy-binding.directive.mjs +4 -4
- package/esm2022/menu-base.mjs +3 -3
- package/esm2022/menu-item.component.mjs +3 -3
- package/esm2022/menu.component.mjs +5 -5
- package/esm2022/menu.module.mjs +4 -4
- package/esm2022/menus.module.mjs +4 -4
- package/esm2022/package-metadata.mjs +2 -2
- package/esm2022/rendering/arrow.component.mjs +4 -4
- package/esm2022/rendering/link.directive.mjs +4 -4
- package/esm2022/rendering/list.component.mjs +9 -9
- package/esm2022/services/actions.service.mjs +4 -4
- package/esm2022/services/hover.service.mjs +4 -4
- package/esm2022/services/items.service.mjs +3 -3
- package/esm2022/services/navigation.service.mjs +4 -4
- package/esm2022/templates/item-content-template.directive.mjs +5 -5
- package/esm2022/templates/item-link-template.directive.mjs +5 -5
- package/esm2022/templates/item-template.directive.mjs +5 -5
- package/fesm2022/progress-kendo-angular-menu.mjs +111 -111
- package/package.json +11 -11
- package/schematics/ngAdd/index.js +1 -1
|
@@ -22,8 +22,8 @@ const packageMetadata = {
|
|
|
22
22
|
productName: 'Kendo UI for Angular',
|
|
23
23
|
productCode: 'KENDOUIANGULAR',
|
|
24
24
|
productCodes: ['KENDOUIANGULAR'],
|
|
25
|
-
publishDate:
|
|
26
|
-
version: '
|
|
25
|
+
publishDate: 1761916494,
|
|
26
|
+
version: '21.0.0-develop.11',
|
|
27
27
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -143,10 +143,10 @@ class ItemsService {
|
|
|
143
143
|
parentIndex(index) {
|
|
144
144
|
return index.replace(PARENT_REGEX, '');
|
|
145
145
|
}
|
|
146
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
147
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
146
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
147
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemsService });
|
|
148
148
|
}
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemsService, decorators: [{
|
|
150
150
|
type: Injectable
|
|
151
151
|
}] });
|
|
152
152
|
|
|
@@ -327,12 +327,12 @@ class ActionsService {
|
|
|
327
327
|
this.close(items[idx]);
|
|
328
328
|
}
|
|
329
329
|
}
|
|
330
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
331
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
330
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ActionsService, deps: [{ token: i0.NgZone }, { token: ItemsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
331
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ActionsService });
|
|
332
332
|
}
|
|
333
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
333
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ActionsService, decorators: [{
|
|
334
334
|
type: Injectable
|
|
335
|
-
}], ctorParameters:
|
|
335
|
+
}], ctorParameters: () => [{ type: i0.NgZone }, { type: ItemsService }] });
|
|
336
336
|
|
|
337
337
|
const DEFAULT_ACTIVE = '0';
|
|
338
338
|
const NO_SPACE_REGEX = /\S/;
|
|
@@ -583,12 +583,12 @@ class NavigationService {
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
}
|
|
586
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
587
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
586
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NavigationService, deps: [{ token: ItemsService }, { token: ActionsService }, { token: i3.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
587
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NavigationService });
|
|
588
588
|
}
|
|
589
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
589
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: NavigationService, decorators: [{
|
|
590
590
|
type: Injectable
|
|
591
|
-
}], ctorParameters:
|
|
591
|
+
}], ctorParameters: () => [{ type: ItemsService }, { type: ActionsService }, { type: i3.LocalizationService }, { type: i0.NgZone }] });
|
|
592
592
|
|
|
593
593
|
const DISABLE_OPEN_ON_OVER_DELAY = 500;
|
|
594
594
|
/**
|
|
@@ -701,12 +701,12 @@ class HoverService {
|
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
705
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
704
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HoverService, deps: [{ token: ActionsService }, { token: ItemsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
705
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HoverService });
|
|
706
706
|
}
|
|
707
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
707
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HoverService, decorators: [{
|
|
708
708
|
type: Injectable
|
|
709
|
-
}], ctorParameters:
|
|
709
|
+
}], ctorParameters: () => [{ type: ActionsService }, { type: ItemsService }] });
|
|
710
710
|
|
|
711
711
|
/**
|
|
712
712
|
* @hidden
|
|
@@ -836,10 +836,10 @@ class ContextMenuService {
|
|
|
836
836
|
leaveMenu(e) {
|
|
837
837
|
return this.items ? !inMenu(e.target, this.items) : true;
|
|
838
838
|
}
|
|
839
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
840
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
839
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
840
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuService });
|
|
841
841
|
}
|
|
842
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
842
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuService, decorators: [{
|
|
843
843
|
type: Injectable
|
|
844
844
|
}] });
|
|
845
845
|
|
|
@@ -879,18 +879,18 @@ class ItemTemplateDirective {
|
|
|
879
879
|
constructor(templateRef) {
|
|
880
880
|
this.templateRef = templateRef;
|
|
881
881
|
}
|
|
882
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
883
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
882
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
883
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ItemTemplateDirective, isStandalone: true, selector: "[kendoMenuItemTemplate]", ngImport: i0 });
|
|
884
884
|
}
|
|
885
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
885
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
886
886
|
type: Directive,
|
|
887
887
|
args: [{
|
|
888
888
|
selector: '[kendoMenuItemTemplate]',
|
|
889
889
|
standalone: true
|
|
890
890
|
}]
|
|
891
|
-
}], ctorParameters:
|
|
891
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
892
892
|
type: Optional
|
|
893
|
-
}] }]
|
|
893
|
+
}] }] });
|
|
894
894
|
|
|
895
895
|
/**
|
|
896
896
|
* Represents a template for the links of the Menu items ([see example]({% slug templates_menu %})). To define a template
|
|
@@ -929,18 +929,18 @@ class ItemLinkTemplateDirective {
|
|
|
929
929
|
constructor(templateRef) {
|
|
930
930
|
this.templateRef = templateRef;
|
|
931
931
|
}
|
|
932
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
933
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
932
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemLinkTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
933
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ItemLinkTemplateDirective, isStandalone: true, selector: "[kendoMenuItemLinkTemplate]", ngImport: i0 });
|
|
934
934
|
}
|
|
935
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
935
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemLinkTemplateDirective, decorators: [{
|
|
936
936
|
type: Directive,
|
|
937
937
|
args: [{
|
|
938
938
|
selector: '[kendoMenuItemLinkTemplate]',
|
|
939
939
|
standalone: true
|
|
940
940
|
}]
|
|
941
|
-
}], ctorParameters:
|
|
941
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
942
942
|
type: Optional
|
|
943
|
-
}] }]
|
|
943
|
+
}] }] });
|
|
944
944
|
|
|
945
945
|
/**
|
|
946
946
|
* Represents a template for the content of the Menu items ([see example]({% slug templates_menu %})). To define the template,
|
|
@@ -977,18 +977,18 @@ class ItemContentTemplateDirective {
|
|
|
977
977
|
constructor(templateRef) {
|
|
978
978
|
this.templateRef = templateRef;
|
|
979
979
|
}
|
|
980
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
981
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
980
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
981
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ItemContentTemplateDirective, isStandalone: true, selector: "[kendoMenuItemContentTemplate]", ngImport: i0 });
|
|
982
982
|
}
|
|
983
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
983
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemContentTemplateDirective, decorators: [{
|
|
984
984
|
type: Directive,
|
|
985
985
|
args: [{
|
|
986
986
|
selector: '[kendoMenuItemContentTemplate]',
|
|
987
987
|
standalone: true
|
|
988
988
|
}]
|
|
989
|
-
}], ctorParameters:
|
|
989
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
990
990
|
type: Optional
|
|
991
|
-
}] }]
|
|
991
|
+
}] }] });
|
|
992
992
|
|
|
993
993
|
/**
|
|
994
994
|
* Represents a component that can be used to specify the Menu items
|
|
@@ -1087,10 +1087,10 @@ class MenuItemComponent {
|
|
|
1087
1087
|
return this.children.toArray().filter(c => c !== this);
|
|
1088
1088
|
}
|
|
1089
1089
|
}
|
|
1090
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1091
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1090
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1091
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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 });
|
|
1092
1092
|
}
|
|
1093
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1093
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenuItemComponent, decorators: [{
|
|
1094
1094
|
type: Component,
|
|
1095
1095
|
args: [{
|
|
1096
1096
|
selector: 'kendo-menu-item',
|
|
@@ -1185,10 +1185,10 @@ class MenuBase {
|
|
|
1185
1185
|
get rootItems() {
|
|
1186
1186
|
return this.items || (this.children ? this.children.toArray() : []);
|
|
1187
1187
|
}
|
|
1188
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1189
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1188
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenuBase, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1189
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: MenuBase, selector: "kendo-menu-base", inputs: { items: "items", vertical: "vertical", openOnClick: "openOnClick", hoverDelay: "hoverDelay", animate: "animate", size: "size" }, queries: [{ propertyName: "itemTemplate", predicate: ItemTemplateDirective }, { propertyName: "itemLinkTemplate", predicate: ItemLinkTemplateDirective }, { propertyName: "children", predicate: MenuItemComponent }], ngImport: i0, template: ``, isInline: true });
|
|
1190
1190
|
}
|
|
1191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenuBase, decorators: [{
|
|
1192
1192
|
type: Component,
|
|
1193
1193
|
args: [{
|
|
1194
1194
|
selector: 'kendo-menu-base',
|
|
@@ -1497,10 +1497,10 @@ class ListComponent {
|
|
|
1497
1497
|
}
|
|
1498
1498
|
this.actions.execute();
|
|
1499
1499
|
}
|
|
1500
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1501
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1500
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", 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 });
|
|
1501
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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(() => NgFor), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i0.forwardRef(() => NgIf), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i0.forwardRef(() => ItemComponent), selector: "[kendoMenuItem]", inputs: ["appendTo", "item", "level", "index", "siblingIndex", "animate", "size", "vertical", "rtl", "openOnClick", "itemTemplate", "itemLinkTemplate"] }, { kind: "directive", type: i0.forwardRef(() => NgClass), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i0.forwardRef(() => NgStyle), selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
1502
1502
|
}
|
|
1503
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1503
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ListComponent, decorators: [{
|
|
1504
1504
|
type: Component,
|
|
1505
1505
|
args: [{
|
|
1506
1506
|
selector: '[kendoMenuList]',
|
|
@@ -1541,7 +1541,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1541
1541
|
standalone: true,
|
|
1542
1542
|
imports: [NgFor, NgIf, forwardRef(() => ItemComponent), NgClass, NgStyle]
|
|
1543
1543
|
}]
|
|
1544
|
-
}], ctorParameters:
|
|
1544
|
+
}], ctorParameters: () => [{ type: ItemsService }, { type: HoverService }, { type: ActionsService }, { type: NavigationService }, { type: i0.Renderer2 }, { type: i0.NgZone }, { type: i0.ElementRef }], propDecorators: { appendTo: [{
|
|
1545
1545
|
type: Input
|
|
1546
1546
|
}], items: [{
|
|
1547
1547
|
type: Input
|
|
@@ -1773,8 +1773,8 @@ class ItemComponent {
|
|
|
1773
1773
|
setAttribute(name, value) {
|
|
1774
1774
|
this.renderer.setAttribute(this.element.nativeElement, name, value);
|
|
1775
1775
|
}
|
|
1776
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1777
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1776
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", 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 });
|
|
1777
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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" } }, providers: [PopupService, {
|
|
1778
1778
|
provide: POPUP_CONTAINER,
|
|
1779
1779
|
useFactory: bodyFactory
|
|
1780
1780
|
}], viewQueries: [{ propertyName: "link", first: true, predicate: ["link"], descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], ngImport: i0, template: `
|
|
@@ -1827,7 +1827,7 @@ class ItemComponent {
|
|
|
1827
1827
|
</ng-template>
|
|
1828
1828
|
`, 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"] }] });
|
|
1829
1829
|
}
|
|
1830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1830
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ItemComponent, decorators: [{
|
|
1831
1831
|
type: Component,
|
|
1832
1832
|
args: [{
|
|
1833
1833
|
providers: [PopupService, {
|
|
@@ -1887,9 +1887,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
1887
1887
|
standalone: true,
|
|
1888
1888
|
imports: [NgIf, NgTemplateOutlet, ListComponent, NgClass, IconWrapperComponent]
|
|
1889
1889
|
}]
|
|
1890
|
-
}], ctorParameters:
|
|
1890
|
+
}], ctorParameters: () => [{ type: ItemsService }, { type: NavigationService }, { type: i0.ChangeDetectorRef }, { type: i0.Renderer2 }, { type: i5.PopupService }, { type: i0.ElementRef }, { type: ContextMenuService, decorators: [{
|
|
1891
1891
|
type: Optional
|
|
1892
|
-
}] }]
|
|
1892
|
+
}] }], propDecorators: { appendTo: [{
|
|
1893
1893
|
type: Input
|
|
1894
1894
|
}], item: [{
|
|
1895
1895
|
type: Input
|
|
@@ -2124,8 +2124,8 @@ class MenuComponent extends MenuBase {
|
|
|
2124
2124
|
this.focus(index);
|
|
2125
2125
|
}
|
|
2126
2126
|
}
|
|
2127
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2128
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2127
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", 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 });
|
|
2128
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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: [
|
|
2129
2129
|
ItemsService,
|
|
2130
2130
|
ActionsService,
|
|
2131
2131
|
NavigationService,
|
|
@@ -2151,7 +2151,7 @@ class MenuComponent extends MenuBase {
|
|
|
2151
2151
|
</ul>
|
|
2152
2152
|
`, 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"] }] });
|
|
2153
2153
|
}
|
|
2154
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2154
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenuComponent, decorators: [{
|
|
2155
2155
|
type: Component,
|
|
2156
2156
|
args: [{
|
|
2157
2157
|
exportAs: 'kendoMenu',
|
|
@@ -2185,9 +2185,9 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2185
2185
|
standalone: true,
|
|
2186
2186
|
imports: [ListComponent, NgClass]
|
|
2187
2187
|
}]
|
|
2188
|
-
}], ctorParameters:
|
|
2188
|
+
}], ctorParameters: () => [{ type: ItemsService }, { type: HoverService }, { type: ActionsService }, { type: NavigationService }, { type: i3.LocalizationService }, { type: i0.NgZone }, { type: i0.Renderer2 }, { type: ContextMenuService, decorators: [{
|
|
2189
2189
|
type: Optional
|
|
2190
|
-
}] }]
|
|
2190
|
+
}] }], propDecorators: { appendTo: [{
|
|
2191
2191
|
type: Input
|
|
2192
2192
|
}], menuItemTemplate: [{
|
|
2193
2193
|
type: Input
|
|
@@ -2239,16 +2239,16 @@ class LinkDirective {
|
|
|
2239
2239
|
}
|
|
2240
2240
|
this.item = this.itemsService.get(this.index) || {};
|
|
2241
2241
|
}
|
|
2242
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2243
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2242
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LinkDirective, deps: [{ token: ItemsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2243
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", 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 });
|
|
2244
2244
|
}
|
|
2245
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2245
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: LinkDirective, decorators: [{
|
|
2246
2246
|
type: Directive,
|
|
2247
2247
|
args: [{
|
|
2248
2248
|
selector: '[kendoMenuItemLink]',
|
|
2249
2249
|
standalone: true
|
|
2250
2250
|
}]
|
|
2251
|
-
}], ctorParameters:
|
|
2251
|
+
}], ctorParameters: () => [{ type: ItemsService }], propDecorators: { index: [{
|
|
2252
2252
|
type: Input,
|
|
2253
2253
|
args: ['kendoMenuItemLink']
|
|
2254
2254
|
}], hostClasses: [{
|
|
@@ -2307,10 +2307,10 @@ class ExpandArrowComponent {
|
|
|
2307
2307
|
this.fontIcon = getFontIcon(this.item.horizontal, this.item.rtl);
|
|
2308
2308
|
this.SVGIcon = getSVGIcon(this.item.horizontal, this.item.rtl);
|
|
2309
2309
|
}
|
|
2310
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2311
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2310
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ExpandArrowComponent, deps: [{ token: ItemsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2311
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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"] }] });
|
|
2312
2312
|
}
|
|
2313
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2313
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ExpandArrowComponent, decorators: [{
|
|
2314
2314
|
type: Component,
|
|
2315
2315
|
args: [{
|
|
2316
2316
|
selector: '[kendoMenuExpandArrow]',
|
|
@@ -2318,7 +2318,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2318
2318
|
standalone: true,
|
|
2319
2319
|
imports: [IconWrapperComponent]
|
|
2320
2320
|
}]
|
|
2321
|
-
}], ctorParameters:
|
|
2321
|
+
}], ctorParameters: () => [{ type: ItemsService }], propDecorators: { index: [{
|
|
2322
2322
|
type: Input,
|
|
2323
2323
|
args: ['kendoMenuExpandArrow']
|
|
2324
2324
|
}], hostClasses: [{
|
|
@@ -2416,16 +2416,16 @@ class BindingDirectiveBase {
|
|
|
2416
2416
|
}
|
|
2417
2417
|
this.menu.items = this.data ? this.mapItems(this.data) : [];
|
|
2418
2418
|
}
|
|
2419
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2420
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2419
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BindingDirectiveBase, deps: [{ token: MenuBase }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2420
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: BindingDirectiveBase, selector: "kendoBindingBase", usesOnChanges: true, ngImport: i0 });
|
|
2421
2421
|
}
|
|
2422
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2422
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: BindingDirectiveBase, decorators: [{
|
|
2423
2423
|
type: Directive,
|
|
2424
2424
|
args: [{
|
|
2425
2425
|
// eslint-disable-next-line
|
|
2426
2426
|
selector: 'kendoBindingBase'
|
|
2427
2427
|
}]
|
|
2428
|
-
}], ctorParameters:
|
|
2428
|
+
}], ctorParameters: () => [{ type: MenuBase }] });
|
|
2429
2429
|
|
|
2430
2430
|
const FIELD_REGEX = /\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g;
|
|
2431
2431
|
const getterCache = {};
|
|
@@ -2537,17 +2537,17 @@ class HierarchyBindingDirective extends BindingDirectiveBase {
|
|
|
2537
2537
|
return item[field];
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
2540
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2541
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2540
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HierarchyBindingDirective, deps: [{ token: MenuBase }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2541
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", 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 });
|
|
2542
2542
|
}
|
|
2543
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2543
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: HierarchyBindingDirective, decorators: [{
|
|
2544
2544
|
type: Directive,
|
|
2545
2545
|
args: [{
|
|
2546
2546
|
exportAs: 'kendoMenuHierarchyBinding',
|
|
2547
2547
|
selector: '[kendoMenuHierarchyBinding]',
|
|
2548
2548
|
standalone: true
|
|
2549
2549
|
}]
|
|
2550
|
-
}], ctorParameters:
|
|
2550
|
+
}], ctorParameters: () => [{ type: MenuBase }], propDecorators: { data: [{
|
|
2551
2551
|
type: Input,
|
|
2552
2552
|
args: ["kendoMenuHierarchyBinding"]
|
|
2553
2553
|
}], textField: [{
|
|
@@ -2665,17 +2665,17 @@ class FlatBindingDirective extends BindingDirectiveBase {
|
|
|
2665
2665
|
}
|
|
2666
2666
|
return result;
|
|
2667
2667
|
}
|
|
2668
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2669
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2668
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FlatBindingDirective, deps: [{ token: MenuBase }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2669
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", 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 });
|
|
2670
2670
|
}
|
|
2671
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2671
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: FlatBindingDirective, decorators: [{
|
|
2672
2672
|
type: Directive,
|
|
2673
2673
|
args: [{
|
|
2674
2674
|
exportAs: 'kendoMenuFlatBinding',
|
|
2675
2675
|
selector: '[kendoMenuFlatBinding]',
|
|
2676
2676
|
standalone: true
|
|
2677
2677
|
}]
|
|
2678
|
-
}], ctorParameters:
|
|
2678
|
+
}], ctorParameters: () => [{ type: MenuBase }], propDecorators: { data: [{
|
|
2679
2679
|
type: Input,
|
|
2680
2680
|
args: ["kendoMenuFlatBinding"]
|
|
2681
2681
|
}], textField: [{
|
|
@@ -2738,12 +2738,12 @@ class ContextMenuItemsService {
|
|
|
2738
2738
|
return this.contextService.items.get(index);
|
|
2739
2739
|
}
|
|
2740
2740
|
}
|
|
2741
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2742
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2741
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuItemsService, deps: [{ token: ContextMenuService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2742
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuItemsService });
|
|
2743
2743
|
}
|
|
2744
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2744
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuItemsService, decorators: [{
|
|
2745
2745
|
type: Injectable
|
|
2746
|
-
}], ctorParameters:
|
|
2746
|
+
}], ctorParameters: () => [{ type: ContextMenuService }] });
|
|
2747
2747
|
|
|
2748
2748
|
/**
|
|
2749
2749
|
* Represents a template for the content of the ContextMenu. To define a template, nest an `<ng-template>`
|
|
@@ -2766,18 +2766,18 @@ class ContextMenuTemplateDirective {
|
|
|
2766
2766
|
constructor(templateRef) {
|
|
2767
2767
|
this.templateRef = templateRef;
|
|
2768
2768
|
}
|
|
2769
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2770
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2769
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2770
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ContextMenuTemplateDirective, isStandalone: true, selector: "[kendoContextMenuTemplate]", ngImport: i0 });
|
|
2771
2771
|
}
|
|
2772
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2772
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuTemplateDirective, decorators: [{
|
|
2773
2773
|
type: Directive,
|
|
2774
2774
|
args: [{
|
|
2775
2775
|
selector: '[kendoContextMenuTemplate]',
|
|
2776
2776
|
standalone: true
|
|
2777
2777
|
}]
|
|
2778
|
-
}], ctorParameters:
|
|
2778
|
+
}], ctorParameters: () => [{ type: i0.TemplateRef, decorators: [{
|
|
2779
2779
|
type: Optional
|
|
2780
|
-
}] }]
|
|
2780
|
+
}] }] });
|
|
2781
2781
|
|
|
2782
2782
|
/**
|
|
2783
2783
|
* @hidden
|
|
@@ -2794,10 +2794,10 @@ class ContextMenuTargetService {
|
|
|
2794
2794
|
find(targetElement) {
|
|
2795
2795
|
return this.targets.find(target => target.element === targetElement);
|
|
2796
2796
|
}
|
|
2797
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2798
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2797
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuTargetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2798
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuTargetService });
|
|
2799
2799
|
}
|
|
2800
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2800
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuTargetService, decorators: [{
|
|
2801
2801
|
type: Injectable
|
|
2802
2802
|
}] });
|
|
2803
2803
|
|
|
@@ -2830,10 +2830,10 @@ class ContextMenuTargetContainerDirective {
|
|
|
2830
2830
|
this.element = elementRef.nativeElement;
|
|
2831
2831
|
}
|
|
2832
2832
|
}
|
|
2833
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2834
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2833
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuTargetContainerDirective, deps: [{ token: i0.ElementRef }, { token: ContextMenuTargetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2834
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ContextMenuTargetContainerDirective, isStandalone: true, selector: "[kendoContextMenuTargetContainer]", providers: [ContextMenuTargetService], exportAs: ["kendoContextMenuTargetContainer"], ngImport: i0 });
|
|
2835
2835
|
}
|
|
2836
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2836
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuTargetContainerDirective, decorators: [{
|
|
2837
2837
|
type: Directive,
|
|
2838
2838
|
args: [{
|
|
2839
2839
|
selector: '[kendoContextMenuTargetContainer]',
|
|
@@ -2841,7 +2841,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
2841
2841
|
providers: [ContextMenuTargetService],
|
|
2842
2842
|
standalone: true
|
|
2843
2843
|
}]
|
|
2844
|
-
}], ctorParameters:
|
|
2844
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: ContextMenuTargetService }] });
|
|
2845
2845
|
|
|
2846
2846
|
/**
|
|
2847
2847
|
* @hidden
|
|
@@ -2880,17 +2880,17 @@ class ContextMenuTargetDirective {
|
|
|
2880
2880
|
ngOnDestroy() {
|
|
2881
2881
|
this.targetService.remove(this);
|
|
2882
2882
|
}
|
|
2883
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2884
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2883
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuTargetDirective, deps: [{ token: i0.ElementRef }, { token: ContextMenuTargetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2884
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: ContextMenuTargetDirective, isStandalone: true, selector: "[kendoContextMenuTarget]", inputs: { data: ["kendoContextMenuTarget", "data"] }, host: { properties: { "class.k-contextmenu-target": "this.hostClass" } }, exportAs: ["kendoContextMenuTarget"], ngImport: i0 });
|
|
2885
2885
|
}
|
|
2886
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2886
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuTargetDirective, decorators: [{
|
|
2887
2887
|
type: Directive,
|
|
2888
2888
|
args: [{
|
|
2889
2889
|
selector: '[kendoContextMenuTarget]',
|
|
2890
2890
|
exportAs: 'kendoContextMenuTarget',
|
|
2891
2891
|
standalone: true
|
|
2892
2892
|
}]
|
|
2893
|
-
}], ctorParameters:
|
|
2893
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: ContextMenuTargetService }], propDecorators: { data: [{
|
|
2894
2894
|
type: Input,
|
|
2895
2895
|
args: ['kendoContextMenuTarget']
|
|
2896
2896
|
}], hostClass: [{
|
|
@@ -3277,8 +3277,8 @@ class ContextMenuComponent extends MenuBase {
|
|
|
3277
3277
|
get currentTargetElement() {
|
|
3278
3278
|
return this.directiveTarget && this.currentTarget ? this.currentTarget.element : this.currentTarget;
|
|
3279
3279
|
}
|
|
3280
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3281
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
3280
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuComponent, deps: [{ token: i5.PopupService }, { token: ContextMenuService }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
3281
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", 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: [
|
|
3282
3282
|
ContextMenuService,
|
|
3283
3283
|
LocalizationService,
|
|
3284
3284
|
{
|
|
@@ -3314,7 +3314,7 @@ class ContextMenuComponent extends MenuBase {
|
|
|
3314
3314
|
</ng-template>
|
|
3315
3315
|
`, isInline: true, dependencies: [{ kind: "component", type: MenuComponent, selector: "kendo-menu", inputs: ["appendTo", "menuItemTemplate", "ariaRole", "menuItemLinkTemplate"], outputs: ["select", "open", "close"], exportAs: ["kendoMenu"] }] });
|
|
3316
3316
|
}
|
|
3317
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3317
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuComponent, decorators: [{
|
|
3318
3318
|
type: Component,
|
|
3319
3319
|
args: [{
|
|
3320
3320
|
exportAs: 'kendoContextMenu',
|
|
@@ -3358,7 +3358,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3358
3358
|
standalone: true,
|
|
3359
3359
|
imports: [MenuComponent]
|
|
3360
3360
|
}]
|
|
3361
|
-
}], ctorParameters:
|
|
3361
|
+
}], ctorParameters: () => [{ type: i5.PopupService }, { type: ContextMenuService }, { type: i0.NgZone }, { type: i0.Renderer2 }], propDecorators: { showOn: [{
|
|
3362
3362
|
type: Input
|
|
3363
3363
|
}], target: [{
|
|
3364
3364
|
type: Input
|
|
@@ -3464,11 +3464,11 @@ const KENDO_MENUS = [
|
|
|
3464
3464
|
* ```
|
|
3465
3465
|
*/
|
|
3466
3466
|
class MenuModule {
|
|
3467
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3468
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3469
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3467
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3468
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: MenuModule, imports: [MenuComponent, MenuItemComponent, ItemTemplateDirective, ItemLinkTemplateDirective, ItemContentTemplateDirective, HierarchyBindingDirective, FlatBindingDirective, LinkDirective, ExpandArrowComponent], exports: [MenuComponent, MenuItemComponent, ItemTemplateDirective, ItemLinkTemplateDirective, ItemContentTemplateDirective, HierarchyBindingDirective, FlatBindingDirective, LinkDirective, ExpandArrowComponent] });
|
|
3469
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenuModule, providers: [PopupService, IconsService, ResizeBatchService], imports: [MenuComponent, ExpandArrowComponent] });
|
|
3470
3470
|
}
|
|
3471
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3471
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenuModule, decorators: [{
|
|
3472
3472
|
type: NgModule,
|
|
3473
3473
|
args: [{
|
|
3474
3474
|
exports: [...KENDO_MENU],
|
|
@@ -3543,11 +3543,11 @@ class ContextMenuSelectEvent extends ContextMenuEvent {
|
|
|
3543
3543
|
* ```
|
|
3544
3544
|
*/
|
|
3545
3545
|
class ContextMenuModule {
|
|
3546
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3547
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3548
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3546
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3547
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", 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] });
|
|
3548
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuModule, providers: [PopupService, IconsService, ResizeBatchService], imports: [ContextMenuComponent, MenuComponent, ExpandArrowComponent] });
|
|
3549
3549
|
}
|
|
3550
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3550
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: ContextMenuModule, decorators: [{
|
|
3551
3551
|
type: NgModule,
|
|
3552
3552
|
args: [{
|
|
3553
3553
|
exports: [...KENDO_CONTEXTMENU],
|
|
@@ -3580,11 +3580,11 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImpo
|
|
|
3580
3580
|
* ```
|
|
3581
3581
|
*/
|
|
3582
3582
|
class MenusModule {
|
|
3583
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3584
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
3585
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3583
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3584
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", 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] });
|
|
3585
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenusModule, providers: [PopupService, IconsService, ResizeBatchService], imports: [MenuComponent, ExpandArrowComponent, ContextMenuComponent, MenuComponent, ExpandArrowComponent] });
|
|
3586
3586
|
}
|
|
3587
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3587
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MenusModule, decorators: [{
|
|
3588
3588
|
type: NgModule,
|
|
3589
3589
|
args: [{
|
|
3590
3590
|
exports: [...KENDO_MENUS],
|