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.9.0 to 1.9.1-dev.201901151010

2

dist/es/main.js

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

var unbind = function (el, event, callback) { return el.removeEventListener && el.removeEventListener(event, callback); };
var unbind = function (el, event, callback) { return el && el.removeEventListener && el.removeEventListener(event, callback); };

@@ -8,0 +8,0 @@ var noop = function () { /* empty */ };

@@ -7,3 +7,3 @@ const proxy = (a, b) => (e) => b(a(e));

const unbind = (el, event, callback) =>
el.removeEventListener && el.removeEventListener(event, callback);
el && el.removeEventListener && el.removeEventListener(event, callback);

@@ -10,0 +10,0 @@ const noop = () => { /* empty */ };

@@ -9,3 +9,3 @@ 'use strict';

var unbind = function (el, event, callback) { return el.removeEventListener && el.removeEventListener(event, callback); };
var unbind = function (el, event, callback) { return el && el.removeEventListener && el.removeEventListener(event, callback); };

@@ -217,2 +217,2 @@ var noop = function () { /* empty */ };

//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjpudWxsLCJzb3VyY2VzIjpbIi9ob21lL3RyYXZpcy9idWlsZC90ZWxlcmlrL2tlbmRvLWRyYWdnYWJsZS9zcmMvbWFpbi5qcyJdLCJzb3VyY2VzQ29udGVudCI6WyJjb25zdCBwcm94eSA9IChhLCBiKSA9PiAoZSkgPT4gYihhKGUpKTtcblxuY29uc3QgYmluZCA9IChlbCwgZXZlbnQsIGNhbGxiYWNrKSA9PlxuICAgIGVsLmFkZEV2ZW50TGlzdGVuZXIgJiYgZWwuYWRkRXZlbnRMaXN0ZW5lcihldmVudCwgY2FsbGJhY2spO1xuXG5jb25zdCB1bmJpbmQgPSAoZWws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aHN0YXJ0ID0gKGUpID0+IHtcbiAgICAgICAgICAgIGlmIChlLnRvdWNoZXMubGVuZ3RoID09PSAxKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fcHJlc3NIYW5kbGVyKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX3RvdWNobW92ZSA9IChlKSA9PiB7XG4gICAgICAgICAgICBpZiAoZS50b3VjaGVzLmxlbmd0aCA9PT0gMSkge1xuICAgICAgICAgICAgICAgIHRoaXMuX2RyYWdIYW5kbGVyKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX3RvdWNoZW5kID0gKGUpID0+IHtcbiAgICAgICAgICAgIC8vIHRoZSBsYXN0IGZpbmdlciBoYXMgYmVlbiBsaWZ0ZWQsIGFuZCB0aGUgdXNlciBpcyBub3QgZG9pbmcgZ2VzdHVyZS5cbiAgICAgICAgICAgIC8vIHRoZXJlIG1pZ2h0IGJlIGEgYmV0dGVyIHdheSB0byBoYW5kbGUgdGhpcy5cbiAgICAgICAgICAgIGlmIChlLnRvdWNoZXMubGVuZ3RoID09PSAwICYmIGUuY2hhbmdlZFRvdWNoZXMubGVuZ3RoID09PSAxKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fcmVsZWFzZUhhbmRsZXIoZSk7XG4gICAgICAgICAgICAgICAgdGhpcy5faWdub3JlTW91c2UgPSB0cnVlO1xuICAgICAgICAgICAgICAgIHNldFRpbWVvdXQodGhpcy5fcmVzdG9yZU1vdXNlLCBJR05PUkVfTU9VU0VfVElNRU9VVCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcmVzdG9yZU1vdXNlID0gKCkgPT4ge1xuICAgICAgICAgICAgdGhpcy5faWdub3JlTW91c2UgPSBmYWxzZTtcbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9tb3VzZWRvd24gPSAoZSkgPT4ge1xuICAgICAgICAgICAgY29uc3QgeyB3aGljaCB9ID0gZTtcblxuICAgICAgICAgICAgaWYgKCh3aGljaCAmJiB3aGljaCA+IDEpIHx8IHRoaXMuX2lnbm9yZU1vdXNlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBiaW5kKGRvY3VtZW50LCBcIm1vdXNlbW92ZVwiLCB0aGlzLl9tb3VzZW1vdmUpO1xuICAgICAgICAgICAgYmluZChkb2N1bWVudCwgXCJtb3VzZXVwXCIsIHRoaXMuX21vdXNldXApO1xuICAgICAgICAgICAgdGhpcy5fcHJlc3NIYW5kbGVyKGUpO1xuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX21vdXNlbW92ZSA9IChlKSA9PiB7XG4gICAgICAgICAgICB0aGlzLl9kcmFnSGFuZGxlcihlKTtcbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9tb3VzZXVwID0gKGUpID0+IHtcbiAgICAgICAgICAgIHVuYmluZChkb2N1bWVudCwgXCJtb3VzZW1vdmVcIiwgdGhpcy5fbW91c2Vtb3ZlKTtcbiAgICAgICAgICAgIHVuYmluZChkb2N1bWVudCwgXCJtb3VzZXVwXCIsIHRoaXMuX21vdXNldXApO1xuICAgICAgICAgICAgdGhpcy5fcmVsZWFzZUhhbmRsZXIoZSk7XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcmRvd24gPSAoZSkgPT4ge1xuICAgICAgICAgICAgaWYgKGUuaXNQcmltYXJ5ICYmIGUuYnV0dG9uID09PSAwKSB7XG4gICAgICAgICAgICAgICAgYmluZCh0aGlzLl9lbGVtZW50LCBcInBvaW50ZXJtb3ZlXCIsIHRoaXMuX3BvaW50ZXJtb3ZlKTtcbiAgICAgICAgICAgICAgICBiaW5kKHRoaXMuX2VsZW1lbnQsIFwicG9pbnRlcnVwXCIsIHRoaXMuX3BvaW50ZXJ1cCk7XG4gICAgICAgICAgICAgICAgYmluZCh0aGlzLl9lbGVtZW50LCBcImNvbnRleHRtZW51XCIsIHByZXZlbnREZWZhdWx0KTtcblxuICAgICAgICAgICAgICAgIHRoaXMuX3RvdWNoQWN0aW9uID0gZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb247XG4gICAgICAgICAgICAgICAgZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb24gPSBcIm5vbmVcIjtcbiAgICAgICAgICAgICAgICBlLnRhcmdldC5zZXRQb2ludGVyQ2FwdHVyZShlLnBvaW50ZXJJZCk7XG5cbiAgICAgICAgICAgICAgICB0aGlzLl9wcmVzc0hhbmRsZXIoZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcm1vdmUgPSAoZSkgPT4ge1xuICAgICAgICAgICAgaWYgKGUuaXNQcmltYXJ5KSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fZHJhZ0hhbmRsZXIoZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcnVwID0gKGUpID0+IHtcbiAgICAgICAgICAgIGlmIChlLmlzUHJpbWFyeSkge1xuICAgICAgICAgICAgICAgIHVuYmluZCh0aGlzLl9lbGVtZW50LCBcInBvaW50ZXJtb3ZlXCIsIHRoaXMuX3BvaW50ZXJtb3ZlKTtcbiAgICAgICAgICAgICAgICB1bmJpbmQodGhpcy5fZWxlbWVudCwgXCJwb2ludGVydXBcIiwgdGhpcy5fcG9pbnRlcnVwKTtcbiAgICAgICAgICAgICAgICB1bmJpbmQodGhpcy5fZWxlbWVudCwgXCJjb250ZXh0bWVudVwiLCBwcmV2ZW50RGVmYXVsdCk7XG5cbiAgICAgICAgICAgICAgICBlLnRhcmdldC5zdHlsZS50b3VjaEFjdGlvbiA9IHRoaXMuX3RvdWNoQWN0aW9uO1xuICAgICAgICAgICAgICAgIGUudGFyZ2V0LnJlbGVhc2VQb2ludGVyQ2FwdHVyZShlLnBvaW50ZXJJZCk7XG5cbiAgICAgICAgICAgICAgICB0aGlzLl9yZWxlYXNlSGFuZGxlcihlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICBiaW5kVG8oZWxlbWVudCkge1xuICAgICAgICBpZiAoZWxlbWVudCA9PT0gdGhpcy5fZWxlbWVudCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRoaXMuX2VsZW1lbnQpIHtcbiAgICAgICAgICAgIHRoaXMuX3VuYmluZEZyb21DdXJyZW50KCk7XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLl9lbGVtZW50ID0gZWxlbWVudDtcbiAgICAgICAgdGhpcy5fYmluZFRvQ3VycmVudCgpO1xuICAgIH1cblxuICAgIF9iaW5kVG9DdXJyZW50KCkge1xuICAgICAgICBjb25zdCBlbGVtZW50ID0gdGhpcy5fZWxlbWVudDtcblxuICAgICAgICBpZiAodGhpcy5fdXNlUG9pbnRlcnMoKSkge1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcInBvaW50ZXJkb3duXCIsIHRoaXMuX3BvaW50ZXJkb3duKTtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGJpbmQoZWxlbWVudCwgXCJtb3VzZWRvd25cIiwgdGhpcy5fbW91c2Vkb3duKTtcblxuICAgICAgICBpZiAoIXRoaXMuX21vdXNlT25seSkge1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcInRvdWNoc3RhcnRcIiwgdGhpcy5fdG91Y2hzdGFydCk7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwidG91Y2htb3ZlXCIsIHRoaXMuX3RvdWNobW92ZSk7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwidG91Y2hlbmRcIiwgdGhpcy5fdG91Y2hlbmQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgX3VuYmluZEZyb21Dd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gICAgICAgICAgICAgIHNldFRpbWVvdXQodGhpcy5fcmVzdG9yZU1vdXNlLCBJR05PUkVfTU9VU0VfVElNRU9VVCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcmVzdG9yZU1vdXNlID0gKCkgPT4ge1xuICAgICAgICAgICAgdGhpcy5faWdub3JlTW91c2UgPSBmYWxzZTtcbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9tb3VzZWRvd24gPSAoZSkgPT4ge1xuICAgICAgICAgICAgY29uc3QgeyB3aGljaCB9ID0gZTtcblxuICAgICAgICAgICAgaWYgKCh3aGljaCAmJiB3aGljaCA+IDEpIHx8IHRoaXMuX2lnbm9yZU1vdXNlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBiaW5kKGRvY3VtZW50LCBcIm1vdXNlbW92ZVwiLCB0aGlzLl9tb3VzZW1vdmUpO1xuICAgICAgICAgICAgYmluZChkb2N1bWVudCwgXCJtb3VzZXVwXCIsIHRoaXMuX21vdXNldXApO1xuICAgICAgICAgICAgdGhpcy5fcHJlc3NIYW5kbGVyKGUpO1xuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX21vdXNlbW92ZSA9IChlKSA9PiB7XG4gICAgICAgICAgICB0aGlzLl9kcmFnSGFuZGxlcihlKTtcbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9tb3VzZXVwID0gKGUpID0+IHtcbiAgICAgICAgICAgIHVuYmluZChkb2N1bWVudCwgXCJtb3VzZW1vdmVcIiwgdGhpcy5fbW91c2Vtb3ZlKTtcbiAgICAgICAgICAgIHVuYmluZChkb2N1bWVudCwgXCJtb3VzZXVwXCIsIHRoaXMuX21vdXNldXApO1xuICAgICAgICAgICAgdGhpcy5fcmVsZWFzZUhhbmRsZXIoZSk7XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcmRvd24gPSAoZSkgPT4ge1xuICAgICAgICAgICAgaWYgKGUuaXNQcmltYXJ5ICYmIGUuYnV0dG9uID09PSAwKSB7XG4gICAgICAgICAgICAgICAgYmluZCh0aGlzLl9lbGVtZW50LCBcInBvaW50ZXJtb3ZlXCIsIHRoaXMuX3BvaW50ZXJtb3ZlKTtcbiAgICAgICAgICAgICAgICBiaW5kKHRoaXMuX2VsZW1lbnQsIFwicG9pbnRlcnVwXCIsIHRoaXMuX3BvaW50ZXJ1cCk7XG4gICAgICAgICAgICAgICAgYmluZCh0aGlzLl9lbGVtZW50LCBcImNvbnRleHRtZW51XCIsIHByZXZlbnREZWZhdWx0KTtcblxuICAgICAgICAgICAgICAgIHRoaXMuX3RvdWNoQWN0aW9uID0gZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb247XG4gICAgICAgICAgICAgICAgZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb24gPSBcIm5vbmVcIjtcbiAgICAgICAgICAgICAgICBlLnRhcmdldC5zZXRQb2ludGVyQ2FwdHVyZShlLnBvaW50ZXJJZCk7XG5cbiAgICAgICAgICAgICAgICB0aGlzLl9wcmVzc0hhbmRsZXIoZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcm1vdmUgPSAoZSkgPT4ge1xuICAgICAgICAgICAgaWYgKGUuaXNQcmltYXJ5KSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fZHJhZ0hhbmRsZXIoZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcnVwID0gKGUpID0+IHtcbiAgICAgICAgICAgIGlmIChlLmlzUHJpbWFyeSkge1xuICAgICAgICAgICAgICAgIHVuYmluZCh0aGlzLl9lbGVtZW50LCBcInBvaW50ZXJtb3ZlXCIsIHRoaXMuX3BvaW50ZXJtb3ZlKTtcbiAgICAgICAgICAgICAgICB1bmJpbmQodGhpcy5fZWxlbWVudCwgXCJwb2ludGVydXBcIiwgdGhpcy5fcG9pbnRlcnVwKTtcbiAgICAgICAgICAgICAgICB1bmJpbmQodGhpcy5fZWxlbWVudCwgXCJjb250ZXh0bWVudVwiLCBwcmV2ZW50RGVmYXVsdCk7XG5cbiAgICAgICAgICAgICAgICBlLnRhcmdldC5zdHlsZS50b3VjaEFjdGlvbiA9IHRoaXMuX3RvdWNoQWN0aW9uO1xuICAgICAgICAgICAgICAgIGUudGFyZ2V0LnJlbGVhc2VQb2ludGVyQ2FwdHVyZShlLnBvaW50ZXJJZCk7XG5cbiAgICAgICAgICAgICAgICB0aGlzLl9yZWxlYXNlSGFuZGxlcihlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICBiaW5kVG8oZWxlbWVudCkge1xuICAgICAgICBpZiAoZWxlbWVudCA9PT0gdGhpcy5fZWxlbWVudCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRoaXMuX2VsZW1lbnQpIHtcbiAgICAgICAgICAgIHRoaXMuX3VuYmluZEZyb21DdXJyZW50KCk7XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLl9lbGVtZW50ID0gZWxlbWVudDtcbiAgICAgICAgdGhpcy5fYmluZFRvQ3VycmVudCgpO1xuICAgIH1cblxuICAgIF9iaW5kVG9DdXJyZW50KCkge1xuICAgICAgICBjb25zdCBlbGVtZW50ID0gdGhpcy5fZWxlbWVudDtcblxuICAgICAgICBpZiAodGhpcy5fdXNlUG9pbnRlcnMoKSkge1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcInBvaW50ZXJkb3duXCIsIHRoaXMuX3BvaW50ZXJkb3duKTtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGJpbmQoZWxlbWVudCwgXCJtb3VzZWRvd25cIiwgdGhpcy5fbW91c2Vkb3duKTtcblxuICAgICAgICBpZiAoIXRoaXMuX21vdXNlT25seSkge1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcInRvdWNoc3RhcnRcIiwgdGhpcy5fdG91Y2hzdGFydCk7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwidG91Y2htb3ZlXCIsIHRoaXMuX3RvdWNobW92ZSk7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwidG91Y2hlbmRcIiwgdGhpcy5fdG91Y2hlbmQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgX3VuYmluZEZyb21DdXJyZW50KCkge1xuICAgICAgICBjb25zdCBlbGVtZW50ID0gdGhpcy5fZWxlbWVudDtcblxuICAgICAgICBpZiAodGhpcy5fdXNlUG9pbnRlcnMoKSkge1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwicG9pbnRlcmRvd25cIiwgdGhpcy5fcG9pbnRlcmRvd24pO1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwicG9pbnRlcm1vdmVcIiwgdGhpcy5fcG9pbnRlcm1vdmUpO1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwicG9pbnRlcnVwXCIsIHRoaXMuX3BvaW50ZXJ1cCk7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICB1bmJpbmQoZWxlbWVudCwgXCJtb3VzZWRvd25cIiwgdGhpcy5fbW91c2Vkb3duKTtcblxuICAgICAgICBpZiAoIXRoaXMuX21vdXNlT25seSkge1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwidG91Y2hzdGFydFwiLCB0aGlzLl90b3VjaHN0YXJ0KTtcbiAgICAgICAgICAgIHVuYmluZChlbGVtZW50LCBcInRvdWNobW92ZVwiLCB0aGlzLl90b3VjaG1vdmUpO1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwidG91Y2hlbmRcIiwgdGhpcy5fdG91Y2hlbmQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgX3Vz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UFDVixJQUFRLENBQUMsa0JBQWtCLEVBQUUsQ0FBQztJQUM5QixJQUFRLENBQUMsUUFBUSxHQUFHLElBQUksQ0FBQztDQUN4QixDQUFBOzs7Ozs7QUFPTCxTQUFTLENBQUMsT0FBTyxHQUFHLFNBQVMsQ0FBQyxBQUdMOzs7In0=

@@ -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))}},_=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},d=function(e,t,n){return e.removeEventListener&&e.removeEventListener(t,n)},p=function(){},m=function(e){return e.preventDefault()},o=/touch/;function f(e){return e.type.match(o)?{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 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,c=e.mouseOnly,a=void 0!==c&&c;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),this._pressHandler=l(f,o),this._dragHandler=l(f,i),this._releaseHandler=l(f,s),this._ignoreMouse=!1,this._mouseOnly=a,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||(_(document,"mousemove",n._mousemove),_(document,"mouseup",n._mouseup),n._pressHandler(e))},this._mousemove=function(e){n._dragHandler(e)},this._mouseup=function(e){d(document,"mousemove",n._mousemove),d(document,"mouseup",n._mouseup),n._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(_(n._element,"pointermove",n._pointermove),_(n._element,"pointerup",n._pointerup),_(n._element,"contextmenu",m),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&&(d(n._element,"pointermove",n._pointermove),d(n._element,"pointerup",n._pointerup),d(n._element,"contextmenu",m),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;this._usePointers()?_(e,"pointerdown",this._pointerdown):(_(e,"mousedown",this._mousedown),this._mouseOnly||(_(e,"touchstart",this._touchstart),_(e,"touchmove",this._touchmove),_(e,"touchend",this._touchend)))}},{key:"_unbindFromCurrent",value:function(){var e=this._element;if(this._usePointers())return d(e,"pointerdown",this._pointerdown),d(e,"pointermove",this._pointermove),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:"_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 l=function(t,n){return function(e){return n(t(e))}},_=function(e,t,n){return e.addEventListener&&e.addEventListener(t,n)},d=function(e,t,n){return e&&e.removeEventListener&&e.removeEventListener(t,n)},p=function(){},m=function(e){return e.preventDefault()},o=/touch/;function f(e){return e.type.match(o)?{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 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,c=e.mouseOnly,a=void 0!==c&&c;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),this._pressHandler=l(f,o),this._dragHandler=l(f,i),this._releaseHandler=l(f,s),this._ignoreMouse=!1,this._mouseOnly=a,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||(_(document,"mousemove",n._mousemove),_(document,"mouseup",n._mouseup),n._pressHandler(e))},this._mousemove=function(e){n._dragHandler(e)},this._mouseup=function(e){d(document,"mousemove",n._mousemove),d(document,"mouseup",n._mouseup),n._releaseHandler(e)},this._pointerdown=function(e){e.isPrimary&&0===e.button&&(_(n._element,"pointermove",n._pointermove),_(n._element,"pointerup",n._pointerup),_(n._element,"contextmenu",m),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&&(d(n._element,"pointermove",n._pointermove),d(n._element,"pointerup",n._pointerup),d(n._element,"contextmenu",m),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;this._usePointers()?_(e,"pointerdown",this._pointerdown):(_(e,"mousedown",this._mousedown),this._mouseOnly||(_(e,"touchstart",this._touchstart),_(e,"touchmove",this._touchmove),_(e,"touchend",this._touchend)))}},{key:"_unbindFromCurrent",value:function(){var e=this._element;if(this._usePointers())return d(e,"pointerdown",this._pointerdown),d(e,"pointermove",this._pointermove),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:"_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.9.0",
"version": "1.9.1-dev.201901151010",
"main": "dist/npm/main.js",

@@ -9,0 +9,0 @@ "module": "dist/es/main.js",

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