New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-angular-buttons

Package Overview
Dependencies
Maintainers
1
Versions
1061
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-angular-buttons - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1-dev.201801251312

2

dist/es/buttongroup/buttongroup.component.d.ts

@@ -21,3 +21,3 @@ import { ButtonDirective } from '../button/button.directive';

* For more information on how to configure the Button, refer to
* its [API documentation]({% slug api_buttons_buttondirective_kendouiforangular %}).
* its [API documentation]({% slug api_buttons_buttondirective %}).
*/

@@ -24,0 +24,0 @@ disabled: boolean;

@@ -48,3 +48,3 @@ import { TemplateRef } from '@angular/core';

*
* For more examples, refer to the article on the [DropDownList templates]({% slug overview_ddl_kendouiforangular %}#templates).
* For more examples, refer to the article on the [DropDownList templates]({% slug overview_ddl %}#templates).
*/

@@ -51,0 +51,0 @@ export declare class ButtonItemTemplateDirective {

@@ -49,3 +49,3 @@ /* tslint:disable:directive-selector-name */

*
* For more examples, refer to the article on the [DropDownList templates]({% slug overview_ddl_kendouiforangular %}#templates).
* For more examples, refer to the article on the [DropDownList templates]({% slug overview_ddl %}#templates).
*/

@@ -52,0 +52,0 @@ var ButtonItemTemplateDirective = (function () {

@@ -96,2 +96,22 @@ import { ElementRef, TemplateRef, EventEmitter, AfterViewInit, OnChanges, SimpleChanges, NgZone } from '@angular/core';

* Fires each time the user clicks the main button.
*
* @example
* ```ts
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-splitbutton (buttonClick)="onSplitButtonClick()" [data]="data">
* Reply
* </kendo-splitbutton>
* `
* })
* class AppComponent {
* public data: Array<any> = ['Reply All', 'Forward', 'Reply & Delete'];
*
* public onSplitButtonClick(): void {
* console.log('SplitButton click');
* }
* }
* ```
*
*/

@@ -101,2 +121,24 @@ buttonClick: EventEmitter<any>;

* Fires each time the user clicks on the drop-down list. The event data contains the data item bound to the clicked list item.
*
* @example
* ```ts
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-splitbutton (itemClick)="onSplitButtonItemClick($event)" [data]="data">
* Reply
* </kendo-splitbutton>
* `
* })
* class AppComponent {
* public data: Array<any> = ['Reply All', 'Forward', 'Reply & Delete'];
*
* public onSplitButtonItemClick(dataItem?: string): void {
* if (dataItem) {
* console.log(dataItem);
* }
* }
* }
* ```
*
*/

@@ -103,0 +145,0 @@ itemClick: EventEmitter<any>;

@@ -88,2 +88,22 @@ import * as tslib_1 from "tslib";

* Fires each time the user clicks the main button.
*
* @example
* ```ts
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-splitbutton (buttonClick)="onSplitButtonClick()" [data]="data">
* Reply
* </kendo-splitbutton>
* `
* })
* class AppComponent {
* public data: Array<any> = ['Reply All', 'Forward', 'Reply & Delete'];
*
* public onSplitButtonClick(): void {
* console.log('SplitButton click');
* }
* }
* ```
*
*/

@@ -93,2 +113,24 @@ _this.buttonClick = new EventEmitter();

* Fires each time the user clicks on the drop-down list. The event data contains the data item bound to the clicked list item.
*
* @example
* ```ts
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-splitbutton (itemClick)="onSplitButtonItemClick($event)" [data]="data">
* Reply
* </kendo-splitbutton>
* `
* })
* class AppComponent {
* public data: Array<any> = ['Reply All', 'Forward', 'Reply & Delete'];
*
* public onSplitButtonItemClick(dataItem?: string): void {
* if (dataItem) {
* console.log(dataItem);
* }
* }
* }
* ```
*
*/

@@ -95,0 +137,0 @@ _this.itemClick = new EventEmitter();

@@ -21,3 +21,3 @@ import { ButtonDirective } from '../button/button.directive';

* For more information on how to configure the Button, refer to
* its [API documentation]({% slug api_buttons_buttondirective_kendouiforangular %}).
* its [API documentation]({% slug api_buttons_buttondirective %}).
*/

@@ -24,0 +24,0 @@ disabled: boolean;

@@ -48,3 +48,3 @@ import { TemplateRef } from '@angular/core';

*
* For more examples, refer to the article on the [DropDownList templates]({% slug overview_ddl_kendouiforangular %}#templates).
* For more examples, refer to the article on the [DropDownList templates]({% slug overview_ddl %}#templates).
*/

@@ -51,0 +51,0 @@ export declare class ButtonItemTemplateDirective {

@@ -51,3 +51,3 @@ "use strict";

*
* For more examples, refer to the article on the [DropDownList templates]({% slug overview_ddl_kendouiforangular %}#templates).
* For more examples, refer to the article on the [DropDownList templates]({% slug overview_ddl %}#templates).
*/

@@ -54,0 +54,0 @@ var ButtonItemTemplateDirective = (function () {

@@ -96,2 +96,22 @@ import { ElementRef, TemplateRef, EventEmitter, AfterViewInit, OnChanges, SimpleChanges, NgZone } from '@angular/core';

* Fires each time the user clicks the main button.
*
* @example
* ```ts
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-splitbutton (buttonClick)="onSplitButtonClick()" [data]="data">
* Reply
* </kendo-splitbutton>
* `
* })
* class AppComponent {
* public data: Array<any> = ['Reply All', 'Forward', 'Reply & Delete'];
*
* public onSplitButtonClick(): void {
* console.log('SplitButton click');
* }
* }
* ```
*
*/

@@ -101,2 +121,24 @@ buttonClick: EventEmitter<any>;

* Fires each time the user clicks on the drop-down list. The event data contains the data item bound to the clicked list item.
*
* @example
* ```ts
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-splitbutton (itemClick)="onSplitButtonItemClick($event)" [data]="data">
* Reply
* </kendo-splitbutton>
* `
* })
* class AppComponent {
* public data: Array<any> = ['Reply All', 'Forward', 'Reply & Delete'];
*
* public onSplitButtonItemClick(dataItem?: string): void {
* if (dataItem) {
* console.log(dataItem);
* }
* }
* }
* ```
*
*/

@@ -103,0 +145,0 @@ itemClick: EventEmitter<any>;

@@ -90,2 +90,22 @@ "use strict";

* Fires each time the user clicks the main button.
*
* @example
* ```ts
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-splitbutton (buttonClick)="onSplitButtonClick()" [data]="data">
* Reply
* </kendo-splitbutton>
* `
* })
* class AppComponent {
* public data: Array<any> = ['Reply All', 'Forward', 'Reply & Delete'];
*
* public onSplitButtonClick(): void {
* console.log('SplitButton click');
* }
* }
* ```
*
*/

@@ -95,2 +115,24 @@ _this.buttonClick = new core_1.EventEmitter();

* Fires each time the user clicks on the drop-down list. The event data contains the data item bound to the clicked list item.
*
* @example
* ```ts
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-splitbutton (itemClick)="onSplitButtonItemClick($event)" [data]="data">
* Reply
* </kendo-splitbutton>
* `
* })
* class AppComponent {
* public data: Array<any> = ['Reply All', 'Forward', 'Reply & Delete'];
*
* public onSplitButtonItemClick(dataItem?: string): void {
* if (dataItem) {
* console.log(dataItem);
* }
* }
* }
* ```
*
*/

@@ -97,0 +139,0 @@ _this.itemClick = new core_1.EventEmitter();

@@ -1,1 +0,1 @@

System.register("@progress/kendo-angular-buttons",["tslib","@angular/core","@progress/kendo-angular-l10n","@angular/common","@progress/kendo-angular-popup","rxjs/Subject","rxjs/add/operator/filter","rxjs/Observable","rxjs/add/operator/merge","rxjs/add/observable/fromEvent"],function(t){function e(e){for(var n in e)t(n,e[n])}function n(t){return t.__useDefault?t.default:t}var o,i,r,a,s,p,u,c,d,l;return{setters:[function(t){o=n(t)},function(t){i=n(t)},function(t){r=n(t)},function(t){a=n(t)},function(t){s=n(t)},function(t){p=n(t)},function(t){u=n(t)},function(t){c=n(t)},function(t){d=n(t)},function(t){l=n(t)}],execute:function(){!function(t){function e(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return t[o].call(i.exports,i,i.exports,e),i.loaded=!0,i.exports}var n={};e.m=t,e.c=n,e.p="",e(0)}([function(t,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=o(1);n.Button=i.ButtonDirective;var r=o(8);n.ButtonGroup=r.ButtonGroupComponent;var a=o(10);n.ButtonGroupModule=a.ButtonGroupModule;var s=o(12);n.ButtonModule=s.ButtonModule;var p=o(13);n.ButtonsModule=p.ButtonsModule;var u=o(22);n.SplitButton=u.SplitButtonComponent;var c=o(14);n.SplitButtonModule=c.SplitButtonModule;var d=o(34);n.DropDownButton=d.DropDownButtonComponent;var l=o(33);n.DropDownButtonModule=l.DropDownButtonModule,e(n)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(4),a=n(5),s=n(7),p=function(){function t(t,e,n,o){this.service=n,this.togglable=!1,this.primary=!1,this.look="default",this.isDisabled=!1,this.isIcon=!1,this.isIconClass=!1,this.selected=!1,this.tabIndex=0,this.selectedChange=new i.EventEmitter,this.direction=o?"rtl":"ltr",this.element=t.nativeElement,this.renderer=e}return Object.defineProperty(t.prototype,"icon",{set:function(t){var e=this;t?this.iconSetter(t,function(){e.isIcon=!0;var n="k-icon k-i-"+t;e.addIcon(n)}):(this.isIcon=!1,this.updateIconNode())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass",{set:function(t){var e=this;t?this.iconSetter(t,function(){e.isIconClass=!0,e.addIcon(t)}):(this.isIconClass=!1,this.updateIconNode())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"imageUrl",{set:function(t){t?this.iconSetter(t,this.addImgIcon.bind(this)):this.removeImageNode()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){this.isDisabled=t,this.renderer.setProperty(this.element,"disabled",t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classButton",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classDisabled",{get:function(){return this.isDisabled},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classPrimary",{get:function(){return this.primary},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isBare",{get:function(){return"bare"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isFlat",{get:function(){return"flat"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isOutline",{get:function(){return"outline"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classActive",{get:function(){return this.selected},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){this.togglable&&(!this.disabled&&this.service&&this.service.click(this),this.service||this.setSelected(!this.selected))},Object.defineProperty(t.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewChecked=function(){if(this.isIcon){var t=this.hasText();this.toggleClass("k-button-icon",!t),this.toggleClass("k-button-icontext",t)}},t.prototype.ngOnDestroy=function(){this.removeNodes(),this.renderer=null},t.prototype.focus=function(){s.isDocumentAvailable()&&this.element.focus()},t.prototype.blur=function(){s.isDocumentAvailable()&&this.element.blur()},t.prototype.setAttribute=function(t,e){this.renderer.setAttribute(this.element,t,e)},t.prototype.setSelected=function(t){var e=this.selected!==t;this.selected=t,e&&this.selectedChange.emit(t)},t.prototype.hasText=function(){return!!s.isDocumentAvailable()&&this.element.innerText.length>0},t.prototype.addImgIcon=function(t){var e=this.renderer;this.imageNode?e.setProperty(this.imageNode,"src",t):s.isDocumentAvailable()&&(this.imageNode=e.createElement("img"),e.setProperty(this.imageNode,"src",t),e.setProperty(this.imageNode,"className","k-image"),e.setAttribute(this.imageNode,"role","presentation"),this.prependChild(this.imageNode))},t.prototype.addIcon=function(t){var e=this.renderer;this.iconNode?e.setProperty(this.iconNode,"className",t):s.isDocumentAvailable()&&(this.iconNode=e.createElement("span"),e.setProperty(this.iconNode,"className",t),e.setAttribute(this.iconNode,"role","presentation"),this.prependChild(this.iconNode))},t.prototype.prependChild=function(t){var e=this;setTimeout(function(){e.renderer&&t!==e.element.firstChild&&e.renderer.insertBefore(e.element,t,e.element.firstChild)})},t.prototype.iconSetter=function(t,e){t&&e(t)},t.prototype.removeNodes=function(){this.removeImageNode(),this.removeIconNode()},t.prototype.removeImageNode=function(){this.imageNode&&this.renderer.parentNode(this.imageNode)&&(this.renderer.removeChild(this.element,this.imageNode),this.imageNode=void 0)},t.prototype.removeIconNode=function(){this.iconNode&&this.renderer.parentNode(this.iconNode)&&(this.renderer.removeChild(this.element,this.iconNode),this.iconNode=void 0)},t.prototype.updateIconNode=function(){this.isIcon||this.isIconClass||this.removeIconNode()},t.prototype.toggleClass=function(t,e){e?this.renderer.addClass(this.element,t):this.renderer.removeClass(this.element,t)},t}();o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],p.prototype,"togglable",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],p.prototype,"primary",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],p.prototype,"look",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],p.prototype,"selected",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],p.prototype,"tabIndex",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],p.prototype,"icon",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],p.prototype,"iconClass",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],p.prototype,"imageUrl",null),o.__decorate([i.Input(),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[Boolean])],p.prototype,"disabled",null),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],p.prototype,"selectedChange",void 0),o.__decorate([i.HostBinding("class.k-button"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"classButton",null),o.__decorate([i.HostBinding("class.k-state-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"classDisabled",null),o.__decorate([i.HostBinding("class.k-primary"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"classPrimary",null),o.__decorate([i.HostBinding("class.k-bare"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"isBare",null),o.__decorate([i.HostBinding("class.k-flat"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"isFlat",null),o.__decorate([i.HostBinding("class.k-outline"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"isOutline",null),o.__decorate([i.HostBinding("class.k-state-active"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"classActive",null),o.__decorate([i.HostListener("click"),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[]),o.__metadata("design:returntype",void 0)],p.prototype,"onClick",null),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],p.prototype,"dir",null),p=o.__decorate([i.Directive({exportAs:"kendoButton",selector:"button[kendoButton]"}),o.__param(2,i.Optional()),o.__param(3,i.Optional()),o.__param(3,i.Inject(r.RTL)),o.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,a.KendoButtonService,Boolean])],p),e.ButtonDirective=p},function(t,e){t.exports=o},function(t,e){t.exports=i},function(t,e){t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(6),a=function(){function t(){this.buttonClicked=new r.Subject,this.buttonClicked$=this.buttonClicked.asObservable()}return t.prototype.click=function(t){this.buttonClicked.next(t)},t}();a=o.__decorate([i.Injectable()],a),e.KendoButtonService=a},function(t,e){t.exports=p},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Promise.resolve(null);e.isDocumentAvailable=function(){return"undefined"!=typeof document},e.isPresent=function(t){return null!==t&&void 0!==t},e.guid=function(){var t,e,n="";for(t=0;t<32;t++)e=16*Math.random()|0,8!==t&&12!==t&&16!==t&&20!==t||(n+="-"),n+=(12===t?4:16===t?3&e|8:e).toString(16);return n},e.tick=function(t){return n.then(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(1),r=n(3),a=n(4),s=n(5),p=n(7),u=n(9),c=function(){function t(t,e){this.service=t,this.selection="multiple",this.look="default",this.direction=e?"rtl":"ltr"}return Object.defineProperty(t.prototype,"wrapperClass",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stretchedClass",{get:function(){return!!this.width},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isBare",{get:function(){return"bare"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isFlat",{get:function(){return"flat"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isOutline",{get:function(){return"outline"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"getRole",{get:function(){return this.isSelectionSingle()?"radiogroup":"group"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ariaDisabled",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wrapperWidth",{get:function(){return this.width},enumerable:!0,configurable:!0}),t.prototype.keydown=function(t){if(this.isSelectionSingle()){var e=this.buttons.toArray().findIndex(function(t){return t.selected}),n=this.buttons.length-1;void 0!==e&&(t.keyCode===u.Keys.right&&e<n&&(this.deactivate(this.buttons.filter(function(t){return t.selected})),this.activate(this.buttons.filter(function(t,n){return n===e+1}))),t.keyCode===u.Keys.left&&e>0&&(this.deactivate(this.buttons.filter(function(t){return t.selected})),this.activate(this.buttons.filter(function(t,n){return n===e-1}))))}},t.prototype.ngOnInit=function(){var t=this;this.subscription=this.service.buttonClicked$.subscribe(function(e){t.isSelectionSingle()?(t.deactivate(t.buttons.filter(function(t){return t!==e})),e.setSelected(!0)):e.setSelected(!e.selected),e.setAttribute("aria-checked",e.selected.toString()),e.setAttribute("tabindex",e.tabIndex.toString())})},t.prototype.ngAfterContentInit=function(){var t=this,e=this.isSelectionSingle(),n=e?"radio":"checkbox",o=!1;this.buttons.forEach(function(i){i.setAttribute("aria-checked",i.selected.toString()),i.setAttribute("role",n),p.isPresent(t.disabled)&&(i.disabled=t.disabled),"default"!==t.look&&(i.look=t.look),!e||i.selected?i.setAttribute("tabindex",i.tabIndex.toString()):e&&!i.selected&&i.setAttribute("tabindex","-1"),o=o||i.selected}),e&&!o&&(this.buttons.first.setAttribute("tabindex",this.buttons.first.tabIndex.toString()),this.buttons.last.setAttribute("tabindex",this.buttons.last.tabIndex.toString()))},t.prototype.ngAfterViewChecked=function(){this.buttons.length&&(this.buttons.first.renderer.addClass(this.buttons.first.element,"k-group-start"),this.buttons.last.renderer.addClass(this.buttons.last.element,"k-group-end"))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.ngAfterContentChecked=function(){this.verifySettings()},t.prototype.deactivate=function(t){t.forEach(function(t){t.setSelected(!1),t.setAttribute("aria-checked",t.selected.toString()),t.setAttribute("tabindex","-1")})},t.prototype.activate=function(t){t.forEach(function(t){t.setSelected(!0),t.setAttribute("aria-checked",t.selected.toString()),t.setAttribute("tabindex","0"),t.focus()})},t.prototype.verifySettings=function(){if(r.isDevMode()&&this.isSelectionSingle()&&this.buttons.filter(function(t){return t.selected}).length>1)throw new Error("Having multiple selected buttons with single selection mode is not supported")},t.prototype.isSelectionSingle=function(){return"single"===this.selection},t}();o.__decorate([r.Input("disabled"),o.__metadata("design:type",Boolean)],c.prototype,"disabled",void 0),o.__decorate([r.Input("selection"),o.__metadata("design:type",String)],c.prototype,"selection",void 0),o.__decorate([r.Input("width"),o.__metadata("design:type",String)],c.prototype,"width",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],c.prototype,"look",void 0),o.__decorate([r.ContentChildren(i.ButtonDirective),o.__metadata("design:type",r.QueryList)],c.prototype,"buttons",void 0),o.__decorate([r.HostBinding("class.k-button-group"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],c.prototype,"wrapperClass",null),o.__decorate([r.HostBinding("class.k-state-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],c.prototype,"disabledClass",null),o.__decorate([r.HostBinding("class.k-button-group-stretched"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],c.prototype,"stretchedClass",null),o.__decorate([r.HostBinding("class.k-button-group-bare"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],c.prototype,"isBare",null),o.__decorate([r.HostBinding("class.k-button-group-flat"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],c.prototype,"isFlat",null),o.__decorate([r.HostBinding("class.k-button-group-outline"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],c.prototype,"isOutline",null),o.__decorate([r.HostBinding("attr.role"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],c.prototype,"getRole",null),o.__decorate([r.HostBinding("attr.dir"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],c.prototype,"dir",null),o.__decorate([r.HostBinding("attr.aria-disalbed"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],c.prototype,"ariaDisabled",null),o.__decorate([r.HostBinding("style.width"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],c.prototype,"wrapperWidth",null),o.__decorate([r.HostListener("keydown",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],c.prototype,"keydown",null),c=o.__decorate([r.Component({exportAs:"kendoButtonGroup",providers:[s.KendoButtonService],selector:"kendo-buttongroup",template:'\n <ng-content select="[kendoButton]"></ng-content>\n '}),o.__param(1,r.Optional()),o.__param(1,r.Inject(a.RTL)),o.__metadata("design:paramtypes",[s.KendoButtonService,Boolean])],c),e.ButtonGroupComponent=c},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});!function(t){t[t.backspace=8]="backspace",t[t.tab=9]="tab",t[t.enter=13]="enter",t[t.shift=16]="shift",t[t.ctrl=17]="ctrl",t[t.alt=18]="alt",t[t["pause/break"]=19]="pause/break",t[t["caps lock"]=20]="caps lock",t[t.esc=27]="esc",t[t.space=32]="space",t[t["page up"]=33]="page up",t[t["page down"]=34]="page down",t[t.end=35]="end",t[t.home=36]="home",t[t.left=37]="left",t[t.up=38]="up",t[t.right=39]="right",t[t.down=40]="down",t[t.insert=45]="insert",t[t.delete=46]="delete",t[t.command=91]="command",t[t["left command"]=91]="left command",t[t["right command"]=93]="right command",t[t["numpad *"]=106]="numpad *",t[t["numpad +"]=107]="numpad +",t[t["numpad -"]=109]="numpad -",t[t["numpad ."]=110]="numpad .",t[t["numpad /"]=111]="numpad /",t[t["num lock"]=144]="num lock",t[t["scroll lock"]=145]="scroll lock",t[t["my computer"]=182]="my computer",t[t["my calculator"]=183]="my calculator",t[t[";"]=186]=";",t[t["="]=187]="=",t[t[","]=188]=",",t[t["-"]=189]="-",t[t["."]=190]=".",t[t["/"]=191]="/",t[t["`"]=192]="`",t[t["["]=219]="[",t[t["\\"]=220]="\\",t[t["]"]=221]="]",t[t["'"]=222]="'"}(e.Keys||(e.Keys={}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(11),a=n(12),s=n(8),p=function(){return function(){}}();p=o.__decorate([i.NgModule({declarations:[s.ButtonGroupComponent],exports:[s.ButtonGroupComponent],imports:[r.CommonModule,a.ButtonModule]})],p),e.ButtonGroupModule=p},function(t,e){t.exports=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(1),a=function(){return function(){}}();a=o.__decorate([i.NgModule({declarations:[r.ButtonDirective],exports:[r.ButtonDirective]})],a),e.ButtonModule=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(12),a=n(10),s=n(14),p=n(33),u=function(){return function(){}}();u=o.__decorate([i.NgModule({exports:[a.ButtonGroupModule,r.ButtonModule,s.SplitButtonModule,p.DropDownButtonModule]})],u),e.ButtonsModule=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(11),a=n(15),s=n(12),p=n(16),u=n(22),c=function(){return function(){}}();c=o.__decorate([i.NgModule({declarations:[u.SplitButtonComponent],exports:[u.SplitButtonComponent,p.ListModule],imports:[r.CommonModule,a.PopupModule,s.ButtonModule,p.ListModule]})],c),e.SplitButtonModule=c},function(t,e){t.exports=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(11),a=n(17),s=n(19),p=n(18),u=n(21),c=[a.ListComponent,s.FocusableDirective,p.ButtonItemTemplateDirective,u.TemplateContextDirective],d=function(){return function(){}}();d=o.__decorate([i.NgModule({declarations:[c],exports:[c],imports:[r.CommonModule]})],d),e.ListModule=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(18),a=function(){function t(){this.onItemClick=new i.EventEmitter,this.onItemBlur=new i.EventEmitter}return t.prototype.getText=function(t){if(t)return this.textField?t[this.textField]:t.text||t},t.prototype.getIconClasses=function(t){var e={};return e[(t.icon?"k-icon k-i-"+t.icon:void 0)||t.iconClass]=!0,e},t.prototype.onClick=function(t){this.onItemClick.emit(t)},t.prototype.onBlur=function(){this.onItemBlur.emit()},t}();o.__decorate([i.Input(),o.__metadata("design:type",Array)],a.prototype,"data",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],a.prototype,"textField",void 0),o.__decorate([i.Input(),o.__metadata("design:type",r.ButtonItemTemplateDirective)],a.prototype,"itemTemplate",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],a.prototype,"onItemClick",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],a.prototype,"onItemBlur",void 0),a=o.__decorate([i.Component({selector:"kendo-button-list",template:'\n <ul class="k-list k-reset" unselectable="on">\n <li role="menuItem" unselectable="on" tabindex="-1"\n kendoButtonFocusable\n *ngFor="let dataItem of data; let index = index;"\n [index]="index"\n [ngClass]="{\'k-item\': true, \'k-state-disabled\': dataItem.disabled}"\n (click)="onClick(index)"\n (blur)="onBlur()"\n [attr.aria-disabled]="dataItem.disabled ? true : false">\n <ng-template *ngIf="itemTemplate?.templateRef"\n [templateContext]="{\n templateRef: itemTemplate?.templateRef,\n $implicit: dataItem\n }">\n </ng-template>\n <ng-template [ngIf]="!itemTemplate?.templateRef">\n <span\n *ngIf="dataItem.icon || dataItem.iconClass"\n [ngClass]="getIconClasses(dataItem)"\n ></span>\n <img\n *ngIf="dataItem.imageUrl"\n class="k-image"\n [src]="dataItem.imageUrl"\n alt=""\n >\n {{ getText(dataItem) }}\n </ng-template>\n </li>\n </ul>\n '})],a),e.ListComponent=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=function(){return function(t){this.templateRef=t}}();r=o.__decorate([i.Directive({selector:"[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]"}),o.__metadata("design:paramtypes",[i.TemplateRef])],r),e.ButtonItemTemplateDirective=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(20),a=n(7),s=function(){function t(t,e){this.focusService=t,this.element=e.nativeElement,this.subscribeEvents()}return Object.defineProperty(t.prototype,"focusedClassName",{get:function(){return this.focusService.isFocused(this.index)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.unsubscribeEvents()},t.prototype.subscribeEvents=function(){var t=this;a.isDocumentAvailable()&&(this.focusSubscription=this.focusService.onFocus.subscribe(function(e){t.index===e&&t.element.focus()}))},t.prototype.unsubscribeEvents=function(){a.isDocumentAvailable()&&this.focusSubscription&&this.focusSubscription.unsubscribe()},t}();o.__decorate([i.Input(),o.__metadata("design:type",Number)],s.prototype,"index",void 0),o.__decorate([i.HostBinding("class.k-state-focused"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],s.prototype,"focusedClassName",null),s=o.__decorate([i.Directive({selector:"[kendoButtonFocusable]"}),o.__metadata("design:paramtypes",[r.FocusService,i.ElementRef])],s),e.FocusableDirective=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=function(){function t(){this.onFocus=new i.EventEmitter}return t.prototype.isFocused=function(t){return t===this.focused},t.prototype.focus=function(t){this.isFocused(t)||(this.focused=t,this.onFocus.emit(t))},t.prototype.resetFocus=function(){this.focused=-1},Object.defineProperty(t.prototype,"focused",{get:function(){return this.focusedIndex},set:function(t){this.focusedIndex=t,this.onFocus.emit(t)},enumerable:!0,configurable:!0}),t}();r=o.__decorate([i.Injectable()],r),e.FocusService=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=function(){function t(t){this.viewContainerRef=t}return Object.defineProperty(t.prototype,"templateContext",{set:function(t){this.insertedViewRef&&(this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef)),this.insertedViewRef=void 0),t.templateRef&&(this.insertedViewRef=this.viewContainerRef.createEmbeddedView(t.templateRef,t))},enumerable:!0,configurable:!0}),t}();o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],r.prototype,"templateContext",null),r=o.__decorate([i.Directive({selector:"[templateContext]"}),o.__metadata("design:paramtypes",[i.ViewContainerRef])],r),e.TemplateContextDirective=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(4),a=n(15),s=n(23),p=n(18),u=n(20),c=n(30),d=n(31),l=n(7),_=n(32),m={useLeftRightArrows:!0},f={provide:d.NAVIGATION_CONFIG,useValue:m},b=function(t){function e(e,n,o,r,a,s){var p=t.call(this,e,n,o,r)||this;return p.popupService=a,p.text="",p.icon="",p.iconClass="",p.imageUrl="",p.tabIndex=0,p.buttonClick=new i.EventEmitter,p.itemClick=new i.EventEmitter,p.onFocus=new i.EventEmitter,p.onBlur=new i.EventEmitter,p.open=new i.EventEmitter,p.close=new i.EventEmitter,p.listId=l.guid(),p.buttonText="",p.direction=s?"rtl":"ltr",p._itemClick=p.itemClick,p._blur=p.onBlur,p}return o.__extends(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"popupSettings",{get:function(){return this._popupSettings||(this._popupSettings={animate:!0,popupClass:""}),this._popupSettings},set:function(t){this._popupSettings=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this._data||(this.data=[]),this._data},set:function(t){this._data=t||[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openState",{get:function(){return this._open},set:function(t){if(!this.disabled){var e=new _.PreventableEvent;t?this.open.emit(e):this.close.emit(e),e.isDefaultPrevented()||this._toggle(t)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTabIndex",{get:function(){return this.disabled?-1:this.tabIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocused",{get:function(){return this._isFocused&&!this._disabled},set:function(t){this._isFocused=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widgetClasses",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaLabel",{get:function(){return this.buttonText+" splitbutton"},enumerable:!0,configurable:!0}),e.prototype.onButtonFocus=function(){this.isFocused||(this._isFocused=!0,this.onFocus.emit())},e.prototype.onButtonClick=function(){this.buttonClick.emit()},e.prototype.keydown=function(t){this.keyDownHandler(t)},e.prototype.keypress=function(t){this.keyPressHandler(t)},e.prototype.keyup=function(t){this.keyUpHandler(t)},e.prototype.ngAfterViewInit=function(){this.updateButtonText()},e.prototype.ngOnChanges=function(t){t.hasOwnProperty("text")&&this.updateButtonText()},e.prototype.togglePopupVisibility=function(){t.prototype.togglePopupVisibility.call(this),this.openState=this._open,l.isDocumentAvailable()&&this.button.nativeElement.focus()},e.prototype.wrapperContains=function(t){return this.wrapper===t||this.wrapper.contains(t)||this.popupRef&&this.popupRef.popupElement.contains(t)},Object.defineProperty(e.prototype,"anchorAlign",{get:function(){var t={horizontal:"left",vertical:"bottom"};return"rtl"===this.direction&&(t.horizontal="right"),t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"popupAlign",{get:function(){var t={horizontal:"left",vertical:"top"};return"rtl"===this.direction&&(t.horizontal="right"),t},enumerable:!0,configurable:!0}),e.prototype.focus=function(){l.isDocumentAvailable()&&this.button.nativeElement.focus()},e.prototype.blur=function(){l.isDocumentAvailable()&&this.button.nativeElement.blur()},e.prototype.toggle=function(t){var e=this;this.disabled||l.tick(function(){return e._toggle(void 0===t?!e._open:t)})},Object.defineProperty(e.prototype,"isOpen",{get:function(){return this.openState},enumerable:!0,configurable:!0}),e.prototype.enterHanlder=function(){if(!this.disabled)if(this.openState){var t=this.focusService.focused;l.isPresent(t)&&-1!==t&&this.emitItemClickHandler(t)}else this.buttonClick.emit()},e.prototype.updateButtonText=function(){var t=this;if(l.isDocumentAvailable()){var e=this.wrapper.innerText.split("\n").join("").trim();setTimeout(function(){t.buttonText=e},0)}},e.prototype._toggle=function(t){var e=this;this._open=t,this.popupRef&&(this.popupRef.close(),this.popupRef=null),this._open&&(this.popupRef=this.popupService.open({anchor:this.button,anchorAlign:this.anchorAlign,animate:this.popupSettings.animate,content:this.popupTemplate,popupAlign:this.popupAlign,popupClass:this.popupClasses}),this.popupRef.popupAnchorViewportLeave.subscribe(function(){return e.openState=!1}),this.popupRef.popupOpen.subscribe(this.focusFirstItem.bind(this)))},e}(s.ListButton);o.__decorate([i.Input(),o.__metadata("design:type",String)],b.prototype,"text",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],b.prototype,"icon",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],b.prototype,"iconClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],b.prototype,"imageUrl",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[Boolean])],b.prototype,"disabled",null),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],b.prototype,"popupSettings",null),o.__decorate([i.Input(),o.__metadata("design:type",Number)],b.prototype,"tabIndex",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],b.prototype,"textField",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],b.prototype,"data",null),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],b.prototype,"buttonClick",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],b.prototype,"itemClick",void 0),o.__decorate([i.Output("focus"),o.__metadata("design:type",i.EventEmitter)],b.prototype,"onFocus",void 0),o.__decorate([i.Output("blur"),o.__metadata("design:type",i.EventEmitter)],b.prototype,"onBlur",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],b.prototype,"open",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],b.prototype,"close",void 0),o.__decorate([i.ContentChild(p.ButtonItemTemplateDirective),o.__metadata("design:type",p.ButtonItemTemplateDirective)],b.prototype,"itemTemplate",void 0),o.__decorate([i.ViewChild("button"),o.__metadata("design:type",i.ElementRef)],b.prototype,"button",void 0),o.__decorate([i.ViewChild("popupTemplate"),o.__metadata("design:type",i.TemplateRef)],b.prototype,"popupTemplate",void 0),o.__decorate([i.HostBinding("class.k-state-focused"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[Boolean])],b.prototype,"isFocused",null),o.__decorate([i.HostBinding("class.k-widget"),i.HostBinding("class.k-split-button"),i.HostBinding("class.k-button-group"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],b.prototype,"widgetClasses",null),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],b.prototype,"dir",null),o.__decorate([i.HostListener("keydown",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],b.prototype,"keydown",null),o.__decorate([i.HostListener("keypress",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],b.prototype,"keypress",null),o.__decorate([i.HostListener("keyup",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],b.prototype,"keyup",null),b=o.__decorate([i.Component({exportAs:"kendoSplitButton",providers:[u.FocusService,c.NavigationService,f],selector:"kendo-splitbutton",template:'\n <button kendoButton\n #button\n role="listbox"\n [tabindex]="componentTabIndex"\n [disabled]="disabled"\n [icon]="icon"\n [class.k-state-active]="active"\n [iconClass]="iconClass"\n [imageUrl]="imageUrl"\n (focus)="onButtonFocus()"\n (click)="onButtonClick()"\n [attr.aria-disabled]="disabled"\n [attr.aria-expanded]="openState"\n [attr.aria-haspopup]="true"\n [attr.aria-owns]="listId"\n [attr.aria-label]="ariaLabel"\n >\n {{text}}<ng-content></ng-content>\n </button>\n <button kendoButton\n [disabled]="disabled"\n [icon]="\'arrow-s\'"\n [tabindex]="-1"\n (click)="togglePopupVisibility()">\n </button>\n <ng-template #popupTemplate>\n <kendo-button-list\n [id]="listId"\n [data]="data"\n [textField]="textField"\n [itemTemplate]="itemTemplate"\n (onItemBlur)="blurHandler()"\n (onItemClick)="onItemClick($event)"\n (keydown)="keyDownHandler($event)"\n (keypress)="keyPressHandler($event)"\n (keyup)="keyUpHandler($event)"\n >\n </kendo-button-list>\n <ng-template>\n '}),o.__param(5,i.Optional()),o.__param(5,i.Inject(r.RTL)),o.__metadata("design:paramtypes",[u.FocusService,c.NavigationService,i.ElementRef,i.NgZone,a.PopupService,Boolean])],b),e.SplitButtonComponent=b},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),i=n(24);n(25),n(26),n(27);var r=n(28),a=n(29),s=n(7),p=function(){function t(t,e,n,i){this.focusService=t,this.navigationService=e,this.wrapperRef=n,this._zone=i,this._open=!1,this._disabled=!1,this._active=!1,this._popupSettings={animate:!0,popupClass:""},this.listId=s.guid(),this._isFocused=!1,this.wrapperBlurred=new o.EventEmitter,this.focusService=t,this.navigationService=e,this.wrapper=n.nativeElement,this.subscribeEvents()}return Object.defineProperty(t.prototype,"popupClasses",{get:function(){var t=["k-list-container","k-reset","k-group"];return this._popupSettings.popupClass&&t.push(this._popupSettings.popupClass),t.join(" ")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openState",{get:function(){return this._open},set:function(t){this._open=t},enumerable:!0,configurable:!0}),t.prototype.togglePopupVisibility=function(){this._disabled||(this.openState=!this.openState,this.openState||this.focusService.focus(-1))},t.prototype.onItemClick=function(t){var e=this;this.emitItemClickHandler(t),setTimeout(function(){e.focusWrapper()},1)},t.prototype.ngOnDestroy=function(){this.openState=!1,this.unsubscribeEvents()},t.prototype.subscribeEvents=function(){s.isDocumentAvailable()&&(this.subscribeListItemFocusEvent(),this.subscribeComponentBlurredEvent(),this.subscribeNavigationEvents())},t.prototype.subscribeListItemFocusEvent=function(){var t=this;this.focusSubscription=this.focusService.onFocus.subscribe(function(){t._isFocused=!0})},t.prototype.subscribeComponentBlurredEvent=function(){var t=this;this._zone.runOutsideAngular(function(){t.documentClick=i.Observable.fromEvent(document,"click").filter(function(e){return!t.wrapperContains(e.target)}),t.componentBlurredSubscription=t.wrapperBlurred.merge(t.navigationService.tab,t.documentClick).filter(function(){return t._isFocused}).subscribe(function(){return t._zone.run(function(){t.blurWrapper()})})})},t.prototype.subscribeNavigationEvents=function(){var t=this;this.navigationSubscription=this.navigationService.navigate.subscribe(this.focusService.focus.bind(this.focusService)),this.enterPressSubscription=this.navigationService.enterpress.subscribe(function(){t._disabled||t._open||(t._active=!0)}),this.enterUpSubscription=this.navigationService.enterup.subscribe(function(){t._open||(t._active=!1),t.enterHanlder(),t.focusWrapper()}),this.openSubscription=this.navigationService.open.subscribe(function(){t._open?t.focusWrapper():(t.togglePopupVisibility(),t.focusFirstItem())}),this.closeSubscription=this.navigationService.close.merge(this.navigationService.esc).subscribe(function(){t.focusWrapper()})},t.prototype.enterHanlder=function(){},t.prototype.unsubscribeEvents=function(){s.isDocumentAvailable()&&(this.unsubscribe(this.componentBlurredSubscription),this.unsubscribe(this.focusSubscription),this.unsubscribe(this.navigationSubscription),this.unsubscribe(this.enterPressSubscription),this.unsubscribe(this.enterUpSubscription),this.unsubscribe(this.openSubscription),this.unsubscribe(this.closeSubscription))},t.prototype.unsubscribe=function(t){t&&t.unsubscribe()},t.prototype.keyDownHandler=function(t){this.keyHandler(t)},t.prototype.keyPressHandler=function(t){this.keyHandler(t,r.KeyEvents.keypress)},t.prototype.keyUpHandler=function(t){this.keyHandler(t,r.KeyEvents.keyup)},t.prototype.keyHandler=function(t,e){if(!this._disabled){var n=this.focusService.focused||0,o=t,i=this.navigationService.process({altKey:o.altKey,current:n,keyCode:o.keyCode,keyEvent:e,max:this._data?this._data.length-1:0,min:0});i!==a.NavigationAction.Undefined&&i!==a.NavigationAction.Tab&&(i!==a.NavigationAction.Enter||i===a.NavigationAction.Enter&&this._open)&&o.preventDefault()}},t.prototype.emitItemClickHandler=function(t){var e=this._data[t];this._itemClick&&this._itemClick.emit(e),e&&e.click&&!e.disabled&&e.click(e)},t.prototype.focusFirstItem=function(){var t=this;this._data&&s.isPresent(this._data[0])&&setTimeout(function(){t.focusService.focus(0)},1)},t.prototype.focusWrapper=function(){this._open&&(this.togglePopupVisibility(),this.button&&s.isDocumentAvailable()&&this.button.nativeElement.focus())},t.prototype.blurHandler=function(){var t=this;s.isDocumentAvailable()&&setTimeout(function(){t.wrapperContains(document.activeElement)||t.blurWrapper()})},t.prototype.wrapperContains=function(t){return this.wrapper===t||this.wrapper.contains(t)},t.prototype.blurWrapper=function(){this._open&&this.togglePopupVisibility(),this._isFocused=!1,this._blur.emit()},t}();e.ListButton=p},function(t,e){t.exports=c},function(t,e){t.exports=l},function(t,e){t.exports=u},function(t,e){t.exports=d},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});!function(t){t[t.keydown=0]="keydown",t[t.keypress=1]="keypress",t[t.keyup=2]="keyup"}(e.KeyEvents||(e.KeyEvents={}))},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});!function(t){t[t.Undefined=0]="Undefined",t[t.Open=1]="Open",t[t.Close=2]="Close",t[t.Enter=3]="Enter",t[t.EnterPress=4]="EnterPress",t[t.EnterUp=5]="EnterUp",t[t.Tab=6]="Tab",t[t.Esc=7]="Esc",t[t.Navigate=8]="Navigate"}(e.NavigationAction||(e.NavigationAction={}))},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(7),a=n(28),s=n(9),p=n(29),u=n(31),c=function(){function t(t){this.navigate=new i.EventEmitter,this.open=new i.EventEmitter,this.close=new i.EventEmitter,this.enter=new i.EventEmitter,this.enterpress=new i.EventEmitter,this.enterup=new i.EventEmitter,this.tab=new i.EventEmitter,this.esc=new i.EventEmitter,this.useLeftRightArrows=t.useLeftRightArrows}return t.prototype.process=function(t){var e,n=t.keyCode,o=t.keyEvent,i=p.NavigationAction.Undefined;return o===a.KeyEvents.keypress?this.isEnter(n)&&(i=p.NavigationAction.EnterPress):o===a.KeyEvents.keyup?this.isEnter(n)&&(i=p.NavigationAction.EnterUp):t.altKey&&n===s.Keys.down?i=p.NavigationAction.Open:t.altKey&&n===s.Keys.up?i=p.NavigationAction.Close:this.isEnter(n)?i=p.NavigationAction.Enter:n===s.Keys.esc?i=p.NavigationAction.Esc:n===s.Keys.tab?i=p.NavigationAction.Tab:n===s.Keys.up||this.useLeftRightArrows&&n===s.Keys.left?(e=this.next({current:t.current,start:t.max,end:t.min,step:-1}),i=p.NavigationAction.Navigate):(n===s.Keys.down||this.useLeftRightArrows&&n===s.Keys.right)&&(e=this.next({current:t.current,start:t.min,end:t.max,step:1}),i=p.NavigationAction.Navigate),i!==p.NavigationAction.Undefined&&this[p.NavigationAction[i].toLowerCase()].emit(e),i},t.prototype.isEnter=function(t){return t===s.Keys.enter||t===s.Keys.space},t.prototype.next=function(t){return r.isPresent(t.current)?t.current!==t.end?t.current+t.step:t.end:t.start},t}();c=o.__decorate([i.Injectable(),o.__param(0,i.Inject(u.NAVIGATION_CONFIG)),o.__metadata("design:paramtypes",[Object])],c),e.NavigationService=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(3);e.NAVIGATION_CONFIG=new o.InjectionToken("navigation.config")},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.prevented=!1}return t.prototype.preventDefault=function(){this.prevented=!0},t.prototype.isDefaultPrevented=function(){return this.prevented},t}();e.PreventableEvent=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(11),a=n(15),s=n(16),p=n(12),u=n(34),c=function(){return function(){}}();c=o.__decorate([i.NgModule({declarations:[u.DropDownButtonComponent],exports:[u.DropDownButtonComponent,s.ListModule],imports:[r.CommonModule,a.PopupModule,s.ListModule,p.ButtonModule]})],c),e.DropDownButtonModule=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(4),a=n(15),s=n(18),p=n(7),u=n(23),c=n(17),d=n(20),l=n(30),_=n(31),m=n(32),f={useLeftRightArrows:!0},b={provide:_.NAVIGATION_CONFIG,useValue:f},g=function(t){function e(e,n,o,r,a,s){var u=t.call(this,e,n,o,r)||this;return u.popupService=a,u.icon="",u.iconClass="",u.imageUrl="",u.tabIndex=0,u.itemClick=new i.EventEmitter,u.open=new i.EventEmitter,u.close=new i.EventEmitter,u.onFocus=new i.EventEmitter,u.onBlur=new i.EventEmitter,u.listId=p.guid(),u.direction=s?"rtl":"ltr",u._itemClick=u.itemClick,u._blur=u.onBlur,u}return o.__extends(e,t),Object.defineProperty(e.prototype,"popupSettings",{get:function(){return this._popupSettings},set:function(t){this._popupSettings=Object.assign({animate:!0,popupClass:""},t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){t&&this.openState&&(this.openState=!1),this._disabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this._data},set:function(t){this._data=t||[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openState",{get:function(){return this._open},set:function(t){if(!this.disabled){var e=new m.PreventableEvent;t?this.open.emit(e):this.close.emit(e),e.isDefaultPrevented()||this._toggle(t)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTabIndex",{get:function(){return this.disabled?-1:this.tabIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this._isFocused&&!this._disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widgetClasses",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),e.prototype.keydown=function(t){this.keyDownHandler(t)},e.prototype.keypress=function(t){this.keyPressHandler(t)},e.prototype.keyup=function(t){this.keyUpHandler(t)},e.prototype.mousedown=function(t){this._disabled&&t.preventDefault()},e.prototype.openPopup=function(){this.togglePopupVisibility()},Object.defineProperty(e.prototype,"anchorAlign",{get:function(){var t={horizontal:"left",vertical:"bottom"};return"rtl"===this.direction&&(t.horizontal="right"),t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"popupAlign",{get:function(){var t={horizontal:"left",vertical:"top"};return"rtl"===this.direction&&(t.horizontal="right"),t},enumerable:!0,configurable:!0}),e.prototype.focus=function(){p.isDocumentAvailable()&&this.button.nativeElement.focus()},e.prototype.blur=function(){p.isDocumentAvailable()&&this.button.nativeElement.blur()},e.prototype.toggle=function(t){var e=this;this.disabled||p.tick(function(){return e._toggle(void 0===t?!e._open:t)})},Object.defineProperty(e.prototype,"isOpen",{get:function(){return this.openState},enumerable:!0,configurable:!0}),e.prototype.handleFocus=function(){this._disabled||this._isFocused||(this._isFocused=!0,this.onFocus.emit())},e.prototype.wrapperContains=function(t){return this.wrapper===t||this.wrapper.contains(t)||this.popupRef&&this.popupRef.popupElement.contains(t)},e.prototype.subscribeNavigationEvents=function(){this.navigationSubscription=this.navigationService.navigate.subscribe(this.onArrowKeyNavigate.bind(this)),this.enterPressSubscription=this.navigationService.enterpress.subscribe(this.onNavigationEnterPress.bind(this)),this.enterUpSubscription=this.navigationService.enterup.subscribe(this.onNavigationEnterUp.bind(this)),this.openSubscription=this.navigationService.open.subscribe(this.onNavigationOpen.bind(this)),this.closeSubscription=this.navigationService.close.merge(this.navigationService.esc).subscribe(this.onNavigationClose.bind(this))},e.prototype.onNavigationEnterPress=function(){this._disabled||this.openState||(this._active=!0)},e.prototype.onNavigationEnterUp=function(){if(this._disabled||this.openState||(this._active=!1),this.openState){var t=this.focusService.focused;p.isPresent(t)&&-1!==t&&this.emitItemClickHandler(t)}this.togglePopupVisibility(),!this.openState&&p.isDocumentAvailable()&&this.button.nativeElement.focus()},e.prototype.onNavigationOpen=function(){this._disabled||this.openState||this.togglePopupVisibility()},e.prototype.onNavigationClose=function(){this.openState&&(this.togglePopupVisibility(),p.isDocumentAvailable()&&this.button.nativeElement.focus())},e.prototype.onArrowKeyNavigate=function(t){this.focusService.focus(t)},e.prototype._toggle=function(t){var e=this;this._open!==t&&(this._open=t,this.popupRef&&(this.popupRef.close(),this.popupRef=null),this._open&&(this.popupRef=this.popupService.open({anchor:this.button,anchorAlign:this.anchorAlign,animate:this.popupSettings.animate,content:this.popupTemplate,popupAlign:this.popupAlign,popupClass:this.popupClasses}),this.popupRef.popupAnchorViewportLeave.subscribe(function(){return e.openState=!1}),this.popupRef.popupOpen.subscribe(this.focusFirstItem.bind(this))))},e}(u.ListButton);o.__decorate([i.Input(),o.__metadata("design:type",String)],g.prototype,"icon",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],g.prototype,"iconClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],g.prototype,"imageUrl",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],g.prototype,"popupSettings",null),o.__decorate([i.Input(),o.__metadata("design:type",String)],g.prototype,"textField",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[Boolean])],g.prototype,"disabled",null),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],g.prototype,"data",null),o.__decorate([i.Input(),o.__metadata("design:type",Number)],g.prototype,"tabIndex",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],g.prototype,"itemClick",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],g.prototype,"open",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],g.prototype,"close",void 0),o.__decorate([i.Output("focus"),o.__metadata("design:type",i.EventEmitter)],g.prototype,"onFocus",void 0),o.__decorate([i.Output("blur"),o.__metadata("design:type",i.EventEmitter)],g.prototype,"onBlur",void 0),o.__decorate([i.HostBinding("class.k-state-focused"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],g.prototype,"focused",null),o.__decorate([i.HostBinding("class.k-widget"),i.HostBinding("class.k-dropdown-button"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],g.prototype,"widgetClasses",null),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],g.prototype,"dir",null),o.__decorate([i.ContentChild(s.ButtonItemTemplateDirective),o.__metadata("design:type",s.ButtonItemTemplateDirective)],g.prototype,"itemTemplate",void 0),o.__decorate([i.ViewChild("button"),o.__metadata("design:type",i.ElementRef)],g.prototype,"button",void 0),o.__decorate([i.ViewChild("buttonList"),o.__metadata("design:type",c.ListComponent)],g.prototype,"buttonList",void 0),o.__decorate([i.ViewChild("popupTemplate"),o.__metadata("design:type",i.TemplateRef)],g.prototype,"popupTemplate",void 0),o.__decorate([i.HostListener("keydown",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],g.prototype,"keydown",null),o.__decorate([i.HostListener("keypress",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],g.prototype,"keypress",null),o.__decorate([i.HostListener("keyup",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],g.prototype,"keyup",null),o.__decorate([i.HostListener("mousedown",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],g.prototype,"mousedown",null),g=o.__decorate([i.Component({exportAs:"kendoDropDownButton",providers:[d.FocusService,l.NavigationService,b],selector:"kendo-dropdownbutton",template:'\n <button kendoButton #button\n role="menu"\n type="button"\n [tabindex]="componentTabIndex"\n [class.k-state-active]="active"\n [disabled]="disabled"\n [icon]="icon"\n [iconClass]="iconClass"\n [imageUrl]="imageUrl"\n (click)="openPopup()"\n (focus)="handleFocus()"\n [attr.aria-disabled]="disabled"\n [attr.aria-expanded]="openState"\n [attr.aria-haspopup]="true"\n [attr.aria-owns]="listId"\n >\n <ng-content></ng-content>\n </button>\n <ng-template #popupTemplate>\n <kendo-button-list\n #buttonList\n [id]="listId"\n [data]="data"\n [textField]="textField"\n [itemTemplate]="itemTemplate"\n (onItemClick)="onItemClick($event)"\n (keydown)="keyDownHandler($event)"\n (keypress)="keyPressHandler($event)"\n (keyup)="keyUpHandler($event)"\n >\n </kendo-button-list>\n </ng-template>\n '}),o.__param(5,i.Optional()),o.__param(5,i.Inject(r.RTL)),o.__metadata("design:paramtypes",[d.FocusService,l.NavigationService,i.ElementRef,i.NgZone,a.PopupService,Boolean])],g),e.DropDownButtonComponent=g}])}}});
System.register("@progress/kendo-angular-buttons",["tslib","@angular/core","@angular/common","@progress/kendo-angular-l10n","@progress/kendo-angular-popup","rxjs/Subject","rxjs/add/observable/fromEvent","rxjs/add/operator/filter","rxjs/Observable","rxjs/add/operator/merge"],function(t){var e,n,o,i,r,a,s,p,u,c;function d(t){return t.__useDefault?t.default:t}return{setters:[function(t){e=d(t)},function(t){n=d(t)},function(t){o=d(t)},function(t){i=d(t)},function(t){r=d(t)},function(t){a=d(t)},function(t){s=d(t)},function(t){p=d(t)},function(t){u=d(t)},function(t){c=d(t)}],execute:function(){!function(t){var e={};function n(o){if(e[o])return e[o].exports;var i=e[o]={exports:{},id:o,loaded:!1};return t[o].call(i.exports,i,i.exports,n),i.loaded=!0,i.exports}n.m=t,n.c=e,n.p="",n(0)}([function(e,n,o){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=o(1);n.Button=i.ButtonDirective;var r=o(8);n.ButtonGroup=r.ButtonGroupComponent;var a=o(10);n.ButtonGroupModule=a.ButtonGroupModule;var s=o(12);n.ButtonModule=s.ButtonModule;var p=o(13);n.ButtonsModule=p.ButtonsModule;var u=o(22);n.SplitButton=u.SplitButtonComponent;var c=o(14);n.SplitButtonModule=c.SplitButtonModule;var d=o(34);n.DropDownButton=d.DropDownButtonComponent;var l=o(33);n.DropDownButtonModule=l.DropDownButtonModule,function(e){for(var n in e)t(n,e[n])}(n)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(4),a=n(5),s=n(7),p=function(){function t(t,e,n,o){this.service=n,this.togglable=!1,this.primary=!1,this.look="default",this.isDisabled=!1,this.isIcon=!1,this.isIconClass=!1,this.selected=!1,this.tabIndex=0,this.selectedChange=new i.EventEmitter,this.direction=o?"rtl":"ltr",this.element=t.nativeElement,this.renderer=e}return Object.defineProperty(t.prototype,"icon",{set:function(t){var e=this;t?this.iconSetter(t,function(){e.isIcon=!0;var n="k-icon k-i-"+t;e.addIcon(n)}):(this.isIcon=!1,this.updateIconNode())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"iconClass",{set:function(t){var e=this;t?this.iconSetter(t,function(){e.isIconClass=!0,e.addIcon(t)}):(this.isIconClass=!1,this.updateIconNode())},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"imageUrl",{set:function(t){t?this.iconSetter(t,this.addImgIcon.bind(this)):this.removeImageNode()},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{set:function(t){this.isDisabled=t,this.renderer.setProperty(this.element,"disabled",t)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classButton",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classDisabled",{get:function(){return this.isDisabled},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classPrimary",{get:function(){return this.primary},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isBare",{get:function(){return"bare"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isFlat",{get:function(){return"flat"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isOutline",{get:function(){return"outline"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classActive",{get:function(){return this.selected},enumerable:!0,configurable:!0}),t.prototype.onClick=function(){this.togglable&&(!this.disabled&&this.service&&this.service.click(this),this.service||this.setSelected(!this.selected))},Object.defineProperty(t.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),t.prototype.ngAfterViewChecked=function(){if(this.isIcon){var t=this.hasText();this.toggleClass("k-button-icon",!t),this.toggleClass("k-button-icontext",t)}},t.prototype.ngOnDestroy=function(){this.removeNodes(),this.renderer=null},t.prototype.focus=function(){s.isDocumentAvailable()&&this.element.focus()},t.prototype.blur=function(){s.isDocumentAvailable()&&this.element.blur()},t.prototype.setAttribute=function(t,e){this.renderer.setAttribute(this.element,t,e)},t.prototype.setSelected=function(t){var e=this.selected!==t;this.selected=t,e&&this.selectedChange.emit(t)},t.prototype.hasText=function(){return!!s.isDocumentAvailable()&&this.element.innerText.length>0},t.prototype.addImgIcon=function(t){var e=this.renderer;this.imageNode?e.setProperty(this.imageNode,"src",t):s.isDocumentAvailable()&&(this.imageNode=e.createElement("img"),e.setProperty(this.imageNode,"src",t),e.setProperty(this.imageNode,"className","k-image"),e.setAttribute(this.imageNode,"role","presentation"),this.prependChild(this.imageNode))},t.prototype.addIcon=function(t){var e=this.renderer;this.iconNode?e.setProperty(this.iconNode,"className",t):s.isDocumentAvailable()&&(this.iconNode=e.createElement("span"),e.setProperty(this.iconNode,"className",t),e.setAttribute(this.iconNode,"role","presentation"),this.prependChild(this.iconNode))},t.prototype.prependChild=function(t){var e=this;setTimeout(function(){e.renderer&&t!==e.element.firstChild&&e.renderer.insertBefore(e.element,t,e.element.firstChild)})},t.prototype.iconSetter=function(t,e){t&&e(t)},t.prototype.removeNodes=function(){this.removeImageNode(),this.removeIconNode()},t.prototype.removeImageNode=function(){this.imageNode&&this.renderer.parentNode(this.imageNode)&&(this.renderer.removeChild(this.element,this.imageNode),this.imageNode=void 0)},t.prototype.removeIconNode=function(){this.iconNode&&this.renderer.parentNode(this.iconNode)&&(this.renderer.removeChild(this.element,this.iconNode),this.iconNode=void 0)},t.prototype.updateIconNode=function(){this.isIcon||this.isIconClass||this.removeIconNode()},t.prototype.toggleClass=function(t,e){e?this.renderer.addClass(this.element,t):this.renderer.removeClass(this.element,t)},t}();o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],p.prototype,"togglable",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],p.prototype,"primary",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],p.prototype,"look",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean)],p.prototype,"selected",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Number)],p.prototype,"tabIndex",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],p.prototype,"icon",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],p.prototype,"iconClass",null),o.__decorate([i.Input(),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[String])],p.prototype,"imageUrl",null),o.__decorate([i.Input(),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[Boolean])],p.prototype,"disabled",null),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],p.prototype,"selectedChange",void 0),o.__decorate([i.HostBinding("class.k-button"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"classButton",null),o.__decorate([i.HostBinding("class.k-state-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"classDisabled",null),o.__decorate([i.HostBinding("class.k-primary"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"classPrimary",null),o.__decorate([i.HostBinding("class.k-bare"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"isBare",null),o.__decorate([i.HostBinding("class.k-flat"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"isFlat",null),o.__decorate([i.HostBinding("class.k-outline"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"isOutline",null),o.__decorate([i.HostBinding("class.k-state-active"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],p.prototype,"classActive",null),o.__decorate([i.HostListener("click"),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[]),o.__metadata("design:returntype",void 0)],p.prototype,"onClick",null),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],p.prototype,"dir",null),p=o.__decorate([i.Directive({exportAs:"kendoButton",selector:"button[kendoButton]"}),o.__param(2,i.Optional()),o.__param(3,i.Optional()),o.__param(3,i.Inject(r.RTL)),o.__metadata("design:paramtypes",[i.ElementRef,i.Renderer2,a.KendoButtonService,Boolean])],p),e.ButtonDirective=p},function(t,n){t.exports=e},function(t,e){t.exports=n},function(t,e){t.exports=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(6),a=function(){function t(){this.buttonClicked=new r.Subject,this.buttonClicked$=this.buttonClicked.asObservable()}return t.prototype.click=function(t){this.buttonClicked.next(t)},t}();a=o.__decorate([i.Injectable()],a),e.KendoButtonService=a},function(t,e){t.exports=a},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Promise.resolve(null);e.isDocumentAvailable=function(){return"undefined"!=typeof document},e.isPresent=function(t){return null!==t&&void 0!==t},e.guid=function(){var t,e,n="";for(t=0;t<32;t++)e=16*Math.random()|0,8!==t&&12!==t&&16!==t&&20!==t||(n+="-"),n+=(12===t?4:16===t?3&e|8:e).toString(16);return n},e.tick=function(t){return n.then(t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(1),r=n(3),a=n(4),s=n(5),p=n(7),u=n(9),c="aria-checked",d="tabindex",l=function(){function t(t,e){this.service=t,this.selection="multiple",this.look="default",this.direction=e?"rtl":"ltr"}return Object.defineProperty(t.prototype,"wrapperClass",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"disabledClass",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"stretchedClass",{get:function(){return!!this.width},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isBare",{get:function(){return"bare"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isFlat",{get:function(){return"flat"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"isOutline",{get:function(){return"outline"===this.look},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"getRole",{get:function(){return this.isSelectionSingle()?"radiogroup":"group"},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"ariaDisabled",{get:function(){return this.disabled},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"wrapperWidth",{get:function(){return this.width},enumerable:!0,configurable:!0}),t.prototype.keydown=function(t){if(this.isSelectionSingle()){var e=this.buttons.toArray().findIndex(function(t){return t.selected}),n=this.buttons.length-1;void 0!==e&&(t.keyCode===u.Keys.right&&e<n&&(this.deactivate(this.buttons.filter(function(t){return t.selected})),this.activate(this.buttons.filter(function(t,n){return n===e+1}))),t.keyCode===u.Keys.left&&e>0&&(this.deactivate(this.buttons.filter(function(t){return t.selected})),this.activate(this.buttons.filter(function(t,n){return n===e-1}))))}},t.prototype.ngOnInit=function(){var t=this;this.subscription=this.service.buttonClicked$.subscribe(function(e){t.isSelectionSingle()?(t.deactivate(t.buttons.filter(function(t){return t!==e})),e.setSelected(!0)):e.setSelected(!e.selected),e.setAttribute(c,e.selected.toString()),e.setAttribute(d,e.tabIndex.toString())})},t.prototype.ngAfterContentInit=function(){var t=this,e=this.isSelectionSingle(),n=e?"radio":"checkbox",o=!1;this.buttons.forEach(function(i){i.setAttribute(c,i.selected.toString()),i.setAttribute("role",n),p.isPresent(t.disabled)&&(i.disabled=t.disabled),"default"!==t.look&&(i.look=t.look),!e||i.selected?i.setAttribute(d,i.tabIndex.toString()):e&&!i.selected&&i.setAttribute(d,"-1"),o=o||i.selected}),e&&!o&&(this.buttons.first.setAttribute(d,this.buttons.first.tabIndex.toString()),this.buttons.last.setAttribute(d,this.buttons.last.tabIndex.toString()))},t.prototype.ngAfterViewChecked=function(){this.buttons.length&&(this.buttons.first.renderer.addClass(this.buttons.first.element,"k-group-start"),this.buttons.last.renderer.addClass(this.buttons.last.element,"k-group-end"))},t.prototype.ngOnDestroy=function(){this.subscription.unsubscribe()},t.prototype.ngAfterContentChecked=function(){this.verifySettings()},t.prototype.deactivate=function(t){t.forEach(function(t){t.setSelected(!1),t.setAttribute(c,t.selected.toString()),t.setAttribute(d,"-1")})},t.prototype.activate=function(t){t.forEach(function(t){t.setSelected(!0),t.setAttribute(c,t.selected.toString()),t.setAttribute(d,"0"),t.focus()})},t.prototype.verifySettings=function(){if(r.isDevMode()&&this.isSelectionSingle()&&this.buttons.filter(function(t){return t.selected}).length>1)throw new Error("Having multiple selected buttons with single selection mode is not supported")},t.prototype.isSelectionSingle=function(){return"single"===this.selection},t}();o.__decorate([r.Input("disabled"),o.__metadata("design:type",Boolean)],l.prototype,"disabled",void 0),o.__decorate([r.Input("selection"),o.__metadata("design:type",String)],l.prototype,"selection",void 0),o.__decorate([r.Input("width"),o.__metadata("design:type",String)],l.prototype,"width",void 0),o.__decorate([r.Input(),o.__metadata("design:type",String)],l.prototype,"look",void 0),o.__decorate([r.ContentChildren(i.ButtonDirective),o.__metadata("design:type",r.QueryList)],l.prototype,"buttons",void 0),o.__decorate([r.HostBinding("class.k-button-group"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],l.prototype,"wrapperClass",null),o.__decorate([r.HostBinding("class.k-state-disabled"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],l.prototype,"disabledClass",null),o.__decorate([r.HostBinding("class.k-button-group-stretched"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],l.prototype,"stretchedClass",null),o.__decorate([r.HostBinding("class.k-button-group-bare"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],l.prototype,"isBare",null),o.__decorate([r.HostBinding("class.k-button-group-flat"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],l.prototype,"isFlat",null),o.__decorate([r.HostBinding("class.k-button-group-outline"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],l.prototype,"isOutline",null),o.__decorate([r.HostBinding("attr.role"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],l.prototype,"getRole",null),o.__decorate([r.HostBinding("attr.dir"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],l.prototype,"dir",null),o.__decorate([r.HostBinding("attr.aria-disalbed"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],l.prototype,"ariaDisabled",null),o.__decorate([r.HostBinding("style.width"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],l.prototype,"wrapperWidth",null),o.__decorate([r.HostListener("keydown",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],l.prototype,"keydown",null),l=o.__decorate([r.Component({exportAs:"kendoButtonGroup",providers:[s.KendoButtonService],selector:"kendo-buttongroup",template:'\n <ng-content select="[kendoButton]"></ng-content>\n '}),o.__param(1,r.Optional()),o.__param(1,r.Inject(a.RTL)),o.__metadata("design:paramtypes",[s.KendoButtonService,Boolean])],l),e.ButtonGroupComponent=l},function(t,e){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),(n=e.Keys||(e.Keys={}))[n.backspace=8]="backspace",n[n.tab=9]="tab",n[n.enter=13]="enter",n[n.shift=16]="shift",n[n.ctrl=17]="ctrl",n[n.alt=18]="alt",n[n["pause/break"]=19]="pause/break",n[n["caps lock"]=20]="caps lock",n[n.esc=27]="esc",n[n.space=32]="space",n[n["page up"]=33]="page up",n[n["page down"]=34]="page down",n[n.end=35]="end",n[n.home=36]="home",n[n.left=37]="left",n[n.up=38]="up",n[n.right=39]="right",n[n.down=40]="down",n[n.insert=45]="insert",n[n.delete=46]="delete",n[n.command=91]="command",n[n["left command"]=91]="left command",n[n["right command"]=93]="right command",n[n["numpad *"]=106]="numpad *",n[n["numpad +"]=107]="numpad +",n[n["numpad -"]=109]="numpad -",n[n["numpad ."]=110]="numpad .",n[n["numpad /"]=111]="numpad /",n[n["num lock"]=144]="num lock",n[n["scroll lock"]=145]="scroll lock",n[n["my computer"]=182]="my computer",n[n["my calculator"]=183]="my calculator",n[n[";"]=186]=";",n[n["="]=187]="=",n[n[","]=188]=",",n[n["-"]=189]="-",n[n["."]=190]=".",n[n["/"]=191]="/",n[n["`"]=192]="`",n[n["["]=219]="[",n[n["\\"]=220]="\\",n[n["]"]=221]="]",n[n["'"]=222]="'"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(11),a=n(12),s=n(8),p=function(){return function(){}}();p=o.__decorate([i.NgModule({declarations:[s.ButtonGroupComponent],exports:[s.ButtonGroupComponent],imports:[r.CommonModule,a.ButtonModule]})],p),e.ButtonGroupModule=p},function(t,e){t.exports=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(1),a=function(){return function(){}}();a=o.__decorate([i.NgModule({declarations:[r.ButtonDirective],exports:[r.ButtonDirective]})],a),e.ButtonModule=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(12),a=n(10),s=n(14),p=n(33),u=function(){return function(){}}();u=o.__decorate([i.NgModule({exports:[a.ButtonGroupModule,r.ButtonModule,s.SplitButtonModule,p.DropDownButtonModule]})],u),e.ButtonsModule=u},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(11),a=n(15),s=n(12),p=n(16),u=n(22),c=function(){return function(){}}();c=o.__decorate([i.NgModule({declarations:[u.SplitButtonComponent],exports:[u.SplitButtonComponent,p.ListModule],imports:[r.CommonModule,a.PopupModule,s.ButtonModule,p.ListModule]})],c),e.SplitButtonModule=c},function(t,e){t.exports=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(11),a=n(17),s=n(19),p=n(18),u=n(21),c=[a.ListComponent,s.FocusableDirective,p.ButtonItemTemplateDirective,u.TemplateContextDirective],d=function(){return function(){}}();d=o.__decorate([i.NgModule({declarations:[c],exports:[c],imports:[r.CommonModule]})],d),e.ListModule=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(18),a=function(){function t(){this.onItemClick=new i.EventEmitter,this.onItemBlur=new i.EventEmitter}return t.prototype.getText=function(t){if(t)return this.textField?t[this.textField]:t.text||t},t.prototype.getIconClasses=function(t){var e={};return e[(t.icon?"k-icon k-i-"+t.icon:void 0)||t.iconClass]=!0,e},t.prototype.onClick=function(t){this.onItemClick.emit(t)},t.prototype.onBlur=function(){this.onItemBlur.emit()},t}();o.__decorate([i.Input(),o.__metadata("design:type",Array)],a.prototype,"data",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],a.prototype,"textField",void 0),o.__decorate([i.Input(),o.__metadata("design:type",r.ButtonItemTemplateDirective)],a.prototype,"itemTemplate",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],a.prototype,"onItemClick",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],a.prototype,"onItemBlur",void 0),a=o.__decorate([i.Component({selector:"kendo-button-list",template:'\n <ul class="k-list k-reset" unselectable="on">\n <li role="menuItem" unselectable="on" tabindex="-1"\n kendoButtonFocusable\n *ngFor="let dataItem of data; let index = index;"\n [index]="index"\n [ngClass]="{\'k-item\': true, \'k-state-disabled\': dataItem.disabled}"\n (click)="onClick(index)"\n (blur)="onBlur()"\n [attr.aria-disabled]="dataItem.disabled ? true : false">\n <ng-template *ngIf="itemTemplate?.templateRef"\n [templateContext]="{\n templateRef: itemTemplate?.templateRef,\n $implicit: dataItem\n }">\n </ng-template>\n <ng-template [ngIf]="!itemTemplate?.templateRef">\n <span\n *ngIf="dataItem.icon || dataItem.iconClass"\n [ngClass]="getIconClasses(dataItem)"\n ></span>\n <img\n *ngIf="dataItem.imageUrl"\n class="k-image"\n [src]="dataItem.imageUrl"\n alt=""\n >\n {{ getText(dataItem) }}\n </ng-template>\n </li>\n </ul>\n '})],a),e.ListComponent=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=function(){return function(t){this.templateRef=t}}();r=o.__decorate([i.Directive({selector:"[kendoDropDownButtonItemTemplate],[kendoSplitButtonItemTemplate]"}),o.__metadata("design:paramtypes",[i.TemplateRef])],r),e.ButtonItemTemplateDirective=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(20),a=n(7),s=function(){function t(t,e){this.focusService=t,this.element=e.nativeElement,this.subscribeEvents()}return Object.defineProperty(t.prototype,"focusedClassName",{get:function(){return this.focusService.isFocused(this.index)},enumerable:!0,configurable:!0}),t.prototype.ngOnDestroy=function(){this.unsubscribeEvents()},t.prototype.subscribeEvents=function(){var t=this;a.isDocumentAvailable()&&(this.focusSubscription=this.focusService.onFocus.subscribe(function(e){t.index===e&&t.element.focus()}))},t.prototype.unsubscribeEvents=function(){a.isDocumentAvailable()&&this.focusSubscription&&this.focusSubscription.unsubscribe()},t}();o.__decorate([i.Input(),o.__metadata("design:type",Number)],s.prototype,"index",void 0),o.__decorate([i.HostBinding("class.k-state-focused"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],s.prototype,"focusedClassName",null),s=o.__decorate([i.Directive({selector:"[kendoButtonFocusable]"}),o.__metadata("design:paramtypes",[r.FocusService,i.ElementRef])],s),e.FocusableDirective=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=function(){function t(){this.onFocus=new i.EventEmitter}return t.prototype.isFocused=function(t){return t===this.focused},t.prototype.focus=function(t){this.isFocused(t)||(this.focused=t,this.onFocus.emit(t))},t.prototype.resetFocus=function(){this.focused=-1},Object.defineProperty(t.prototype,"focused",{get:function(){return this.focusedIndex},set:function(t){this.focusedIndex=t,this.onFocus.emit(t)},enumerable:!0,configurable:!0}),t}();r=o.__decorate([i.Injectable()],r),e.FocusService=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=function(){function t(t){this.viewContainerRef=t}return Object.defineProperty(t.prototype,"templateContext",{set:function(t){this.insertedViewRef&&(this.viewContainerRef.remove(this.viewContainerRef.indexOf(this.insertedViewRef)),this.insertedViewRef=void 0),t.templateRef&&(this.insertedViewRef=this.viewContainerRef.createEmbeddedView(t.templateRef,t))},enumerable:!0,configurable:!0}),t}();o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],r.prototype,"templateContext",null),r=o.__decorate([i.Directive({selector:"[templateContext]"}),o.__metadata("design:paramtypes",[i.ViewContainerRef])],r),e.TemplateContextDirective=r},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(4),a=n(15),s=n(23),p=n(18),u=n(20),c=n(30),d=n(31),l=n(7),_=n(32),m={provide:d.NAVIGATION_CONFIG,useValue:{useLeftRightArrows:!0}},g=function(t){function e(e,n,o,r,a,s){var p=t.call(this,e,n,o,r)||this;return p.popupService=a,p.text="",p.icon="",p.iconClass="",p.imageUrl="",p.tabIndex=0,p.buttonClick=new i.EventEmitter,p.itemClick=new i.EventEmitter,p.onFocus=new i.EventEmitter,p.onBlur=new i.EventEmitter,p.open=new i.EventEmitter,p.close=new i.EventEmitter,p.listId=l.guid(),p.buttonText="",p.direction=s?"rtl":"ltr",p._itemClick=p.itemClick,p._blur=p.onBlur,p}return o.__extends(e,t),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){this._disabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"popupSettings",{get:function(){return this._popupSettings||(this._popupSettings={animate:!0,popupClass:""}),this._popupSettings},set:function(t){this._popupSettings=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this._data||(this.data=[]),this._data},set:function(t){this._data=t||[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openState",{get:function(){return this._open},set:function(t){if(!this.disabled){var e=new _.PreventableEvent;t?this.open.emit(e):this.close.emit(e),e.isDefaultPrevented()||this._toggle(t)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTabIndex",{get:function(){return this.disabled?-1:this.tabIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"isFocused",{get:function(){return this._isFocused&&!this._disabled},set:function(t){this._isFocused=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widgetClasses",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"ariaLabel",{get:function(){return this.buttonText+" splitbutton"},enumerable:!0,configurable:!0}),e.prototype.onButtonFocus=function(){this.isFocused||(this._isFocused=!0,this.onFocus.emit())},e.prototype.onButtonClick=function(){this.buttonClick.emit()},e.prototype.keydown=function(t){this.keyDownHandler(t)},e.prototype.keypress=function(t){this.keyPressHandler(t)},e.prototype.keyup=function(t){this.keyUpHandler(t)},e.prototype.ngAfterViewInit=function(){this.updateButtonText()},e.prototype.ngOnChanges=function(t){t.hasOwnProperty("text")&&this.updateButtonText()},e.prototype.togglePopupVisibility=function(){t.prototype.togglePopupVisibility.call(this),this.openState=this._open,l.isDocumentAvailable()&&this.button.nativeElement.focus()},e.prototype.wrapperContains=function(t){return this.wrapper===t||this.wrapper.contains(t)||this.popupRef&&this.popupRef.popupElement.contains(t)},Object.defineProperty(e.prototype,"anchorAlign",{get:function(){var t={horizontal:"left",vertical:"bottom"};return"rtl"===this.direction&&(t.horizontal="right"),t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"popupAlign",{get:function(){var t={horizontal:"left",vertical:"top"};return"rtl"===this.direction&&(t.horizontal="right"),t},enumerable:!0,configurable:!0}),e.prototype.focus=function(){l.isDocumentAvailable()&&this.button.nativeElement.focus()},e.prototype.blur=function(){l.isDocumentAvailable()&&this.button.nativeElement.blur()},e.prototype.toggle=function(t){var e=this;this.disabled||l.tick(function(){return e._toggle(void 0===t?!e._open:t)})},Object.defineProperty(e.prototype,"isOpen",{get:function(){return this.openState},enumerable:!0,configurable:!0}),e.prototype.enterHanlder=function(){if(!this.disabled)if(this.openState){var t=this.focusService.focused;l.isPresent(t)&&-1!==t&&this.emitItemClickHandler(t)}else this.buttonClick.emit()},e.prototype.updateButtonText=function(){var t=this;if(l.isDocumentAvailable()){var e=this.wrapper.innerText.split("\n").join("").trim();setTimeout(function(){t.buttonText=e},0)}},e.prototype._toggle=function(t){var e=this;this._open=t,this.popupRef&&(this.popupRef.close(),this.popupRef=null),this._open&&(this.popupRef=this.popupService.open({anchor:this.button,anchorAlign:this.anchorAlign,animate:this.popupSettings.animate,content:this.popupTemplate,popupAlign:this.popupAlign,popupClass:this.popupClasses}),this.popupRef.popupAnchorViewportLeave.subscribe(function(){return e.openState=!1}),this.popupRef.popupOpen.subscribe(this.focusFirstItem.bind(this)))},e}(s.ListButton);o.__decorate([i.Input(),o.__metadata("design:type",String)],g.prototype,"text",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],g.prototype,"icon",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],g.prototype,"iconClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],g.prototype,"imageUrl",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[Boolean])],g.prototype,"disabled",null),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],g.prototype,"popupSettings",null),o.__decorate([i.Input(),o.__metadata("design:type",Number)],g.prototype,"tabIndex",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],g.prototype,"textField",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],g.prototype,"data",null),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],g.prototype,"buttonClick",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],g.prototype,"itemClick",void 0),o.__decorate([i.Output("focus"),o.__metadata("design:type",i.EventEmitter)],g.prototype,"onFocus",void 0),o.__decorate([i.Output("blur"),o.__metadata("design:type",i.EventEmitter)],g.prototype,"onBlur",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],g.prototype,"open",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],g.prototype,"close",void 0),o.__decorate([i.ContentChild(p.ButtonItemTemplateDirective),o.__metadata("design:type",p.ButtonItemTemplateDirective)],g.prototype,"itemTemplate",void 0),o.__decorate([i.ViewChild("button"),o.__metadata("design:type",i.ElementRef)],g.prototype,"button",void 0),o.__decorate([i.ViewChild("popupTemplate"),o.__metadata("design:type",i.TemplateRef)],g.prototype,"popupTemplate",void 0),o.__decorate([i.HostBinding("class.k-state-focused"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[Boolean])],g.prototype,"isFocused",null),o.__decorate([i.HostBinding("class.k-widget"),i.HostBinding("class.k-split-button"),i.HostBinding("class.k-button-group"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],g.prototype,"widgetClasses",null),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],g.prototype,"dir",null),o.__decorate([i.HostListener("keydown",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],g.prototype,"keydown",null),o.__decorate([i.HostListener("keypress",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],g.prototype,"keypress",null),o.__decorate([i.HostListener("keyup",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],g.prototype,"keyup",null),g=o.__decorate([i.Component({exportAs:"kendoSplitButton",providers:[u.FocusService,c.NavigationService,m],selector:"kendo-splitbutton",template:'\n <button kendoButton\n #button\n role="listbox"\n [tabindex]="componentTabIndex"\n [disabled]="disabled"\n [icon]="icon"\n [class.k-state-active]="active"\n [iconClass]="iconClass"\n [imageUrl]="imageUrl"\n (focus)="onButtonFocus()"\n (click)="onButtonClick()"\n [attr.aria-disabled]="disabled"\n [attr.aria-expanded]="openState"\n [attr.aria-haspopup]="true"\n [attr.aria-owns]="listId"\n [attr.aria-label]="ariaLabel"\n >\n {{text}}<ng-content></ng-content>\n </button>\n <button kendoButton\n [disabled]="disabled"\n [icon]="\'arrow-s\'"\n [tabindex]="-1"\n (click)="togglePopupVisibility()">\n </button>\n <ng-template #popupTemplate>\n <kendo-button-list\n [id]="listId"\n [data]="data"\n [textField]="textField"\n [itemTemplate]="itemTemplate"\n (onItemBlur)="blurHandler()"\n (onItemClick)="onItemClick($event)"\n (keydown)="keyDownHandler($event)"\n (keypress)="keyPressHandler($event)"\n (keyup)="keyUpHandler($event)"\n >\n </kendo-button-list>\n <ng-template>\n '}),o.__param(5,i.Optional()),o.__param(5,i.Inject(r.RTL)),o.__metadata("design:paramtypes",[u.FocusService,c.NavigationService,i.ElementRef,i.NgZone,a.PopupService,Boolean])],g),e.SplitButtonComponent=g},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),i=n(24);n(25),n(26),n(27);var r=n(28),a=n(29),s=n(7),p=function(){function t(t,e,n,i){this.focusService=t,this.navigationService=e,this.wrapperRef=n,this._zone=i,this._open=!1,this._disabled=!1,this._active=!1,this._popupSettings={animate:!0,popupClass:""},this.listId=s.guid(),this._isFocused=!1,this.wrapperBlurred=new o.EventEmitter,this.focusService=t,this.navigationService=e,this.wrapper=n.nativeElement,this.subscribeEvents()}return Object.defineProperty(t.prototype,"popupClasses",{get:function(){var t=["k-list-container","k-reset","k-group"];return this._popupSettings.popupClass&&t.push(this._popupSettings.popupClass),t.join(" ")},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"openState",{get:function(){return this._open},set:function(t){this._open=t},enumerable:!0,configurable:!0}),t.prototype.togglePopupVisibility=function(){this._disabled||(this.openState=!this.openState,this.openState||this.focusService.focus(-1))},t.prototype.onItemClick=function(t){var e=this;this.emitItemClickHandler(t),setTimeout(function(){e.focusWrapper()},1)},t.prototype.ngOnDestroy=function(){this.openState=!1,this.unsubscribeEvents()},t.prototype.subscribeEvents=function(){s.isDocumentAvailable()&&(this.subscribeListItemFocusEvent(),this.subscribeComponentBlurredEvent(),this.subscribeNavigationEvents())},t.prototype.subscribeListItemFocusEvent=function(){var t=this;this.focusSubscription=this.focusService.onFocus.subscribe(function(){t._isFocused=!0})},t.prototype.subscribeComponentBlurredEvent=function(){var t=this;this._zone.runOutsideAngular(function(){t.documentClick=i.Observable.fromEvent(document,"click").filter(function(e){return!t.wrapperContains(e.target)}),t.componentBlurredSubscription=t.wrapperBlurred.merge(t.navigationService.tab,t.documentClick).filter(function(){return t._isFocused}).subscribe(function(){return t._zone.run(function(){t.blurWrapper()})})})},t.prototype.subscribeNavigationEvents=function(){var t=this;this.navigationSubscription=this.navigationService.navigate.subscribe(this.focusService.focus.bind(this.focusService)),this.enterPressSubscription=this.navigationService.enterpress.subscribe(function(){t._disabled||t._open||(t._active=!0)}),this.enterUpSubscription=this.navigationService.enterup.subscribe(function(){t._open||(t._active=!1),t.enterHanlder(),t.focusWrapper()}),this.openSubscription=this.navigationService.open.subscribe(function(){t._open?t.focusWrapper():(t.togglePopupVisibility(),t.focusFirstItem())}),this.closeSubscription=this.navigationService.close.merge(this.navigationService.esc).subscribe(function(){t.focusWrapper()})},t.prototype.enterHanlder=function(){},t.prototype.unsubscribeEvents=function(){s.isDocumentAvailable()&&(this.unsubscribe(this.componentBlurredSubscription),this.unsubscribe(this.focusSubscription),this.unsubscribe(this.navigationSubscription),this.unsubscribe(this.enterPressSubscription),this.unsubscribe(this.enterUpSubscription),this.unsubscribe(this.openSubscription),this.unsubscribe(this.closeSubscription))},t.prototype.unsubscribe=function(t){t&&t.unsubscribe()},t.prototype.keyDownHandler=function(t){this.keyHandler(t)},t.prototype.keyPressHandler=function(t){this.keyHandler(t,r.KeyEvents.keypress)},t.prototype.keyUpHandler=function(t){this.keyHandler(t,r.KeyEvents.keyup)},t.prototype.keyHandler=function(t,e){if(!this._disabled){var n=this.focusService.focused||0,o=t,i=this.navigationService.process({altKey:o.altKey,current:n,keyCode:o.keyCode,keyEvent:e,max:this._data?this._data.length-1:0,min:0});i!==a.NavigationAction.Undefined&&i!==a.NavigationAction.Tab&&(i!==a.NavigationAction.Enter||i===a.NavigationAction.Enter&&this._open)&&o.preventDefault()}},t.prototype.emitItemClickHandler=function(t){var e=this._data[t];this._itemClick&&this._itemClick.emit(e),e&&e.click&&!e.disabled&&e.click(e)},t.prototype.focusFirstItem=function(){var t=this;this._data&&s.isPresent(this._data[0])&&setTimeout(function(){t.focusService.focus(0)},1)},t.prototype.focusWrapper=function(){this._open&&(this.togglePopupVisibility(),this.button&&s.isDocumentAvailable()&&this.button.nativeElement.focus())},t.prototype.blurHandler=function(){var t=this;s.isDocumentAvailable()&&setTimeout(function(){t.wrapperContains(document.activeElement)||t.blurWrapper()})},t.prototype.wrapperContains=function(t){return this.wrapper===t||this.wrapper.contains(t)},t.prototype.blurWrapper=function(){this._open&&this.togglePopupVisibility(),this._isFocused=!1,this._blur.emit()},t}();e.ListButton=p},function(t,e){t.exports=u},function(t,e){t.exports=s},function(t,e){t.exports=p},function(t,e){t.exports=c},function(t,e){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),(n=e.KeyEvents||(e.KeyEvents={}))[n.keydown=0]="keydown",n[n.keypress=1]="keypress",n[n.keyup=2]="keyup"},function(t,e){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),(n=e.NavigationAction||(e.NavigationAction={}))[n.Undefined=0]="Undefined",n[n.Open=1]="Open",n[n.Close=2]="Close",n[n.Enter=3]="Enter",n[n.EnterPress=4]="EnterPress",n[n.EnterUp=5]="EnterUp",n[n.Tab=6]="Tab",n[n.Esc=7]="Esc",n[n.Navigate=8]="Navigate"},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(7),a=n(28),s=n(9),p=n(29),u=n(31),c=function(){function t(t){this.navigate=new i.EventEmitter,this.open=new i.EventEmitter,this.close=new i.EventEmitter,this.enter=new i.EventEmitter,this.enterpress=new i.EventEmitter,this.enterup=new i.EventEmitter,this.tab=new i.EventEmitter,this.esc=new i.EventEmitter,this.useLeftRightArrows=t.useLeftRightArrows}return t.prototype.process=function(t){var e,n=t.keyCode,o=t.keyEvent,i=p.NavigationAction.Undefined;return o===a.KeyEvents.keypress?this.isEnter(n)&&(i=p.NavigationAction.EnterPress):o===a.KeyEvents.keyup?this.isEnter(n)&&(i=p.NavigationAction.EnterUp):t.altKey&&n===s.Keys.down?i=p.NavigationAction.Open:t.altKey&&n===s.Keys.up?i=p.NavigationAction.Close:this.isEnter(n)?i=p.NavigationAction.Enter:n===s.Keys.esc?i=p.NavigationAction.Esc:n===s.Keys.tab?i=p.NavigationAction.Tab:n===s.Keys.up||this.useLeftRightArrows&&n===s.Keys.left?(e=this.next({current:t.current,start:t.max,end:t.min,step:-1}),i=p.NavigationAction.Navigate):(n===s.Keys.down||this.useLeftRightArrows&&n===s.Keys.right)&&(e=this.next({current:t.current,start:t.min,end:t.max,step:1}),i=p.NavigationAction.Navigate),i!==p.NavigationAction.Undefined&&this[p.NavigationAction[i].toLowerCase()].emit(e),i},t.prototype.isEnter=function(t){return t===s.Keys.enter||t===s.Keys.space},t.prototype.next=function(t){return r.isPresent(t.current)?t.current!==t.end?t.current+t.step:t.end:t.start},t}();c=o.__decorate([i.Injectable(),o.__param(0,i.Inject(u.NAVIGATION_CONFIG)),o.__metadata("design:paramtypes",[Object])],c),e.NavigationService=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(3);e.NAVIGATION_CONFIG=new o.InjectionToken("navigation.config")},function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.prevented=!1}return t.prototype.preventDefault=function(){this.prevented=!0},t.prototype.isDefaultPrevented=function(){return this.prevented},t}();e.PreventableEvent=n},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(11),a=n(15),s=n(16),p=n(12),u=n(34),c=function(){return function(){}}();c=o.__decorate([i.NgModule({declarations:[u.DropDownButtonComponent],exports:[u.DropDownButtonComponent,s.ListModule],imports:[r.CommonModule,a.PopupModule,s.ListModule,p.ButtonModule]})],c),e.DropDownButtonModule=c},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),i=n(3),r=n(4),a=n(15),s=n(18),p=n(7),u=n(23),c=n(17),d=n(20),l=n(30),_=n(31),m=n(32),g={provide:_.NAVIGATION_CONFIG,useValue:{useLeftRightArrows:!0}},f=function(t){function e(e,n,o,r,a,s){var u=t.call(this,e,n,o,r)||this;return u.popupService=a,u.icon="",u.iconClass="",u.imageUrl="",u.tabIndex=0,u.itemClick=new i.EventEmitter,u.open=new i.EventEmitter,u.close=new i.EventEmitter,u.onFocus=new i.EventEmitter,u.onBlur=new i.EventEmitter,u.listId=p.guid(),u.direction=s?"rtl":"ltr",u._itemClick=u.itemClick,u._blur=u.onBlur,u}return o.__extends(e,t),Object.defineProperty(e.prototype,"popupSettings",{get:function(){return this._popupSettings},set:function(t){this._popupSettings=Object.assign({animate:!0,popupClass:""},t)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"disabled",{get:function(){return this._disabled},set:function(t){t&&this.openState&&(this.openState=!1),this._disabled=t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"data",{get:function(){return this._data},set:function(t){this._data=t||[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"openState",{get:function(){return this._open},set:function(t){if(!this.disabled){var e=new m.PreventableEvent;t?this.open.emit(e):this.close.emit(e),e.isDefaultPrevented()||this._toggle(t)}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentTabIndex",{get:function(){return this.disabled?-1:this.tabIndex},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"focused",{get:function(){return this._isFocused&&!this._disabled},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"widgetClasses",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"active",{get:function(){return this._active},enumerable:!0,configurable:!0}),e.prototype.keydown=function(t){this.keyDownHandler(t)},e.prototype.keypress=function(t){this.keyPressHandler(t)},e.prototype.keyup=function(t){this.keyUpHandler(t)},e.prototype.mousedown=function(t){this._disabled&&t.preventDefault()},e.prototype.openPopup=function(){this.togglePopupVisibility()},Object.defineProperty(e.prototype,"anchorAlign",{get:function(){var t={horizontal:"left",vertical:"bottom"};return"rtl"===this.direction&&(t.horizontal="right"),t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"popupAlign",{get:function(){var t={horizontal:"left",vertical:"top"};return"rtl"===this.direction&&(t.horizontal="right"),t},enumerable:!0,configurable:!0}),e.prototype.focus=function(){p.isDocumentAvailable()&&this.button.nativeElement.focus()},e.prototype.blur=function(){p.isDocumentAvailable()&&this.button.nativeElement.blur()},e.prototype.toggle=function(t){var e=this;this.disabled||p.tick(function(){return e._toggle(void 0===t?!e._open:t)})},Object.defineProperty(e.prototype,"isOpen",{get:function(){return this.openState},enumerable:!0,configurable:!0}),e.prototype.handleFocus=function(){this._disabled||this._isFocused||(this._isFocused=!0,this.onFocus.emit())},e.prototype.wrapperContains=function(t){return this.wrapper===t||this.wrapper.contains(t)||this.popupRef&&this.popupRef.popupElement.contains(t)},e.prototype.subscribeNavigationEvents=function(){this.navigationSubscription=this.navigationService.navigate.subscribe(this.onArrowKeyNavigate.bind(this)),this.enterPressSubscription=this.navigationService.enterpress.subscribe(this.onNavigationEnterPress.bind(this)),this.enterUpSubscription=this.navigationService.enterup.subscribe(this.onNavigationEnterUp.bind(this)),this.openSubscription=this.navigationService.open.subscribe(this.onNavigationOpen.bind(this)),this.closeSubscription=this.navigationService.close.merge(this.navigationService.esc).subscribe(this.onNavigationClose.bind(this))},e.prototype.onNavigationEnterPress=function(){this._disabled||this.openState||(this._active=!0)},e.prototype.onNavigationEnterUp=function(){if(this._disabled||this.openState||(this._active=!1),this.openState){var t=this.focusService.focused;p.isPresent(t)&&-1!==t&&this.emitItemClickHandler(t)}this.togglePopupVisibility(),!this.openState&&p.isDocumentAvailable()&&this.button.nativeElement.focus()},e.prototype.onNavigationOpen=function(){this._disabled||this.openState||this.togglePopupVisibility()},e.prototype.onNavigationClose=function(){this.openState&&(this.togglePopupVisibility(),p.isDocumentAvailable()&&this.button.nativeElement.focus())},e.prototype.onArrowKeyNavigate=function(t){this.focusService.focus(t)},e.prototype._toggle=function(t){var e=this;this._open!==t&&(this._open=t,this.popupRef&&(this.popupRef.close(),this.popupRef=null),this._open&&(this.popupRef=this.popupService.open({anchor:this.button,anchorAlign:this.anchorAlign,animate:this.popupSettings.animate,content:this.popupTemplate,popupAlign:this.popupAlign,popupClass:this.popupClasses}),this.popupRef.popupAnchorViewportLeave.subscribe(function(){return e.openState=!1}),this.popupRef.popupOpen.subscribe(this.focusFirstItem.bind(this))))},e}(u.ListButton);o.__decorate([i.Input(),o.__metadata("design:type",String)],f.prototype,"icon",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],f.prototype,"iconClass",void 0),o.__decorate([i.Input(),o.__metadata("design:type",String)],f.prototype,"imageUrl",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],f.prototype,"popupSettings",null),o.__decorate([i.Input(),o.__metadata("design:type",String)],f.prototype,"textField",void 0),o.__decorate([i.Input(),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[Boolean])],f.prototype,"disabled",null),o.__decorate([i.Input(),o.__metadata("design:type",Object),o.__metadata("design:paramtypes",[Object])],f.prototype,"data",null),o.__decorate([i.Input(),o.__metadata("design:type",Number)],f.prototype,"tabIndex",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],f.prototype,"itemClick",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],f.prototype,"open",void 0),o.__decorate([i.Output(),o.__metadata("design:type",i.EventEmitter)],f.prototype,"close",void 0),o.__decorate([i.Output("focus"),o.__metadata("design:type",i.EventEmitter)],f.prototype,"onFocus",void 0),o.__decorate([i.Output("blur"),o.__metadata("design:type",i.EventEmitter)],f.prototype,"onBlur",void 0),o.__decorate([i.HostBinding("class.k-state-focused"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],f.prototype,"focused",null),o.__decorate([i.HostBinding("class.k-widget"),i.HostBinding("class.k-dropdown-button"),o.__metadata("design:type",Boolean),o.__metadata("design:paramtypes",[])],f.prototype,"widgetClasses",null),o.__decorate([i.HostBinding("attr.dir"),o.__metadata("design:type",String),o.__metadata("design:paramtypes",[])],f.prototype,"dir",null),o.__decorate([i.ContentChild(s.ButtonItemTemplateDirective),o.__metadata("design:type",s.ButtonItemTemplateDirective)],f.prototype,"itemTemplate",void 0),o.__decorate([i.ViewChild("button"),o.__metadata("design:type",i.ElementRef)],f.prototype,"button",void 0),o.__decorate([i.ViewChild("buttonList"),o.__metadata("design:type",c.ListComponent)],f.prototype,"buttonList",void 0),o.__decorate([i.ViewChild("popupTemplate"),o.__metadata("design:type",i.TemplateRef)],f.prototype,"popupTemplate",void 0),o.__decorate([i.HostListener("keydown",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],f.prototype,"keydown",null),o.__decorate([i.HostListener("keypress",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],f.prototype,"keypress",null),o.__decorate([i.HostListener("keyup",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],f.prototype,"keyup",null),o.__decorate([i.HostListener("mousedown",["$event"]),o.__metadata("design:type",Function),o.__metadata("design:paramtypes",[Object]),o.__metadata("design:returntype",void 0)],f.prototype,"mousedown",null),f=o.__decorate([i.Component({exportAs:"kendoDropDownButton",providers:[d.FocusService,l.NavigationService,g],selector:"kendo-dropdownbutton",template:'\n <button kendoButton #button\n role="menu"\n type="button"\n [tabindex]="componentTabIndex"\n [class.k-state-active]="active"\n [disabled]="disabled"\n [icon]="icon"\n [iconClass]="iconClass"\n [imageUrl]="imageUrl"\n (click)="openPopup()"\n (focus)="handleFocus()"\n [attr.aria-disabled]="disabled"\n [attr.aria-expanded]="openState"\n [attr.aria-haspopup]="true"\n [attr.aria-owns]="listId"\n >\n <ng-content></ng-content>\n </button>\n <ng-template #popupTemplate>\n <kendo-button-list\n #buttonList\n [id]="listId"\n [data]="data"\n [textField]="textField"\n [itemTemplate]="itemTemplate"\n (onItemClick)="onItemClick($event)"\n (keydown)="keyDownHandler($event)"\n (keypress)="keyPressHandler($event)"\n (keyup)="keyUpHandler($event)"\n >\n </kendo-button-list>\n </ng-template>\n '}),o.__param(5,i.Optional()),o.__param(5,i.Inject(r.RTL)),o.__metadata("design:paramtypes",[d.FocusService,l.NavigationService,i.ElementRef,i.NgZone,a.PopupService,Boolean])],f),e.DropDownButtonComponent=f}])}}});
{
"name": "@progress/kendo-angular-buttons",
"description": "Buttons Package for Angular 2",
"version": "2.0.0",
"version": "2.0.1-dev.201801251312",
"main": "dist/npm/main.js",

@@ -35,3 +35,3 @@ "module": "dist/es/main.js",

"@progress/kendo-angular-l10n": "^1.0.0",
"rxjs": "^5.0.1"
"rxjs": "^5 <5.5"
},

@@ -64,3 +64,3 @@ "dependencies": {

"gulp": "^3.9.0",
"rxjs": "^5.0.1",
"rxjs": "^5 <5.5",
"semantic-release": "^6.3.6",

@@ -67,0 +67,0 @@ "tslint": "^5.0.0",

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc