@progress/kendo-angular-common
Advanced tools
Comparing version 1.1.1-dev.201911111506 to 1.1.1-dev.201911111516
@@ -1,5 +0,1 @@ | ||
/**----------------------------------------------------------------------------------------- | ||
* Copyright © 2019 Progress Software Corporation. All rights reserved. | ||
* Licensed under commercial license. See LICENSE.md in the project root for more information | ||
*-------------------------------------------------------------------------------------------*/ | ||
System.register("@progress/kendo-angular-common",["tslib","@angular/core","@telerik/kendo-draggable","@angular/common","rxjs","rxjs/operators"],function(s){var o,a,u,c,d,l;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){a=t(e)},function(e){u=t(e)},function(e){c=t(e)},function(e){d=t(e)},function(e){l=t(e)}],execute:function(){function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var i,r;r={},n.m=i=[function(e,t){e.exports=o},function(e,t){e.exports=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(3),o=(a.prototype.schedule=function(e,t){var i=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){i.subscription=s.from(i.resolvedPromise).subscribe(i.flush)})},a.prototype.isScheduled=function(t){return Boolean(this.scheduled.find(function(e){return e.instance===t}))},a.prototype.cancel=function(e){for(var t=this.scheduled,i=t.length,n=0;n<i;n++)if(t[n].instance===e)return t.splice(n,1),void(t.length||this.unsubscribe())},a.prototype.ngOnDestroy=function(){this.unsubscribe()},a.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},a.prototype.flush=function(){this.scheduled.forEach(function(e){e.method.call(e.instance)}),this.scheduled=[],this.unsubscribe()},n.__decorate([r.Injectable(),n.__metadata("design:paramtypes",[r.NgZone])],a));function a(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}t.ResizeBatchService=o},function(e,t){e.exports=d},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(3),o=i(13),a=i(2),u="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",c=(d.prototype.ngAfterViewInit=function(){var n=this;this.zone.runOutsideAngular(function(){var e=n.scroll.bind(n),t=n.renderer.listen(n.expand.nativeElement,"scroll",e),i=n.renderer.listen(n.shrink.nativeElement,"scroll",e);n.detachScrollHandlers=function(){t(),i()}})},d.prototype.ngAfterViewChecked=function(){"undefined"!=typeof document&&(2!==this.state?0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init)):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.scroll))},d.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.detachScrollHandlers&&this.detachScrollHandlers(),this.resizeBatchService.cancel(this)},d.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},d.prototype.scroll=function(e){var t=this;if(this.parentElement){var i=this.measure(),n=i.width,r=i.height;n===this.lastWidth&&r===this.lastHeight||(this.lastWidth=n,this.lastHeight=r,this.acceptedSize=!1,this.zone.runOutsideAngular(function(){t.source.next()}),this.reset())}},d.prototype.init=function(){var e,t=this,i=1e3/(this.rateLimit||10);this.subscription=this.source.asObservable().pipe(o.auditTime(i)).subscribe(function(){t.acceptedSize||t.resize.emit()}),this.parentElement=this.element.nativeElement.parentElement,"static"===(e=this.parentElement,getComputedStyle(e,null).getPropertyValue("position"))&&(this.parentElement.style.position="relative"),this.reset(),this.lastWidth=this.parentElement.offsetWidth,this.lastHeight=this.parentElement.offsetHeight,this.state=2},d.prototype.reset=function(){var e=this.expandChild.nativeElement;e.style.width=1e5+"px",e.style.height=1e5+"px";var t=this.expand.nativeElement;t.scrollLeft=1e5,t.scrollTop=1e5;var i=this.shrink.nativeElement;i.scrollLeft=1e5,i.scrollTop=1e5},d.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},n.__decorate([r.Input(),n.__metadata("design:type",Number)],d.prototype,"rateLimit",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],d.prototype,"resize",void 0),n.__decorate([r.HostBinding("attr.dir"),n.__metadata("design:type",String)],d.prototype,"dir",void 0),n.__decorate([r.ViewChild("expand"),n.__metadata("design:type",r.ElementRef)],d.prototype,"expand",void 0),n.__decorate([r.ViewChild("expandChild"),n.__metadata("design:type",r.ElementRef)],d.prototype,"expandChild",void 0),n.__decorate([r.ViewChild("shrink"),n.__metadata("design:type",r.ElementRef)],d.prototype,"shrink",void 0),n.__decorate([r.Component({selector:"kendo-resize-sensor",styles:[":host { "+u+" }"],template:'<div #expand style="'+u+'"> <div #expandChild style="position: absolute; left: 0; top: 0; transition: 0s;"></div></div><div #shrink style="'+u+'"> <div style="position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;"></div></div>'}),n.__metadata("design:paramtypes",[a.ResizeBatchService,r.ElementRef,r.NgZone,r.Renderer2])],d));function d(e,t,i,n){this.resizeBatchService=e,this.element=t,this.zone=i,this.renderer=n,this.rateLimit=10,this.resize=new r.EventEmitter,this.dir="ltr",this.source=new s.Subject,this.state=0,this.acceptedSize=!1}t.ResizeSensorComponent=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=(o.prototype.ngOnInit=function(){var t=this;if(this.element&&this.element.nativeElement){var i=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var e in i)i.hasOwnProperty(e)&&t.subscriptions.push(t.renderer.listen(t.element.nativeElement,e,t.scope?i[e].bind(t.scope):i[e]))})}},o.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},n.__decorate([r.Input("kendoEventsOutsideAngular"),n.__metadata("design:type",Object)],o.prototype,"events",void 0),n.__decorate([r.Input(),n.__metadata("design:type",Object)],o.prototype,"scope",void 0),n.__decorate([r.Directive({selector:"[kendoEventsOutsideAngular]"}),n.__metadata("design:paramtypes",[r.ElementRef,r.NgZone,r.Renderer2])],o));function o(e,t,i){this.element=e,this.ngZone=t,this.renderer=i,this.events={}}t.EventsOutsideAngularDirective=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isChanged=function(e,t,i){return void 0===i&&(i=!0),!(void 0===t[e]||t[e].isFirstChange()&&i||t[e].previousValue===t[e].currentValue)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(23);t.isDocumentAvailable=n.isDocumentAvailable;var r=i(6);t.isChanged=r.isChanged;var s=i(22);t.anyChanged=s.anyChanged;var o=i(21);t.hasObservers=o.hasObservers;var a=i(20);t.guid=a.guid},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(7),o=i(19),a=(u.prototype.ngOnInit=function(){this.toggleDraggable()},u.prototype.ngOnChanges=function(e){s.isChanged("enableDrag",e)&&this.toggleDraggable()},u.prototype.ngOnDestroy=function(){this.destroyDraggable()},u.prototype.toggleDraggable=function(){var t=this;s.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new o.default({drag:function(e){return t.kendoDrag.next(e)},press:function(e){return t.kendoPress.next(e)},release:function(e){return t.kendoRelease.next(e)}}),this.ngZone.runOutsideAngular(function(){return t.draggable.bindTo(t.element.nativeElement)})))},u.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},n.__decorate([r.Input(),n.__metadata("design:type",Boolean)],u.prototype,"enableDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoPress",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoRelease",void 0),n.__decorate([r.Directive({selector:"[kendoDraggable]"}),n.__metadata("design:paramtypes",[r.ElementRef,r.NgZone])],u));function u(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new r.EventEmitter,this.kendoDrag=new r.EventEmitter,this.kendoRelease=new r.EventEmitter}t.DraggableDirective=a},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),(n=t.Keys||(t.Keys={}))[n.Alt=18]="Alt",n[n.ArrowDown=40]="ArrowDown",n[n.ArrowLeft=37]="ArrowLeft",n[n.ArrowRight=39]="ArrowRight",n[n.ArrowUp=38]="ArrowUp",n[n.Backspace=8]="Backspace",n[n.Control=17]="Control",n[n.Delete=46]="Delete",n[n.Digit0=48]="Digit0",n[n.Digit1=49]="Digit1",n[n.Digit2=50]="Digit2",n[n.Digit3=51]="Digit3",n[n.Digit4=52]="Digit4",n[n.Digit5=53]="Digit5",n[n.Digit6=54]="Digit6",n[n.Digit7=55]="Digit7",n[n.Digit8=56]="Digit8",n[n.Digit9=57]="Digit9",n[n.End=35]="End",n[n.Enter=13]="Enter",n[n.Escape=27]="Escape",n[n.F1=112]="F1",n[n.F2=113]="F2",n[n.F10=121]="F10",n[n.Home=36]="Home",n[n.Insert=45]="Insert",n[n.KeyA=65]="KeyA",n[n.KeyB=66]="KeyB",n[n.KeyC=67]="KeyC",n[n.KeyD=68]="KeyD",n[n.KeyE=69]="KeyE",n[n.KeyF=70]="KeyF",n[n.KeyG=71]="KeyG",n[n.KeyH=72]="KeyH",n[n.KeyI=73]="KeyI",n[n.KeyJ=74]="KeyJ",n[n.KeyK=75]="KeyK",n[n.KeyL=76]="KeyL",n[n.KeyM=77]="KeyM",n[n.KeyN=78]="KeyN",n[n.KeyO=79]="KeyO",n[n.KeyP=80]="KeyP",n[n.KeyQ=81]="KeyQ",n[n.KeyR=82]="KeyR",n[n.KeyS=83]="KeyS",n[n.KeyT=84]="KeyT",n[n.KeyU=85]="KeyU",n[n.KeyV=86]="KeyV",n[n.KeyW=87]="KeyW",n[n.KeyX=88]="KeyX",n[n.KeyY=89]="KeyY",n[n.KeyZ=90]="KeyZ",n[n.NumpadDecimal=110]="NumpadDecimal",n[n.PageDown=34]="PageDown",n[n.PageUp=33]="PageUp",n[n.Shift=16]="Shift",n[n.Space=32]="Space",n[n.Tab=9]="Tab"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(9);t.Keys=n.Keys},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(){}t.KendoInput=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(4),o=i(2),a=[s.ResizeSensorComponent],u=n.__decorate([r.NgModule({declarations:[a],exports:[a],providers:[o.ResizeBatchService]})],c);function c(){}t.ResizeSensorModule=u},function(e,t){e.exports=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(4);t.ResizeSensorComponent=n.ResizeSensorComponent;var r=i(2);t.ResizeBatchService=r.ResizeBatchService;var s=i(12);t.ResizeSensorModule=s.ResizeSensorModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(5),o=n.__decorate([r.NgModule({declarations:[s.EventsOutsideAngularDirective],exports:[s.EventsOutsideAngularDirective]})],a);function a(){}t.EventsModule=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(5);t.EventsOutsideAngularDirective=n.EventsOutsideAngularDirective;var r=i(15);t.EventsModule=r.EventsModule},function(e,t){e.exports=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(8),o=i(17),a=n.__decorate([r.NgModule({declarations:[s.DraggableDirective],exports:[s.DraggableDirective],imports:[o.CommonModule]})],u);function u(){}t.DraggableModule=a},function(e,t){e.exports=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=function(){for(var e="",t=0;t<32;t++){var i=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&i|8:i).toString(16)}return e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasObservers=function(e){return e&&0<e.observers.length}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(6);t.anyChanged=function(e,t,i){return void 0===i&&(i=!0),e.some(function(e){return n.isChanged(e,t,i)})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDocumentAvailable=function(){return"undefined"!=typeof document}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(8);t.DraggableDirective=n.DraggableDirective;var r=i(18);t.DraggableModule=r.DraggableModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0);n.__exportStar(i(24),t),n.__exportStar(i(16),t),n.__exportStar(i(14),t),n.__exportStar(i(11),t),n.__exportStar(i(7),t),n.__exportStar(i(10),t),function(e){for(var t in e)s(t,e[t])}(t)}],n.c=r,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=25)}}}); | ||
System.register("@progress/kendo-angular-common",["tslib","@angular/core","@telerik/kendo-draggable","@angular/common","rxjs/operators","rxjs"],function(s){var o,a,u,c,d,l;function t(e){return e.__useDefault?e.default:e}return{setters:[function(e){o=t(e)},function(e){a=t(e)},function(e){u=t(e)},function(e){c=t(e)},function(e){d=t(e)},function(e){l=t(e)}],execute:function(){function n(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return i[e].call(t.exports,t,t.exports,n),t.l=!0,t.exports}var i,r;r={},n.m=i=[function(e,t){e.exports=o},function(e,t){e.exports=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(3),o=(a.prototype.schedule=function(e,t){var i=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){i.subscription=s.from(i.resolvedPromise).subscribe(i.flush)})},a.prototype.isScheduled=function(t){return Boolean(this.scheduled.find(function(e){return e.instance===t}))},a.prototype.cancel=function(e){for(var t=this.scheduled,i=t.length,n=0;n<i;n++)if(t[n].instance===e)return t.splice(n,1),void(t.length||this.unsubscribe())},a.prototype.ngOnDestroy=function(){this.unsubscribe()},a.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},a.prototype.flush=function(){this.scheduled.forEach(function(e){e.method.call(e.instance)}),this.scheduled=[],this.unsubscribe()},n.__decorate([r.Injectable(),n.__metadata("design:paramtypes",[r.NgZone])],a));function a(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}t.ResizeBatchService=o},function(e,t){e.exports=l},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(3),o=i(13),a=i(2),u="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",c=(d.prototype.ngAfterViewInit=function(){var n=this;this.zone.runOutsideAngular(function(){var e=n.scroll.bind(n),t=n.renderer.listen(n.expand.nativeElement,"scroll",e),i=n.renderer.listen(n.shrink.nativeElement,"scroll",e);n.detachScrollHandlers=function(){t(),i()}})},d.prototype.ngAfterViewChecked=function(){"undefined"!=typeof document&&(2!==this.state?0===this.state&&(this.state=1,this.resizeBatchService.schedule(this,this.init)):this.resizeBatchService.isScheduled(this)||this.resizeBatchService.schedule(this,this.scroll))},d.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.detachScrollHandlers&&this.detachScrollHandlers(),this.resizeBatchService.cancel(this)},d.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},d.prototype.scroll=function(e){var t=this;if(this.parentElement){var i=this.measure(),n=i.width,r=i.height;n===this.lastWidth&&r===this.lastHeight||(this.lastWidth=n,this.lastHeight=r,this.acceptedSize=!1,this.zone.runOutsideAngular(function(){t.source.next()}),this.reset())}},d.prototype.init=function(){var e,t=this,i=1e3/(this.rateLimit||10);this.subscription=this.source.asObservable().pipe(o.auditTime(i)).subscribe(function(){t.acceptedSize||t.resize.emit()}),this.parentElement=this.element.nativeElement.parentElement,"static"===(e=this.parentElement,getComputedStyle(e,null).getPropertyValue("position"))&&(this.parentElement.style.position="relative"),this.reset(),this.lastWidth=this.parentElement.offsetWidth,this.lastHeight=this.parentElement.offsetHeight,this.state=2},d.prototype.reset=function(){var e=this.expandChild.nativeElement;e.style.width=1e5+"px",e.style.height=1e5+"px";var t=this.expand.nativeElement;t.scrollLeft=1e5,t.scrollTop=1e5;var i=this.shrink.nativeElement;i.scrollLeft=1e5,i.scrollTop=1e5},d.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},n.__decorate([r.Input(),n.__metadata("design:type",Number)],d.prototype,"rateLimit",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],d.prototype,"resize",void 0),n.__decorate([r.HostBinding("attr.dir"),n.__metadata("design:type",String)],d.prototype,"dir",void 0),n.__decorate([r.ViewChild("expand"),n.__metadata("design:type",r.ElementRef)],d.prototype,"expand",void 0),n.__decorate([r.ViewChild("expandChild"),n.__metadata("design:type",r.ElementRef)],d.prototype,"expandChild",void 0),n.__decorate([r.ViewChild("shrink"),n.__metadata("design:type",r.ElementRef)],d.prototype,"shrink",void 0),n.__decorate([r.Component({selector:"kendo-resize-sensor",styles:[":host { "+u+" }"],template:'<div #expand style="'+u+'"> <div #expandChild style="position: absolute; left: 0; top: 0; transition: 0s;"></div></div><div #shrink style="'+u+'"> <div style="position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;"></div></div>'}),n.__metadata("design:paramtypes",[a.ResizeBatchService,r.ElementRef,r.NgZone,r.Renderer2])],d));function d(e,t,i,n){this.resizeBatchService=e,this.element=t,this.zone=i,this.renderer=n,this.rateLimit=10,this.resize=new r.EventEmitter,this.dir="ltr",this.source=new s.Subject,this.state=0,this.acceptedSize=!1}t.ResizeSensorComponent=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=(o.prototype.ngOnInit=function(){var t=this;if(this.element&&this.element.nativeElement){var i=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var e in i)i.hasOwnProperty(e)&&t.subscriptions.push(t.renderer.listen(t.element.nativeElement,e,t.scope?i[e].bind(t.scope):i[e]))})}},o.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},n.__decorate([r.Input("kendoEventsOutsideAngular"),n.__metadata("design:type",Object)],o.prototype,"events",void 0),n.__decorate([r.Input(),n.__metadata("design:type",Object)],o.prototype,"scope",void 0),n.__decorate([r.Directive({selector:"[kendoEventsOutsideAngular]"}),n.__metadata("design:paramtypes",[r.ElementRef,r.NgZone,r.Renderer2])],o));function o(e,t,i){this.element=e,this.ngZone=t,this.renderer=i,this.events={}}t.EventsOutsideAngularDirective=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isChanged=function(e,t,i){return void 0===i&&(i=!0),!(void 0===t[e]||t[e].isFirstChange()&&i||t[e].previousValue===t[e].currentValue)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(23);t.isDocumentAvailable=n.isDocumentAvailable;var r=i(6);t.isChanged=r.isChanged;var s=i(22);t.anyChanged=s.anyChanged;var o=i(21);t.hasObservers=o.hasObservers;var a=i(20);t.guid=a.guid},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(7),o=i(19),a=(u.prototype.ngOnInit=function(){this.toggleDraggable()},u.prototype.ngOnChanges=function(e){s.isChanged("enableDrag",e)&&this.toggleDraggable()},u.prototype.ngOnDestroy=function(){this.destroyDraggable()},u.prototype.toggleDraggable=function(){var t=this;s.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new o.default({drag:function(e){return t.kendoDrag.next(e)},press:function(e){return t.kendoPress.next(e)},release:function(e){return t.kendoRelease.next(e)}}),this.ngZone.runOutsideAngular(function(){return t.draggable.bindTo(t.element.nativeElement)})))},u.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},n.__decorate([r.Input(),n.__metadata("design:type",Boolean)],u.prototype,"enableDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoPress",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoRelease",void 0),n.__decorate([r.Directive({selector:"[kendoDraggable]"}),n.__metadata("design:paramtypes",[r.ElementRef,r.NgZone])],u));function u(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new r.EventEmitter,this.kendoDrag=new r.EventEmitter,this.kendoRelease=new r.EventEmitter}t.DraggableDirective=a},function(e,t,i){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),(n=t.Keys||(t.Keys={}))[n.Alt=18]="Alt",n[n.ArrowDown=40]="ArrowDown",n[n.ArrowLeft=37]="ArrowLeft",n[n.ArrowRight=39]="ArrowRight",n[n.ArrowUp=38]="ArrowUp",n[n.Backspace=8]="Backspace",n[n.Control=17]="Control",n[n.Delete=46]="Delete",n[n.Digit0=48]="Digit0",n[n.Digit1=49]="Digit1",n[n.Digit2=50]="Digit2",n[n.Digit3=51]="Digit3",n[n.Digit4=52]="Digit4",n[n.Digit5=53]="Digit5",n[n.Digit6=54]="Digit6",n[n.Digit7=55]="Digit7",n[n.Digit8=56]="Digit8",n[n.Digit9=57]="Digit9",n[n.End=35]="End",n[n.Enter=13]="Enter",n[n.Escape=27]="Escape",n[n.F1=112]="F1",n[n.F2=113]="F2",n[n.F10=121]="F10",n[n.Home=36]="Home",n[n.Insert=45]="Insert",n[n.KeyA=65]="KeyA",n[n.KeyB=66]="KeyB",n[n.KeyC=67]="KeyC",n[n.KeyD=68]="KeyD",n[n.KeyE=69]="KeyE",n[n.KeyF=70]="KeyF",n[n.KeyG=71]="KeyG",n[n.KeyH=72]="KeyH",n[n.KeyI=73]="KeyI",n[n.KeyJ=74]="KeyJ",n[n.KeyK=75]="KeyK",n[n.KeyL=76]="KeyL",n[n.KeyM=77]="KeyM",n[n.KeyN=78]="KeyN",n[n.KeyO=79]="KeyO",n[n.KeyP=80]="KeyP",n[n.KeyQ=81]="KeyQ",n[n.KeyR=82]="KeyR",n[n.KeyS=83]="KeyS",n[n.KeyT=84]="KeyT",n[n.KeyU=85]="KeyU",n[n.KeyV=86]="KeyV",n[n.KeyW=87]="KeyW",n[n.KeyX=88]="KeyX",n[n.KeyY=89]="KeyY",n[n.KeyZ=90]="KeyZ",n[n.NumpadDecimal=110]="NumpadDecimal",n[n.PageDown=34]="PageDown",n[n.PageUp=33]="PageUp",n[n.Shift=16]="Shift",n[n.Space=32]="Space",n[n.Tab=9]="Tab"},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(9);t.Keys=n.Keys},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function n(){}t.KendoInput=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(4),o=i(2),a=[s.ResizeSensorComponent],u=n.__decorate([r.NgModule({declarations:[a],exports:[a],providers:[o.ResizeBatchService]})],c);function c(){}t.ResizeSensorModule=u},function(e,t){e.exports=d},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(4);t.ResizeSensorComponent=n.ResizeSensorComponent;var r=i(2);t.ResizeBatchService=r.ResizeBatchService;var s=i(12);t.ResizeSensorModule=s.ResizeSensorModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(5),o=n.__decorate([r.NgModule({declarations:[s.EventsOutsideAngularDirective],exports:[s.EventsOutsideAngularDirective]})],a);function a(){}t.EventsModule=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(5);t.EventsOutsideAngularDirective=n.EventsOutsideAngularDirective;var r=i(15);t.EventsModule=r.EventsModule},function(e,t){e.exports=c},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),s=i(8),o=i(17),a=n.__decorate([r.NgModule({declarations:[s.DraggableDirective],exports:[s.DraggableDirective],imports:[o.CommonModule]})],u);function u(){}t.DraggableModule=a},function(e,t){e.exports=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=function(){for(var e="",t=0;t<32;t++){var i=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&i|8:i).toString(16)}return e}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasObservers=function(e){return e&&0<e.observers.length}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(6);t.anyChanged=function(e,t,i){return void 0===i&&(i=!0),e.some(function(e){return n.isChanged(e,t,i)})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDocumentAvailable=function(){return"undefined"!=typeof document}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(8);t.DraggableDirective=n.DraggableDirective;var r=i(18);t.DraggableModule=r.DraggableModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0);n.__exportStar(i(24),t),n.__exportStar(i(16),t),n.__exportStar(i(14),t),n.__exportStar(i(11),t),n.__exportStar(i(7),t),n.__exportStar(i(10),t),function(e){for(var t in e)s(t,e[t])}(t)}],n.c=r,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:i})},n.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=25)}}}); |
@@ -6,3 +6,3 @@ { | ||
"license": "SEE LICENSE in LICENSE.md", | ||
"version": "1.1.1-dev.201911111506", | ||
"version": "1.1.1-dev.201911111516", | ||
"main": "dist/npm/index.js", | ||
@@ -9,0 +9,0 @@ "module": "dist/fesm5/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
196626
3158