@progress/kendo-angular-menu 3.0.4 → 3.0.5-dev.202202251407
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/dist/cdn/js/kendo-angular-menu.js +2 -2
- package/dist/cdn/main.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/fesm2015/index.js +1 -1
- package/dist/fesm5/index.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/systemjs/kendo-angular-menu.js +1 -1
- package/package.json +2 -2
package/dist/cdn/main.js
CHANGED
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* Copyright © 2021 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
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("@angular/core"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-l10n"),require("@angular/common"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","@progress/kendo-angular-common","@progress/kendo-angular-popup","@progress/kendo-angular-l10n","@angular/common","@progress/kendo-licensing"],t):"object"==typeof exports?exports.KendoAngularMenu=t(require("tslib"),require("@angular/core"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-l10n"),require("@angular/common"),require("@progress/kendo-licensing")):e.KendoAngularMenu=t(e.tslib,e["@angular/core"],e["@progress/kendo-angular-common"],e["@progress/kendo-angular-popup"],e["@progress/kendo-angular-l10n"],e["@angular/common"],e["@progress/kendo-licensing"])}(window,(function(e,t,n,i,o,r,a){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=39)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=/_?\d+$/,a=0,s=function(e,t){return e.siblingIndex-t.siblingIndex},p=function(e,t,n){for(var i=t[e+n];!i;)e<0?e=t.length-1:e>=t.length?e=0:e+=n,i=t[e];return i},c=function(){function e(){this.items={},this.lists=[],this.idPrefix="k-menu"+a++}return Object.defineProperty(e.prototype,"hasItems",{get:function(){return Object.keys(this.items).length>0},enumerable:!0,configurable:!0}),e.prototype.childId=function(e){return this.idPrefix+"-child"+e},e.prototype.itemIndex=function(e,t){return(e?e+"_":"")+t},e.prototype.get=function(e){return this.items[e]},e.prototype.add=function(e){this.items[e.index]=e},e.prototype.remove=function(e){this.items[e.index]===e&&delete this.items[e.index]},e.prototype.addList=function(e){this.lists.push(e)},e.prototype.removeList=function(e){var t=this.lists.indexOf(e);t>=0&&this.lists.splice(t,1)},e.prototype.containsList=function(e){return Boolean(this.lists.find((function(t){return t.element.nativeElement===e})))},e.prototype.siblings=function(e){var t=this,n=this.parentIndex(e.index);return this.filter((function(e){return t.parentIndex(e)===n}))},e.prototype.otherSiblings=function(e){var t=this,n=this.parentIndex(e.index);return this.filter((function(i){return t.parentIndex(i)===n&&i!==e.index}))},e.prototype.children=function(e){var t=this;return this.filter((function(n){return t.parentIndex(n)===e.index}))},e.prototype.parent=function(e){return this.items[this.parentIndex(e.index)]},e.prototype.root=function(e){return this.items[this.indices(e.index)[0]]},e.prototype.indices=function(e){return e.split("_")},e.prototype.filter=function(e){var t=[],n=this.items;for(var i in n)e(i,n[i])&&t.push(n[i]);return t.sort(s)},e.prototype.previous=function(e){var t=this.siblings(e),n=t.indexOf(e);return p(n,t,-1)},e.prototype.next=function(e){var t=this.siblings(e),n=t.indexOf(e);return p(n,t,1)},e.prototype.hasParent=function(e,t){return e.index.startsWith(t.index)},e.prototype.areSiblings=function(e,t){return e!==t&&this.parent(e)===this.parent(t)},e.prototype.forEach=function(e){var t=this.items;for(var n in t)t.hasOwnProperty(n)&&e(t[n])},e.prototype.parentIndex=function(e){return e.replace(r,"")},e=i.__decorate([o.Injectable()],e)}();t.ItemsService=c},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=n(12),s=n(3),p=function(e,t){return!("open"===t&&e.opened||"close"===t&&!e.opened)},c=function(){function e(e,t){this.ngZone=e,this.items=t,this.actions=[]}return e.prototype.open=function(e,t){e.disabled||(e.hasContent&&!e.opened?this.actions.push({name:"open",requiresZone:e.hasContentTemplates(),item:e,finished:t}):t&&t())},e.prototype.close=function(e){this.closeChildren(e),this.closeItem(e)},e.prototype.closeItem=function(e){e.opened&&this.actions.push({name:"close",item:e})},e.prototype.closeToRoot=function(e){this.closeChildren(e);var t=e;do{this.closeItem(t),t=this.items.parent(t)}while(t)},e.prototype.closeOthers=function(e){this.closeChildren(e);for(var t=e;t;){var n=this.items.otherSiblings(t);this.closeItems(n),t=this.items.parent(t)}},e.prototype.closeAll=function(){var e=this;this.items.forEach((function(t){t.opened&&0===t.level&&e.close(t)}))},e.prototype.select=function(e,t,n,i){this.actions.push({name:"select",item:e,prevented:n,finished:i,domEvent:t})},e.prototype.emit=function(e,t,n){var i=this.owner,o=new a.MenuEvent({sender:i,item:t.item,index:t.index,originalEvent:n,hasContent:t.hasContent});return i[e].emit(o),i.contextService&&i.contextService.emit(e,o),o.isDefaultPrevented()},Object.defineProperty(e.prototype,"hasPending",{get:function(){return this.actions.length>0},enumerable:!0,configurable:!0}),e.prototype.execute=function(e){var t=this;if(this.hasPending||e){var n=e||this.clear();!o.NgZone.isInAngularZone()&&this.requiresZone(n)?this.ngZone.run((function(){t.executeActions(n)})):this.executeActions(n)}},e.prototype.clear=function(){var e=this.actions;return this.actions=[],e},e.prototype.executeActions=function(e){for(var t=0;t<e.length;t++){var n=e[t],i=n.item,o=n.name,r=n.prevented,a=n.finished,s=n.domEvent;p(i,o)&&(this.emit(o,i,s)?r&&r():(i[o]&&i[o](),a&&a()))}},e.prototype.requiresZone=function(e){for(var t=e||this.actions,n=this.owner,i=n.contextService,o=0;o<t.length;o++){var r=t[o],a=r.name;if(r.requiresZone||a&&(s.hasObservers(n[a])||i&&i.hasObservers(a)))return!0}return!1},e.prototype.closeChildren=function(e){if(e.opened){var t=this.items.children(e);this.closeItems(t)}},e.prototype.closeItems=function(e){for(var t=0;t<e.length;t++)this.close(e[t])},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[o.NgZone,r.ItemsService])],e)}();t.ActionsService=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(22),o=/^(?:a|input|select|option|textarea|button|object)$/i;t.closest=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},t.closestInScope=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e},t.isFocusable=function(e){if(e.tagName){var t=e.tagName.toLowerCase(),n=e.getAttribute("tabIndex"),i="-1"===n,r=null!==n&&!i;return o.test(t)&&(r=!e.disabled&&!i),r}return!1};var r=function(e){return String(e).trim().split(" ")};t.hasClass=function(e,t){return r(e.className).indexOf(t)>=0},t.matchesClasses=function(e){var t=r(e);return function(e){var n=r(e.className);return Boolean(t.find((function(e){return n.indexOf(e)>=0})))}},t.nodeIndex=function(e){return e.getAttribute(i.NODE_INDEX)},t.closestItem=function(e,n){return t.closestInScope(e,t.nodeIndex,n)},t.closestList=function(e){var n=t.closest(e,t.matchesClasses("k-menu-popup k-menu k-menu-group"));return n&&t.hasClass(n,"k-menu-popup")&&(n=n.querySelector(".k-menu-group")),n},t.inMenu=function(e,n){if(e===n.lists[0].element.nativeElement)return!1;var i=t.closestList(e);return i&&n.containsList(i)},t.findInContainer=function(e,n,i){var o=i.getAttribute("id");o||i.setAttribute("id","kendo-matches-container");var r="#"+(o||"kendo-matches-container")+" "+n,a=t.closestInScope(e,(function(e){return function(e,t){return(e.matches||e.msMatchesSelector).call(e,t)}(e,r)}),i);return o||i.removeAttribute("id"),a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(3),a=n(5),s=function(){function e(){this.keydown=new o.EventEmitter}return e.prototype.emit=function(e,t){this.owner.emitMenuEvent(e,t)},e.prototype.hasObservers=function(e){return this.owner&&r.hasObservers(this.owner[e])},e.prototype.leaveMenu=function(e){return!this.items||!a.inMenu(e.target,this.items)},e=i.__decorate([o.Injectable()],e)}();t.ContextMenuService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(14),a=n(8),s=n(9),p=function(){function e(){this.vertical=!1,this.openOnClick=!1,this.hoverDelay=100,this.animate=!0}return Object.defineProperty(e.prototype,"rootItems",{get:function(){return this.items||(this.children?this.children.toArray():[])},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",Array)],e.prototype,"items",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"vertical",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"openOnClick",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"hoverDelay",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"animate",void 0),i.__decorate([o.ContentChildren(a.ItemTemplateDirective),i.__metadata("design:type",o.QueryList)],e.prototype,"itemTemplate",void 0),i.__decorate([o.ContentChildren(s.ItemLinkTemplateDirective),i.__metadata("design:type",o.QueryList)],e.prototype,"itemLinkTemplate",void 0),i.__decorate([o.ContentChildren(r.MenuItemComponent),i.__metadata("design:type",o.QueryList)],e.prototype,"children",void 0),e}();t.MenuBase=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=function(){function e(e){this.templateRef=e}return e=i.__decorate([o.Directive({selector:"[kendoMenuItemTemplate]"}),i.__param(0,o.Optional()),i.__metadata("design:paramtypes",[o.TemplateRef])],e)}();t.ItemTemplateDirective=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=function(){function e(e){this.templateRef=e}return e=i.__decorate([o.Directive({selector:"[kendoMenuItemLinkTemplate]"}),i.__param(0,o.Optional()),i.__metadata("design:paramtypes",[o.TemplateRef])],e)}();t.ItemLinkTemplateDirective=r},function(e,t){e.exports=i},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t}(n(20).PreventableEvent);t.MenuEvent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(11),a=n(2),s=n(4),p=/\S/,c={37:"left",39:"right",38:"up",40:"down",36:"home",35:"end",32:"enter",13:"enter",27:"esc",9:"tab"},u=Object.assign({},c,{37:"right",39:"left"});var l=Promise.resolve(null),d=function(){function e(e,t,n,i){this.items=e,this.actions=t,this.localization=n,this.ngZone=i,this.vertical=!1,this.activeIndex="0"}return Object.defineProperty(e.prototype,"focusedItem",{get:function(){return this.items.get(this.focusedIdx)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeItem",{get:function(){return this.items.get(this.activeIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"handlers",{get:function(){return this.localization.rtl?u:c},enumerable:!0,configurable:!0}),e.prototype.focus=function(e){e.index!==this.focusedIdx&&(this.activeItem&&this.items.hasParent(e,this.activeItem)||this.setActive(e),this.setFocus(e))},e.prototype.setFocus=function(e){this.focusedIdx=e.index,e.focus()},e.prototype.focusLeave=function(){var e=this.focusedItem;e&&(this.actions.closeToRoot(e),this.actions.execute()),this.focusedIdx=null},e.prototype.updateActive=function(){var e=this;!this.activeItem&&this.items.hasItems&&(this.items.get("0").toggleActive(!0),this.ngZone.runOutsideAngular((function(){l.then((function(){e.activeIndex="0"}))})))},e.prototype.keydown=function(e){var t,n=this.focusedItem||this.activeItem,i=this.handlers[e.keyCode];n&&(i?("tab"!==i&&e.preventDefault(),this[i](n,e)):1===(t=e.key).length&&p.test(t)&&this.search(n,e.key),this.actions.execute())},e.prototype.focusIndex=function(e){if(!e&&this.activeItem)this.setFocus(this.activeItem);else if("first"===e)this.focusFirst();else if("last"===e)this.focusLast();else{var t=this.items.get(e);t&&this.focus(t)}},e.prototype.focusFirst=function(){var e=this.items.siblings(this.items.get("0"));this.focus(e[0])},e.prototype.focusLast=function(){var e=this.items.siblings(this.items.get("0"));this.focus(e[e.length-1])},e.prototype.search=function(e,t){for(var n=this.items.siblings(e),i=n.indexOf(e),o=n.slice(i+1).concat(n.slice(0,i)),r=0;r<o.length;r++){var a=o[r];if((a.item.text||"").toLowerCase().startsWith(t.toLowerCase())){this.focus(a);break}}},e.prototype.down=function(e){0!==e.level||this.vertical?this.focus(this.items.next(e)):e.hasContent&&this.actions.open(e,this.focusChild(e,0))},e.prototype.up=function(e){0!==e.level||this.vertical?this.focus(this.items.previous(e)):e.hasContent&&this.actions.open(e,this.focusChild(e,e.children.length-1))},e.prototype.left=function(e){if(!this.vertical||0!==e.level||!e.disabled)if(e.level>1||this.vertical&&e.level>0){var t=this.items.parent(e);this.focus(t),this.actions.close(t)}else this.vertical&&0===e.level&&!e.disabled?e.hasContent&&this.actions.open(e,this.focusChild(e,e.children.length-1)):this.focus(this.items.previous(this.activeItem))},e.prototype.right=function(e){this.vertical&&0===e.level&&e.disabled||(e.horizontal&&!e.disabled?e.hasContent?this.actions.open(e,this.focusChild(e,0)):(!this.vertical||e.level>0)&&this.focus(this.items.next(this.activeItem)):this.focus(this.items.next(this.activeItem)))},e.prototype.home=function(e){var t=this.items.siblings(e);this.focus(t[0])},e.prototype.end=function(e){var t=this.items.siblings(e);this.focus(t[t.length-1])},e.prototype.enter=function(e,t){var n=this.actions;e.disabled||(e.hasContent?(n.select(e,t),n.open(e,this.focusChild(e,0))):(n.select(e,t,null,(function(){e.navigate()})),this.focus(this.items.root(e)),n.closeToRoot(e)))},e.prototype.esc=function(e){if(e.level>0){var t=this.items.parent(e);this.actions.close(t),this.focus(t)}},e.prototype.tab=function(e){e.level>0&&this.activeItem.focus()},e.prototype.focusChild=function(e,t){var n=this;return function(){var i=n.items.children(e)[t];n.setFocus(i)}},e.prototype.setActive=function(e){var t=this.focusedItem,n=this.items.root(e);this.activeItem&&this.activeItem.toggleActive(!1),this.activeIndex=n.index,n.toggleActive(!0),t&&(this.actions.closeToRoot(t),t.level>0&&this.actions.open(n))},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[a.ItemsService,s.ActionsService,r.LocalizationService,o.NgZone])],e)}();t.NavigationService=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(8),a=n(9),s=n(15),p=function(){function e(){}var t;return t=e,Object.defineProperty(e.prototype,"template",{get:function(){if(this.itemTemplate&&this.itemTemplate.length)return this.itemTemplate.first.templateRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkTemplate",{get:function(){if(this.itemLinkTemplate&&this.itemLinkTemplate.length)return this.itemLinkTemplate.first.templateRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentTemplate",{get:function(){if(this.itemContentTemplate&&this.itemContentTemplate.length)return this.itemContentTemplate.first.templateRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){var e=this;if(this.children.length)return this.children.toArray().filter((function(t){return t!==e}))},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"url",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"cssClass",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"cssStyle",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"icon",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"data",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"separator",void 0),i.__decorate([o.ContentChildren(r.ItemTemplateDirective),i.__metadata("design:type",o.QueryList)],e.prototype,"itemTemplate",void 0),i.__decorate([o.ContentChildren(a.ItemLinkTemplateDirective),i.__metadata("design:type",o.QueryList)],e.prototype,"itemLinkTemplate",void 0),i.__decorate([o.ContentChildren(s.ItemContentTemplateDirective),i.__metadata("design:type",o.QueryList)],e.prototype,"itemContentTemplate",void 0),i.__decorate([o.ContentChildren(t),i.__metadata("design:type",o.QueryList)],e.prototype,"children",void 0),e=t=i.__decorate([o.Component({selector:"kendo-menu-item",template:""})],e)}();t.MenuItemComponent=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=function(){function e(e){this.templateRef=e}return e=i.__decorate([o.Directive({selector:"[kendoMenuItemContentTemplate]"}),i.__param(0,o.Optional()),i.__metadata("design:paramtypes",[o.TemplateRef])],e)}();t.ItemContentTemplateDirective=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(3);t.defined=function(e){return void 0!==e},t.bodyFactory=function(){if(o.isDocumentAvailable())return new i.ElementRef(document.body)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(31),a=n(10),s=n(19),p=n(14),c=n(23),u=n(24),l=n(25),d=n(26),m=n(8),h=n(9),v=n(15),f=n(27),g=n(30),_=[s.MenuComponent,p.MenuItemComponent,m.ItemTemplateDirective,h.ItemLinkTemplateDirective,v.ItemContentTemplateDirective,f.HierarchyBindingDirective,g.FlatBindingDirective,l.LinkDirective,d.ExpandArrowDirective],y=_.concat([c.ListComponent,u.ItemComponent]),b=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[y],exports:[_],imports:[a.PopupModule,r.CommonModule]})],e)}();t.MenuModule=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=function(){function e(e){this.templateRef=e}return e=i.__decorate([o.Directive({selector:"[kendoContextMenuTemplate]"}),i.__param(0,o.Optional()),i.__metadata("design:paramtypes",[o.TemplateRef])],e)}();t.ContextMenuTemplateDirective=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(11),a=n(40),s=n(41),p=n(2),c=n(4),u=n(13),l=n(21),d=n(42),m=n(5),h=n(6),v=n(7),f=n(3),g=function(e){function t(t,n,i,r,p,c,u,l){var d=e.call(this)||this;return d.itemsService=t,d.hover=n,d.actions=i,d.navigation=r,d.localization=p,d.ngZone=c,d.renderer=u,d.contextService=l,d.select=new o.EventEmitter,d.open=new o.EventEmitter,d.close=new o.EventEmitter,a.validatePackage(s.packageMetadata),d.actions.owner=d,l&&(l.items=d.itemsService,d.contextKeyDownSubscription=l.keydown.subscribe(d.contextKeyDown.bind(d))),d}var n;return i.__extends(t,e),n=t,Object.defineProperty(t.prototype,"ariaOrientation",{get:function(){if(this.vertical)return"vertical"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contextMenuClass",{get:function(){return Boolean(this.contextService)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"direction",{get:function(){return this.rtl},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rtl",{get:function(){return this.localization.rtl},enumerable:!0,configurable:!0}),t.prototype.toggle=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=0;i<t.length;i++){var o=this.itemsService.get(t[i]);o&&!o.disabled&&(e?o.open():o.close())}},t.prototype.focus=function(e){this.navigation.focusIndex(e)},t.prototype.ngOnChanges=function(e){if(this.navigation.vertical=this.vertical,this.hover.delay=this.hoverDelay,e.openOnClick){var t=this.openOnClick=d.normalize(this.openOnClick);this.hover.openOnOver=!t,t&&"click"===t.toggle?this.attachCloseClick():this.unsubscribeClick()}},t.prototype.ngAfterViewChecked=function(){this.navigation.updateActive()},t.prototype.ngOnDestroy=function(){this.unsubscribeClick(),this.contextService&&(this.contextService.items=null,this.contextKeyDownSubscription.unsubscribe())},t.prototype.attachCloseClick=function(){var e=this;!this.closeClickSubscription&&f.isDocumentAvailable()&&this.ngZone.runOutsideAngular((function(){e.closeClickSubscription=e.renderer.listen("document","click",(function(t){m.inMenu(t.target,e.itemsService)||(e.hover.openOnOver=!1,e.actions.closeAll(),e.actions.execute())}))}))},t.prototype.unsubscribeClick=function(){this.closeClickSubscription&&this.closeClickSubscription()},t.prototype.contextKeyDown=function(e){if(this.itemsService.hasItems){var t,n=e.keyCode,i=this.localization.rtl,o=n===f.Keys.ArrowDown||n===f.Keys.ArrowRight,r=n===f.Keys.ArrowUp||n===f.Keys.ArrowLeft;o&&!i||r&&i?t="first":(o&&i||r&&!i)&&(t="last"),t&&(e.preventDefault(),this.focus(t))}},i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],t.prototype,"menuItemTemplate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],t.prototype,"menuItemLinkTemplate",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"select",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"open",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"close",void 0),i.__decorate([o.HostBinding("class.k-rtl"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"direction",null),t=n=i.__decorate([o.Component({exportAs:"kendoMenu",providers:[p.ItemsService,c.ActionsService,u.NavigationService,l.HoverService,r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.menu"},{provide:v.MenuBase,useExisting:o.forwardRef((function(){return n}))}],selector:"kendo-menu",template:'\n <ul role="menubar"\n [attr.aria-orientation]="ariaOrientation"\n kendoMenuList [items]="rootItems" [level]="0" class="k-widget k-reset k-header k-menu"\n [vertical]="vertical" [rtl]="rtl" [animate]="animate" [openOnClick]="openOnClick"\n [itemTemplate]="itemTemplate.first?.templateRef || menuItemTemplate"\n [itemLinkTemplate]="itemLinkTemplate.first?.templateRef || menuItemLinkTemplate"\n [class.k-menu-horizontal]="!vertical"\n [class.k-menu-vertical]="vertical"\n [class.k-context-menu]="contextMenuClass">\n </ul>\n '}),i.__param(7,o.Optional()),i.__metadata("design:paramtypes",[p.ItemsService,l.HoverService,c.ActionsService,u.NavigationService,r.LocalizationService,o.NgZone,o.Renderer2,h.ContextMenuService])],t)}(v.MenuBase);t.MenuComponent=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this.prevented=!1,Object.assign(this,e)}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}();t.PreventableEvent=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=n(4),s=function(){function e(e,t){this.actions=e,this.items=t,this.delay=100,this._openOnOver=!0,this.scheduled=[]}return Object.defineProperty(e.prototype,"openOnOver",{get:function(){return this._openOnOver},set:function(e){this.cancelActions(),this._openOnOver=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hovered",{get:function(){return this.items.get(this.hoveredIdx)},set:function(e){this.hoveredIdx=e?e.index:null},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.cancelActions()},e.prototype.over=function(e){var t=this;this.cancelActions((function(e){return"openOnOver"===e.name})),this.hovered&&this.hovered===e||(this.actions.closeOthers(e),this.hovered=e,(e.level>0||this.openOnOver)&&!e.disabled&&(this.actions.open(e),this.cancelActions((function(n){return"close"===n.name&&(e===n.item||t.items.hasParent(e,n.item))||"open"===n.name&&!t.items.hasParent(e,n.item)}))),this.scheduleActions())},e.prototype.leave=function(e){var t=this.hovered;t&&(this.actions.closeToRoot(t),this.cancelActions((function(e){return"open"===e.name})),this.scheduleActions()),e&&this._openOnOver&&this.scheduleDisableOpenOnOver(),this.hovered=null},e.prototype.closeCurrent=function(){var e=this.hovered;e&&(this.actions.closeToRoot(e),this.hovered=null)},e.prototype.scheduleActions=function(){var e=this;if(this.actions.hasPending){var t={};t.actions=this.actions.clear(),t.id=setTimeout((function(){e.actions.execute(t.actions),e.removeScheduled(t)}),this.delay),this.scheduled.push(t)}},e.prototype.scheduleDisableOpenOnOver=function(){var e=this,t={actions:[{name:"openOnOver"}]};t.id=setTimeout((function(){e._openOnOver=!1,e.removeScheduled(t)}),Math.max(this.delay,500)),this.scheduled.push(t)},e.prototype.removeScheduled=function(e){for(var t=this.scheduled,n=0;n<t.length;n++)if(t[n]===e)return void t.splice(n,1)},e.prototype.cancelActions=function(e){for(var t=this.scheduled,n=t.length-1;n>=0;n--){var i=t[n],o=i.actions;if(e)for(var r=o.length-1;r>=0;r--)e(o[r])&&o.splice(r,1);e&&0!==o.length||(clearTimeout(i.id),t.splice(n,1))}},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[a.ActionsService,r.ItemsService])],e)}();t.HoverService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NODE_INDEX="data-kendo-menu-index"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=n(4),s=n(13),p=n(21),c=n(22),u=n(5),l=n(3),d=function(){function e(e,t,n,i,o,r,a){this.itemsService=e,this.hover=t,this.actions=n,this.navigation=i,this.renderer=o,this.ngZone=r,this.element=a,this.animate=!0}return e.prototype.hierarchyIndex=function(e){return this.itemsService.itemIndex(this.index,e)},e.prototype.ngOnInit=function(){this.itemsService.addList(this),this.initDomEvents()},e.prototype.ngOnDestroy=function(){this.itemsService.removeList(this),this.domSubscriptions&&this.domSubscriptions()},e.prototype.initDomEvents=function(){var e=this;l.isDocumentAvailable()&&this.element&&this.ngZone.runOutsideAngular((function(){var t=e.element.nativeElement,n=e.level>0?u.closest(t,(function(e){return u.hasClass(e,"k-popup")})):t,i=e.renderer.listen(t,"mouseover",(function(n){if(n.target===t&&0===e.level)e.onLeave();else{var i=e.nodeItem(n.target)||e.itemsService.get(e.index);!i||e.openOnClick&&"click"===e.openOnClick.toggle&&0===i.level&&!i.hasContent||e.hover.over(i)}})),o=e.renderer.listen(n,"mouseleave",(function(t){e.leavesMenu(t)&&e.onLeave()})),r=e.renderer.listen(t,"keydown",(function(t){u.hasClass(t.target,"k-menu-item")&&e.navigation.keydown(t)})),a=e.renderer.listen(t,"focusout",(function(t){e.leavesMenu(t)&&e.navigation.focusLeave()})),s=e.renderer.listen(document,"touchstart",(function(t){if(u.inMenu(t.target,e.itemsService)){var n=e.nodeItem(t.target);e.navigation.focus(n),n.opened||e.hover.over(n)}else if(e.navigation.focusedIdx){var i=e.itemsService.get(e.navigation.activeIndex);e.onLeave(),i.blur()}})),p=e.renderer.listen(t,"click",e.clickHandler.bind(e));e.domSubscriptions=function(){i(),o(),r(),a(),p(),s()}}))},e.prototype.leavesMenu=function(e){return!e.relatedTarget||!u.inMenu(e.relatedTarget,this.itemsService)},e.prototype.onLeave=function(){var e=this.openOnClick;e&&"click"===e.toggle||this.hover.leave(e&&"leave"===e.toggle)},e.prototype.nodeItem=function(e){var t=u.closestItem(e,this.element.nativeElement);if(t){var n=u.nodeIndex(t);return this.itemsService.get(n)}},e.prototype.clickHandler=function(e){if(!u.isFocusable(e.target)||u.hasClass(e.target,"k-menu-item")){var t=this.nodeItem(e.target);if(t&&!t.isContent&&!t.navigating)if(t.disabled)e.preventDefault();else{if(this.actions.select(t,e,(function(){e.preventDefault()})),this.navigation.focus(t),t.level>0&&!t.hasContent&&this.actions.closeToRoot(t),this.openOnClick){var n=this.hover;t.opened?0===t.level&&(n.openOnOver=!1,this.actions.close(t)):t.hasContent?(n.openOnOver=!0,this.actions.closeOthers(t),this.actions.open(t)):(n.openOnOver=!1,0===t.level&&"click"===this.openOnClick.toggle&&this.hover.closeCurrent())}this.actions.execute()}}},i.__decorate([o.Input(),i.__metadata("design:type",Array)],e.prototype,"items",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"level",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"index",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"animate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"vertical",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"rtl",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"openOnClick",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"itemTemplate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"itemLinkTemplate",void 0),e=i.__decorate([o.Component({selector:"[kendoMenuList]",template:'\n <ng-container *ngFor="let item of items; let idx = index">\n <li *ngIf="!item.separator" kendoMenuItem\n [item]="item" [level]="level" [vertical]="vertical" [animate]="animate" [rtl]="rtl"\n [itemTemplate]="itemTemplate" [itemLinkTemplate]="itemLinkTemplate" [openOnClick]="openOnClick"\n [index]="hierarchyIndex(idx)" [siblingIndex]="idx" [attr.'+c.NODE_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-state-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 '}),i.__metadata("design:paramtypes",[r.ItemsService,p.HoverService,a.ActionsService,s.NavigationService,o.Renderer2,o.NgZone,o.ElementRef])],e)}();t.ListComponent=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=n(13),s=n(43),p=n(10),c=n(16),u=function(){function e(e,t,n,i,o,r){this.itemsService=e,this.navigation=t,this.changeDetector=n,this.renderer=i,this.popupService=o,this.element=r,this.animate=!0,this.openOnClick=!1,this.opened=!1,this.navigating=!1,this.destroyed=!1}return Object.defineProperty(e.prototype,"index",{get:function(){return this._index},set:function(e){this._index&&this._index!==e?(this.itemsService.remove(this),this._index=e,this.itemsService.add(this)):this._index=e,this.childId=this.itemsService.childId(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.item.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasPopup",{get:function(){return!!this.hasContent||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expanded",{get:function(){return this.hasContent?this.opened:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.item.text?this.item.text:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeId",{get:function(){return this.index===this.navigation.activeIndex?"0":"-1"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"popupSettings",{get:function(){var e=this.rtl?s.POPUP_SETTINGS_RTL:s.POPUP_SETTINGS;return this.horizontal?e.horizontal:e.vertical},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontal",{get:function(){return this.vertical||this.level>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasLink",{get:function(){return Boolean(this.item.url)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkTemplate",{get:function(){return this.item.linkTemplate||this.itemLinkTemplate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasContent",{get:function(){var e=this.item.items;return e&&e.length||this.item.contentTemplate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isContent",{get:function(){return Boolean(this.item.content)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconClass",{get:function(){return"k-i-"+this.item.icon},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){var e=this.item;return e.contentTemplate?(this.contentItems||(this.contentItems=[{content:e.contentTemplate,owner:e,ownerIndex:this.index}]),this.contentItems):e.items},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"template",{get:function(){return this.item.template||this.itemTemplate},enumerable:!0,configurable:!0}),e.prototype.hasContentTemplates=function(){var e=this.item;return this.itemTemplate||e.contentTemplate||this.itemLinkTemplate||e.items&&e.items.find((function(e){return e.template||e.linkTemplate}))},e.prototype.ngOnInit=function(){this.itemsService.add(this)},e.prototype.ngOnDestroy=function(){this.itemsService.remove(this),this.destroyed=!0,this.popupRef&&(this.popupRef.close(),this.popupRef=null)},e.prototype.focus=function(){this.element.nativeElement.focus()},e.prototype.blur=function(){this.element.nativeElement.blur()},e.prototype.toggleActive=function(e){e?this.setAttribute("tabindex","0"):this.setAttribute("tabindex","-1")},e.prototype.open=function(){if(!this.destroyed&&this.hasContent&&!this.opened){var e=this.popupSettings,t=!!this.animate&&Object.assign({},this.animate,{direction:e.animate});this.opened=!0,this.popupRef=this.popupService.open({popupAlign:e.popup,anchorAlign:e.anchor,collision:e.collision,anchor:this.element,positionMode:"absolute",content:this.popupTemplate,popupClass:{"k-rtl":this.rtl,"k-menu-popup":!0},animate:t}),this.setAttribute("aria-expanded","true"),this.setAttribute("aria-owns",this.childId),this.changeDetector.detectChanges()}},e.prototype.close=function(){!this.destroyed&&this.opened&&(this.opened=!1,this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.changeDetector.detectChanges(),this.setAttribute("aria-expanded","false"),this.renderer.removeAttribute(this.element.nativeElement,"aria-owns"))},e.prototype.navigate=function(){var e;this.linkTemplate?e=this.element.nativeElement.querySelector("a.k-menu-link"):this.hasLink&&(e=this.link.nativeElement),e&&(this.navigating=!0,e.click(),this.navigating=!1)},e.prototype.setAttribute=function(e,t){this.renderer.setAttribute(this.element.nativeElement,e,t)},i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"item",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"level",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"index",null),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"siblingIndex",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"animate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"vertical",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"rtl",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"openOnClick",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"itemTemplate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"itemLinkTemplate",void 0),i.__decorate([o.ViewChild("link",{static:!1}),i.__metadata("design:type",o.ElementRef)],e.prototype,"link",void 0),i.__decorate([o.ViewChild("popupTemplate",{static:!0}),i.__metadata("design:type",o.TemplateRef)],e.prototype,"popupTemplate",void 0),i.__decorate([o.HostBinding("attr.aria-disabled"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"disabled",null),i.__decorate([o.HostBinding("attr.aria-haspopup"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"hasPopup",null),i.__decorate([o.HostBinding("attr.aria-expanded"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"expanded",null),i.__decorate([o.HostBinding("attr.aria-label"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"label",null),i.__decorate([o.HostBinding("attr.tabindex"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"activeId",null),e=i.__decorate([o.Component({providers:[p.PopupService,{provide:p.POPUP_CONTAINER,useFactory:c.bodyFactory}],selector:"[kendoMenuItem]",template:'\n <span *ngIf="!hasLink && !item.content && !linkTemplate" class="k-link k-menu-link" #link\n [class.k-state-active]="opened" role="presentation">\n <ng-template [ngTemplateOutlet]="itemcontent">\n </ng-template>\n </span>\n <a *ngIf="item.url && !linkTemplate" class="k-link k-menu-link" #link [attr.href]="item.url"\n [class.k-state-active]="opened" tabindex="-1" role="presentation">\n <ng-template [ngTemplateOutlet]="itemcontent">\n </ng-template>\n </a>\n <ng-template *ngIf="linkTemplate && !item.content" [ngTemplateOutlet]="linkTemplate"\n [ngTemplateOutletContext]="{ item: item, index: index }">\n </ng-template>\n\n <div class="k-content" *ngIf="item.content" role="presentation">\n <ng-template [ngTemplateOutlet]="item.content" [ngTemplateOutletContext]="{ item: item.owner, index: item.ownerIndex }">\n </ng-template>\n </div>\n\n <ng-template #popupTemplate>\n <ul kendoMenuList\n [attr.id]="childId"\n [animate]="animate"\n [rtl]="rtl"\n [vertical]="vertical"\n [openOnClick]="openOnClick"\n [items]="children"\n [level]="level + 1"\n [index]="index"\n [itemTemplate]="itemTemplate"\n [itemLinkTemplate]="itemLinkTemplate"\n role="menu"\n class="k-group k-menu-group k-reset">\n </ul>\n </ng-template>\n\n <ng-template #itemcontent>\n <span *ngIf="item.icon" class="k-icon" [ngClass]="iconClass" role="presentation"></span>\n <ng-container *ngIf="!template">\n {{ item.text }}\n </ng-container>\n <ng-template *ngIf="template" [ngTemplateOutlet]="template" [ngTemplateOutletContext]="{ item: item, index: index }">\n </ng-template>\n <span class="k-icon k-menu-expand-arrow" *ngIf="hasContent"\n role="presentation"\n [class.k-i-arrow-60-down]="!horizontal"\n [class.k-i-arrow-60-right]="horizontal && !rtl"\n [class.k-i-arrow-60-left]="horizontal && rtl">\n </span>\n </ng-template>\n '}),i.__metadata("design:paramtypes",[r.ItemsService,a.NavigationService,o.ChangeDetectorRef,o.Renderer2,p.PopupService,o.ElementRef])],e)}();t.ItemComponent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=function(){function e(e){this.itemsService=e,this.hostClasses=!0,this.role="presentation",this.tabindex="-1"}return Object.defineProperty(e.prototype,"activeClass",{get:function(){return this.item.opened},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){if(o.isDevMode()&&!this.index)throw new Error("The kendoMenuItemLink directive requires the item index to be set.");this.item=this.itemsService.get(this.index)||{}},i.__decorate([o.Input("kendoMenuItemLink"),i.__metadata("design:type",String)],e.prototype,"index",void 0),i.__decorate([o.HostBinding("class.k-link"),o.HostBinding("class.k-menu-link"),i.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),i.__decorate([o.HostBinding("attr.role"),i.__metadata("design:type",String)],e.prototype,"role",void 0),i.__decorate([o.HostBinding("attr.tabindex"),i.__metadata("design:type",String)],e.prototype,"tabindex",void 0),i.__decorate([o.HostBinding("class.k-state-active"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"activeClass",null),e=i.__decorate([o.Directive({selector:"[kendoMenuItemLink]"}),i.__metadata("design:paramtypes",[r.ItemsService])],e)}();t.LinkDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=function(){function e(e){this.itemsService=e,this.hostClasses=!0,this.role="presentation"}return Object.defineProperty(e.prototype,"arrowDown",{get:function(){return!this.item.horizontal},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arrowRight",{get:function(){return this.item.horizontal&&!this.item.rtl},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arrowLeft",{get:function(){return this.item.horizontal&&this.item.rtl},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){if(o.isDevMode()&&!this.index)throw new Error("The kendoMenuExpandArrow directive requires the item index to be set.");this.item=this.itemsService.get(this.index)||{}},i.__decorate([o.Input("kendoMenuExpandArrow"),i.__metadata("design:type",String)],e.prototype,"index",void 0),i.__decorate([o.HostBinding("class.k-icon"),o.HostBinding("class.k-menu-expand-arrow"),i.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),i.__decorate([o.HostBinding("attr.role"),i.__metadata("design:type",String)],e.prototype,"role",void 0),i.__decorate([o.HostBinding("class.k-i-arrow-60-down"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"arrowDown",null),i.__decorate([o.HostBinding("class.k-i-arrow-60-right"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"arrowRight",null),i.__decorate([o.HostBinding("class.k-i-arrow-60-left"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"arrowLeft",null),e=i.__decorate([o.Directive({selector:"[kendoMenuExpandArrow]"}),i.__metadata("design:paramtypes",[r.ItemsService])],e)}();t.ExpandArrowDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(7),a=n(28),s=n(29),p=function(e,t){return Array.isArray(e)?e[t]||s.last(e):e},c=function(e){function t(t){return e.call(this,t)||this}return i.__extends(t,e),t.prototype.mapItems=function(e,t){var n=this;return void 0===t&&(t=0),e.map((function(e){var i=n.createItem(e,t),o=n.getChildren(e,t);return o&&(i.items=n.mapItems(o,t+1)),i}))},t.prototype.createItem=function(e,t){for(var n={data:e},i=this.fields,o=0;o<i.length;o++){var r=i[o],a=r.target,c=r.source;n[a]=s.getter(p(c,t))(e)}return n},t.prototype.getChildren=function(e,t){if(this.childrenField)return e[p(this.childrenField,t)]},i.__decorate([o.Input("kendoMenuHierarchyBinding"),i.__metadata("design:type",Array)],t.prototype,"data",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"textField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"urlField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"iconField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"disabledField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"cssClassField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"cssStyleField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"separatorField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"childrenField",void 0),t=i.__decorate([o.Directive({exportAs:"kendoMenuHierarchyBinding",selector:"[kendoMenuHierarchyBinding]"}),i.__metadata("design:paramtypes",[r.MenuBase])],t)}(a.BindingDirectiveBase);t.HierarchyBindingDirective=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=["textField","urlField","iconField","disabledField","cssClassField","cssStyleField","separatorField"],o=function(){function e(e){this.menu=e}return e.prototype.ngOnChanges=function(){this.rebind()},e.prototype.rebind=function(){for(var e=this.fields=[],t=0;t<i.length;t++){var n=i[t],o=this[n];o&&e.push({target:n.replace("Field",""),source:o})}this.menu.items=this.data?this.mapItems(this.data):[]},e}();t.BindingDirectiveBase=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,o={undefined:function(e){return e}};t.getter=function(e){if(o[e])return o[e];var t=[];return e.replace(i,(function(e,n,i,o){t.push(void 0!==n?n:i||o)})),o[e]=function(e){for(var n=e,i=0;i<t.length&&n;i++)n=n[t[i]];return n},o[e]},t.last=function(e){return e[e.length-1]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(7),a=n(28),s=n(29),p=function(e){function t(t){return e.call(this,t)||this}return i.__extends(t,e),t.prototype.mapItems=function(e){var t=this;if(!this.idField||!this.parentIdField)return e.map((function(e){return t.createItem(e)}));for(var n=[],i={},o=0;o<e.length;o++){var r=e[o],a=this.createItem(r),p=s.getter(this.idField)(r),c=s.getter(this.parentIdField)(r);if(null==c)n.push(a);else{var u=i[c]=i[c]||{};u.items=u.items||[],u.items.push(a)}i[p]&&(a.items=i[p].items),i[p]=a}return n},t.prototype.createItem=function(e){for(var t={data:e},n=this.fields,i=0;i<n.length;i++){var o=n[i],r=o.source;t[o.target]=s.getter(r)(e)}return t},i.__decorate([o.Input("kendoMenuFlatBinding"),i.__metadata("design:type",Array)],t.prototype,"data",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"textField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"urlField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"iconField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"disabledField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"cssClassField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"cssStyleField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"separatorField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"idField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"parentIdField",void 0),t=i.__decorate([o.Directive({exportAs:"kendoMenuFlatBinding",selector:"[kendoMenuFlatBinding]"}),i.__metadata("design:paramtypes",[r.MenuBase])],t)}(a.BindingDirectiveBase);t.FlatBindingDirective=p},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){};t.ContextMenuEvent=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t}(n(20).PreventableEvent);t.ContextMenuPopupEvent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(11),a=n(10),s=n(3),p=n(7),c=n(33),u=n(6),l=n(46),d=n(18),m=n(5),h=n(16),v=n(2),f=n(35),g=n(37),_=n(16),y={horizontal:"left",vertical:"bottom"},b={horizontal:"left",vertical:"top"},x={horizontal:"fit",vertical:"flip"},I=function(e){return e.preventDefault()},O=function(e){function t(t,n,i,r){var a=e.call(this)||this;return a.popupService=t,a.service=n,a.ngZone=i,a.renderer=r,a.showOn="contextmenu",a.alignToAnchor=!1,a.vertical=!0,a.popupOpen=new o.EventEmitter,a.popupClose=new o.EventEmitter,a.select=new o.EventEmitter,a.open=new o.EventEmitter,a.close=new o.EventEmitter,a.service.owner=a,a.popupKeyDownHandler=a.popupKeyDownHandler.bind(a),a}var n;return i.__extends(t,e),n=t,t.prototype.hide=function(){this.removePopup()},t.prototype.show=function(e){if(e){var t=e;this.removePopup(),h.defined(t.left)&&h.defined(t.top)?this.createPopup({offset:t}):(this.currentTarget=t.nativeElement||t,this.createPopup({anchor:this.currentTarget}))}},t.prototype.ngOnChanges=function(e){(e.target||e.showOn)&&this.bindShowHandler()},t.prototype.ngOnInit=function(){var e=this;this.ngZone.runOutsideAngular((function(){var t=e.renderer.listen("document","mousedown",(function(t){e.popupRef&&!m.closest(t.target,(function(t){return t===e.popupRef.popupElement}))&&e.service.leaveMenu(t)&&e.closePopup(t)})),n=e.renderer.listen("window","blur",(function(t){e.popupRef&&e.closePopup(t)}));e.closeSubscription=function(){t(),n()}}))},t.prototype.ngOnDestroy=function(){this.closeSubscription&&(this.closeSubscription(),this.closeSubscription=null),this.unbindShowHandler(),this.removePopup()},t.prototype.emitMenuEvent=function(e,t){t.target=this.currentTarget,t.sender=this,this[e].emit(t),"select"!==e||t.hasContent||this.closeAndFocus(t.originalEvent)},t.prototype.bindShowHandler=function(){var e=this;this.unbindShowHandler(),this.ngZone.runOutsideAngular((function(){var t=e.targetElement();if(t){var n=e.showOn||"contextmenu";e.showSubscription=e.renderer.listen(t,e.showOn||"contextmenu",(function(n){e.showContextMenu(n,t)})),"contextmenu"===n&&(e.keydownSubscription=e.renderer.listen(t,"keydown",(function(n){n.shiftKey&&n.keyCode===s.Keys.F10&&e.showContextMenu(n,t)})))}}))},t.prototype.showContextMenu=function(e,t){var n=this,i=this.targetFilter(),o=t;if(i){if((o=m.findInContainer(e.target,i,t))&&o!==e.target&&m.isFocusable(e.target))return;o&&this.directiveTarget&&(o=this.target.targetService.find(o))}o?this.ngZone.run((function(){n.closePopup(e)||(n.currentTarget=o,n.openPopup(e))})):this.closePopup(e)},t.prototype.unbindShowHandler=function(){this.showSubscription&&(this.showSubscription(),this.showSubscription=null),this.keydownSubscription&&(this.keydownSubscription(),this.keydownSubscription=null)},t.prototype.targetElement=function(){if(s.isDocumentAvailable()){this.directiveTarget=!1;var e=this.target;return"string"==typeof e?e=document.querySelector(e):e&&e.nativeElement?e=e.nativeElement:e instanceof f.ContextMenuTargetContainerDirective&&(e=e.element,this.directiveTarget=!0),e}},t.prototype.targetFilter=function(){return this.directiveTarget?"."+g.TARGET_CLASS:this.filter},t.prototype.closePopup=function(e){var t=this;if(this.popupRef)return this.popupAction("popupClose",e,(function(){t.removePopup()}))},t.prototype.removePopup=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null,this.currentTarget=null),this.popupSubscriptions&&(this.popupSubscriptions(),this.popupSubscriptions=null)},t.prototype.openPopup=function(e){var t=this;this.popupAction("popupOpen",e,(function(){var n,i;e.preventDefault(),t.alignToAnchor||"keydown"===e.type?n=t.currentTargetElement:i={left:e.pageX,top:e.pageY},t.createPopup({anchor:n,offset:i})}))},t.prototype.createPopup=function(e){var t=this;this.popupRef=this.popupService.open(Object.assign({animate:!h.defined(this.popupAnimate)||this.popupAnimate,appendTo:this.appendTo,collision:this.collision||x,popupAlign:this.popupAlign||b,anchorAlign:this.anchorAlign||y,content:this.contentTemplate?this.contentTemplate.templateRef:this.defaultContentTemplate,popupClass:"k-menu-popup"},e));var n=this.popupRef.popupElement;this.renderer.addClass(n,"k-context-menu-popup"),this.renderer.setAttribute(n,"tabindex","-1"),this.renderer.setStyle(n,"outline","0"),this.ariaLabel&&this.renderer.setAttribute(n,"aria-label",this.ariaLabel),this.activeTarget=this.currentTargetElement===document.activeElement,this.ngZone.runOutsideAngular((function(){var e=t.renderer.listen(n,"keydown",t.popupKeyDownHandler),i=t.renderer.listen(n,"contextmenu",I);t.popupSubscriptions=function(){e(),i()}})),n.focus()},t.prototype.closeAndFocus=function(e){var t=this.currentTargetElement;!this.closePopup(e)&&this.activeTarget&&t.focus()},t.prototype.popupKeyDownHandler=function(e){var t=this.popupRef.popupElement;e.keyCode!==s.Keys.Escape||!m.hasClass(e.target,"k-menu-item")&&e.target!==t?e.target===t&&this.service.keydown.emit(e):this.closeAndFocus(e)},t.prototype.popupAction=function(e,t,n){var i=this,o=this[e],r=!1;return s.hasObservers(o)?this.ngZone.run((function(){var e=new c.ContextMenuPopupEvent({originalEvent:t,sender:i,target:i.currentTarget});o.emit(e),e.isDefaultPrevented()||n(),r=e.isDefaultPrevented()})):n(),r},Object.defineProperty(t.prototype,"currentTargetElement",{get:function(){return this.directiveTarget&&this.currentTarget?this.currentTarget.element:this.currentTarget},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"showOn",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"target",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"filter",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],t.prototype,"alignToAnchor",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],t.prototype,"vertical",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"popupAnimate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"popupAlign",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"anchorAlign",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"collision",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.ViewContainerRef)],t.prototype,"appendTo",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"ariaLabel",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"popupOpen",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"popupClose",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"select",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"open",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"close",void 0),i.__decorate([o.ContentChild(d.ContextMenuTemplateDirective,{static:!1}),i.__metadata("design:type",d.ContextMenuTemplateDirective)],t.prototype,"contentTemplate",void 0),i.__decorate([o.ViewChild("default",{static:!1}),i.__metadata("design:type",o.TemplateRef)],t.prototype,"defaultContentTemplate",void 0),t=n=i.__decorate([o.Component({exportAs:"kendoContextMenu",providers:[u.ContextMenuService,r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.contextmenu"},{provide:v.ItemsService,useClass:l.ContextMenuItemsService},{provide:p.MenuBase,useExisting:o.forwardRef((function(){return n}))},a.PopupService,{provide:a.POPUP_CONTAINER,useFactory:_.bodyFactory}],selector:"kendo-contextmenu",template:'\n <ng-template #default>\n <kendo-menu [items]="rootItems"\n [vertical]="vertical"\n [openOnClick]="openOnClick"\n [hoverDelay]="hoverDelay"\n [animate]="animate"\n [menuItemTemplate]="itemTemplate.first?.templateRef"\n [menuItemLinkTemplate]="itemLinkTemplate.first?.templateRef"\n ></kendo-menu>\n </ng-template>\n '}),i.__metadata("design:paramtypes",[a.PopupService,u.ContextMenuService,o.NgZone,o.Renderer2])],t)}(p.MenuBase);t.ContextMenuComponent=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(36),a=function(){function e(e,t){this.targetService=t,e&&(this.element=e.nativeElement)}return e=i.__decorate([o.Directive({selector:"[kendoContextMenuTargetContainer]",exportAs:"kendoContextMenuTargetContainer",providers:[r.ContextMenuTargetService]}),i.__metadata("design:paramtypes",[o.ElementRef,r.ContextMenuTargetService])],e)}();t.ContextMenuTargetContainerDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=function(){function e(){this.targets=[]}return e.prototype.add=function(e){this.targets.push(e)},e.prototype.remove=function(e){var t=this.targets.indexOf(e);this.targets.splice(t,1)},e.prototype.find=function(e){return this.targets.find((function(t){return t.element===e}))},e=i.__decorate([o.Injectable()],e)}();t.ContextMenuTargetService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(36);t.TARGET_CLASS="k-contextmenu-target";var a=function(){function e(e,t){this.targetService=t,this.hostClass=!0,e&&(this.element=e.nativeElement),t.add(this)}return e.prototype.ngOnDestroy=function(){this.targetService.remove(this)},i.__decorate([o.Input("kendoContextMenuTarget"),i.__metadata("design:type",Object)],e.prototype,"data",void 0),i.__decorate([o.HostBinding("class."+t.TARGET_CLASS),i.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),e=i.__decorate([o.Directive({selector:"[kendoContextMenuTarget]",exportAs:"kendoContextMenuTarget"}),i.__metadata("design:paramtypes",[o.ElementRef,r.ContextMenuTargetService])],e)}();t.ContextMenuTargetDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(31),a=n(10),s=n(17),p=n(34),c=n(18),u=n(37),l=n(35),d=[p.ContextMenuComponent,c.ContextMenuTemplateDirective,u.ContextMenuTargetDirective,l.ContextMenuTargetContainerDirective],m=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[d],exports:[d,s.MenuModule],imports:[a.PopupModule,r.CommonModule,s.MenuModule]})],e)}();t.ContextMenuModule=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(19);t.MenuComponent=i.MenuComponent;var o=n(23);t.ListComponent=o.ListComponent;var r=n(24);t.ItemComponent=r.ItemComponent;var a=n(25);t.LinkDirective=a.LinkDirective;var s=n(26);t.ExpandArrowDirective=s.ExpandArrowDirective;var p=n(14);t.MenuItemComponent=p.MenuItemComponent;var c=n(12);t.MenuEvent=c.MenuEvent;var u=n(44);t.MenuSelectEvent=u.MenuSelectEvent;var l=n(15);t.ItemContentTemplateDirective=l.ItemContentTemplateDirective;var d=n(8);t.ItemTemplateDirective=d.ItemTemplateDirective;var m=n(9);t.ItemLinkTemplateDirective=m.ItemLinkTemplateDirective;var h=n(27);t.HierarchyBindingDirective=h.HierarchyBindingDirective;var v=n(30);t.FlatBindingDirective=v.FlatBindingDirective;var f=n(17);t.MenuModule=f.MenuModule;var g=n(32);t.ContextMenuEvent=g.ContextMenuEvent;var _=n(45);t.ContextMenuSelectEvent=_.ContextMenuSelectEvent;var y=n(33);t.ContextMenuPopupEvent=y.ContextMenuPopupEvent;var b=n(18);t.ContextMenuTemplateDirective=b.ContextMenuTemplateDirective;var x=n(34);t.ContextMenuComponent=x.ContextMenuComponent;var I=n(38);t.ContextMenuModule=I.ContextMenuModule;var O=n(6);t.ContextMenuService=O.ContextMenuService;var C=n(47);t.MenusModule=C.MenusModule},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-menu",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1642589534,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=function(e){return e&&Object.assign({toggle:"select"},e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={vertical:"top",horizontal:"left"},o={vertical:"top",horizontal:"right"},r={vertical:"flip",horizontal:"fit"},a={vertical:"fit",horizontal:"flip"};t.POPUP_SETTINGS_RTL={vertical:{anchor:{vertical:"bottom",horizontal:"right"},popup:o,collision:r,animate:"down"},horizontal:{anchor:{vertical:"top",horizontal:"left"},popup:o,collision:a,animate:"left"}},t.POPUP_SETTINGS={vertical:{anchor:{vertical:"bottom",horizontal:"left"},popup:i,collision:r,animate:"down"},horizontal:{anchor:{vertical:"top",horizontal:"right"},popup:i,collision:a,animate:"right"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t}(n(12).MenuEvent);t.MenuSelectEvent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t}(n(32).ContextMenuEvent);t.ContextMenuSelectEvent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(6),a=function(){function e(e){this.contextService=e}return e.prototype.get=function(e){if(this.contextService.items)return this.contextService.items.get(e)},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[r.ContextMenuService])],e)}();t.ContextMenuItemsService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(17),a=n(38),s=function(){function e(){}return e=i.__decorate([o.NgModule({exports:[r.MenuModule,a.ContextMenuModule]})],e)}();t.MenusModule=s}])}));
|
|
5
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("@angular/core"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-l10n"),require("@angular/common"),require("@progress/kendo-licensing")):"function"==typeof define&&define.amd?define([,,,,,,],t):"object"==typeof exports?exports.KendoAngularMenu=t(require("tslib"),require("@angular/core"),require("@progress/kendo-angular-common"),require("@progress/kendo-angular-popup"),require("@progress/kendo-angular-l10n"),require("@angular/common"),require("@progress/kendo-licensing")):e.KendoAngularMenu=t(e.self,e.ng.core,e.KendoAngularCommon,e.KendoAngularPopup,e.KendoAngularL10N,e.ng.common,e.KendoLicensing)}(window,(function(e,t,n,i,o,r,a){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=39)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=/_?\d+$/,a=0,s=function(e,t){return e.siblingIndex-t.siblingIndex},p=function(e,t,n){for(var i=t[e+n];!i;)e<0?e=t.length-1:e>=t.length?e=0:e+=n,i=t[e];return i},c=function(){function e(){this.items={},this.lists=[],this.idPrefix="k-menu"+a++}return Object.defineProperty(e.prototype,"hasItems",{get:function(){return Object.keys(this.items).length>0},enumerable:!0,configurable:!0}),e.prototype.childId=function(e){return this.idPrefix+"-child"+e},e.prototype.itemIndex=function(e,t){return(e?e+"_":"")+t},e.prototype.get=function(e){return this.items[e]},e.prototype.add=function(e){this.items[e.index]=e},e.prototype.remove=function(e){this.items[e.index]===e&&delete this.items[e.index]},e.prototype.addList=function(e){this.lists.push(e)},e.prototype.removeList=function(e){var t=this.lists.indexOf(e);t>=0&&this.lists.splice(t,1)},e.prototype.containsList=function(e){return Boolean(this.lists.find((function(t){return t.element.nativeElement===e})))},e.prototype.siblings=function(e){var t=this,n=this.parentIndex(e.index);return this.filter((function(e){return t.parentIndex(e)===n}))},e.prototype.otherSiblings=function(e){var t=this,n=this.parentIndex(e.index);return this.filter((function(i){return t.parentIndex(i)===n&&i!==e.index}))},e.prototype.children=function(e){var t=this;return this.filter((function(n){return t.parentIndex(n)===e.index}))},e.prototype.parent=function(e){return this.items[this.parentIndex(e.index)]},e.prototype.root=function(e){return this.items[this.indices(e.index)[0]]},e.prototype.indices=function(e){return e.split("_")},e.prototype.filter=function(e){var t=[],n=this.items;for(var i in n)e(i,n[i])&&t.push(n[i]);return t.sort(s)},e.prototype.previous=function(e){var t=this.siblings(e),n=t.indexOf(e);return p(n,t,-1)},e.prototype.next=function(e){var t=this.siblings(e),n=t.indexOf(e);return p(n,t,1)},e.prototype.hasParent=function(e,t){return e.index.startsWith(t.index)},e.prototype.areSiblings=function(e,t){return e!==t&&this.parent(e)===this.parent(t)},e.prototype.forEach=function(e){var t=this.items;for(var n in t)t.hasOwnProperty(n)&&e(t[n])},e.prototype.parentIndex=function(e){return e.replace(r,"")},e=i.__decorate([o.Injectable()],e)}();t.ItemsService=c},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=n(12),s=n(3),p=function(e,t){return!("open"===t&&e.opened||"close"===t&&!e.opened)},c=function(){function e(e,t){this.ngZone=e,this.items=t,this.actions=[]}return e.prototype.open=function(e,t){e.disabled||(e.hasContent&&!e.opened?this.actions.push({name:"open",requiresZone:e.hasContentTemplates(),item:e,finished:t}):t&&t())},e.prototype.close=function(e){this.closeChildren(e),this.closeItem(e)},e.prototype.closeItem=function(e){e.opened&&this.actions.push({name:"close",item:e})},e.prototype.closeToRoot=function(e){this.closeChildren(e);var t=e;do{this.closeItem(t),t=this.items.parent(t)}while(t)},e.prototype.closeOthers=function(e){this.closeChildren(e);for(var t=e;t;){var n=this.items.otherSiblings(t);this.closeItems(n),t=this.items.parent(t)}},e.prototype.closeAll=function(){var e=this;this.items.forEach((function(t){t.opened&&0===t.level&&e.close(t)}))},e.prototype.select=function(e,t,n,i){this.actions.push({name:"select",item:e,prevented:n,finished:i,domEvent:t})},e.prototype.emit=function(e,t,n){var i=this.owner,o=new a.MenuEvent({sender:i,item:t.item,index:t.index,originalEvent:n,hasContent:t.hasContent});return i[e].emit(o),i.contextService&&i.contextService.emit(e,o),o.isDefaultPrevented()},Object.defineProperty(e.prototype,"hasPending",{get:function(){return this.actions.length>0},enumerable:!0,configurable:!0}),e.prototype.execute=function(e){var t=this;if(this.hasPending||e){var n=e||this.clear();!o.NgZone.isInAngularZone()&&this.requiresZone(n)?this.ngZone.run((function(){t.executeActions(n)})):this.executeActions(n)}},e.prototype.clear=function(){var e=this.actions;return this.actions=[],e},e.prototype.executeActions=function(e){for(var t=0;t<e.length;t++){var n=e[t],i=n.item,o=n.name,r=n.prevented,a=n.finished,s=n.domEvent;p(i,o)&&(this.emit(o,i,s)?r&&r():(i[o]&&i[o](),a&&a()))}},e.prototype.requiresZone=function(e){for(var t=e||this.actions,n=this.owner,i=n.contextService,o=0;o<t.length;o++){var r=t[o],a=r.name;if(r.requiresZone||a&&(s.hasObservers(n[a])||i&&i.hasObservers(a)))return!0}return!1},e.prototype.closeChildren=function(e){if(e.opened){var t=this.items.children(e);this.closeItems(t)}},e.prototype.closeItems=function(e){for(var t=0;t<e.length;t++)this.close(e[t])},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[o.NgZone,r.ItemsService])],e)}();t.ActionsService=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(22),o=/^(?:a|input|select|option|textarea|button|object)$/i;t.closest=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},t.closestInScope=function(e,t,n){for(;e&&e!==n&&!t(e);)e=e.parentNode;if(e!==n)return e},t.isFocusable=function(e){if(e.tagName){var t=e.tagName.toLowerCase(),n=e.getAttribute("tabIndex"),i="-1"===n,r=null!==n&&!i;return o.test(t)&&(r=!e.disabled&&!i),r}return!1};var r=function(e){return String(e).trim().split(" ")};t.hasClass=function(e,t){return r(e.className).indexOf(t)>=0},t.matchesClasses=function(e){var t=r(e);return function(e){var n=r(e.className);return Boolean(t.find((function(e){return n.indexOf(e)>=0})))}},t.nodeIndex=function(e){return e.getAttribute(i.NODE_INDEX)},t.closestItem=function(e,n){return t.closestInScope(e,t.nodeIndex,n)},t.closestList=function(e){var n=t.closest(e,t.matchesClasses("k-menu-popup k-menu k-menu-group"));return n&&t.hasClass(n,"k-menu-popup")&&(n=n.querySelector(".k-menu-group")),n},t.inMenu=function(e,n){if(e===n.lists[0].element.nativeElement)return!1;var i=t.closestList(e);return i&&n.containsList(i)},t.findInContainer=function(e,n,i){var o=i.getAttribute("id");o||i.setAttribute("id","kendo-matches-container");var r="#"+(o||"kendo-matches-container")+" "+n,a=t.closestInScope(e,(function(e){return function(e,t){return(e.matches||e.msMatchesSelector).call(e,t)}(e,r)}),i);return o||i.removeAttribute("id"),a}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(3),a=n(5),s=function(){function e(){this.keydown=new o.EventEmitter}return e.prototype.emit=function(e,t){this.owner.emitMenuEvent(e,t)},e.prototype.hasObservers=function(e){return this.owner&&r.hasObservers(this.owner[e])},e.prototype.leaveMenu=function(e){return!this.items||!a.inMenu(e.target,this.items)},e=i.__decorate([o.Injectable()],e)}();t.ContextMenuService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(14),a=n(8),s=n(9),p=function(){function e(){this.vertical=!1,this.openOnClick=!1,this.hoverDelay=100,this.animate=!0}return Object.defineProperty(e.prototype,"rootItems",{get:function(){return this.items||(this.children?this.children.toArray():[])},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",Array)],e.prototype,"items",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"vertical",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"openOnClick",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"hoverDelay",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"animate",void 0),i.__decorate([o.ContentChildren(a.ItemTemplateDirective),i.__metadata("design:type",o.QueryList)],e.prototype,"itemTemplate",void 0),i.__decorate([o.ContentChildren(s.ItemLinkTemplateDirective),i.__metadata("design:type",o.QueryList)],e.prototype,"itemLinkTemplate",void 0),i.__decorate([o.ContentChildren(r.MenuItemComponent),i.__metadata("design:type",o.QueryList)],e.prototype,"children",void 0),e}();t.MenuBase=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=function(){function e(e){this.templateRef=e}return e=i.__decorate([o.Directive({selector:"[kendoMenuItemTemplate]"}),i.__param(0,o.Optional()),i.__metadata("design:paramtypes",[o.TemplateRef])],e)}();t.ItemTemplateDirective=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=function(){function e(e){this.templateRef=e}return e=i.__decorate([o.Directive({selector:"[kendoMenuItemLinkTemplate]"}),i.__param(0,o.Optional()),i.__metadata("design:paramtypes",[o.TemplateRef])],e)}();t.ItemLinkTemplateDirective=r},function(e,t){e.exports=i},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t}(n(20).PreventableEvent);t.MenuEvent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(11),a=n(2),s=n(4),p=/\S/,c={37:"left",39:"right",38:"up",40:"down",36:"home",35:"end",32:"enter",13:"enter",27:"esc",9:"tab"},u=Object.assign({},c,{37:"right",39:"left"});var l=Promise.resolve(null),d=function(){function e(e,t,n,i){this.items=e,this.actions=t,this.localization=n,this.ngZone=i,this.vertical=!1,this.activeIndex="0"}return Object.defineProperty(e.prototype,"focusedItem",{get:function(){return this.items.get(this.focusedIdx)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeItem",{get:function(){return this.items.get(this.activeIndex)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"handlers",{get:function(){return this.localization.rtl?u:c},enumerable:!0,configurable:!0}),e.prototype.focus=function(e){e.index!==this.focusedIdx&&(this.activeItem&&this.items.hasParent(e,this.activeItem)||this.setActive(e),this.setFocus(e))},e.prototype.setFocus=function(e){this.focusedIdx=e.index,e.focus()},e.prototype.focusLeave=function(){var e=this.focusedItem;e&&(this.actions.closeToRoot(e),this.actions.execute()),this.focusedIdx=null},e.prototype.updateActive=function(){var e=this;!this.activeItem&&this.items.hasItems&&(this.items.get("0").toggleActive(!0),this.ngZone.runOutsideAngular((function(){l.then((function(){e.activeIndex="0"}))})))},e.prototype.keydown=function(e){var t,n=this.focusedItem||this.activeItem,i=this.handlers[e.keyCode];n&&(i?("tab"!==i&&e.preventDefault(),this[i](n,e)):1===(t=e.key).length&&p.test(t)&&this.search(n,e.key),this.actions.execute())},e.prototype.focusIndex=function(e){if(!e&&this.activeItem)this.setFocus(this.activeItem);else if("first"===e)this.focusFirst();else if("last"===e)this.focusLast();else{var t=this.items.get(e);t&&this.focus(t)}},e.prototype.focusFirst=function(){var e=this.items.siblings(this.items.get("0"));this.focus(e[0])},e.prototype.focusLast=function(){var e=this.items.siblings(this.items.get("0"));this.focus(e[e.length-1])},e.prototype.search=function(e,t){for(var n=this.items.siblings(e),i=n.indexOf(e),o=n.slice(i+1).concat(n.slice(0,i)),r=0;r<o.length;r++){var a=o[r];if((a.item.text||"").toLowerCase().startsWith(t.toLowerCase())){this.focus(a);break}}},e.prototype.down=function(e){0!==e.level||this.vertical?this.focus(this.items.next(e)):e.hasContent&&this.actions.open(e,this.focusChild(e,0))},e.prototype.up=function(e){0!==e.level||this.vertical?this.focus(this.items.previous(e)):e.hasContent&&this.actions.open(e,this.focusChild(e,e.children.length-1))},e.prototype.left=function(e){if(!this.vertical||0!==e.level||!e.disabled)if(e.level>1||this.vertical&&e.level>0){var t=this.items.parent(e);this.focus(t),this.actions.close(t)}else this.vertical&&0===e.level&&!e.disabled?e.hasContent&&this.actions.open(e,this.focusChild(e,e.children.length-1)):this.focus(this.items.previous(this.activeItem))},e.prototype.right=function(e){this.vertical&&0===e.level&&e.disabled||(e.horizontal&&!e.disabled?e.hasContent?this.actions.open(e,this.focusChild(e,0)):(!this.vertical||e.level>0)&&this.focus(this.items.next(this.activeItem)):this.focus(this.items.next(this.activeItem)))},e.prototype.home=function(e){var t=this.items.siblings(e);this.focus(t[0])},e.prototype.end=function(e){var t=this.items.siblings(e);this.focus(t[t.length-1])},e.prototype.enter=function(e,t){var n=this.actions;e.disabled||(e.hasContent?(n.select(e,t),n.open(e,this.focusChild(e,0))):(n.select(e,t,null,(function(){e.navigate()})),this.focus(this.items.root(e)),n.closeToRoot(e)))},e.prototype.esc=function(e){if(e.level>0){var t=this.items.parent(e);this.actions.close(t),this.focus(t)}},e.prototype.tab=function(e){e.level>0&&this.activeItem.focus()},e.prototype.focusChild=function(e,t){var n=this;return function(){var i=n.items.children(e)[t];n.setFocus(i)}},e.prototype.setActive=function(e){var t=this.focusedItem,n=this.items.root(e);this.activeItem&&this.activeItem.toggleActive(!1),this.activeIndex=n.index,n.toggleActive(!0),t&&(this.actions.closeToRoot(t),t.level>0&&this.actions.open(n))},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[a.ItemsService,s.ActionsService,r.LocalizationService,o.NgZone])],e)}();t.NavigationService=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(8),a=n(9),s=n(15),p=function(){function e(){}var t;return t=e,Object.defineProperty(e.prototype,"template",{get:function(){if(this.itemTemplate&&this.itemTemplate.length)return this.itemTemplate.first.templateRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkTemplate",{get:function(){if(this.itemLinkTemplate&&this.itemLinkTemplate.length)return this.itemLinkTemplate.first.templateRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"contentTemplate",{get:function(){if(this.itemContentTemplate&&this.itemContentTemplate.length)return this.itemContentTemplate.first.templateRef},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"items",{get:function(){var e=this;if(this.children.length)return this.children.toArray().filter((function(t){return t!==e}))},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"text",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"url",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"disabled",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"cssClass",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"cssStyle",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"icon",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"data",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"separator",void 0),i.__decorate([o.ContentChildren(r.ItemTemplateDirective),i.__metadata("design:type",o.QueryList)],e.prototype,"itemTemplate",void 0),i.__decorate([o.ContentChildren(a.ItemLinkTemplateDirective),i.__metadata("design:type",o.QueryList)],e.prototype,"itemLinkTemplate",void 0),i.__decorate([o.ContentChildren(s.ItemContentTemplateDirective),i.__metadata("design:type",o.QueryList)],e.prototype,"itemContentTemplate",void 0),i.__decorate([o.ContentChildren(t),i.__metadata("design:type",o.QueryList)],e.prototype,"children",void 0),e=t=i.__decorate([o.Component({selector:"kendo-menu-item",template:""})],e)}();t.MenuItemComponent=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=function(){function e(e){this.templateRef=e}return e=i.__decorate([o.Directive({selector:"[kendoMenuItemContentTemplate]"}),i.__param(0,o.Optional()),i.__metadata("design:paramtypes",[o.TemplateRef])],e)}();t.ItemContentTemplateDirective=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1),o=n(3);t.defined=function(e){return void 0!==e},t.bodyFactory=function(){if(o.isDocumentAvailable())return new i.ElementRef(document.body)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(31),a=n(10),s=n(19),p=n(14),c=n(23),u=n(24),l=n(25),d=n(26),m=n(8),h=n(9),v=n(15),f=n(27),_=n(30),g=[s.MenuComponent,p.MenuItemComponent,m.ItemTemplateDirective,h.ItemLinkTemplateDirective,v.ItemContentTemplateDirective,f.HierarchyBindingDirective,_.FlatBindingDirective,l.LinkDirective,d.ExpandArrowDirective],y=g.concat([c.ListComponent,u.ItemComponent]),b=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[y],exports:[g],imports:[a.PopupModule,r.CommonModule]})],e)}();t.MenuModule=b},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=function(){function e(e){this.templateRef=e}return e=i.__decorate([o.Directive({selector:"[kendoContextMenuTemplate]"}),i.__param(0,o.Optional()),i.__metadata("design:paramtypes",[o.TemplateRef])],e)}();t.ContextMenuTemplateDirective=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(11),a=n(40),s=n(41),p=n(2),c=n(4),u=n(13),l=n(21),d=n(42),m=n(5),h=n(6),v=n(7),f=n(3),_=function(e){function t(t,n,i,r,p,c,u,l){var d=e.call(this)||this;return d.itemsService=t,d.hover=n,d.actions=i,d.navigation=r,d.localization=p,d.ngZone=c,d.renderer=u,d.contextService=l,d.select=new o.EventEmitter,d.open=new o.EventEmitter,d.close=new o.EventEmitter,a.validatePackage(s.packageMetadata),d.actions.owner=d,l&&(l.items=d.itemsService,d.contextKeyDownSubscription=l.keydown.subscribe(d.contextKeyDown.bind(d))),d}var n;return i.__extends(t,e),n=t,Object.defineProperty(t.prototype,"ariaOrientation",{get:function(){if(this.vertical)return"vertical"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"contextMenuClass",{get:function(){return Boolean(this.contextService)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"direction",{get:function(){return this.rtl},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"rtl",{get:function(){return this.localization.rtl},enumerable:!0,configurable:!0}),t.prototype.toggle=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var i=0;i<t.length;i++){var o=this.itemsService.get(t[i]);o&&!o.disabled&&(e?o.open():o.close())}},t.prototype.focus=function(e){this.navigation.focusIndex(e)},t.prototype.ngOnChanges=function(e){if(this.navigation.vertical=this.vertical,this.hover.delay=this.hoverDelay,e.openOnClick){var t=this.openOnClick=d.normalize(this.openOnClick);this.hover.openOnOver=!t,t&&"click"===t.toggle?this.attachCloseClick():this.unsubscribeClick()}},t.prototype.ngAfterViewChecked=function(){this.navigation.updateActive()},t.prototype.ngOnDestroy=function(){this.unsubscribeClick(),this.contextService&&(this.contextService.items=null,this.contextKeyDownSubscription.unsubscribe())},t.prototype.attachCloseClick=function(){var e=this;!this.closeClickSubscription&&f.isDocumentAvailable()&&this.ngZone.runOutsideAngular((function(){e.closeClickSubscription=e.renderer.listen("document","click",(function(t){m.inMenu(t.target,e.itemsService)||(e.hover.openOnOver=!1,e.actions.closeAll(),e.actions.execute())}))}))},t.prototype.unsubscribeClick=function(){this.closeClickSubscription&&this.closeClickSubscription()},t.prototype.contextKeyDown=function(e){if(this.itemsService.hasItems){var t,n=e.keyCode,i=this.localization.rtl,o=n===f.Keys.ArrowDown||n===f.Keys.ArrowRight,r=n===f.Keys.ArrowUp||n===f.Keys.ArrowLeft;o&&!i||r&&i?t="first":(o&&i||r&&!i)&&(t="last"),t&&(e.preventDefault(),this.focus(t))}},i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],t.prototype,"menuItemTemplate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],t.prototype,"menuItemLinkTemplate",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"select",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"open",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"close",void 0),i.__decorate([o.HostBinding("class.k-rtl"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],t.prototype,"direction",null),t=n=i.__decorate([o.Component({exportAs:"kendoMenu",providers:[p.ItemsService,c.ActionsService,u.NavigationService,l.HoverService,r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.menu"},{provide:v.MenuBase,useExisting:o.forwardRef((function(){return n}))}],selector:"kendo-menu",template:'\n <ul role="menubar"\n [attr.aria-orientation]="ariaOrientation"\n kendoMenuList [items]="rootItems" [level]="0" class="k-widget k-reset k-header k-menu"\n [vertical]="vertical" [rtl]="rtl" [animate]="animate" [openOnClick]="openOnClick"\n [itemTemplate]="itemTemplate.first?.templateRef || menuItemTemplate"\n [itemLinkTemplate]="itemLinkTemplate.first?.templateRef || menuItemLinkTemplate"\n [class.k-menu-horizontal]="!vertical"\n [class.k-menu-vertical]="vertical"\n [class.k-context-menu]="contextMenuClass">\n </ul>\n '}),i.__param(7,o.Optional()),i.__metadata("design:paramtypes",[p.ItemsService,l.HoverService,c.ActionsService,u.NavigationService,r.LocalizationService,o.NgZone,o.Renderer2,h.ContextMenuService])],t)}(v.MenuBase);t.MenuComponent=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e){this.prevented=!1,Object.assign(this,e)}return e.prototype.preventDefault=function(){this.prevented=!0},e.prototype.isDefaultPrevented=function(){return this.prevented},e}();t.PreventableEvent=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=n(4),s=function(){function e(e,t){this.actions=e,this.items=t,this.delay=100,this._openOnOver=!0,this.scheduled=[]}return Object.defineProperty(e.prototype,"openOnOver",{get:function(){return this._openOnOver},set:function(e){this.cancelActions(),this._openOnOver=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hovered",{get:function(){return this.items.get(this.hoveredIdx)},set:function(e){this.hoveredIdx=e?e.index:null},enumerable:!0,configurable:!0}),e.prototype.ngOnDestroy=function(){this.cancelActions()},e.prototype.over=function(e){var t=this;this.cancelActions((function(e){return"openOnOver"===e.name})),this.hovered&&this.hovered===e||(this.actions.closeOthers(e),this.hovered=e,(e.level>0||this.openOnOver)&&!e.disabled&&(this.actions.open(e),this.cancelActions((function(n){return"close"===n.name&&(e===n.item||t.items.hasParent(e,n.item))||"open"===n.name&&!t.items.hasParent(e,n.item)}))),this.scheduleActions())},e.prototype.leave=function(e){var t=this.hovered;t&&(this.actions.closeToRoot(t),this.cancelActions((function(e){return"open"===e.name})),this.scheduleActions()),e&&this._openOnOver&&this.scheduleDisableOpenOnOver(),this.hovered=null},e.prototype.closeCurrent=function(){var e=this.hovered;e&&(this.actions.closeToRoot(e),this.hovered=null)},e.prototype.scheduleActions=function(){var e=this;if(this.actions.hasPending){var t={};t.actions=this.actions.clear(),t.id=setTimeout((function(){e.actions.execute(t.actions),e.removeScheduled(t)}),this.delay),this.scheduled.push(t)}},e.prototype.scheduleDisableOpenOnOver=function(){var e=this,t={actions:[{name:"openOnOver"}]};t.id=setTimeout((function(){e._openOnOver=!1,e.removeScheduled(t)}),Math.max(this.delay,500)),this.scheduled.push(t)},e.prototype.removeScheduled=function(e){for(var t=this.scheduled,n=0;n<t.length;n++)if(t[n]===e)return void t.splice(n,1)},e.prototype.cancelActions=function(e){for(var t=this.scheduled,n=t.length-1;n>=0;n--){var i=t[n],o=i.actions;if(e)for(var r=o.length-1;r>=0;r--)e(o[r])&&o.splice(r,1);e&&0!==o.length||(clearTimeout(i.id),t.splice(n,1))}},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[a.ActionsService,r.ItemsService])],e)}();t.HoverService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NODE_INDEX="data-kendo-menu-index"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=n(4),s=n(13),p=n(21),c=n(22),u=n(5),l=n(3),d=function(){function e(e,t,n,i,o,r,a){this.itemsService=e,this.hover=t,this.actions=n,this.navigation=i,this.renderer=o,this.ngZone=r,this.element=a,this.animate=!0}return e.prototype.hierarchyIndex=function(e){return this.itemsService.itemIndex(this.index,e)},e.prototype.ngOnInit=function(){this.itemsService.addList(this),this.initDomEvents()},e.prototype.ngOnDestroy=function(){this.itemsService.removeList(this),this.domSubscriptions&&this.domSubscriptions()},e.prototype.initDomEvents=function(){var e=this;l.isDocumentAvailable()&&this.element&&this.ngZone.runOutsideAngular((function(){var t=e.element.nativeElement,n=e.level>0?u.closest(t,(function(e){return u.hasClass(e,"k-popup")})):t,i=e.renderer.listen(t,"mouseover",(function(n){if(n.target===t&&0===e.level)e.onLeave();else{var i=e.nodeItem(n.target)||e.itemsService.get(e.index);!i||e.openOnClick&&"click"===e.openOnClick.toggle&&0===i.level&&!i.hasContent||e.hover.over(i)}})),o=e.renderer.listen(n,"mouseleave",(function(t){e.leavesMenu(t)&&e.onLeave()})),r=e.renderer.listen(t,"keydown",(function(t){u.hasClass(t.target,"k-menu-item")&&e.navigation.keydown(t)})),a=e.renderer.listen(t,"focusout",(function(t){e.leavesMenu(t)&&e.navigation.focusLeave()})),s=e.renderer.listen(document,"touchstart",(function(t){if(u.inMenu(t.target,e.itemsService)){var n=e.nodeItem(t.target);e.navigation.focus(n),n.opened||e.hover.over(n)}else if(e.navigation.focusedIdx){var i=e.itemsService.get(e.navigation.activeIndex);e.onLeave(),i.blur()}})),p=e.renderer.listen(t,"click",e.clickHandler.bind(e));e.domSubscriptions=function(){i(),o(),r(),a(),p(),s()}}))},e.prototype.leavesMenu=function(e){return!e.relatedTarget||!u.inMenu(e.relatedTarget,this.itemsService)},e.prototype.onLeave=function(){var e=this.openOnClick;e&&"click"===e.toggle||this.hover.leave(e&&"leave"===e.toggle)},e.prototype.nodeItem=function(e){var t=u.closestItem(e,this.element.nativeElement);if(t){var n=u.nodeIndex(t);return this.itemsService.get(n)}},e.prototype.clickHandler=function(e){if(!u.isFocusable(e.target)||u.hasClass(e.target,"k-menu-item")){var t=this.nodeItem(e.target);if(t&&!t.isContent&&!t.navigating)if(t.disabled)e.preventDefault();else{if(this.actions.select(t,e,(function(){e.preventDefault()})),this.navigation.focus(t),t.level>0&&!t.hasContent&&this.actions.closeToRoot(t),this.openOnClick){var n=this.hover;t.opened?0===t.level&&(n.openOnOver=!1,this.actions.close(t)):t.hasContent?(n.openOnOver=!0,this.actions.closeOthers(t),this.actions.open(t)):(n.openOnOver=!1,0===t.level&&"click"===this.openOnClick.toggle&&this.hover.closeCurrent())}this.actions.execute()}}},i.__decorate([o.Input(),i.__metadata("design:type",Array)],e.prototype,"items",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"level",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"index",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"animate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"vertical",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"rtl",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"openOnClick",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"itemTemplate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"itemLinkTemplate",void 0),e=i.__decorate([o.Component({selector:"[kendoMenuList]",template:'\n <ng-container *ngFor="let item of items; let idx = index">\n <li *ngIf="!item.separator" kendoMenuItem\n [item]="item" [level]="level" [vertical]="vertical" [animate]="animate" [rtl]="rtl"\n [itemTemplate]="itemTemplate" [itemLinkTemplate]="itemLinkTemplate" [openOnClick]="openOnClick"\n [index]="hierarchyIndex(idx)" [siblingIndex]="idx" [attr.'+c.NODE_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-state-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 '}),i.__metadata("design:paramtypes",[r.ItemsService,p.HoverService,a.ActionsService,s.NavigationService,o.Renderer2,o.NgZone,o.ElementRef])],e)}();t.ListComponent=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=n(13),s=n(43),p=n(10),c=n(16),u=function(){function e(e,t,n,i,o,r){this.itemsService=e,this.navigation=t,this.changeDetector=n,this.renderer=i,this.popupService=o,this.element=r,this.animate=!0,this.openOnClick=!1,this.opened=!1,this.navigating=!1,this.destroyed=!1}return Object.defineProperty(e.prototype,"index",{get:function(){return this._index},set:function(e){this._index&&this._index!==e?(this.itemsService.remove(this),this._index=e,this.itemsService.add(this)):this._index=e,this.childId=this.itemsService.childId(e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this.item.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasPopup",{get:function(){return!!this.hasContent||null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"expanded",{get:function(){return this.hasContent?this.opened:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"label",{get:function(){return this.item.text?this.item.text:null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"activeId",{get:function(){return this.index===this.navigation.activeIndex?"0":"-1"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"popupSettings",{get:function(){var e=this.rtl?s.POPUP_SETTINGS_RTL:s.POPUP_SETTINGS;return this.horizontal?e.horizontal:e.vertical},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"horizontal",{get:function(){return this.vertical||this.level>0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasLink",{get:function(){return Boolean(this.item.url)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"linkTemplate",{get:function(){return this.item.linkTemplate||this.itemLinkTemplate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hasContent",{get:function(){var e=this.item.items;return e&&e.length||this.item.contentTemplate},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isContent",{get:function(){return Boolean(this.item.content)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"iconClass",{get:function(){return"k-i-"+this.item.icon},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"children",{get:function(){var e=this.item;return e.contentTemplate?(this.contentItems||(this.contentItems=[{content:e.contentTemplate,owner:e,ownerIndex:this.index}]),this.contentItems):e.items},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"template",{get:function(){return this.item.template||this.itemTemplate},enumerable:!0,configurable:!0}),e.prototype.hasContentTemplates=function(){var e=this.item;return this.itemTemplate||e.contentTemplate||this.itemLinkTemplate||e.items&&e.items.find((function(e){return e.template||e.linkTemplate}))},e.prototype.ngOnInit=function(){this.itemsService.add(this)},e.prototype.ngOnDestroy=function(){this.itemsService.remove(this),this.destroyed=!0,this.popupRef&&(this.popupRef.close(),this.popupRef=null)},e.prototype.focus=function(){this.element.nativeElement.focus()},e.prototype.blur=function(){this.element.nativeElement.blur()},e.prototype.toggleActive=function(e){e?this.setAttribute("tabindex","0"):this.setAttribute("tabindex","-1")},e.prototype.open=function(){if(!this.destroyed&&this.hasContent&&!this.opened){var e=this.popupSettings,t=!!this.animate&&Object.assign({},this.animate,{direction:e.animate});this.opened=!0,this.popupRef=this.popupService.open({popupAlign:e.popup,anchorAlign:e.anchor,collision:e.collision,anchor:this.element,positionMode:"absolute",content:this.popupTemplate,popupClass:{"k-rtl":this.rtl,"k-menu-popup":!0},animate:t}),this.setAttribute("aria-expanded","true"),this.setAttribute("aria-owns",this.childId),this.changeDetector.detectChanges()}},e.prototype.close=function(){!this.destroyed&&this.opened&&(this.opened=!1,this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.changeDetector.detectChanges(),this.setAttribute("aria-expanded","false"),this.renderer.removeAttribute(this.element.nativeElement,"aria-owns"))},e.prototype.navigate=function(){var e;this.linkTemplate?e=this.element.nativeElement.querySelector("a.k-menu-link"):this.hasLink&&(e=this.link.nativeElement),e&&(this.navigating=!0,e.click(),this.navigating=!1)},e.prototype.setAttribute=function(e,t){this.renderer.setAttribute(this.element.nativeElement,e,t)},i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"item",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"level",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"index",null),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"siblingIndex",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"animate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"vertical",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"rtl",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],e.prototype,"openOnClick",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"itemTemplate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"itemLinkTemplate",void 0),i.__decorate([o.ViewChild("link",{static:!1}),i.__metadata("design:type",o.ElementRef)],e.prototype,"link",void 0),i.__decorate([o.ViewChild("popupTemplate",{static:!0}),i.__metadata("design:type",o.TemplateRef)],e.prototype,"popupTemplate",void 0),i.__decorate([o.HostBinding("attr.aria-disabled"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"disabled",null),i.__decorate([o.HostBinding("attr.aria-haspopup"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"hasPopup",null),i.__decorate([o.HostBinding("attr.aria-expanded"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"expanded",null),i.__decorate([o.HostBinding("attr.aria-label"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"label",null),i.__decorate([o.HostBinding("attr.tabindex"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"activeId",null),e=i.__decorate([o.Component({providers:[p.PopupService,{provide:p.POPUP_CONTAINER,useFactory:c.bodyFactory}],selector:"[kendoMenuItem]",template:'\n <span *ngIf="!hasLink && !item.content && !linkTemplate" class="k-link k-menu-link" #link\n [class.k-state-active]="opened" role="presentation">\n <ng-template [ngTemplateOutlet]="itemcontent">\n </ng-template>\n </span>\n <a *ngIf="item.url && !linkTemplate" class="k-link k-menu-link" #link [attr.href]="item.url"\n [class.k-state-active]="opened" tabindex="-1" role="presentation">\n <ng-template [ngTemplateOutlet]="itemcontent">\n </ng-template>\n </a>\n <ng-template *ngIf="linkTemplate && !item.content" [ngTemplateOutlet]="linkTemplate"\n [ngTemplateOutletContext]="{ item: item, index: index }">\n </ng-template>\n\n <div class="k-content" *ngIf="item.content" role="presentation">\n <ng-template [ngTemplateOutlet]="item.content" [ngTemplateOutletContext]="{ item: item.owner, index: item.ownerIndex }">\n </ng-template>\n </div>\n\n <ng-template #popupTemplate>\n <ul kendoMenuList\n [attr.id]="childId"\n [animate]="animate"\n [rtl]="rtl"\n [vertical]="vertical"\n [openOnClick]="openOnClick"\n [items]="children"\n [level]="level + 1"\n [index]="index"\n [itemTemplate]="itemTemplate"\n [itemLinkTemplate]="itemLinkTemplate"\n role="menu"\n class="k-group k-menu-group k-reset">\n </ul>\n </ng-template>\n\n <ng-template #itemcontent>\n <span *ngIf="item.icon" class="k-icon" [ngClass]="iconClass" role="presentation"></span>\n <ng-container *ngIf="!template">\n {{ item.text }}\n </ng-container>\n <ng-template *ngIf="template" [ngTemplateOutlet]="template" [ngTemplateOutletContext]="{ item: item, index: index }">\n </ng-template>\n <span class="k-icon k-menu-expand-arrow" *ngIf="hasContent"\n role="presentation"\n [class.k-i-arrow-60-down]="!horizontal"\n [class.k-i-arrow-60-right]="horizontal && !rtl"\n [class.k-i-arrow-60-left]="horizontal && rtl">\n </span>\n </ng-template>\n '}),i.__metadata("design:paramtypes",[r.ItemsService,a.NavigationService,o.ChangeDetectorRef,o.Renderer2,p.PopupService,o.ElementRef])],e)}();t.ItemComponent=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=function(){function e(e){this.itemsService=e,this.hostClasses=!0,this.role="presentation",this.tabindex="-1"}return Object.defineProperty(e.prototype,"activeClass",{get:function(){return this.item.opened},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){if(o.isDevMode()&&!this.index)throw new Error("The kendoMenuItemLink directive requires the item index to be set.");this.item=this.itemsService.get(this.index)||{}},i.__decorate([o.Input("kendoMenuItemLink"),i.__metadata("design:type",String)],e.prototype,"index",void 0),i.__decorate([o.HostBinding("class.k-link"),o.HostBinding("class.k-menu-link"),i.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),i.__decorate([o.HostBinding("attr.role"),i.__metadata("design:type",String)],e.prototype,"role",void 0),i.__decorate([o.HostBinding("attr.tabindex"),i.__metadata("design:type",String)],e.prototype,"tabindex",void 0),i.__decorate([o.HostBinding("class.k-state-active"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"activeClass",null),e=i.__decorate([o.Directive({selector:"[kendoMenuItemLink]"}),i.__metadata("design:paramtypes",[r.ItemsService])],e)}();t.LinkDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(2),a=function(){function e(e){this.itemsService=e,this.hostClasses=!0,this.role="presentation"}return Object.defineProperty(e.prototype,"arrowDown",{get:function(){return!this.item.horizontal},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arrowRight",{get:function(){return this.item.horizontal&&!this.item.rtl},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"arrowLeft",{get:function(){return this.item.horizontal&&this.item.rtl},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){if(o.isDevMode()&&!this.index)throw new Error("The kendoMenuExpandArrow directive requires the item index to be set.");this.item=this.itemsService.get(this.index)||{}},i.__decorate([o.Input("kendoMenuExpandArrow"),i.__metadata("design:type",String)],e.prototype,"index",void 0),i.__decorate([o.HostBinding("class.k-icon"),o.HostBinding("class.k-menu-expand-arrow"),i.__metadata("design:type",Boolean)],e.prototype,"hostClasses",void 0),i.__decorate([o.HostBinding("attr.role"),i.__metadata("design:type",String)],e.prototype,"role",void 0),i.__decorate([o.HostBinding("class.k-i-arrow-60-down"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"arrowDown",null),i.__decorate([o.HostBinding("class.k-i-arrow-60-right"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"arrowRight",null),i.__decorate([o.HostBinding("class.k-i-arrow-60-left"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"arrowLeft",null),e=i.__decorate([o.Directive({selector:"[kendoMenuExpandArrow]"}),i.__metadata("design:paramtypes",[r.ItemsService])],e)}();t.ExpandArrowDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(7),a=n(28),s=n(29),p=function(e,t){return Array.isArray(e)?e[t]||s.last(e):e},c=function(e){function t(t){return e.call(this,t)||this}return i.__extends(t,e),t.prototype.mapItems=function(e,t){var n=this;return void 0===t&&(t=0),e.map((function(e){var i=n.createItem(e,t),o=n.getChildren(e,t);return o&&(i.items=n.mapItems(o,t+1)),i}))},t.prototype.createItem=function(e,t){for(var n={data:e},i=this.fields,o=0;o<i.length;o++){var r=i[o],a=r.target,c=r.source;n[a]=s.getter(p(c,t))(e)}return n},t.prototype.getChildren=function(e,t){if(this.childrenField)return e[p(this.childrenField,t)]},i.__decorate([o.Input("kendoMenuHierarchyBinding"),i.__metadata("design:type",Array)],t.prototype,"data",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"textField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"urlField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"iconField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"disabledField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"cssClassField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"cssStyleField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"separatorField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"childrenField",void 0),t=i.__decorate([o.Directive({exportAs:"kendoMenuHierarchyBinding",selector:"[kendoMenuHierarchyBinding]"}),i.__metadata("design:paramtypes",[r.MenuBase])],t)}(a.BindingDirectiveBase);t.HierarchyBindingDirective=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=["textField","urlField","iconField","disabledField","cssClassField","cssStyleField","separatorField"],o=function(){function e(e){this.menu=e}return e.prototype.ngOnChanges=function(){this.rebind()},e.prototype.rebind=function(){for(var e=this.fields=[],t=0;t<i.length;t++){var n=i[t],o=this[n];o&&e.push({target:n.replace("Field",""),source:o})}this.menu.items=this.data?this.mapItems(this.data):[]},e}();t.BindingDirectiveBase=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=/\[(?:(\d+)|['"](.*?)['"])\]|((?:(?!\[.*?\]|\.).)+)/g,o={undefined:function(e){return e}};t.getter=function(e){if(o[e])return o[e];var t=[];return e.replace(i,(function(e,n,i,o){t.push(void 0!==n?n:i||o)})),o[e]=function(e){for(var n=e,i=0;i<t.length&&n;i++)n=n[t[i]];return n},o[e]},t.last=function(e){return e[e.length-1]}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(7),a=n(28),s=n(29),p=function(e){function t(t){return e.call(this,t)||this}return i.__extends(t,e),t.prototype.mapItems=function(e){var t=this;if(!this.idField||!this.parentIdField)return e.map((function(e){return t.createItem(e)}));for(var n=[],i={},o=0;o<e.length;o++){var r=e[o],a=this.createItem(r),p=s.getter(this.idField)(r),c=s.getter(this.parentIdField)(r);if(null==c)n.push(a);else{var u=i[c]=i[c]||{};u.items=u.items||[],u.items.push(a)}i[p]&&(a.items=i[p].items),i[p]=a}return n},t.prototype.createItem=function(e){for(var t={data:e},n=this.fields,i=0;i<n.length;i++){var o=n[i],r=o.source;t[o.target]=s.getter(r)(e)}return t},i.__decorate([o.Input("kendoMenuFlatBinding"),i.__metadata("design:type",Array)],t.prototype,"data",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"textField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"urlField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"iconField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"disabledField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"cssClassField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"cssStyleField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"separatorField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"idField",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"parentIdField",void 0),t=i.__decorate([o.Directive({exportAs:"kendoMenuFlatBinding",selector:"[kendoMenuFlatBinding]"}),i.__metadata("design:paramtypes",[r.MenuBase])],t)}(a.BindingDirectiveBase);t.FlatBindingDirective=p},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){};t.ContextMenuEvent=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t}(n(20).PreventableEvent);t.ContextMenuPopupEvent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(11),a=n(10),s=n(3),p=n(7),c=n(33),u=n(6),l=n(46),d=n(18),m=n(5),h=n(16),v=n(2),f=n(35),_=n(37),g=n(16),y={horizontal:"left",vertical:"bottom"},b={horizontal:"left",vertical:"top"},x={horizontal:"fit",vertical:"flip"},I=function(e){return e.preventDefault()},O=function(e){function t(t,n,i,r){var a=e.call(this)||this;return a.popupService=t,a.service=n,a.ngZone=i,a.renderer=r,a.showOn="contextmenu",a.alignToAnchor=!1,a.vertical=!0,a.popupOpen=new o.EventEmitter,a.popupClose=new o.EventEmitter,a.select=new o.EventEmitter,a.open=new o.EventEmitter,a.close=new o.EventEmitter,a.service.owner=a,a.popupKeyDownHandler=a.popupKeyDownHandler.bind(a),a}var n;return i.__extends(t,e),n=t,t.prototype.hide=function(){this.removePopup()},t.prototype.show=function(e){if(e){var t=e;this.removePopup(),h.defined(t.left)&&h.defined(t.top)?this.createPopup({offset:t}):(this.currentTarget=t.nativeElement||t,this.createPopup({anchor:this.currentTarget}))}},t.prototype.ngOnChanges=function(e){(e.target||e.showOn)&&this.bindShowHandler()},t.prototype.ngOnInit=function(){var e=this;this.ngZone.runOutsideAngular((function(){var t=e.renderer.listen("document","mousedown",(function(t){e.popupRef&&!m.closest(t.target,(function(t){return t===e.popupRef.popupElement}))&&e.service.leaveMenu(t)&&e.closePopup(t)})),n=e.renderer.listen("window","blur",(function(t){e.popupRef&&e.closePopup(t)}));e.closeSubscription=function(){t(),n()}}))},t.prototype.ngOnDestroy=function(){this.closeSubscription&&(this.closeSubscription(),this.closeSubscription=null),this.unbindShowHandler(),this.removePopup()},t.prototype.emitMenuEvent=function(e,t){t.target=this.currentTarget,t.sender=this,this[e].emit(t),"select"!==e||t.hasContent||this.closeAndFocus(t.originalEvent)},t.prototype.bindShowHandler=function(){var e=this;this.unbindShowHandler(),this.ngZone.runOutsideAngular((function(){var t=e.targetElement();if(t){var n=e.showOn||"contextmenu";e.showSubscription=e.renderer.listen(t,e.showOn||"contextmenu",(function(n){e.showContextMenu(n,t)})),"contextmenu"===n&&(e.keydownSubscription=e.renderer.listen(t,"keydown",(function(n){n.shiftKey&&n.keyCode===s.Keys.F10&&e.showContextMenu(n,t)})))}}))},t.prototype.showContextMenu=function(e,t){var n=this,i=this.targetFilter(),o=t;if(i){if((o=m.findInContainer(e.target,i,t))&&o!==e.target&&m.isFocusable(e.target))return;o&&this.directiveTarget&&(o=this.target.targetService.find(o))}o?this.ngZone.run((function(){n.closePopup(e)||(n.currentTarget=o,n.openPopup(e))})):this.closePopup(e)},t.prototype.unbindShowHandler=function(){this.showSubscription&&(this.showSubscription(),this.showSubscription=null),this.keydownSubscription&&(this.keydownSubscription(),this.keydownSubscription=null)},t.prototype.targetElement=function(){if(s.isDocumentAvailable()){this.directiveTarget=!1;var e=this.target;return"string"==typeof e?e=document.querySelector(e):e&&e.nativeElement?e=e.nativeElement:e instanceof f.ContextMenuTargetContainerDirective&&(e=e.element,this.directiveTarget=!0),e}},t.prototype.targetFilter=function(){return this.directiveTarget?"."+_.TARGET_CLASS:this.filter},t.prototype.closePopup=function(e){var t=this;if(this.popupRef)return this.popupAction("popupClose",e,(function(){t.removePopup()}))},t.prototype.removePopup=function(){this.popupRef&&(this.popupRef.close(),this.popupRef=null,this.currentTarget=null),this.popupSubscriptions&&(this.popupSubscriptions(),this.popupSubscriptions=null)},t.prototype.openPopup=function(e){var t=this;this.popupAction("popupOpen",e,(function(){var n,i;e.preventDefault(),t.alignToAnchor||"keydown"===e.type?n=t.currentTargetElement:i={left:e.pageX,top:e.pageY},t.createPopup({anchor:n,offset:i})}))},t.prototype.createPopup=function(e){var t=this;this.popupRef=this.popupService.open(Object.assign({animate:!h.defined(this.popupAnimate)||this.popupAnimate,appendTo:this.appendTo,collision:this.collision||x,popupAlign:this.popupAlign||b,anchorAlign:this.anchorAlign||y,content:this.contentTemplate?this.contentTemplate.templateRef:this.defaultContentTemplate,popupClass:"k-menu-popup"},e));var n=this.popupRef.popupElement;this.renderer.addClass(n,"k-context-menu-popup"),this.renderer.setAttribute(n,"tabindex","-1"),this.renderer.setStyle(n,"outline","0"),this.ariaLabel&&this.renderer.setAttribute(n,"aria-label",this.ariaLabel),this.activeTarget=this.currentTargetElement===document.activeElement,this.ngZone.runOutsideAngular((function(){var e=t.renderer.listen(n,"keydown",t.popupKeyDownHandler),i=t.renderer.listen(n,"contextmenu",I);t.popupSubscriptions=function(){e(),i()}})),n.focus()},t.prototype.closeAndFocus=function(e){var t=this.currentTargetElement;!this.closePopup(e)&&this.activeTarget&&t.focus()},t.prototype.popupKeyDownHandler=function(e){var t=this.popupRef.popupElement;e.keyCode!==s.Keys.Escape||!m.hasClass(e.target,"k-menu-item")&&e.target!==t?e.target===t&&this.service.keydown.emit(e):this.closeAndFocus(e)},t.prototype.popupAction=function(e,t,n){var i=this,o=this[e],r=!1;return s.hasObservers(o)?this.ngZone.run((function(){var e=new c.ContextMenuPopupEvent({originalEvent:t,sender:i,target:i.currentTarget});o.emit(e),e.isDefaultPrevented()||n(),r=e.isDefaultPrevented()})):n(),r},Object.defineProperty(t.prototype,"currentTargetElement",{get:function(){return this.directiveTarget&&this.currentTarget?this.currentTarget.element:this.currentTarget},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"showOn",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"target",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"filter",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],t.prototype,"alignToAnchor",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Boolean)],t.prototype,"vertical",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"popupAnimate",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"popupAlign",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"anchorAlign",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Object)],t.prototype,"collision",void 0),i.__decorate([o.Input(),i.__metadata("design:type",o.ViewContainerRef)],t.prototype,"appendTo",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],t.prototype,"ariaLabel",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"popupOpen",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"popupClose",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"select",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"open",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],t.prototype,"close",void 0),i.__decorate([o.ContentChild(d.ContextMenuTemplateDirective,{static:!1}),i.__metadata("design:type",d.ContextMenuTemplateDirective)],t.prototype,"contentTemplate",void 0),i.__decorate([o.ViewChild("default",{static:!1}),i.__metadata("design:type",o.TemplateRef)],t.prototype,"defaultContentTemplate",void 0),t=n=i.__decorate([o.Component({exportAs:"kendoContextMenu",providers:[u.ContextMenuService,r.LocalizationService,{provide:r.L10N_PREFIX,useValue:"kendo.contextmenu"},{provide:v.ItemsService,useClass:l.ContextMenuItemsService},{provide:p.MenuBase,useExisting:o.forwardRef((function(){return n}))},a.PopupService,{provide:a.POPUP_CONTAINER,useFactory:g.bodyFactory}],selector:"kendo-contextmenu",template:'\n <ng-template #default>\n <kendo-menu [items]="rootItems"\n [vertical]="vertical"\n [openOnClick]="openOnClick"\n [hoverDelay]="hoverDelay"\n [animate]="animate"\n [menuItemTemplate]="itemTemplate.first?.templateRef"\n [menuItemLinkTemplate]="itemLinkTemplate.first?.templateRef"\n ></kendo-menu>\n </ng-template>\n '}),i.__metadata("design:paramtypes",[a.PopupService,u.ContextMenuService,o.NgZone,o.Renderer2])],t)}(p.MenuBase);t.ContextMenuComponent=O},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(36),a=function(){function e(e,t){this.targetService=t,e&&(this.element=e.nativeElement)}return e=i.__decorate([o.Directive({selector:"[kendoContextMenuTargetContainer]",exportAs:"kendoContextMenuTargetContainer",providers:[r.ContextMenuTargetService]}),i.__metadata("design:paramtypes",[o.ElementRef,r.ContextMenuTargetService])],e)}();t.ContextMenuTargetContainerDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=function(){function e(){this.targets=[]}return e.prototype.add=function(e){this.targets.push(e)},e.prototype.remove=function(e){var t=this.targets.indexOf(e);this.targets.splice(t,1)},e.prototype.find=function(e){return this.targets.find((function(t){return t.element===e}))},e=i.__decorate([o.Injectable()],e)}();t.ContextMenuTargetService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(36);t.TARGET_CLASS="k-contextmenu-target";var a=function(){function e(e,t){this.targetService=t,this.hostClass=!0,e&&(this.element=e.nativeElement),t.add(this)}return e.prototype.ngOnDestroy=function(){this.targetService.remove(this)},i.__decorate([o.Input("kendoContextMenuTarget"),i.__metadata("design:type",Object)],e.prototype,"data",void 0),i.__decorate([o.HostBinding("class."+t.TARGET_CLASS),i.__metadata("design:type",Boolean)],e.prototype,"hostClass",void 0),e=i.__decorate([o.Directive({selector:"[kendoContextMenuTarget]",exportAs:"kendoContextMenuTarget"}),i.__metadata("design:paramtypes",[o.ElementRef,r.ContextMenuTargetService])],e)}();t.ContextMenuTargetDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(31),a=n(10),s=n(17),p=n(34),c=n(18),u=n(37),l=n(35),d=[p.ContextMenuComponent,c.ContextMenuTemplateDirective,u.ContextMenuTargetDirective,l.ContextMenuTargetContainerDirective],m=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[d],exports:[d,s.MenuModule],imports:[a.PopupModule,r.CommonModule,s.MenuModule]})],e)}();t.ContextMenuModule=m},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(19);t.MenuComponent=i.MenuComponent;var o=n(23);t.ListComponent=o.ListComponent;var r=n(24);t.ItemComponent=r.ItemComponent;var a=n(25);t.LinkDirective=a.LinkDirective;var s=n(26);t.ExpandArrowDirective=s.ExpandArrowDirective;var p=n(14);t.MenuItemComponent=p.MenuItemComponent;var c=n(12);t.MenuEvent=c.MenuEvent;var u=n(44);t.MenuSelectEvent=u.MenuSelectEvent;var l=n(15);t.ItemContentTemplateDirective=l.ItemContentTemplateDirective;var d=n(8);t.ItemTemplateDirective=d.ItemTemplateDirective;var m=n(9);t.ItemLinkTemplateDirective=m.ItemLinkTemplateDirective;var h=n(27);t.HierarchyBindingDirective=h.HierarchyBindingDirective;var v=n(30);t.FlatBindingDirective=v.FlatBindingDirective;var f=n(17);t.MenuModule=f.MenuModule;var _=n(32);t.ContextMenuEvent=_.ContextMenuEvent;var g=n(45);t.ContextMenuSelectEvent=g.ContextMenuSelectEvent;var y=n(33);t.ContextMenuPopupEvent=y.ContextMenuPopupEvent;var b=n(18);t.ContextMenuTemplateDirective=b.ContextMenuTemplateDirective;var x=n(34);t.ContextMenuComponent=x.ContextMenuComponent;var I=n(38);t.ContextMenuModule=I.ContextMenuModule;var O=n(6);t.ContextMenuService=O.ContextMenuService;var C=n(47);t.MenusModule=C.MenusModule},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-menu",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1645797988,version:"",licensingDocsUrl:"https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=function(e){return e&&Object.assign({toggle:"select"},e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={vertical:"top",horizontal:"left"},o={vertical:"top",horizontal:"right"},r={vertical:"flip",horizontal:"fit"},a={vertical:"fit",horizontal:"flip"};t.POPUP_SETTINGS_RTL={vertical:{anchor:{vertical:"bottom",horizontal:"right"},popup:o,collision:r,animate:"down"},horizontal:{anchor:{vertical:"top",horizontal:"left"},popup:o,collision:a,animate:"left"}},t.POPUP_SETTINGS={vertical:{anchor:{vertical:"bottom",horizontal:"left"},popup:i,collision:r,animate:"down"},horizontal:{anchor:{vertical:"top",horizontal:"right"},popup:i,collision:a,animate:"right"}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t}(n(12).MenuEvent);t.MenuSelectEvent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i.__extends(t,e),t}(n(32).ContextMenuEvent);t.ContextMenuSelectEvent=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(6),a=function(){function e(e){this.contextService=e}return e.prototype.get=function(e){if(this.contextService.items)return this.contextService.items.get(e)},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[r.ContextMenuService])],e)}();t.ContextMenuItemsService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),o=n(1),r=n(17),a=n(38),s=function(){function e(){}return e=i.__decorate([o.NgModule({exports:[r.MenuModule,a.ContextMenuModule]})],e)}();t.MenusModule=s}])}));
|
|
@@ -9,7 +9,7 @@ export var packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-menu',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1645797988,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-menu',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
12
|
+
publishDate: 1645797988,
|
|
13
13
|
version: '',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
15
15
|
};
|
package/dist/fesm2015/index.js
CHANGED
|
@@ -17,7 +17,7 @@ const packageMetadata = {
|
|
|
17
17
|
name: '@progress/kendo-angular-menu',
|
|
18
18
|
productName: 'Kendo UI for Angular',
|
|
19
19
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
20
|
-
publishDate:
|
|
20
|
+
publishDate: 1645797988,
|
|
21
21
|
version: '',
|
|
22
22
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
23
23
|
};
|
package/dist/fesm5/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var packageMetadata = {
|
|
|
17
17
|
name: '@progress/kendo-angular-menu',
|
|
18
18
|
productName: 'Kendo UI for Angular',
|
|
19
19
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
20
|
-
publishDate:
|
|
20
|
+
publishDate: 1645797988,
|
|
21
21
|
version: '',
|
|
22
22
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
23
23
|
};
|
|
@@ -11,7 +11,7 @@ exports.packageMetadata = {
|
|
|
11
11
|
name: '@progress/kendo-angular-menu',
|
|
12
12
|
productName: 'Kendo UI for Angular',
|
|
13
13
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
14
|
-
publishDate:
|
|
14
|
+
publishDate: 1645797988,
|
|
15
15
|
version: '',
|
|
16
16
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
17
17
|
};
|