@progress/kendo-angular-toolbar 5.0.3-dev.202203280906 → 5.0.4
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-toolbar.js +2 -2
- package/dist/cdn/main.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/toolbar.component.js +5 -10
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/toolbar.component.js +5 -9
- package/dist/fesm2015/index.js +6 -10
- package/dist/fesm5/index.js +6 -11
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/toolbar.component.js +4 -9
- package/dist/systemjs/kendo-angular-toolbar.js +1 -1
- package/package.json +1 -1
|
@@ -220,9 +220,7 @@ var ToolBarComponent = /** @class */ (function () {
|
|
|
220
220
|
});
|
|
221
221
|
});
|
|
222
222
|
if (this.overflow) {
|
|
223
|
-
this.subscriptions.add(rxjs_1.merge(
|
|
224
|
-
// trigger resizing calculations once every 200ms instead of each time the resize event is emitted
|
|
225
|
-
this.resizeSensor.resize.pipe(operators_1.bufferTime(200), operators_2.filter(function (v) { return v.length > 0; })), this.renderedTools.changes).subscribe(function () { _this.onResize(); }));
|
|
223
|
+
this.subscriptions.add(rxjs_1.merge(this.resizeSensor.resize, this.renderedTools.changes).subscribe(function () { _this.onResize(); }));
|
|
226
224
|
// because of https://github.com/telerik/kendo-angular-buttons/pull/276
|
|
227
225
|
// calling onResize twice is the trade-off for removing the manual ChangeDetection
|
|
228
226
|
// triggering altogether - it ensures correct layout and calculations
|
|
@@ -332,16 +330,13 @@ var ToolBarComponent = /** @class */ (function () {
|
|
|
332
330
|
* @hidden
|
|
333
331
|
*/
|
|
334
332
|
ToolBarComponent.prototype.onResize = function () {
|
|
335
|
-
var _this = this;
|
|
336
333
|
if (kendo_angular_common_3.isDocumentAvailable()) {
|
|
337
334
|
var containerWidth = util_1.innerWidth(this.element.nativeElement) - this.overflowAnchorWidth;
|
|
338
335
|
this.shrink(containerWidth, this.childrenWidth);
|
|
339
336
|
this.stretch(containerWidth, this.childrenWidth);
|
|
340
|
-
this.
|
|
341
|
-
|
|
342
|
-
});
|
|
337
|
+
this.displayAnchor();
|
|
338
|
+
this.resizeSensor.acceptSize();
|
|
343
339
|
}
|
|
344
|
-
this.resizeSensor.acceptSize();
|
|
345
340
|
};
|
|
346
341
|
/**
|
|
347
342
|
* @hidden
|
|
@@ -639,7 +634,7 @@ var ToolBarComponent = /** @class */ (function () {
|
|
|
639
634
|
}
|
|
640
635
|
],
|
|
641
636
|
selector: 'kendo-toolbar',
|
|
642
|
-
template: "\n <ng-container kendoToolbarLocalizedMessages\n i18n-moreToolsTitle=\"kendo.toolbar.moreToolsTitle|The title of the **more tools** button in a responsive ToolBar\"\n moreToolsTitle=\"More tools\"\n >\n </ng-container>\n <ng-container *ngFor=\"let tool of allTools; let index = index\">\n <kendo-toolbar-renderer\n #toolbarRenderer\n (rendererClick)=\"onRendererClick($event)\"\n [location]=\"'toolbar'\"\n [resizable]=\"overflow\"\n [tool]=\"tool\"\n ></kendo-toolbar-renderer>\n </ng-container>\n <button\n #overflowButton\n type=\"button\"\n tabindex=\"-1\"\n [title]=\"moreToolsTitle\"\n [attr.aria-label]=\"moreToolsTitle\"\n *ngIf=\"overflow\"\n [style.visibility]=\"'hidden'\"\n class=\"k-overflow-anchor k-button\"\n (click)=\"showPopup()\"\n >\n <span class=\"k-icon k-i-more-vertical\"></span>\n </button>\n <ng-template #popupTemplate>\n <ul class=\"k-overflow-container k-list-container k-reset\">\n <ng-container *ngFor=\"let tool of allTools; let index = index\">\n <li class=\"k-item\">\n <kendo-toolbar-renderer\n #overflowRenderer\n (rendererClick)=\"onRendererClick($event)\"\n [location]=\"'overflow'\"\n [resizable]=\"overflow\"\n [tool]=\"tool\"\n ></kendo-toolbar-renderer>\n </li>\n </ng-container>\n </ul>\n </ng-template>\n <ng-container #container></ng-container>\n <kendo-resize-sensor *ngIf=\"overflow\"
|
|
637
|
+
template: "\n <ng-container kendoToolbarLocalizedMessages\n i18n-moreToolsTitle=\"kendo.toolbar.moreToolsTitle|The title of the **more tools** button in a responsive ToolBar\"\n moreToolsTitle=\"More tools\"\n >\n </ng-container>\n <ng-container *ngFor=\"let tool of allTools; let index = index\">\n <kendo-toolbar-renderer\n #toolbarRenderer\n (rendererClick)=\"onRendererClick($event)\"\n [location]=\"'toolbar'\"\n [resizable]=\"overflow\"\n [tool]=\"tool\"\n ></kendo-toolbar-renderer>\n </ng-container>\n <button\n #overflowButton\n type=\"button\"\n tabindex=\"-1\"\n [title]=\"moreToolsTitle\"\n [attr.aria-label]=\"moreToolsTitle\"\n *ngIf=\"overflow\"\n [style.visibility]=\"'hidden'\"\n class=\"k-overflow-anchor k-button\"\n (click)=\"showPopup()\"\n >\n <span class=\"k-icon k-i-more-vertical\"></span>\n </button>\n <ng-template #popupTemplate>\n <ul class=\"k-overflow-container k-list-container k-reset\">\n <ng-container *ngFor=\"let tool of allTools; let index = index\">\n <li class=\"k-item\">\n <kendo-toolbar-renderer\n #overflowRenderer\n (rendererClick)=\"onRendererClick($event)\"\n [location]=\"'overflow'\"\n [resizable]=\"overflow\"\n [tool]=\"tool\"\n ></kendo-toolbar-renderer>\n </li>\n </ng-container>\n </ul>\n </ng-template>\n <ng-container #container></ng-container>\n <kendo-resize-sensor *ngIf=\"overflow\" #resizeSensor></kendo-resize-sensor>\n "
|
|
643
638
|
}),
|
|
644
639
|
tslib_1.__metadata("design:paramtypes", [kendo_angular_l10n_1.LocalizationService,
|
|
645
640
|
kendo_angular_popup_1.PopupService,
|
|
@@ -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
|
-
System.register("@progress/kendo-angular-toolbar",["tslib","@progress/kendo-angular-popup","@progress/kendo-angular-l10n","@angular/core","@progress/kendo-angular-common","@progress/kendo-licensing","rxjs","rxjs/operators","@angular/common","@progress/kendo-angular-buttons"],function(a){var r,s,l,p,u,d,c,f,g,h;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){r=t(e)},function(e){s=t(e)},function(e){l=t(e)},function(e){p=t(e)},function(e){u=t(e)},function(e){d=t(e)},function(e){c=t(e)},function(e){f=t(e)},function(e){g=t(e)},function(e){h=t(e)}],execute:function(){function n(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var o,i;o=[function(e,t){e.exports=p},function(e,t){e.exports=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),o=o(0),n=(Object.defineProperty(i.prototype,"toolbarDisplay",{get:function(){return this.overflows?"none":"inline-block"},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"overflowDisplay",{get:function(){return this.overflows?"block":"none"},enumerable:!0,configurable:!0}),i.prototype.canFocus=function(){return!1},i.prototype.focus=function(e){},i.prototype.handleKey=function(e){return!1},n.__decorate([o.Input(),n.__metadata("design:type",Boolean)],i.prototype,"responsive",void 0),n.__decorate([o.Component({selector:"toolbar-tool",template:""})],i));function i(){this.tabIndex=-1,this.overflows=!0,this.responsive=!0}t.ToolBarToolComponent=n},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=t(5),i=/^(?:a|input|select|textarea|button|object)$/i;r.outerWidth=function(e){var t=e.offsetWidth,e=getComputedStyle(e);return t+(parseFloat(e.marginLeft)||0+parseFloat(e.marginRight)||0)},r.innerWidth=function(e){var t=e.offsetWidth,e=getComputedStyle(e);return(t-=parseFloat(e.paddingLeft)||0+parseFloat(e.borderLeftWidth)||0)-(parseFloat(e.paddingRight)||0+parseFloat(e.borderRightWidth)||0)},r.outerHeight=function(e){var t=e.offsetHeight,e=getComputedStyle(e);return t+(parseFloat(e.marginTop)||0+parseFloat(e.marginBottom)||0)},r.closest=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},r.isVisible=function(e){var t=e.getBoundingClientRect(),o=0<t.width&&0<t.height,t=0!==t.x&&0!==t.y;return(o||t)&&"hidden"!==window.getComputedStyle(e).visibility},r.findElement=function(e,t,o){if(void 0===o&&(o=!0),e){if(o&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var n=r.findElement(e,t);if(n)return n}e=e.nextSibling}}},r.isFocusable=function(e,t){var o,n;return void 0===t&&(t=!0),!!e.tagName&&(o=e.tagName.toLowerCase(),n=null!==e.getAttribute("tabIndex"),(n=i.test(o)?!e.disabled:n)&&(!t||r.isVisible(e)))},r.findFocusable=function(e,t){return void 0===t&&(t=!0),r.findElement(e,function(e){return r.isFocusable(e,t)})},r.findFocusableChild=function(e,t){return void 0===t&&(t=!0),r.findElement(e,function(e){return r.isFocusable(e,t)},!1)},r.findFocusableSibling=function(e,t,o){void 0===t&&(t=!0);for(var n=o?e.prevSibling:e.nextSibling;n;){if(1===n.nodeType){var i=r.findElement(n,function(e){return r.isFocusable(e,t)});if(i)return i}n=o?n.prevSibling:n.nextSibling}},r.isPresent=function(e){return null!=e},r.makePeeker=function(t){return function(e){return r.isPresent(t[e])}},r.getIndexOfFocused=function(e,o,n){return function(t){switch(t.type){case"keydown":if(t.keyCode===e)return n.length-1;if(t.keyCode===o)return 0;break;case"click":return n.findIndex(function(e){return e===t.target||e.contains(t.target)});default:return 0}}},r.seekFocusedIndex=function(o,n,i){return function(e,t){switch(t.keyCode){case o:return i(e-1)?e-1:e;case n:return i(e+1)?e+1:e;default:return e}}},r.areEqual=function(t){return function(e){return t===e}},r.getNextKey=function(t){return void 0===t&&(t=!1),function(e){return(e=void 0===e?!0:e)?o.Keys.ArrowDown:t?o.Keys.ArrowLeft:o.Keys.ArrowRight}},r.getPrevKey=function(t){return void 0===t&&(t=!1),function(e){return(e=void 0===e?!0:e)?o.Keys.ArrowUp:t?o.Keys.ArrowRight:o.Keys.ArrowLeft}},r.getValueForLocation=function(e,t,o){switch(t){case"toolbar":return o?void 0:e;case"overflow":return o?e:void 0;default:return e}}},function(e,t){e.exports=l},function(e,t){e.exports=u},function(e,t){e.exports=h},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),o=(r.prototype.getText=function(e){if(e)return this.textField?e[this.textField]:e.text||e},r.prototype.onClick=function(e,t){t=this.data[t];e.click&&e.click(t),this.itemClick.emit(t)},n.__decorate([i.Input(),n.__metadata("design:type",Array)],r.prototype,"data",void 0),n.__decorate([i.Input(),n.__metadata("design:type",String)],r.prototype,"textField",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],r.prototype,"disabled",void 0),n.__decorate([i.Input(),n.__metadata("design:type",String)],r.prototype,"fillMode",void 0),n.__decorate([i.Input(),n.__metadata("design:type",String)],r.prototype,"themeColor",void 0),n.__decorate([i.Output(),n.__metadata("design:type",i.EventEmitter)],r.prototype,"itemClick",void 0),n.__decorate([i.ViewChildren("button"),n.__metadata("design:type",i.QueryList)],r.prototype,"buttons",void 0),n.__decorate([i.Component({selector:"kendo-toolbar-buttonlist",template:'\n <button\n #button\n type="button"\n tabindex="-1"\n kendoButton\n style="padding-left: 16px"\n class="k-overflow-button"\n *ngFor="let item of data; let i = index"\n [disabled]="disabled || item.disabled"\n [icon]="item.icon"\n [iconClass]="item.iconClass"\n [imageUrl]="item.imageUrl"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n (click)="onClick(item, i)"\n >\n {{ getText(item) }}\n </button>\n '})],r));function r(){this.disabled=!1,this.fillMode="solid",this.themeColor="base",this.itemClick=new i.EventEmitter}t.ToolBarButtonListComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(2),l=o(3),o=(n=s.ToolBarToolComponent,r.__extends(p,n),i=p,Object.defineProperty(p.prototype,"text",{set:function(e){this.toolbarOptions.text=l.getValueForLocation(e,this.showText,!1),this.overflowOptions.text=l.getValueForLocation(e,this.showText,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"look",{set:function(e){e&&(this.fillMode="default"===e?"solid":e)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"togglable",{get:function(){return this.toggleable},set:function(e){this.toggleable=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"icon",{set:function(e){this.toolbarOptions.icon=l.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.icon=l.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"iconClass",{set:function(e){this.toolbarOptions.iconClass=l.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.iconClass=l.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"imageUrl",{set:function(e){this.toolbarOptions.imageUrl=l.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.imageUrl=l.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),p.prototype.onBlur=function(){this.getButton().tabIndex=-1},p.prototype.canFocus=function(){return!this.disabled},p.prototype.focus=function(e){e&&"focus"!==e.type&&"keydown"!==e.type||this.getButton().focus(),this.getButton().tabIndex=0},p.prototype.handleKey=function(){return!(this.getButton().tabIndex=-1)},p.prototype.getButton=function(){return(this.overflows?this.overflowButtonElement:this.toolbarButtonElement).nativeElement},r.__decorate([a.Input(),r.__metadata("design:type",String)],p.prototype,"showText",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],p.prototype,"showIcon",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],p.prototype,"text",null),r.__decorate([a.Input(),r.__metadata("design:type",Object)],p.prototype,"style",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],p.prototype,"className",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],p.prototype,"title",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],p.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],p.prototype,"toggleable",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],p.prototype,"look",null),r.__decorate([a.Input(),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[Boolean])],p.prototype,"togglable",null),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],p.prototype,"selected",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],p.prototype,"fillMode",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],p.prototype,"themeColor",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],p.prototype,"icon",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],p.prototype,"iconClass",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],p.prototype,"imageUrl",null),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],p.prototype,"click",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],p.prototype,"pointerdown",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],p.prototype,"selectedChange",void 0),r.__decorate([a.ViewChild("toolbarTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],p.prototype,"toolbarTemplate",void 0),r.__decorate([a.ViewChild("popupTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],p.prototype,"popupTemplate",void 0),r.__decorate([a.ViewChild("toolbarButton",{read:a.ElementRef,static:!1}),r.__metadata("design:type",a.ElementRef)],p.prototype,"toolbarButtonElement",void 0),r.__decorate([a.ViewChild("overflowButton",{read:a.ElementRef,static:!1}),r.__metadata("design:type",a.ElementRef)],p.prototype,"overflowButtonElement",void 0),i=r.__decorate([a.Component({exportAs:"kendoToolBarButton",providers:[{provide:s.ToolBarToolComponent,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-button",template:'\n <ng-template #toolbarTemplate>\n <button\n #toolbarButton\n [tabindex]="tabIndex"\n type="button"\n kendoButton\n [ngStyle]="style"\n [ngClass]="className"\n [attr.title]="title"\n [disabled]="disabled"\n [toggleable]="toggleable"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n [selected]="selected"\n [icon]="toolbarOptions.icon"\n [iconClass]="toolbarOptions.iconClass"\n [imageUrl]="toolbarOptions.imageUrl"\n (click)="click.emit($event)"\n (pointerdown)="pointerdown.emit($event)"\n (selectedChange)="selectedChange.emit($event)"\n (blur)="onBlur()"\n >\n {{ toolbarOptions.text }}\n </button>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n #overflowButton\n tabindex="-1"\n type="button"\n kendoButton\n class="k-overflow-button"\n [ngStyle]="style"\n [ngClass]="className"\n [attr.title]="title"\n [disabled]="disabled"\n [toggleable]="toggleable"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n [selected]="selected"\n [icon]="overflowOptions.icon"\n [iconClass]="overflowOptions.iconClass"\n [imageUrl]="overflowOptions.imageUrl"\n (click)="click.emit($event)"\n (selectedChange)="selectedChange.emit($event)"\n >\n {{ overflowOptions.text }}\n </button>\n </ng-template>\n '}),r.__metadata("design:paramtypes",[])],p));function p(){var e=n.call(this)||this;return e.showText="both",e.showIcon="both",e.toggleable=!1,e.selected=!1,e.fillMode="solid",e.themeColor="base",e.click=new a.EventEmitter,e.pointerdown=new a.EventEmitter,e.selectedChange=new a.EventEmitter,e.toolbarOptions={text:"",icon:"",iconClass:"",imageUrl:""},e.overflowOptions={text:"",icon:"",iconClass:"",imageUrl:""},e}t.ToolBarButtonComponent=o},function(e,t){e.exports=f},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(4),o=o(11),o=(n=o.ToolbarMessages,r.__extends(l,n),i=l,Object.defineProperty(l.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),i=r.__decorate([a.Component({providers:[{provide:o.ToolbarMessages,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-messages",template:""}),r.__metadata("design:paramtypes",[s.LocalizationService])],l));function l(e){var t=n.call(this)||this;return t.service=e,t}t.ToolbarCustomMessagesComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(0),o=(n=o(4).ComponentMessages,i.__extends(a,n),i.__decorate([r.Input(),i.__metadata("design:type",String)],a.prototype,"moreToolsTitle",void 0),a);function a(){return null!==n&&n.apply(this,arguments)||this}t.ToolbarMessages=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(4),o=o(11),o=(n=o.ToolbarMessages,r.__extends(l,n),i=l,i=r.__decorate([a.Directive({providers:[{provide:o.ToolbarMessages,useExisting:a.forwardRef(function(){return i})}],selector:"[kendoToolbarLocalizedMessages]"}),r.__metadata("design:paramtypes",[s.LocalizationService])],l));function l(e){var t=n.call(this)||this;return t.service=e,t}t.LocalizedToolbarMessagesDirective=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),o=o(2),o=(n=o.ToolBarToolComponent,r.__extends(s,n),(i=s).prototype.canFocus=function(){return!1},s.prototype.focus=function(){},s.prototype.handleKey=function(){return!1},s.prototype.ngAfterViewInit=function(){this.popupTemplate||(this.popupTemplate=this.toolbarTemplate)},r.__decorate([a.ViewChild("toolbarTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],s.prototype,"toolbarTemplate",void 0),r.__decorate([a.ViewChild("popupTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],s.prototype,"popupTemplate",void 0),r.__decorate([a.ViewChild("separator",{static:!1}),r.__metadata("design:type",a.ElementRef)],s.prototype,"separator",void 0),i=r.__decorate([a.Component({exportAs:"kendoToolBarSeparator",providers:[{provide:o.ToolBarToolComponent,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-separator",template:'\n <ng-template #toolbarTemplate>\n <div class="k-separator"></div>\n </ng-template>\n '}),r.__metadata("design:paramtypes",[])],s));function s(){return n.call(this)||this}t.ToolBarSeparatorComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(6),l=o(2),p=o(7),u=o(3),o=(n=l.ToolBarToolComponent,r.__extends(d,n),i=d,Object.defineProperty(d.prototype,"text",{set:function(e){this.toolbarOptions.text=u.getValueForLocation(e,this.showText,!1),this.overflowOptions.text=u.getValueForLocation(e,this.showText,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"icon",{set:function(e){this.toolbarOptions.icon=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.icon=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"iconClass",{set:function(e){this.toolbarOptions.iconClass=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.iconClass=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"imageUrl",{set:function(e){this.toolbarOptions.imageUrl=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.imageUrl=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"popupSettings",{get:function(){return this._popupSettings||(this._popupSettings={animate:!0,popupClass:""}),this._popupSettings},set:function(e){this._popupSettings=e},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"look",{set:function(e){e&&(this.fillMode="default"===e?"solid":e)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"data",{get:function(){return this._data||(this.data=[]),this._data},set:function(e){this._data=e||[]},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"overflowButtons",{get:function(){return[this.overflowSplitButton].concat(this.overflowSplitButtonButtonList.buttons.toArray().filter(function(e){return!e.nativeElement.disabled}))},enumerable:!0,configurable:!0}),d.prototype.onButtonListClick=function(t){this.focusedIndex=this.overflowButtons.findIndex(function(e){return e.nativeElement.contains(t.target)})},d.prototype.onMainButtonClick=function(e){this.buttonClick.emit(e),this.focusedIndex=0},d.prototype.canFocus=function(){return!this.disabled},d.prototype.focus=function(e){void 0===e&&(e={}),this.overflows?0<this.overflowButtons.length&&(this.focusedIndex=u.getIndexOfFocused(this.getPrevKey(),this.getNextKey(),this.overflowButtons.map(function(e){return e.nativeElement}))(e),this.focusButton(this.focusedIndex,e)):"focus"!==e.type&&"keydown"!==e.type||this.toolbarSplitButton.focus()},d.prototype.handleKey=function(e){return!!(this.overflows||e.keyCode!==this.getPrevKey(this.overflows)&&e.keyCode!==this.getNextKey(this.overflows))&&(this.overflows?(t=u.makePeeker(this.overflowButtons),o=u.areEqual(this.focusedIndex),this.focusedIndex=u.seekFocusedIndex(this.getPrevKey(),this.getNextKey(),t)(this.focusedIndex,e),this.focusButton(this.focusedIndex,e),!o(this.focusedIndex)):void 0);var t,o},d.prototype.focusButton=function(e,t){t.type&&"focus"!==t.type&&"keydown"!==t.type&&"click"!==t.type||this.overflowButtons[e].nativeElement.focus()},r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"showText",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"showIcon",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"text",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"icon",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"iconClass",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"imageUrl",null),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],d.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],d.prototype,"popupSettings",null),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"fillMode",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"themeColor",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"look",null),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"buttonClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],d.prototype,"arrowButtonClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"arrowButtonIcon",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"textField",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Array),r.__metadata("design:paramtypes",[Array])],d.prototype,"data",null),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"buttonClick",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"itemClick",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"open",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"close",void 0),r.__decorate([a.ViewChild("toolbarTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],d.prototype,"toolbarTemplate",void 0),r.__decorate([a.ViewChild("popupTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],d.prototype,"popupTemplate",void 0),r.__decorate([a.ViewChild("toolbarSplitButton",{static:!1}),r.__metadata("design:type",s.SplitButtonComponent)],d.prototype,"toolbarSplitButton",void 0),r.__decorate([a.ViewChild("overflowSplitButton",{read:a.ElementRef,static:!1}),r.__metadata("design:type",a.ElementRef)],d.prototype,"overflowSplitButton",void 0),r.__decorate([a.ViewChild("overflowSplitButtonButtonList",{static:!1}),r.__metadata("design:type",p.ToolBarButtonListComponent)],d.prototype,"overflowSplitButtonButtonList",void 0),i=r.__decorate([a.Component({exportAs:"kendoToolBarSplitButton",providers:[{provide:l.ToolBarToolComponent,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-splitbutton",template:'\n <ng-template #toolbarTemplate>\n <kendo-splitbutton\n #toolbarSplitButton\n [data]="data"\n [text]="toolbarOptions.text"\n [icon]="toolbarOptions.icon"\n [iconClass]="toolbarOptions.iconClass"\n [imageUrl]="toolbarOptions.imageUrl"\n [buttonClass]="buttonClass"\n [arrowButtonClass]="arrowButtonClass"\n [arrowButtonIcon]="arrowButtonIcon"\n [disabled]="disabled"\n [tabIndex]="-1"\n [textField]="textField"\n [popupSettings]="popupSettings"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n (buttonClick)="buttonClick.emit($event)"\n (open)="open.emit($event)"\n (close)="close.emit($event)"\n (itemClick)="itemClick.emit($event)"\n >\n </kendo-splitbutton>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n #overflowSplitButton\n type="button"\n tabindex="-1"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n kendoButton\n class="k-overflow-button"\n [disabled]="disabled"\n [icon]="overflowOptions.icon"\n [iconClass]="overflowOptions.iconClass"\n [imageUrl]="overflowOptions.imageUrl"\n [ngClass]="buttonClass"\n (click)="buttonClick.emit($event)"\n (click)="onMainButtonClick($event)"\n >\n {{ overflowOptions.text }}\n </button>\n <kendo-toolbar-buttonlist\n #overflowSplitButtonButtonList\n [data]="data"\n [disabled]="disabled"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n [textField]="textField"\n (itemClick)="itemClick.emit($event)"\n (click)="onButtonListClick($event)"\n >\n </kendo-toolbar-buttonlist>\n </ng-template>\n '}),r.__metadata("design:paramtypes",[])],d));function d(){var e=n.call(this)||this;return e.showText="both",e.showIcon="both",e.fillMode="solid",e.themeColor="base",e.arrowButtonIcon="arrow-s",e.textField="text",e.buttonClick=new a.EventEmitter,e.itemClick=new a.EventEmitter,e.open=new a.EventEmitter,e.close=new a.EventEmitter,e.toolbarOptions={text:"",icon:"",iconClass:"",imageUrl:""},e.overflowOptions={text:"",icon:"",iconClass:"",imageUrl:""},e._popupSettings={animate:!0,popupClass:""},e.focusedIndex=-1,e.getNextKey=u.getNextKey(),e.getPrevKey=u.getPrevKey(),e}t.ToolBarSplitButtonComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(2),l=o(6),p=o(7),u=o(3),o=(n=s.ToolBarToolComponent,r.__extends(d,n),i=d,Object.defineProperty(d.prototype,"text",{set:function(e){this.toolbarOptions.text=u.getValueForLocation(e,this.showText,!1),this.overflowOptions.text=u.getValueForLocation(e,this.showText,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"icon",{set:function(e){this.toolbarOptions.icon=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.icon=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"iconClass",{set:function(e){this.toolbarOptions.iconClass=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.iconClass=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"imageUrl",{set:function(e){this.toolbarOptions.imageUrl=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.imageUrl=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"popupSettings",{get:function(){return this._popupSettings},set:function(e){this._popupSettings=Object.assign({animate:!0,popupClass:""},e)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"look",{set:function(e){e&&(this.fillMode="default"===e?"solid":e)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"primary",{set:function(e){this.themeColor=e?"primary":"base"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"data",{get:function(){return this._data||(this.data=[]),this._data},set:function(e){this._data=e||[]},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"overflowButtons",{get:function(){return this.overflowDropDownButtonButtonList.buttons.toArray().filter(function(e){return!e.nativeElement.disabled}).slice()},enumerable:!0,configurable:!0}),d.prototype.onButtonListClick=function(t){this.focusedIndex=this.overflowDropDownButtonButtonList.buttons.toArray().findIndex(function(e){return e.nativeElement.contains(t.target)})},d.prototype.canFocus=function(){return!this.disabled},d.prototype.focus=function(e){void 0===e&&(e={}),this.overflows?0<this.overflowButtons.length&&(this.focusedIndex=u.getIndexOfFocused(this.getPrevKey(),this.getNextKey(),this.overflowButtons.map(function(e){return e.nativeElement}))(e),this.focusButton(this.focusedIndex,e)):"focus"!==e.type&&"keydown"!==e.type||this.toolbarDropDownButton.focus()},d.prototype.handleKey=function(e){return!!(this.overflows||e.keyCode!==this.getPrevKey(this.overflows)&&e.keyCode!==this.getNextKey(this.overflows))&&(this.overflows?(t=u.makePeeker(this.overflowButtons),o=u.areEqual(this.focusedIndex),this.focusedIndex=u.seekFocusedIndex(this.getPrevKey(),this.getNextKey(),t)(this.focusedIndex,e),this.focusButton(this.focusedIndex,e),!o(this.focusedIndex)):void 0);var t,o},d.prototype.focusButton=function(e,t){t.type&&"focus"!==t.type&&"keydown"!==t.type||this.overflowButtons[e].nativeElement.focus()},r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"showText",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"showIcon",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"text",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"icon",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"iconClass",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"imageUrl",null),r.__decorate([a.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],d.prototype,"popupSettings",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"look",null),r.__decorate([a.Input(),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[Boolean])],d.prototype,"primary",null),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"fillMode",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"themeColor",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"buttonClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"textField",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],d.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Array),r.__metadata("design:paramtypes",[Array])],d.prototype,"data",null),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"itemClick",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"open",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"close",void 0),r.__decorate([a.ViewChild("toolbarTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],d.prototype,"toolbarTemplate",void 0),r.__decorate([a.ViewChild("popupTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],d.prototype,"popupTemplate",void 0),r.__decorate([a.ViewChild("dropdownButton",{read:a.ElementRef,static:!0}),r.__metadata("design:type",a.ElementRef)],d.prototype,"dropdownButton",void 0),r.__decorate([a.ViewChild(l.DropDownButtonComponent,{static:!1}),r.__metadata("design:type",l.DropDownButtonComponent)],d.prototype,"dropDownButtonComponent",void 0),r.__decorate([a.ViewChild("toolbarDropDownButton",{static:!1}),r.__metadata("design:type",l.DropDownButtonComponent)],d.prototype,"toolbarDropDownButton",void 0),r.__decorate([a.ViewChild("overflowDropDownButtonButtonList",{static:!1}),r.__metadata("design:type",p.ToolBarButtonListComponent)],d.prototype,"overflowDropDownButtonButtonList",void 0),i=r.__decorate([a.Component({exportAs:"kendoToolBarDropDownButton",providers:[{provide:s.ToolBarToolComponent,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-dropdownbutton",template:'\n <ng-template #toolbarTemplate>\n <kendo-dropdownbutton\n #toolbarDropDownButton\n [icon]="toolbarOptions.icon"\n [iconClass]="toolbarOptions.iconClass"\n [imageUrl]="toolbarOptions.imageUrl"\n [buttonClass]="buttonClass"\n [disabled]="disabled"\n [tabIndex]="-1"\n [data]="data"\n [textField]="textField"\n [popupSettings]="popupSettings"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n (open)="open.emit($event)"\n (close)="close.emit($event)"\n (itemClick)="itemClick.emit($event)"\n >\n {{ toolbarOptions.text }}\n </kendo-dropdownbutton>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n type="button"\n tabindex="-1"\n kendoButton\n class="k-overflow-button"\n [disabled]="true"\n [icon]="overflowOptions.icon"\n [iconClass]="overflowOptions.iconClass"\n [imageUrl]="overflowOptions.imageUrl"\n [ngClass]="buttonClass"\n (click)="itemClick.emit($event)"\n >\n {{ overflowOptions.text }}\n </button>\n <kendo-toolbar-buttonlist\n #overflowDropDownButtonButtonList\n [data]="data"\n [disabled]="disabled"\n [textField]="textField"\n (itemClick)="itemClick.emit($event)"\n (click)="onButtonListClick($event)"\n >\n </kendo-toolbar-buttonlist>\n </ng-template>\n '}),r.__metadata("design:paramtypes",[])],d));function d(){var e=n.call(this)||this;return e.showText="both",e.showIcon="both",e.fillMode="solid",e.themeColor="base",e.itemClick=new a.EventEmitter,e.open=new a.EventEmitter,e.close=new a.EventEmitter,e.toolbarOptions={text:"",icon:"",iconClass:"",imageUrl:""},e.overflowOptions={text:"",icon:"",iconClass:"",imageUrl:""},e._popupSettings={animate:!0,popupClass:""},e.focusedIndex=-1,e.getNextKey=u.getNextKey(),e.getPrevKey=u.getPrevKey(),e}t.ToolBarDropDownButtonComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(4),l=o(2),p=o(8),u=o(6),d=o(3),o=(n=l.ToolBarToolComponent,r.__extends(c,n),i=c,Object.defineProperty(c.prototype,"look",{set:function(t){t&&this.buttonComponents.forEach(function(e){return e.fillMode="default"===t?"solid":t})},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"buttonElements",{get:function(){return this.getButtonGroup().buttons.filter(function(e){return!e.isDisabled}).map(function(e){return e.element})},enumerable:!0,configurable:!0}),c.prototype.onFocus=function(){this.focusedIndex=0},c.prototype.onNavigate=function(e){e.preventDefault()},c.prototype.selectedChangeHandler=function(e,t){t.selected=e,t.selectedChange.emit(e)},c.prototype.onButtonClick=function(t){this.focusedIndex=this.buttonElements.findIndex(function(e){return e===t.target||e.contains(t.target)}),this.focusButton(this.focusedIndex,t)},c.prototype.canFocus=function(){return!(this.disabled||0===this.buttonElements.length)},c.prototype.focus=function(e){void 0===e&&(e={});var t=this.getNextKey(this.overflows),o=this.getPrevKey(this.overflows);this.focusedIndex=d.getIndexOfFocused(o,t,this.buttonElements)(e),this.focusButton(this.focusedIndex,e)},c.prototype.handleKey=function(e){var t=this.getNextKey(this.overflows),o=this.getPrevKey(this.overflows),n=d.makePeeker(this.buttonElements),i=d.areEqual(this.focusedIndex);return this.focusedIndex=d.seekFocusedIndex(o,t,n)(this.focusedIndex,e),this.focusButton(this.focusedIndex,e),!i(this.focusedIndex)},c.prototype.getButtonGroup=function(){return this.overflows?this.overflowButtonGroup:this.toolbarButtonGroup},c.prototype.focusButton=function(e,t){t.type&&"focus"!==t.type&&"keydown"!==t.type||this.buttonElements[e].focus()},r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],c.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],c.prototype,"selection",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],c.prototype,"width",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],c.prototype,"look",null),r.__decorate([a.ViewChild("toolbarTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],c.prototype,"toolbarTemplate",void 0),r.__decorate([a.ViewChild("popupTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],c.prototype,"popupTemplate",void 0),r.__decorate([a.ContentChildren(a.forwardRef(function(){return p.ToolBarButtonComponent})),r.__metadata("design:type",a.QueryList)],c.prototype,"buttonComponents",void 0),r.__decorate([a.ViewChild("toolbarButtonGroup",{static:!1}),r.__metadata("design:type",u.ButtonGroupComponent)],c.prototype,"toolbarButtonGroup",void 0),r.__decorate([a.ViewChild("overflowButtonGroup",{static:!1}),r.__metadata("design:type",u.ButtonGroupComponent)],c.prototype,"overflowButtonGroup",void 0),i=r.__decorate([a.Component({exportAs:"kendoToolBarButtonGroup",providers:[s.LocalizationService,{provide:l.ToolBarToolComponent,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-buttongroup",template:'\n <ng-template #toolbarTemplate>\n <kendo-buttongroup\n #toolbarButtonGroup\n [tabIndex]="-1"\n [selection]="selection"\n [disabled]="disabled"\n [width]="width"\n (navigate)="onNavigate($event)"\n (focus)="onFocus()"\n >\n <span\n kendoButton\n *ngFor="let button of buttonComponents"\n [ngStyle]="button.style"\n [ngClass]="button.className"\n [attr.title]="button.title"\n [disabled]="button.disabled"\n [togglable]="button.togglable"\n [selected]="button.selected"\n [fillMode]="button.fillMode"\n [themeColor]="button.fillMode ? button.themeColor : null"\n [icon]="button.toolbarOptions.icon"\n [iconClass]="button.toolbarOptions.iconClass"\n [imageUrl]="button.toolbarOptions.imageUrl"\n (click)="button.click.emit($event); onButtonClick($event)"\n (pointerdown)="button.pointerdown.emit($event)"\n (selectedChange)="selectedChangeHandler($event, button)"\n >\n {{ button.toolbarOptions.text }}\n </span>\n </kendo-buttongroup>\n </ng-template>\n <ng-template #popupTemplate>\n <kendo-buttongroup\n #overflowButtonGroup\n class="k-overflow-button"\n [tabIndex]="-1"\n [selection]="selection"\n [disabled]="disabled"\n [width]="width"\n >\n <span\n kendoButton\n class="k-overflow-button"\n *ngFor="let button of buttonComponents"\n [ngStyle]="button.style"\n [ngClass]="button.className"\n [attr.title]="button.title"\n [disabled]="button.disabled"\n [togglable]="button.togglable"\n [selected]="button.selected"\n [fillMode]="button.fillMode"\n [themeColor]="button.fillMode ? button.themeColor : null"\n [icon]="button.overflowOptions.icon"\n [iconClass]="button.overflowOptions.iconClass"\n [imageUrl]="button.overflowOptions.imageUrl"\n (click)="button.click.emit($event); onButtonClick($event)"\n (selectedChange)="selectedChangeHandler($event, button)"\n >\n {{ button.overflowOptions.text }}\n </span>\n </kendo-buttongroup>\n </ng-template>\n '}),r.__metadata("design:paramtypes",[s.LocalizationService])],c));function c(e){var t=n.call(this)||this;return t.localization=e,t.selection="multiple",t.focusedIndex=-1,t.getNextKey=d.getNextKey(t.localization.rtl),t.getPrevKey=d.getPrevKey(t.localization.rtl),t}t.ToolBarButtonGroupComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),o=(r.prototype.refresh=function(e){this.onRefresh.emit(e)},n.__decorate([i.Injectable()],r));function r(){this.onRefresh=new i.EventEmitter}t.RefreshService=o},function(e,t){e.exports=s},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(e){return{animate:!0,anchorAlign:{horizontal:e?"left":"right",vertical:"bottom"},popupAlign:{horizontal:e?"left":"right",vertical:"top"}}}var i=o(1),l=o(0),r=o(18),a=o(5),s=o(4),p=o(29),u=o(28),d=o(17),c=o(27),f=o(2),g=o(3),h=o(5),m=o(26),_=o(25),b=o(9),y=o(9),v=o(5),w=o(24),o=(Object.defineProperty(C.prototype,"resizable",{get:function(){return this.overflow},set:function(e){this.overflow=e},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"popupSettings",{get:function(){return this._popupSettings||n(this.localization.rtl)},set:function(e){this._popupSettings=Object.assign({},n(this.localization.rtl),e)},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"tabIndex",{get:function(){return this.tabindex},set:function(e){this.tabindex=e},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"appendTo",{get:function(){var e=this.popupSettings.appendTo;if(e&&"root"!==e)return"component"===e?this.container:e},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"popupOpen",{get:function(){return this._open},set:function(e){var t;this.popupOpen!==e&&(t=new m.PreventableEvent,(e?this.open:this.close).emit(t),t.isDefaultPrevented()||this.toggle(e))},enumerable:!0,configurable:!0}),C.prototype.onFocus=function(e){this.navigationService.resetNavigation(),this.navigationService.focusFirst(e),this.element.nativeElement.setAttribute("tabindex","-1")},C.prototype.onFocusOut=function(e){var t=this;g.closest(e.relatedTarget,function(e){return e===t.element.nativeElement})?this.element.nativeElement.setAttribute("tabindex","-1"):this.element.nativeElement.setAttribute("tabindex",this.tabindex.toString())},Object.defineProperty(C.prototype,"getRole",{get:function(){return"toolbar"},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"getDir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"resizableClass",{get:function(){return this.overflow},enumerable:!0,configurable:!0}),C.prototype.ngAfterViewInit=function(){var t=this;this.element.nativeElement.getAttribute("tabindex")||this.element.nativeElement.setAttribute("tabindex","0"),this.zone.runOutsideAngular(function(){t.toolbarKeydownListener=t.renderer.listen(t.element.nativeElement,"keydown",function(e){switch(e.keyCode){case h.Keys.ArrowLeft:t.zone.run(function(){e.preventDefault(),"ltr"===t.direction?t.navigationService.focusPrev(e):t.navigationService.focusNext(e),t.element.nativeElement.setAttribute("tabindex","-1")});break;case h.Keys.ArrowRight:t.zone.run(function(){e.preventDefault(),"ltr"===t.direction?t.navigationService.focusNext(e):t.navigationService.focusPrev(e),t.element.nativeElement.setAttribute("tabindex","-1")});break;case h.Keys.Tab:t.zone.run(function(){return t.navigationService.resetNavigation()});break;case h.Keys.Escape:t.zone.run(function(){return t.toggle(!1)})}})}),this.overflow&&(this.subscriptions.add(_.merge(this.resizeSensor.resize.pipe(b.bufferTime(200),y.filter(function(e){return 0<e.length})),this.renderedTools.changes).subscribe(function(){t.onResize()})),this.zone.runOutsideAngular(function(){return setTimeout(function(){t.onResize(),t.onResize()})}),this.navigationService.overflowButton=this.overflowButton),this.navigationService.setRenderedTools(this.renderedTools.toArray()),this.subscriptions.add(this.renderedTools.changes.subscribe(function(e){return t.navigationService.setRenderedTools(e.toArray())}))},C.prototype.ngOnInit=function(){var t=this;this.subscriptions.add(this.localization.changes.subscribe(function(e){e=e.rtl;return t.direction=e?"rtl":"ltr"})),v.isDocumentAvailable()&&this.zone.runOutsideAngular(function(){return t.subscriptions.add(_.fromEvent(document,"click").pipe(y.filter(function(){return!!t.popupRef}),y.filter(function(e){return!t.popupRef.popup.instance.container.nativeElement.contains(e.target)}),y.filter(function(e){return!t.overflowButton.nativeElement.contains(e.target)})).subscribe(function(){t.zone.run(function(){t.popupOpen=!1})}))})},C.prototype.ngOnChanges=function(e){e.tabindex&&this.element.nativeElement.setAttribute("tabindex",e.tabindex.currentValue.toString())},C.prototype.ngOnDestroy=function(){this.popupRef&&this.popupRef.close(),this.toolbarKeydownListener&&this.toolbarKeydownListener(),this.cancelRenderedToolsSubscription$.next(),this.subscriptions.unsubscribe()},Object.defineProperty(C.prototype,"moreToolsTitle",{get:function(){return this.localization.get("moreToolsTitle")},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"cdr",{get:function(){return this._cdr},enumerable:!0,configurable:!0}),C.prototype.onRendererClick=function(e){this.navigationService.click(e),this.element.nativeElement.setAttribute("tabindex","-1")},C.prototype.showPopup=function(){this.popupOpen=!this.popupOpen,this.navigationService.click({context:void 0,event:void 0})},C.prototype.toggle=function(e){this._open=void 0!==e?e:!this.popupOpen,this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.popupOpen&&(this.popupRef=this.popupService.open({anchor:this.overflowButton,anchorAlign:this.popupSettings.anchorAlign,popupAlign:this.popupSettings.popupAlign,content:this.popupTemplate,appendTo:this.appendTo,animate:this.popupSettings.animate,popupClass:this.popupSettings.popupClass,positionMode:"absolute"}),this.setPopupContentDimensions(),this.popupRef.popupOpen.subscribe(this.onPopupOpen.bind(this)),this.popupRef.popupClose.subscribe(this.onPopupClose.bind(this)))},C.prototype.onResize=function(){var e,t=this;v.isDocumentAvailable()&&(e=g.innerWidth(this.element.nativeElement)-this.overflowAnchorWidth,this.shrink(e,this.childrenWidth),this.stretch(e,this.childrenWidth),this.zone.onStable.pipe(b.take(1)).subscribe(function(){t.displayAnchor()})),this.resizeSensor.acceptSize()},C.prototype.onPopupOpen=function(){var t=this;this.zone.runOutsideAngular(function(){t.overflowKeydownListener=t.renderer.listen(t.popupRef.popupElement,"keydown",function(e){switch(e.keyCode){case h.Keys.ArrowUp:t.zone.run(function(){e.preventDefault(),t.navigationService.focusPrev(e)});break;case h.Keys.ArrowDown:t.zone.run(function(){e.preventDefault(),t.navigationService.focusNext(e)});break;case h.Keys.Escape:t.zone.run(function(){return t.toggle(!1)});break;case h.Keys.Tab:t.zone.run(function(){t.toggle(!1),t.navigationService.resetNavigation()})}})}),this.cancelRenderedToolsSubscription$.next(),this.navigationService.moveFocusToPopup(),this.navigationService.setRenderedTools(this.overflowRenderedTools.toArray()),this.overflowRenderedTools.changes.pipe(b.takeUntil(this.cancelRenderedToolsSubscription$)).subscribe(function(e){return t.navigationService.setRenderedTools(e.toArray())})},C.prototype.onPopupClose=function(){var t=this;this.cancelRenderedToolsSubscription$.next(),this.navigationService.setRenderedTools(this.renderedTools.toArray()),this.renderedTools.changes.pipe(b.takeUntil(this.cancelRenderedToolsSubscription$)).subscribe(function(e){return t.navigationService.setRenderedTools(e.toArray())}),this.navigationService.moveFocusToToolBar(),this.overflowKeydownListener&&this.overflowKeydownListener()},C.prototype.displayAnchor=function(){var e=0<this.allTools.filter(function(e){return e.overflows&&e.responsive}).length?"visible":"hidden";this.renderer.setStyle(this.overflowButton.nativeElement,"visibility",e)},Object.defineProperty(C.prototype,"popupWidth",{get:function(){return this.popupSettings&&this.popupSettings.width?isNaN(this.popupSettings.width)?this.popupSettings.width:this.popupSettings.width+"px":w.defaultPopupWidth},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"popupHeight",{get:function(){if(this.popupSettings&&this.popupSettings.height)return isNaN(this.popupSettings.height)?this.popupSettings.height:this.popupSettings.height+"px"},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"overflowAnchorWidth",{get:function(){return this.overflow?(this.cachedOverflowAnchorWidth||(this.cachedOverflowAnchorWidth=g.outerWidth(this.overflowButton.nativeElement)),this.cachedOverflowAnchorWidth):0},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"gap",{get:function(){if(g.isPresent(this.cachedGap))return this.cachedGap;var e=getComputedStyle(this.element.nativeElement).gap;return this.cachedGap=g.isPresent(e)?parseInt(e,10):0,this.cachedGap},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"childrenWidth",{get:function(){var o=this,e=this.renderedTools.reduce(function(e,t){return t.width+e+(t.isDisplayed()?o.gap:0)},0);return Math.ceil(e)},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"visibleTools",{get:function(){return this.allTools.filter(function(e){return!1===e.overflows})},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"overflowTools",{get:function(){return this.allTools.filter(function(e){return!0===e.overflows})},enumerable:!0,configurable:!0}),C.prototype.shrink=function(e,t){if(e<t)for(var o=this.visibleTools.length-1;0<=o&&!(t<e);o--)t-=this.hideLastVisibleTool()},C.prototype.stretch=function(e,t){var o;if(t<e)for(var n=this.overflowTools.length-1;0<=n&&(o=this.showFirstHiddenTool(e,t));n--)t+=o},C.prototype.hideLastVisibleTool=function(){var t=this.visibleTools[this.visibleTools.length-1],e=this.renderedTools.find(function(e){return e.tool===t}).width;return t.overflows=!0,this.refreshService.refresh(t),e},C.prototype.showFirstHiddenTool=function(e,t){var o=this.overflowTools[0],n=this.renderedTools.find(function(e){return e.tool===o});return o.overflows=!1,o.visibility="hidden",this.refreshService.refresh(o),e>t+n.width?o.visibility="visible":o.overflows=!0,this.refreshService.refresh(o),n.width},C.prototype.setPopupContentDimensions=function(){var e=this.popupRef.popup.instance.contentContainer.nativeElement;e.style.width=this.popupWidth,e.style.height=this.popupHeight,e.style.overflow="auto"},i.__decorate([l.Input(),i.__metadata("design:type",Boolean)],C.prototype,"overflow",void 0),i.__decorate([l.Input(),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[Boolean])],C.prototype,"resizable",null),i.__decorate([l.Input(),i.__metadata("design:type",Object),i.__metadata("design:paramtypes",[Object])],C.prototype,"popupSettings",null),i.__decorate([l.Input(),i.__metadata("design:type",Number)],C.prototype,"tabindex",void 0),i.__decorate([l.Input("tabIndex"),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],C.prototype,"tabIndex",null),i.__decorate([l.Output(),i.__metadata("design:type",l.EventEmitter)],C.prototype,"open",void 0),i.__decorate([l.Output(),i.__metadata("design:type",l.EventEmitter)],C.prototype,"close",void 0),i.__decorate([l.ContentChildren(f.ToolBarToolComponent),i.__metadata("design:type",l.QueryList)],C.prototype,"allTools",void 0),i.__decorate([l.ViewChild("overflowButton",{static:!1}),i.__metadata("design:type",l.ElementRef)],C.prototype,"overflowButton",void 0),i.__decorate([l.ViewChild("popupTemplate",{static:!0}),i.__metadata("design:type",l.TemplateRef)],C.prototype,"popupTemplate",void 0),i.__decorate([l.ViewChild("resizeSensor",{static:!1}),i.__metadata("design:type",a.ResizeSensorComponent)],C.prototype,"resizeSensor",void 0),i.__decorate([l.ViewChild("container",{read:l.ViewContainerRef,static:!0}),i.__metadata("design:type",l.ViewContainerRef)],C.prototype,"container",void 0),i.__decorate([l.ViewChildren("toolbarRenderer"),i.__metadata("design:type",l.QueryList)],C.prototype,"renderedTools",void 0),i.__decorate([l.ViewChildren("overflowRenderer"),i.__metadata("design:type",l.QueryList)],C.prototype,"overflowRenderedTools",void 0),i.__decorate([l.HostBinding("class.k-widget"),l.HostBinding("class.k-toolbar"),i.__metadata("design:type",Boolean)],C.prototype,"hostClasses",void 0),i.__decorate([l.HostListener("focus",["$event"]),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[Object]),i.__metadata("design:returntype",void 0)],C.prototype,"onFocus",null),i.__decorate([l.HostListener("focusout",["$event"]),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[Object]),i.__metadata("design:returntype",void 0)],C.prototype,"onFocusOut",null),i.__decorate([l.HostBinding("attr.role"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],C.prototype,"getRole",null),i.__decorate([l.HostBinding("attr.dir"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],C.prototype,"getDir",null),i.__decorate([l.HostBinding("class.k-toolbar-resizable"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],C.prototype,"resizableClass",null),i.__decorate([l.Component({exportAs:"kendoToolBar",providers:[d.RefreshService,c.NavigationService,s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.toolbar"}],selector:"kendo-toolbar",template:'\n <ng-container kendoToolbarLocalizedMessages\n i18n-moreToolsTitle="kendo.toolbar.moreToolsTitle|The title of the **more tools** button in a responsive ToolBar"\n moreToolsTitle="More tools"\n >\n </ng-container>\n <ng-container *ngFor="let tool of allTools; let index = index">\n <kendo-toolbar-renderer\n #toolbarRenderer\n (rendererClick)="onRendererClick($event)"\n [location]="\'toolbar\'"\n [resizable]="overflow"\n [tool]="tool"\n ></kendo-toolbar-renderer>\n </ng-container>\n <button\n #overflowButton\n type="button"\n tabindex="-1"\n [title]="moreToolsTitle"\n [attr.aria-label]="moreToolsTitle"\n *ngIf="overflow"\n [style.visibility]="\'hidden\'"\n class="k-overflow-anchor k-button"\n (click)="showPopup()"\n >\n <span class="k-icon k-i-more-vertical"></span>\n </button>\n <ng-template #popupTemplate>\n <ul class="k-overflow-container k-list-container k-reset">\n <ng-container *ngFor="let tool of allTools; let index = index">\n <li class="k-item">\n <kendo-toolbar-renderer\n #overflowRenderer\n (rendererClick)="onRendererClick($event)"\n [location]="\'overflow\'"\n [resizable]="overflow"\n [tool]="tool"\n ></kendo-toolbar-renderer>\n </li>\n </ng-container>\n </ul>\n </ng-template>\n <ng-container #container></ng-container>\n <kendo-resize-sensor *ngIf="overflow" [rateLimit]="1000" #resizeSensor></kendo-resize-sensor>\n '}),i.__metadata("design:paramtypes",[s.LocalizationService,r.PopupService,d.RefreshService,c.NavigationService,l.ElementRef,l.NgZone,l.Renderer2,l.ChangeDetectorRef])],C));function C(e,t,o,n,i,r,a,s){this.localization=e,this.popupService=t,this.refreshService=o,this.navigationService=n,this.element=i,this.zone=r,this.renderer=a,this._cdr=s,this.overflow=!1,this.tabindex=0,this.open=new l.EventEmitter,this.close=new l.EventEmitter,this.hostClasses=!0,this.cancelRenderedToolsSubscription$=new _.Subject,this.subscriptions=new _.Subscription,p.validatePackage(u.packageMetadata),this.direction=e.rtl?"rtl":"ltr"}t.ToolBarComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(3),o=(a.prototype.getElement=function(){return this.element.nativeElement},a.prototype.querySelector=function(e){return this.element.nativeElement.querySelector(e)},a.prototype.querySelectorAll=function(e){return this.element.nativeElement.querySelectorAll(e)},a.prototype.findFocusable=function(){return r.findFocusable(this.element.nativeElement,!1)},a.prototype.findFocusableChild=function(e){return e=e||this.findFocusable(),r.findFocusableChild(e,!1)},a.prototype.findNextFocusableSibling=function(e){return e=e||this.findFocusable(),r.findFocusableSibling(e,!1)},a.prototype.findPrevFocusableSibling=function(e){return e=e||this.findFocusable(),r.findFocusableSibling(e,!1,!0)},a.prototype.setAttribute=function(e,t,o){this.renderer.setAttribute(e,t,o)},n.__decorate([i.Injectable()],a));function a(){}t.RendererService=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(0),i=o(3),a=o(2),s=o(17),o=o(20),a=(l.prototype.onClick=function(e){this.rendererClick.emit({context:this,event:e})},l.prototype.ngOnInit=function(){this.resizable?("toolbar"===this.location?(this.template=this.tool.toolbarTemplate,this.renderer.setStyle(this.element.nativeElement,"visibility","hidden")):this.template=this.tool.popupTemplate,this.renderer.setStyle(this.element.nativeElement,"display","none")):(this.tool.overflows=!1,this.template=this.tool.toolbarTemplate,this.renderer.setStyle(this.element.nativeElement,"visibility","display"),this.renderer.setStyle(this.element.nativeElement,"display","inline-block"))},l.prototype.ngOnDestroy=function(){this.refreshSubscription.unsubscribe()},l.prototype.ngAfterViewInit=function(){this.resizable&&this.refresh()},Object.defineProperty(l.prototype,"width",{get:function(){return this.tool.overflows?0:i.outerWidth(this.element.nativeElement)},enumerable:!0,configurable:!0}),l.prototype.isDisplayed=function(){return"none"!==this.element.nativeElement.style.display},l.prototype.refresh=function(){this.resizable&&("toolbar"===this.location?(this.renderer.setStyle(this.element.nativeElement,"visibility",this.tool.visibility),this.renderer.setStyle(this.element.nativeElement,"display",this.tool.toolbarDisplay)):this.renderer.setStyle(this.element.nativeElement,"display",this.tool.overflowDisplay))},l.prototype.setAttribute=function(e,t,o){this.renderer.setAttribute(e,t,o)},n.__decorate([r.Input(),n.__metadata("design:type",a.ToolBarToolComponent)],l.prototype,"tool",void 0),n.__decorate([r.Input(),n.__metadata("design:type",String)],l.prototype,"location",void 0),n.__decorate([r.Input(),n.__metadata("design:type",Boolean)],l.prototype,"resizable",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],l.prototype,"rendererClick",void 0),n.__decorate([r.HostListener("click",["$event"]),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",void 0)],l.prototype,"onClick",null),n.__decorate([r.Component({exportAs:"kendoToolBarRenderer",providers:[o.RendererService],selector:"kendo-toolbar-renderer",template:'\n <ng-container *ngIf="location === \'toolbar\'">\n <ng-template [ngTemplateOutlet]="template"></ng-template>\n </ng-container>\n <ng-container *ngIf="location === \'overflow\' && tool.responsive">\n <ng-template [ngTemplateOutlet]="template"></ng-template>\n </ng-container>\n '}),n.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2,o.RendererService,s.RefreshService])],l));function l(e,t,o,n){var i=this;this.element=e,this.renderer=t,this.rendererService=o,this.refreshService=n,this.rendererClick=new r.EventEmitter,this.rendererService.element=e,(this.rendererService.renderer=this).refreshSubscription=this.refreshService.onRefresh.subscribe(function(e){i.tool===e&&i.refresh()})}t.ToolBarRendererComponent=a},function(e,t){e.exports=g},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(22),a=o(6),s=o(18),l=o(5),p=o(19),u=o(2),d=o(8),c=o(16),f=o(15),g=o(14),h=o(13),m=o(21),_=o(7),b=o(12),o=o(10),u=[u.ToolBarToolComponent,d.ToolBarButtonComponent,c.ToolBarButtonGroupComponent,f.ToolBarDropDownButtonComponent,g.ToolBarSplitButtonComponent,h.ToolBarSeparatorComponent],d=[m.ToolBarRendererComponent,_.ToolBarButtonListComponent,o.ToolbarCustomMessagesComponent,b.LocalizedToolbarMessagesDirective],c=n.__decorate([i.NgModule({declarations:[p.ToolBarComponent,u,d],exports:[p.ToolBarComponent,u,o.ToolbarCustomMessagesComponent,b.LocalizedToolbarMessagesDirective],imports:[r.CommonModule,a.ButtonsModule,s.PopupModule,l.ResizeSensorModule]})],y);function y(){}t.ToolBarModule=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultPopupWidth="150px"},function(e,t){e.exports=c},function(e,t,o){"use strict";function n(){this.prevented=!1}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.preventDefault=function(){this.prevented=!0},n.prototype.isDefaultPrevented=function(){return this.prevented},t.PreventableEvent=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(9),a=o(3),o=(s.prototype.setRenderedTools=function(e){this.renderedTools=e.slice()},s.prototype.click=function(e){var t=e.context,e=e.event;this.focused.renderedTool!==t&&e&&this.focus(t,e)},s.prototype.moveFocusToToolBar=function(){this.isPopupFocused=!1,this.focusOverflowButton()},s.prototype.moveFocusToPopup=function(){this.isPopupFocused=!0,this.blurOverflowButton(),this.focus()},s.prototype.focusNext=function(e){var t;this.isOverflowButtonFocused||!this.focused.renderedTool||this.focused.renderedTool.tool.handleKey(e)||((t=this.getFocusableTools().slice(this.focused.index+1)[0])?this.focus(t,e):this.isOverflowButtonVisible()&&!this.isPopupFocused&&this.focusOverflowButton())},s.prototype.focusPrev=function(e){var t;this.isOverflowButtonFocused?(t=this.getFocusableTools().reverse()[0],this.focus(t,e)):this.focused.renderedTool&&!this.focused.renderedTool.tool.handleKey(e)&&(t=this.getFocusableTools().slice(0,this.focused.index).reverse()[0])&&this.focus(t,e)},s.prototype.resetNavigation=function(){this.blurOverflowButton(),this.focused.renderedTool=null,this.focused.index=-1},s.prototype.focusFirst=function(e){var t=this.getFocusableTools()[0],o=this.overflowButton;t?(this.focused.renderedTool=t,this.focused.index=this.getFocusableTools().findIndex(function(e){return e===t}),this.focus(t,e)):o&&o.nativeElement.focus()},s.prototype.getFocusableTools=function(){var t=this;return this.renderedTools.filter(function(e){return e.tool.overflows===t.isPopupFocused&&e.tool.canFocus()})},s.prototype.focus=function(o,n){var i=this;this.zone.onStable.pipe(r.take(1)).subscribe(function(){var e,t;o?o.tool.canFocus&&o.tool.canFocus()&&(i.focused.renderedTool=o,i.focused.index=i.getFocusableTools().findIndex(function(e){return e===o}),o.tool.focus(n),i.blurOverflowButton()):(e=i.getFocusableTools(),(t=e.find(function(e){return e===i.focused.renderedTool})||e[0])&&(i.focused.renderedTool=t,i.focused.index=i.getFocusableTools().findIndex(function(e){return e===t}),t.tool.focus(n)))})},s.prototype.blurOverflowButton=function(){this.overflowButton&&(this.isOverflowButtonFocused=!1,this.overflowButton.nativeElement.tabIndex=-1)},s.prototype.focusOverflowButton=function(){this.isOverflowButtonFocused=!0,this.overflowButton.nativeElement.tabIndex=0,this.overflowButton.nativeElement.focus()},s.prototype.isOverflowButtonVisible=function(){return a.isPresent(this.overflowButton)&&"visible"===window.getComputedStyle(this.overflowButton.nativeElement).getPropertyValue("visibility")},n.__decorate([i.Injectable(),n.__metadata("design:paramtypes",[i.NgZone])],s));function s(e){this.zone=e,this.focused={renderedTool:null,index:-1},this.renderedTools=[],this.isPopupFocused=!1,this.isOverflowButtonFocused=!1}t.NavigationService=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-toolbar",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1648458287,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){e.exports=d},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(19),i=(t.ToolBarComponent=i.ToolBarComponent,o(2)),i=(t.ToolBarToolComponent=i.ToolBarToolComponent,o(8)),i=(t.ToolBarButtonComponent=i.ToolBarButtonComponent,o(16)),i=(t.ToolBarButtonGroupComponent=i.ToolBarButtonGroupComponent,o(15)),i=(t.ToolBarDropDownButtonComponent=i.ToolBarDropDownButtonComponent,o(14)),i=(t.ToolBarSplitButtonComponent=i.ToolBarSplitButtonComponent,o(13)),i=(t.ToolBarSeparatorComponent=i.ToolBarSeparatorComponent,o(23)),i=(t.ToolBarModule=i.ToolBarModule,o(12)),i=(t.LocalizedToolbarMessagesDirective=i.LocalizedToolbarMessagesDirective,o(10)),r=(t.ToolbarCustomMessagesComponent=i.ToolbarCustomMessagesComponent,t);for(n in r)a(n,r[n])}],i={},n.m=o,n.c=i,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=30)}}});
|
|
5
|
+
System.register("@progress/kendo-angular-toolbar",["tslib","@angular/core","@progress/kendo-angular-common","@progress/kendo-angular-popup","@progress/kendo-angular-l10n","rxjs","rxjs/operators","@progress/kendo-licensing","@angular/common","@progress/kendo-angular-buttons"],function(a){var r,s,l,p,u,d,c,f,g,h;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){r=t(e)},function(e){s=t(e)},function(e){l=t(e)},function(e){p=t(e)},function(e){u=t(e)},function(e){d=t(e)},function(e){c=t(e)},function(e){f=t(e)},function(e){g=t(e)},function(e){h=t(e)}],execute:function(){function n(e){if(i[e])return i[e].exports;var t=i[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var o,i;o=[function(e,t){e.exports=s},function(e,t){e.exports=r},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),o=o(0),n=(Object.defineProperty(i.prototype,"toolbarDisplay",{get:function(){return this.overflows?"none":"inline-block"},enumerable:!0,configurable:!0}),Object.defineProperty(i.prototype,"overflowDisplay",{get:function(){return this.overflows?"block":"none"},enumerable:!0,configurable:!0}),i.prototype.canFocus=function(){return!1},i.prototype.focus=function(e){},i.prototype.handleKey=function(e){return!1},n.__decorate([o.Input(),n.__metadata("design:type",Boolean)],i.prototype,"responsive",void 0),n.__decorate([o.Component({selector:"toolbar-tool",template:""})],i));function i(){this.tabIndex=-1,this.overflows=!0,this.responsive=!0}t.ToolBarToolComponent=n},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var o=t(5),i=/^(?:a|input|select|textarea|button|object)$/i;r.outerWidth=function(e){var t=e.offsetWidth,e=getComputedStyle(e);return t+(parseFloat(e.marginLeft)||0+parseFloat(e.marginRight)||0)},r.innerWidth=function(e){var t=e.offsetWidth,e=getComputedStyle(e);return(t-=parseFloat(e.paddingLeft)||0+parseFloat(e.borderLeftWidth)||0)-(parseFloat(e.paddingRight)||0+parseFloat(e.borderRightWidth)||0)},r.outerHeight=function(e){var t=e.offsetHeight,e=getComputedStyle(e);return t+(parseFloat(e.marginTop)||0+parseFloat(e.marginBottom)||0)},r.closest=function(e,t){for(;e&&!t(e);)e=e.parentNode;return e},r.isVisible=function(e){var t=e.getBoundingClientRect(),o=0<t.width&&0<t.height,t=0!==t.x&&0!==t.y;return(o||t)&&"hidden"!==window.getComputedStyle(e).visibility},r.findElement=function(e,t,o){if(void 0===o&&(o=!0),e){if(o&&t(e))return e;for(e=e.firstChild;e;){if(1===e.nodeType){var n=r.findElement(e,t);if(n)return n}e=e.nextSibling}}},r.isFocusable=function(e,t){var o,n;return void 0===t&&(t=!0),!!e.tagName&&(o=e.tagName.toLowerCase(),n=null!==e.getAttribute("tabIndex"),(n=i.test(o)?!e.disabled:n)&&(!t||r.isVisible(e)))},r.findFocusable=function(e,t){return void 0===t&&(t=!0),r.findElement(e,function(e){return r.isFocusable(e,t)})},r.findFocusableChild=function(e,t){return void 0===t&&(t=!0),r.findElement(e,function(e){return r.isFocusable(e,t)},!1)},r.findFocusableSibling=function(e,t,o){void 0===t&&(t=!0);for(var n=o?e.prevSibling:e.nextSibling;n;){if(1===n.nodeType){var i=r.findElement(n,function(e){return r.isFocusable(e,t)});if(i)return i}n=o?n.prevSibling:n.nextSibling}},r.isPresent=function(e){return null!=e},r.makePeeker=function(t){return function(e){return r.isPresent(t[e])}},r.getIndexOfFocused=function(e,o,n){return function(t){switch(t.type){case"keydown":if(t.keyCode===e)return n.length-1;if(t.keyCode===o)return 0;break;case"click":return n.findIndex(function(e){return e===t.target||e.contains(t.target)});default:return 0}}},r.seekFocusedIndex=function(o,n,i){return function(e,t){switch(t.keyCode){case o:return i(e-1)?e-1:e;case n:return i(e+1)?e+1:e;default:return e}}},r.areEqual=function(t){return function(e){return t===e}},r.getNextKey=function(t){return void 0===t&&(t=!1),function(e){return(e=void 0===e?!0:e)?o.Keys.ArrowDown:t?o.Keys.ArrowLeft:o.Keys.ArrowRight}},r.getPrevKey=function(t){return void 0===t&&(t=!1),function(e){return(e=void 0===e?!0:e)?o.Keys.ArrowUp:t?o.Keys.ArrowRight:o.Keys.ArrowLeft}},r.getValueForLocation=function(e,t,o){switch(t){case"toolbar":return o?void 0:e;case"overflow":return o?e:void 0;default:return e}}},function(e,t){e.exports=u},function(e,t){e.exports=l},function(e,t){e.exports=h},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),o=(r.prototype.getText=function(e){if(e)return this.textField?e[this.textField]:e.text||e},r.prototype.onClick=function(e,t){t=this.data[t];e.click&&e.click(t),this.itemClick.emit(t)},n.__decorate([i.Input(),n.__metadata("design:type",Array)],r.prototype,"data",void 0),n.__decorate([i.Input(),n.__metadata("design:type",String)],r.prototype,"textField",void 0),n.__decorate([i.Input(),n.__metadata("design:type",Boolean)],r.prototype,"disabled",void 0),n.__decorate([i.Input(),n.__metadata("design:type",String)],r.prototype,"fillMode",void 0),n.__decorate([i.Input(),n.__metadata("design:type",String)],r.prototype,"themeColor",void 0),n.__decorate([i.Output(),n.__metadata("design:type",i.EventEmitter)],r.prototype,"itemClick",void 0),n.__decorate([i.ViewChildren("button"),n.__metadata("design:type",i.QueryList)],r.prototype,"buttons",void 0),n.__decorate([i.Component({selector:"kendo-toolbar-buttonlist",template:'\n <button\n #button\n type="button"\n tabindex="-1"\n kendoButton\n style="padding-left: 16px"\n class="k-overflow-button"\n *ngFor="let item of data; let i = index"\n [disabled]="disabled || item.disabled"\n [icon]="item.icon"\n [iconClass]="item.iconClass"\n [imageUrl]="item.imageUrl"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n (click)="onClick(item, i)"\n >\n {{ getText(item) }}\n </button>\n '})],r));function r(){this.disabled=!1,this.fillMode="solid",this.themeColor="base",this.itemClick=new i.EventEmitter}t.ToolBarButtonListComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(2),l=o(3),o=(n=s.ToolBarToolComponent,r.__extends(p,n),i=p,Object.defineProperty(p.prototype,"text",{set:function(e){this.toolbarOptions.text=l.getValueForLocation(e,this.showText,!1),this.overflowOptions.text=l.getValueForLocation(e,this.showText,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"look",{set:function(e){e&&(this.fillMode="default"===e?"solid":e)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"togglable",{get:function(){return this.toggleable},set:function(e){this.toggleable=e},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"icon",{set:function(e){this.toolbarOptions.icon=l.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.icon=l.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"iconClass",{set:function(e){this.toolbarOptions.iconClass=l.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.iconClass=l.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(p.prototype,"imageUrl",{set:function(e){this.toolbarOptions.imageUrl=l.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.imageUrl=l.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),p.prototype.onBlur=function(){this.getButton().tabIndex=-1},p.prototype.canFocus=function(){return!this.disabled},p.prototype.focus=function(e){e&&"focus"!==e.type&&"keydown"!==e.type||this.getButton().focus(),this.getButton().tabIndex=0},p.prototype.handleKey=function(){return!(this.getButton().tabIndex=-1)},p.prototype.getButton=function(){return(this.overflows?this.overflowButtonElement:this.toolbarButtonElement).nativeElement},r.__decorate([a.Input(),r.__metadata("design:type",String)],p.prototype,"showText",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],p.prototype,"showIcon",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],p.prototype,"text",null),r.__decorate([a.Input(),r.__metadata("design:type",Object)],p.prototype,"style",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],p.prototype,"className",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],p.prototype,"title",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],p.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],p.prototype,"toggleable",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],p.prototype,"look",null),r.__decorate([a.Input(),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[Boolean])],p.prototype,"togglable",null),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],p.prototype,"selected",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],p.prototype,"fillMode",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],p.prototype,"themeColor",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],p.prototype,"icon",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],p.prototype,"iconClass",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],p.prototype,"imageUrl",null),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],p.prototype,"click",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],p.prototype,"pointerdown",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],p.prototype,"selectedChange",void 0),r.__decorate([a.ViewChild("toolbarTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],p.prototype,"toolbarTemplate",void 0),r.__decorate([a.ViewChild("popupTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],p.prototype,"popupTemplate",void 0),r.__decorate([a.ViewChild("toolbarButton",{read:a.ElementRef,static:!1}),r.__metadata("design:type",a.ElementRef)],p.prototype,"toolbarButtonElement",void 0),r.__decorate([a.ViewChild("overflowButton",{read:a.ElementRef,static:!1}),r.__metadata("design:type",a.ElementRef)],p.prototype,"overflowButtonElement",void 0),i=r.__decorate([a.Component({exportAs:"kendoToolBarButton",providers:[{provide:s.ToolBarToolComponent,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-button",template:'\n <ng-template #toolbarTemplate>\n <button\n #toolbarButton\n [tabindex]="tabIndex"\n type="button"\n kendoButton\n [ngStyle]="style"\n [ngClass]="className"\n [attr.title]="title"\n [disabled]="disabled"\n [toggleable]="toggleable"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n [selected]="selected"\n [icon]="toolbarOptions.icon"\n [iconClass]="toolbarOptions.iconClass"\n [imageUrl]="toolbarOptions.imageUrl"\n (click)="click.emit($event)"\n (pointerdown)="pointerdown.emit($event)"\n (selectedChange)="selectedChange.emit($event)"\n (blur)="onBlur()"\n >\n {{ toolbarOptions.text }}\n </button>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n #overflowButton\n tabindex="-1"\n type="button"\n kendoButton\n class="k-overflow-button"\n [ngStyle]="style"\n [ngClass]="className"\n [attr.title]="title"\n [disabled]="disabled"\n [toggleable]="toggleable"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n [selected]="selected"\n [icon]="overflowOptions.icon"\n [iconClass]="overflowOptions.iconClass"\n [imageUrl]="overflowOptions.imageUrl"\n (click)="click.emit($event)"\n (selectedChange)="selectedChange.emit($event)"\n >\n {{ overflowOptions.text }}\n </button>\n </ng-template>\n '}),r.__metadata("design:paramtypes",[])],p));function p(){var e=n.call(this)||this;return e.showText="both",e.showIcon="both",e.toggleable=!1,e.selected=!1,e.fillMode="solid",e.themeColor="base",e.click=new a.EventEmitter,e.pointerdown=new a.EventEmitter,e.selectedChange=new a.EventEmitter,e.toolbarOptions={text:"",icon:"",iconClass:"",imageUrl:""},e.overflowOptions={text:"",icon:"",iconClass:"",imageUrl:""},e}t.ToolBarButtonComponent=o},function(e,t){e.exports=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(4),o=o(11),o=(n=o.ToolbarMessages,r.__extends(l,n),i=l,Object.defineProperty(l.prototype,"override",{get:function(){return!0},enumerable:!0,configurable:!0}),i=r.__decorate([a.Component({providers:[{provide:o.ToolbarMessages,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-messages",template:""}),r.__metadata("design:paramtypes",[s.LocalizationService])],l));function l(e){var t=n.call(this)||this;return t.service=e,t}t.ToolbarCustomMessagesComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(1),r=o(0),o=(n=o(4).ComponentMessages,i.__extends(a,n),i.__decorate([r.Input(),i.__metadata("design:type",String)],a.prototype,"moreToolsTitle",void 0),a);function a(){return null!==n&&n.apply(this,arguments)||this}t.ToolbarMessages=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(4),o=o(11),o=(n=o.ToolbarMessages,r.__extends(l,n),i=l,i=r.__decorate([a.Directive({providers:[{provide:o.ToolbarMessages,useExisting:a.forwardRef(function(){return i})}],selector:"[kendoToolbarLocalizedMessages]"}),r.__metadata("design:paramtypes",[s.LocalizationService])],l));function l(e){var t=n.call(this)||this;return t.service=e,t}t.LocalizedToolbarMessagesDirective=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),o=o(2),o=(n=o.ToolBarToolComponent,r.__extends(s,n),(i=s).prototype.canFocus=function(){return!1},s.prototype.focus=function(){},s.prototype.handleKey=function(){return!1},s.prototype.ngAfterViewInit=function(){this.popupTemplate||(this.popupTemplate=this.toolbarTemplate)},r.__decorate([a.ViewChild("toolbarTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],s.prototype,"toolbarTemplate",void 0),r.__decorate([a.ViewChild("popupTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],s.prototype,"popupTemplate",void 0),r.__decorate([a.ViewChild("separator",{static:!1}),r.__metadata("design:type",a.ElementRef)],s.prototype,"separator",void 0),i=r.__decorate([a.Component({exportAs:"kendoToolBarSeparator",providers:[{provide:o.ToolBarToolComponent,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-separator",template:'\n <ng-template #toolbarTemplate>\n <div class="k-separator"></div>\n </ng-template>\n '}),r.__metadata("design:paramtypes",[])],s));function s(){return n.call(this)||this}t.ToolBarSeparatorComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(6),l=o(2),p=o(7),u=o(3),o=(n=l.ToolBarToolComponent,r.__extends(d,n),i=d,Object.defineProperty(d.prototype,"text",{set:function(e){this.toolbarOptions.text=u.getValueForLocation(e,this.showText,!1),this.overflowOptions.text=u.getValueForLocation(e,this.showText,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"icon",{set:function(e){this.toolbarOptions.icon=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.icon=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"iconClass",{set:function(e){this.toolbarOptions.iconClass=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.iconClass=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"imageUrl",{set:function(e){this.toolbarOptions.imageUrl=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.imageUrl=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"popupSettings",{get:function(){return this._popupSettings||(this._popupSettings={animate:!0,popupClass:""}),this._popupSettings},set:function(e){this._popupSettings=e},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"look",{set:function(e){e&&(this.fillMode="default"===e?"solid":e)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"data",{get:function(){return this._data||(this.data=[]),this._data},set:function(e){this._data=e||[]},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"overflowButtons",{get:function(){return[this.overflowSplitButton].concat(this.overflowSplitButtonButtonList.buttons.toArray().filter(function(e){return!e.nativeElement.disabled}))},enumerable:!0,configurable:!0}),d.prototype.onButtonListClick=function(t){this.focusedIndex=this.overflowButtons.findIndex(function(e){return e.nativeElement.contains(t.target)})},d.prototype.onMainButtonClick=function(e){this.buttonClick.emit(e),this.focusedIndex=0},d.prototype.canFocus=function(){return!this.disabled},d.prototype.focus=function(e){void 0===e&&(e={}),this.overflows?0<this.overflowButtons.length&&(this.focusedIndex=u.getIndexOfFocused(this.getPrevKey(),this.getNextKey(),this.overflowButtons.map(function(e){return e.nativeElement}))(e),this.focusButton(this.focusedIndex,e)):"focus"!==e.type&&"keydown"!==e.type||this.toolbarSplitButton.focus()},d.prototype.handleKey=function(e){return!!(this.overflows||e.keyCode!==this.getPrevKey(this.overflows)&&e.keyCode!==this.getNextKey(this.overflows))&&(this.overflows?(t=u.makePeeker(this.overflowButtons),o=u.areEqual(this.focusedIndex),this.focusedIndex=u.seekFocusedIndex(this.getPrevKey(),this.getNextKey(),t)(this.focusedIndex,e),this.focusButton(this.focusedIndex,e),!o(this.focusedIndex)):void 0);var t,o},d.prototype.focusButton=function(e,t){t.type&&"focus"!==t.type&&"keydown"!==t.type&&"click"!==t.type||this.overflowButtons[e].nativeElement.focus()},r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"showText",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"showIcon",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"text",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"icon",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"iconClass",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"imageUrl",null),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],d.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],d.prototype,"popupSettings",null),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"fillMode",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"themeColor",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"look",null),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"buttonClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Object)],d.prototype,"arrowButtonClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"arrowButtonIcon",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"textField",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Array),r.__metadata("design:paramtypes",[Array])],d.prototype,"data",null),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"buttonClick",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"itemClick",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"open",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"close",void 0),r.__decorate([a.ViewChild("toolbarTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],d.prototype,"toolbarTemplate",void 0),r.__decorate([a.ViewChild("popupTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],d.prototype,"popupTemplate",void 0),r.__decorate([a.ViewChild("toolbarSplitButton",{static:!1}),r.__metadata("design:type",s.SplitButtonComponent)],d.prototype,"toolbarSplitButton",void 0),r.__decorate([a.ViewChild("overflowSplitButton",{read:a.ElementRef,static:!1}),r.__metadata("design:type",a.ElementRef)],d.prototype,"overflowSplitButton",void 0),r.__decorate([a.ViewChild("overflowSplitButtonButtonList",{static:!1}),r.__metadata("design:type",p.ToolBarButtonListComponent)],d.prototype,"overflowSplitButtonButtonList",void 0),i=r.__decorate([a.Component({exportAs:"kendoToolBarSplitButton",providers:[{provide:l.ToolBarToolComponent,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-splitbutton",template:'\n <ng-template #toolbarTemplate>\n <kendo-splitbutton\n #toolbarSplitButton\n [data]="data"\n [text]="toolbarOptions.text"\n [icon]="toolbarOptions.icon"\n [iconClass]="toolbarOptions.iconClass"\n [imageUrl]="toolbarOptions.imageUrl"\n [buttonClass]="buttonClass"\n [arrowButtonClass]="arrowButtonClass"\n [arrowButtonIcon]="arrowButtonIcon"\n [disabled]="disabled"\n [tabIndex]="-1"\n [textField]="textField"\n [popupSettings]="popupSettings"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n (buttonClick)="buttonClick.emit($event)"\n (open)="open.emit($event)"\n (close)="close.emit($event)"\n (itemClick)="itemClick.emit($event)"\n >\n </kendo-splitbutton>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n #overflowSplitButton\n type="button"\n tabindex="-1"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n kendoButton\n class="k-overflow-button"\n [disabled]="disabled"\n [icon]="overflowOptions.icon"\n [iconClass]="overflowOptions.iconClass"\n [imageUrl]="overflowOptions.imageUrl"\n [ngClass]="buttonClass"\n (click)="buttonClick.emit($event)"\n (click)="onMainButtonClick($event)"\n >\n {{ overflowOptions.text }}\n </button>\n <kendo-toolbar-buttonlist\n #overflowSplitButtonButtonList\n [data]="data"\n [disabled]="disabled"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n [textField]="textField"\n (itemClick)="itemClick.emit($event)"\n (click)="onButtonListClick($event)"\n >\n </kendo-toolbar-buttonlist>\n </ng-template>\n '}),r.__metadata("design:paramtypes",[])],d));function d(){var e=n.call(this)||this;return e.showText="both",e.showIcon="both",e.fillMode="solid",e.themeColor="base",e.arrowButtonIcon="arrow-s",e.textField="text",e.buttonClick=new a.EventEmitter,e.itemClick=new a.EventEmitter,e.open=new a.EventEmitter,e.close=new a.EventEmitter,e.toolbarOptions={text:"",icon:"",iconClass:"",imageUrl:""},e.overflowOptions={text:"",icon:"",iconClass:"",imageUrl:""},e._popupSettings={animate:!0,popupClass:""},e.focusedIndex=-1,e.getNextKey=u.getNextKey(),e.getPrevKey=u.getPrevKey(),e}t.ToolBarSplitButtonComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(2),l=o(6),p=o(7),u=o(3),o=(n=s.ToolBarToolComponent,r.__extends(d,n),i=d,Object.defineProperty(d.prototype,"text",{set:function(e){this.toolbarOptions.text=u.getValueForLocation(e,this.showText,!1),this.overflowOptions.text=u.getValueForLocation(e,this.showText,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"icon",{set:function(e){this.toolbarOptions.icon=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.icon=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"iconClass",{set:function(e){this.toolbarOptions.iconClass=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.iconClass=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"imageUrl",{set:function(e){this.toolbarOptions.imageUrl=u.getValueForLocation(e,this.showIcon,!1),this.overflowOptions.imageUrl=u.getValueForLocation(e,this.showIcon,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"popupSettings",{get:function(){return this._popupSettings},set:function(e){this._popupSettings=Object.assign({animate:!0,popupClass:""},e)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"look",{set:function(e){e&&(this.fillMode="default"===e?"solid":e)},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"primary",{set:function(e){this.themeColor=e?"primary":"base"},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"data",{get:function(){return this._data||(this.data=[]),this._data},set:function(e){this._data=e||[]},enumerable:!0,configurable:!0}),Object.defineProperty(d.prototype,"overflowButtons",{get:function(){return this.overflowDropDownButtonButtonList.buttons.toArray().filter(function(e){return!e.nativeElement.disabled}).slice()},enumerable:!0,configurable:!0}),d.prototype.onButtonListClick=function(t){this.focusedIndex=this.overflowDropDownButtonButtonList.buttons.toArray().findIndex(function(e){return e.nativeElement.contains(t.target)})},d.prototype.canFocus=function(){return!this.disabled},d.prototype.focus=function(e){void 0===e&&(e={}),this.overflows?0<this.overflowButtons.length&&(this.focusedIndex=u.getIndexOfFocused(this.getPrevKey(),this.getNextKey(),this.overflowButtons.map(function(e){return e.nativeElement}))(e),this.focusButton(this.focusedIndex,e)):"focus"!==e.type&&"keydown"!==e.type||this.toolbarDropDownButton.focus()},d.prototype.handleKey=function(e){return!!(this.overflows||e.keyCode!==this.getPrevKey(this.overflows)&&e.keyCode!==this.getNextKey(this.overflows))&&(this.overflows?(t=u.makePeeker(this.overflowButtons),o=u.areEqual(this.focusedIndex),this.focusedIndex=u.seekFocusedIndex(this.getPrevKey(),this.getNextKey(),t)(this.focusedIndex,e),this.focusButton(this.focusedIndex,e),!o(this.focusedIndex)):void 0);var t,o},d.prototype.focusButton=function(e,t){t.type&&"focus"!==t.type&&"keydown"!==t.type||this.overflowButtons[e].nativeElement.focus()},r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"showText",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"showIcon",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"text",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"icon",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"iconClass",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"imageUrl",null),r.__decorate([a.Input(),r.__metadata("design:type",Object),r.__metadata("design:paramtypes",[Object])],d.prototype,"popupSettings",null),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],d.prototype,"look",null),r.__decorate([a.Input(),r.__metadata("design:type",Boolean),r.__metadata("design:paramtypes",[Boolean])],d.prototype,"primary",null),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"fillMode",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"themeColor",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"buttonClass",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],d.prototype,"textField",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],d.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",Array),r.__metadata("design:paramtypes",[Array])],d.prototype,"data",null),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"itemClick",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"open",void 0),r.__decorate([a.Output(),r.__metadata("design:type",a.EventEmitter)],d.prototype,"close",void 0),r.__decorate([a.ViewChild("toolbarTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],d.prototype,"toolbarTemplate",void 0),r.__decorate([a.ViewChild("popupTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],d.prototype,"popupTemplate",void 0),r.__decorate([a.ViewChild("dropdownButton",{read:a.ElementRef,static:!0}),r.__metadata("design:type",a.ElementRef)],d.prototype,"dropdownButton",void 0),r.__decorate([a.ViewChild(l.DropDownButtonComponent,{static:!1}),r.__metadata("design:type",l.DropDownButtonComponent)],d.prototype,"dropDownButtonComponent",void 0),r.__decorate([a.ViewChild("toolbarDropDownButton",{static:!1}),r.__metadata("design:type",l.DropDownButtonComponent)],d.prototype,"toolbarDropDownButton",void 0),r.__decorate([a.ViewChild("overflowDropDownButtonButtonList",{static:!1}),r.__metadata("design:type",p.ToolBarButtonListComponent)],d.prototype,"overflowDropDownButtonButtonList",void 0),i=r.__decorate([a.Component({exportAs:"kendoToolBarDropDownButton",providers:[{provide:s.ToolBarToolComponent,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-dropdownbutton",template:'\n <ng-template #toolbarTemplate>\n <kendo-dropdownbutton\n #toolbarDropDownButton\n [icon]="toolbarOptions.icon"\n [iconClass]="toolbarOptions.iconClass"\n [imageUrl]="toolbarOptions.imageUrl"\n [buttonClass]="buttonClass"\n [disabled]="disabled"\n [tabIndex]="-1"\n [data]="data"\n [textField]="textField"\n [popupSettings]="popupSettings"\n [fillMode]="fillMode"\n [themeColor]="fillMode ? themeColor : null"\n (open)="open.emit($event)"\n (close)="close.emit($event)"\n (itemClick)="itemClick.emit($event)"\n >\n {{ toolbarOptions.text }}\n </kendo-dropdownbutton>\n </ng-template>\n <ng-template #popupTemplate>\n <button\n type="button"\n tabindex="-1"\n kendoButton\n class="k-overflow-button"\n [disabled]="true"\n [icon]="overflowOptions.icon"\n [iconClass]="overflowOptions.iconClass"\n [imageUrl]="overflowOptions.imageUrl"\n [ngClass]="buttonClass"\n (click)="itemClick.emit($event)"\n >\n {{ overflowOptions.text }}\n </button>\n <kendo-toolbar-buttonlist\n #overflowDropDownButtonButtonList\n [data]="data"\n [disabled]="disabled"\n [textField]="textField"\n (itemClick)="itemClick.emit($event)"\n (click)="onButtonListClick($event)"\n >\n </kendo-toolbar-buttonlist>\n </ng-template>\n '}),r.__metadata("design:paramtypes",[])],d));function d(){var e=n.call(this)||this;return e.showText="both",e.showIcon="both",e.fillMode="solid",e.themeColor="base",e.itemClick=new a.EventEmitter,e.open=new a.EventEmitter,e.close=new a.EventEmitter,e.toolbarOptions={text:"",icon:"",iconClass:"",imageUrl:""},e.overflowOptions={text:"",icon:"",iconClass:"",imageUrl:""},e._popupSettings={animate:!0,popupClass:""},e.focusedIndex=-1,e.getNextKey=u.getNextKey(),e.getPrevKey=u.getPrevKey(),e}t.ToolBarDropDownButtonComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,r=o(1),a=o(0),s=o(4),l=o(2),p=o(8),u=o(6),d=o(3),o=(n=l.ToolBarToolComponent,r.__extends(c,n),i=c,Object.defineProperty(c.prototype,"look",{set:function(t){t&&this.buttonComponents.forEach(function(e){return e.fillMode="default"===t?"solid":t})},enumerable:!0,configurable:!0}),Object.defineProperty(c.prototype,"buttonElements",{get:function(){return this.getButtonGroup().buttons.filter(function(e){return!e.isDisabled}).map(function(e){return e.element})},enumerable:!0,configurable:!0}),c.prototype.onFocus=function(){this.focusedIndex=0},c.prototype.onNavigate=function(e){e.preventDefault()},c.prototype.selectedChangeHandler=function(e,t){t.selected=e,t.selectedChange.emit(e)},c.prototype.onButtonClick=function(t){this.focusedIndex=this.buttonElements.findIndex(function(e){return e===t.target||e.contains(t.target)}),this.focusButton(this.focusedIndex,t)},c.prototype.canFocus=function(){return!(this.disabled||0===this.buttonElements.length)},c.prototype.focus=function(e){void 0===e&&(e={});var t=this.getNextKey(this.overflows),o=this.getPrevKey(this.overflows);this.focusedIndex=d.getIndexOfFocused(o,t,this.buttonElements)(e),this.focusButton(this.focusedIndex,e)},c.prototype.handleKey=function(e){var t=this.getNextKey(this.overflows),o=this.getPrevKey(this.overflows),n=d.makePeeker(this.buttonElements),i=d.areEqual(this.focusedIndex);return this.focusedIndex=d.seekFocusedIndex(o,t,n)(this.focusedIndex,e),this.focusButton(this.focusedIndex,e),!i(this.focusedIndex)},c.prototype.getButtonGroup=function(){return this.overflows?this.overflowButtonGroup:this.toolbarButtonGroup},c.prototype.focusButton=function(e,t){t.type&&"focus"!==t.type&&"keydown"!==t.type||this.buttonElements[e].focus()},r.__decorate([a.Input(),r.__metadata("design:type",Boolean)],c.prototype,"disabled",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],c.prototype,"selection",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String)],c.prototype,"width",void 0),r.__decorate([a.Input(),r.__metadata("design:type",String),r.__metadata("design:paramtypes",[String])],c.prototype,"look",null),r.__decorate([a.ViewChild("toolbarTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],c.prototype,"toolbarTemplate",void 0),r.__decorate([a.ViewChild("popupTemplate",{static:!0}),r.__metadata("design:type",a.TemplateRef)],c.prototype,"popupTemplate",void 0),r.__decorate([a.ContentChildren(a.forwardRef(function(){return p.ToolBarButtonComponent})),r.__metadata("design:type",a.QueryList)],c.prototype,"buttonComponents",void 0),r.__decorate([a.ViewChild("toolbarButtonGroup",{static:!1}),r.__metadata("design:type",u.ButtonGroupComponent)],c.prototype,"toolbarButtonGroup",void 0),r.__decorate([a.ViewChild("overflowButtonGroup",{static:!1}),r.__metadata("design:type",u.ButtonGroupComponent)],c.prototype,"overflowButtonGroup",void 0),i=r.__decorate([a.Component({exportAs:"kendoToolBarButtonGroup",providers:[s.LocalizationService,{provide:l.ToolBarToolComponent,useExisting:a.forwardRef(function(){return i})}],selector:"kendo-toolbar-buttongroup",template:'\n <ng-template #toolbarTemplate>\n <kendo-buttongroup\n #toolbarButtonGroup\n [tabIndex]="-1"\n [selection]="selection"\n [disabled]="disabled"\n [width]="width"\n (navigate)="onNavigate($event)"\n (focus)="onFocus()"\n >\n <span\n kendoButton\n *ngFor="let button of buttonComponents"\n [ngStyle]="button.style"\n [ngClass]="button.className"\n [attr.title]="button.title"\n [disabled]="button.disabled"\n [togglable]="button.togglable"\n [selected]="button.selected"\n [fillMode]="button.fillMode"\n [themeColor]="button.fillMode ? button.themeColor : null"\n [icon]="button.toolbarOptions.icon"\n [iconClass]="button.toolbarOptions.iconClass"\n [imageUrl]="button.toolbarOptions.imageUrl"\n (click)="button.click.emit($event); onButtonClick($event)"\n (pointerdown)="button.pointerdown.emit($event)"\n (selectedChange)="selectedChangeHandler($event, button)"\n >\n {{ button.toolbarOptions.text }}\n </span>\n </kendo-buttongroup>\n </ng-template>\n <ng-template #popupTemplate>\n <kendo-buttongroup\n #overflowButtonGroup\n class="k-overflow-button"\n [tabIndex]="-1"\n [selection]="selection"\n [disabled]="disabled"\n [width]="width"\n >\n <span\n kendoButton\n class="k-overflow-button"\n *ngFor="let button of buttonComponents"\n [ngStyle]="button.style"\n [ngClass]="button.className"\n [attr.title]="button.title"\n [disabled]="button.disabled"\n [togglable]="button.togglable"\n [selected]="button.selected"\n [fillMode]="button.fillMode"\n [themeColor]="button.fillMode ? button.themeColor : null"\n [icon]="button.overflowOptions.icon"\n [iconClass]="button.overflowOptions.iconClass"\n [imageUrl]="button.overflowOptions.imageUrl"\n (click)="button.click.emit($event); onButtonClick($event)"\n (selectedChange)="selectedChangeHandler($event, button)"\n >\n {{ button.overflowOptions.text }}\n </span>\n </kendo-buttongroup>\n </ng-template>\n '}),r.__metadata("design:paramtypes",[s.LocalizationService])],c));function c(e){var t=n.call(this)||this;return t.localization=e,t.selection="multiple",t.focusedIndex=-1,t.getNextKey=d.getNextKey(t.localization.rtl),t.getPrevKey=d.getPrevKey(t.localization.rtl),t}t.ToolBarButtonGroupComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),o=(r.prototype.refresh=function(e){this.onRefresh.emit(e)},n.__decorate([i.Injectable()],r));function r(){this.onRefresh=new i.EventEmitter}t.RefreshService=o},function(e,t){e.exports=p},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(e){return{animate:!0,anchorAlign:{horizontal:e?"left":"right",vertical:"bottom"},popupAlign:{horizontal:e?"left":"right",vertical:"top"}}}var i=o(1),l=o(0),r=o(18),a=o(5),s=o(4),p=o(29),u=o(28),d=o(17),c=o(27),f=o(2),g=o(3),h=o(5),m=o(26),_=o(25),b=o(9),y=o(9),v=o(5),w=o(24),o=(Object.defineProperty(C.prototype,"resizable",{get:function(){return this.overflow},set:function(e){this.overflow=e},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"popupSettings",{get:function(){return this._popupSettings||n(this.localization.rtl)},set:function(e){this._popupSettings=Object.assign({},n(this.localization.rtl),e)},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"tabIndex",{get:function(){return this.tabindex},set:function(e){this.tabindex=e},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"appendTo",{get:function(){var e=this.popupSettings.appendTo;if(e&&"root"!==e)return"component"===e?this.container:e},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"popupOpen",{get:function(){return this._open},set:function(e){var t;this.popupOpen!==e&&(t=new m.PreventableEvent,(e?this.open:this.close).emit(t),t.isDefaultPrevented()||this.toggle(e))},enumerable:!0,configurable:!0}),C.prototype.onFocus=function(e){this.navigationService.resetNavigation(),this.navigationService.focusFirst(e),this.element.nativeElement.setAttribute("tabindex","-1")},C.prototype.onFocusOut=function(e){var t=this;g.closest(e.relatedTarget,function(e){return e===t.element.nativeElement})?this.element.nativeElement.setAttribute("tabindex","-1"):this.element.nativeElement.setAttribute("tabindex",this.tabindex.toString())},Object.defineProperty(C.prototype,"getRole",{get:function(){return"toolbar"},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"getDir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"resizableClass",{get:function(){return this.overflow},enumerable:!0,configurable:!0}),C.prototype.ngAfterViewInit=function(){var t=this;this.element.nativeElement.getAttribute("tabindex")||this.element.nativeElement.setAttribute("tabindex","0"),this.zone.runOutsideAngular(function(){t.toolbarKeydownListener=t.renderer.listen(t.element.nativeElement,"keydown",function(e){switch(e.keyCode){case h.Keys.ArrowLeft:t.zone.run(function(){e.preventDefault(),"ltr"===t.direction?t.navigationService.focusPrev(e):t.navigationService.focusNext(e),t.element.nativeElement.setAttribute("tabindex","-1")});break;case h.Keys.ArrowRight:t.zone.run(function(){e.preventDefault(),"ltr"===t.direction?t.navigationService.focusNext(e):t.navigationService.focusPrev(e),t.element.nativeElement.setAttribute("tabindex","-1")});break;case h.Keys.Tab:t.zone.run(function(){return t.navigationService.resetNavigation()});break;case h.Keys.Escape:t.zone.run(function(){return t.toggle(!1)})}})}),this.overflow&&(this.subscriptions.add(_.merge(this.resizeSensor.resize,this.renderedTools.changes).subscribe(function(){t.onResize()})),this.zone.runOutsideAngular(function(){return setTimeout(function(){t.onResize(),t.onResize()})}),this.navigationService.overflowButton=this.overflowButton),this.navigationService.setRenderedTools(this.renderedTools.toArray()),this.subscriptions.add(this.renderedTools.changes.subscribe(function(e){return t.navigationService.setRenderedTools(e.toArray())}))},C.prototype.ngOnInit=function(){var t=this;this.subscriptions.add(this.localization.changes.subscribe(function(e){e=e.rtl;return t.direction=e?"rtl":"ltr"})),v.isDocumentAvailable()&&this.zone.runOutsideAngular(function(){return t.subscriptions.add(_.fromEvent(document,"click").pipe(y.filter(function(){return!!t.popupRef}),y.filter(function(e){return!t.popupRef.popup.instance.container.nativeElement.contains(e.target)}),y.filter(function(e){return!t.overflowButton.nativeElement.contains(e.target)})).subscribe(function(){t.zone.run(function(){t.popupOpen=!1})}))})},C.prototype.ngOnChanges=function(e){e.tabindex&&this.element.nativeElement.setAttribute("tabindex",e.tabindex.currentValue.toString())},C.prototype.ngOnDestroy=function(){this.popupRef&&this.popupRef.close(),this.toolbarKeydownListener&&this.toolbarKeydownListener(),this.cancelRenderedToolsSubscription$.next(),this.subscriptions.unsubscribe()},Object.defineProperty(C.prototype,"moreToolsTitle",{get:function(){return this.localization.get("moreToolsTitle")},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"cdr",{get:function(){return this._cdr},enumerable:!0,configurable:!0}),C.prototype.onRendererClick=function(e){this.navigationService.click(e),this.element.nativeElement.setAttribute("tabindex","-1")},C.prototype.showPopup=function(){this.popupOpen=!this.popupOpen,this.navigationService.click({context:void 0,event:void 0})},C.prototype.toggle=function(e){this._open=void 0!==e?e:!this.popupOpen,this.popupRef&&(this.popupRef.close(),this.popupRef=null),this.popupOpen&&(this.popupRef=this.popupService.open({anchor:this.overflowButton,anchorAlign:this.popupSettings.anchorAlign,popupAlign:this.popupSettings.popupAlign,content:this.popupTemplate,appendTo:this.appendTo,animate:this.popupSettings.animate,popupClass:this.popupSettings.popupClass,positionMode:"absolute"}),this.setPopupContentDimensions(),this.popupRef.popupOpen.subscribe(this.onPopupOpen.bind(this)),this.popupRef.popupClose.subscribe(this.onPopupClose.bind(this)))},C.prototype.onResize=function(){var e;v.isDocumentAvailable()&&(e=g.innerWidth(this.element.nativeElement)-this.overflowAnchorWidth,this.shrink(e,this.childrenWidth),this.stretch(e,this.childrenWidth),this.displayAnchor(),this.resizeSensor.acceptSize())},C.prototype.onPopupOpen=function(){var t=this;this.zone.runOutsideAngular(function(){t.overflowKeydownListener=t.renderer.listen(t.popupRef.popupElement,"keydown",function(e){switch(e.keyCode){case h.Keys.ArrowUp:t.zone.run(function(){e.preventDefault(),t.navigationService.focusPrev(e)});break;case h.Keys.ArrowDown:t.zone.run(function(){e.preventDefault(),t.navigationService.focusNext(e)});break;case h.Keys.Escape:t.zone.run(function(){return t.toggle(!1)});break;case h.Keys.Tab:t.zone.run(function(){t.toggle(!1),t.navigationService.resetNavigation()})}})}),this.cancelRenderedToolsSubscription$.next(),this.navigationService.moveFocusToPopup(),this.navigationService.setRenderedTools(this.overflowRenderedTools.toArray()),this.overflowRenderedTools.changes.pipe(b.takeUntil(this.cancelRenderedToolsSubscription$)).subscribe(function(e){return t.navigationService.setRenderedTools(e.toArray())})},C.prototype.onPopupClose=function(){var t=this;this.cancelRenderedToolsSubscription$.next(),this.navigationService.setRenderedTools(this.renderedTools.toArray()),this.renderedTools.changes.pipe(b.takeUntil(this.cancelRenderedToolsSubscription$)).subscribe(function(e){return t.navigationService.setRenderedTools(e.toArray())}),this.navigationService.moveFocusToToolBar(),this.overflowKeydownListener&&this.overflowKeydownListener()},C.prototype.displayAnchor=function(){var e=0<this.allTools.filter(function(e){return e.overflows&&e.responsive}).length?"visible":"hidden";this.renderer.setStyle(this.overflowButton.nativeElement,"visibility",e)},Object.defineProperty(C.prototype,"popupWidth",{get:function(){return this.popupSettings&&this.popupSettings.width?isNaN(this.popupSettings.width)?this.popupSettings.width:this.popupSettings.width+"px":w.defaultPopupWidth},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"popupHeight",{get:function(){if(this.popupSettings&&this.popupSettings.height)return isNaN(this.popupSettings.height)?this.popupSettings.height:this.popupSettings.height+"px"},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"overflowAnchorWidth",{get:function(){return this.overflow?(this.cachedOverflowAnchorWidth||(this.cachedOverflowAnchorWidth=g.outerWidth(this.overflowButton.nativeElement)),this.cachedOverflowAnchorWidth):0},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"gap",{get:function(){if(g.isPresent(this.cachedGap))return this.cachedGap;var e=getComputedStyle(this.element.nativeElement).gap;return this.cachedGap=g.isPresent(e)?parseInt(e,10):0,this.cachedGap},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"childrenWidth",{get:function(){var o=this,e=this.renderedTools.reduce(function(e,t){return t.width+e+(t.isDisplayed()?o.gap:0)},0);return Math.ceil(e)},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"visibleTools",{get:function(){return this.allTools.filter(function(e){return!1===e.overflows})},enumerable:!0,configurable:!0}),Object.defineProperty(C.prototype,"overflowTools",{get:function(){return this.allTools.filter(function(e){return!0===e.overflows})},enumerable:!0,configurable:!0}),C.prototype.shrink=function(e,t){if(e<t)for(var o=this.visibleTools.length-1;0<=o&&!(t<e);o--)t-=this.hideLastVisibleTool()},C.prototype.stretch=function(e,t){var o;if(t<e)for(var n=this.overflowTools.length-1;0<=n&&(o=this.showFirstHiddenTool(e,t));n--)t+=o},C.prototype.hideLastVisibleTool=function(){var t=this.visibleTools[this.visibleTools.length-1],e=this.renderedTools.find(function(e){return e.tool===t}).width;return t.overflows=!0,this.refreshService.refresh(t),e},C.prototype.showFirstHiddenTool=function(e,t){var o=this.overflowTools[0],n=this.renderedTools.find(function(e){return e.tool===o});return o.overflows=!1,o.visibility="hidden",this.refreshService.refresh(o),e>t+n.width?o.visibility="visible":o.overflows=!0,this.refreshService.refresh(o),n.width},C.prototype.setPopupContentDimensions=function(){var e=this.popupRef.popup.instance.contentContainer.nativeElement;e.style.width=this.popupWidth,e.style.height=this.popupHeight,e.style.overflow="auto"},i.__decorate([l.Input(),i.__metadata("design:type",Boolean)],C.prototype,"overflow",void 0),i.__decorate([l.Input(),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[Boolean])],C.prototype,"resizable",null),i.__decorate([l.Input(),i.__metadata("design:type",Object),i.__metadata("design:paramtypes",[Object])],C.prototype,"popupSettings",null),i.__decorate([l.Input(),i.__metadata("design:type",Number)],C.prototype,"tabindex",void 0),i.__decorate([l.Input("tabIndex"),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],C.prototype,"tabIndex",null),i.__decorate([l.Output(),i.__metadata("design:type",l.EventEmitter)],C.prototype,"open",void 0),i.__decorate([l.Output(),i.__metadata("design:type",l.EventEmitter)],C.prototype,"close",void 0),i.__decorate([l.ContentChildren(f.ToolBarToolComponent),i.__metadata("design:type",l.QueryList)],C.prototype,"allTools",void 0),i.__decorate([l.ViewChild("overflowButton",{static:!1}),i.__metadata("design:type",l.ElementRef)],C.prototype,"overflowButton",void 0),i.__decorate([l.ViewChild("popupTemplate",{static:!0}),i.__metadata("design:type",l.TemplateRef)],C.prototype,"popupTemplate",void 0),i.__decorate([l.ViewChild("resizeSensor",{static:!1}),i.__metadata("design:type",a.ResizeSensorComponent)],C.prototype,"resizeSensor",void 0),i.__decorate([l.ViewChild("container",{read:l.ViewContainerRef,static:!0}),i.__metadata("design:type",l.ViewContainerRef)],C.prototype,"container",void 0),i.__decorate([l.ViewChildren("toolbarRenderer"),i.__metadata("design:type",l.QueryList)],C.prototype,"renderedTools",void 0),i.__decorate([l.ViewChildren("overflowRenderer"),i.__metadata("design:type",l.QueryList)],C.prototype,"overflowRenderedTools",void 0),i.__decorate([l.HostBinding("class.k-widget"),l.HostBinding("class.k-toolbar"),i.__metadata("design:type",Boolean)],C.prototype,"hostClasses",void 0),i.__decorate([l.HostListener("focus",["$event"]),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[Object]),i.__metadata("design:returntype",void 0)],C.prototype,"onFocus",null),i.__decorate([l.HostListener("focusout",["$event"]),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[Object]),i.__metadata("design:returntype",void 0)],C.prototype,"onFocusOut",null),i.__decorate([l.HostBinding("attr.role"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],C.prototype,"getRole",null),i.__decorate([l.HostBinding("attr.dir"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],C.prototype,"getDir",null),i.__decorate([l.HostBinding("class.k-toolbar-resizable"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],C.prototype,"resizableClass",null),i.__decorate([l.Component({exportAs:"kendoToolBar",providers:[d.RefreshService,c.NavigationService,s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.toolbar"}],selector:"kendo-toolbar",template:'\n <ng-container kendoToolbarLocalizedMessages\n i18n-moreToolsTitle="kendo.toolbar.moreToolsTitle|The title of the **more tools** button in a responsive ToolBar"\n moreToolsTitle="More tools"\n >\n </ng-container>\n <ng-container *ngFor="let tool of allTools; let index = index">\n <kendo-toolbar-renderer\n #toolbarRenderer\n (rendererClick)="onRendererClick($event)"\n [location]="\'toolbar\'"\n [resizable]="overflow"\n [tool]="tool"\n ></kendo-toolbar-renderer>\n </ng-container>\n <button\n #overflowButton\n type="button"\n tabindex="-1"\n [title]="moreToolsTitle"\n [attr.aria-label]="moreToolsTitle"\n *ngIf="overflow"\n [style.visibility]="\'hidden\'"\n class="k-overflow-anchor k-button"\n (click)="showPopup()"\n >\n <span class="k-icon k-i-more-vertical"></span>\n </button>\n <ng-template #popupTemplate>\n <ul class="k-overflow-container k-list-container k-reset">\n <ng-container *ngFor="let tool of allTools; let index = index">\n <li class="k-item">\n <kendo-toolbar-renderer\n #overflowRenderer\n (rendererClick)="onRendererClick($event)"\n [location]="\'overflow\'"\n [resizable]="overflow"\n [tool]="tool"\n ></kendo-toolbar-renderer>\n </li>\n </ng-container>\n </ul>\n </ng-template>\n <ng-container #container></ng-container>\n <kendo-resize-sensor *ngIf="overflow" #resizeSensor></kendo-resize-sensor>\n '}),i.__metadata("design:paramtypes",[s.LocalizationService,r.PopupService,d.RefreshService,c.NavigationService,l.ElementRef,l.NgZone,l.Renderer2,l.ChangeDetectorRef])],C));function C(e,t,o,n,i,r,a,s){this.localization=e,this.popupService=t,this.refreshService=o,this.navigationService=n,this.element=i,this.zone=r,this.renderer=a,this._cdr=s,this.overflow=!1,this.tabindex=0,this.open=new l.EventEmitter,this.close=new l.EventEmitter,this.hostClasses=!0,this.cancelRenderedToolsSubscription$=new _.Subject,this.subscriptions=new _.Subscription,p.validatePackage(u.packageMetadata),this.direction=e.rtl?"rtl":"ltr"}t.ToolBarComponent=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(3),o=(a.prototype.getElement=function(){return this.element.nativeElement},a.prototype.querySelector=function(e){return this.element.nativeElement.querySelector(e)},a.prototype.querySelectorAll=function(e){return this.element.nativeElement.querySelectorAll(e)},a.prototype.findFocusable=function(){return r.findFocusable(this.element.nativeElement,!1)},a.prototype.findFocusableChild=function(e){return e=e||this.findFocusable(),r.findFocusableChild(e,!1)},a.prototype.findNextFocusableSibling=function(e){return e=e||this.findFocusable(),r.findFocusableSibling(e,!1)},a.prototype.findPrevFocusableSibling=function(e){return e=e||this.findFocusable(),r.findFocusableSibling(e,!1,!0)},a.prototype.setAttribute=function(e,t,o){this.renderer.setAttribute(e,t,o)},n.__decorate([i.Injectable()],a));function a(){}t.RendererService=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),r=o(0),i=o(3),a=o(2),s=o(17),o=o(20),a=(l.prototype.onClick=function(e){this.rendererClick.emit({context:this,event:e})},l.prototype.ngOnInit=function(){this.resizable?("toolbar"===this.location?(this.template=this.tool.toolbarTemplate,this.renderer.setStyle(this.element.nativeElement,"visibility","hidden")):this.template=this.tool.popupTemplate,this.renderer.setStyle(this.element.nativeElement,"display","none")):(this.tool.overflows=!1,this.template=this.tool.toolbarTemplate,this.renderer.setStyle(this.element.nativeElement,"visibility","display"),this.renderer.setStyle(this.element.nativeElement,"display","inline-block"))},l.prototype.ngOnDestroy=function(){this.refreshSubscription.unsubscribe()},l.prototype.ngAfterViewInit=function(){this.resizable&&this.refresh()},Object.defineProperty(l.prototype,"width",{get:function(){return this.tool.overflows?0:i.outerWidth(this.element.nativeElement)},enumerable:!0,configurable:!0}),l.prototype.isDisplayed=function(){return"none"!==this.element.nativeElement.style.display},l.prototype.refresh=function(){this.resizable&&("toolbar"===this.location?(this.renderer.setStyle(this.element.nativeElement,"visibility",this.tool.visibility),this.renderer.setStyle(this.element.nativeElement,"display",this.tool.toolbarDisplay)):this.renderer.setStyle(this.element.nativeElement,"display",this.tool.overflowDisplay))},l.prototype.setAttribute=function(e,t,o){this.renderer.setAttribute(e,t,o)},n.__decorate([r.Input(),n.__metadata("design:type",a.ToolBarToolComponent)],l.prototype,"tool",void 0),n.__decorate([r.Input(),n.__metadata("design:type",String)],l.prototype,"location",void 0),n.__decorate([r.Input(),n.__metadata("design:type",Boolean)],l.prototype,"resizable",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],l.prototype,"rendererClick",void 0),n.__decorate([r.HostListener("click",["$event"]),n.__metadata("design:type",Function),n.__metadata("design:paramtypes",[Object]),n.__metadata("design:returntype",void 0)],l.prototype,"onClick",null),n.__decorate([r.Component({exportAs:"kendoToolBarRenderer",providers:[o.RendererService],selector:"kendo-toolbar-renderer",template:'\n <ng-container *ngIf="location === \'toolbar\'">\n <ng-template [ngTemplateOutlet]="template"></ng-template>\n </ng-container>\n <ng-container *ngIf="location === \'overflow\' && tool.responsive">\n <ng-template [ngTemplateOutlet]="template"></ng-template>\n </ng-container>\n '}),n.__metadata("design:paramtypes",[r.ElementRef,r.Renderer2,o.RendererService,s.RefreshService])],l));function l(e,t,o,n){var i=this;this.element=e,this.renderer=t,this.rendererService=o,this.refreshService=n,this.rendererClick=new r.EventEmitter,this.rendererService.element=e,(this.rendererService.renderer=this).refreshSubscription=this.refreshService.onRefresh.subscribe(function(e){i.tool===e&&i.refresh()})}t.ToolBarRendererComponent=a},function(e,t){e.exports=g},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(22),a=o(6),s=o(18),l=o(5),p=o(19),u=o(2),d=o(8),c=o(16),f=o(15),g=o(14),h=o(13),m=o(21),_=o(7),b=o(12),o=o(10),u=[u.ToolBarToolComponent,d.ToolBarButtonComponent,c.ToolBarButtonGroupComponent,f.ToolBarDropDownButtonComponent,g.ToolBarSplitButtonComponent,h.ToolBarSeparatorComponent],d=[m.ToolBarRendererComponent,_.ToolBarButtonListComponent,o.ToolbarCustomMessagesComponent,b.LocalizedToolbarMessagesDirective],c=n.__decorate([i.NgModule({declarations:[p.ToolBarComponent,u,d],exports:[p.ToolBarComponent,u,o.ToolbarCustomMessagesComponent,b.LocalizedToolbarMessagesDirective],imports:[r.CommonModule,a.ButtonsModule,s.PopupModule,l.ResizeSensorModule]})],y);function y(){}t.ToolBarModule=c},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.defaultPopupWidth="150px"},function(e,t){e.exports=d},function(e,t,o){"use strict";function n(){this.prevented=!1}Object.defineProperty(t,"__esModule",{value:!0}),n.prototype.preventDefault=function(){this.prevented=!0},n.prototype.isDefaultPrevented=function(){return this.prevented},t.PreventableEvent=n},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=o(1),i=o(0),r=o(9),a=o(3),o=(s.prototype.setRenderedTools=function(e){this.renderedTools=e.slice()},s.prototype.click=function(e){var t=e.context,e=e.event;this.focused.renderedTool!==t&&e&&this.focus(t,e)},s.prototype.moveFocusToToolBar=function(){this.isPopupFocused=!1,this.focusOverflowButton()},s.prototype.moveFocusToPopup=function(){this.isPopupFocused=!0,this.blurOverflowButton(),this.focus()},s.prototype.focusNext=function(e){var t;this.isOverflowButtonFocused||!this.focused.renderedTool||this.focused.renderedTool.tool.handleKey(e)||((t=this.getFocusableTools().slice(this.focused.index+1)[0])?this.focus(t,e):this.isOverflowButtonVisible()&&!this.isPopupFocused&&this.focusOverflowButton())},s.prototype.focusPrev=function(e){var t;this.isOverflowButtonFocused?(t=this.getFocusableTools().reverse()[0],this.focus(t,e)):this.focused.renderedTool&&!this.focused.renderedTool.tool.handleKey(e)&&(t=this.getFocusableTools().slice(0,this.focused.index).reverse()[0])&&this.focus(t,e)},s.prototype.resetNavigation=function(){this.blurOverflowButton(),this.focused.renderedTool=null,this.focused.index=-1},s.prototype.focusFirst=function(e){var t=this.getFocusableTools()[0],o=this.overflowButton;t?(this.focused.renderedTool=t,this.focused.index=this.getFocusableTools().findIndex(function(e){return e===t}),this.focus(t,e)):o&&o.nativeElement.focus()},s.prototype.getFocusableTools=function(){var t=this;return this.renderedTools.filter(function(e){return e.tool.overflows===t.isPopupFocused&&e.tool.canFocus()})},s.prototype.focus=function(o,n){var i=this;this.zone.onStable.pipe(r.take(1)).subscribe(function(){var e,t;o?o.tool.canFocus&&o.tool.canFocus()&&(i.focused.renderedTool=o,i.focused.index=i.getFocusableTools().findIndex(function(e){return e===o}),o.tool.focus(n),i.blurOverflowButton()):(e=i.getFocusableTools(),(t=e.find(function(e){return e===i.focused.renderedTool})||e[0])&&(i.focused.renderedTool=t,i.focused.index=i.getFocusableTools().findIndex(function(e){return e===t}),t.tool.focus(n)))})},s.prototype.blurOverflowButton=function(){this.overflowButton&&(this.isOverflowButtonFocused=!1,this.overflowButton.nativeElement.tabIndex=-1)},s.prototype.focusOverflowButton=function(){this.isOverflowButtonFocused=!0,this.overflowButton.nativeElement.tabIndex=0,this.overflowButton.nativeElement.focus()},s.prototype.isOverflowButtonVisible=function(){return a.isPresent(this.overflowButton)&&"visible"===window.getComputedStyle(this.overflowButton.nativeElement).getPropertyValue("visibility")},n.__decorate([i.Injectable(),n.__metadata("design:paramtypes",[i.NgZone])],s));function s(e){this.zone=e,this.focused={renderedTool:null,index:-1},this.renderedTools=[],this.isPopupFocused=!1,this.isOverflowButtonFocused=!1}t.NavigationService=o},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.packageMetadata={name:"@progress/kendo-angular-toolbar",productName:"Kendo UI for Angular",productCodes:["KENDOUIANGULAR","KENDOUICOMPLETE"],publishDate:1650269515,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){e.exports=f},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i=o(19),i=(t.ToolBarComponent=i.ToolBarComponent,o(2)),i=(t.ToolBarToolComponent=i.ToolBarToolComponent,o(8)),i=(t.ToolBarButtonComponent=i.ToolBarButtonComponent,o(16)),i=(t.ToolBarButtonGroupComponent=i.ToolBarButtonGroupComponent,o(15)),i=(t.ToolBarDropDownButtonComponent=i.ToolBarDropDownButtonComponent,o(14)),i=(t.ToolBarSplitButtonComponent=i.ToolBarSplitButtonComponent,o(13)),i=(t.ToolBarSeparatorComponent=i.ToolBarSeparatorComponent,o(23)),i=(t.ToolBarModule=i.ToolBarModule,o(12)),i=(t.LocalizedToolbarMessagesDirective=i.LocalizedToolbarMessagesDirective,o(10)),r=(t.ToolbarCustomMessagesComponent=i.ToolbarCustomMessagesComponent,t);for(n in r)a(n,r[n])}],i={},n.m=o,n.c=i,n.d=function(e,t,o){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},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=30)}}});
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Kendo UI Angular Toolbar component - a single UI element that organizes buttons and other navigation elements",
|
|
4
4
|
"author": "Progress",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
|
-
"version": "5.0.
|
|
6
|
+
"version": "5.0.4",
|
|
7
7
|
"main": "dist/npm/index.js",
|
|
8
8
|
"module": "dist/fesm5/index.js",
|
|
9
9
|
"es2015": "dist/fesm2015/index.js",
|