@progress/kendo-angular-common
Advanced tools
Comparing version 0.2.0-dev.201906171142 to 0.2.0-dev.201906200736
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"DraggableDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[kendoDraggable]"}]}],"members":{"enableDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":5}}]}],"kendoPress":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":11,"character":5}}]}],"kendoDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":5}}]}],"kendoRelease":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":13,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":17,"character":33},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":17,"character":61}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"toggleDraggable":[{"__symbolic":"method"}],"destroyDraggable":[{"__symbolic":"method"}]}},"DraggableModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":7,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"DraggableDirective"}],"exports":[{"__symbolic":"reference","name":"DraggableDirective"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":10,"character":14}]}]}],"members":{}},"EventsOutsideAngularDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":7,"character":1},"arguments":[{"selector":"[kendoEventsOutsideAngular]"}]}],"members":{"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":5},"arguments":["kendoEventsOutsideAngular"]}]}],"scope":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":19,"character":33},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":20,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":21,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"EventsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"EventsOutsideAngularDirective"}],"exports":[{"__symbolic":"reference","name":"EventsOutsideAngularDirective"}]}]}],"members":{}},"ResizeSensorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":43,"character":1},"arguments":[{"selector":"kendo-resize-sensor","styles":[":host { position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden; }"],"template":"<div #expand style=\"position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;\"> <div #expandChild style=\"position: absolute; left: 0; top: 0; transition: 0s;\"></div></div><div #shrink style=\"position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;\"> <div style=\"position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;\"></div></div>"}]}],"members":{"rateLimit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":5}}]}],"resize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":66,"character":5}}]}],"expand":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":72,"character":5},"arguments":["expand"]}]}],"expandChild":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":78,"character":5},"arguments":["expandChild"]}]}],"shrink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":84,"character":5},"arguments":["shrink"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ResizeBatchService"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":98,"character":33},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":99,"character":30},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":100,"character":34}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngAfterViewChecked":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"acceptSize":[{"__symbolic":"method"}],"scroll":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"measure":[{"__symbolic":"method"}]}},"ResizeBatchService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":8,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":14,"character":32}]}],"schedule":[{"__symbolic":"method"}],"isScheduled":[{"__symbolic":"method"}],"cancel":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"unsubscribe":[{"__symbolic":"method"}],"flush":[{"__symbolic":"method"}]}},"ResizeSensorModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[[{"__symbolic":"reference","name":"ResizeSensorComponent"}]],"exports":[[{"__symbolic":"reference","name":"ResizeSensorComponent"}]],"providers":[{"__symbolic":"reference","name":"ResizeBatchService"}]}]}],"members":{}},"KendoInput":{"__symbolic":"class","members":{}},"isDocumentAvailable":{"__symbolic":"error","message":"Lambda not supported","line":0,"character":35,"module":"./utils/is-document-available"},"isChanged":{"__symbolic":"error","message":"Lambda not supported","line":2,"character":25,"module":"./utils/is-changed"},"anyChanged":{"__symbolic":"error","message":"Lambda not supported","line":3,"character":26,"module":"./utils/any-changed"},"hasObservers":{"__symbolic":"error","message":"Lambda not supported","line":2,"character":28,"module":"./utils/has-observers"},"guid":{"__symbolic":"error","message":"Lambda not supported","line":0,"character":20,"module":"./utils/guid"},"Keys":{"Alt":18,"ArrowDown":40,"ArrowLeft":37,"ArrowRight":39,"ArrowUp":38,"Backspace":8,"Control":17,"Delete":46,"End":35,"Enter":13,"Escape":27,"F1":112,"F2":113,"F10":121,"Home":36,"Insert":45,"PageDown":34,"PageUp":33,"Shift":16,"Space":32,"Tab":9,"NumpadDecimal":110}},"origins":{"DraggableDirective":"./draggable/draggable.directive","DraggableModule":"./draggable/draggable.module","EventsOutsideAngularDirective":"./events/events-outside-angular.directive","EventsModule":"./events/events.module","ResizeSensorComponent":"./resize-sensor/resize-sensor.component","ResizeBatchService":"./resize-sensor/resize-batch.service","ResizeSensorModule":"./resize-sensor/resize-sensor.module","KendoInput":"./tokens","isDocumentAvailable":"./utils/is-document-available","isChanged":"./utils/is-changed","anyChanged":"./utils/any-changed","hasObservers":"./utils/has-observers","guid":"./utils/guid","Keys":"./enums/keys"},"importAs":"@progress/kendo-angular-grid"} | ||
{"__symbolic":"module","version":4,"metadata":{"DraggableDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":4,"character":1},"arguments":[{"selector":"[kendoDraggable]"}]}],"members":{"enableDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":8,"character":5}}]}],"kendoPress":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":11,"character":5}}]}],"kendoDrag":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":5}}]}],"kendoRelease":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":13,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":17,"character":33},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":17,"character":61}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"toggleDraggable":[{"__symbolic":"method"}],"destroyDraggable":[{"__symbolic":"method"}]}},"DraggableModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":7,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"DraggableDirective"}],"exports":[{"__symbolic":"reference","name":"DraggableDirective"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":10,"character":14}]}]}],"members":{}},"EventsOutsideAngularDirective":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":7,"character":1},"arguments":[{"selector":"[kendoEventsOutsideAngular]"}]}],"members":{"events":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":5},"arguments":["kendoEventsOutsideAngular"]}]}],"scope":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":5}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":19,"character":33},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":20,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":21,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"EventsModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":6,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"EventsOutsideAngularDirective"}],"exports":[{"__symbolic":"reference","name":"EventsOutsideAngularDirective"}]}]}],"members":{}},"ResizeSensorComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":43,"character":1},"arguments":[{"selector":"kendo-resize-sensor","styles":[":host { position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden; }"],"template":"<div #expand style=\"position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;\"> <div #expandChild style=\"position: absolute; left: 0; top: 0; transition: 0s;\"></div></div><div #shrink style=\"position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;\"> <div style=\"position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;\"></div></div>"}]}],"members":{"rateLimit":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":60,"character":5}}]}],"resize":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":66,"character":5}}]}],"expand":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":72,"character":5},"arguments":["expand"]}]}],"expandChild":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":78,"character":5},"arguments":["expandChild"]}]}],"shrink":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":84,"character":5},"arguments":["shrink"]}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ResizeBatchService"},{"__symbolic":"reference","module":"@angular/core","name":"ElementRef","line":98,"character":33},{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":99,"character":30},{"__symbolic":"reference","module":"@angular/core","name":"Renderer2","line":100,"character":34}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngAfterViewChecked":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"acceptSize":[{"__symbolic":"method"}],"scroll":[{"__symbolic":"method"}],"init":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"measure":[{"__symbolic":"method"}]}},"ResizeBatchService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":8,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/core","name":"NgZone","line":14,"character":32}]}],"schedule":[{"__symbolic":"method"}],"isScheduled":[{"__symbolic":"method"}],"cancel":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"unsubscribe":[{"__symbolic":"method"}],"flush":[{"__symbolic":"method"}]}},"ResizeSensorModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[[{"__symbolic":"reference","name":"ResizeSensorComponent"}]],"exports":[[{"__symbolic":"reference","name":"ResizeSensorComponent"}]],"providers":[{"__symbolic":"reference","name":"ResizeBatchService"}]}]}],"members":{}},"KendoInput":{"__symbolic":"class","members":{}},"isDocumentAvailable":{"__symbolic":"error","message":"Lambda not supported","line":0,"character":35,"module":"./utils/is-document-available"},"isChanged":{"__symbolic":"error","message":"Lambda not supported","line":2,"character":25,"module":"./utils/is-changed"},"anyChanged":{"__symbolic":"error","message":"Lambda not supported","line":3,"character":26,"module":"./utils/any-changed"},"hasObservers":{"__symbolic":"error","message":"Lambda not supported","line":2,"character":28,"module":"./utils/has-observers"},"guid":{"__symbolic":"error","message":"Lambda not supported","line":0,"character":20,"module":"./utils/guid"},"Keys":{"Alt":18,"ArrowDown":40,"ArrowLeft":37,"ArrowRight":39,"ArrowUp":38,"Backspace":8,"Control":17,"Delete":46,"End":35,"Enter":13,"Escape":27,"F1":112,"F2":113,"F10":121,"Home":36,"Insert":45,"PageDown":34,"PageUp":33,"Shift":16,"Space":32,"Tab":9,"NumpadDecimal":110}},"origins":{"DraggableDirective":"./draggable/draggable.directive","DraggableModule":"./draggable/draggable.module","EventsOutsideAngularDirective":"./events/events-outside-angular.directive","EventsModule":"./events/events.module","ResizeSensorComponent":"./resize-sensor/resize-sensor.component","ResizeBatchService":"./resize-sensor/resize-batch.service","ResizeSensorModule":"./resize-sensor/resize-sensor.module","KendoInput":"./tokens","isDocumentAvailable":"./utils/is-document-available","isChanged":"./utils/is-changed","anyChanged":"./utils/any-changed","hasObservers":"./utils/has-observers","guid":"./utils/guid","Keys":"./enums/keys"},"importAs":"@progress/kendo-angular-common"} |
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-angular-common",["tslib","@angular/core","@telerik/kendo-draggable","rxjs","rxjs/operators","@angular/common"],function(s){var o,a,u,c,l,d;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){l=t(e)},function(e){d=t(e)}],execute:function(){function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}var n,r;r={},i.m=n=[function(e,t){e.exports=o},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(3),o=(a.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){n.subscription=s.from(n.resolvedPromise).subscribe(n.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,n=t.length,i=0;i<n;i++)if(t[i].instance===e)return t.splice(i,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()},i.__decorate([r.Injectable(),i.__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=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(3),o=n(13),a=n(2),u="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",c=(l.prototype.ngAfterViewInit=function(){var i=this;this.zone.runOutsideAngular(function(){var e=i.scroll.bind(i),t=i.renderer.listen(i.expand.nativeElement,"scroll",e),n=i.renderer.listen(i.shrink.nativeElement,"scroll",e);i.detachScrollHandlers=function(){t(),n()}})},l.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))},l.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.detachScrollHandlers&&this.detachScrollHandlers(),this.resizeBatchService.cancel(this)},l.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},l.prototype.scroll=function(e){var t=this;if(this.parentElement){var n=this.measure(),i=n.width,r=n.height;i===this.lastWidth&&r===this.lastHeight||(this.lastWidth=i,this.lastHeight=r,this.acceptedSize=!1,this.zone.runOutsideAngular(function(){t.source.next()}),this.reset())}},l.prototype.init=function(){var e,t=this,n=1e3/(this.rateLimit||10);this.subscription=this.source.asObservable().pipe(o.auditTime(n)).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},l.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 n=this.shrink.nativeElement;n.scrollLeft=1e5,n.scrollTop=1e5},l.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},i.__decorate([r.Input(),i.__metadata("design:type",Number)],l.prototype,"rateLimit",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],l.prototype,"resize",void 0),i.__decorate([r.ViewChild("expand"),i.__metadata("design:type",r.ElementRef)],l.prototype,"expand",void 0),i.__decorate([r.ViewChild("expandChild"),i.__metadata("design:type",r.ElementRef)],l.prototype,"expandChild",void 0),i.__decorate([r.ViewChild("shrink"),i.__metadata("design:type",r.ElementRef)],l.prototype,"shrink",void 0),i.__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>'}),i.__metadata("design:paramtypes",[a.ResizeBatchService,r.ElementRef,r.NgZone,r.Renderer2])],l));function l(e,t,n,i){this.resizeBatchService=e,this.element=t,this.zone=n,this.renderer=i,this.rateLimit=10,this.resize=new r.EventEmitter,this.source=new s.Subject,this.state=0,this.acceptedSize=!1}t.ResizeSensorComponent=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=(o.prototype.ngOnInit=function(){var t=this;if(this.element&&this.element.nativeElement){var n=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var e in n)n.hasOwnProperty(e)&&t.subscriptions.push(t.renderer.listen(t.element.nativeElement,e,t.scope?n[e].bind(t.scope):n[e]))})}},o.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},i.__decorate([r.Input("kendoEventsOutsideAngular"),i.__metadata("design:type",Object)],o.prototype,"events",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],o.prototype,"scope",void 0),i.__decorate([r.Directive({selector:"[kendoEventsOutsideAngular]"}),i.__metadata("design:paramtypes",[r.ElementRef,r.NgZone,r.Renderer2])],o));function o(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}t.EventsOutsideAngularDirective=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isChanged=function(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(23);t.isDocumentAvailable=i.isDocumentAvailable;var r=n(6);t.isChanged=r.isChanged;var s=n(22);t.anyChanged=s.anyChanged;var o=n(21);t.hasObservers=o.hasObservers;var a=n(20);t.guid=a.guid},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(7),o=n(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)},i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],u.prototype,"enableDrag",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoPress",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoDrag",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoRelease",void 0),i.__decorate([r.Directive({selector:"[kendoDraggable]"}),i.__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,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),(i=t.Keys||(t.Keys={}))[i.Alt=18]="Alt",i[i.ArrowDown=40]="ArrowDown",i[i.ArrowLeft=37]="ArrowLeft",i[i.ArrowRight=39]="ArrowRight",i[i.ArrowUp=38]="ArrowUp",i[i.Backspace=8]="Backspace",i[i.Control=17]="Control",i[i.Delete=46]="Delete",i[i.End=35]="End",i[i.Enter=13]="Enter",i[i.Escape=27]="Escape",i[i.F1=112]="F1",i[i.F2=113]="F2",i[i.F10=121]="F10",i[i.Home=36]="Home",i[i.Insert=45]="Insert",i[i.PageDown=34]="PageDown",i[i.PageUp=33]="PageUp",i[i.Shift=16]="Shift",i[i.Space=32]="Space",i[i.Tab=9]="Tab",i[i.NumpadDecimal=110]="NumpadDecimal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9);t.Keys=i.Keys},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function i(){}t.KendoInput=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(4),o=n(2),a=[s.ResizeSensorComponent],u=i.__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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(4);t.ResizeSensorComponent=i.ResizeSensorComponent;var r=n(2);t.ResizeBatchService=r.ResizeBatchService;var s=n(12);t.ResizeSensorModule=s.ResizeSensorModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(5),o=i.__decorate([r.NgModule({declarations:[s.EventsOutsideAngularDirective],exports:[s.EventsOutsideAngularDirective]})],a);function a(){}t.EventsModule=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(5);t.EventsOutsideAngularDirective=i.EventsOutsideAngularDirective;var r=n(15);t.EventsModule=r.EventsModule},function(e,t){e.exports=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(8),o=n(17),a=i.__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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=function(){for(var e="",t=0;t<32;t++){var n=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&n|8:n).toString(16)}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasObservers=function(e){return e&&0<e.observers.length}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6);t.anyChanged=function(e,t,n){return void 0===n&&(n=!0),e.some(function(e){return i.isChanged(e,t,n)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDocumentAvailable=function(){return"undefined"!=typeof document}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(8);t.DraggableDirective=i.DraggableDirective;var r=n(18);t.DraggableModule=r.DraggableModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);i.__exportStar(n(24),t),i.__exportStar(n(16),t),i.__exportStar(n(14),t),i.__exportStar(n(11),t),i.__exportStar(n(7),t),i.__exportStar(n(10),t),function(e){for(var t in e)s(t,e[t])}(t)}],i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},i.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=25)}}}); | ||
System.register("@progress/kendo-angular-common",["tslib","@angular/core","@telerik/kendo-draggable","rxjs/operators","@angular/common","rxjs"],function(s){var o,a,u,c,l,d;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){l=t(e)},function(e){d=t(e)}],execute:function(){function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}var n,r;r={},i.m=n=[function(e,t){e.exports=o},function(e,t){e.exports=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(3),o=(a.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){n.subscription=s.from(n.resolvedPromise).subscribe(n.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,n=t.length,i=0;i<n;i++)if(t[i].instance===e)return t.splice(i,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()},i.__decorate([r.Injectable(),i.__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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(3),o=n(13),a=n(2),u="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",c=(l.prototype.ngAfterViewInit=function(){var i=this;this.zone.runOutsideAngular(function(){var e=i.scroll.bind(i),t=i.renderer.listen(i.expand.nativeElement,"scroll",e),n=i.renderer.listen(i.shrink.nativeElement,"scroll",e);i.detachScrollHandlers=function(){t(),n()}})},l.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))},l.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.detachScrollHandlers&&this.detachScrollHandlers(),this.resizeBatchService.cancel(this)},l.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},l.prototype.scroll=function(e){var t=this;if(this.parentElement){var n=this.measure(),i=n.width,r=n.height;i===this.lastWidth&&r===this.lastHeight||(this.lastWidth=i,this.lastHeight=r,this.acceptedSize=!1,this.zone.runOutsideAngular(function(){t.source.next()}),this.reset())}},l.prototype.init=function(){var e,t=this,n=1e3/(this.rateLimit||10);this.subscription=this.source.asObservable().pipe(o.auditTime(n)).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},l.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 n=this.shrink.nativeElement;n.scrollLeft=1e5,n.scrollTop=1e5},l.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},i.__decorate([r.Input(),i.__metadata("design:type",Number)],l.prototype,"rateLimit",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],l.prototype,"resize",void 0),i.__decorate([r.ViewChild("expand"),i.__metadata("design:type",r.ElementRef)],l.prototype,"expand",void 0),i.__decorate([r.ViewChild("expandChild"),i.__metadata("design:type",r.ElementRef)],l.prototype,"expandChild",void 0),i.__decorate([r.ViewChild("shrink"),i.__metadata("design:type",r.ElementRef)],l.prototype,"shrink",void 0),i.__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>'}),i.__metadata("design:paramtypes",[a.ResizeBatchService,r.ElementRef,r.NgZone,r.Renderer2])],l));function l(e,t,n,i){this.resizeBatchService=e,this.element=t,this.zone=n,this.renderer=i,this.rateLimit=10,this.resize=new r.EventEmitter,this.source=new s.Subject,this.state=0,this.acceptedSize=!1}t.ResizeSensorComponent=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=(o.prototype.ngOnInit=function(){var t=this;if(this.element&&this.element.nativeElement){var n=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var e in n)n.hasOwnProperty(e)&&t.subscriptions.push(t.renderer.listen(t.element.nativeElement,e,t.scope?n[e].bind(t.scope):n[e]))})}},o.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},i.__decorate([r.Input("kendoEventsOutsideAngular"),i.__metadata("design:type",Object)],o.prototype,"events",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],o.prototype,"scope",void 0),i.__decorate([r.Directive({selector:"[kendoEventsOutsideAngular]"}),i.__metadata("design:paramtypes",[r.ElementRef,r.NgZone,r.Renderer2])],o));function o(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}t.EventsOutsideAngularDirective=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isChanged=function(e,t,n){return void 0===n&&(n=!0),!(void 0===t[e]||t[e].isFirstChange()&&n||t[e].previousValue===t[e].currentValue)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(23);t.isDocumentAvailable=i.isDocumentAvailable;var r=n(6);t.isChanged=r.isChanged;var s=n(22);t.anyChanged=s.anyChanged;var o=n(21);t.hasObservers=o.hasObservers;var a=n(20);t.guid=a.guid},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(7),o=n(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)},i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],u.prototype,"enableDrag",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoPress",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoDrag",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],u.prototype,"kendoRelease",void 0),i.__decorate([r.Directive({selector:"[kendoDraggable]"}),i.__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,n){"use strict";var i;Object.defineProperty(t,"__esModule",{value:!0}),(i=t.Keys||(t.Keys={}))[i.Alt=18]="Alt",i[i.ArrowDown=40]="ArrowDown",i[i.ArrowLeft=37]="ArrowLeft",i[i.ArrowRight=39]="ArrowRight",i[i.ArrowUp=38]="ArrowUp",i[i.Backspace=8]="Backspace",i[i.Control=17]="Control",i[i.Delete=46]="Delete",i[i.End=35]="End",i[i.Enter=13]="Enter",i[i.Escape=27]="Escape",i[i.F1=112]="F1",i[i.F2=113]="F2",i[i.F10=121]="F10",i[i.Home=36]="Home",i[i.Insert=45]="Insert",i[i.PageDown=34]="PageDown",i[i.PageUp=33]="PageUp",i[i.Shift=16]="Shift",i[i.Space=32]="Space",i[i.Tab=9]="Tab",i[i.NumpadDecimal=110]="NumpadDecimal"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(9);t.Keys=i.Keys},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});function i(){}t.KendoInput=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(4),o=n(2),a=[s.ResizeSensorComponent],u=i.__decorate([r.NgModule({declarations:[a],exports:[a],providers:[o.ResizeBatchService]})],c);function c(){}t.ResizeSensorModule=u},function(e,t){e.exports=c},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(4);t.ResizeSensorComponent=i.ResizeSensorComponent;var r=n(2);t.ResizeBatchService=r.ResizeBatchService;var s=n(12);t.ResizeSensorModule=s.ResizeSensorModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(5),o=i.__decorate([r.NgModule({declarations:[s.EventsOutsideAngularDirective],exports:[s.EventsOutsideAngularDirective]})],a);function a(){}t.EventsModule=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(5);t.EventsOutsideAngularDirective=i.EventsOutsideAngularDirective;var r=n(15);t.EventsModule=r.EventsModule},function(e,t){e.exports=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),s=n(8),o=n(17),a=i.__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,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.guid=function(){for(var e="",t=0;t<32;t++){var n=16*Math.random()|0;8!==t&&12!==t&&16!==t&&20!==t||(e+="-"),e+=(12===t?4:16===t?3&n|8:n).toString(16)}return e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasObservers=function(e){return e&&0<e.observers.length}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6);t.anyChanged=function(e,t,n){return void 0===n&&(n=!0),e.some(function(e){return i.isChanged(e,t,n)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isDocumentAvailable=function(){return"undefined"!=typeof document}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(8);t.DraggableDirective=i.DraggableDirective;var r=n(18);t.DraggableModule=r.DraggableModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);i.__exportStar(n(24),t),i.__exportStar(n(16),t),i.__exportStar(n(14),t),i.__exportStar(n(11),t),i.__exportStar(n(7),t),i.__exportStar(n(10),t),function(e){for(var t in e)s(t,e[t])}(t)}],i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},i.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=25)}}}); |
@@ -6,3 +6,3 @@ { | ||
"license": "SEE LICENSE in LICENSE.md", | ||
"version": "0.2.0-dev.201906171142", | ||
"version": "0.2.0-dev.201906200736", | ||
"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
146068
355
8