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.8.0-dev.201810182212 to 3.8.0

2

dist/systemjs/kendo-angular-dialog.js

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

System.register("@progress/kendo-angular-dialog",["tslib","@angular/core","@progress/kendo-angular-l10n","@angular/animations","rxjs/Subject","rxjs/observable/merge","rxjs/operators/take","rxjs/Subscription","rxjs/observable/of","@progress/kendo-angular-buttons","rxjs/operators/takeUntil","rxjs/operators/delay","rxjs/operators/tap","rxjs/operators/map","rxjs/operators/switchMap","@progress/kendo-popup-common","@telerik/kendo-draggable","@angular/common"],function(b){var n,i,o,r,s,a,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){s=t(e)},function(e){a=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 s=n(12);t.DialogService=s.DialogService;var a=n(17);t.DialogCloseResult=a.DialogCloseResult,t.DialogRef=a.DialogRef,t.DialogSettings=a.DialogSettings,t.DialogAction=a.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),s=n(5),a=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,s=!c.isPresent(i)&&!t.shiftKey;(o||s)&&(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(a.DialogTitleBarComponent),i.__metadata("design:type",a.DialogTitleBarComponent)],e.prototype,"titlebarContent",void 0),i.__decorate([o.ViewChild(a.DialogTitleBarComponent),i.__metadata("design:type",a.DialogTitleBarComponent)],e.prototype,"titlebarView",void 0),i.__decorate([o.ViewChild(s.DialogActionsComponent),i.__metadata("design:type",s.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 s,a=function(e){return String(e).trim().split(" ")},d=/^(?:a|input|select|textarea|button|object)$/i;(s=r.Keys||(r.Keys={}))[s.esc=27]="esc",s[s.tab=9]="tab",s[s.enter=13]="enter",s[s.space=32]="space",s[s.ctrl=17]="ctrl",s[s.shift=16]="shift",s[s.left=37]="left",s[s.up=38]="up",s[s.right=39]="right",s[s.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=a(t);return Boolean(a(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=p},function(e,t){e.exports=g},function(e,t){e.exports=u},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 s=new c.Subject,a=function(e){s.next(e||new g.DialogCloseResult),o.componentRef&&o.componentRef.destroy(),r.destroy()},d=p.merge(s,r.instance.close,r.instance.action).pipe(l.take(1));return d.subscribe(a),i.close=a,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 s=new h(function(){return n},t.injector),a=this.resolver.resolveComponentFactory(e);o=[(r=t.createComponent(a,void 0,s)).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=s},function(e,t){e.exports=a},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),a=n(3),o=n(7),d=n(19),r=n(20),s=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 s=this;this.el=e,this.renderer=t,this.service=n,this.navigation=i,this.ngZone=o,this.keepContent=!1,this.dragStart=new a.EventEmitter,this.dragEnd=new a.EventEmitter,this.resizeStart=new a.EventEmitter,this.resizeEnd=new a.EventEmitter,this.close=new a.EventEmitter,this.widthChange=new a.EventEmitter,this.heightChange=new a.EventEmitter,this.topChange=new a.EventEmitter,this.leftChange=new a.EventEmitter,this.stateChange=new a.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 s.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(s.OFFSET_STYLES.forEach(function(e){s.isChanged(e,t)&&n.setStyle(e,n.options[e])}),s.isChanged("draggable",t)){var e=s.isPresent(this.titleBarContent)?this.titleBarContent:this.titleBarView;s.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;s.isPresent(e)&&e.focus()},e.prototype.setDimension=function(e,t){this.setOption(e,t),this.setStyle(e,t)},e.prototype.setOffset=function(e,t){this.setOption(e,t),this.setStyle(e,t)},Object.defineProperty(e.prototype,"showDefaultTitleBar",{get:function(){return!s.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){s.hasClasses(e.target,s.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){s.OFFSET_STYLES.forEach(function(e){if(s.isPresent(n[e])&&(i.setStyle(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(),s.isPresent(this.left)&&s.isPresent(this.top)||this.service.center();else{var e=this.service.windowViewPort;this.setStyle("width",e.width),this.setStyle("height",e.height),this.setStyle("top",0),this.setStyle("left",0)}},e.prototype.updateAllOffset=function(){var t=this;s.OFFSET_STYLES.forEach(function(e){s.isPresent(t[e])?t.setStyle(e,t[e]):t.removeStyle(e)})},e.prototype.setStyle=function(e,t){this.renderer.setStyle(this.el.nativeElement,e,t+"px")},e.prototype.removeStyle=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([a.Input(),i.__metadata("design:type",String)],e.prototype,"title",void 0),i.__decorate([a.Input(),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[Boolean])],e.prototype,"draggable",null),i.__decorate([a.Input(),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[Boolean])],e.prototype,"resizable",null),i.__decorate([a.Input(),i.__metadata("design:type",Boolean)],e.prototype,"keepContent",void 0),i.__decorate([a.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"state",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"minWidth",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"minHeight",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"width",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"height",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"top",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"left",null),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"dragStart",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"dragEnd",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"resizeStart",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"resizeEnd",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"close",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"widthChange",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"heightChange",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"topChange",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"leftChange",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"stateChange",void 0),i.__decorate([a.HostBinding("attr.tabIndex"),i.__metadata("design:type",Number)],e.prototype,"tabIndex",void 0),i.__decorate([a.HostBinding("class.k-widget"),a.HostBinding("class.k-window"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"hostClasses",null),i.__decorate([a.HostBinding("attr.dir"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"dir",null),i.__decorate([a.ViewChild(l.WindowTitleBarComponent),i.__metadata("design:type",l.WindowTitleBarComponent)],e.prototype,"titleBarView",void 0),i.__decorate([a.ContentChild(l.WindowTitleBarComponent),i.__metadata("design:type",l.WindowTitleBarComponent)],e.prototype,"titleBarContent",void 0),i.__decorate([a.ViewChildren(p.ResizeHandleDirective),i.__metadata("design:type",a.QueryList)],e.prototype,"resizeHandles",void 0),i.__decorate([a.HostBinding("class.k-window-wrapper"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"windowClasses",null),i.__decorate([a.HostBinding("style.minWidth"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"styleMinWidth",null),i.__decorate([a.HostBinding("style.minHeight"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"styleMinHeight",null),i.__decorate([a.HostBinding("style.position"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"stylePosition",null),i.__decorate([a.HostBinding("class.k-window-maximized"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"wrapperMaximizedClass",null),i.__decorate([a.HostBinding("class.k-state-focused"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"wrapperFocusedClass",null),i.__decorate([a.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([a.HostListener("focus"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentFocus",null),i.__decorate([a.HostListener("blur"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentBlur",null),e=i.__decorate([a.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",[a.ElementRef,a.Renderer2,r.DragResizeService,u.NavigationService,a.NgZone,o.LocalizationService])],e)}();t.WindowComponent=g},function(e,t){e.exports=c},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),s=n(22),u=n(23),a=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(a.takeUntil(e.kendo.release.pipe(l.tap(function(){t.emit()}))),s.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,"default"!==this.options.state&&(this.restoreOptions=Object.assign({},this.options)),"minimized"===this.options.state&&(this.options.height=0,this.options.minHeight=0)},e.prototype.onDrag=function(e){var a=this;this.subscriptions.add(this.ngZone.runOutsideAngular(function(){var r,s;a.dragSubscription=e.kendo.press.pipe(l.tap(function(e){"touchstart"!==e.type&&g.preventDefault(e),a.focus.emit(),r=a.currentPosition(),s=!1}),u.switchMap(g.preventOnDblClick(e.kendo.release)),u.switchMap(h(e,a.dragEnd))).subscribe(function(e){var t=e.pageX,n=e.pageY,i=e.originalX,o=e.originalY;s||(a.ensureWidth(),a.dragStart.emit(),s=!0),a.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 a,d=!1;e.kendo.press.pipe(l.tap(function(e){g.preventDefault(e),p.focus.emit(),a=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,s=n-o;p.handleResize(a,c,r,s)})}))},e.prototype.handleResize=function(e,t,n,i){var o=this,r=this.options,s={};0<=t.indexOf("e")&&((c=e.width+n)!==r.width&&c>=r.minWidth&&(s.width=c));if(0<=t.indexOf("n")){var a=e.height-i,d=e.y+i;a!==r.height&&a>=r.minHeight&&d!==r.top&&(s.height=a,s.top=d)}0<=t.indexOf("s")&&((a=e.height+i)!==r.height&&a>=r.minHeight&&(s.height=a));if(0<=t.indexOf("w")){var c,p=e.x+n;(c=e.width-n)!==r.width&&c>=r.minWidth&&p!==r.left&&(s.width=c,s.left=p)}(g.isPresent(s.width)||g.isPresent(s.height))&&(g.OFFSET_STYLES.forEach(function(e){g.isPresent(s[e])&&(o.options[e]=s[e])}),this.change.emit(s))},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=h},function(e,t){e.exports=f},function(e,t){e.exports=m},function(e,t){e.exports=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(26),s=n(20),a=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 a.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,s.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),s=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=s},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),s=n(20),a=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(){var e=this.service.options;this.dragDirective=new r.DraggableDirective(this.el,this.ngZone),this.dragDirective.ngOnInit(),e.draggable&&"maximized"!==e.state&&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=a.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,s.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),s=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(),s={},a=10;switch(e!==d.Keys.left&&e!==d.Keys.up||(a*=-1),e){case d.Keys.left:case d.Keys.right:(t=r.width+a)!==o.width&&t>=o.minWidth&&(s.width=t);break;case d.Keys.up:case d.Keys.down:(n=r.height+a)!==o.height&&n>=o.minHeight&&(s.height=n)}(d.isPresent(s.width)||d.isPresent(s.height))&&(d.OFFSET_STYLES.forEach(function(e){d.isPresent(s[e])&&(i.window.options[e]=s[e])}),this.window.change.emit(s))},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=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),s=n(20),r=n(31),a=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:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowMaximizeAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,s.DragResizeService,a.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),s=n(20),r=n(31),a=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:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowMinimizeAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,s.DragResizeService,a.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),s=n(20),a=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:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowCloseAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,s.DragResizeService,a.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),s=n(20),r=n(31),a=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:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowRestoreAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,s.DragResizeService,a.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}(),s=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 s=new l.Subject,a=function(e){s.next(e||new c.WindowCloseResult),o.componentRef&&o.componentRef.destroy(),r.destroy()},d=u.merge(s,r.instance.close).pipe(g.take(1));return d.subscribe(a),i.close=a,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 s=new h(function(){return n},t.injector),a=this.resolver.resolveComponentFactory(e);o=[(r=t.createComponent(a,void 0,s)).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=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.WindowContainerService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(1),s=n(6),a=n(12),d=n(39),c=n(16),p=n(40);t.DIALOG_DIRECTIVES=[r.DialogComponent,s.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,a.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),s=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=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(41),s=n(5);t.SHARED_DIRECTIVES=[s.DialogActionsComponent];var a=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=a},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),s=n(28),a=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),_=[a.DraggableDirective,d.ResizeHandleDirective,r.WindowComponent,s.WindowTitleBarComponent,l.WindowCloseActionDirective,p.WindowMinimizeActionDirective,c.WindowMaximizeActionDirective,u.WindowRestoreActionDirective],y=[r.WindowComponent,s.WindowTitleBarComponent],b=[r.WindowComponent,l.WindowCloseActionDirective,p.WindowMinimizeActionDirective,c.WindowMaximizeActionDirective,u.WindowRestoreActionDirective,s.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),s=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=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(38),s=n(42),a=function(){function e(){}return e=i.__decorate([o.NgModule({exports:[r.DialogModule,s.WindowModule]})],e)}();t.DialogsModule=a}])}}});
System.register("@progress/kendo-angular-dialog",["@angular/animations","@progress/kendo-angular-l10n","tslib","@angular/core","rxjs/Subject","rxjs/observable/merge","rxjs/operators/take","rxjs/Subscription","@progress/kendo-angular-buttons","rxjs/observable/of","rxjs/operators/delay","rxjs/operators/takeUntil","rxjs/operators/tap","rxjs/operators/map","rxjs/operators/switchMap","@progress/kendo-popup-common","@telerik/kendo-draggable","@angular/common"],function(b){var n,i,o,r,s,a,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){s=t(e)},function(e){a=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 s=n(12);t.DialogService=s.DialogService;var a=n(17);t.DialogCloseResult=a.DialogCloseResult,t.DialogRef=a.DialogRef,t.DialogSettings=a.DialogSettings,t.DialogAction=a.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),s=n(5),a=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,s=!c.isPresent(i)&&!t.shiftKey;(o||s)&&(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(a.DialogTitleBarComponent),i.__metadata("design:type",a.DialogTitleBarComponent)],e.prototype,"titlebarContent",void 0),i.__decorate([o.ViewChild(a.DialogTitleBarComponent),i.__metadata("design:type",a.DialogTitleBarComponent)],e.prototype,"titlebarView",void 0),i.__decorate([o.ViewChild(s.DialogActionsComponent),i.__metadata("design:type",s.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=o},function(e,t){e.exports=r},function(e,t){e.exports=n},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=i},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 s,a=function(e){return String(e).trim().split(" ")},d=/^(?:a|input|select|textarea|button|object)$/i;(s=r.Keys||(r.Keys={}))[s.esc=27]="esc",s[s.tab=9]="tab",s[s.enter=13]="enter",s[s.space=32]="space",s[s.ctrl=17]="ctrl",s[s.shift=16]="shift",s[s.left=37]="left",s[s.up=38]="up",s[s.right=39]="right",s[s.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=a(t);return Boolean(a(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=l},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 s=new c.Subject,a=function(e){s.next(e||new g.DialogCloseResult),o.componentRef&&o.componentRef.destroy(),r.destroy()},d=p.merge(s,r.instance.close,r.instance.action).pipe(l.take(1));return d.subscribe(a),i.close=a,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 s=new h(function(){return n},t.injector),a=this.resolver.resolveComponentFactory(e);o=[(r=t.createComponent(a,void 0,s)).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=s},function(e,t){e.exports=a},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),a=n(3),o=n(7),d=n(19),r=n(20),s=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 s=this;this.el=e,this.renderer=t,this.service=n,this.navigation=i,this.ngZone=o,this.keepContent=!1,this.dragStart=new a.EventEmitter,this.dragEnd=new a.EventEmitter,this.resizeStart=new a.EventEmitter,this.resizeEnd=new a.EventEmitter,this.close=new a.EventEmitter,this.widthChange=new a.EventEmitter,this.heightChange=new a.EventEmitter,this.topChange=new a.EventEmitter,this.leftChange=new a.EventEmitter,this.stateChange=new a.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 s.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(s.OFFSET_STYLES.forEach(function(e){s.isChanged(e,t)&&n.setStyle(e,n.options[e])}),s.isChanged("draggable",t)){var e=s.isPresent(this.titleBarContent)?this.titleBarContent:this.titleBarView;s.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;s.isPresent(e)&&e.focus()},e.prototype.setDimension=function(e,t){this.setOption(e,t),this.setStyle(e,t)},e.prototype.setOffset=function(e,t){this.setOption(e,t),this.setStyle(e,t)},Object.defineProperty(e.prototype,"showDefaultTitleBar",{get:function(){return!s.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){s.hasClasses(e.target,s.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){s.OFFSET_STYLES.forEach(function(e){if(s.isPresent(n[e])&&(i.setStyle(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(),s.isPresent(this.left)&&s.isPresent(this.top)||this.service.center();else{var e=this.service.windowViewPort;this.setStyle("width",e.width),this.setStyle("height",e.height),this.setStyle("top",0),this.setStyle("left",0)}},e.prototype.updateAllOffset=function(){var t=this;s.OFFSET_STYLES.forEach(function(e){s.isPresent(t[e])?t.setStyle(e,t[e]):t.removeStyle(e)})},e.prototype.setStyle=function(e,t){this.renderer.setStyle(this.el.nativeElement,e,t+"px")},e.prototype.removeStyle=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([a.Input(),i.__metadata("design:type",String)],e.prototype,"title",void 0),i.__decorate([a.Input(),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[Boolean])],e.prototype,"draggable",null),i.__decorate([a.Input(),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[Boolean])],e.prototype,"resizable",null),i.__decorate([a.Input(),i.__metadata("design:type",Boolean)],e.prototype,"keepContent",void 0),i.__decorate([a.Input(),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[String])],e.prototype,"state",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"minWidth",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"minHeight",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"width",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"height",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"top",null),i.__decorate([a.Input(),i.__metadata("design:type",Number),i.__metadata("design:paramtypes",[Number])],e.prototype,"left",null),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"dragStart",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"dragEnd",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"resizeStart",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"resizeEnd",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"close",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"widthChange",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"heightChange",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"topChange",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"leftChange",void 0),i.__decorate([a.Output(),i.__metadata("design:type",a.EventEmitter)],e.prototype,"stateChange",void 0),i.__decorate([a.HostBinding("attr.tabIndex"),i.__metadata("design:type",Number)],e.prototype,"tabIndex",void 0),i.__decorate([a.HostBinding("class.k-widget"),a.HostBinding("class.k-window"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"hostClasses",null),i.__decorate([a.HostBinding("attr.dir"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"dir",null),i.__decorate([a.ViewChild(l.WindowTitleBarComponent),i.__metadata("design:type",l.WindowTitleBarComponent)],e.prototype,"titleBarView",void 0),i.__decorate([a.ContentChild(l.WindowTitleBarComponent),i.__metadata("design:type",l.WindowTitleBarComponent)],e.prototype,"titleBarContent",void 0),i.__decorate([a.ViewChildren(p.ResizeHandleDirective),i.__metadata("design:type",a.QueryList)],e.prototype,"resizeHandles",void 0),i.__decorate([a.HostBinding("class.k-window-wrapper"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"windowClasses",null),i.__decorate([a.HostBinding("style.minWidth"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"styleMinWidth",null),i.__decorate([a.HostBinding("style.minHeight"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"styleMinHeight",null),i.__decorate([a.HostBinding("style.position"),i.__metadata("design:type",String),i.__metadata("design:paramtypes",[])],e.prototype,"stylePosition",null),i.__decorate([a.HostBinding("class.k-window-maximized"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"wrapperMaximizedClass",null),i.__decorate([a.HostBinding("class.k-state-focused"),i.__metadata("design:type",Boolean),i.__metadata("design:paramtypes",[])],e.prototype,"wrapperFocusedClass",null),i.__decorate([a.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([a.HostListener("focus"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentFocus",null),i.__decorate([a.HostListener("blur"),i.__metadata("design:type",Function),i.__metadata("design:paramtypes",[]),i.__metadata("design:returntype",void 0)],e.prototype,"onComponentBlur",null),e=i.__decorate([a.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",[a.ElementRef,a.Renderer2,r.DragResizeService,u.NavigationService,a.NgZone,o.LocalizationService])],e)}();t.WindowComponent=g},function(e,t){e.exports=c},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),s=n(22),u=n(23),a=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(a.takeUntil(e.kendo.release.pipe(l.tap(function(){t.emit()}))),s.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,"default"!==this.options.state&&(this.restoreOptions=Object.assign({},this.options)),"minimized"===this.options.state&&(this.options.height=0,this.options.minHeight=0)},e.prototype.onDrag=function(e){var a=this;this.subscriptions.add(this.ngZone.runOutsideAngular(function(){var r,s;a.dragSubscription=e.kendo.press.pipe(l.tap(function(e){"touchstart"!==e.type&&g.preventDefault(e),a.focus.emit(),r=a.currentPosition(),s=!1}),u.switchMap(g.preventOnDblClick(e.kendo.release)),u.switchMap(h(e,a.dragEnd))).subscribe(function(e){var t=e.pageX,n=e.pageY,i=e.originalX,o=e.originalY;s||(a.ensureWidth(),a.dragStart.emit(),s=!0),a.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 a,d=!1;e.kendo.press.pipe(l.tap(function(e){g.preventDefault(e),p.focus.emit(),a=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,s=n-o;p.handleResize(a,c,r,s)})}))},e.prototype.handleResize=function(e,t,n,i){var o=this,r=this.options,s={};0<=t.indexOf("e")&&((c=e.width+n)!==r.width&&c>=r.minWidth&&(s.width=c));if(0<=t.indexOf("n")){var a=e.height-i,d=e.y+i;a!==r.height&&a>=r.minHeight&&d!==r.top&&(s.height=a,s.top=d)}0<=t.indexOf("s")&&((a=e.height+i)!==r.height&&a>=r.minHeight&&(s.height=a));if(0<=t.indexOf("w")){var c,p=e.x+n;(c=e.width-n)!==r.width&&c>=r.minWidth&&p!==r.left&&(s.width=c,s.left=p)}(g.isPresent(s.width)||g.isPresent(s.height))&&(g.OFFSET_STYLES.forEach(function(e){g.isPresent(s[e])&&(o.options[e]=s[e])}),this.change.emit(s))},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=h},function(e,t){e.exports=f},function(e,t){e.exports=m},function(e,t){e.exports=_},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(26),s=n(20),a=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 a.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,s.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),s=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=s},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),s=n(20),a=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(){var e=this.service.options;this.dragDirective=new r.DraggableDirective(this.el,this.ngZone),this.dragDirective.ngOnInit(),e.draggable&&"maximized"!==e.state&&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=a.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,s.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),s=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(),s={},a=10;switch(e!==d.Keys.left&&e!==d.Keys.up||(a*=-1),e){case d.Keys.left:case d.Keys.right:(t=r.width+a)!==o.width&&t>=o.minWidth&&(s.width=t);break;case d.Keys.up:case d.Keys.down:(n=r.height+a)!==o.height&&n>=o.minHeight&&(s.height=n)}(d.isPresent(s.width)||d.isPresent(s.height))&&(d.OFFSET_STYLES.forEach(function(e){d.isPresent(s[e])&&(i.window.options[e]=s[e])}),this.window.change.emit(s))},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=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),s=n(20),r=n(31),a=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:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowMaximizeAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,s.DragResizeService,a.LocalizationService])],e)}(r.Button);t.WindowMaximizeActionDirective=d},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),s=n(20),r=n(31),a=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:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowMinimizeAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,s.DragResizeService,a.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),s=n(20),a=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:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowCloseAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,s.DragResizeService,a.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),s=n(20),r=n(31),a=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:[a.LocalizationService,{provide:a.L10N_PREFIX,useValue:"kendo.button"}],selector:"button[kendoWindowRestoreAction]"}),i.__param(2,o.Optional()),i.__metadata("design:paramtypes",[o.ElementRef,o.Renderer2,s.DragResizeService,a.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}(),s=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 s=new l.Subject,a=function(e){s.next(e||new c.WindowCloseResult),o.componentRef&&o.componentRef.destroy(),r.destroy()},d=u.merge(s,r.instance.close).pipe(g.take(1));return d.subscribe(a),i.close=a,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 s=new h(function(){return n},t.injector),a=this.resolver.resolveComponentFactory(e);o=[(r=t.createComponent(a,void 0,s)).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=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.WindowContainerService=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(1),s=n(6),a=n(12),d=n(39),c=n(16),p=n(40);t.DIALOG_DIRECTIVES=[r.DialogComponent,s.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,a.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),s=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=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(41),s=n(5);t.SHARED_DIRECTIVES=[s.DialogActionsComponent];var a=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=a},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),s=n(28),a=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),_=[a.DraggableDirective,d.ResizeHandleDirective,r.WindowComponent,s.WindowTitleBarComponent,l.WindowCloseActionDirective,p.WindowMinimizeActionDirective,c.WindowMaximizeActionDirective,u.WindowRestoreActionDirective],y=[r.WindowComponent,s.WindowTitleBarComponent],b=[r.WindowComponent,l.WindowCloseActionDirective,p.WindowMinimizeActionDirective,c.WindowMaximizeActionDirective,u.WindowRestoreActionDirective,s.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),s=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=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(2),o=n(3),r=n(38),s=n(42),a=function(){function e(){}return e=i.__decorate([o.NgModule({exports:[r.DialogModule,s.WindowModule]})],e)}();t.DialogsModule=a}])}}});

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

"license": "SEE LICENSE in LICENSE.md",
"version": "3.8.0-dev.201810182212",
"version": "3.8.0",
"main": "dist/npm/index.js",

@@ -9,0 +9,0 @@ "module": "dist/es/index.js",

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