@progress/kendo-angular-menu 4.1.1 → 11.0.0-develop.80
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/LICENSE.md +1 -1
- package/NOTICE.txt +3 -3
- package/constants.d.ts +1 -1
- package/context-menu/context-menu-event.d.ts +1 -1
- package/context-menu/context-menu-items.service.d.ts +1 -1
- package/context-menu/context-menu-popup-event.d.ts +1 -1
- package/context-menu/context-menu-select-event.d.ts +1 -1
- 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-target.service.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 +1 -1
- package/context-menu/context-menu.service.d.ts +1 -1
- package/data-binding/binding-directive-base.d.ts +1 -1
- package/data-binding/flat-binding.directive.d.ts +1 -1
- package/data-binding/hierachy-binding.directive.d.ts +1 -1
- package/data-binding/utils.d.ts +1 -1
- package/dom-queries.d.ts +1 -1
- package/{esm2015/constants.js → esm2020/constants.mjs} +1 -1
- package/{esm2015/context-menu/context-menu-event.js → esm2020/context-menu/context-menu-event.mjs} +1 -1
- package/{esm2015/context-menu/context-menu-items.service.js → esm2020/context-menu/context-menu-items.service.mjs} +5 -4
- package/{esm2015/context-menu/context-menu-popup-event.js → esm2020/context-menu/context-menu-popup-event.mjs} +1 -1
- package/{esm2015/context-menu/context-menu-select-event.js → esm2020/context-menu/context-menu-select-event.mjs} +1 -1
- package/{esm2015/context-menu/context-menu-target-container.directive.js → esm2020/context-menu/context-menu-target-container.directive.mjs} +5 -5
- package/{esm2015/context-menu/context-menu-target.directive.js → esm2020/context-menu/context-menu-target.directive.mjs} +6 -5
- package/{esm2015/context-menu/context-menu-target.service.js → esm2020/context-menu/context-menu-target.service.mjs} +4 -4
- package/{esm2015/context-menu/context-menu-template.directive.js → esm2020/context-menu/context-menu-template.directive.mjs} +5 -5
- package/{esm2015/context-menu/context-menu.component.js → esm2020/context-menu/context-menu.component.mjs} +5 -5
- package/{esm2015/context-menu/context-menu.module.js → esm2020/context-menu/context-menu.module.mjs} +5 -5
- package/{esm2015/context-menu/context-menu.service.js → esm2020/context-menu/context-menu.service.mjs} +4 -4
- package/{esm2015/data-binding/binding-directive-base.js → esm2020/data-binding/binding-directive-base.mjs} +5 -4
- package/{esm2015/data-binding/flat-binding.directive.js → esm2020/data-binding/flat-binding.directive.mjs} +5 -4
- package/{esm2015/data-binding/hierachy-binding.directive.js → esm2020/data-binding/hierachy-binding.directive.mjs} +5 -4
- package/{esm2015/data-binding/utils.js → esm2020/data-binding/utils.mjs} +1 -1
- package/{esm2015/dom-queries.js → esm2020/dom-queries.mjs} +1 -1
- package/{esm2015/main.js → esm2020/index.mjs} +1 -1
- package/{esm2015/size.js → esm2020/menu-animation.interface.mjs} +1 -1
- package/{esm2015/menu-base.js → esm2020/menu-base.mjs} +5 -5
- package/{esm2015/menu-event.js → esm2020/menu-event.mjs} +1 -1
- package/{esm2015/menu-item.component.js → esm2020/menu-item.component.mjs} +5 -5
- package/{esm2015/menu-item.interface.js → esm2020/menu-item.interface.mjs} +1 -1
- package/{esm2015/menu-select-event.js → esm2020/menu-select-event.mjs} +1 -1
- package/{esm2015/menu.component.js → esm2020/menu.component.mjs} +6 -5
- package/{esm2015/menu.module.js → esm2020/menu.module.mjs} +5 -5
- package/{esm2015/menus.module.js → esm2020/menus.module.mjs} +5 -5
- package/{esm2015/open-on-click-settings.js → esm2020/open-on-click-settings.mjs} +1 -1
- package/{esm2015/package-metadata.js → esm2020/package-metadata.mjs} +3 -3
- package/{esm2015/preventable-event.js → esm2020/preventable-event.mjs} +1 -1
- package/{esm2015/kendo-angular-menu.js → esm2020/progress-kendo-angular-menu.mjs} +2 -2
- package/{esm2015/rendering/arrow.directive.js → esm2020/rendering/arrow.directive.mjs} +6 -5
- package/{esm2015/rendering/link.directive.js → esm2020/rendering/link.directive.mjs} +5 -4
- package/{esm2015/rendering/list.component.js → esm2020/rendering/list.component.mjs} +14 -9
- package/{esm2015/rendering/popup-settings.js → esm2020/rendering/popup-settings.mjs} +1 -1
- package/{esm2015/services/actions.service.js → esm2020/services/actions.service.mjs} +5 -4
- package/{esm2015/services/hover.service.js → esm2020/services/hover.service.mjs} +6 -4
- package/{esm2015/services/items.service.js → esm2020/services/items.service.mjs} +6 -6
- package/{esm2015/services/navigation.service.js → esm2020/services/navigation.service.mjs} +8 -5
- package/{esm2015/menu-animation.interface.js → esm2020/size.mjs} +1 -1
- package/{esm2015/templates/item-content-template.directive.js → esm2020/templates/item-content-template.directive.mjs} +5 -5
- package/{esm2015/templates/item-link-template.directive.js → esm2020/templates/item-link-template.directive.mjs} +5 -5
- package/{esm2015/templates/item-template.directive.js → esm2020/templates/item-template.directive.mjs} +5 -5
- package/{esm2015/utils.js → esm2020/utils.mjs} +1 -1
- package/fesm2015/progress-kendo-angular-menu.mjs +3135 -0
- package/{fesm2015/kendo-angular-menu.js → fesm2020/progress-kendo-angular-menu.mjs} +110 -110
- package/{main.d.ts → index.d.ts} +2 -1
- package/menu-animation.interface.d.ts +1 -1
- package/menu-base.d.ts +1 -1
- package/menu-event.d.ts +1 -1
- package/menu-item.component.d.ts +1 -1
- package/menu-item.interface.d.ts +1 -1
- package/menu-select-event.d.ts +1 -1
- package/menu.component.d.ts +1 -1
- package/menu.module.d.ts +1 -1
- package/menus.module.d.ts +1 -1
- package/open-on-click-settings.d.ts +1 -1
- package/package-metadata.d.ts +1 -1
- package/package.json +28 -54
- package/preventable-event.d.ts +1 -1
- package/{kendo-angular-menu.d.ts → progress-kendo-angular-menu.d.ts} +2 -2
- package/rendering/arrow.directive.d.ts +1 -1
- package/rendering/link.directive.d.ts +1 -1
- package/rendering/list.component.d.ts +1 -1
- package/rendering/popup-settings.d.ts +1 -1
- package/schematics/ngAdd/index.js +1 -5
- package/services/actions.service.d.ts +1 -1
- package/services/hover.service.d.ts +1 -1
- package/services/items.service.d.ts +1 -1
- package/services/navigation.service.d.ts +1 -1
- package/size.d.ts +1 -1
- 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
- package/utils.d.ts +1 -1
- package/bundles/kendo-angular-menu.umd.js +0 -5
- package/schematics/ngAdd/index.js.map +0 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
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,
|
|
6
|
+
import { Injectable, NgZone, EventEmitter, Directive, Optional, Component, Input, ContentChildren, ElementRef, ViewChild, HostBinding, forwardRef, Output, isDevMode, NgModule, ContentChild } from '@angular/core';
|
|
7
7
|
import * as i3 from '@progress/kendo-angular-l10n';
|
|
8
8
|
import { LocalizationService, L10N_PREFIX } from '@progress/kendo-angular-l10n';
|
|
9
9
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
@@ -20,9 +20,9 @@ const packageMetadata = {
|
|
|
20
20
|
name: '@progress/kendo-angular-menu',
|
|
21
21
|
productName: 'Kendo UI for Angular',
|
|
22
22
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
23
|
-
publishDate:
|
|
23
|
+
publishDate: 1672394481,
|
|
24
24
|
version: '',
|
|
25
|
-
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license
|
|
25
|
+
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
26
26
|
};
|
|
27
27
|
|
|
28
28
|
const PARENT_REGEX = /_?\d+$/;
|
|
@@ -109,7 +109,7 @@ class ItemsService {
|
|
|
109
109
|
filter(predicate) {
|
|
110
110
|
const result = [];
|
|
111
111
|
const items = this.items;
|
|
112
|
-
for (
|
|
112
|
+
for (const index in items) {
|
|
113
113
|
if (predicate(index, items[index])) {
|
|
114
114
|
result.push(items[index]);
|
|
115
115
|
}
|
|
@@ -134,7 +134,7 @@ class ItemsService {
|
|
|
134
134
|
}
|
|
135
135
|
forEach(callback) {
|
|
136
136
|
const items = this.items;
|
|
137
|
-
for (
|
|
137
|
+
for (const index in items) {
|
|
138
138
|
if (items.hasOwnProperty(index)) {
|
|
139
139
|
callback(items[index]);
|
|
140
140
|
}
|
|
@@ -144,9 +144,9 @@ class ItemsService {
|
|
|
144
144
|
return index.replace(PARENT_REGEX, '');
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
|
-
ItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
148
|
-
ItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
149
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
147
|
+
ItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
148
|
+
ItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemsService });
|
|
149
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemsService, decorators: [{
|
|
150
150
|
type: Injectable
|
|
151
151
|
}] });
|
|
152
152
|
|
|
@@ -313,9 +313,9 @@ class ActionsService {
|
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
}
|
|
316
|
-
ActionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
317
|
-
ActionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
318
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
316
|
+
ActionsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ActionsService, deps: [{ token: i0.NgZone }, { token: ItemsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
317
|
+
ActionsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ActionsService });
|
|
318
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ActionsService, decorators: [{
|
|
319
319
|
type: Injectable
|
|
320
320
|
}], ctorParameters: function () { return [{ type: i0.NgZone }, { type: ItemsService }]; } });
|
|
321
321
|
|
|
@@ -561,9 +561,9 @@ class NavigationService {
|
|
|
561
561
|
}
|
|
562
562
|
}
|
|
563
563
|
}
|
|
564
|
-
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
565
|
-
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
566
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
564
|
+
NavigationService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, deps: [{ token: ItemsService }, { token: ActionsService }, { token: i3.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
565
|
+
NavigationService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService });
|
|
566
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: NavigationService, decorators: [{
|
|
567
567
|
type: Injectable
|
|
568
568
|
}], ctorParameters: function () { return [{ type: ItemsService }, { type: ActionsService }, { type: i3.LocalizationService }, { type: i0.NgZone }]; } });
|
|
569
569
|
|
|
@@ -676,9 +676,9 @@ class HoverService {
|
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
}
|
|
679
|
-
HoverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
680
|
-
HoverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
679
|
+
HoverService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoverService, deps: [{ token: ActionsService }, { token: ItemsService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
680
|
+
HoverService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoverService });
|
|
681
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HoverService, decorators: [{
|
|
682
682
|
type: Injectable
|
|
683
683
|
}], ctorParameters: function () { return [{ type: ActionsService }, { type: ItemsService }]; } });
|
|
684
684
|
|
|
@@ -794,6 +794,29 @@ const findInContainer = (element, selector, container) => {
|
|
|
794
794
|
return match;
|
|
795
795
|
};
|
|
796
796
|
|
|
797
|
+
/**
|
|
798
|
+
* @hidden
|
|
799
|
+
*/
|
|
800
|
+
class ContextMenuService {
|
|
801
|
+
constructor() {
|
|
802
|
+
this.keydown = new EventEmitter();
|
|
803
|
+
}
|
|
804
|
+
emit(name, args) {
|
|
805
|
+
this.owner.emitMenuEvent(name, args);
|
|
806
|
+
}
|
|
807
|
+
hasObservers(name) {
|
|
808
|
+
return this.owner && hasObservers(this.owner[name]);
|
|
809
|
+
}
|
|
810
|
+
leaveMenu(e) {
|
|
811
|
+
return this.items ? !inMenu(e.target, this.items) : true;
|
|
812
|
+
}
|
|
813
|
+
}
|
|
814
|
+
ContextMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
815
|
+
ContextMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuService });
|
|
816
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuService, decorators: [{
|
|
817
|
+
type: Injectable
|
|
818
|
+
}] });
|
|
819
|
+
|
|
797
820
|
/**
|
|
798
821
|
* Represents a template for the Menu items ([see example]({% slug templates_menu %})). To define a template
|
|
799
822
|
* for an item, nest an `<ng-template>` tag with the `kendoMenuItemTemplate` directive inside a `<kendo-menu-item>`
|
|
@@ -830,9 +853,9 @@ class ItemTemplateDirective {
|
|
|
830
853
|
this.templateRef = templateRef;
|
|
831
854
|
}
|
|
832
855
|
}
|
|
833
|
-
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
834
|
-
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
835
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
856
|
+
ItemTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
857
|
+
ItemTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ItemTemplateDirective, selector: "[kendoMenuItemTemplate]", ngImport: i0 });
|
|
858
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemTemplateDirective, decorators: [{
|
|
836
859
|
type: Directive,
|
|
837
860
|
args: [{
|
|
838
861
|
selector: '[kendoMenuItemTemplate]'
|
|
@@ -878,9 +901,9 @@ class ItemLinkTemplateDirective {
|
|
|
878
901
|
this.templateRef = templateRef;
|
|
879
902
|
}
|
|
880
903
|
}
|
|
881
|
-
ItemLinkTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
882
|
-
ItemLinkTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
883
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
904
|
+
ItemLinkTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemLinkTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
905
|
+
ItemLinkTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ItemLinkTemplateDirective, selector: "[kendoMenuItemLinkTemplate]", ngImport: i0 });
|
|
906
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemLinkTemplateDirective, decorators: [{
|
|
884
907
|
type: Directive,
|
|
885
908
|
args: [{
|
|
886
909
|
selector: '[kendoMenuItemLinkTemplate]'
|
|
@@ -924,9 +947,9 @@ class ItemContentTemplateDirective {
|
|
|
924
947
|
this.templateRef = templateRef;
|
|
925
948
|
}
|
|
926
949
|
}
|
|
927
|
-
ItemContentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
928
|
-
ItemContentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
929
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
950
|
+
ItemContentTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemContentTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
951
|
+
ItemContentTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ItemContentTemplateDirective, selector: "[kendoMenuItemContentTemplate]", ngImport: i0 });
|
|
952
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemContentTemplateDirective, decorators: [{
|
|
930
953
|
type: Directive,
|
|
931
954
|
args: [{
|
|
932
955
|
selector: '[kendoMenuItemContentTemplate]'
|
|
@@ -1014,9 +1037,9 @@ class MenuItemComponent {
|
|
|
1014
1037
|
}
|
|
1015
1038
|
}
|
|
1016
1039
|
}
|
|
1017
|
-
MenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1018
|
-
MenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1019
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1040
|
+
MenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1041
|
+
MenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuItemComponent, selector: "kendo-menu-item", inputs: { text: "text", url: "url", disabled: "disabled", cssClass: "cssClass", cssStyle: "cssStyle", icon: "icon", 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 });
|
|
1042
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuItemComponent, decorators: [{
|
|
1020
1043
|
type: Component,
|
|
1021
1044
|
args: [{
|
|
1022
1045
|
selector: 'kendo-menu-item',
|
|
@@ -1095,9 +1118,9 @@ class MenuBase {
|
|
|
1095
1118
|
return this.items || (this.children ? this.children.toArray() : []);
|
|
1096
1119
|
}
|
|
1097
1120
|
}
|
|
1098
|
-
MenuBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1099
|
-
MenuBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1100
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1121
|
+
MenuBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuBase, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1122
|
+
MenuBase.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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 });
|
|
1123
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuBase, decorators: [{
|
|
1101
1124
|
type: Component,
|
|
1102
1125
|
args: [{
|
|
1103
1126
|
selector: 'kendo-menu-base',
|
|
@@ -1150,29 +1173,6 @@ const getSizeClass = (size) => {
|
|
|
1150
1173
|
return SIZE_CLASSES[size];
|
|
1151
1174
|
};
|
|
1152
1175
|
|
|
1153
|
-
/**
|
|
1154
|
-
* @hidden
|
|
1155
|
-
*/
|
|
1156
|
-
class ContextMenuService {
|
|
1157
|
-
constructor() {
|
|
1158
|
-
this.keydown = new EventEmitter();
|
|
1159
|
-
}
|
|
1160
|
-
emit(name, args) {
|
|
1161
|
-
this.owner.emitMenuEvent(name, args);
|
|
1162
|
-
}
|
|
1163
|
-
hasObservers(name) {
|
|
1164
|
-
return this.owner && hasObservers(this.owner[name]);
|
|
1165
|
-
}
|
|
1166
|
-
leaveMenu(e) {
|
|
1167
|
-
return this.items ? !inMenu(e.target, this.items) : true;
|
|
1168
|
-
}
|
|
1169
|
-
}
|
|
1170
|
-
ContextMenuService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ContextMenuService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1171
|
-
ContextMenuService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ContextMenuService });
|
|
1172
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImport: i0, type: ContextMenuService, decorators: [{
|
|
1173
|
-
type: Injectable
|
|
1174
|
-
}] });
|
|
1175
|
-
|
|
1176
1176
|
const POPUP_ALIGN = {
|
|
1177
1177
|
vertical: 'top',
|
|
1178
1178
|
horizontal: 'left'
|
|
@@ -1391,9 +1391,9 @@ class ListComponent {
|
|
|
1391
1391
|
this.actions.execute();
|
|
1392
1392
|
}
|
|
1393
1393
|
}
|
|
1394
|
-
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1395
|
-
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1396
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1394
|
+
ListComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
|
|
1395
|
+
ListComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ListComponent, selector: "[kendoMenuList]", inputs: { 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\" kendoMenuItem\n [item]=\"item\" [level]=\"level\" [size]=\"size\" [vertical]=\"vertical\" [animate]=\"animate\" [rtl]=\"rtl\"\n [itemTemplate]=\"itemTemplate\" [itemLinkTemplate]=\"itemLinkTemplate\" [openOnClick]=\"openOnClick\"\n [index]=\"hierarchyIndex(idx)\" [siblingIndex]=\"idx\" [attr.data-kendo-menu-index]=\"hierarchyIndex(idx)\"\n [ngClass]=\"item.cssClass\" [ngStyle]=\"item.cssStyle\"\n role=\"menuitem\"\n class=\"k-item k-menu-item\"\n [class.k-first]=\"idx === 0\" [class.k-last]=\"idx === items.length - 1\"\n [class.k-disabled]=\"item.disabled\"></li>\n <li *ngIf=\"item.separator\" class=\"k-separator k-item\"\n role=\"separator\" [ngClass]=\"item.cssClass\" [ngStyle]=\"item.cssStyle\">\n \n </li>\n </ng-container>\n ", isInline: true, components: [{ type: i0.forwardRef(function () { return ItemComponent; }), selector: "[kendoMenuItem]", inputs: ["item", "level", "index", "siblingIndex", "animate", "size", "vertical", "rtl", "openOnClick", "itemTemplate", "itemLinkTemplate"] }], directives: [{ type: i0.forwardRef(function () { return i5.NgForOf; }), selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { type: i0.forwardRef(function () { return i5.NgIf; }), selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i0.forwardRef(function () { return i5.NgClass; }), selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i0.forwardRef(function () { return i5.NgStyle; }), selector: "[ngStyle]", inputs: ["ngStyle"] }] });
|
|
1396
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ListComponent, decorators: [{
|
|
1397
1397
|
type: Component,
|
|
1398
1398
|
args: [{
|
|
1399
1399
|
selector: '[kendoMenuList]',
|
|
@@ -1616,8 +1616,8 @@ class ItemComponent {
|
|
|
1616
1616
|
this.renderer.setAttribute(this.element.nativeElement, name, value);
|
|
1617
1617
|
}
|
|
1618
1618
|
}
|
|
1619
|
-
ItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1620
|
-
ItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1619
|
+
ItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemComponent, deps: [{ token: ItemsService }, { token: NavigationService }, { token: i0.ChangeDetectorRef }, { token: i0.Renderer2 }, { token: i6.PopupService }, { token: i0.ElementRef }, { token: ContextMenuService, optional: true }], target: i0.ɵɵFactoryTarget.Component });
|
|
1620
|
+
ItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: ItemComponent, selector: "[kendoMenuItem]", inputs: { 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-expanded": "this.expanded", "attr.aria-label": "this.label", "attr.tabindex": "this.activeId" } }, providers: [PopupService, {
|
|
1621
1621
|
provide: POPUP_CONTAINER,
|
|
1622
1622
|
useFactory: bodyFactory
|
|
1623
1623
|
}], viewQueries: [{ propertyName: "link", first: true, predicate: ["link"], descendants: true }, { propertyName: "popupTemplate", first: true, predicate: ["popupTemplate"], descendants: true, static: true }], ngImport: i0, template: `
|
|
@@ -1675,7 +1675,7 @@ ItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
1675
1675
|
</span>
|
|
1676
1676
|
</ng-template>
|
|
1677
1677
|
`, isInline: true, components: [{ type: ListComponent, selector: "[kendoMenuList]", inputs: ["items", "level", "index", "animate", "size", "vertical", "rtl", "openOnClick", "itemTemplate", "itemLinkTemplate"] }], directives: [{ type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i5.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet"] }, { type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1678
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1678
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ItemComponent, decorators: [{
|
|
1679
1679
|
type: Component,
|
|
1680
1680
|
args: [{
|
|
1681
1681
|
providers: [PopupService, {
|
|
@@ -1951,8 +1951,8 @@ class MenuComponent extends MenuBase {
|
|
|
1951
1951
|
}
|
|
1952
1952
|
}
|
|
1953
1953
|
}
|
|
1954
|
-
MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1955
|
-
MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
1954
|
+
MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", 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 });
|
|
1955
|
+
MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: MenuComponent, selector: "kendo-menu", inputs: { menuItemTemplate: "menuItemTemplate", menuItemLinkTemplate: "menuItemLinkTemplate" }, outputs: { select: "select", open: "open", close: "close" }, host: { properties: { "class.k-rtl": "this.direction" } }, providers: [
|
|
1956
1956
|
ItemsService,
|
|
1957
1957
|
ActionsService,
|
|
1958
1958
|
NavigationService,
|
|
@@ -1976,7 +1976,7 @@ MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version:
|
|
|
1976
1976
|
[ngClass]="menuClasses">
|
|
1977
1977
|
</ul>
|
|
1978
1978
|
`, isInline: true, components: [{ type: ListComponent, selector: "[kendoMenuList]", inputs: ["items", "level", "index", "animate", "size", "vertical", "rtl", "openOnClick", "itemTemplate", "itemLinkTemplate"] }], directives: [{ type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] });
|
|
1979
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1979
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuComponent, decorators: [{
|
|
1980
1980
|
type: Component,
|
|
1981
1981
|
args: [{
|
|
1982
1982
|
exportAs: 'kendoMenu',
|
|
@@ -2045,9 +2045,9 @@ class LinkDirective {
|
|
|
2045
2045
|
this.item = this.itemsService.get(this.index) || {};
|
|
2046
2046
|
}
|
|
2047
2047
|
}
|
|
2048
|
-
LinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2049
|
-
LinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2050
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2048
|
+
LinkDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LinkDirective, deps: [{ token: ItemsService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2049
|
+
LinkDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", 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 });
|
|
2050
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: LinkDirective, decorators: [{
|
|
2051
2051
|
type: Directive,
|
|
2052
2052
|
args: [{
|
|
2053
2053
|
selector: '[kendoMenuItemLink]'
|
|
@@ -2103,9 +2103,9 @@ class ExpandArrowDirective {
|
|
|
2103
2103
|
this.renderer.appendChild(this.element.nativeElement, iconElement);
|
|
2104
2104
|
}
|
|
2105
2105
|
}
|
|
2106
|
-
ExpandArrowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2107
|
-
ExpandArrowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2108
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2106
|
+
ExpandArrowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandArrowDirective, deps: [{ token: ItemsService }, { token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2107
|
+
ExpandArrowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ExpandArrowDirective, selector: "[kendoMenuExpandArrow]", inputs: { index: ["kendoMenuExpandArrow", "index"] }, host: { properties: { "class.k-menu-expand-arrow": "this.hostClasses", "attr.role": "this.role" } }, ngImport: i0 });
|
|
2108
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ExpandArrowDirective, decorators: [{
|
|
2109
2109
|
type: Directive,
|
|
2110
2110
|
args: [{
|
|
2111
2111
|
selector: '[kendoMenuExpandArrow]'
|
|
@@ -2190,9 +2190,9 @@ class BindingDirectiveBase {
|
|
|
2190
2190
|
this.menu.items = this.data ? this.mapItems(this.data) : [];
|
|
2191
2191
|
}
|
|
2192
2192
|
}
|
|
2193
|
-
BindingDirectiveBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2194
|
-
BindingDirectiveBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2195
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2193
|
+
BindingDirectiveBase.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BindingDirectiveBase, deps: [{ token: MenuBase }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2194
|
+
BindingDirectiveBase.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: BindingDirectiveBase, selector: "kendoBindingBase", usesOnChanges: true, ngImport: i0 });
|
|
2195
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: BindingDirectiveBase, decorators: [{
|
|
2196
2196
|
type: Directive,
|
|
2197
2197
|
args: [{
|
|
2198
2198
|
// eslint-disable-next-line
|
|
@@ -2262,9 +2262,9 @@ class HierarchyBindingDirective extends BindingDirectiveBase {
|
|
|
2262
2262
|
}
|
|
2263
2263
|
}
|
|
2264
2264
|
}
|
|
2265
|
-
HierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2266
|
-
HierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2267
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2265
|
+
HierarchyBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HierarchyBindingDirective, deps: [{ token: MenuBase }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2266
|
+
HierarchyBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: HierarchyBindingDirective, selector: "[kendoMenuHierarchyBinding]", inputs: { data: ["kendoMenuHierarchyBinding", "data"], textField: "textField", urlField: "urlField", iconField: "iconField", disabledField: "disabledField", cssClassField: "cssClassField", cssStyleField: "cssStyleField", separatorField: "separatorField", childrenField: "childrenField" }, exportAs: ["kendoMenuHierarchyBinding"], usesInheritance: true, ngImport: i0 });
|
|
2267
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: HierarchyBindingDirective, decorators: [{
|
|
2268
2268
|
type: Directive,
|
|
2269
2269
|
args: [{
|
|
2270
2270
|
exportAs: 'kendoMenuHierarchyBinding',
|
|
@@ -2334,9 +2334,9 @@ class FlatBindingDirective extends BindingDirectiveBase {
|
|
|
2334
2334
|
return result;
|
|
2335
2335
|
}
|
|
2336
2336
|
}
|
|
2337
|
-
FlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2338
|
-
FlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2337
|
+
FlatBindingDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatBindingDirective, deps: [{ token: MenuBase }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2338
|
+
FlatBindingDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: FlatBindingDirective, selector: "[kendoMenuFlatBinding]", inputs: { data: ["kendoMenuFlatBinding", "data"], textField: "textField", urlField: "urlField", iconField: "iconField", disabledField: "disabledField", cssClassField: "cssClassField", cssStyleField: "cssStyleField", separatorField: "separatorField", idField: "idField", parentIdField: "parentIdField" }, exportAs: ["kendoMenuFlatBinding"], usesInheritance: true, ngImport: i0 });
|
|
2339
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: FlatBindingDirective, decorators: [{
|
|
2340
2340
|
type: Directive,
|
|
2341
2341
|
args: [{
|
|
2342
2342
|
exportAs: 'kendoMenuFlatBinding',
|
|
@@ -2415,8 +2415,8 @@ const COMPONENT_DIRECTIVES$1 = [
|
|
|
2415
2415
|
*/
|
|
2416
2416
|
class MenuModule {
|
|
2417
2417
|
}
|
|
2418
|
-
MenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2419
|
-
MenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
2418
|
+
MenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2419
|
+
MenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuModule, declarations: [MenuComponent,
|
|
2420
2420
|
MenuItemComponent,
|
|
2421
2421
|
ItemTemplateDirective,
|
|
2422
2422
|
ItemLinkTemplateDirective,
|
|
@@ -2434,8 +2434,8 @@ MenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "12
|
|
|
2434
2434
|
FlatBindingDirective,
|
|
2435
2435
|
LinkDirective,
|
|
2436
2436
|
ExpandArrowDirective] });
|
|
2437
|
-
MenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2438
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2437
|
+
MenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuModule, imports: [[PopupModule, CommonModule]] });
|
|
2438
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenuModule, decorators: [{
|
|
2439
2439
|
type: NgModule,
|
|
2440
2440
|
args: [{
|
|
2441
2441
|
declarations: [COMPONENT_DIRECTIVES$1],
|
|
@@ -2478,9 +2478,9 @@ class ContextMenuTemplateDirective {
|
|
|
2478
2478
|
this.templateRef = templateRef;
|
|
2479
2479
|
}
|
|
2480
2480
|
}
|
|
2481
|
-
ContextMenuTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2482
|
-
ContextMenuTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2483
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2481
|
+
ContextMenuTemplateDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2482
|
+
ContextMenuTemplateDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ContextMenuTemplateDirective, selector: "[kendoContextMenuTemplate]", ngImport: i0 });
|
|
2483
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuTemplateDirective, decorators: [{
|
|
2484
2484
|
type: Directive,
|
|
2485
2485
|
args: [{
|
|
2486
2486
|
selector: '[kendoContextMenuTemplate]'
|
|
@@ -2502,9 +2502,9 @@ class ContextMenuItemsService {
|
|
|
2502
2502
|
}
|
|
2503
2503
|
}
|
|
2504
2504
|
}
|
|
2505
|
-
ContextMenuItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2506
|
-
ContextMenuItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2507
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2505
|
+
ContextMenuItemsService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuItemsService, deps: [{ token: ContextMenuService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2506
|
+
ContextMenuItemsService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuItemsService });
|
|
2507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuItemsService, decorators: [{
|
|
2508
2508
|
type: Injectable
|
|
2509
2509
|
}], ctorParameters: function () { return [{ type: ContextMenuService }]; } });
|
|
2510
2510
|
|
|
@@ -2526,9 +2526,9 @@ class ContextMenuTargetService {
|
|
|
2526
2526
|
return this.targets.find(target => target.element === targetElement);
|
|
2527
2527
|
}
|
|
2528
2528
|
}
|
|
2529
|
-
ContextMenuTargetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2530
|
-
ContextMenuTargetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
2531
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2529
|
+
ContextMenuTargetService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuTargetService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2530
|
+
ContextMenuTargetService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuTargetService });
|
|
2531
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuTargetService, decorators: [{
|
|
2532
2532
|
type: Injectable
|
|
2533
2533
|
}] });
|
|
2534
2534
|
|
|
@@ -2546,9 +2546,9 @@ class ContextMenuTargetContainerDirective {
|
|
|
2546
2546
|
}
|
|
2547
2547
|
}
|
|
2548
2548
|
}
|
|
2549
|
-
ContextMenuTargetContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2550
|
-
ContextMenuTargetContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2551
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2549
|
+
ContextMenuTargetContainerDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuTargetContainerDirective, deps: [{ token: i0.ElementRef }, { token: ContextMenuTargetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2550
|
+
ContextMenuTargetContainerDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ContextMenuTargetContainerDirective, selector: "[kendoContextMenuTargetContainer]", providers: [ContextMenuTargetService], exportAs: ["kendoContextMenuTargetContainer"], ngImport: i0 });
|
|
2551
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuTargetContainerDirective, decorators: [{
|
|
2552
2552
|
type: Directive,
|
|
2553
2553
|
args: [{
|
|
2554
2554
|
selector: '[kendoContextMenuTargetContainer]',
|
|
@@ -2581,9 +2581,9 @@ class ContextMenuTargetDirective {
|
|
|
2581
2581
|
this.targetService.remove(this);
|
|
2582
2582
|
}
|
|
2583
2583
|
}
|
|
2584
|
-
ContextMenuTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2585
|
-
ContextMenuTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "
|
|
2586
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2584
|
+
ContextMenuTargetDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuTargetDirective, deps: [{ token: i0.ElementRef }, { token: ContextMenuTargetService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2585
|
+
ContextMenuTargetDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.11", type: ContextMenuTargetDirective, selector: "[kendoContextMenuTarget]", inputs: { data: ["kendoContextMenuTarget", "data"] }, host: { properties: { "class.k-contextmenu-target": "this.hostClass" } }, exportAs: ["kendoContextMenuTarget"], ngImport: i0 });
|
|
2586
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuTargetDirective, decorators: [{
|
|
2587
2587
|
type: Directive,
|
|
2588
2588
|
args: [{
|
|
2589
2589
|
selector: '[kendoContextMenuTarget]',
|
|
@@ -2909,8 +2909,8 @@ class ContextMenuComponent extends MenuBase {
|
|
|
2909
2909
|
return this.directiveTarget && this.currentTarget ? this.currentTarget.element : this.currentTarget;
|
|
2910
2910
|
}
|
|
2911
2911
|
}
|
|
2912
|
-
ContextMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2913
|
-
ContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "
|
|
2912
|
+
ContextMenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuComponent, deps: [{ token: i6.PopupService }, { token: ContextMenuService }, { token: i0.NgZone }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
2913
|
+
ContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", 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: [
|
|
2914
2914
|
ContextMenuService,
|
|
2915
2915
|
LocalizationService,
|
|
2916
2916
|
{
|
|
@@ -2943,7 +2943,7 @@ ContextMenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", v
|
|
|
2943
2943
|
></kendo-menu>
|
|
2944
2944
|
</ng-template>
|
|
2945
2945
|
`, isInline: true, components: [{ type: MenuComponent, selector: "kendo-menu", inputs: ["menuItemTemplate", "menuItemLinkTemplate"], outputs: ["select", "open", "close"], exportAs: ["kendoMenu"] }] });
|
|
2946
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2946
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuComponent, decorators: [{
|
|
2947
2947
|
type: Component,
|
|
2948
2948
|
args: [{
|
|
2949
2949
|
exportAs: 'kendoContextMenu',
|
|
@@ -3063,16 +3063,16 @@ const COMPONENT_DIRECTIVES = [
|
|
|
3063
3063
|
*/
|
|
3064
3064
|
class ContextMenuModule {
|
|
3065
3065
|
}
|
|
3066
|
-
ContextMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3067
|
-
ContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
3066
|
+
ContextMenuModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3067
|
+
ContextMenuModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuModule, declarations: [ContextMenuComponent,
|
|
3068
3068
|
ContextMenuTemplateDirective,
|
|
3069
3069
|
ContextMenuTargetDirective,
|
|
3070
3070
|
ContextMenuTargetContainerDirective], imports: [PopupModule, CommonModule, MenuModule], exports: [ContextMenuComponent,
|
|
3071
3071
|
ContextMenuTemplateDirective,
|
|
3072
3072
|
ContextMenuTargetDirective,
|
|
3073
3073
|
ContextMenuTargetContainerDirective, MenuModule] });
|
|
3074
|
-
ContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3075
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3074
|
+
ContextMenuModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuModule, imports: [[PopupModule, CommonModule, MenuModule], MenuModule] });
|
|
3075
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: ContextMenuModule, decorators: [{
|
|
3076
3076
|
type: NgModule,
|
|
3077
3077
|
args: [{
|
|
3078
3078
|
declarations: [COMPONENT_DIRECTIVES],
|
|
@@ -3105,10 +3105,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.17", ngImpo
|
|
|
3105
3105
|
*/
|
|
3106
3106
|
class MenusModule {
|
|
3107
3107
|
}
|
|
3108
|
-
MenusModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
3109
|
-
MenusModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "
|
|
3110
|
-
MenusModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
3111
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
3108
|
+
MenusModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenusModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
3109
|
+
MenusModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenusModule, exports: [MenuModule, ContextMenuModule] });
|
|
3110
|
+
MenusModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenusModule, imports: [MenuModule, ContextMenuModule] });
|
|
3111
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: MenusModule, decorators: [{
|
|
3112
3112
|
type: NgModule,
|
|
3113
3113
|
args: [{
|
|
3114
3114
|
exports: [MenuModule, ContextMenuModule]
|
package/{main.d.ts → index.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
export { MenuComponent } from './menu.component';
|
|
@@ -28,4 +28,5 @@ export { ContextMenuService } from './context-menu/context-menu.service';
|
|
|
28
28
|
export { ItemsService } from './services/items.service';
|
|
29
29
|
export { ContextMenuTargetContainerDirective } from './context-menu/context-menu-target-container.directive';
|
|
30
30
|
export { ContextMenuTargetDirective } from './context-menu/context-menu-target.directive';
|
|
31
|
+
export { MenuSize } from './size';
|
|
31
32
|
export { MenusModule } from './menus.module';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
/**
|
package/menu-base.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { QueryList } from '@angular/core';
|
package/menu-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { MenuComponent } from './menu.component';
|
package/menu-item.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { QueryList, TemplateRef } from '@angular/core';
|
package/menu-item.interface.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { TemplateRef } from '@angular/core';
|
package/menu-select-event.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { MenuEvent } from './menu-event';
|
package/menu.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import { EventEmitter, OnChanges, AfterViewChecked, NgZone, Renderer2, TemplateRef } from '@angular/core';
|
package/menu.module.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**-----------------------------------------------------------------------------------------
|
|
2
|
-
* Copyright ©
|
|
2
|
+
* Copyright © 2022 Progress Software Corporation. All rights reserved.
|
|
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";
|