Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@telerik/kendo-draggable

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@telerik/kendo-draggable - npm Package Compare versions

Comparing version 1.6.1-dev.201801021454 to 1.7.0-dev.201802141311

dist/es2015/main.js

2

dist/es/main.js

@@ -171,3 +171,1 @@ var proxy = function (a, b) { return function (e) { return b(a(e)); }; };

//# sourceMappingURL=main.js.map

@@ -175,2 +175,2 @@ 'use strict';

//# sourceMappingURL=main.js.map
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjpudWxsLCJzb3VyY2VzIjpbIi9ob21lL3RyYXZpcy9idWlsZC90ZWxlcmlrL2tlbmRvLWRyYWdnYWJsZS9zcmMvbWFpbi5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBwcm94eSA9IChhLCBiKSA9PiAoZSkgPT4gYihhKGUpKTtcblxuY29uc3QgYmluZCA9IChlbCwgZXZlbnQsIGNhbGxiYWNrKSA9PlxuICAgIGVsLmFkZEV2ZW50TGlzdGVuZXIgJiYgZWwuYWRkRXZlbnRMaXN0ZW5lcihldmVudCwgY2FsbGJhY2spO1xuXG5jb25zdCB1bmJpbmQgPSAoZWwsIGV2ZW50LCBjYWxsYmFjaykgPT5cbiAgICBlbC5yZW1vdmVFdmVudExpc3RlbmVyICYmIGVsLnJlbW92ZUV2ZW50TGlzdGVuZXIoZXZlbnQsIGNhbGxiYWNrKTtcblxuY29uc3Qgbm9vcCA9ICgpID0+IHsgLyogZW1wdHkgKi8gfTtcblxuY29uc3QgdG91Y2hSZWdFeHAgPSAvdG91Y2gvO1xuXG4vLyAzMDBtcyBpcyB0aGUgdXN1YWwgbW91c2UgaW50ZXJ2YWw7XG4vLyAvLyBIb3dldmVyLCBhbiB1bmRlcnBvd2VyZWQgbW9iaWx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AgICAgICAgICAgICB0aGlzLl9pZ25vcmVNb3VzZSA9IHRydWU7XG4gICAgICAgICAgICAgICAgc2V0VGltZW91dCh0aGlzLl9yZXN0b3JlTW91c2UsIElHTk9SRV9NT1VTRV9USU1FT1VUKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9yZXN0b3JlTW91c2UgPSAoKSA9PiB7XG4gICAgICAgICAgICB0aGlzLl9pZ25vcmVNb3VzZSA9IGZhbHNlO1xuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX21vdXNlZG93biA9IChlKSA9PiB7XG4gICAgICAgICAgICBjb25zdCB7IHdoaWNoIH0gPSBlO1xuXG4gICAgICAgICAgICBpZiAoKHdoaWNoICYmIHdoaWNoID4gMSkgfHwgdGhpcy5faWdub3JlTW91c2UpIHtcbiAgICAgICAgICAgICAgICByZXR1cm47XG4gICAgICAgICAgICB9XG5cbiAgICAgICAgICAgIGJpbmQoZG9jdW1lbnQsIFwibW91c2Vtb3ZlXCIsIHRoaXMuX21vdXNlbW92ZSk7XG4gICAgICAgICAgICBiaW5kKGRvY3VtZW50LCBcIm1vdXNldXBcIiwgdGhpcy5fbW91c2V1cCk7XG4gICAgICAgICAgICB0aGlzLl9wcmVzc0hhbmRsZXIoZSk7XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fbW91c2Vtb3ZlID0gKGUpID0+IHtcbiAgICAgICAgICAgIHRoaXMuX2RyYWdIYW5kbGVyKGUpO1xuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX21vdXNldXAgPSAoZSkgPT4ge1xuICAgICAgICAgICAgdW5iaW5kKGRvY3VtZW50LCBcIm1vdXNlbW92ZVwiLCB0aGlzLl9tb3VzZW1vdmUpO1xuICAgICAgICAgICAgdW5iaW5kKGRvY3VtZW50LCBcIm1vdXNldXBcIiwgdGhpcy5fbW91c2V1cCk7XG4gICAgICAgICAgICB0aGlzLl9yZWxlYXNlSGFuZGxlcihlKTtcbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9wb2ludGVyZG93biA9IChlKSA9PiB7XG4gICAgICAgICAgICBpZiAoZS5pc1ByaW1hcnkpIHtcbiAgICAgICAgICAgICAgICBiaW5kKHRoaXMuX2VsZW1lbnQsIFwicG9pbnRlcm1vdmVcIiwgdGhpcy5fcG9pbnRlcm1vdmUpO1xuICAgICAgICAgICAgICAgIHRoaXMuX3RvdWNoQWN0aW9uID0gZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb247XG4gICAgICAgICAgICAgICAgZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb24gPSBcIm5vbmVcIjtcbiAgICAgICAgICAgICAgICBlLnRhcmdldC5zZXRQb2ludGVyQ2FwdHVyZShlLnBvaW50ZXJJZCk7XG4gICAgICAgICAgICAgICAgdGhpcy5fcHJlc3NIYW5kbGVyKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX3BvaW50ZXJtb3ZlID0gKGUpID0+IHtcbiAgICAgICAgICAgIGlmIChlLmlzUHJpbWFyeSkge1xuICAgICAgICAgICAgICAgIHRoaXMuX2RyYWdIYW5kbGVyKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX3BvaW50ZXJ1cCA9IChlKSA9PiB7XG4gICAgICAgICAgICBpZiAoZS5pc1ByaW1hcnkpIHtcbiAgICAgICAgICAgICAgICB1bmJpbmQodGhpcy5fZWxlbWVudCwgXCJwb2ludGVybW92ZVwiLCB0aGlzLl9wb2ludGVybW92ZSk7XG4gICAgICAgICAgICAgICAgZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb24gPSB0aGlzLl90b3VjaEFjdGlvbjtcbiAgICAgICAgICAgICAgICBlLnRhcmdldC5yZWxlYXNlUG9pbnRlckNhcHR1cmUoZS5wb2ludGVySWQpO1xuICAgICAgICAgICAgICAgIHRoaXMuX3JlbGVhc2VIYW5kbGVyKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuICAgIH1cblxuICAgIGJpbmRUbyhlbGVtZW50KSB7XG4gICAgICAgIGlmIChlbGVtZW50ID09PSB0aGlzLl9lbGVtZW50KSB7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICBpZiAodGhpcy5fZWxlbWVudCkge1xuICAgICAgICAgICAgdGhpcy5fdW5iaW5kRnJvbUN1cnJlbnQoKTtcbiAgICAgICAgfVxuXG4gICAgICAgIHRoaXMuX2VsZW1lbnQgPSBlbGVtZW50O1xuXG4gICAgICAgIGlmIChEcmFnZ2FibGUuc3VwcG9ydFBvaW50ZXJFdmVudCgpKSB7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwicG9pbnRlcmRvd25cIiwgdGhpcy5fcG9pbnRlcmRvd24pO1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcInBvaW50ZXJ1cFwiLCB0aGlzLl9wb2ludGVydXApO1xuICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcIm1vdXNlZG93blwiLCB0aGlzLl9tb3VzZWRvd24pO1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcInRvdWNoc3RhcnRcIiwgdGhpcy5fdG91Y2hzdGFydCk7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwidG91Y2htb3ZlXCIsIHRoaXMuX3RvdWNobW92ZSk7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwidG91Y2hlbmRcIiwgdGhpcy5fdG91Y2hlbmQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgX3VuYmluZEZyb21DdXJyZW50KCkge1xuICAgICAgICBpZiAoRHJhZ2dhYmxlLnN1cHBvcnRQb2ludGVyRXZlbnQoKSkge1xuICAgICAgICAgICAgdW5iaW5kKHRoaXMuX2VsZW1lbnQsIFwicG9pbnRlcmRvd25cIiwgdGhpcy5fcG9pbnRlcmRvd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QyxTQUFTLENBQUMsQ0FBQztLQUNyRDtDQUNKLENBQUE7O0FBRUwsb0JBQUksT0FBTyx1QkFBRztJQUNWLElBQVEsQ0FBQyxrQkFBa0IsRUFBRSxDQUFDO0lBQzlCLElBQVEsQ0FBQyxRQUFRLEdBQUcsSUFBSSxDQUFDO0NBQ3hCLENBQUEsQUFJb0I7OzsifQ==

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

System.register("@telerik/kendo-draggable",[],function(e){return{setters:[],execute:function(){!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=e,n.c=t,n.p="",n(0)}([function(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(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(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(e,t){return function(n){return t(e(n))}},i=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},u=function(e,t,n){return e.removeEventListener&&e.removeEventListener(t,n)},s=function(){},a=/touch/,c=2e3;function h(e){return e.type.match(a)?{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 l=n.Draggable=function(){o(e,null,[{key:"supportPointerEvent",value:function(){return window.PointerEvent}}]);function e(t){var n=this,o=t.press,a=void 0===o?s:o,l=t.drag,_=void 0===l?s:l,p=t.release,d=void 0===p?s:p;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._pressHandler=r(h,a),this._dragHandler=r(h,_),this._releaseHandler=r(h,d),this._ignoreMouse=!1,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,c))},this._restoreMouse=function(){n._ignoreMouse=!1},this._mousedown=function(e){var t=e.which;t&&t>1||n._ignoreMouse||(i(document,"mousemove",n._mousemove),i(document,"mouseup",n._mouseup),n._pressHandler(e))},this._mousemove=function(e){n._dragHandler(e)},this._mouseup=function(e){u(document,"mousemove",n._mousemove),u(document,"mouseup",n._mouseup),n._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&(i(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&&(u(n._element,"pointermove",n._pointermove),e.target.style.touchAction=n._touchAction,e.target.releasePointerCapture(e.pointerId),n._releaseHandler(e))}}return o(e,[{key:"bindTo",value:function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,e.supportPointerEvent()?(i(t,"pointerdown",this._pointerdown),i(t,"pointerup",this._pointerup)):(i(t,"mousedown",this._mousedown),i(t,"touchstart",this._touchstart),i(t,"touchmove",this._touchmove),i(t,"touchend",this._touchend)))}},{key:"_unbindFromCurrent",value:function(){e.supportPointerEvent()?(u(this._element,"pointerdown",this._pointerdown),u(this._element,"pointermove",this._pointermove),u(this._element,"pointerup",this._pointerup)):(u(this._element,"mousedown",this._mousedown),u(this._element,"touchstart",this._touchstart),u(this._element,"touchmove",this._touchmove),u(this._element,"touchend",this._touchend))}},{key:"destroy",value:function(){this._unbindFromCurrent(),this._element=null}}]),e}();n.default=l,function(t){for(var n in t)e(n,t[n])}(n)}])}}});
System.register("@telerik/kendo-draggable",[],function(e){return{setters:[],execute:function(){!function(e){var t={};function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.m=e,n.c=t,n.p="",n(0)}([function(t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var o=function(){function e(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(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}();var r=function(e,t){return function(n){return t(e(n))}},i=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},u=function(e,t,n){return e.removeEventListener&&e.removeEventListener(t,n)},s=function(){},a=/touch/,c=2e3;function h(e){return e.type.match(a)?{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 l=n.Draggable=function(){function e(t){var n=this,o=t.press,a=void 0===o?s:o,l=t.drag,_=void 0===l?s:l,p=t.release,d=void 0===p?s:p;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._pressHandler=r(h,a),this._dragHandler=r(h,_),this._releaseHandler=r(h,d),this._ignoreMouse=!1,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,c))},this._restoreMouse=function(){n._ignoreMouse=!1},this._mousedown=function(e){var t=e.which;t&&t>1||n._ignoreMouse||(i(document,"mousemove",n._mousemove),i(document,"mouseup",n._mouseup),n._pressHandler(e))},this._mousemove=function(e){n._dragHandler(e)},this._mouseup=function(e){u(document,"mousemove",n._mousemove),u(document,"mouseup",n._mouseup),n._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&(i(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&&(u(n._element,"pointermove",n._pointermove),e.target.style.touchAction=n._touchAction,e.target.releasePointerCapture(e.pointerId),n._releaseHandler(e))}}return o(e,null,[{key:"supportPointerEvent",value:function(){return window.PointerEvent}}]),o(e,[{key:"bindTo",value:function(t){t!==this._element&&(this._element&&this._unbindFromCurrent(),this._element=t,e.supportPointerEvent()?(i(t,"pointerdown",this._pointerdown),i(t,"pointerup",this._pointerup)):(i(t,"mousedown",this._mousedown),i(t,"touchstart",this._touchstart),i(t,"touchmove",this._touchmove),i(t,"touchend",this._touchend)))}},{key:"_unbindFromCurrent",value:function(){e.supportPointerEvent()?(u(this._element,"pointerdown",this._pointerdown),u(this._element,"pointermove",this._pointermove),u(this._element,"pointerup",this._pointerup)):(u(this._element,"mousedown",this._mousedown),u(this._element,"touchstart",this._touchstart),u(this._element,"touchmove",this._touchmove),u(this._element,"touchend",this._touchend))}},{key:"destroy",value:function(){this._unbindFromCurrent(),this._element=null}}]),e}();n.default=l,function(t){for(var n in t)e(n,t[n])}(n)}])}}});
{
"name": "@telerik/kendo-draggable",
"description": "A cross-browser/event abstraction that handles mouse and touch drag sequences",
"version": "1.6.1-dev.201801021454",
"author": "Progress",
"license": "Apache-2.0",
"version": "1.7.0-dev.201802141311",
"main": "dist/npm/main.js",
"module": "dist/es/main.js",
"jsnext:main": "dist/es/main.js",
"typings": "dist/es/main",
"es2015": "dist/es2015/main.js",
"typings": "dist/npm/main.d.ts",
"jsdelivr": "dist/cdn/js/kendo-draggable.js",
"unpkg": "dist/cdn/js/kendo-draggable.js",
"scripts": {

@@ -21,3 +26,3 @@ "build-package": "gulp build-rollup-package",

"@telerik/eslint-config": "^1.0.0",
"@telerik/kendo-package-tasks": "^1.6.1",
"@telerik/kendo-package-tasks": "^2.0.0",
"@telerik/semantic-prerelease": "^1.0.0",

@@ -30,4 +35,2 @@ "cz-conventional-changelog": "^1.1.5",

},
"author": "Progress",
"license": "Apache-2.0",
"config": {

@@ -34,0 +37,0 @@ "commitizen": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc