Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@progress/kendo-angular-dialog

Package Overview
Dependencies
Maintainers
1
Versions
906
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.6.2 to 3.6.3-dev.201806191449

dist/cdn/main.js

2

dist/systemjs/kendo-angular-dialog.js

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

System.register("@progress/kendo-angular-dialog",["tslib","@angular/animations","@angular/core","@progress/kendo-angular-l10n","rxjs/Subject","rxjs/operators/take","rxjs/observable/merge","rxjs/observable/of","rxjs/Subscription","@progress/kendo-angular-buttons","rxjs/operators/delay","rxjs/operators/takeUntil","@telerik/kendo-draggable","rxjs/operators/switchMap","rxjs/operators/tap","rxjs/operators/map","@progress/kendo-popup-common","@angular/common"],function(b){var n,i,o,r,a,s,d,c,p,l,u,g,h,f,m,_,y,v;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){n=t(e)},function(e){i=t(e)},function(e){o=t(e)},function(e){r=t(e)},function(e){a=t(e)},function(e){s=t(e)},function(e){d=t(e)},function(e){c=t(e)},function(e){p=t(e)},function(e){l=t(e)},function(e){u=t(e)},function(e){g=t(e)},function(e){h=t(e)},function(e){f=t(e)},function(e){m=t(e)},function(e){_=t(e)},function(e){y=t(e)},function(e){v=t(e)}],execute:function(){!function(n){var i={};function o(e){if(i[e])return i[e].exports;var t=i[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=n,o.c=i,o.p="",o(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1);t.DialogComponent=i.DialogComponent;var o=n(6);t.DialogTitleBarComponent=o.DialogTitleBarComponent;var r=n(5);t.DialogActionsComponent=r.DialogActionsComponent;var a=n(12);t.DialogService=a.DialogService;var s=n(17);t.DialogCloseResult=s.DialogCloseResult,t.DialogRef=s.DialogRef,t.DialogSettings=s.DialogSettings,t.DialogAction=s.DialogAction;var d=n(18);t.WindowComponent=d.WindowComponent;var c=n(28);t.WindowTitleBarComponent=c.WindowTitleBarComponent;var p=n(30);t.WindowMaximizeActionDirective=p.WindowMaximizeActionDirective;var l=n(32);t.WindowMinimizeActionDirective=l.WindowMinimizeActionDirective;var u=n(33);t.WindowCloseActionDirective=u.WindowCloseActionDirective;var g=n(34);t.WindowRestoreActionDirective=g.WindowRestoreActionDirective;var h=n(35);t.WindowSettings=h.WindowSettings,t.WindowRef=h.WindowRef,t.WindowCloseResult=h.WindowCloseResult;var f=n(36);t.WindowService=f.WindowService;var m=n(38);t.DialogModule=m.DialogModule;var _=n(42);t.WindowModule=_.WindowModule;var y=n(44);t.DialogsModule=y.DialogsModule,function(e){for(var t in e)b(t,e[t])}(t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(4),a=n(5),s=n(6),d=n(7),c=n(8),p=function(){function e(e,t,n){var i=this;this._elRef=e,this._renderer=t,this.titleId=null,this.action=new o.EventEmitter,this.close=new o.EventEmitter,this.tabIndex=0,this.subscriptions=[],this.direction=n.rtl?"rtl":"ltr",this.subscriptions.push(n.changes.subscribe(function(e){var t=e.rtl;return i.direction=t?"rtl":"ltr"})),this.titleId=this.generateTitleId()}return Object.defineProperty(e.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),e.prototype.onComponentKeydown=function(e){var t=e.target,n=t.parentElement;(c.hasClasses(t,c.DIALOG_ELEMENTS_HANDLING_ESC_KEY)||c.hasClasses(n,c.DIALOG_ELEMENTS_HANDLING_ESC_KEY))&&e.keyCode===c.Keys.esc&&this.close.emit(),c.hasClasses(t,"k-button")&&c.hasClasses(n,c.DIALOG_ELEMENTS_HANDLING_ARROWS)&&(e.keyCode===c.Keys.left||e.keyCode===c.Keys.right)&&this.handleActionButtonFocus(n,e.keyCode),e.keyCode===c.Keys.tab&&this.keepFocusWithinComponent(t,e)},e.prototype.ngAfterContentInit=function(){this.bubble("close",this.titlebarContent),this.titlebarContent&&(this.titlebarContent.id=this.titleId)},e.prototype.ngAfterViewInit=function(){this.handleInitialFocus(),this.bubble("close",this.titlebarView),this.bubble("action",this.actionsView),(this.titlebarView||this.titlebarContent)&&this._renderer.setAttribute(this._elRef.nativeElement.querySelector(".k-dialog"),"aria-labelledby",this.titleId)},e.prototype.ngOnInit=function(){this._renderer.removeAttribute(this._elRef.nativeElement,"title")},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions=[]},e.prototype.focus=function(){var e=this._elRef.nativeElement;c.isPresent(e)&&e.focus()},e.prototype.handleInitialFocus=function(){var e=this._elRef.nativeElement,t=e.querySelector(".k-primary");this.shouldFocusPrimary(t)?t.focus():e.focus()},e.prototype.handleActionButtonFocus=function(e,t){for(var n=this.getAllFocusableChildren(e),i=0;i<n.length;i++){if(n[i]===document.activeElement){if(t===c.Keys.left&&0<i){n[i-1].focus();break}if(t===c.Keys.right&&i<n.length-1){n[i+1].focus();break}}}},e.prototype.keepFocusWithinComponent=function(e,t){var n=this._elRef.nativeElement,i=this.getLastFocusableElement(n),o=e===n&&t.shiftKey,r=!t.shiftKey&&c.isPresent(i)&&e===i,a=!c.isPresent(i)&&!t.shiftKey;(o||a)&&(t.preventDefault(),n.focus()),r&&(t.preventDefault(),i.focus())},e.prototype.shouldFocusPrimary=function(e){return c.isPresent(e)&&c.isFocusable(e)},e.prototype.getAllFocusableChildren=function(e){return e.querySelectorAll(c.focusableSelector)},e.prototype.getLastFocusableElement=function(e){var t=this.getAllFocusableChildren(e);return 0<t.length?t[t.length-1]:null},e.prototype.generateTitleId=function(){return"kendo-dialog-title-"+Math.ceil(1e6*Math.random()).toString()},Object.defineProperty(e.prototype,"wrapperClass",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styles",{get:function(){var e={};return this.width&&(e.width=this.width+"px"),this.height&&(e.height=this.height+"px"),this.minWidth&&(e.minWidth=this.minWidth+"px"),e},enumerable:!0,configurable:!0}),e.prototype.bubble=function(t,e){var n=this;if(e){var i=e[t].subscribe(function(e){return n[t].emit(e)});this.subscriptions.push(i)}},i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"title",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"actions",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"minWidth",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"height",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"action",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"close",void 0),i.__decorate([o.HostBinding("attr.dir"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"dir",null),i.__decorate([o.HostBinding("attr.tabIndex"),i.__metadata("design:type",Number)],e.prototype,"tabIndex",void 0),i.__decorate([o.ContentChild(s.DialogTitleBarComponent),i.__metadata("design:type",s.DialogTitleBarComponent)],e.prototype,"titlebarContent",void 0),i.__decorate([o.ViewChild(s.DialogTitleBarComponent),i.__metadata("design:type",s.DialogTitleBarComponent)],e.prototype,"titlebarView",void 0),i.__decorate([o.ViewChild(a.DialogActionsComponent),i.__metadata("design:type",a.DialogActionsComponent)],e.prototype,"actionsView",void 0),i.__decorate([o.HostListener("keydown",["$event"]),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[KeyboardEvent]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentKeydown",null),i.__decorate([o.HostBinding("class.k-dialog-wrapper"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"wrapperClass",null),e=i.__decorate([o.Component({animations:[r.trigger("overlayAppear",[r.state("in",r.style({opacity:1})),r.transition("void => *",[r.style({opacity:.1}),r.animate(".3s cubic-bezier(.2, .6, .4, 1)")])]),r.trigger("dialogSlideInAppear",[r.state("in",r.style({transform:"translate(0, 0)"})),r.transition("void => *",[r.style({transform:"translate(0, -10%)"}),r.animate(".3s cubic-bezier(.2, 1, .2, 1)")])])],exportAs:"kendoDialog",providers:[d.LocalizationService,{provide:d.L10N_PREFIX,useValue:"kendo.dialog"}],selector:"kendo-dialog",template:'\n <div class="k-overlay" @overlayAppear></div>\n\n <div\n class="k-widget k-window k-dialog"\n role="dialog"\n [ngStyle]="styles"\n @dialogSlideInAppear\n >\n <kendo-dialog-titlebar *ngIf="title" [id]="titleId">{{title}}</kendo-dialog-titlebar>\n <ng-content select="kendo-dialog-titlebar" *ngIf="!title"></ng-content>\n\n <div class="k-content k-window-content k-dialog-content">\n <ng-content *ngIf="!contentTemplate"></ng-content>\n <ng-template [ngTemplateOutlet]="contentTemplate" *ngIf="contentTemplate"></ng-template>\n </div>\n\n <ng-content select="kendo-dialog-actions" *ngIf="!actions"></ng-content>\n <kendo-dialog-actions [actions]="actions" *ngIf="actions"></kendo-dialog-actions>\n\n </div>\n '}),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,d.LocalizationService])],e)}();t.DialogComponent=p},function(e,t){e.exports=n},function(e,t){e.exports=o},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=function(){function e(e){this.el=e,this.action=new o.EventEmitter}return Object.defineProperty(e.prototype,"className",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.actionTemplate=function(){return this.actions instanceof o.TemplateRef},e.prototype.onButtonClick=function(e,t){this.action.emit(e)},e.prototype.buttonClass=function(e){var t=["k-button"];return e.primary&&t.push("k-primary"),t.join(" ")},i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"actions",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"action",void 0),i.__decorate([o.HostBinding("class.k-button-group"),o.HostBinding("class.k-dialog-buttongroup"),o.HostBinding("class.k-dialog-button-layout-stretched"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"className",null),e=i.__decorate([o.Component({selector:"kendo-dialog-actions",template:'\n <ng-content *ngIf="!actions"></ng-content>\n <ng-container *ngIf="!actionTemplate()">\n <button\n [ngClass]="buttonClass(action)"\n (click)="onButtonClick(action, $event)"\n *ngFor="let action of actions">\n {{ action.text }}\n </button>\n </ng-container>\n <ng-template [ngTemplateOutlet]="actions" *ngIf="actionTemplate()"></ng-template>\n '}),i.__metadata("design:paramtypes",[o.ElementRef])],e)}();t.DialogActionsComponent=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=function(){function e(){this.close=new o.EventEmitter}return Object.defineProperty(e.prototype,"className",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.onCloseClick=function(e){e.preventDefault(),this.close.emit()},i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"close",void 0),i.__decorate([o.HostBinding("id"),o.Input(),i.__metadata("design:type",String)],e.prototype,"id",void 0),i.__decorate([o.HostBinding("class.k-window-titlebar"),o.HostBinding("class.k-dialog-titlebar"),o.HostBinding("class.k-header"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"className",null),e=i.__decorate([o.Component({selector:"kendo-dialog-titlebar",template:'\n <div class="k-window-title k-dialog-title">\n <ng-content></ng-content>\n </div>\n <div class="k-window-actions k-dialog-actions">\n <a href="#" role="button"\n aria-label="Close"\n class="k-button k-bare k-button-icon k-window-action k-dialog-action k-dialog-close"\n (click)="onCloseClick($event)">\n <span class="k-icon k-i-x"></span>\n </a>\n </div>\n '})],e)}();t.DialogTitleBarComponent=r},function(e,t){e.exports=r},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(9),i=t(10),o=t(11);r.isPresent=function(e){return null!=e},r.isTruthy=function(e){return!!e};var a,s=function(e){return String(e).trim().split(" ")},d=/^(?:a|input|select|textarea|button|object)$/i;(a=r.Keys||(r.Keys={}))[a.esc=27]="esc",a[a.tab=9]="tab",a[a.enter=13]="enter",a[a.space=32]="space",a[a.ctrl=17]="ctrl",a[a.shift=16]="shift",a[a.left=37]="left",a[a.up=38]="up",a[a.right=39]="right",a[a.down=40]="down",r.DIALOG_ELEMENTS_HANDLING_ESC_KEY="k-dialog-wrapper k-dialog-buttongroup k-dialog-action",r.DIALOG_ELEMENTS_HANDLING_ARROWS="k-dialog-buttongroup",r.WINDOW_CLASSES="k-window-wrapper",r.hasClasses=function(e,t){var n=s(t);return Boolean(s(e.className).find(function(e){return 0<=n.indexOf(e)}))},r.isVisible=function(e){var t=e.getBoundingClientRect();return!(!t.width||!t.height)&&"hidden"!==window.getComputedStyle(e).visibility},r.isFocusable=function(e,t){if(void 0===t&&(t=!0),e.tagName){var n=e.tagName.toLowerCase(),i=e.getAttribute("tabIndex"),o=null!==i&&!isNaN(i)&&-1<i;return(d.test(n)?!e.disabled:o)&&(!t||r.isVisible(e))}return!1},r.focusableSelector=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","*[tabindex]","*[contenteditable]"].join(","),r.isChanged=function(e,t,n){return void 0===n&&(n=!0),t[e]&&(!t[e].isFirstChange()||!n)&&t[e].previousValue!==t[e].currentValue},r.preventDefault=function(e){var t=e.originalEvent;t.stopPropagation(),t.preventDefault()},r.isDocumentAvailable=function(){return"undefined"!=typeof document&&!!document.body},r.isWindowAvailable=function(){return"undefined"!=typeof window},r.preventOnDblClick=function(t){return function(e){return n.of(e).pipe(i.delay(150),o.takeUntil(t))}},r.RESIZE_DIRECTIONS=["n","e","s","w","se","sw","ne","nw"],r.OFFSET_STYLES=["top","left","width","height"]},function(e,t){e.exports=c},function(e,t){e.exports=u},function(e,t){e.exports=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),c=n(13),p=n(14),l=n(15),d=n(3),u=n(1),o=n(16),g=n(17),h=function(){function e(e,t){this.getDialogRef=e,this.parentInjector=t}return e.prototype.get=function(e,t){return e===g.DialogRef?this.getDialogRef():this.parentInjector.get(e,t)},e}(),r=function(){function e(e,t){this.resolver=e,this.containerService=t}return e.prototype.open=function(e){var t=this.resolver.resolveComponentFactory(u.DialogComponent),n=e.appendTo||this.containerService.container;if(!n)throw new Error("\nCannot attach dialog to the page.\nAdd an element that uses the kendoDialogContainer directive, or set the 'appendTo' property.\nSee http://www.telerik.com/kendo-angular-ui/components/dialog/service/ .\n ");var i={close:function(){},content:null,dialog:null,result:null},o=this.contentFrom(e.content,n,i),r=n.createComponent(t,void 0,void 0,o.nodes);i.dialog=r,this.applyOptions(r.instance,e);var a=new c.Subject,s=function(e){a.next(e||new g.DialogCloseResult),o.componentRef&&o.componentRef.destroy(),r.destroy()},d=p.merge(a,r.instance.close,r.instance.action).pipe(l.take(1));return d.subscribe(s),i.close=s,i.result=d,i},e.prototype.applyOptions=function(e,t){e.title=t.title,e.actions=t.actions,e.width=t.width,e.minWidth=t.minWidth,e.height=t.height,t.content instanceof d.TemplateRef&&(e.contentTemplate=t.content)},e.prototype.contentFrom=function(e,t,n){var i=t.injector.get(d.Renderer2),o=[],r=null;if("string"==typeof e)o=[i.createText(e)];else if(e&&!(e instanceof d.TemplateRef)){var a=new h(function(){return n},t.injector),s=this.resolver.resolveComponentFactory(e);o=[(r=t.createComponent(s,void 0,a)).location.nativeElement],n.content=r}return{componentRef:r,nodes:[[],o,[]]}},e=i.__decorate([d.Injectable(),i.__metadata("design:paramtypes",[d.ComponentFactoryResolver,o.DialogContainerService])],e)}();t.DialogService=r},function(e,t){e.exports=a},function(e,t){e.exports=d},function(e,t){e.exports=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=function(){function e(){}return t=e,Object.defineProperty(e.prototype,"container",{get:function(){return t.container},set:function(e){t.container=e},enumerable:!0,configurable:!0}),e=t=i.__decorate([o.Injectable()],e);var t}();t.DialogContainerService=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){};t.DialogAction=n;var i=function(){};t.DialogCloseResult=i;var o=function(){};t.DialogSettings=o;var r=function(){};t.DialogRef=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),s=n(3),o=n(7),d=n(19),r=n(20),a=n(8),c=n(8),p=n(25),l=n(28),u=n(29),g=function(){function e(e,t,n,i,o,r){var a=this;this.el=e,this.renderer=t,this.service=n,this.navigation=i,this.ngZone=o,this.keepContent=!1,this.dragStart=new s.EventEmitter,this.dragEnd=new s.EventEmitter,this.resizeStart=new s.EventEmitter,this.resizeEnd=new s.EventEmitter,this.close=new s.EventEmitter,this.widthChange=new s.EventEmitter,this.heightChange=new s.EventEmitter,this.topChange=new s.EventEmitter,this.leftChange=new s.EventEmitter,this.stateChange=new s.EventEmitter,this.tabIndex=0,this.focused=!1,this.draged=!1,this.resized=!1,this.windowSubscription=new d.Subscription,this.direction=r.rtl?"rtl":"ltr",this.localizationChangeSubscription=r.changes.subscribe(function(e){var t=e.rtl;return a.direction=t?"rtl":"ltr"}),this.resizeDirections=c.RESIZE_DIRECTIONS,this.subscribeEvents()}return Object.defineProperty(e.prototype,"draggable",{get:function(){return this.options.draggable},set:function(e){this.options.draggable=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resizable",{get:function(){return this.options.resizable},set:function(e){this.options.resizable=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this.options.state},set:function(e){this.options.state=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.options.minWidth},set:function(e){this.setOption("minWidth",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this.options.minHeight},set:function(e){this.setOption("minHeight",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.options.width},set:function(e){this.setOption("width",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.options.height},set:function(e){this.setOption("height",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.options.top},set:function(e){this.setOption("top",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.options.left},set:function(e){this.setOption("left",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostClasses",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.setNextZIndex(),this.setInitialOffset()},e.prototype.ngOnInit=function(){this.renderer.removeAttribute(this.el.nativeElement,"title"),this.service.init(this.el)},e.prototype.ngOnChanges=function(t){var n=this;if(a.OFFSET_STYLES.forEach(function(e){a.isChanged(e,t)&&n.setOffset(e,n.options[e])}),a.isChanged("draggable",t)){var e=a.isPresent(this.titleBarContent)?this.titleBarContent:this.titleBarView;a.isTruthy(t.draggable.currentValue)?e.subscribeDrag():e.unsubscribeDrag()}},e.prototype.ngOnDestroy=function(){this.windowSubscription&&this.windowSubscription.unsubscribe(),this.localizationChangeSubscription.unsubscribe()},e.prototype.focus=function(){var e=this.el.nativeElement;a.isPresent(e)&&e.focus()},Object.defineProperty(e.prototype,"showDefaultTitleBar",{get:function(){return!a.isPresent(this.titleBarContent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"windowClasses",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styleMinWidth",{get:function(){return this.minWidth+"px"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styleMinHeight",{get:function(){return this.minHeight+"px"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stylePosition",{get:function(){return this.options.position},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapperMaximizedClass",{get:function(){return"maximized"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapperFocusedClass",{get:function(){return this.focused},enumerable:!0,configurable:!0}),e.prototype.onComponentKeydown=function(e){a.hasClasses(e.target,a.WINDOW_CLASSES)&&this.navigation.process(e)},e.prototype.onComponentFocus=function(){this.focused=!0,this.setNextZIndex()},e.prototype.onComponentBlur=function(){this.focused=!1},e.prototype.subscribeEvents=function(){var i=this;c.isDocumentAvailable()&&(this.windowSubscription.add(this.service.focus.subscribe(function(){i.el.nativeElement.focus()})),this.windowSubscription.add(this.service.dragStart.subscribe(function(){i.draged=!0,i.ngZone.run(function(){i.dragStart.emit()})})),this.windowSubscription.add(this.service.dragEnd.subscribe(function(){i.draged&&(i.draged=!1,i.ngZone.run(function(){i.dragEnd.emit()}))})),this.windowSubscription.add(this.service.close.subscribe(function(){i.close.emit()})),this.windowSubscription.add(this.service.resizeStart.subscribe(function(){i.resized=!0,i.ngZone.run(function(){i.resizeStart.emit()})})),this.windowSubscription.add(this.service.resizeEnd.subscribe(function(){i.resized&&(i.resized=!1,i.ngZone.run(function(){i.resizeEnd.emit()}))})),this.windowSubscription.add(this.service.change.subscribe(function(n){a.OFFSET_STYLES.forEach(function(e){if(a.isPresent(n[e])&&(i.setOffset(e,n[e]),"maximized"!==i.state)){var t=i[e+"Change"];t.observers.length&&i.ngZone.run(function(){t.emit(n[e])})}})})),this.windowSubscription.add(this.service.stateChange.subscribe(function(e){i.updateAllOffset(),i.stateChange.emit(e)})))},e.prototype.setNextZIndex=function(){this.renderer.setStyle(this.el.nativeElement,"z-index",this.service.nextZIndex)},e.prototype.setInitialOffset=function(){if("maximized"!==this.state)this.updateAllOffset(),a.isPresent(this.left)&&a.isPresent(this.top)||this.service.center();else{var e=this.service.windowViewPort;this.setOffset("width",e.width),this.setOffset("height",e.height)}},e.prototype.updateAllOffset=function(){var t=this;a.OFFSET_STYLES.forEach(function(e){a.isPresent(t[e])?t.setOffset(e,t[e]):t.removeOffset(e)})},e.prototype.setOffset=function(e,t){this.renderer.setStyle(this.el.nativeElement,e,t+"px")},e.prototype.removeOffset=function(e){this.renderer.removeStyle(this.el.nativeElement,e)},Object.defineProperty(e.prototype,"options",{get:function(){return this.service.options},enumerable:!0,configurable:!0}),e.prototype.setOption=function(e,t){"number"==typeof t?this.options[e]=t:"string"==typeof t&&(this.options[e]=parseInt(t,10))},i.__decorate([s.Input(),i.__metadata("design:type",String)],e.prototype,"title",void 0),i.__decorate([s.Input(),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[Boolean])],e.prototype,"draggable",null),i.__decorate([s.Input(),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[Boolean])],e.prototype,"resizable",null),i.__decorate([s.Input(),i.__metadata("design:type",Boolean)],e.prototype,"keepContent",void 0),i.__decorate([s.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"state",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"minWidth",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"minHeight",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"width",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"height",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"top",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"left",null),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"dragStart",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"dragEnd",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"resizeStart",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"resizeEnd",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"close",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"widthChange",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"heightChange",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"topChange",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"leftChange",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"stateChange",void 0),i.__decorate([s.HostBinding("attr.tabIndex"),i.__metadata("design:type",Number)],e.prototype,"tabIndex",void 0),i.__decorate([s.HostBinding("class.k-widget"),s.HostBinding("class.k-window"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"hostClasses",null),i.__decorate([s.HostBinding("attr.dir"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"dir",null),i.__decorate([s.ViewChild(l.WindowTitleBarComponent),i.__metadata("design:type",l.WindowTitleBarComponent)],e.prototype,"titleBarView",void 0),i.__decorate([s.ContentChild(l.WindowTitleBarComponent),i.__metadata("design:type",l.WindowTitleBarComponent)],e.prototype,"titleBarContent",void 0),i.__decorate([s.ViewChildren(p.ResizeHandleDirective),i.__metadata("design:type",s.QueryList)],e.prototype,"resizeHandles",void 0),i.__decorate([s.HostBinding("class.k-window-wrapper"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"windowClasses",null),i.__decorate([s.HostBinding("style.minWidth"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"styleMinWidth",null),i.__decorate([s.HostBinding("style.minHeight"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"styleMinHeight",null),i.__decorate([s.HostBinding("style.position"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"stylePosition",null),i.__decorate([s.HostBinding("class.k-window-maximized"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"wrapperMaximizedClass",null),i.__decorate([s.HostBinding("class.k-state-focused"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"wrapperFocusedClass",null),i.__decorate([s.HostListener("keydown",["$event"]),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[KeyboardEvent]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentKeydown",null),i.__decorate([s.HostListener("focus"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentFocus",null),i.__decorate([s.HostListener("blur"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentBlur",null),e=i.__decorate([s.Component({exportAs:"kendoWindow",providers:[r.DragResizeService,u.NavigationService,o.LocalizationService,{provide:o.L10N_PREFIX,useValue:"kendo.window"}],selector:"kendo-window",template:'\n <kendo-window-titlebar *ngIf="showDefaultTitleBar" [template]="titleBarTemplate">\n <div class="k-window-title">{{title}}</div>\n <button kendoWindowMinimizeAction></button>\n <button kendoWindowMaximizeAction></button>\n <button kendoWindowRestoreAction></button>\n <button kendoWindowCloseAction></button>\n </kendo-window-titlebar>\n <ng-content select="kendo-window-titlebar" *ngIf="!showDefaultTitleBar"></ng-content>\n\n <div *ngIf="state !== \'minimized\' || keepContent"\n [hidden]="state === \'minimized\' && keepContent"\n class="k-content k-window-content">\n <ng-content *ngIf="!contentTemplate"></ng-content>\n <ng-template [ngTemplateOutlet]="contentTemplate" *ngIf="contentTemplate"></ng-template>\n </div>\n\n <ng-template [ngIf]=\'resizable\'>\n <div *ngFor=\'let dir of resizeDirections\'\n [direction]="dir"\n kendoWindowResizeHandle\n kendoWindowDraggable>\n </div>\n </ng-template>\n '}),i.__metadata("design:paramtypes",[s.ElementRef,s.Renderer2,r.DragResizeService,u.NavigationService,s.NgZone,o.LocalizationService])],e)}();t.WindowComponent=g},function(e,t){e.exports=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(19),l=n(21),a=n(22),u=n(23),s=n(11),g=n(8),d=n(24),c=10002,p={draggable:!0,height:null,left:null,minHeight:100,minWidth:120,position:"absolute",resizable:!0,state:"default",top:null,width:null},h=function(e,t){return function(i){return e.kendo.drag.pipe(s.takeUntil(e.kendo.release.pipe(l.tap(function(){t.emit()}))),a.map(function(e){var t=e.pageX,n=e.pageY;return{originalX:i.pageX,originalY:i.pageY,pageX:t,pageY:n}}))}},f=function(){function e(e){this.ngZone=e,this.close=new o.EventEmitter,this.focus=new o.EventEmitter,this.change=new o.EventEmitter,this.stateChange=new o.EventEmitter,this.dragStart=new o.EventEmitter,this.dragEnd=new o.EventEmitter,this.resizeStart=new o.EventEmitter,this.resizeEnd=new o.EventEmitter,this.options=Object.assign({},p),this.subscriptions=new r.Subscription,this.dragSubscription=new r.Subscription}return e.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe(),this.dragSubscription&&this.dragSubscription.unsubscribe()},e.prototype.init=function(e){this.window=e,"minimized"===this.options.state&&(this.restoreOptions=Object.assign({},this.options),this.options.height=0,this.options.minHeight=0)},e.prototype.onDrag=function(e){var s=this;this.subscriptions.add(this.ngZone.runOutsideAngular(function(){var r,a;s.dragSubscription=e.kendo.press.pipe(l.tap(function(e){"touchstart"!==e.type&&g.preventDefault(e),s.focus.emit(),r=s.currentPosition(),a=!1}),u.switchMap(g.preventOnDblClick(e.kendo.release)),u.switchMap(h(e,s.dragEnd))).subscribe(function(e){var t=e.pageX,n=e.pageY,i=e.originalX,o=e.originalY;a||(s.ensureWidth(),s.dragStart.emit(),a=!0),s.handleDrag({originalX:i,originalY:o,pageX:t,pageY:n,startPosition:r})})}))},e.prototype.handleDrag=function(e){var t=e.originalX,n=e.originalY,i=e.pageX,o=e.pageY,r=e.startPosition;this.options.left=r.x+i-t,this.options.top=r.y+o-n,"minimized"===this.options.state&&g.isPresent(this.restoreOptions)&&(this.restoreOptions.left=this.options.left,this.restoreOptions.top=this.options.top),this.change.emit({left:r.x+i-t,top:r.y+o-n})},e.prototype.onResize=function(e,c){var p=this;this.subscriptions.add(this.ngZone.runOutsideAngular(function(){var s,d=!1;e.kendo.press.pipe(l.tap(function(e){g.preventDefault(e),p.focus.emit(),s=p.currentOffsetAndPosition(),d=!1}),u.switchMap(g.preventOnDblClick(e.kendo.release)),u.switchMap(h(e,p.resizeEnd))).subscribe(function(e){var t=e.pageX,n=e.pageY,i=e.originalX,o=e.originalY;d||(p.resizeStart.emit(c),d=!0);var r=t-i,a=n-o;p.handleResize(s,c,r,a)})}))},e.prototype.handleResize=function(e,t,n,i){var o=this,r=this.options,a={};0<=t.indexOf("e")&&((c=e.width+n)!==r.width&&c>=r.minWidth&&(a.width=c));if(0<=t.indexOf("n")){var s=e.height-i,d=e.y+i;s!==r.height&&s>=r.minHeight&&d!==r.top&&(a.height=s,a.top=d)}0<=t.indexOf("s")&&((s=e.height+i)!==r.height&&s>=r.minHeight&&(a.height=s));if(0<=t.indexOf("w")){var c,p=e.x+n;(c=e.width-n)!==r.width&&c>=r.minWidth&&p!==r.left&&(a.width=c,a.left=p)}(g.isPresent(a.width)||g.isPresent(a.height))&&(g.OFFSET_STYLES.forEach(function(e){g.isPresent(a[e])&&(o.options[e]=a[e])}),this.change.emit(a))},e.prototype.restoreAction=function(){g.isPresent(this.restoreOptions)&&(this.options=Object.assign({},this.restoreOptions)),this.options.state="default",this.stateChange.emit("default")},e.prototype.storeOptions=function(){this.restoreOptions=Object.assign({},this.options)},e.prototype.maximizeAction=function(){if("maximized"!==this.options.state){this.storeOptions();var e=this.windowViewPort;this.options=Object.assign({},this.options,{height:e.height,left:0,position:"fixed",state:"maximized",top:0,width:e.width}),this.stateChange.emit("maximized")}},e.prototype.minimizeAction=function(){"minimized"!==this.options.state&&(this.storeOptions(),this.options=Object.assign({},this.options,{height:0,minHeight:0,state:"minimized"}),this.stateChange.emit("minimized"))},e.prototype.closeAction=function(){this.close.emit()},e.prototype.ensureWidth=function(){var e=d.offset(this.window.nativeElement);g.isPresent(this.options.width)||(this.options.width=e.width,this.change.emit({width:e.width}))},e.prototype.center=function(){if("maximized"!==this.options.state){var e=d.scrollPosition(this.window.nativeElement),t=this.windowViewPort,n=d.offset(this.window.nativeElement),i={};g.isPresent(this.options.left)||(this.options.left=e.x+Math.max(0,(t.width-n.width)/2),i.left=this.options.left),g.isPresent(this.options.top)||(this.options.top=e.y+Math.max(0,(t.height-n.height)/2),i.top=this.options.top),this.change.emit(i)}},e.prototype.currentOffsetAndPosition=function(){var e=this.options,t=d.offset(this.window.nativeElement);return Object.assign({},this.currentPosition(),{height:e.height?e.height:t.height,width:e.width?e.width:t.width})},e.prototype.currentPosition=function(){var e=this.options;return e.top&&e.left||this.setPosition(),{x:this.options.left,y:this.options.top}},e.prototype.setPosition=function(){var e=d.positionWithScroll(this.window.nativeElement,d.getDocumentElement(this.window.nativeElement));this.options.left=e.left,this.options.top=e.top},Object.defineProperty(e.prototype,"nextZIndex",{get:function(){return c++},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"windowViewPort",{get:function(){return d.getWindowViewPort(this.window.nativeElement)},enumerable:!0,configurable:!0}),e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[o.NgZone])],e)}();t.DragResizeService=f},function(e,t){e.exports=m},function(e,t){e.exports=_},function(e,t){e.exports=f},function(e,t){e.exports=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(26),a=n(20),s=n(19),d=n(9),c=n(14),p=function(){function e(e,t,n,i){this.draggable=e,this.el=t,this.renderer=n,this.service=i,this.subscriptions=new s.Subscription}return Object.defineProperty(e.prototype,"hostClass",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this.setDisplay(),this.renderer.addClass(this.el.nativeElement,"k-resize-"+this.direction),this.subscriptions.add(d.of(this.draggable).subscribe(function(e){t.service.onResize(e,t.direction)})),this.subscriptions.add(this.service.resizeStart.subscribe(function(e){e!==t.direction&&t.setDisplay("none")})),this.subscriptions.add(this.service.dragStart.subscribe(function(){t.setDisplay("none")})),this.subscriptions.add(c.merge(this.service.resizeEnd,this.service.dragEnd).subscribe(function(){t.setDisplay("block")})),this.subscriptions.add(this.service.stateChange.subscribe(function(e){t.setDisplay("default"===e?"block":"none")}))},e.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},e.prototype.setDisplay=function(e){void 0===e&&(e="block"),this.renderer.setStyle(this.el.nativeElement,"display","default"===this.service.options.state?e:"none")},i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"direction",void 0),i.__decorate([o.HostBinding("class.k-resize-handle"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"hostClass",null),e=i.__decorate([o.Directive({selector:"[kendoWindowResizeHandle]"}),i.__param(0,o.Host()),i.__metadata("design:paramtypes",[r.DraggableDirective,o.ElementRef,o.Renderer2,a.DragResizeService])],e)}();t.ResizeHandleDirective=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(27),a=function(){function e(e,t){this.elem=e,this.ngZone=t,this.kendo={drag:new o.EventEmitter,press:new o.EventEmitter,release:new o.EventEmitter}}return e.prototype.ngOnInit=function(){var t=this;"undefined"!=typeof document&&(this.draggable=new r.default({drag:function(e){return t.kendo.drag.next(e)},press:function(e){return t.kendo.press.next(e)},release:function(e){return t.kendo.release.next(e)}}),this.ngZone.runOutsideAngular(function(){return t.draggable.bindTo(t.elem.nativeElement)}))},e.prototype.ngOnDestroy=function(){"undefined"!=typeof document&&this.draggable.destroy()},Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this.elem.nativeElement},enumerable:!0,configurable:!0}),e=i.__decorate([o.Directive({outputs:["kendo.press","kendo.drag","kendo.release"],selector:"[kendoWindowDraggable]"}),i.__metadata("design:paramtypes",[o.ElementRef,o.NgZone])],e)}();t.DraggableDirective=a},function(e,t){e.exports=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(26),a=n(20),s=n(9),d=n(8),c=function(){function e(e,t,n){this.el=e,this.ngZone=n,this.service=t}return e.prototype.ngOnInit=function(){this.dragDirective=new r.DraggableDirective(this.el,this.ngZone),this.dragDirective.ngOnInit(),this.service.options.draggable&&this.subscribeDrag(),this.subscribeStateChange()},e.prototype.ngOnDestroy=function(){this.dragDirective.ngOnDestroy(),this.unsubscribeDrag(),this.unsubscribeState()},e.prototype.subscribeDrag=function(){var t=this;this.unsubscribeDrag(),this.dragSubscription=s.of(this.dragDirective).subscribe(function(e){t.service.onDrag(e)})},e.prototype.subscribeStateChange=function(){var t=this;this.stateSubscription=this.service.stateChange.subscribe(function(e){t.service.options.draggable&&("maximized"===e?t.unsubscribeDrag():t.subscribeDrag())})},e.prototype.unsubscribeDrag=function(){this.dragSubscription&&(this.service.dragSubscription.unsubscribe(),this.dragSubscription.unsubscribe(),this.dragSubscription=null)},e.prototype.unsubscribeState=function(){this.stateSubscription&&(this.stateSubscription.unsubscribe(),this.stateSubscription=null)},Object.defineProperty(e.prototype,"className",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.handle=function(e){var t=e.target,n=this.service.options.state;d.hasClasses(t,"k-icon")||d.isFocusable(t,!1)||!this.service.options.resizable||("default"===n?this.service.maximizeAction():"maximized"===n&&this.service.restoreAction())},i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"template",void 0),i.__decorate([o.HostBinding("class.k-window-titlebar"),o.HostBinding("class.k-dialog-titlebar"),o.HostBinding("class.k-header"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"className",null),i.__decorate([o.HostListener("dblclick",["$event"]),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[MouseEvent]),i.__metadata("design:returntype",void 0)],e.prototype,"handle",null),e=i.__decorate([o.Component({selector:"kendo-window-titlebar",template:'\n <ng-content *ngIf="!template"></ng-content>\n <ng-template\n [ngTemplateOutlet]="template"\n [ngTemplateOutletContext]="{\'$implicit\': service}" *ngIf="template">\n </ng-template>\n '}),i.__metadata("design:paramtypes",[o.ElementRef,a.DragResizeService,o.NgZone])],e)}();t.WindowTitleBarComponent=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(20),d=n(8),a=function(){function e(e){this.window=e}return e.prototype.process=function(e){var t=e.keyCode;switch(t){case d.Keys.up:case d.Keys.down:case d.Keys.left:case d.Keys.right:e.preventDefault(),this.handleArrow(t,e);break;case d.Keys.esc:this.handleEscape()}},e.prototype.handleArrow=function(e,t){var n=this.window.options;t.altKey?this.handleStateChange(e,n.state):(t.ctrlKey||t.metaKey)&&"default"===n.state?this.handleResize(e):this.handleDrag(e)},e.prototype.handleEscape=function(){this.window.closeAction()},e.prototype.handleDrag=function(e){var t=this.window.currentOffsetAndPosition(),n=this.window.options,i=this.window.restoreOptions,o={},r=10;switch(e!==d.Keys.left&&e!==d.Keys.up||(r*=-1),e){case d.Keys.left:case d.Keys.right:o.left=t.x+r,n.left=o.left;break;case d.Keys.up:case d.Keys.down:o.top=t.y+r,n.top=o.top}"minimized"===n.state&&d.isPresent(i)&&(i.left=n.left,i.top=n.top),this.window.change.emit(o)},e.prototype.handleResize=function(e){var t,n,i=this,o=this.window.options,r=this.window.currentOffsetAndPosition(),a={},s=10;switch(e!==d.Keys.left&&e!==d.Keys.up||(s*=-1),e){case d.Keys.left:case d.Keys.right:(t=r.width+s)!==o.width&&t>=o.minWidth&&(a.width=t);break;case d.Keys.up:case d.Keys.down:(n=r.height+s)!==o.height&&n>=o.minHeight&&(a.height=n)}(d.isPresent(a.width)||d.isPresent(a.height))&&(d.OFFSET_STYLES.forEach(function(e){d.isPresent(a[e])&&(i.window.options[e]=a[e])}),this.window.change.emit(a))},e.prototype.handleStateChange=function(e,t){"minimized"===t&&e===d.Keys.up||"maximized"===t&&e===d.Keys.down?this.window.restoreAction():"default"===t&&(e===d.Keys.up?this.window.maximizeAction():e===d.Keys.down&&this.window.minimizeAction())},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[r.DragResizeService])],e)}();t.NavigationService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),a=n(20),r=n(31),s=n(7),d=function(r){function e(e,t,n,i){var o=r.call(this,e,t,null,i)||this;return o.window=n,o.look="bare",o.icon="window-maximize",o}return i.__extends(e,r),e.prototype.onClick=function(){this.isDisabled||this.window.maximizeAction()},Object.defineProperty(e.prototype,"visible",{get:function(){return"default"===this.window.options.state?"inline-flex":"none"},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"window",void 0),i.__decorate([o.HostListener("click"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onClick",null),i.__decorate([o.HostBinding("style.display"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"visible",null),e=i.__decorate([o.Directive({exportAs:"kendoWindowMaximizeAction",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowMaximizeAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,a.DragResizeService,s.LocalizationService])],e)}(r.Button);t.WindowMaximizeActionDirective=d},function(e,t){e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),a=n(20),r=n(31),s=n(7),d=function(r){function e(e,t,n,i){var o=r.call(this,e,t,null,i)||this;return o.window=n,o.look="bare",o.icon="window-minimize",o}return i.__extends(e,r),e.prototype.onClick=function(){this.isDisabled||this.window.minimizeAction()},Object.defineProperty(e.prototype,"visible",{get:function(){return"default"===this.window.options.state?"inline-flex":"none"},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"window",void 0),i.__decorate([o.HostListener("click"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onClick",null),i.__decorate([o.HostBinding("style.display"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"visible",null),e=i.__decorate([o.Directive({exportAs:"kendoWindowMinimizeAction",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowMinimizeAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,a.DragResizeService,s.LocalizationService])],e)}(r.Button);t.WindowMinimizeActionDirective=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(31),a=n(20),s=n(7),d=function(r){function e(e,t,n,i){var o=r.call(this,e,t,null,i)||this;return o.window=n,o.look="bare",o.icon="close",o}return i.__extends(e,r),e.prototype.onClick=function(){this.isDisabled||this.window.closeAction()},i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"window",void 0),i.__decorate([o.HostListener("click"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onClick",null),e=i.__decorate([o.Directive({exportAs:"kendoWindowCloseAction",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowCloseAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,a.DragResizeService,s.LocalizationService])],e)}(r.Button);t.WindowCloseActionDirective=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),a=n(20),r=n(31),s=n(7),d=function(r){function e(e,t,n,i){var o=r.call(this,e,t,null,i)||this;return o.window=n,o.look="bare",o.icon="window-restore",o}return i.__extends(e,r),e.prototype.onClick=function(){this.isDisabled||this.window.restoreAction()},Object.defineProperty(e.prototype,"visible",{get:function(){return"default"===this.window.options.state?"none":"inline-flex"},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"window",void 0),i.__decorate([o.HostListener("click"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onClick",null),i.__decorate([o.HostBinding("style.display"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"visible",null),e=i.__decorate([o.Directive({exportAs:"kendoWindowRestoreAction",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowRestoreAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,a.DragResizeService,s.LocalizationService])],e)}(r.Button);t.WindowRestoreActionDirective=d},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){};t.WindowSettings=n;var i=function(){};t.WindowCloseResult=i;var o=function(){};t.WindowRef=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),d=n(3),o=n(37),c=n(35),p=n(18),r=n(8),l=n(13),u=n(14),g=n(15),h=function(){function e(e,t){this.getWindowRef=e,this.parentInjector=t}return e.prototype.get=function(e,t){return e===c.WindowRef?this.getWindowRef():this.parentInjector.get(e,t)},e}(),a=function(){function e(e,t){this.resolver=e,this.containerService=t}return e.prototype.open=function(e){var t=this.resolver.resolveComponentFactory(p.WindowComponent),n=e.appendTo||this.containerService.container;if(!n)throw new Error("Cannot attach window to the page.\n Add an element that uses the kendoWindowContainer directive, or set the 'appendTo' property.");var i={close:function(){},content:null,result:null,window:null},o=this.contentFrom(e.content,n,i),r=n.createComponent(t,void 0,void 0,o.nodes);i.window=r,this.applyOptions(r.instance,e);var a=new l.Subject,s=function(e){a.next(e||new c.WindowCloseResult),o.componentRef&&o.componentRef.destroy(),r.destroy()},d=u.merge(a,r.instance.close).pipe(g.take(1));return d.subscribe(s),i.close=s,i.result=d,i},e.prototype.applyOptions=function(e,t){r.isPresent(t.title)&&(e.title=t.title),r.isPresent(t.keepContent)&&(e.keepContent=t.keepContent),r.isPresent(t.width)&&(e.width=t.width),r.isPresent(t.minWidth)&&(e.minWidth=t.minWidth),r.isPresent(t.height)&&(e.height=t.height),r.isPresent(t.minHeight)&&(e.minHeight=t.minHeight),r.isPresent(t.left)&&(e.left=t.left),r.isPresent(t.top)&&(e.top=t.top),r.isPresent(t.draggable)&&(e.draggable=t.draggable),r.isPresent(t.resizable)&&(e.resizable=t.resizable),r.isPresent(t.state)&&(e.state=t.state,"minimized"===t.state&&(e.keepContent=!0)),t.content instanceof d.TemplateRef&&(e.contentTemplate=t.content),t.titleBarContent instanceof d.TemplateRef&&(e.titleBarTemplate=t.titleBarContent)},e.prototype.contentFrom=function(e,t,n){var i=t.injector.get(d.Renderer2),o=[],r=null;if("string"==typeof e)o=[i.createText(e)];else if(e&&!(e instanceof d.TemplateRef)){var a=new h(function(){return n},t.injector),s=this.resolver.resolveComponentFactory(e);o=[(r=t.createComponent(s,void 0,a)).location.nativeElement],n.content=r}return{componentRef:r,nodes:[[],o]}},e=i.__decorate([d.Injectable(),i.__metadata("design:paramtypes",[d.ComponentFactoryResolver,o.WindowContainerService])],e)}();t.WindowService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=function(){function e(){}return t=e,Object.defineProperty(e.prototype,"container",{get:function(){return t.container},set:function(e){t.container=e},enumerable:!0,configurable:!0}),e=t=i.__decorate([o.Injectable()],e);var t}();t.WindowContainerService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(1),a=n(6),s=n(12),d=n(39),c=n(16),p=n(40);t.DIALOG_DIRECTIVES=[r.DialogComponent,a.DialogTitleBarComponent];var l=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[t.DIALOG_DIRECTIVES,d.DialogContainerDirective],entryComponents:[t.DIALOG_DIRECTIVES],exports:[t.DIALOG_DIRECTIVES,p.SHARED_DIRECTIVES,d.DialogContainerDirective],imports:[p.SharedModule],providers:[c.DialogContainerService,s.DialogService]})],e)}();t.DialogModule=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(16),a=function(){function e(e,t){t.container=e}return e=i.__decorate([o.Directive({selector:"[kendoDialogContainer]"}),i.__metadata("design:paramtypes",[o.ViewContainerRef,r.DialogContainerService])],e)}();t.DialogContainerDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(41),a=n(5);t.SHARED_DIRECTIVES=[a.DialogActionsComponent];var s=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[t.SHARED_DIRECTIVES],exports:[t.SHARED_DIRECTIVES,r.CommonModule],imports:[r.CommonModule]})],e)}();t.SharedModule=s},function(e,t){e.exports=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(18),a=n(28),s=n(26),d=n(25),c=n(30),p=n(32),l=n(33),u=n(34),g=n(36),h=n(37),f=n(43),m=n(40),_=[s.DraggableDirective,d.ResizeHandleDirective,r.WindowComponent,a.WindowTitleBarComponent,l.WindowCloseActionDirective,p.WindowMinimizeActionDirective,c.WindowMaximizeActionDirective,u.WindowRestoreActionDirective],y=[r.WindowComponent,a.WindowTitleBarComponent],b=[r.WindowComponent,l.WindowCloseActionDirective,p.WindowMinimizeActionDirective,c.WindowMaximizeActionDirective,u.WindowRestoreActionDirective,a.WindowTitleBarComponent],v=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[_,f.WindowContainerDirective],entryComponents:[y],exports:[b,m.SHARED_DIRECTIVES,f.WindowContainerDirective],imports:[m.SharedModule],providers:[h.WindowContainerService,g.WindowService]})],e)}();t.WindowModule=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(37),a=function(){function e(e,t){t.container=e}return e=i.__decorate([o.Directive({selector:"[kendoWindowContainer]"}),i.__metadata("design:paramtypes",[o.ViewContainerRef,r.WindowContainerService])],e)}();t.WindowContainerDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(38),a=n(42),s=function(){function e(){}return e=i.__decorate([o.NgModule({exports:[r.DialogModule,a.WindowModule]})],e)}();t.DialogsModule=s}])}}});
System.register("@progress/kendo-angular-dialog",["tslib","@angular/core","@progress/kendo-angular-l10n","@angular/animations","rxjs/Subject","rxjs/observable/merge","rxjs/operators/take","rxjs/observable/of","rxjs/Subscription","@progress/kendo-angular-buttons","rxjs/operators/delay","rxjs/operators/takeUntil","@telerik/kendo-draggable","rxjs/operators/tap","rxjs/operators/switchMap","rxjs/operators/map","@progress/kendo-popup-common","@angular/common"],function(b){var n,i,o,r,a,s,d,c,p,l,u,g,h,f,m,_,y,v;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){n=t(e)},function(e){i=t(e)},function(e){o=t(e)},function(e){r=t(e)},function(e){a=t(e)},function(e){s=t(e)},function(e){d=t(e)},function(e){c=t(e)},function(e){p=t(e)},function(e){l=t(e)},function(e){u=t(e)},function(e){g=t(e)},function(e){h=t(e)},function(e){f=t(e)},function(e){m=t(e)},function(e){_=t(e)},function(e){y=t(e)},function(e){v=t(e)}],execute:function(){!function(n){var i={};function o(e){if(i[e])return i[e].exports;var t=i[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,o),t.loaded=!0,t.exports}o.m=n,o.c=i,o.p="",o(0)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(1);t.DialogComponent=i.DialogComponent;var o=n(6);t.DialogTitleBarComponent=o.DialogTitleBarComponent;var r=n(5);t.DialogActionsComponent=r.DialogActionsComponent;var a=n(12);t.DialogService=a.DialogService;var s=n(17);t.DialogCloseResult=s.DialogCloseResult,t.DialogRef=s.DialogRef,t.DialogSettings=s.DialogSettings,t.DialogAction=s.DialogAction;var d=n(18);t.WindowComponent=d.WindowComponent;var c=n(28);t.WindowTitleBarComponent=c.WindowTitleBarComponent;var p=n(30);t.WindowMaximizeActionDirective=p.WindowMaximizeActionDirective;var l=n(32);t.WindowMinimizeActionDirective=l.WindowMinimizeActionDirective;var u=n(33);t.WindowCloseActionDirective=u.WindowCloseActionDirective;var g=n(34);t.WindowRestoreActionDirective=g.WindowRestoreActionDirective;var h=n(35);t.WindowSettings=h.WindowSettings,t.WindowRef=h.WindowRef,t.WindowCloseResult=h.WindowCloseResult;var f=n(36);t.WindowService=f.WindowService;var m=n(38);t.DialogModule=m.DialogModule;var _=n(42);t.WindowModule=_.WindowModule;var y=n(44);t.DialogsModule=y.DialogsModule,function(e){for(var t in e)b(t,e[t])}(t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(4),a=n(5),s=n(6),d=n(7),c=n(8),p=function(){function e(e,t,n){var i=this;this._elRef=e,this._renderer=t,this.titleId=null,this.action=new o.EventEmitter,this.close=new o.EventEmitter,this.tabIndex=0,this.subscriptions=[],this.direction=n.rtl?"rtl":"ltr",this.subscriptions.push(n.changes.subscribe(function(e){var t=e.rtl;return i.direction=t?"rtl":"ltr"})),this.titleId=this.generateTitleId()}return Object.defineProperty(e.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),e.prototype.onComponentKeydown=function(e){var t=e.target,n=t.parentElement;(c.hasClasses(t,c.DIALOG_ELEMENTS_HANDLING_ESC_KEY)||c.hasClasses(n,c.DIALOG_ELEMENTS_HANDLING_ESC_KEY))&&e.keyCode===c.Keys.esc&&this.close.emit(),c.hasClasses(t,"k-button")&&c.hasClasses(n,c.DIALOG_ELEMENTS_HANDLING_ARROWS)&&(e.keyCode===c.Keys.left||e.keyCode===c.Keys.right)&&this.handleActionButtonFocus(n,e.keyCode),e.keyCode===c.Keys.tab&&this.keepFocusWithinComponent(t,e)},e.prototype.ngAfterContentInit=function(){this.bubble("close",this.titlebarContent),this.titlebarContent&&(this.titlebarContent.id=this.titleId)},e.prototype.ngAfterViewInit=function(){this.handleInitialFocus(),this.bubble("close",this.titlebarView),this.bubble("action",this.actionsView),(this.titlebarView||this.titlebarContent)&&this._renderer.setAttribute(this._elRef.nativeElement.querySelector(".k-dialog"),"aria-labelledby",this.titleId)},e.prototype.ngOnInit=function(){this._renderer.removeAttribute(this._elRef.nativeElement,"title")},e.prototype.ngOnDestroy=function(){this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions=[]},e.prototype.focus=function(){var e=this._elRef.nativeElement;c.isPresent(e)&&e.focus()},e.prototype.handleInitialFocus=function(){var e=this._elRef.nativeElement,t=e.querySelector(".k-primary");this.shouldFocusPrimary(t)?t.focus():e.focus()},e.prototype.handleActionButtonFocus=function(e,t){for(var n=this.getAllFocusableChildren(e),i=0;i<n.length;i++){if(n[i]===document.activeElement){if(t===c.Keys.left&&0<i){n[i-1].focus();break}if(t===c.Keys.right&&i<n.length-1){n[i+1].focus();break}}}},e.prototype.keepFocusWithinComponent=function(e,t){var n=this._elRef.nativeElement,i=this.getLastFocusableElement(n),o=e===n&&t.shiftKey,r=!t.shiftKey&&c.isPresent(i)&&e===i,a=!c.isPresent(i)&&!t.shiftKey;(o||a)&&(t.preventDefault(),n.focus()),r&&(t.preventDefault(),i.focus())},e.prototype.shouldFocusPrimary=function(e){return c.isPresent(e)&&c.isFocusable(e)},e.prototype.getAllFocusableChildren=function(e){return e.querySelectorAll(c.focusableSelector)},e.prototype.getLastFocusableElement=function(e){var t=this.getAllFocusableChildren(e);return 0<t.length?t[t.length-1]:null},e.prototype.generateTitleId=function(){return"kendo-dialog-title-"+Math.ceil(1e6*Math.random()).toString()},Object.defineProperty(e.prototype,"wrapperClass",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styles",{get:function(){var e={};return this.width&&(e.width=this.width+"px"),this.height&&(e.height=this.height+"px"),this.minWidth&&(e.minWidth=this.minWidth+"px"),e},enumerable:!0,configurable:!0}),e.prototype.bubble=function(t,e){var n=this;if(e){var i=e[t].subscribe(function(e){return n[t].emit(e)});this.subscriptions.push(i)}},i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"title",void 0),i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"actions",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"width",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"minWidth",void 0),i.__decorate([o.Input(),i.__metadata("design:type",Number)],e.prototype,"height",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"action",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"close",void 0),i.__decorate([o.HostBinding("attr.dir"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"dir",null),i.__decorate([o.HostBinding("attr.tabIndex"),i.__metadata("design:type",Number)],e.prototype,"tabIndex",void 0),i.__decorate([o.ContentChild(s.DialogTitleBarComponent),i.__metadata("design:type",s.DialogTitleBarComponent)],e.prototype,"titlebarContent",void 0),i.__decorate([o.ViewChild(s.DialogTitleBarComponent),i.__metadata("design:type",s.DialogTitleBarComponent)],e.prototype,"titlebarView",void 0),i.__decorate([o.ViewChild(a.DialogActionsComponent),i.__metadata("design:type",a.DialogActionsComponent)],e.prototype,"actionsView",void 0),i.__decorate([o.HostListener("keydown",["$event"]),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[KeyboardEvent]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentKeydown",null),i.__decorate([o.HostBinding("class.k-dialog-wrapper"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"wrapperClass",null),e=i.__decorate([o.Component({animations:[r.trigger("overlayAppear",[r.state("in",r.style({opacity:1})),r.transition("void => *",[r.style({opacity:.1}),r.animate(".3s cubic-bezier(.2, .6, .4, 1)")])]),r.trigger("dialogSlideInAppear",[r.state("in",r.style({transform:"translate(0, 0)"})),r.transition("void => *",[r.style({transform:"translate(0, -10%)"}),r.animate(".3s cubic-bezier(.2, 1, .2, 1)")])])],exportAs:"kendoDialog",providers:[d.LocalizationService,{provide:d.L10N_PREFIX,useValue:"kendo.dialog"}],selector:"kendo-dialog",template:'\n <div class="k-overlay" @overlayAppear></div>\n\n <div\n class="k-widget k-window k-dialog"\n role="dialog"\n [ngStyle]="styles"\n @dialogSlideInAppear\n >\n <kendo-dialog-titlebar *ngIf="title" [id]="titleId">{{title}}</kendo-dialog-titlebar>\n <ng-content select="kendo-dialog-titlebar" *ngIf="!title"></ng-content>\n\n <div class="k-content k-window-content k-dialog-content">\n <ng-content *ngIf="!contentTemplate"></ng-content>\n <ng-template [ngTemplateOutlet]="contentTemplate" *ngIf="contentTemplate"></ng-template>\n </div>\n\n <ng-content select="kendo-dialog-actions" *ngIf="!actions"></ng-content>\n <kendo-dialog-actions [actions]="actions" *ngIf="actions"></kendo-dialog-actions>\n\n </div>\n '}),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,d.LocalizationService])],e)}();t.DialogComponent=p},function(e,t){e.exports=n},function(e,t){e.exports=i},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=function(){function e(e){this.el=e,this.action=new o.EventEmitter}return Object.defineProperty(e.prototype,"className",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.actionTemplate=function(){return this.actions instanceof o.TemplateRef},e.prototype.onButtonClick=function(e,t){this.action.emit(e)},e.prototype.buttonClass=function(e){var t=["k-button"];return e.primary&&t.push("k-primary"),t.join(" ")},i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"actions",void 0),i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"action",void 0),i.__decorate([o.HostBinding("class.k-button-group"),o.HostBinding("class.k-dialog-buttongroup"),o.HostBinding("class.k-dialog-button-layout-stretched"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"className",null),e=i.__decorate([o.Component({selector:"kendo-dialog-actions",template:'\n <ng-content *ngIf="!actions"></ng-content>\n <ng-container *ngIf="!actionTemplate()">\n <button\n [ngClass]="buttonClass(action)"\n (click)="onButtonClick(action, $event)"\n *ngFor="let action of actions">\n {{ action.text }}\n </button>\n </ng-container>\n <ng-template [ngTemplateOutlet]="actions" *ngIf="actionTemplate()"></ng-template>\n '}),i.__metadata("design:paramtypes",[o.ElementRef])],e)}();t.DialogActionsComponent=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=function(){function e(){this.close=new o.EventEmitter}return Object.defineProperty(e.prototype,"className",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.onCloseClick=function(e){e.preventDefault(),this.close.emit()},i.__decorate([o.Output(),i.__metadata("design:type",o.EventEmitter)],e.prototype,"close",void 0),i.__decorate([o.HostBinding("id"),o.Input(),i.__metadata("design:type",String)],e.prototype,"id",void 0),i.__decorate([o.HostBinding("class.k-window-titlebar"),o.HostBinding("class.k-dialog-titlebar"),o.HostBinding("class.k-header"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"className",null),e=i.__decorate([o.Component({selector:"kendo-dialog-titlebar",template:'\n <div class="k-window-title k-dialog-title">\n <ng-content></ng-content>\n </div>\n <div class="k-window-actions k-dialog-actions">\n <a href="#" role="button"\n aria-label="Close"\n class="k-button k-bare k-button-icon k-window-action k-dialog-action k-dialog-close"\n (click)="onCloseClick($event)">\n <span class="k-icon k-i-x"></span>\n </a>\n </div>\n '})],e)}();t.DialogTitleBarComponent=r},function(e,t){e.exports=o},function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n=t(9),i=t(10),o=t(11);r.isPresent=function(e){return null!=e},r.isTruthy=function(e){return!!e};var a,s=function(e){return String(e).trim().split(" ")},d=/^(?:a|input|select|textarea|button|object)$/i;(a=r.Keys||(r.Keys={}))[a.esc=27]="esc",a[a.tab=9]="tab",a[a.enter=13]="enter",a[a.space=32]="space",a[a.ctrl=17]="ctrl",a[a.shift=16]="shift",a[a.left=37]="left",a[a.up=38]="up",a[a.right=39]="right",a[a.down=40]="down",r.DIALOG_ELEMENTS_HANDLING_ESC_KEY="k-dialog-wrapper k-dialog-buttongroup k-dialog-action",r.DIALOG_ELEMENTS_HANDLING_ARROWS="k-dialog-buttongroup",r.WINDOW_CLASSES="k-window-wrapper",r.hasClasses=function(e,t){var n=s(t);return Boolean(s(e.className).find(function(e){return 0<=n.indexOf(e)}))},r.isVisible=function(e){var t=e.getBoundingClientRect();return!(!t.width||!t.height)&&"hidden"!==window.getComputedStyle(e).visibility},r.isFocusable=function(e,t){if(void 0===t&&(t=!0),e.tagName){var n=e.tagName.toLowerCase(),i=e.getAttribute("tabIndex"),o=null!==i&&!isNaN(i)&&-1<i;return(d.test(n)?!e.disabled:o)&&(!t||r.isVisible(e))}return!1},r.focusableSelector=["a[href]","area[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","button:not([disabled])","iframe","object","embed","*[tabindex]","*[contenteditable]"].join(","),r.isChanged=function(e,t,n){return void 0===n&&(n=!0),t[e]&&(!t[e].isFirstChange()||!n)&&t[e].previousValue!==t[e].currentValue},r.preventDefault=function(e){var t=e.originalEvent;t.stopPropagation(),t.preventDefault()},r.isDocumentAvailable=function(){return"undefined"!=typeof document&&!!document.body},r.isWindowAvailable=function(){return"undefined"!=typeof window},r.preventOnDblClick=function(t){return function(e){return n.of(e).pipe(i.delay(150),o.takeUntil(t))}},r.RESIZE_DIRECTIONS=["n","e","s","w","se","sw","ne","nw"],r.OFFSET_STYLES=["top","left","width","height"]},function(e,t){e.exports=c},function(e,t){e.exports=u},function(e,t){e.exports=g},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),c=n(13),p=n(14),l=n(15),d=n(3),u=n(1),o=n(16),g=n(17),h=function(){function e(e,t){this.getDialogRef=e,this.parentInjector=t}return e.prototype.get=function(e,t){return e===g.DialogRef?this.getDialogRef():this.parentInjector.get(e,t)},e}(),r=function(){function e(e,t){this.resolver=e,this.containerService=t}return e.prototype.open=function(e){var t=this.resolver.resolveComponentFactory(u.DialogComponent),n=e.appendTo||this.containerService.container;if(!n)throw new Error("\nCannot attach dialog to the page.\nAdd an element that uses the kendoDialogContainer directive, or set the 'appendTo' property.\nSee http://www.telerik.com/kendo-angular-ui/components/dialog/service/ .\n ");var i={close:function(){},content:null,dialog:null,result:null},o=this.contentFrom(e.content,n,i),r=n.createComponent(t,void 0,void 0,o.nodes);i.dialog=r,this.applyOptions(r.instance,e);var a=new c.Subject,s=function(e){a.next(e||new g.DialogCloseResult),o.componentRef&&o.componentRef.destroy(),r.destroy()},d=p.merge(a,r.instance.close,r.instance.action).pipe(l.take(1));return d.subscribe(s),i.close=s,i.result=d,i},e.prototype.applyOptions=function(e,t){e.title=t.title,e.actions=t.actions,e.width=t.width,e.minWidth=t.minWidth,e.height=t.height,t.content instanceof d.TemplateRef&&(e.contentTemplate=t.content)},e.prototype.contentFrom=function(e,t,n){var i=t.injector.get(d.Renderer2),o=[],r=null;if("string"==typeof e)o=[i.createText(e)];else if(e&&!(e instanceof d.TemplateRef)){var a=new h(function(){return n},t.injector),s=this.resolver.resolveComponentFactory(e);o=[(r=t.createComponent(s,void 0,a)).location.nativeElement],n.content=r}return{componentRef:r,nodes:[[],o,[]]}},e=i.__decorate([d.Injectable(),i.__metadata("design:paramtypes",[d.ComponentFactoryResolver,o.DialogContainerService])],e)}();t.DialogService=r},function(e,t){e.exports=a},function(e,t){e.exports=s},function(e,t){e.exports=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=function(){function e(){}return t=e,Object.defineProperty(e.prototype,"container",{get:function(){return t.container},set:function(e){t.container=e},enumerable:!0,configurable:!0}),e=t=i.__decorate([o.Injectable()],e);var t}();t.DialogContainerService=r},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){};t.DialogAction=n;var i=function(){};t.DialogCloseResult=i;var o=function(){};t.DialogSettings=o;var r=function(){};t.DialogRef=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),s=n(3),o=n(7),d=n(19),r=n(20),a=n(8),c=n(8),p=n(25),l=n(28),u=n(29),g=function(){function e(e,t,n,i,o,r){var a=this;this.el=e,this.renderer=t,this.service=n,this.navigation=i,this.ngZone=o,this.keepContent=!1,this.dragStart=new s.EventEmitter,this.dragEnd=new s.EventEmitter,this.resizeStart=new s.EventEmitter,this.resizeEnd=new s.EventEmitter,this.close=new s.EventEmitter,this.widthChange=new s.EventEmitter,this.heightChange=new s.EventEmitter,this.topChange=new s.EventEmitter,this.leftChange=new s.EventEmitter,this.stateChange=new s.EventEmitter,this.tabIndex=0,this.focused=!1,this.draged=!1,this.resized=!1,this.windowSubscription=new d.Subscription,this.direction=r.rtl?"rtl":"ltr",this.localizationChangeSubscription=r.changes.subscribe(function(e){var t=e.rtl;return a.direction=t?"rtl":"ltr"}),this.resizeDirections=c.RESIZE_DIRECTIONS,this.subscribeEvents()}return Object.defineProperty(e.prototype,"draggable",{get:function(){return this.options.draggable},set:function(e){this.options.draggable=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"resizable",{get:function(){return this.options.resizable},set:function(e){this.options.resizable=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"state",{get:function(){return this.options.state},set:function(e){this.options.state=e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minWidth",{get:function(){return this.options.minWidth},set:function(e){this.setOption("minWidth",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"minHeight",{get:function(){return this.options.minHeight},set:function(e){this.setOption("minHeight",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"width",{get:function(){return this.options.width},set:function(e){this.setOption("width",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.options.height},set:function(e){this.setOption("height",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"top",{get:function(){return this.options.top},set:function(e){this.setOption("top",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"left",{get:function(){return this.options.left},set:function(e){this.setOption("left",e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"hostClasses",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"dir",{get:function(){return this.direction},enumerable:!0,configurable:!0}),e.prototype.ngAfterViewInit=function(){this.setNextZIndex(),this.setInitialOffset()},e.prototype.ngOnInit=function(){this.renderer.removeAttribute(this.el.nativeElement,"title"),this.service.init(this.el)},e.prototype.ngOnChanges=function(t){var n=this;if(a.OFFSET_STYLES.forEach(function(e){a.isChanged(e,t)&&n.setOffset(e,n.options[e])}),a.isChanged("draggable",t)){var e=a.isPresent(this.titleBarContent)?this.titleBarContent:this.titleBarView;a.isTruthy(t.draggable.currentValue)?e.subscribeDrag():e.unsubscribeDrag()}},e.prototype.ngOnDestroy=function(){this.windowSubscription&&this.windowSubscription.unsubscribe(),this.localizationChangeSubscription.unsubscribe()},e.prototype.focus=function(){var e=this.el.nativeElement;a.isPresent(e)&&e.focus()},Object.defineProperty(e.prototype,"showDefaultTitleBar",{get:function(){return!a.isPresent(this.titleBarContent)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"windowClasses",{get:function(){return!0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styleMinWidth",{get:function(){return this.minWidth+"px"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"styleMinHeight",{get:function(){return this.minHeight+"px"},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"stylePosition",{get:function(){return this.options.position},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapperMaximizedClass",{get:function(){return"maximized"===this.state},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"wrapperFocusedClass",{get:function(){return this.focused},enumerable:!0,configurable:!0}),e.prototype.onComponentKeydown=function(e){a.hasClasses(e.target,a.WINDOW_CLASSES)&&this.navigation.process(e)},e.prototype.onComponentFocus=function(){this.focused=!0,this.setNextZIndex()},e.prototype.onComponentBlur=function(){this.focused=!1},e.prototype.subscribeEvents=function(){var i=this;c.isDocumentAvailable()&&(this.windowSubscription.add(this.service.focus.subscribe(function(){i.el.nativeElement.focus()})),this.windowSubscription.add(this.service.dragStart.subscribe(function(){i.draged=!0,i.ngZone.run(function(){i.dragStart.emit()})})),this.windowSubscription.add(this.service.dragEnd.subscribe(function(){i.draged&&(i.draged=!1,i.ngZone.run(function(){i.dragEnd.emit()}))})),this.windowSubscription.add(this.service.close.subscribe(function(){i.close.emit()})),this.windowSubscription.add(this.service.resizeStart.subscribe(function(){i.resized=!0,i.ngZone.run(function(){i.resizeStart.emit()})})),this.windowSubscription.add(this.service.resizeEnd.subscribe(function(){i.resized&&(i.resized=!1,i.ngZone.run(function(){i.resizeEnd.emit()}))})),this.windowSubscription.add(this.service.change.subscribe(function(n){a.OFFSET_STYLES.forEach(function(e){if(a.isPresent(n[e])&&(i.setOffset(e,n[e]),"maximized"!==i.state)){var t=i[e+"Change"];t.observers.length&&i.ngZone.run(function(){t.emit(n[e])})}})})),this.windowSubscription.add(this.service.stateChange.subscribe(function(e){i.updateAllOffset(),i.stateChange.emit(e)})))},e.prototype.setNextZIndex=function(){this.renderer.setStyle(this.el.nativeElement,"z-index",this.service.nextZIndex)},e.prototype.setInitialOffset=function(){if("maximized"!==this.state)this.updateAllOffset(),a.isPresent(this.left)&&a.isPresent(this.top)||this.service.center();else{var e=this.service.windowViewPort;this.setOffset("width",e.width),this.setOffset("height",e.height)}},e.prototype.updateAllOffset=function(){var t=this;a.OFFSET_STYLES.forEach(function(e){a.isPresent(t[e])?t.setOffset(e,t[e]):t.removeOffset(e)})},e.prototype.setOffset=function(e,t){this.renderer.setStyle(this.el.nativeElement,e,t+"px")},e.prototype.removeOffset=function(e){this.renderer.removeStyle(this.el.nativeElement,e)},Object.defineProperty(e.prototype,"options",{get:function(){return this.service.options},enumerable:!0,configurable:!0}),e.prototype.setOption=function(e,t){"number"==typeof t?this.options[e]=t:"string"==typeof t&&(this.options[e]=parseInt(t,10))},i.__decorate([s.Input(),i.__metadata("design:type",String)],e.prototype,"title",void 0),i.__decorate([s.Input(),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[Boolean])],e.prototype,"draggable",null),i.__decorate([s.Input(),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[Boolean])],e.prototype,"resizable",null),i.__decorate([s.Input(),i.__metadata("design:type",Boolean)],e.prototype,"keepContent",void 0),i.__decorate([s.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"state",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"minWidth",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"minHeight",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"width",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"height",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"top",null),i.__decorate([s.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"left",null),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"dragStart",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"dragEnd",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"resizeStart",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"resizeEnd",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"close",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"widthChange",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"heightChange",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"topChange",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"leftChange",void 0),i.__decorate([s.Output(),i.__metadata("design:type",s.EventEmitter)],e.prototype,"stateChange",void 0),i.__decorate([s.HostBinding("attr.tabIndex"),i.__metadata("design:type",Number)],e.prototype,"tabIndex",void 0),i.__decorate([s.HostBinding("class.k-widget"),s.HostBinding("class.k-window"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"hostClasses",null),i.__decorate([s.HostBinding("attr.dir"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"dir",null),i.__decorate([s.ViewChild(l.WindowTitleBarComponent),i.__metadata("design:type",l.WindowTitleBarComponent)],e.prototype,"titleBarView",void 0),i.__decorate([s.ContentChild(l.WindowTitleBarComponent),i.__metadata("design:type",l.WindowTitleBarComponent)],e.prototype,"titleBarContent",void 0),i.__decorate([s.ViewChildren(p.ResizeHandleDirective),i.__metadata("design:type",s.QueryList)],e.prototype,"resizeHandles",void 0),i.__decorate([s.HostBinding("class.k-window-wrapper"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"windowClasses",null),i.__decorate([s.HostBinding("style.minWidth"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"styleMinWidth",null),i.__decorate([s.HostBinding("style.minHeight"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"styleMinHeight",null),i.__decorate([s.HostBinding("style.position"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"stylePosition",null),i.__decorate([s.HostBinding("class.k-window-maximized"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"wrapperMaximizedClass",null),i.__decorate([s.HostBinding("class.k-state-focused"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"wrapperFocusedClass",null),i.__decorate([s.HostListener("keydown",["$event"]),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[KeyboardEvent]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentKeydown",null),i.__decorate([s.HostListener("focus"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentFocus",null),i.__decorate([s.HostListener("blur"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentBlur",null),e=i.__decorate([s.Component({exportAs:"kendoWindow",providers:[r.DragResizeService,u.NavigationService,o.LocalizationService,{provide:o.L10N_PREFIX,useValue:"kendo.window"}],selector:"kendo-window",template:'\n <kendo-window-titlebar *ngIf="showDefaultTitleBar" [template]="titleBarTemplate">\n <div class="k-window-title">{{title}}</div>\n <button kendoWindowMinimizeAction></button>\n <button kendoWindowMaximizeAction></button>\n <button kendoWindowRestoreAction></button>\n <button kendoWindowCloseAction></button>\n </kendo-window-titlebar>\n <ng-content select="kendo-window-titlebar" *ngIf="!showDefaultTitleBar"></ng-content>\n\n <div *ngIf="state !== \'minimized\' || keepContent"\n [hidden]="state === \'minimized\' && keepContent"\n class="k-content k-window-content">\n <ng-content *ngIf="!contentTemplate"></ng-content>\n <ng-template [ngTemplateOutlet]="contentTemplate" *ngIf="contentTemplate"></ng-template>\n </div>\n\n <ng-template [ngIf]=\'resizable\'>\n <div *ngFor=\'let dir of resizeDirections\'\n [direction]="dir"\n kendoWindowResizeHandle\n kendoWindowDraggable>\n </div>\n </ng-template>\n '}),i.__metadata("design:paramtypes",[s.ElementRef,s.Renderer2,r.DragResizeService,u.NavigationService,s.NgZone,o.LocalizationService])],e)}();t.WindowComponent=g},function(e,t){e.exports=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(19),l=n(21),a=n(22),u=n(23),s=n(11),g=n(8),d=n(24),c=10002,p={draggable:!0,height:null,left:null,minHeight:100,minWidth:120,position:"absolute",resizable:!0,state:"default",top:null,width:null},h=function(e,t){return function(i){return e.kendo.drag.pipe(s.takeUntil(e.kendo.release.pipe(l.tap(function(){t.emit()}))),a.map(function(e){var t=e.pageX,n=e.pageY;return{originalX:i.pageX,originalY:i.pageY,pageX:t,pageY:n}}))}},f=function(){function e(e){this.ngZone=e,this.close=new o.EventEmitter,this.focus=new o.EventEmitter,this.change=new o.EventEmitter,this.stateChange=new o.EventEmitter,this.dragStart=new o.EventEmitter,this.dragEnd=new o.EventEmitter,this.resizeStart=new o.EventEmitter,this.resizeEnd=new o.EventEmitter,this.options=Object.assign({},p),this.subscriptions=new r.Subscription,this.dragSubscription=new r.Subscription}return e.prototype.ngOnDestroy=function(){this.subscriptions&&this.subscriptions.unsubscribe(),this.dragSubscription&&this.dragSubscription.unsubscribe()},e.prototype.init=function(e){this.window=e,"minimized"===this.options.state&&(this.restoreOptions=Object.assign({},this.options),this.options.height=0,this.options.minHeight=0)},e.prototype.onDrag=function(e){var s=this;this.subscriptions.add(this.ngZone.runOutsideAngular(function(){var r,a;s.dragSubscription=e.kendo.press.pipe(l.tap(function(e){"touchstart"!==e.type&&g.preventDefault(e),s.focus.emit(),r=s.currentPosition(),a=!1}),u.switchMap(g.preventOnDblClick(e.kendo.release)),u.switchMap(h(e,s.dragEnd))).subscribe(function(e){var t=e.pageX,n=e.pageY,i=e.originalX,o=e.originalY;a||(s.ensureWidth(),s.dragStart.emit(),a=!0),s.handleDrag({originalX:i,originalY:o,pageX:t,pageY:n,startPosition:r})})}))},e.prototype.handleDrag=function(e){var t=e.originalX,n=e.originalY,i=e.pageX,o=e.pageY,r=e.startPosition;this.options.left=r.x+i-t,this.options.top=r.y+o-n,"minimized"===this.options.state&&g.isPresent(this.restoreOptions)&&(this.restoreOptions.left=this.options.left,this.restoreOptions.top=this.options.top),this.change.emit({left:r.x+i-t,top:r.y+o-n})},e.prototype.onResize=function(e,c){var p=this;this.subscriptions.add(this.ngZone.runOutsideAngular(function(){var s,d=!1;e.kendo.press.pipe(l.tap(function(e){g.preventDefault(e),p.focus.emit(),s=p.currentOffsetAndPosition(),d=!1}),u.switchMap(g.preventOnDblClick(e.kendo.release)),u.switchMap(h(e,p.resizeEnd))).subscribe(function(e){var t=e.pageX,n=e.pageY,i=e.originalX,o=e.originalY;d||(p.resizeStart.emit(c),d=!0);var r=t-i,a=n-o;p.handleResize(s,c,r,a)})}))},e.prototype.handleResize=function(e,t,n,i){var o=this,r=this.options,a={};0<=t.indexOf("e")&&((c=e.width+n)!==r.width&&c>=r.minWidth&&(a.width=c));if(0<=t.indexOf("n")){var s=e.height-i,d=e.y+i;s!==r.height&&s>=r.minHeight&&d!==r.top&&(a.height=s,a.top=d)}0<=t.indexOf("s")&&((s=e.height+i)!==r.height&&s>=r.minHeight&&(a.height=s));if(0<=t.indexOf("w")){var c,p=e.x+n;(c=e.width-n)!==r.width&&c>=r.minWidth&&p!==r.left&&(a.width=c,a.left=p)}(g.isPresent(a.width)||g.isPresent(a.height))&&(g.OFFSET_STYLES.forEach(function(e){g.isPresent(a[e])&&(o.options[e]=a[e])}),this.change.emit(a))},e.prototype.restoreAction=function(){g.isPresent(this.restoreOptions)&&(this.options=Object.assign({},this.restoreOptions)),this.options.state="default",this.stateChange.emit("default")},e.prototype.storeOptions=function(){this.restoreOptions=Object.assign({},this.options)},e.prototype.maximizeAction=function(){if("maximized"!==this.options.state){this.storeOptions();var e=this.windowViewPort;this.options=Object.assign({},this.options,{height:e.height,left:0,position:"fixed",state:"maximized",top:0,width:e.width}),this.stateChange.emit("maximized")}},e.prototype.minimizeAction=function(){"minimized"!==this.options.state&&(this.storeOptions(),this.options=Object.assign({},this.options,{height:0,minHeight:0,state:"minimized"}),this.stateChange.emit("minimized"))},e.prototype.closeAction=function(){this.close.emit()},e.prototype.ensureWidth=function(){var e=d.offset(this.window.nativeElement);g.isPresent(this.options.width)||(this.options.width=e.width,this.change.emit({width:e.width}))},e.prototype.center=function(){if("maximized"!==this.options.state){var e=d.scrollPosition(this.window.nativeElement),t=this.windowViewPort,n=d.offset(this.window.nativeElement),i={};g.isPresent(this.options.left)||(this.options.left=e.x+Math.max(0,(t.width-n.width)/2),i.left=this.options.left),g.isPresent(this.options.top)||(this.options.top=e.y+Math.max(0,(t.height-n.height)/2),i.top=this.options.top),this.change.emit(i)}},e.prototype.currentOffsetAndPosition=function(){var e=this.options,t=d.offset(this.window.nativeElement);return Object.assign({},this.currentPosition(),{height:e.height?e.height:t.height,width:e.width?e.width:t.width})},e.prototype.currentPosition=function(){var e=this.options;return e.top&&e.left||this.setPosition(),{x:this.options.left,y:this.options.top}},e.prototype.setPosition=function(){var e=d.positionWithScroll(this.window.nativeElement,d.getDocumentElement(this.window.nativeElement));this.options.left=e.left,this.options.top=e.top},Object.defineProperty(e.prototype,"nextZIndex",{get:function(){return c++},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"windowViewPort",{get:function(){return d.getWindowViewPort(this.window.nativeElement)},enumerable:!0,configurable:!0}),e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[o.NgZone])],e)}();t.DragResizeService=f},function(e,t){e.exports=f},function(e,t){e.exports=_},function(e,t){e.exports=m},function(e,t){e.exports=y},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(26),a=n(20),s=n(19),d=n(9),c=n(14),p=function(){function e(e,t,n,i){this.draggable=e,this.el=t,this.renderer=n,this.service=i,this.subscriptions=new s.Subscription}return Object.defineProperty(e.prototype,"hostClass",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.ngOnInit=function(){var t=this;this.setDisplay(),this.renderer.addClass(this.el.nativeElement,"k-resize-"+this.direction),this.subscriptions.add(d.of(this.draggable).subscribe(function(e){t.service.onResize(e,t.direction)})),this.subscriptions.add(this.service.resizeStart.subscribe(function(e){e!==t.direction&&t.setDisplay("none")})),this.subscriptions.add(this.service.dragStart.subscribe(function(){t.setDisplay("none")})),this.subscriptions.add(c.merge(this.service.resizeEnd,this.service.dragEnd).subscribe(function(){t.setDisplay("block")})),this.subscriptions.add(this.service.stateChange.subscribe(function(e){t.setDisplay("default"===e?"block":"none")}))},e.prototype.ngOnDestroy=function(){this.subscriptions.unsubscribe()},e.prototype.setDisplay=function(e){void 0===e&&(e="block"),this.renderer.setStyle(this.el.nativeElement,"display","default"===this.service.options.state?e:"none")},i.__decorate([o.Input(),i.__metadata("design:type",String)],e.prototype,"direction",void 0),i.__decorate([o.HostBinding("class.k-resize-handle"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"hostClass",null),e=i.__decorate([o.Directive({selector:"[kendoWindowResizeHandle]"}),i.__param(0,o.Host()),i.__metadata("design:paramtypes",[r.DraggableDirective,o.ElementRef,o.Renderer2,a.DragResizeService])],e)}();t.ResizeHandleDirective=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(27),a=function(){function e(e,t){this.elem=e,this.ngZone=t,this.kendo={drag:new o.EventEmitter,press:new o.EventEmitter,release:new o.EventEmitter}}return e.prototype.ngOnInit=function(){var t=this;"undefined"!=typeof document&&(this.draggable=new r.default({drag:function(e){return t.kendo.drag.next(e)},press:function(e){return t.kendo.press.next(e)},release:function(e){return t.kendo.release.next(e)}}),this.ngZone.runOutsideAngular(function(){return t.draggable.bindTo(t.elem.nativeElement)}))},e.prototype.ngOnDestroy=function(){"undefined"!=typeof document&&this.draggable.destroy()},Object.defineProperty(e.prototype,"nativeElement",{get:function(){return this.elem.nativeElement},enumerable:!0,configurable:!0}),e=i.__decorate([o.Directive({outputs:["kendo.press","kendo.drag","kendo.release"],selector:"[kendoWindowDraggable]"}),i.__metadata("design:paramtypes",[o.ElementRef,o.NgZone])],e)}();t.DraggableDirective=a},function(e,t){e.exports=h},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(26),a=n(20),s=n(9),d=n(8),c=function(){function e(e,t,n){this.el=e,this.ngZone=n,this.service=t}return e.prototype.ngOnInit=function(){this.dragDirective=new r.DraggableDirective(this.el,this.ngZone),this.dragDirective.ngOnInit(),this.service.options.draggable&&this.subscribeDrag(),this.subscribeStateChange()},e.prototype.ngOnDestroy=function(){this.dragDirective.ngOnDestroy(),this.unsubscribeDrag(),this.unsubscribeState()},e.prototype.subscribeDrag=function(){var t=this;this.unsubscribeDrag(),this.dragSubscription=s.of(this.dragDirective).subscribe(function(e){t.service.onDrag(e)})},e.prototype.subscribeStateChange=function(){var t=this;this.stateSubscription=this.service.stateChange.subscribe(function(e){t.service.options.draggable&&("maximized"===e?t.unsubscribeDrag():t.subscribeDrag())})},e.prototype.unsubscribeDrag=function(){this.dragSubscription&&(this.service.dragSubscription.unsubscribe(),this.dragSubscription.unsubscribe(),this.dragSubscription=null)},e.prototype.unsubscribeState=function(){this.stateSubscription&&(this.stateSubscription.unsubscribe(),this.stateSubscription=null)},Object.defineProperty(e.prototype,"className",{get:function(){return!0},enumerable:!0,configurable:!0}),e.prototype.handle=function(e){var t=e.target,n=this.service.options.state;d.hasClasses(t,"k-icon")||d.isFocusable(t,!1)||!this.service.options.resizable||("default"===n?this.service.maximizeAction():"maximized"===n&&this.service.restoreAction())},i.__decorate([o.Input(),i.__metadata("design:type",o.TemplateRef)],e.prototype,"template",void 0),i.__decorate([o.HostBinding("class.k-window-titlebar"),o.HostBinding("class.k-dialog-titlebar"),o.HostBinding("class.k-header"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"className",null),i.__decorate([o.HostListener("dblclick",["$event"]),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[MouseEvent]),i.__metadata("design:returntype",void 0)],e.prototype,"handle",null),e=i.__decorate([o.Component({selector:"kendo-window-titlebar",template:'\n <ng-content *ngIf="!template"></ng-content>\n <ng-template\n [ngTemplateOutlet]="template"\n [ngTemplateOutletContext]="{\'$implicit\': service}" *ngIf="template">\n </ng-template>\n '}),i.__metadata("design:paramtypes",[o.ElementRef,a.DragResizeService,o.NgZone])],e)}();t.WindowTitleBarComponent=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(20),d=n(8),a=function(){function e(e){this.window=e}return e.prototype.process=function(e){var t=e.keyCode;switch(t){case d.Keys.up:case d.Keys.down:case d.Keys.left:case d.Keys.right:e.preventDefault(),this.handleArrow(t,e);break;case d.Keys.esc:this.handleEscape()}},e.prototype.handleArrow=function(e,t){var n=this.window.options;t.altKey?this.handleStateChange(e,n.state):(t.ctrlKey||t.metaKey)&&"default"===n.state?this.handleResize(e):this.handleDrag(e)},e.prototype.handleEscape=function(){this.window.closeAction()},e.prototype.handleDrag=function(e){var t=this.window.currentOffsetAndPosition(),n=this.window.options,i=this.window.restoreOptions,o={},r=10;switch(e!==d.Keys.left&&e!==d.Keys.up||(r*=-1),e){case d.Keys.left:case d.Keys.right:o.left=t.x+r,n.left=o.left;break;case d.Keys.up:case d.Keys.down:o.top=t.y+r,n.top=o.top}"minimized"===n.state&&d.isPresent(i)&&(i.left=n.left,i.top=n.top),this.window.change.emit(o)},e.prototype.handleResize=function(e){var t,n,i=this,o=this.window.options,r=this.window.currentOffsetAndPosition(),a={},s=10;switch(e!==d.Keys.left&&e!==d.Keys.up||(s*=-1),e){case d.Keys.left:case d.Keys.right:(t=r.width+s)!==o.width&&t>=o.minWidth&&(a.width=t);break;case d.Keys.up:case d.Keys.down:(n=r.height+s)!==o.height&&n>=o.minHeight&&(a.height=n)}(d.isPresent(a.width)||d.isPresent(a.height))&&(d.OFFSET_STYLES.forEach(function(e){d.isPresent(a[e])&&(i.window.options[e]=a[e])}),this.window.change.emit(a))},e.prototype.handleStateChange=function(e,t){"minimized"===t&&e===d.Keys.up||"maximized"===t&&e===d.Keys.down?this.window.restoreAction():"default"===t&&(e===d.Keys.up?this.window.maximizeAction():e===d.Keys.down&&this.window.minimizeAction())},e=i.__decorate([o.Injectable(),i.__metadata("design:paramtypes",[r.DragResizeService])],e)}();t.NavigationService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),a=n(20),r=n(31),s=n(7),d=function(r){function e(e,t,n,i){var o=r.call(this,e,t,null,i)||this;return o.window=n,o.look="bare",o.icon="window-maximize",o}return i.__extends(e,r),e.prototype.onClick=function(){this.isDisabled||this.window.maximizeAction()},Object.defineProperty(e.prototype,"visible",{get:function(){return"default"===this.window.options.state?"inline-flex":"none"},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"window",void 0),i.__decorate([o.HostListener("click"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onClick",null),i.__decorate([o.HostBinding("style.display"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"visible",null),e=i.__decorate([o.Directive({exportAs:"kendoWindowMaximizeAction",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowMaximizeAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,a.DragResizeService,s.LocalizationService])],e)}(r.Button);t.WindowMaximizeActionDirective=d},function(e,t){e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),a=n(20),r=n(31),s=n(7),d=function(r){function e(e,t,n,i){var o=r.call(this,e,t,null,i)||this;return o.window=n,o.look="bare",o.icon="window-minimize",o}return i.__extends(e,r),e.prototype.onClick=function(){this.isDisabled||this.window.minimizeAction()},Object.defineProperty(e.prototype,"visible",{get:function(){return"default"===this.window.options.state?"inline-flex":"none"},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"window",void 0),i.__decorate([o.HostListener("click"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onClick",null),i.__decorate([o.HostBinding("style.display"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"visible",null),e=i.__decorate([o.Directive({exportAs:"kendoWindowMinimizeAction",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowMinimizeAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,a.DragResizeService,s.LocalizationService])],e)}(r.Button);t.WindowMinimizeActionDirective=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(31),a=n(20),s=n(7),d=function(r){function e(e,t,n,i){var o=r.call(this,e,t,null,i)||this;return o.window=n,o.look="bare",o.icon="close",o}return i.__extends(e,r),e.prototype.onClick=function(){this.isDisabled||this.window.closeAction()},i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"window",void 0),i.__decorate([o.HostListener("click"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onClick",null),e=i.__decorate([o.Directive({exportAs:"kendoWindowCloseAction",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowCloseAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,a.DragResizeService,s.LocalizationService])],e)}(r.Button);t.WindowCloseActionDirective=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),a=n(20),r=n(31),s=n(7),d=function(r){function e(e,t,n,i){var o=r.call(this,e,t,null,i)||this;return o.window=n,o.look="bare",o.icon="window-restore",o}return i.__extends(e,r),e.prototype.onClick=function(){this.isDisabled||this.window.restoreAction()},Object.defineProperty(e.prototype,"visible",{get:function(){return"default"===this.window.options.state?"none":"inline-flex"},enumerable:!0,configurable:!0}),i.__decorate([o.Input(),i.__metadata("design:type",Object)],e.prototype,"window",void 0),i.__decorate([o.HostListener("click"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onClick",null),i.__decorate([o.HostBinding("style.display"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"visible",null),e=i.__decorate([o.Directive({exportAs:"kendoWindowRestoreAction",providers:[s.LocalizationService,{provide:s.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowRestoreAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,a.DragResizeService,s.LocalizationService])],e)}(r.Button);t.WindowRestoreActionDirective=d},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){};t.WindowSettings=n;var i=function(){};t.WindowCloseResult=i;var o=function(){};t.WindowRef=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),d=n(3),o=n(37),c=n(35),p=n(18),r=n(8),l=n(13),u=n(14),g=n(15),h=function(){function e(e,t){this.getWindowRef=e,this.parentInjector=t}return e.prototype.get=function(e,t){return e===c.WindowRef?this.getWindowRef():this.parentInjector.get(e,t)},e}(),a=function(){function e(e,t){this.resolver=e,this.containerService=t}return e.prototype.open=function(e){var t=this.resolver.resolveComponentFactory(p.WindowComponent),n=e.appendTo||this.containerService.container;if(!n)throw new Error("Cannot attach window to the page.\n Add an element that uses the kendoWindowContainer directive, or set the 'appendTo' property.");var i={close:function(){},content:null,result:null,window:null},o=this.contentFrom(e.content,n,i),r=n.createComponent(t,void 0,void 0,o.nodes);i.window=r,this.applyOptions(r.instance,e);var a=new l.Subject,s=function(e){a.next(e||new c.WindowCloseResult),o.componentRef&&o.componentRef.destroy(),r.destroy()},d=u.merge(a,r.instance.close).pipe(g.take(1));return d.subscribe(s),i.close=s,i.result=d,i},e.prototype.applyOptions=function(e,t){r.isPresent(t.title)&&(e.title=t.title),r.isPresent(t.keepContent)&&(e.keepContent=t.keepContent),r.isPresent(t.width)&&(e.width=t.width),r.isPresent(t.minWidth)&&(e.minWidth=t.minWidth),r.isPresent(t.height)&&(e.height=t.height),r.isPresent(t.minHeight)&&(e.minHeight=t.minHeight),r.isPresent(t.left)&&(e.left=t.left),r.isPresent(t.top)&&(e.top=t.top),r.isPresent(t.draggable)&&(e.draggable=t.draggable),r.isPresent(t.resizable)&&(e.resizable=t.resizable),r.isPresent(t.state)&&(e.state=t.state,"minimized"===t.state&&(e.keepContent=!0)),t.content instanceof d.TemplateRef&&(e.contentTemplate=t.content),t.titleBarContent instanceof d.TemplateRef&&(e.titleBarTemplate=t.titleBarContent)},e.prototype.contentFrom=function(e,t,n){var i=t.injector.get(d.Renderer2),o=[],r=null;if("string"==typeof e)o=[i.createText(e)];else if(e&&!(e instanceof d.TemplateRef)){var a=new h(function(){return n},t.injector),s=this.resolver.resolveComponentFactory(e);o=[(r=t.createComponent(s,void 0,a)).location.nativeElement],n.content=r}return{componentRef:r,nodes:[[],o]}},e=i.__decorate([d.Injectable(),i.__metadata("design:paramtypes",[d.ComponentFactoryResolver,o.WindowContainerService])],e)}();t.WindowService=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=function(){function e(){}return t=e,Object.defineProperty(e.prototype,"container",{get:function(){return t.container},set:function(e){t.container=e},enumerable:!0,configurable:!0}),e=t=i.__decorate([o.Injectable()],e);var t}();t.WindowContainerService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(1),a=n(6),s=n(12),d=n(39),c=n(16),p=n(40);t.DIALOG_DIRECTIVES=[r.DialogComponent,a.DialogTitleBarComponent];var l=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[t.DIALOG_DIRECTIVES,d.DialogContainerDirective],entryComponents:[t.DIALOG_DIRECTIVES],exports:[t.DIALOG_DIRECTIVES,p.SHARED_DIRECTIVES,d.DialogContainerDirective],imports:[p.SharedModule],providers:[c.DialogContainerService,s.DialogService]})],e)}();t.DialogModule=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(16),a=function(){function e(e,t){t.container=e}return e=i.__decorate([o.Directive({selector:"[kendoDialogContainer]"}),i.__metadata("design:paramtypes",[o.ViewContainerRef,r.DialogContainerService])],e)}();t.DialogContainerDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(41),a=n(5);t.SHARED_DIRECTIVES=[a.DialogActionsComponent];var s=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[t.SHARED_DIRECTIVES],exports:[t.SHARED_DIRECTIVES,r.CommonModule],imports:[r.CommonModule]})],e)}();t.SharedModule=s},function(e,t){e.exports=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(18),a=n(28),s=n(26),d=n(25),c=n(30),p=n(32),l=n(33),u=n(34),g=n(36),h=n(37),f=n(43),m=n(40),_=[s.DraggableDirective,d.ResizeHandleDirective,r.WindowComponent,a.WindowTitleBarComponent,l.WindowCloseActionDirective,p.WindowMinimizeActionDirective,c.WindowMaximizeActionDirective,u.WindowRestoreActionDirective],y=[r.WindowComponent,a.WindowTitleBarComponent],b=[r.WindowComponent,l.WindowCloseActionDirective,p.WindowMinimizeActionDirective,c.WindowMaximizeActionDirective,u.WindowRestoreActionDirective,a.WindowTitleBarComponent],v=function(){function e(){}return e=i.__decorate([o.NgModule({declarations:[_,f.WindowContainerDirective],entryComponents:[y],exports:[b,m.SHARED_DIRECTIVES,f.WindowContainerDirective],imports:[m.SharedModule],providers:[h.WindowContainerService,g.WindowService]})],e)}();t.WindowModule=v},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(37),a=function(){function e(e,t){t.container=e}return e=i.__decorate([o.Directive({selector:"[kendoWindowContainer]"}),i.__metadata("design:paramtypes",[o.ViewContainerRef,r.WindowContainerService])],e)}();t.WindowContainerDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(38),a=n(42),s=function(){function e(){}return e=i.__decorate([o.NgModule({exports:[r.DialogModule,a.WindowModule]})],e)}();t.DialogsModule=s}])}}});

@@ -6,3 +6,3 @@ {

"license": "SEE LICENSE in LICENSE.md",
"version": "3.6.2",
"version": "3.6.3-dev.201806191449",
"main": "dist/npm/index.js",

@@ -13,4 +13,4 @@ "module": "dist/es/index.js",

"typings": "dist/es2015/index.d.ts",
"jsdelivr": "dist/cdn/js/kendo-angular-dialog.js",
"unpkg": "dist/cdn/js/kendo-angular-dialog.js",
"jsdelivr": "dist/cdn/main.js",
"unpkg": "dist/cdn/main.js",
"sideEffects": false,

@@ -65,3 +65,3 @@ "scripts": {

"@progress/kendo-angular-l10n": "^1.1.0",
"@progress/kendo-angular-tasks": "^12.1.0",
"@progress/kendo-angular-tasks": "^12.2.0",
"@progress/kendo-theme-default": "^2.46.0",

@@ -68,0 +68,0 @@ "@telerik/semantic-prerelease": "^1.1.5",

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