@progress/kendo-angular-common
Advanced tools
Comparing version 1.0.0 to 1.1.0-dev.201908081441
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("@angular/core"),require("rxjs"),require("@angular/common"),require("rxjs/operators")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","rxjs","@angular/common","rxjs/operators"],t):"object"==typeof exports?exports.KendoAngularCommon=t(require("tslib"),require("@angular/core"),require("rxjs"),require("@angular/common"),require("rxjs/operators")):e.KendoAngularCommon=t(e.tslib,e["@angular/core"],e.rxjs,e["@angular/common"],e["rxjs/operators"])}(window,function(e,t,n,i,r){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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=9)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(8),s=function(){function e(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return e.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){n.subscription=o.from(n.resolvedPromise).subscribe(n.flush)})},e.prototype.isScheduled=function(e){return Boolean(this.scheduled.find(function(t){return t.instance===e}))},e.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())},e.prototype.ngOnDestroy=function(){this.unsubscribe()},e.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},e.prototype.flush=function(){this.scheduled.forEach(function(e){e.method.call(e.instance)}),this.scheduled=[],this.unsubscribe()},e=i.__decorate([r.Injectable(),i.__metadata("design:paramtypes",[r.NgZone])],e)}();t.ResizeBatchService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(4),s=n(15),u=function(){function e(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}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){o.isChanged("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;o.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new s.default({drag:function(t){return e.kendoDrag.next(t)},press:function(t){return e.kendoPress.next(t)},release:function(t){return e.kendoRelease.next(t)}}),this.ngZone.runOutsideAngular(function(){return e.draggable.bindTo(e.element.nativeElement)})))},e.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"enableDrag",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoPress",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoDrag",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoRelease",void 0),e=i.__decorate([r.Directive({selector:"[kendoDraggable]"}),i.__metadata("design:paramtypes",[r.ElementRef,r.NgZone])],e)}();t.DraggableDirective=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(11);t.isDocumentAvailable=i.isDocumentAvailable;var r=n(5);t.isChanged=r.isChanged;var o=n(12);t.anyChanged=o.anyChanged;var s=n(13);t.hasObservers=s.hasObservers;var u=n(14);t.guid=u.guid},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(0),r=n(1),o=function(){function e(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}return e.prototype.ngOnInit=function(){var e=this;if(this.element&&this.element.nativeElement){var t=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var n in t)t.hasOwnProperty(n)&&e.subscriptions.push(e.renderer.listen(e.element.nativeElement,n,e.scope?t[n].bind(e.scope):t[n]))})}},e.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)],e.prototype,"events",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"scope",void 0),e=i.__decorate([r.Directive({selector:"[kendoEventsOutsideAngular]"}),i.__metadata("design:paramtypes",[r.ElementRef,r.NgZone,r.Renderer2])],e)}();t.EventsOutsideAngularDirective=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(8),s=n(21),u=n(2),a=10,c="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",d=function(){function e(e,t,n,i){this.resizeBatchService=e,this.element=t,this.zone=n,this.renderer=i,this.rateLimit=a,this.resize=new r.EventEmitter,this.source=new o.Subject,this.state=0,this.acceptedSize=!1}return e.prototype.ngAfterViewInit=function(){var e=this;this.zone.runOutsideAngular(function(){var t=e.scroll.bind(e),n=e.renderer.listen(e.expand.nativeElement,"scroll",t),i=e.renderer.listen(e.shrink.nativeElement,"scroll",t);e.detachScrollHandlers=function(){n(),i()}})},e.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))},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.detachScrollHandlers&&this.detachScrollHandlers(),this.resizeBatchService.cancel(this)},e.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},e.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())}},e.prototype.init=function(){var e,t,n=this,i=1e3/(this.rateLimit||a);this.subscription=this.source.asObservable().pipe(s.auditTime(i)).subscribe(function(){n.acceptedSize||n.resize.emit()}),this.parentElement=this.element.nativeElement.parentElement,"static"===(e=this.parentElement,t="position",getComputedStyle(e,null).getPropertyValue(t))&&(this.parentElement.style.position="relative"),this.reset(),this.lastWidth=this.parentElement.offsetWidth,this.lastHeight=this.parentElement.offsetHeight,this.state=2},e.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},e.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)],e.prototype,"rateLimit",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],e.prototype,"resize",void 0),i.__decorate([r.ViewChild("expand"),i.__metadata("design:type",r.ElementRef)],e.prototype,"expand",void 0),i.__decorate([r.ViewChild("expandChild"),i.__metadata("design:type",r.ElementRef)],e.prototype,"expandChild",void 0),i.__decorate([r.ViewChild("shrink"),i.__metadata("design:type",r.ElementRef)],e.prototype,"shrink",void 0),e=i.__decorate([r.Component({selector:"kendo-resize-sensor",styles:[":host { "+c+" }"],template:'<div #expand style="'+c+'"> <div #expandChild style="position: absolute; left: 0; top: 0; transition: 0s;"></div></div><div #shrink style="'+c+'"> <div style="position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;"></div></div>'}),i.__metadata("design:paramtypes",[u.ResizeBatchService,r.ElementRef,r.NgZone,r.Renderer2])],e)}();t.ResizeSensorComponent=d},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);i.__exportStar(n(10),t),i.__exportStar(n(18),t),i.__exportStar(n(20),t),i.__exportStar(n(23),t),i.__exportStar(n(4),t),i.__exportStar(n(24),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(3);t.DraggableDirective=i.DraggableDirective;var r=n(16);t.DraggableModule=r.DraggableModule},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(5);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.hasObservers=function(e){return e&&e.observers.length>0}},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";n.r(t),n.d(t,"Draggable",function(){return d});var i=function(e,t){return function(n){return t(e(n))}},r=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},o=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},s=function(){},u=function(e){return e.preventDefault()},a=/touch/;function c(e){return e.type.match(a)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var d=function(e){var t=this,n=e.press;void 0===n&&(n=s);var a=e.drag;void 0===a&&(a=s);var d=e.release;void 0===d&&(d=s);var l=e.mouseOnly;void 0===l&&(l=!1),this._pressHandler=i(c,n),this._dragHandler=i(c,a),this._releaseHandler=i(c,d),this._ignoreMouse=!1,this._mouseOnly=l,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(r(document,"mousemove",t._mousemove),r(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){o(document,"mousemove",t._mousemove),o(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(r(document,"pointermove",t._pointermove),r(document,"pointerup",t._pointerup),r(document,"pointercancel",t._pointerup),r(document,"contextmenu",u),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(o(document,"pointermove",t._pointermove),o(document,"pointerup",t._pointerup),o(document,"pointercancel",t._pointerup),o(document,"contextmenu",u),t._releaseHandler(e))}};d.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},d.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},d.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?r(e,"pointerdown",this._pointerdown):(r(e,"mousedown",this._mousedown),this._mouseOnly||(r(e,"touchstart",this._touchstart),r(e,"touchmove",this._touchmove),r(e,"touchend",this._touchend)))},d.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return o(e,"pointerdown",this._pointerdown),o(document,"pointermove",this._pointermove),o(document,"pointerup",this._pointerup),o(document,"contextmenu",u),void o(document,"pointercancel",this._pointerup);o(e,"mousedown",this._mousedown),this._mouseOnly||(o(e,"touchstart",this._touchstart),o(e,"touchmove",this._touchmove),o(e,"touchend",this._touchend))},d.prototype._usePointers=function(){return!this._mouseOnly&&d.supportPointerEvent()},d.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},d.default=d,t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(3),s=n(17),u=function(){function e(){}return e=i.__decorate([r.NgModule({declarations:[o.DraggableDirective],exports:[o.DraggableDirective],imports:[s.CommonModule]})],e)}();t.DraggableModule=u},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6);t.EventsOutsideAngularDirective=i.EventsOutsideAngularDirective;var r=n(19);t.EventsModule=r.EventsModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(6),s=function(){function e(){}return e=i.__decorate([r.NgModule({declarations:[o.EventsOutsideAngularDirective],exports:[o.EventsOutsideAngularDirective]})],e)}();t.EventsModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(7);t.ResizeSensorComponent=i.ResizeSensorComponent;var r=n(2);t.ResizeBatchService=r.ResizeBatchService;var o=n(22);t.ResizeSensorModule=o.ResizeSensorModule},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(7),s=n(2),u=[o.ResizeSensorComponent],a=function(){function e(){}return e=i.__decorate([r.NgModule({declarations:[u],exports:[u],providers:[s.ResizeBatchService]})],e)}();t.ResizeSensorModule=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){return function(){}}();t.KendoInput=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(25);t.Keys=i.Keys},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Alt=18]="Alt",e[e.ArrowDown=40]="ArrowDown",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowUp=38]="ArrowUp",e[e.Backspace=8]="Backspace",e[e.Control=17]="Control",e[e.Delete=46]="Delete",e[e.End=35]="End",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F10=121]="F10",e[e.Home=36]="Home",e[e.Insert=45]="Insert",e[e.PageDown=34]="PageDown",e[e.PageUp=33]="PageUp",e[e.Shift=16]="Shift",e[e.Space=32]="Space",e[e.Tab=9]="Tab",e[e.NumpadDecimal=110]="NumpadDecimal"}(t.Keys||(t.Keys={}))}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("@angular/core"),require("rxjs"),require("@angular/common"),require("rxjs/operators")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","rxjs","@angular/common","rxjs/operators"],t):"object"==typeof exports?exports.KendoAngularCommon=t(require("tslib"),require("@angular/core"),require("rxjs"),require("@angular/common"),require("rxjs/operators")):e.KendoAngularCommon=t(e.tslib,e["@angular/core"],e.rxjs,e["@angular/common"],e["rxjs/operators"])}(window,function(e,t,n,i,r){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},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=9)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(8),s=function(){function e(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return e.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){n.subscription=o.from(n.resolvedPromise).subscribe(n.flush)})},e.prototype.isScheduled=function(e){return Boolean(this.scheduled.find(function(t){return t.instance===e}))},e.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())},e.prototype.ngOnDestroy=function(){this.unsubscribe()},e.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},e.prototype.flush=function(){this.scheduled.forEach(function(e){e.method.call(e.instance)}),this.scheduled=[],this.unsubscribe()},e=i.__decorate([r.Injectable(),i.__metadata("design:paramtypes",[r.NgZone])],e)}();t.ResizeBatchService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(4),s=n(15),u=function(){function e(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}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){o.isChanged("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;o.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new s.default({drag:function(t){return e.kendoDrag.next(t)},press:function(t){return e.kendoPress.next(t)},release:function(t){return e.kendoRelease.next(t)}}),this.ngZone.runOutsideAngular(function(){return e.draggable.bindTo(e.element.nativeElement)})))},e.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},i.__decorate([r.Input(),i.__metadata("design:type",Boolean)],e.prototype,"enableDrag",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoPress",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoDrag",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoRelease",void 0),e=i.__decorate([r.Directive({selector:"[kendoDraggable]"}),i.__metadata("design:paramtypes",[r.ElementRef,r.NgZone])],e)}();t.DraggableDirective=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(11);t.isDocumentAvailable=i.isDocumentAvailable;var r=n(5);t.isChanged=r.isChanged;var o=n(12);t.anyChanged=o.anyChanged;var s=n(13);t.hasObservers=s.hasObservers;var u=n(14);t.guid=u.guid},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(0),r=n(1),o=function(){function e(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}return e.prototype.ngOnInit=function(){var e=this;if(this.element&&this.element.nativeElement){var t=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var n in t)t.hasOwnProperty(n)&&e.subscriptions.push(e.renderer.listen(e.element.nativeElement,n,e.scope?t[n].bind(e.scope):t[n]))})}},e.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)],e.prototype,"events",void 0),i.__decorate([r.Input(),i.__metadata("design:type",Object)],e.prototype,"scope",void 0),e=i.__decorate([r.Directive({selector:"[kendoEventsOutsideAngular]"}),i.__metadata("design:paramtypes",[r.ElementRef,r.NgZone,r.Renderer2])],e)}();t.EventsOutsideAngularDirective=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(8),s=n(21),u=n(2),a=10,c="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",d=function(){function e(e,t,n,i){this.resizeBatchService=e,this.element=t,this.zone=n,this.renderer=i,this.rateLimit=a,this.resize=new r.EventEmitter,this.source=new o.Subject,this.state=0,this.acceptedSize=!1}return e.prototype.ngAfterViewInit=function(){var e=this;this.zone.runOutsideAngular(function(){var t=e.scroll.bind(e),n=e.renderer.listen(e.expand.nativeElement,"scroll",t),i=e.renderer.listen(e.shrink.nativeElement,"scroll",t);e.detachScrollHandlers=function(){n(),i()}})},e.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))},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.detachScrollHandlers&&this.detachScrollHandlers(),this.resizeBatchService.cancel(this)},e.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},e.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())}},e.prototype.init=function(){var e,t,n=this,i=1e3/(this.rateLimit||a);this.subscription=this.source.asObservable().pipe(s.auditTime(i)).subscribe(function(){n.acceptedSize||n.resize.emit()}),this.parentElement=this.element.nativeElement.parentElement,"static"===(e=this.parentElement,t="position",getComputedStyle(e,null).getPropertyValue(t))&&(this.parentElement.style.position="relative"),this.reset(),this.lastWidth=this.parentElement.offsetWidth,this.lastHeight=this.parentElement.offsetHeight,this.state=2},e.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},e.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)],e.prototype,"rateLimit",void 0),i.__decorate([r.Output(),i.__metadata("design:type",r.EventEmitter)],e.prototype,"resize",void 0),i.__decorate([r.ViewChild("expand"),i.__metadata("design:type",r.ElementRef)],e.prototype,"expand",void 0),i.__decorate([r.ViewChild("expandChild"),i.__metadata("design:type",r.ElementRef)],e.prototype,"expandChild",void 0),i.__decorate([r.ViewChild("shrink"),i.__metadata("design:type",r.ElementRef)],e.prototype,"shrink",void 0),e=i.__decorate([r.Component({selector:"kendo-resize-sensor",styles:[":host { "+c+" }"],template:'<div #expand style="'+c+'"> <div #expandChild style="position: absolute; left: 0; top: 0; transition: 0s;"></div></div><div #shrink style="'+c+'"> <div style="position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;"></div></div>'}),i.__metadata("design:paramtypes",[u.ResizeBatchService,r.ElementRef,r.NgZone,r.Renderer2])],e)}();t.ResizeSensorComponent=d},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0);i.__exportStar(n(10),t),i.__exportStar(n(18),t),i.__exportStar(n(20),t),i.__exportStar(n(23),t),i.__exportStar(n(4),t),i.__exportStar(n(24),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(3);t.DraggableDirective=i.DraggableDirective;var r=n(16);t.DraggableModule=r.DraggableModule},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(5);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.hasObservers=function(e){return e&&e.observers.length>0}},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";n.r(t),n.d(t,"Draggable",function(){return d});var i=function(e,t){return function(n){return t(e(n))}},r=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},o=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},s=function(){},u=function(e){return e.preventDefault()},a=/touch/;function c(e){return e.type.match(a)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,type:e.type,originalEvent:e,isTouch:!0}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var d=function(e){var t=this,n=e.press;void 0===n&&(n=s);var a=e.drag;void 0===a&&(a=s);var d=e.release;void 0===d&&(d=s);var l=e.mouseOnly;void 0===l&&(l=!1),this._pressHandler=i(c,n),this._dragHandler=i(c,a),this._releaseHandler=i(c,d),this._ignoreMouse=!1,this._mouseOnly=l,this._touchstart=function(e){1===e.touches.length&&t._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&t._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(t._releaseHandler(e),t._ignoreMouse=!0,setTimeout(t._restoreMouse,2e3))},this._restoreMouse=function(){t._ignoreMouse=!1},this._mousedown=function(e){var n=e.which;n&&n>1||t._ignoreMouse||(r(document,"mousemove",t._mousemove),r(document,"mouseup",t._mouseup),t._pressHandler(e))},this._mousemove=function(e){t._dragHandler(e)},this._mouseup=function(e){o(document,"mousemove",t._mousemove),o(document,"mouseup",t._mouseup),t._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(r(document,"pointermove",t._pointermove),r(document,"pointerup",t._pointerup),r(document,"pointercancel",t._pointerup),r(document,"contextmenu",u),t._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&t._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(o(document,"pointermove",t._pointermove),o(document,"pointerup",t._pointerup),o(document,"pointercancel",t._pointerup),o(document,"contextmenu",u),t._releaseHandler(e))}};d.supportPointerEvent=function(){return"undefined"!=typeof window&&window.PointerEvent},d.prototype.bindTo=function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())},d.prototype._bindToCurrent=function(){var e=this._element;this._usePointers()?r(e,"pointerdown",this._pointerdown):(r(e,"mousedown",this._mousedown),this._mouseOnly||(r(e,"touchstart",this._touchstart),r(e,"touchmove",this._touchmove),r(e,"touchend",this._touchend)))},d.prototype._unbindFromCurrent=function(){var e=this._element;if(this._usePointers())return o(e,"pointerdown",this._pointerdown),o(document,"pointermove",this._pointermove),o(document,"pointerup",this._pointerup),o(document,"contextmenu",u),void o(document,"pointercancel",this._pointerup);o(e,"mousedown",this._mousedown),this._mouseOnly||(o(e,"touchstart",this._touchstart),o(e,"touchmove",this._touchmove),o(e,"touchend",this._touchend))},d.prototype._usePointers=function(){return!this._mouseOnly&&d.supportPointerEvent()},d.prototype.destroy=function(){this._unbindFromCurrent(),this._element=null},d.default=d,t.default=d},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(3),s=n(17),u=function(){function e(){}return e=i.__decorate([r.NgModule({declarations:[o.DraggableDirective],exports:[o.DraggableDirective],imports:[s.CommonModule]})],e)}();t.DraggableModule=u},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(6);t.EventsOutsideAngularDirective=i.EventsOutsideAngularDirective;var r=n(19);t.EventsModule=r.EventsModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(6),s=function(){function e(){}return e=i.__decorate([r.NgModule({declarations:[o.EventsOutsideAngularDirective],exports:[o.EventsOutsideAngularDirective]})],e)}();t.EventsModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(7);t.ResizeSensorComponent=i.ResizeSensorComponent;var r=n(2);t.ResizeBatchService=r.ResizeBatchService;var o=n(22);t.ResizeSensorModule=o.ResizeSensorModule},function(e,t){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(0),r=n(1),o=n(7),s=n(2),u=[o.ResizeSensorComponent],a=function(){function e(){}return e=i.__decorate([r.NgModule({declarations:[u],exports:[u],providers:[s.ResizeBatchService]})],e)}();t.ResizeSensorModule=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){};t.KendoInput=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=n(25);t.Keys=i.Keys},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Alt=18]="Alt",e[e.ArrowDown=40]="ArrowDown",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowUp=38]="ArrowUp",e[e.Backspace=8]="Backspace",e[e.Control=17]="Control",e[e.Delete=46]="Delete",e[e.Digit0=48]="Digit0",e[e.Digit1=49]="Digit1",e[e.Digit2=50]="Digit2",e[e.Digit3=51]="Digit3",e[e.Digit4=52]="Digit4",e[e.Digit5=53]="Digit5",e[e.Digit6=54]="Digit6",e[e.Digit7=55]="Digit7",e[e.Digit8=56]="Digit8",e[e.Digit9=57]="Digit9",e[e.End=35]="End",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F10=121]="F10",e[e.Home=36]="Home",e[e.Insert=45]="Insert",e[e.KeyA=65]="KeyA",e[e.KeyB=66]="KeyB",e[e.KeyC=67]="KeyC",e[e.KeyD=68]="KeyD",e[e.KeyE=69]="KeyE",e[e.KeyF=70]="KeyF",e[e.KeyG=71]="KeyG",e[e.KeyH=72]="KeyH",e[e.KeyI=73]="KeyI",e[e.KeyJ=74]="KeyJ",e[e.KeyK=75]="KeyK",e[e.KeyL=76]="KeyL",e[e.KeyM=77]="KeyM",e[e.KeyN=78]="KeyN",e[e.KeyO=79]="KeyO",e[e.KeyP=80]="KeyP",e[e.KeyQ=81]="KeyQ",e[e.KeyR=82]="KeyR",e[e.KeyS=83]="KeyS",e[e.KeyT=84]="KeyT",e[e.KeyU=85]="KeyU",e[e.KeyV=86]="KeyV",e[e.KeyW=87]="KeyW",e[e.KeyX=88]="KeyX",e[e.KeyY=89]="KeyY",e[e.KeyZ=90]="KeyZ",e[e.NumpadDecimal=110]="NumpadDecimal",e[e.PageDown=34]="PageDown",e[e.PageUp=33]="PageUp",e[e.Shift=16]="Shift",e[e.Space=32]="Space",e[e.Tab=9]="Tab"}(t.Keys||(t.Keys={}))}])}); |
@@ -1,1 +0,1 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("@angular/core"),require("rxjs"),require("@telerik/kendo-draggable"),require("@angular/common"),require("rxjs/operators")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","rxjs","@telerik/kendo-draggable","@angular/common","rxjs/operators"],t):"object"==typeof exports?exports.KendoAngularCommon=t(require("tslib"),require("@angular/core"),require("rxjs"),require("@telerik/kendo-draggable"),require("@angular/common"),require("rxjs/operators")):e.KendoAngularCommon=t(e.tslib,e["@angular/core"],e.rxjs,e["@telerik/kendo-draggable"],e["@angular/common"],e["rxjs/operators"])}(window,function(e,t,n,r,i,o){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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=9)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(8),s=function(){function e(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return e.prototype.schedule=function(e,t){var n=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){n.subscription=o.from(n.resolvedPromise).subscribe(n.flush)})},e.prototype.isScheduled=function(e){return Boolean(this.scheduled.find(function(t){return t.instance===e}))},e.prototype.cancel=function(e){for(var t=this.scheduled,n=t.length,r=0;r<n;r++)if(t[r].instance===e)return t.splice(r,1),void(t.length||this.unsubscribe())},e.prototype.ngOnDestroy=function(){this.unsubscribe()},e.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},e.prototype.flush=function(){this.scheduled.forEach(function(e){e.method.call(e.instance)}),this.scheduled=[],this.unsubscribe()},e=r.__decorate([i.Injectable(),r.__metadata("design:paramtypes",[i.NgZone])],e)}();t.ResizeBatchService=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(4),s=n(15),a=function(){function e(e,t){this.element=e,this.ngZone=t,this.enableDrag=!0,this.kendoPress=new i.EventEmitter,this.kendoDrag=new i.EventEmitter,this.kendoRelease=new i.EventEmitter}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){o.isChanged("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;o.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new s.default({drag:function(t){return e.kendoDrag.next(t)},press:function(t){return e.kendoPress.next(t)},release:function(t){return e.kendoRelease.next(t)}}),this.ngZone.runOutsideAngular(function(){return e.draggable.bindTo(e.element.nativeElement)})))},e.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},r.__decorate([i.Input(),r.__metadata("design:type",Boolean)],e.prototype,"enableDrag",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],e.prototype,"kendoPress",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],e.prototype,"kendoDrag",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],e.prototype,"kendoRelease",void 0),e=r.__decorate([i.Directive({selector:"[kendoDraggable]"}),r.__metadata("design:paramtypes",[i.ElementRef,i.NgZone])],e)}();t.DraggableDirective=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(11);t.isDocumentAvailable=r.isDocumentAvailable;var i=n(5);t.isChanged=i.isChanged;var o=n(12);t.anyChanged=o.anyChanged;var s=n(13);t.hasObservers=s.hasObservers;var a=n(14);t.guid=a.guid},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 r=n(0),i=n(1),o=function(){function e(e,t,n){this.element=e,this.ngZone=t,this.renderer=n,this.events={}}return e.prototype.ngOnInit=function(){var e=this;if(this.element&&this.element.nativeElement){var t=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var n in t)t.hasOwnProperty(n)&&e.subscriptions.push(e.renderer.listen(e.element.nativeElement,n,e.scope?t[n].bind(e.scope):t[n]))})}},e.prototype.ngOnDestroy=function(){if(this.subscriptions){for(var e=0;e<this.subscriptions.length;e++)this.subscriptions[e]();this.subscriptions=null}},r.__decorate([i.Input("kendoEventsOutsideAngular"),r.__metadata("design:type",Object)],e.prototype,"events",void 0),r.__decorate([i.Input(),r.__metadata("design:type",Object)],e.prototype,"scope",void 0),e=r.__decorate([i.Directive({selector:"[kendoEventsOutsideAngular]"}),r.__metadata("design:paramtypes",[i.ElementRef,i.NgZone,i.Renderer2])],e)}();t.EventsOutsideAngularDirective=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(8),s=n(21),a=n(2),u=10,c="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",l=function(){function e(e,t,n,r){this.resizeBatchService=e,this.element=t,this.zone=n,this.renderer=r,this.rateLimit=u,this.resize=new i.EventEmitter,this.source=new o.Subject,this.state=0,this.acceptedSize=!1}return e.prototype.ngAfterViewInit=function(){var e=this;this.zone.runOutsideAngular(function(){var t=e.scroll.bind(e),n=e.renderer.listen(e.expand.nativeElement,"scroll",t),r=e.renderer.listen(e.shrink.nativeElement,"scroll",t);e.detachScrollHandlers=function(){n(),r()}})},e.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))},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.detachScrollHandlers&&this.detachScrollHandlers(),this.resizeBatchService.cancel(this)},e.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},e.prototype.scroll=function(e){var t=this;if(this.parentElement){var n=this.measure(),r=n.width,i=n.height;r===this.lastWidth&&i===this.lastHeight||(this.lastWidth=r,this.lastHeight=i,this.acceptedSize=!1,this.zone.runOutsideAngular(function(){t.source.next()}),this.reset())}},e.prototype.init=function(){var e,t,n=this,r=1e3/(this.rateLimit||u);this.subscription=this.source.asObservable().pipe(s.auditTime(r)).subscribe(function(){n.acceptedSize||n.resize.emit()}),this.parentElement=this.element.nativeElement.parentElement,"static"===(e=this.parentElement,t="position",getComputedStyle(e,null).getPropertyValue(t))&&(this.parentElement.style.position="relative"),this.reset(),this.lastWidth=this.parentElement.offsetWidth,this.lastHeight=this.parentElement.offsetHeight,this.state=2},e.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},e.prototype.measure=function(){var e=0,t=0;return this.parentElement&&(t=this.parentElement.offsetHeight,e=this.parentElement.offsetWidth),{height:t,width:e}},r.__decorate([i.Input(),r.__metadata("design:type",Number)],e.prototype,"rateLimit",void 0),r.__decorate([i.Output(),r.__metadata("design:type",i.EventEmitter)],e.prototype,"resize",void 0),r.__decorate([i.ViewChild("expand"),r.__metadata("design:type",i.ElementRef)],e.prototype,"expand",void 0),r.__decorate([i.ViewChild("expandChild"),r.__metadata("design:type",i.ElementRef)],e.prototype,"expandChild",void 0),r.__decorate([i.ViewChild("shrink"),r.__metadata("design:type",i.ElementRef)],e.prototype,"shrink",void 0),e=r.__decorate([i.Component({selector:"kendo-resize-sensor",styles:[":host { "+c+" }"],template:'<div #expand style="'+c+'"> <div #expandChild style="position: absolute; left: 0; top: 0; transition: 0s;"></div></div><div #shrink style="'+c+'"> <div style="position: absolute; left: 0; top: 0; transition: 0s;width: 200%; height: 200%;"></div></div>'}),r.__metadata("design:paramtypes",[a.ResizeBatchService,i.ElementRef,i.NgZone,i.Renderer2])],e)}();t.ResizeSensorComponent=l},function(e,t){e.exports=n},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0);r.__exportStar(n(10),t),r.__exportStar(n(18),t),r.__exportStar(n(20),t),r.__exportStar(n(23),t),r.__exportStar(n(4),t),r.__exportStar(n(24),t)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(3);t.DraggableDirective=r.DraggableDirective;var i=n(16);t.DraggableModule=i.DraggableModule},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 r=n(5);t.anyChanged=function(e,t,n){return void 0===n&&(n=!0),e.some(function(e){return r.isChanged(e,t,n)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hasObservers=function(e){return e&&e.observers.length>0}},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){e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(3),s=n(17),a=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:[o.DraggableDirective],exports:[o.DraggableDirective],imports:[s.CommonModule]})],e)}();t.DraggableModule=a},function(e,t){e.exports=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(6);t.EventsOutsideAngularDirective=r.EventsOutsideAngularDirective;var i=n(19);t.EventsModule=i.EventsModule},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(6),s=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:[o.EventsOutsideAngularDirective],exports:[o.EventsOutsideAngularDirective]})],e)}();t.EventsModule=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(7);t.ResizeSensorComponent=r.ResizeSensorComponent;var i=n(2);t.ResizeBatchService=i.ResizeBatchService;var o=n(22);t.ResizeSensorModule=o.ResizeSensorModule},function(e,t){e.exports=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=n(1),o=n(7),s=n(2),a=[o.ResizeSensorComponent],u=function(){function e(){}return e=r.__decorate([i.NgModule({declarations:[a],exports:[a],providers:[s.ResizeBatchService]})],e)}();t.ResizeSensorModule=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){return function(){}}();t.KendoInput=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(25);t.Keys=r.Keys},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Alt=18]="Alt",e[e.ArrowDown=40]="ArrowDown",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowUp=38]="ArrowUp",e[e.Backspace=8]="Backspace",e[e.Control=17]="Control",e[e.Delete=46]="Delete",e[e.End=35]="End",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F10=121]="F10",e[e.Home=36]="Home",e[e.Insert=45]="Insert",e[e.PageDown=34]="PageDown",e[e.PageUp=33]="PageUp",e[e.Shift=16]="Shift",e[e.Space=32]="Space",e[e.Tab=9]="Tab",e[e.NumpadDecimal=110]="NumpadDecimal"}(t.Keys||(t.Keys={}))}])}); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib"),require("@angular/core"),require("rxjs"),require("@telerik/kendo-draggable"),require("@angular/common"),require("rxjs/operators")):"function"==typeof define&&define.amd?define(["tslib","@angular/core","rxjs","@telerik/kendo-draggable","@angular/common","rxjs/operators"],t):"object"==typeof exports?exports.KendoAngularCommon=t(require("tslib"),require("@angular/core"),require("rxjs"),require("@telerik/kendo-draggable"),require("@angular/common"),require("rxjs/operators")):e.KendoAngularCommon=t(e.tslib,e["@angular/core"],e.rxjs,e["@telerik/kendo-draggable"],e["@angular/common"],e["rxjs/operators"])}(window,function(e,t,i,n,r,o){return function(e){var t={};function i(n){if(t[n])return t[n].exports;var r=t[n]={i:n,l:!1,exports:{}};return e[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},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=9)}([function(t,i){t.exports=e},function(e,i){e.exports=t},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),o=i(8),s=function(){function e(e){this.ngZone=e,this.scheduled=[],this.resolvedPromise=Promise.resolve(null),this.flush=this.flush.bind(this)}return e.prototype.schedule=function(e,t){var i=this;this.scheduled.push({instance:e,method:t}),this.subscription||this.ngZone.runOutsideAngular(function(){i.subscription=o.from(i.resolvedPromise).subscribe(i.flush)})},e.prototype.isScheduled=function(e){return Boolean(this.scheduled.find(function(t){return t.instance===e}))},e.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())},e.prototype.ngOnDestroy=function(){this.unsubscribe()},e.prototype.unsubscribe=function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null)},e.prototype.flush=function(){this.scheduled.forEach(function(e){e.method.call(e.instance)}),this.scheduled=[],this.unsubscribe()},e=n.__decorate([r.Injectable(),n.__metadata("design:paramtypes",[r.NgZone])],e)}();t.ResizeBatchService=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),o=i(4),s=i(15),a=function(){function e(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}return e.prototype.ngOnInit=function(){this.toggleDraggable()},e.prototype.ngOnChanges=function(e){o.isChanged("enableDrag",e)&&this.toggleDraggable()},e.prototype.ngOnDestroy=function(){this.destroyDraggable()},e.prototype.toggleDraggable=function(){var e=this;o.isDocumentAvailable()&&(this.destroyDraggable(),this.enableDrag&&(this.draggable=new s.default({drag:function(t){return e.kendoDrag.next(t)},press:function(t){return e.kendoPress.next(t)},release:function(t){return e.kendoRelease.next(t)}}),this.ngZone.runOutsideAngular(function(){return e.draggable.bindTo(e.element.nativeElement)})))},e.prototype.destroyDraggable=function(){this.draggable&&(this.draggable.destroy(),this.draggable=null)},n.__decorate([r.Input(),n.__metadata("design:type",Boolean)],e.prototype,"enableDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoPress",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoDrag",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],e.prototype,"kendoRelease",void 0),e=n.__decorate([r.Directive({selector:"[kendoDraggable]"}),n.__metadata("design:paramtypes",[r.ElementRef,r.NgZone])],e)}();t.DraggableDirective=a},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(11);t.isDocumentAvailable=n.isDocumentAvailable;var r=i(5);t.isChanged=r.isChanged;var o=i(12);t.anyChanged=o.anyChanged;var s=i(13);t.hasObservers=s.hasObservers;var a=i(14);t.guid=a.guid},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(0),r=i(1),o=function(){function e(e,t,i){this.element=e,this.ngZone=t,this.renderer=i,this.events={}}return e.prototype.ngOnInit=function(){var e=this;if(this.element&&this.element.nativeElement){var t=this.events;this.subscriptions=[],this.ngZone.runOutsideAngular(function(){for(var i in t)t.hasOwnProperty(i)&&e.subscriptions.push(e.renderer.listen(e.element.nativeElement,i,e.scope?t[i].bind(e.scope):t[i]))})}},e.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)],e.prototype,"events",void 0),n.__decorate([r.Input(),n.__metadata("design:type",Object)],e.prototype,"scope",void 0),e=n.__decorate([r.Directive({selector:"[kendoEventsOutsideAngular]"}),n.__metadata("design:paramtypes",[r.ElementRef,r.NgZone,r.Renderer2])],e)}();t.EventsOutsideAngularDirective=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),o=i(8),s=i(21),a=i(2),u=10,c="position: absolute; display: block; left: 0; top: 0; right: 0; bottom: 0; z-index: -1;overflow: hidden; visibility: hidden;",l=function(){function e(e,t,i,n){this.resizeBatchService=e,this.element=t,this.zone=i,this.renderer=n,this.rateLimit=u,this.resize=new r.EventEmitter,this.source=new o.Subject,this.state=0,this.acceptedSize=!1}return e.prototype.ngAfterViewInit=function(){var e=this;this.zone.runOutsideAngular(function(){var t=e.scroll.bind(e),i=e.renderer.listen(e.expand.nativeElement,"scroll",t),n=e.renderer.listen(e.shrink.nativeElement,"scroll",t);e.detachScrollHandlers=function(){i(),n()}})},e.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))},e.prototype.ngOnDestroy=function(){this.subscription&&this.subscription.unsubscribe(),this.detachScrollHandlers&&this.detachScrollHandlers(),this.resizeBatchService.cancel(this)},e.prototype.acceptSize=function(e){void 0===e&&(e=this.measure()),this.lastWidth=e.width,this.lastHeight=e.height,this.acceptedSize=!0},e.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())}},e.prototype.init=function(){var e,t,i=this,n=1e3/(this.rateLimit||u);this.subscription=this.source.asObservable().pipe(s.auditTime(n)).subscribe(function(){i.acceptedSize||i.resize.emit()}),this.parentElement=this.element.nativeElement.parentElement,"static"===(e=this.parentElement,t="position",getComputedStyle(e,null).getPropertyValue(t))&&(this.parentElement.style.position="relative"),this.reset(),this.lastWidth=this.parentElement.offsetWidth,this.lastHeight=this.parentElement.offsetHeight,this.state=2},e.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},e.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)],e.prototype,"rateLimit",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],e.prototype,"resize",void 0),n.__decorate([r.ViewChild("expand"),n.__metadata("design:type",r.ElementRef)],e.prototype,"expand",void 0),n.__decorate([r.ViewChild("expandChild"),n.__metadata("design:type",r.ElementRef)],e.prototype,"expandChild",void 0),n.__decorate([r.ViewChild("shrink"),n.__metadata("design:type",r.ElementRef)],e.prototype,"shrink",void 0),e=n.__decorate([r.Component({selector:"kendo-resize-sensor",styles:[":host { "+c+" }"],template:'<div #expand style="'+c+'"> <div #expandChild style="position: absolute; left: 0; top: 0; transition: 0s;"></div></div><div #shrink style="'+c+'"> <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])],e)}();t.ResizeSensorComponent=l},function(e,t){e.exports=i},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0);n.__exportStar(i(10),t),n.__exportStar(i(18),t),n.__exportStar(i(20),t),n.__exportStar(i(23),t),n.__exportStar(i(4),t),n.__exportStar(i(24),t)},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(3);t.DraggableDirective=n.DraggableDirective;var r=i(16);t.DraggableModule=r.DraggableModule},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(5);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.hasObservers=function(e){return e&&e.observers.length>0}},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){e.exports=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),o=i(3),s=i(17),a=function(){function e(){}return e=n.__decorate([r.NgModule({declarations:[o.DraggableDirective],exports:[o.DraggableDirective],imports:[s.CommonModule]})],e)}();t.DraggableModule=a},function(e,t){e.exports=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(6);t.EventsOutsideAngularDirective=n.EventsOutsideAngularDirective;var r=i(19);t.EventsModule=r.EventsModule},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),o=i(6),s=function(){function e(){}return e=n.__decorate([r.NgModule({declarations:[o.EventsOutsideAngularDirective],exports:[o.EventsOutsideAngularDirective]})],e)}();t.EventsModule=s},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(7);t.ResizeSensorComponent=n.ResizeSensorComponent;var r=i(2);t.ResizeBatchService=r.ResizeBatchService;var o=i(22);t.ResizeSensorModule=o.ResizeSensorModule},function(e,t){e.exports=o},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(0),r=i(1),o=i(7),s=i(2),a=[o.ResizeSensorComponent],u=function(){function e(){}return e=n.__decorate([r.NgModule({declarations:[a],exports:[a],providers:[s.ResizeBatchService]})],e)}();t.ResizeSensorModule=u},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){};t.KendoInput=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(25);t.Keys=n.Keys},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){e[e.Alt=18]="Alt",e[e.ArrowDown=40]="ArrowDown",e[e.ArrowLeft=37]="ArrowLeft",e[e.ArrowRight=39]="ArrowRight",e[e.ArrowUp=38]="ArrowUp",e[e.Backspace=8]="Backspace",e[e.Control=17]="Control",e[e.Delete=46]="Delete",e[e.Digit0=48]="Digit0",e[e.Digit1=49]="Digit1",e[e.Digit2=50]="Digit2",e[e.Digit3=51]="Digit3",e[e.Digit4=52]="Digit4",e[e.Digit5=53]="Digit5",e[e.Digit6=54]="Digit6",e[e.Digit7=55]="Digit7",e[e.Digit8=56]="Digit8",e[e.Digit9=57]="Digit9",e[e.End=35]="End",e[e.Enter=13]="Enter",e[e.Escape=27]="Escape",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F10=121]="F10",e[e.Home=36]="Home",e[e.Insert=45]="Insert",e[e.KeyA=65]="KeyA",e[e.KeyB=66]="KeyB",e[e.KeyC=67]="KeyC",e[e.KeyD=68]="KeyD",e[e.KeyE=69]="KeyE",e[e.KeyF=70]="KeyF",e[e.KeyG=71]="KeyG",e[e.KeyH=72]="KeyH",e[e.KeyI=73]="KeyI",e[e.KeyJ=74]="KeyJ",e[e.KeyK=75]="KeyK",e[e.KeyL=76]="KeyL",e[e.KeyM=77]="KeyM",e[e.KeyN=78]="KeyN",e[e.KeyO=79]="KeyO",e[e.KeyP=80]="KeyP",e[e.KeyQ=81]="KeyQ",e[e.KeyR=82]="KeyR",e[e.KeyS=83]="KeyS",e[e.KeyT=84]="KeyT",e[e.KeyU=85]="KeyU",e[e.KeyV=86]="KeyV",e[e.KeyW=87]="KeyW",e[e.KeyX=88]="KeyX",e[e.KeyY=89]="KeyY",e[e.KeyZ=90]="KeyZ",e[e.NumpadDecimal=110]="NumpadDecimal",e[e.PageDown=34]="PageDown",e[e.PageUp=33]="PageUp",e[e.Shift=16]="Shift",e[e.Space=32]="Space",e[e.Tab=9]="Tab"}(t.Keys||(t.Keys={}))}])}); |
@@ -14,2 +14,12 @@ /** | ||
Keys[Keys["Delete"] = 46] = "Delete"; | ||
Keys[Keys["Digit0"] = 48] = "Digit0"; | ||
Keys[Keys["Digit1"] = 49] = "Digit1"; | ||
Keys[Keys["Digit2"] = 50] = "Digit2"; | ||
Keys[Keys["Digit3"] = 51] = "Digit3"; | ||
Keys[Keys["Digit4"] = 52] = "Digit4"; | ||
Keys[Keys["Digit5"] = 53] = "Digit5"; | ||
Keys[Keys["Digit6"] = 54] = "Digit6"; | ||
Keys[Keys["Digit7"] = 55] = "Digit7"; | ||
Keys[Keys["Digit8"] = 56] = "Digit8"; | ||
Keys[Keys["Digit9"] = 57] = "Digit9"; | ||
Keys[Keys["End"] = 35] = "End"; | ||
@@ -23,2 +33,29 @@ Keys[Keys["Enter"] = 13] = "Enter"; | ||
Keys[Keys["Insert"] = 45] = "Insert"; | ||
Keys[Keys["KeyA"] = 65] = "KeyA"; | ||
Keys[Keys["KeyB"] = 66] = "KeyB"; | ||
Keys[Keys["KeyC"] = 67] = "KeyC"; | ||
Keys[Keys["KeyD"] = 68] = "KeyD"; | ||
Keys[Keys["KeyE"] = 69] = "KeyE"; | ||
Keys[Keys["KeyF"] = 70] = "KeyF"; | ||
Keys[Keys["KeyG"] = 71] = "KeyG"; | ||
Keys[Keys["KeyH"] = 72] = "KeyH"; | ||
Keys[Keys["KeyI"] = 73] = "KeyI"; | ||
Keys[Keys["KeyJ"] = 74] = "KeyJ"; | ||
Keys[Keys["KeyK"] = 75] = "KeyK"; | ||
Keys[Keys["KeyL"] = 76] = "KeyL"; | ||
Keys[Keys["KeyM"] = 77] = "KeyM"; | ||
Keys[Keys["KeyN"] = 78] = "KeyN"; | ||
Keys[Keys["KeyO"] = 79] = "KeyO"; | ||
Keys[Keys["KeyP"] = 80] = "KeyP"; | ||
Keys[Keys["KeyQ"] = 81] = "KeyQ"; | ||
Keys[Keys["KeyR"] = 82] = "KeyR"; | ||
Keys[Keys["KeyS"] = 83] = "KeyS"; | ||
Keys[Keys["KeyT"] = 84] = "KeyT"; | ||
Keys[Keys["KeyU"] = 85] = "KeyU"; | ||
Keys[Keys["KeyV"] = 86] = "KeyV"; | ||
Keys[Keys["KeyW"] = 87] = "KeyW"; | ||
Keys[Keys["KeyX"] = 88] = "KeyX"; | ||
Keys[Keys["KeyY"] = 89] = "KeyY"; | ||
Keys[Keys["KeyZ"] = 90] = "KeyZ"; | ||
Keys[Keys["NumpadDecimal"] = 110] = "NumpadDecimal"; | ||
Keys[Keys["PageDown"] = 34] = "PageDown"; | ||
@@ -29,3 +66,2 @@ Keys[Keys["PageUp"] = 33] = "PageUp"; | ||
Keys[Keys["Tab"] = 9] = "Tab"; | ||
Keys[Keys["NumpadDecimal"] = 110] = "NumpadDecimal"; | ||
})(Keys || (Keys = {})); |
@@ -13,2 +13,12 @@ /** | ||
Delete = 46, | ||
Digit0 = 48, | ||
Digit1 = 49, | ||
Digit2 = 50, | ||
Digit3 = 51, | ||
Digit4 = 52, | ||
Digit5 = 53, | ||
Digit6 = 54, | ||
Digit7 = 55, | ||
Digit8 = 56, | ||
Digit9 = 57, | ||
End = 35, | ||
@@ -22,2 +32,29 @@ Enter = 13, | ||
Insert = 45, | ||
KeyA = 65, | ||
KeyB = 66, | ||
KeyC = 67, | ||
KeyD = 68, | ||
KeyE = 69, | ||
KeyF = 70, | ||
KeyG = 71, | ||
KeyH = 72, | ||
KeyI = 73, | ||
KeyJ = 74, | ||
KeyK = 75, | ||
KeyL = 76, | ||
KeyM = 77, | ||
KeyN = 78, | ||
KeyO = 79, | ||
KeyP = 80, | ||
KeyQ = 81, | ||
KeyR = 82, | ||
KeyS = 83, | ||
KeyT = 84, | ||
KeyU = 85, | ||
KeyV = 86, | ||
KeyW = 87, | ||
KeyX = 88, | ||
KeyY = 89, | ||
KeyZ = 90, | ||
NumpadDecimal = 110, | ||
PageDown = 34, | ||
@@ -27,4 +64,3 @@ PageUp = 33, | ||
Space = 32, | ||
Tab = 9, | ||
NumpadDecimal = 110 | ||
Tab = 9 | ||
} |
@@ -14,2 +14,12 @@ /** | ||
Keys[Keys["Delete"] = 46] = "Delete"; | ||
Keys[Keys["Digit0"] = 48] = "Digit0"; | ||
Keys[Keys["Digit1"] = 49] = "Digit1"; | ||
Keys[Keys["Digit2"] = 50] = "Digit2"; | ||
Keys[Keys["Digit3"] = 51] = "Digit3"; | ||
Keys[Keys["Digit4"] = 52] = "Digit4"; | ||
Keys[Keys["Digit5"] = 53] = "Digit5"; | ||
Keys[Keys["Digit6"] = 54] = "Digit6"; | ||
Keys[Keys["Digit7"] = 55] = "Digit7"; | ||
Keys[Keys["Digit8"] = 56] = "Digit8"; | ||
Keys[Keys["Digit9"] = 57] = "Digit9"; | ||
Keys[Keys["End"] = 35] = "End"; | ||
@@ -23,2 +33,29 @@ Keys[Keys["Enter"] = 13] = "Enter"; | ||
Keys[Keys["Insert"] = 45] = "Insert"; | ||
Keys[Keys["KeyA"] = 65] = "KeyA"; | ||
Keys[Keys["KeyB"] = 66] = "KeyB"; | ||
Keys[Keys["KeyC"] = 67] = "KeyC"; | ||
Keys[Keys["KeyD"] = 68] = "KeyD"; | ||
Keys[Keys["KeyE"] = 69] = "KeyE"; | ||
Keys[Keys["KeyF"] = 70] = "KeyF"; | ||
Keys[Keys["KeyG"] = 71] = "KeyG"; | ||
Keys[Keys["KeyH"] = 72] = "KeyH"; | ||
Keys[Keys["KeyI"] = 73] = "KeyI"; | ||
Keys[Keys["KeyJ"] = 74] = "KeyJ"; | ||
Keys[Keys["KeyK"] = 75] = "KeyK"; | ||
Keys[Keys["KeyL"] = 76] = "KeyL"; | ||
Keys[Keys["KeyM"] = 77] = "KeyM"; | ||
Keys[Keys["KeyN"] = 78] = "KeyN"; | ||
Keys[Keys["KeyO"] = 79] = "KeyO"; | ||
Keys[Keys["KeyP"] = 80] = "KeyP"; | ||
Keys[Keys["KeyQ"] = 81] = "KeyQ"; | ||
Keys[Keys["KeyR"] = 82] = "KeyR"; | ||
Keys[Keys["KeyS"] = 83] = "KeyS"; | ||
Keys[Keys["KeyT"] = 84] = "KeyT"; | ||
Keys[Keys["KeyU"] = 85] = "KeyU"; | ||
Keys[Keys["KeyV"] = 86] = "KeyV"; | ||
Keys[Keys["KeyW"] = 87] = "KeyW"; | ||
Keys[Keys["KeyX"] = 88] = "KeyX"; | ||
Keys[Keys["KeyY"] = 89] = "KeyY"; | ||
Keys[Keys["KeyZ"] = 90] = "KeyZ"; | ||
Keys[Keys["NumpadDecimal"] = 110] = "NumpadDecimal"; | ||
Keys[Keys["PageDown"] = 34] = "PageDown"; | ||
@@ -29,3 +66,2 @@ Keys[Keys["PageUp"] = 33] = "PageUp"; | ||
Keys[Keys["Tab"] = 9] = "Tab"; | ||
Keys[Keys["NumpadDecimal"] = 110] = "NumpadDecimal"; | ||
})(Keys || (Keys = {})); |
@@ -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-common"} | ||
{"__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,"Digit0":48,"Digit1":49,"Digit2":50,"Digit3":51,"Digit4":52,"Digit5":53,"Digit6":54,"Digit7":55,"Digit8":56,"Digit9":57,"End":35,"Enter":13,"Escape":27,"F1":112,"F2":113,"F10":121,"Home":36,"Insert":45,"KeyA":65,"KeyB":66,"KeyC":67,"KeyD":68,"KeyE":69,"KeyF":70,"KeyG":71,"KeyH":72,"KeyI":73,"KeyJ":74,"KeyK":75,"KeyL":76,"KeyM":77,"KeyN":78,"KeyO":79,"KeyP":80,"KeyQ":81,"KeyR":82,"KeyS":83,"KeyT":84,"KeyU":85,"KeyV":86,"KeyW":87,"KeyX":88,"KeyY":89,"KeyZ":90,"NumpadDecimal":110,"PageDown":34,"PageUp":33,"Shift":16,"Space":32,"Tab":9}},"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"} |
@@ -417,2 +417,12 @@ import { Component, Directive, ElementRef, EventEmitter, Injectable, Input, NgModule, NgZone, Output, Renderer2, ViewChild } from '@angular/core'; | ||
Keys[Keys["Delete"] = 46] = "Delete"; | ||
Keys[Keys["Digit0"] = 48] = "Digit0"; | ||
Keys[Keys["Digit1"] = 49] = "Digit1"; | ||
Keys[Keys["Digit2"] = 50] = "Digit2"; | ||
Keys[Keys["Digit3"] = 51] = "Digit3"; | ||
Keys[Keys["Digit4"] = 52] = "Digit4"; | ||
Keys[Keys["Digit5"] = 53] = "Digit5"; | ||
Keys[Keys["Digit6"] = 54] = "Digit6"; | ||
Keys[Keys["Digit7"] = 55] = "Digit7"; | ||
Keys[Keys["Digit8"] = 56] = "Digit8"; | ||
Keys[Keys["Digit9"] = 57] = "Digit9"; | ||
Keys[Keys["End"] = 35] = "End"; | ||
@@ -426,2 +436,29 @@ Keys[Keys["Enter"] = 13] = "Enter"; | ||
Keys[Keys["Insert"] = 45] = "Insert"; | ||
Keys[Keys["KeyA"] = 65] = "KeyA"; | ||
Keys[Keys["KeyB"] = 66] = "KeyB"; | ||
Keys[Keys["KeyC"] = 67] = "KeyC"; | ||
Keys[Keys["KeyD"] = 68] = "KeyD"; | ||
Keys[Keys["KeyE"] = 69] = "KeyE"; | ||
Keys[Keys["KeyF"] = 70] = "KeyF"; | ||
Keys[Keys["KeyG"] = 71] = "KeyG"; | ||
Keys[Keys["KeyH"] = 72] = "KeyH"; | ||
Keys[Keys["KeyI"] = 73] = "KeyI"; | ||
Keys[Keys["KeyJ"] = 74] = "KeyJ"; | ||
Keys[Keys["KeyK"] = 75] = "KeyK"; | ||
Keys[Keys["KeyL"] = 76] = "KeyL"; | ||
Keys[Keys["KeyM"] = 77] = "KeyM"; | ||
Keys[Keys["KeyN"] = 78] = "KeyN"; | ||
Keys[Keys["KeyO"] = 79] = "KeyO"; | ||
Keys[Keys["KeyP"] = 80] = "KeyP"; | ||
Keys[Keys["KeyQ"] = 81] = "KeyQ"; | ||
Keys[Keys["KeyR"] = 82] = "KeyR"; | ||
Keys[Keys["KeyS"] = 83] = "KeyS"; | ||
Keys[Keys["KeyT"] = 84] = "KeyT"; | ||
Keys[Keys["KeyU"] = 85] = "KeyU"; | ||
Keys[Keys["KeyV"] = 86] = "KeyV"; | ||
Keys[Keys["KeyW"] = 87] = "KeyW"; | ||
Keys[Keys["KeyX"] = 88] = "KeyX"; | ||
Keys[Keys["KeyY"] = 89] = "KeyY"; | ||
Keys[Keys["KeyZ"] = 90] = "KeyZ"; | ||
Keys[Keys["NumpadDecimal"] = 110] = "NumpadDecimal"; | ||
Keys[Keys["PageDown"] = 34] = "PageDown"; | ||
@@ -432,3 +469,2 @@ Keys[Keys["PageUp"] = 33] = "PageUp"; | ||
Keys[Keys["Tab"] = 9] = "Tab"; | ||
Keys[Keys["NumpadDecimal"] = 110] = "NumpadDecimal"; | ||
})(Keys || (Keys = {})); | ||
@@ -435,0 +471,0 @@ |
@@ -448,2 +448,12 @@ import { Component, Directive, ElementRef, EventEmitter, Injectable, Input, NgModule, NgZone, Output, Renderer2, ViewChild } from '@angular/core'; | ||
Keys[Keys["Delete"] = 46] = "Delete"; | ||
Keys[Keys["Digit0"] = 48] = "Digit0"; | ||
Keys[Keys["Digit1"] = 49] = "Digit1"; | ||
Keys[Keys["Digit2"] = 50] = "Digit2"; | ||
Keys[Keys["Digit3"] = 51] = "Digit3"; | ||
Keys[Keys["Digit4"] = 52] = "Digit4"; | ||
Keys[Keys["Digit5"] = 53] = "Digit5"; | ||
Keys[Keys["Digit6"] = 54] = "Digit6"; | ||
Keys[Keys["Digit7"] = 55] = "Digit7"; | ||
Keys[Keys["Digit8"] = 56] = "Digit8"; | ||
Keys[Keys["Digit9"] = 57] = "Digit9"; | ||
Keys[Keys["End"] = 35] = "End"; | ||
@@ -457,2 +467,29 @@ Keys[Keys["Enter"] = 13] = "Enter"; | ||
Keys[Keys["Insert"] = 45] = "Insert"; | ||
Keys[Keys["KeyA"] = 65] = "KeyA"; | ||
Keys[Keys["KeyB"] = 66] = "KeyB"; | ||
Keys[Keys["KeyC"] = 67] = "KeyC"; | ||
Keys[Keys["KeyD"] = 68] = "KeyD"; | ||
Keys[Keys["KeyE"] = 69] = "KeyE"; | ||
Keys[Keys["KeyF"] = 70] = "KeyF"; | ||
Keys[Keys["KeyG"] = 71] = "KeyG"; | ||
Keys[Keys["KeyH"] = 72] = "KeyH"; | ||
Keys[Keys["KeyI"] = 73] = "KeyI"; | ||
Keys[Keys["KeyJ"] = 74] = "KeyJ"; | ||
Keys[Keys["KeyK"] = 75] = "KeyK"; | ||
Keys[Keys["KeyL"] = 76] = "KeyL"; | ||
Keys[Keys["KeyM"] = 77] = "KeyM"; | ||
Keys[Keys["KeyN"] = 78] = "KeyN"; | ||
Keys[Keys["KeyO"] = 79] = "KeyO"; | ||
Keys[Keys["KeyP"] = 80] = "KeyP"; | ||
Keys[Keys["KeyQ"] = 81] = "KeyQ"; | ||
Keys[Keys["KeyR"] = 82] = "KeyR"; | ||
Keys[Keys["KeyS"] = 83] = "KeyS"; | ||
Keys[Keys["KeyT"] = 84] = "KeyT"; | ||
Keys[Keys["KeyU"] = 85] = "KeyU"; | ||
Keys[Keys["KeyV"] = 86] = "KeyV"; | ||
Keys[Keys["KeyW"] = 87] = "KeyW"; | ||
Keys[Keys["KeyX"] = 88] = "KeyX"; | ||
Keys[Keys["KeyY"] = 89] = "KeyY"; | ||
Keys[Keys["KeyZ"] = 90] = "KeyZ"; | ||
Keys[Keys["NumpadDecimal"] = 110] = "NumpadDecimal"; | ||
Keys[Keys["PageDown"] = 34] = "PageDown"; | ||
@@ -463,3 +500,2 @@ Keys[Keys["PageUp"] = 33] = "PageUp"; | ||
Keys[Keys["Tab"] = 9] = "Tab"; | ||
Keys[Keys["NumpadDecimal"] = 110] = "NumpadDecimal"; | ||
})(Keys || (Keys = {})); | ||
@@ -466,0 +502,0 @@ |
@@ -16,2 +16,12 @@ "use strict"; | ||
Keys[Keys["Delete"] = 46] = "Delete"; | ||
Keys[Keys["Digit0"] = 48] = "Digit0"; | ||
Keys[Keys["Digit1"] = 49] = "Digit1"; | ||
Keys[Keys["Digit2"] = 50] = "Digit2"; | ||
Keys[Keys["Digit3"] = 51] = "Digit3"; | ||
Keys[Keys["Digit4"] = 52] = "Digit4"; | ||
Keys[Keys["Digit5"] = 53] = "Digit5"; | ||
Keys[Keys["Digit6"] = 54] = "Digit6"; | ||
Keys[Keys["Digit7"] = 55] = "Digit7"; | ||
Keys[Keys["Digit8"] = 56] = "Digit8"; | ||
Keys[Keys["Digit9"] = 57] = "Digit9"; | ||
Keys[Keys["End"] = 35] = "End"; | ||
@@ -25,2 +35,29 @@ Keys[Keys["Enter"] = 13] = "Enter"; | ||
Keys[Keys["Insert"] = 45] = "Insert"; | ||
Keys[Keys["KeyA"] = 65] = "KeyA"; | ||
Keys[Keys["KeyB"] = 66] = "KeyB"; | ||
Keys[Keys["KeyC"] = 67] = "KeyC"; | ||
Keys[Keys["KeyD"] = 68] = "KeyD"; | ||
Keys[Keys["KeyE"] = 69] = "KeyE"; | ||
Keys[Keys["KeyF"] = 70] = "KeyF"; | ||
Keys[Keys["KeyG"] = 71] = "KeyG"; | ||
Keys[Keys["KeyH"] = 72] = "KeyH"; | ||
Keys[Keys["KeyI"] = 73] = "KeyI"; | ||
Keys[Keys["KeyJ"] = 74] = "KeyJ"; | ||
Keys[Keys["KeyK"] = 75] = "KeyK"; | ||
Keys[Keys["KeyL"] = 76] = "KeyL"; | ||
Keys[Keys["KeyM"] = 77] = "KeyM"; | ||
Keys[Keys["KeyN"] = 78] = "KeyN"; | ||
Keys[Keys["KeyO"] = 79] = "KeyO"; | ||
Keys[Keys["KeyP"] = 80] = "KeyP"; | ||
Keys[Keys["KeyQ"] = 81] = "KeyQ"; | ||
Keys[Keys["KeyR"] = 82] = "KeyR"; | ||
Keys[Keys["KeyS"] = 83] = "KeyS"; | ||
Keys[Keys["KeyT"] = 84] = "KeyT"; | ||
Keys[Keys["KeyU"] = 85] = "KeyU"; | ||
Keys[Keys["KeyV"] = 86] = "KeyV"; | ||
Keys[Keys["KeyW"] = 87] = "KeyW"; | ||
Keys[Keys["KeyX"] = 88] = "KeyX"; | ||
Keys[Keys["KeyY"] = 89] = "KeyY"; | ||
Keys[Keys["KeyZ"] = 90] = "KeyZ"; | ||
Keys[Keys["NumpadDecimal"] = 110] = "NumpadDecimal"; | ||
Keys[Keys["PageDown"] = 34] = "PageDown"; | ||
@@ -31,3 +68,2 @@ Keys[Keys["PageUp"] = 33] = "PageUp"; | ||
Keys[Keys["Tab"] = 9] = "Tab"; | ||
Keys[Keys["NumpadDecimal"] = 110] = "NumpadDecimal"; | ||
})(Keys = exports.Keys || (exports.Keys = {})); |
@@ -1,1 +0,1 @@ | ||
System.register("@progress/kendo-angular-common",["tslib","@angular/core","@telerik/kendo-draggable","@angular/common","rxjs/operators","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=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=c},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","@angular/common","rxjs","rxjs/operators"],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 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=(l.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()}})},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 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())}},l.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},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 i=this.shrink.nativeElement;i.scrollLeft=1e5,i.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}},n.__decorate([r.Input(),n.__metadata("design:type",Number)],l.prototype,"rateLimit",void 0),n.__decorate([r.Output(),n.__metadata("design:type",r.EventEmitter)],l.prototype,"resize",void 0),n.__decorate([r.ViewChild("expand"),n.__metadata("design:type",r.ElementRef)],l.prototype,"expand",void 0),n.__decorate([r.ViewChild("expandChild"),n.__metadata("design:type",r.ElementRef)],l.prototype,"expandChild",void 0),n.__decorate([r.ViewChild("shrink"),n.__metadata("design:type",r.ElementRef)],l.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])],l));function l(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.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.0.0", | ||
"version": "1.1.0-dev.201908081441", | ||
"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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
157460
2790
4