@telerik/kendo-draggable
Advanced tools
Comparing version 1.8.0 to 1.8.1-dev.201806250556
@@ -127,3 +127,3 @@ var proxy = function (a, b) { return function (e) { return b(a(e)); }; }; | ||
Draggable.supportPointerEvent = function supportPointerEvent () { | ||
return window.PointerEvent; | ||
return (typeof window !== 'undefined') && window.PointerEvent; | ||
}; | ||
@@ -130,0 +130,0 @@ |
@@ -42,3 +42,3 @@ const proxy = (a, b) => (e) => b(a(e)); | ||
static supportPointerEvent() { | ||
return window.PointerEvent; | ||
return (typeof window !== 'undefined') && window.PointerEvent; | ||
} | ||
@@ -45,0 +45,0 @@ |
@@ -131,3 +131,3 @@ 'use strict'; | ||
Draggable.supportPointerEvent = function supportPointerEvent () { | ||
return window.PointerEvent; | ||
return (typeof window !== 'undefined') && window.PointerEvent; | ||
}; | ||
@@ -203,2 +203,2 @@ | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjpudWxsLCJzb3VyY2VzIjpbIi9ob21lL3RyYXZpcy9idWlsZC90ZWxlcmlrL2tlbmRvLWRyYWdnYWJsZS9zcmMvbWFpbi5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBwcm94eSA9IChhLCBiKSA9PiAoZSkgPT4gYihhKGUpKTtcblxuY29uc3QgYmluZCA9IChlbCwgZXZlbnQsIGNhbGxiYWNrKSA9PlxuICAgIGVsLmFkZEV2ZW50TGlzdGVuZXIgJiYgZWwuYWRkRXZlbnRMaXN0ZW5lcihldmVudCwgY2FsbGJhY2spO1xuXG5jb25zdCB1bmJpbmQgPSAoZWwsIGV2ZW50LCBjYWxsYmFjaykgPT5cbiAgICBlbC5yZW1vdmVFdmVudExpc3RlbmVyICYmIGVsLnJlbW92ZUV2ZW50TGlzdGVuZXIoZXZlbnQsIGNhbGxiYWNrKTtcblxuY29uc3Qgbm9vcCA9ICgpID0+IHsgLyogZW1wdHkgKi8gfTtcblxuY29uc3QgdG91Y2hSZWdFeHAgPSAv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BiZXR0ZXIgd2F5IHRvIGhhbmRsZSB0aGlzLlxuICAgICAgICAgICAgaWYgKGUudG91Y2hlcy5sZW5ndGggPT09IDAgJiYgZS5jaGFuZ2VkVG91Y2hlcy5sZW5ndGggPT09IDEpIHtcbiAgICAgICAgICAgICAgICB0aGlzLl9yZWxlYXNlSGFuZGxlcihlKTtcbiAgICAgICAgICAgICAgICB0aGlzLl9pZ25vcmVNb3VzZSA9IHRydWU7XG4gICAgICAgICAgICAgICAgc2V0VGltZW91dCh0aGlzLl9yZXN0b3JlTW91c2UsIElHTk9SRV9NT1VTRV9USU1FT1VUKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9yZXN0b3JlTW91c2UgPSAoKSA9PiB7XG4gICAgICAgICAgICB0aGlzLl9pZ25vcmVNb3VzZSA9IGZhbHNlO1xuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX21vdXNlZG93biA9IChlKSA9PiB7XG4gICAgICAgICAgICBjb25zdCB7IHdoaWNoIH0gPSBlO1xuXG4gICAgICAgICAgICBpZiAoKHdoaWNoICYmIHdoaWNoID4gMSkgfHwgdGhpcy5faWdub3JlTW91c2UpIHtcbiAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGJpbmQoZG9jdW1lbnQsIFwibW91c2Vtb3ZlXCIsIHRoaXMuX21vdXNlbW92ZSk7XG4gICAgICAgICAgICBiaW5kKGRvY3VtZW50LCBcIm1vdXNldXBcIiwgdGhpcy5fbW91c2V1cCk7XG4gICAgICAgICAgICB0aGlzLl9wcmVzc0hhbmRsZXIoZSk7XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fbW91c2Vtb3ZlID0gKGUpID0+IHtcbiAgICAgICAgICAgIHRoaXMuX2RyYWdIYW5kbGVyKGUpO1xuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX21vdXNldXAgPSAoZSkgPT4ge1xuICAgICAgICAgICAgdW5iaW5kKGRvY3VtZW50LCBcIm1vdXNlbW92ZVwiLCB0aGlzLl9tb3VzZW1vdmUpO1xuICAgICAgICAgICAgdW5iaW5kKGRvY3VtZW50LCBcIm1vdXNldXBcIiwgdGhpcy5fbW91c2V1cCk7XG4gICAgICAgICAgICB0aGlzLl9yZWxlYXNlSGFuZGxlcihlKTtcbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9wb2ludGVyZG93biA9IChlKSA9PiB7XG4gICAgICAgICAgICBpZiAoZS5pc1ByaW1hcnkgJiYgZS5idXR0b24gPT09IDApIHtcbiAgICAgICAgICAgICAgICBiaW5kKHRoaXMuX2VsZW1lbnQsIFwicG9pbnRlcm1vdmVcIiwgdGhpcy5fcG9pbnRlcm1vdmUpO1xuICAgICAgICAgICAgICAgIHRoaXMuX3RvdWNoQWN0aW9uID0gZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb247XG4gICAgICAgICAgICAgICAgZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb24gPSBcIm5vbmVcIjtcbiAgICAgICAgICAgICAgICBlLnRhcmdldC5zZXRQb2ludGVyQ2FwdHVyZShlLnBvaW50ZXJJZCk7XG4gICAgICAgICAgICAgICAgdGhpcy5fcHJlc3NIYW5kbGVyKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX3BvaW50ZXJtb3ZlID0gKGUpID0+IHtcbiAgICAgICAgICAgIGlmIChlLmlzUHJpbWFyeSkge1xuICAgICAgICAgICAgICAgIHRoaXMuX2RyYWdIYW5kbGVyKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX3BvaW50ZXJ1cCA9IChlKSA9PiB7XG4gICAgICAgICAgICBpZiAoZS5pc1ByaW1hcnkpIHtcbiAgICAgICAgICAgICAgICB1bmJpbmQodGhpcy5fZWxlbWVudCwgXCJwb2ludGVybW92ZVwiLCB0aGlzLl9wb2ludGVybW92ZSk7XG4gICAgICAgICAgICAgICAgZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb24gPSB0aGlzLl90b3VjaEFjdGlvbjtcbiAgICAgICAgICAgICAgICBlLnRhcmdldC5yZWxlYXNlUG9pbnRlckNhcHR1cmUoZS5wb2ludGVySWQpO1xuICAgICAgICAgICAgICAgIHRoaXMuX3JlbGVhc2VIYW5kbGVyKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuICAgIH1cblxuICAgIGJpbmRUbyhlbGVtZW50KSB7XG4gICAgICAgIGlmIChlbGVtZW50ID09PSB0aGlzLl9lbGVtZW50KSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodGhpcy5fZWxlbWVudCkge1xuICAgICAgICAgICAgdGhpcy5fdW5iaW5kRnJvbUN1cnJlbnQoKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuX2VsZW1lbnQgPSBlbGVtZW50O1xuICAgICAgICB0aGlzLl9iaW5kVG9DdXJyZW50KCk7XG4gICAgfVxuXG4gICAgX2JpbmRUb0N1cnJlbnQoKSB7XG4gICAgICAgIGNvbnN0IGVsZW1lbnQgPSB0aGlzLl9lbGVtZW50O1xuXG4gICAgICAgIGlmICh0aGlzLl91c2VQb2ludGVycygpKSB7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwicG9pbnRlcmRvd25cIiwgdGhpcy5fcG9pbnRlcmRvd24pO1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcInBvaW50ZXJ1cFwiLCB0aGlzLl9wb2ludGVydXApO1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgYmluZChlbGVtZW50LCBcIm1vdXNlZG93blwiLCB0aGlzLl9tb3VzZWRvd24pO1xuXG4gICAgICAgIGlmICghdGhpcy5fbW91c2VPbmx5KSB7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwidG91Y2hzdGFyd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Sk7XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fbW91c2V1cCA9IChlKSA9PiB7XG4gICAgICAgICAgICB1bmJpbmQoZG9jdW1lbnQsIFwibW91c2Vtb3ZlXCIsIHRoaXMuX21vdXNlbW92ZSk7XG4gICAgICAgICAgICB1bmJpbmQoZG9jdW1lbnQsIFwibW91c2V1cFwiLCB0aGlzLl9tb3VzZXVwKTtcbiAgICAgICAgICAgIHRoaXMuX3JlbGVhc2VIYW5kbGVyKGUpO1xuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX3BvaW50ZXJkb3duID0gKGUpID0+IHtcbiAgICAgICAgICAgIGlmIChlLmlzUHJpbWFyeSAmJiBlLmJ1dHRvbiA9PT0gMCkge1xuICAgICAgICAgICAgICAgIGJpbmQodGhpcy5fZWxlbWVudCwgXCJwb2ludGVybW92ZVwiLCB0aGlzLl9wb2ludGVybW92ZSk7XG4gICAgICAgICAgICAgICAgdGhpcy5fdG91Y2hBY3Rpb24gPSBlLnRhcmdldC5zdHlsZS50b3VjaEFjdGlvbjtcbiAgICAgICAgICAgICAgICBlLnRhcmdldC5zdHlsZS50b3VjaEFjdGlvbiA9IFwibm9uZVwiO1xuICAgICAgICAgICAgICAgIGUudGFyZ2V0LnNldFBvaW50ZXJDYXB0dXJlKGUucG9pbnRlcklkKTtcbiAgICAgICAgICAgICAgICB0aGlzLl9wcmVzc0hhbmRsZXIoZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcm1vdmUgPSAoZSkgPT4ge1xuICAgICAgICAgICAgaWYgKGUuaXNQcmltYXJ5KSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fZHJhZ0hhbmRsZXIoZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcnVwID0gKGUpID0+IHtcbiAgICAgICAgICAgIGlmIChlLmlzUHJpbWFyeSkge1xuICAgICAg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VLENBQUMsT0FBTyxFQUFFLFlBQVksRUFBRSxJQUFJLENBQUMsV0FBVyxDQUFDLENBQUM7UUFDcEQsTUFBVSxDQUFDLE9BQU8sRUFBRSxXQUFXLEVBQUUsSUFBSSxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBQ2xELE1BQVUsQ0FBQyxPQUFPLEVBQUUsVUFBVSxFQUFFLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQztLQUMvQztDQUNKLENBQUE7O0FBRUwsb0JBQUksWUFBWSw0QkFBRztJQUNmLE9BQVcsQ0FBQyxJQUFJLENBQUMsVUFBVSxJQUFJLFNBQVMsQ0FBQyxtQkFBbUIsRUFBRSxDQUFDO0NBQzlELENBQUE7O0FBRUwsb0JBQUksT0FBTyx1QkFBRztJQUNWLElBQVEsQ0FBQyxrQkFBa0IsRUFBRSxDQUFDO0lBQzlCLElBQVEsQ0FBQyxRQUFRLEdBQUcsSUFBSSxDQUFDO0NBQ3hCLENBQUE7Ozs7OztBQU9MLFNBQVMsQ0FBQyxPQUFPLEdBQUcsU0FBUyxDQUFDLEFBR0w7OzsifQ== |
@@ -1,1 +0,1 @@ | ||
System.register("@telerik/kendo-draggable",[],function(i){return{setters:[],execute:function(){!function(n){var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=n,r.c=o,r.p="",r(0)}([function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}}();var l=function(t,n){return function(e){return n(t(e))}},d=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},_=function(e,t,n){return e.removeEventListener&&e.removeEventListener(t,n)},p=function(){},o=/touch/;function m(e){return e.type.match(o)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,type:e.type,originalEvent:e}:{pageX:e.pageX,pageY:e.pageY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var r=t.Draggable=function(){function h(e){var n=this,t=e.press,o=void 0===t?p:t,r=e.drag,i=void 0===r?p:r,u=e.release,s=void 0===u?p:u,a=e.mouseOnly,c=void 0!==a&&a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),this._pressHandler=l(m,o),this._dragHandler=l(m,i),this._releaseHandler=l(m,s),this._ignoreMouse=!1,this._mouseOnly=c,this._touchAction,this._touchstart=function(e){1===e.touches.length&&n._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&n._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(n._releaseHandler(e),n._ignoreMouse=!0,setTimeout(n._restoreMouse,2e3))},this._restoreMouse=function(){n._ignoreMouse=!1},this._mousedown=function(e){var t=e.which;t&&1<t||n._ignoreMouse||(d(document,"mousemove",n._mousemove),d(document,"mouseup",n._mouseup),n._pressHandler(e))},this._mousemove=function(e){n._dragHandler(e)},this._mouseup=function(e){_(document,"mousemove",n._mousemove),_(document,"mouseup",n._mouseup),n._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(d(n._element,"pointermove",n._pointermove),n._touchAction=e.target.style.touchAction,e.target.style.touchAction="none",e.target.setPointerCapture(e.pointerId),n._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&n._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(_(n._element,"pointermove",n._pointermove),e.target.style.touchAction=n._touchAction,e.target.releasePointerCapture(e.pointerId),n._releaseHandler(e))}}return n(h,null,[{key:"supportPointerEvent",value:function(){return window.PointerEvent}}]),n(h,[{key:"bindTo",value:function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())}},{key:"_bindToCurrent",value:function(){var e=this._element;if(this._usePointers())return d(e,"pointerdown",this._pointerdown),void d(e,"pointerup",this._pointerup);d(e,"mousedown",this._mousedown),this._mouseOnly||(d(e,"touchstart",this._touchstart),d(e,"touchmove",this._touchmove),d(e,"touchend",this._touchend))}},{key:"_unbindFromCurrent",value:function(){var e=this._element;if(this._usePointers())return _(e,"pointerdown",this._pointerdown),_(e,"pointermove",this._pointermove),void _(e,"pointerup",this._pointerup);_(e,"mousedown",this._mousedown),this._mouseOnly||(_(e,"touchstart",this._touchstart),_(e,"touchmove",this._touchmove),_(e,"touchend",this._touchend))}},{key:"_usePointers",value:function(){return!this._mouseOnly&&h.supportPointerEvent()}},{key:"destroy",value:function(){this._unbindFromCurrent(),this._element=null}}]),h}();r.default=r,t.default=r,function(e){for(var t in e)i(t,e[t])}(t)}])}}}); | ||
System.register("@telerik/kendo-draggable",[],function(i){return{setters:[],execute:function(){!function(n){var o={};function r(e){if(o[e])return o[e].exports;var t=o[e]={exports:{},id:e,loaded:!1};return n[e].call(t.exports,t,t.exports,r),t.loaded=!0,t.exports}r.m=n,r.c=o,r.p="",r(0)}([function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),e}}();var d=function(t,n){return function(e){return n(t(e))}},l=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},_=function(e,t,n){return e.removeEventListener&&e.removeEventListener(t,n)},p=function(){},o=/touch/;function m(e){return e.type.match(o)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,type:e.type,originalEvent:e}:{pageX:e.pageX,pageY:e.pageY,offsetX:e.offsetX,offsetY:e.offsetY,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,originalEvent:e}}var r=t.Draggable=function(){function h(e){var n=this,t=e.press,o=void 0===t?p:t,r=e.drag,i=void 0===r?p:r,u=e.release,s=void 0===u?p:u,a=e.mouseOnly,c=void 0!==a&&a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),this._pressHandler=d(m,o),this._dragHandler=d(m,i),this._releaseHandler=d(m,s),this._ignoreMouse=!1,this._mouseOnly=c,this._touchAction,this._touchstart=function(e){1===e.touches.length&&n._pressHandler(e)},this._touchmove=function(e){1===e.touches.length&&n._dragHandler(e)},this._touchend=function(e){0===e.touches.length&&1===e.changedTouches.length&&(n._releaseHandler(e),n._ignoreMouse=!0,setTimeout(n._restoreMouse,2e3))},this._restoreMouse=function(){n._ignoreMouse=!1},this._mousedown=function(e){var t=e.which;t&&1<t||n._ignoreMouse||(l(document,"mousemove",n._mousemove),l(document,"mouseup",n._mouseup),n._pressHandler(e))},this._mousemove=function(e){n._dragHandler(e)},this._mouseup=function(e){_(document,"mousemove",n._mousemove),_(document,"mouseup",n._mouseup),n._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(l(n._element,"pointermove",n._pointermove),n._touchAction=e.target.style.touchAction,e.target.style.touchAction="none",e.target.setPointerCapture(e.pointerId),n._pressHandler(e))},this._pointermove=function(e){e.isPrimary&&n._dragHandler(e)},this._pointerup=function(e){e.isPrimary&&(_(n._element,"pointermove",n._pointermove),e.target.style.touchAction=n._touchAction,e.target.releasePointerCapture(e.pointerId),n._releaseHandler(e))}}return n(h,null,[{key:"supportPointerEvent",value:function(){return"undefined"!=typeof window&&window.PointerEvent}}]),n(h,[{key:"bindTo",value:function(e){e!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=e,this._bindToCurrent())}},{key:"_bindToCurrent",value:function(){var e=this._element;if(this._usePointers())return l(e,"pointerdown",this._pointerdown),void l(e,"pointerup",this._pointerup);l(e,"mousedown",this._mousedown),this._mouseOnly||(l(e,"touchstart",this._touchstart),l(e,"touchmove",this._touchmove),l(e,"touchend",this._touchend))}},{key:"_unbindFromCurrent",value:function(){var e=this._element;if(this._usePointers())return _(e,"pointerdown",this._pointerdown),_(e,"pointermove",this._pointermove),void _(e,"pointerup",this._pointerup);_(e,"mousedown",this._mousedown),this._mouseOnly||(_(e,"touchstart",this._touchstart),_(e,"touchmove",this._touchmove),_(e,"touchend",this._touchend))}},{key:"_usePointers",value:function(){return!this._mouseOnly&&h.supportPointerEvent()}},{key:"destroy",value:function(){this._unbindFromCurrent(),this._element=null}}]),h}();r.default=r,t.default=r,function(e){for(var t in e)i(t,e[t])}(t)}])}}}); |
@@ -6,3 +6,3 @@ { | ||
"license": "Apache-2.0", | ||
"version": "1.8.0", | ||
"version": "1.8.1-dev.201806250556", | ||
"main": "dist/npm/main.js", | ||
@@ -9,0 +9,0 @@ "module": "dist/es/main.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
45020
2