@telerik/kendo-draggable
Advanced tools
Comparing version 1.9.0-dev.201807240843 to 1.9.0-dev.201807250720
@@ -9,2 +9,4 @@ var proxy = function (a, b) { return function (e) { return b(a(e)); }; }; | ||
var preventDefault = function (e) { return e.preventDefault(); }; | ||
var touchRegExp = /touch/; | ||
@@ -110,2 +112,3 @@ | ||
bind(this$1._element, "pointerup", this$1._pointerup); | ||
bind(this$1._element, "contextmenu", preventDefault); | ||
@@ -130,2 +133,3 @@ this$1._touchAction = e.target.style.touchAction; | ||
unbind(this$1._element, "pointerup", this$1._pointerup); | ||
unbind(this$1._element, "contextmenu", preventDefault); | ||
@@ -132,0 +136,0 @@ e.target.style.touchAction = this$1._touchAction; |
@@ -11,2 +11,4 @@ const proxy = (a, b) => (e) => b(a(e)); | ||
const preventDefault = e => e.preventDefault(); | ||
const touchRegExp = /touch/; | ||
@@ -111,2 +113,3 @@ | ||
bind(this._element, "pointerup", this._pointerup); | ||
bind(this._element, "contextmenu", preventDefault); | ||
@@ -131,2 +134,3 @@ this._touchAction = e.target.style.touchAction; | ||
unbind(this._element, "pointerup", this._pointerup); | ||
unbind(this._element, "contextmenu", preventDefault); | ||
@@ -133,0 +137,0 @@ e.target.style.touchAction = this._touchAction; |
@@ -13,2 +13,4 @@ 'use strict'; | ||
var preventDefault = function (e) { return e.preventDefault(); }; | ||
var touchRegExp = /touch/; | ||
@@ -114,2 +116,3 @@ | ||
bind(this$1._element, "pointerup", this$1._pointerup); | ||
bind(this$1._element, "contextmenu", preventDefault); | ||
@@ -134,2 +137,3 @@ this$1._touchAction = e.target.style.touchAction; | ||
unbind(this$1._element, "pointerup", this$1._pointerup); | ||
unbind(this$1._element, "contextmenu", preventDefault); | ||
@@ -215,2 +219,2 @@ e.target.style.touchAction = this$1._touchAction; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjpudWxsLCJzb3VyY2VzIjpbIi9ob21lL3RyYXZpcy9idWlsZC90ZWxlcmlr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CBJR05PUkVfTU9VU0VfVElNRU9VVCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcmVzdG9yZU1vdXNlID0gKCkgPT4ge1xuICAgICAgICAgICAgdGhpcy5faWdub3JlTW91c2UgPSBmYWxzZTtcbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9tb3VzZWRvd24gPSAoZSkgPT4ge1xuICAgICAgICAgICAgY29uc3QgeyB3aGljaCB9ID0gZTtcblxuICAgICAgICAgICAgaWYgKCh3aGljaCAmJiB3aGljaCA+IDEpIHx8IHRoaXMuX2lnbm9yZU1vdXNlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBiaW5kKGRvY3VtZW50LCBcIm1vdXNlbW92ZVwiLCB0aGlzLl9tb3VzZW1vdmUpO1xuICAgICAgICAgICAgYmluZChkb2N1bWVudCwgXCJtb3VzZXVwXCIsIHRoaXMuX21vdXNldXApO1xuICAgICAgICAgICAgdGhpcy5fcHJlc3NIYW5kbGVyKGUpO1xuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX21vdXNlbW92ZSA9IChlKSA9PiB7XG4gICAgICAgICAgICB0aGlzLl9kcmFnSGFuZGxlcihlKTtcbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9tb3VzZXVwID0gKGUpID0+IHtcbiAgICAgICAgICAgIHVuYmluZChkb2N1bWVudCwgXCJtb3VzZW1vdmVcIiwgdGhpcy5fbW91c2Vtb3ZlKTtcbiAgICAgICAgICAgIHVuYmluZChkb2N1bWVudCwgXCJtb3VzZXVwXCIsIHRoaXMuX21vdXNldXApO1xuICAgICAgICAgICAgdGhpcy5fcmVsZWFzZUhhbmRsZXIoZSk7XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcmRvd24gPSAoZSkgPT4ge1xuICAgICAgICAgICAgaWYgKGUuaXNQcmltYXJ5ICYmIGUu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ICAgICAgIGUudGFyZ2V0LnJlbGVhc2VQb2ludGVyQ2FwdHVyZShlLnBvaW50ZXJJZCk7XG5cbiAgICAgICAgICAgICAgICB0aGlzLl9yZWxlYXNlSGFuZGxlcihlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICBiaW5kVG8oZWxlbWVudCkge1xuICAgICAgICBpZiAoZWxlbWVudCA9PT0gdGhpcy5fZWxlbWVudCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRoaXMuX2VsZW1lbnQpIHtcbiAgICAgICAgICAgIHRoaXMuX3VuYmluZEZyb21DdXJyZW50KCk7XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLl9lbGVtZW50ID0gZWxlbWVudDtcbiAgICAgICAgdGhpcy5fYmluZFRvQ3VycmVudCgpO1xuICAgIH1cblxuICAgIF9iaW5kVG9DdXJyZW50KCkge1xuICAgICAgICBjb25zdCBlbGVtZW50ID0gdGhpcy5fZWxlbWVudDtcblxuICAgICAgICBpZiAodGhpcy5fdXNlUG9pbnRlcnMoKSkge1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcInBvaW50ZXJkb3duXCIsIHRoaXMuX3BvaW50ZXJkb3duKTtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGJpbmQoZWxlbWVudCwgXCJtb3VzZWRvd25cIiwgdGhpcy5fbW91c2Vkb3duKTtcblxuICAgICAgICBpZiAoIXRoaXMuX21vdXNlT25seSkge1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcInRvdWNoc3RhcnRcIiwgdGhpcy5fdG91Y2hzdGFydCk7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwidG91Y2htb3ZlXCIsIHRoaXMuX3RvdWNobW92ZSk7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwidG91Y2hlbmRcIiwgdGhpcy5fdG91Y2hlbmQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgX3VuYmluZEZyb21DdXJyZW50KCkge1xuICAgICAgICBjb25zdCBlbGVtZW50ID0gdGhpcy5fZWxlbWVudDtcblxuICAgICAgICBpZiAodGhpcy5fdXNlUG9pbnRlcnMoKSkge1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwicG9pbnRlcmRvd25cIiwgdGhpcy5fcG9pbnRlcmRvd24pO1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwicG9pbnRlcm1vdmVcIiwgdGhpcy5fcG9pbnRlcm1vdmUpO1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwicG9pbnRlcnVwXCIsIHRoaXMuX3BvaW50ZXJ1cCk7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICB1bmJpbmQoZWxlbWVudCwgXCJtb3VzZWRvd25cIiwgdGhpcy5fbW91c2Vkb3duKTtcblxuICAgICAgICBpZiAoIXRoaXMuX21vdXNlT25seSkge1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwidG91Y2hzdGFydFwiLCB0aGlzLl90b3VjaHN0YXJ0KTtcbiAgICAgICAgICAgIHVuYmluZChlbGVtZW50LCBcInRvdWNobW92ZVwiLCB0aGlzLl90b3VjaG1vdmUpO1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwidG91Y2hlbmRcIiwgdGhpcy5fdG91Y2hlbmQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgX3VzZVBvaW50ZXJzKCkge1xuICAgICAgICByZXR1cm4gIXRoaXMuX21vdXNlT25seSAmJiBEcmFnZ2FibGUuc3VwcG9ydFBvaW50ZXJFdmVudCgpO1xuICAgIH1cblxuICAgIGRlc3Ryb3koKSB7XG4gICAgICAgIHRoaXMuX3VuYmluZEZyb21DdXJyZW50KCk7XG4gICAgICAgIHRoaXMuX2VsZW1lbnQgPSBudWxsO1xuICAgIH1c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VjaEFjdGlvbjtcblxuICAgICAgICB0aGlzLl90b3VjaHN0YXJ0ID0gKGUpID0+IHtcbiAgICAgICAgICAgIGlmIChlLnRvdWNoZXMubGVuZ3RoID09PSAxKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fcHJlc3NIYW5kbGVyKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX3RvdWNobW92ZSA9IChlKSA9PiB7XG4gICAgICAgICAgICBpZiAoZS50b3VjaGVzLmxlbmd0aCA9PT0gMSkge1xuICAgICAgICAgICAgICAgIHRoaXMuX2RyYWdIYW5kbGVyKGUpO1xuICAgICAgICAgICAgfVxuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX3RvdWNoZW5kID0gKGUpID0+IHtcbiAgICAgICAgICAgIC8vIHRoZSBsYXN0IGZpbmdlciBoYXMgYmVlbiBsaWZ0ZWQsIGFuZCB0aGUgdXNlciBpcyBub3QgZG9pbmcgZ2VzdHVyZS5cbiAgICAgICAgICAgIC8vIHRoZXJlIG1pZ2h0IGJlIGEgYmV0dGVyIHdheSB0byBoYW5kbGUgdGhpcy5cbiAgICAgICAgICAgIGlmIChlLnRvdWNoZXMubGVuZ3RoID09PSAwICYmIGUuY2hhbmdlZFRvdWNoZXMubGVuZ3RoID09PSAxKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fcmVsZWFzZUhhbmRsZXIoZSk7XG4gICAgICAgICAgICAgICAgdGhpcy5faWdub3JlTW91c2UgPSB0cnVlO1xuICAgICAgICAgICAgICAgIHNldFRpbWVvdXQodGhpcy5fcmVzdG9yZU1vdXNlLCBJR05PUkVfTU9VU0VfVElNRU9VVCk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcmVzdG9yZU1vdXNlID0gKCkgPT4ge1xuICAgICAgICAgICAgdGhpcy5faWdub3JlTW91c2UgPSBmYWxzZTtcbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9tb3VzZWRvd24gPSAoZSkgPT4ge1xuICAgICAgICAgICAgY29uc3QgeyB3aGljaCB9ID0gZTtcblxuICAgICAgICAgICAgaWYgKCh3aGljaCAmJiB3aGljaCA+IDEpIHx8IHRoaXMuX2lnbm9yZU1vdXNlKSB7XG4gICAgICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICAgICAgfVxuXG4gICAgICAgICAgICBiaW5kKGRvY3VtZW50LCBcIm1vdXNlbW92ZVwiLCB0aGlzLl9tb3VzZW1vdmUpO1xuICAgICAgICAgICAgYmluZChkb2N1bWVudCwgXCJtb3VzZXVwXCIsIHRoaXMuX21vdXNldXApO1xuICAgICAgICAgICAgdGhpcy5fcHJlc3NIYW5kbGVyKGUpO1xuICAgICAgICB9O1xuXG4gICAgICAgIHRoaXMuX21vdXNlbW92ZSA9IChlKSA9PiB7XG4gICAgICAgICAgICB0aGlzLl9kcmFnSGFuZGxlcihlKTtcbiAgICAgICAgfTtcblxuICAgICAgICB0aGlzLl9tb3VzZXVwID0gKGUpID0+IHtcbiAgICAgICAgICAgIHVuYmluZChkb2N1bWVudCwgXCJtb3VzZW1vdmVcIiwgdGhpcy5fbW91c2Vtb3ZlKTtcbiAgICAgICAgICAgIHVuYmluZChkb2N1bWVudCwgXCJtb3VzZXVwXCIsIHRoaXMuX21vdXNldXApO1xuICAgICAgICAgICAgdGhpcy5fcmVsZWFzZUhhbmRsZXIoZSk7XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcmRvd24gPSAoZSkgPT4ge1xuICAgICAgICAgICAgaWYgKGUuaXNQcmltYXJ5ICYmIGUuYnV0dG9uID09PSAwKSB7XG4gICAgICAgICAgICAgICAgYmluZCh0aGlzLl9lbGVtZW50LCBcInBvaW50ZXJtb3ZlXCIsIHRoaXMuX3BvaW50ZXJtb3ZlKTtcbiAgICAgICAgICAgICAgICBiaW5kKHRoaXMuX2VsZW1lbnQsIFwicG9pbnRlcnVwXCIsIHRoaXMuX3BvaW50ZXJ1cCk7XG4gICAgICAgICAgICAgICAgYmluZCh0aGlzLl9lbGVtZW50LCBcImNvbnRleHRtZW51XCIsIHByZXZlbnREZWZhdWx0KTtcblxuICAgICAgICAgICAgICAgIHRoaXMuX3RvdWNoQWN0aW9uID0gZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb247XG4gICAgICAgICAgICAgICAgZS50YXJnZXQuc3R5bGUudG91Y2hBY3Rpb24gPSBcIm5vbmVcIjtcbiAgICAgICAgICAgICAgICBlLnRhcmdldC5zZXRQb2ludGVyQ2FwdHVyZShlLnBvaW50ZXJJZCk7XG5cbiAgICAgICAgICAgICAgICB0aGlzLl9wcmVzc0hhbmRsZXIoZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcm1vdmUgPSAoZSkgPT4ge1xuICAgICAgICAgICAgaWYgKGUuaXNQcmltYXJ5KSB7XG4gICAgICAgICAgICAgICAgdGhpcy5fZHJhZ0hhbmRsZXIoZSk7XG4gICAgICAgICAgICB9XG4gICAgICAgIH07XG5cbiAgICAgICAgdGhpcy5fcG9pbnRlcnVwID0gKGUpID0+IHtcbiAgICAgICAgICAgIGlmIChlLmlzUHJpbWFyeSkge1xuICAgICAgICAgICAgICAgIHVuYmluZCh0aGlzLl9lbGVtZW50LCBcInBvaW50ZXJtb3ZlXCIsIHRoaXMuX3BvaW50ZXJtb3ZlKTtcbiAgICAgICAgICAgICAgICB1bmJpbmQodGhpcy5fZWxlbWVudCwgXCJwb2ludGVydXBcIiwgdGhpcy5fcG9pbnRlcnVwKTtcbiAgICAgICAgICAgICAgICB1bmJpbmQodGhpcy5fZWxlbWVudCwgXCJjb250ZXh0bWVudVwiLCBwcmV2ZW50RGVmYXVsdCk7XG5cbiAgICAgICAgICAgICAgICBlLnRhcmdldC5zdHlsZS50b3VjaEFjdGlvbiA9IHRoaXMuX3RvdWNoQWN0aW9uO1xuICAgICAgICAgICAgICAgIGUudGFyZ2V0LnJlbGVhc2VQb2ludGVyQ2FwdHVyZShlLnBvaW50ZXJJZCk7XG5cbiAgICAgICAgICAgICAgICB0aGlzLl9yZWxlYXNlSGFuZGxlcihlKTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgfTtcbiAgICB9XG5cbiAgICBiaW5kVG8oZWxlbWVudCkge1xuICAgICAgICBpZiAoZWxlbWVudCA9PT0gdGhpcy5fZWxlbWVudCkge1xuICAgICAgICAgICAgcmV0dXJuO1xuICAgICAgICB9XG5cbiAgICAgICAgaWYgKHRoaXMuX2VsZW1lbnQpIHtcbiAgICAgICAgICAgIHRoaXMuX3VuYmluZEZyb21DdXJyZW50KCk7XG4gICAgICAgIH1cblxuICAgICAgICB0aGlzLl9lbGVtZW50ID0gZWxlbWVudDtcbiAgICAgICAgdGhpcy5fYmluZFRvQ3VycmVudCgpO1xuICAgIH1cblxuICAgIF9iaW5kVG9DdXJyZW50KCkge1xuICAgICAgICBjb25zdCBlbGVtZW50ID0gdGhpcy5fZWxlbWVudDtcblxuICAgICAgICBpZiAodGhpcy5fdXNlUG9pbnRlcnMoKSkge1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcInBvaW50ZXJkb3duXCIsIHRoaXMuX3BvaW50ZXJkb3duKTtcbiAgICAgICAgICAgIHJldHVybjtcbiAgICAgICAgfVxuXG4gICAgICAgIGJpbmQoZWxlbWVudCwgXCJtb3VzZWRvd25cIiwgdGhpcy5fbW91c2Vkb3duKTtcblxuICAgICAgICBpZiAoIXRoaXMuX21vdXNlT25seSkge1xuICAgICAgICAgICAgYmluZChlbGVtZW50LCBcInRvdWNoc3RhcnRcIiwgdGhpcy5fdG91Y2hzdGFydCk7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwidG91Y2htb3ZlXCIsIHRoaXMuX3RvdWNobW92ZSk7XG4gICAgICAgICAgICBiaW5kKGVsZW1lbnQsIFwidG91Y2hlbmRcIiwgdGhpcy5fdG91Y2hlbmQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgX3VuYmluZEZyb21DdXJyZW50KCkge1xuICAgICAgICBjb25zdCBlbGVtZW50ID0gdGhpcy5fZWxlbWVudDtcblxuICAgICAgICBpZiAodGhpcy5fdXNlUG9pbnRlcnMoKSkge1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwicG9pbnRlcmRvd25cIiwgdGhpcy5fcG9pbnRlcmRvd24pO1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwicG9pbnRlcm1vdmVcIiwgdGhpcy5fcG9pbnRlcm1vdmUpO1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwicG9pbnRlcnVwXCIsIHRoaXMuX3BvaW50ZXJ1cCk7XG4gICAgICAgICAgICByZXR1cm47XG4gICAgICAgIH1cblxuICAgICAgICB1bmJpbmQoZWxlbWVudCwgXCJtb3VzZWRvd25cIiwgdGhpcy5fbW91c2Vkb3duKTtcblxuICAgICAgICBpZiAoIXRoaXMuX21vdXNlT25seSkge1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwidG91Y2hzdGFydFwiLCB0aGlzLl90b3VjaHN0YXJ0KTtcbiAgICAgICAgICAgIHVuYmluZChlbGVtZW50LCBcInRvdWNobW92ZVwiLCB0aGlzLl90b3VjaG1vdmUpO1xuICAgICAgICAgICAgdW5iaW5kKGVsZW1lbnQsIFwidG91Y2hlbmRcIiwgdGhpcy5fdG91Y2hlbmQpO1xuICAgICAgICB9XG4gICAgfVxuXG4gICAgX3VzZVBvaW50ZXJzKCkge1xuICAgICAgICByZXR1cm4gIXRoaXMuX21vdXNlT25seSAmJiBEcmFnZ2FibGUuc3VwcG9ydFBvaW50ZXJFdmVudCgpO1xuICAgIH1cblxuICAgIGRlc3Ryb3koKSB7XG4gICAgICAgIHRoaXMuX3VuYmluZEZyb21DdXJyZW50KCk7XG4gICAgICAgIHRoaXMuX2VsZW1lbnQgPSBudWxsO1xuICAgIH1cbn1cblxuLy8g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FBRSxJQUFJLENBQUMsWUFBWSxDQUFDLENBQUM7UUFDdEQsTUFBVSxDQUFDLE9BQU8sRUFBRSxhQUFhLEVBQUUsSUFBSSxDQUFDLFlBQVksQ0FBQyxDQUFDO1FBQ3RELE1BQVUsQ0FBQyxPQUFPLEVBQUUsV0FBVyxFQUFFLElBQUksQ0FBQyxVQUFVLENBQUMsQ0FBQztRQUNsRCxPQUFXO0tBQ1Y7O0lBRUwsTUFBVSxDQUFDLE9BQU8sRUFBRSxXQUFXLEVBQUUsSUFBSSxDQUFDLFVBQVUsQ0FBQyxDQUFDOztJQUVsRCxJQUFRLENBQUMsSUFBSSxDQUFDLFVBQVUsRUFBRTtRQUN0QixNQUFVLENBQUMsT0FBTyxFQUFFLFlBQVksRUFBRSxJQUFJLENBQUMsV0FBVyxDQUFDLENBQUM7UUFDcEQsTUFBVSxDQUFDLE9BQU8sRUFBRSxXQUFXLEVBQUUsSUFBSSxDQUFDLFVBQVUsQ0FBQyxDQUFDO1FBQ2xELE1BQVUsQ0FBQyxPQUFPLEVBQUUsVUFBVSxFQUFFLElBQUksQ0FBQyxTQUFTLENBQUMsQ0FBQztLQUMvQztDQUNKLENBQUE7O0FBRUwsb0JBQUksWUFBWSw0QkFBRztJQUNmLE9BQVcsQ0FBQyxJQUFJLENBQUMsVUFBVSxJQUFJLFNBQVMsQ0FBQyxtQkFBbUIsRUFBRSxDQUFDO0NBQzlELENBQUE7O0FBRUwsb0JBQUksT0FBTyx1QkFBRztJQUNWLElBQVEsQ0FBQyxrQkFBa0IsRUFBRSxDQUFDO0lBQzlCLElBQVEsQ0FBQyxRQUFRLEdBQUcsSUFBSSxDQUFDO0NBQ3hCLENBQUE7Ozs7OztBQU9MLFNBQVMsQ0FBQyxPQUFPLEdBQUcsU0FBUyxDQUFDLEFBR0w7OzsifQ== |
@@ -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,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(m,o),this._dragHandler=l(m,i),this._releaseHandler=l(m,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||(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),d(n._element,"pointerup",n._pointerup),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),_(n._element,"pointerup",n._pointerup),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()?d(e,"pointerdown",this._pointerdown):(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 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)}])}}}); |
@@ -6,3 +6,3 @@ { | ||
"license": "Apache-2.0", | ||
"version": "1.9.0-dev.201807240843", | ||
"version": "1.9.0-dev.201807250720", | ||
"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
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
47939
516