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

@progress/kendo-draggable-common

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@progress/kendo-draggable-common - npm Package Compare versions

Comparing version 0.2.0-dev.202111231443 to 0.2.0-dev.202111240934

2

dist/cdn/js/kendo-draggable-common.js

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.KendoDraggableCommon=t():e.KendoDraggableCommon=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=1)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var t=!1,n=[],r={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var o in r)if(r.hasOwnProperty(o)&&(n=e.match(r[o]))){(t={})[o]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.DOCUMENT_NODE||n[2],10);break}return t};t.getDocument=function(e){return e&&e.ownerDocument||window.document},t.getWindow=function(e){var n=t.getDocument(e);return n&&n.defaultView||window},t.scrollableRoot=function(e){var n=r(),o=t.getDocument(e);return n.edge||n.safari?o.body:o.documentElement},t.isScrollable=function(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=window.getComputedStyle(e,"overflow").overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},t.getScrollableParent=function(e){var n=t.scrollableRoot(e);if(!e||e===document.body||e===document.documentElement)return n;for(var r=e;r&&!t.isScrollable(r)&&r!==document.body;)r=r.parentNode;return r===document.body?n:r},t.autoScrollVelocity=function(e,t,n){var r={x:0,y:0};return e-n.left<50?r.x=-(50-(e-n.left)):n.right-e<50&&(r.x=50-(n.right-e)),t-n.top<50?r.y=-(50-(t-n.top)):n.bottom-t<50&&(r.y=50-(n.bottom-t)),r},t.scrollableViewPort=function(e,n){var r=t.scrollableRoot(e);if(e===r)return{top:r.scrollTop,left:r.scrollLeft,bottom:r.scrollTop+n.innerHeight,right:r.scrollLeft+n.innerWidth};var o=e.getBoundingClientRect();return{bottom:o.top+o.height,right:o.left+o.width,left:o.left,top:o.top}},t.isPointerInsideContainer=function(e,t,n){var r=n.getBoundingClientRect();return r.top<=t&&r.left<=e&&t<=r.bottom&&e<=r.right}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.dispatchDragAndDrop=r.dispatchDragAndDrop;var o=n(0);t.scrollableRoot=o.scrollableRoot,t.getScrollableParent=o.getScrollableParent;var i=n(6);t.autoScroll=i.autoScroll},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(3),i=n(0);!function(e){e.POINTER_DOWN="pointerdown",e.POINTER_MOVE="pointermove",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.MOUSE_DOWN="mousedown",e.MOUSE_MOVE="mousemove",e.MOUSE_UP="mouseup",e.CONTEXT_MENU="contextmenu",e.TOUCH_START="touchstart",e.TOUCH_MOVE="touchmove",e.TOUCH_END="touchend",e.TOUCH_CANCEL="touchcancel",e.SCROLL="scroll",e.START="KENDO_DRAG_AND_DROP_START",e.MOVE="KENDO_DRAG_AND_DROP_MOVE",e.END="KENDO_DRAG_AND_DROP_END",e.CANCEL="KENDO_DRAG_AND_DROP_CANCEL"}(r=t.DRAG_AND_DROP_DISPATCH_ACTION||(t.DRAG_AND_DROP_DISPATCH_ACTION={}));t.normalizeEvent=function(e,t){return function(e){return/^touch/.test(e.type)}(e)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,isTouch:!0,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:function(e){return/^(scroll)/.test(e.type)}(e)?{pageX:t.pageOffset.x,pageY:t.pageOffset.y,clientX:t.clientOffset.x,clientY:t.clientOffset.y,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}};var l=function(){};t.dispatchDragAndDrop=function(e,n,a){void 0===a&&(a={});var c=a.onIsPressedChange,u=void 0===c?l:c,f=a.onIsScrollingChange,s=void 0===f?l:f,d=a.onVelocityChange,p=void 0===d?l:d,y=a.onOffsetChange,g=void 0===y?l:y,h=a.onPageOffsetChange,v=void 0===h?l:h,_=a.onClientOffsetChange,O=void 0===_?l:_,b=a.onScrollOffsetChange,m=void 0===b?l:b,w=a.onInitialScrollOffsetChange,E=void 0===w?l:w,D=n.payload,P=D.element,S=D.hint,T=e.autoScrollDirection,x=e.scrollableParent,C=t.normalizeEvent(n.event,e);switch(C.type){case r.POINTER_DOWN:if(C.type===r.POINTER_DOWN&&(!C.originalEvent.isPrimary||0!==C.originalEvent.button))break;case r.MOUSE_DOWN:if(C.type===r.MOUSE_DOWN&&C.originalEvent.which&&C.originalEvent.which>1||e.ignoreMouse)break;case r.TOUCH_START:if(C.type===r.TOUCH_START&&1!==C.originalEvent.touches.length)break;case r.START:var N=x||i.getScrollableParent(n.payload.element);E(N instanceof Window?{x:N.scrollX,y:N.scrollY}:{x:N.scrollLeft,y:N.scrollTop}),O({x:C.clientX,y:C.clientY}),v({x:C.pageX,y:C.pageY}),g({x:C.offsetX,y:C.offsetY}),u(!0),D.onPress&&D.onPress(C);break;case r.SCROLL:if(C.type===r.SCROLL&&!e.pressed)break;var R=x||i.getScrollableParent(P),M=R instanceof Window?{x:R.scrollX,y:R.scrollY}:{x:R.scrollLeft,y:R.scrollTop};C.scrollX=M.x-e.initialScrollOffset.x,C.scrollY=M.y-e.initialScrollOffset.y,m({x:C.scrollX,y:C.scrollY});case r.POINTER_MOVE:if(C.type===r.POINTER_MOVE&&!C.originalEvent.isPrimary)break;case r.MOUSE_MOVE:case r.TOUCH_MOVE:if(C.type===r.TOUCH_MOVE&&1!==C.originalEvent.touches.length)break;case r.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==C.originalEvent.type&&P){var A=i.getDocument(P),j=x||i.getScrollableParent(A.elementFromPoint(C.clientX,C.clientY)),X=i.autoScrollVelocity(C.pageX,C.pageY,i.scrollableViewPort(j,i.getWindow(P)));p({x:T&&!1===T.horizontal?0:X.x,y:T&&!1===T.vertical?0:X.y}),s(0!==X.y||0!==X.x)}!e.drag&&D.onDragStart&&D.onDragStart(C),D.onDrag&&D.onDrag(C);var I=o.intersect(S||P,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(S||P)}))),Y=e.drops.find((function(e){return e.element===I}));Y&&I&&i.isPointerInsideContainer(C.clientX,C.clientY,x||i.getScrollableParent(I))&&I!==P?(e.drop&&e.drop.element)!==I?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(C),Y.onDragEnter&&Y.onDragEnter(C)):Y.onDragOver&&Y.onDragOver(C):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(C)}O({x:C.clientX,y:C.clientY}),v({x:C.pageX,y:C.pageY});break;case r.POINTER_UP:if(C.type===r.POINTER_UP&&!C.originalEvent.isPrimary)break;case r.MOUSE_UP:case r.TOUCH_END:if(C.type===r.TOUCH_END&&1!==C.originalEvent.touches.length)break;case r.END:u(!1),D.onRelease&&D.onRelease(C),e.drop&&e.drop.onDrop&&e.drop.onDrop(C),D.onDragEnd&&D.onDragEnd(C);break;case r.POINTER_CANCEL:case r.CONTEXT_MENU:case r.TOUCH_CANCEL:case r.CANCEL:u(!1),D.onDragEnd&&D.onDragEnd(C),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(C)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(4).__exportStar(n(5),t)},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return i})),n.d(t,"__rest",(function(){return l})),n.d(t,"__decorate",(function(){return a})),n.d(t,"__param",(function(){return c})),n.d(t,"__metadata",(function(){return u})),n.d(t,"__awaiter",(function(){return f})),n.d(t,"__generator",(function(){return s})),n.d(t,"__createBinding",(function(){return d})),n.d(t,"__exportStar",(function(){return p})),n.d(t,"__values",(function(){return y})),n.d(t,"__read",(function(){return g})),n.d(t,"__spread",(function(){return h})),n.d(t,"__spreadArrays",(function(){return v})),n.d(t,"__await",(function(){return _})),n.d(t,"__asyncGenerator",(function(){return O})),n.d(t,"__asyncDelegator",(function(){return b})),n.d(t,"__asyncValues",(function(){return m})),n.d(t,"__makeTemplateObject",(function(){return w})),n.d(t,"__importStar",(function(){return E})),n.d(t,"__importDefault",(function(){return D})),n.d(t,"__classPrivateFieldGet",(function(){return P})),n.d(t,"__classPrivateFieldSet",(function(){return S}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.KendoDraggableCommon=t():e.KendoDraggableCommon=t()}(window,(function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));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=1)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var t=!1,n=[],r={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var o in r)if(r.hasOwnProperty(o)&&(n=e.match(r[o]))){(t={})[o]=!0,t[n[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.DOCUMENT_NODE||n[2],10);break}return t};t.getDocument=function(e){return e&&e.ownerDocument||window.document},t.getWindow=function(e){var n=t.getDocument(e);return n&&n.defaultView||window},t.scrollableRoot=function(e){var n=r(),o=t.getDocument(e);return n.edge||n.safari?o.body:o.documentElement},t.isScrollable=function(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=window.getComputedStyle(e,"overflow").overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},t.getScrollableParent=function(e){var n=t.scrollableRoot(e);if(!e||e===document.body||e===document.documentElement)return n;for(var r=e;r&&!t.isScrollable(r)&&r!==document.body;)r=r.parentNode;return r===document.body?n:r},t.autoScrollVelocity=function(e,t,n){var r={x:0,y:0};return e-n.left<50?r.x=-(50-(e-n.left)):n.right-e<50&&(r.x=50-(n.right-e)),t-n.top<50?r.y=-(50-(t-n.top)):n.bottom-t<50&&(r.y=50-(n.bottom-t)),r},t.scrollableViewPort=function(e,n){var r=t.scrollableRoot(e);if(e===r)return{top:r.scrollTop,left:r.scrollLeft,bottom:r.scrollTop+n.innerHeight,right:r.scrollLeft+n.innerWidth};var o=e.getBoundingClientRect();return{bottom:o.top+o.height,right:o.left+o.width,left:o.left,top:o.top}},t.isPointerInsideContainer=function(e,t,n){var r=n.getBoundingClientRect();return r.top<=t&&r.left<=e&&t<=r.bottom&&e<=r.right}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);t.dispatchDragAndDrop=r.dispatchDragAndDrop;var o=n(0);t.scrollableRoot=o.scrollableRoot,t.getScrollableParent=o.getScrollableParent;var i=n(6);t.autoScroll=i.autoScroll},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=n(3),i=n(0);!function(e){e.POINTER_DOWN="pointerdown",e.POINTER_MOVE="pointermove",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.MOUSE_DOWN="mousedown",e.MOUSE_MOVE="mousemove",e.MOUSE_UP="mouseup",e.CONTEXT_MENU="contextmenu",e.TOUCH_START="touchstart",e.TOUCH_MOVE="touchmove",e.TOUCH_END="touchend",e.TOUCH_CANCEL="touchcancel",e.SCROLL="scroll",e.START="KENDO_DRAG_AND_DROP_START",e.MOVE="KENDO_DRAG_AND_DROP_MOVE",e.END="KENDO_DRAG_AND_DROP_END",e.CANCEL="KENDO_DRAG_AND_DROP_CANCEL"}(r=t.DRAG_AND_DROP_DISPATCH_ACTION||(t.DRAG_AND_DROP_DISPATCH_ACTION={}));t.normalizeEvent=function(e,t){return function(e){return/^touch/.test(e.type)}(e)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,isTouch:!0,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:function(e){return/^(scroll)/.test(e.type)}(e)?{pageX:t.pageOffset.x,pageY:t.pageOffset.y,clientX:t.clientOffset.x,clientY:t.clientOffset.y,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}};var l=function(){};t.dispatchDragAndDrop=function(e,n,a){void 0===a&&(a={});var c=a.onIsPressedChange,u=void 0===c?l:c,f=a.onIsScrollingChange,s=void 0===f?l:f,d=a.onVelocityChange,p=void 0===d?l:d,y=a.onOffsetChange,g=void 0===y?l:y,h=a.onPageOffsetChange,v=void 0===h?l:h,_=a.onClientOffsetChange,O=void 0===_?l:_,b=a.onScrollOffsetChange,m=void 0===b?l:b,w=a.onInitialScrollOffsetChange,E=void 0===w?l:w,D=n.payload,P=D.element,S=D.hint,T=e.autoScrollDirection,x=e.scrollableParent,C=t.normalizeEvent(n.event,e);switch(C.type){case r.POINTER_DOWN:if(C.type===r.POINTER_DOWN&&(!C.originalEvent.isPrimary||0!==C.originalEvent.button))break;case r.MOUSE_DOWN:if(C.type===r.MOUSE_DOWN&&C.originalEvent.which&&C.originalEvent.which>1||e.ignoreMouse)break;case r.TOUCH_START:if(C.type===r.TOUCH_START&&1!==C.originalEvent.touches.length)break;case r.START:var N=x||i.getScrollableParent(n.payload.element);E(N instanceof Window?{x:N.scrollX,y:N.scrollY}:{x:N.scrollLeft,y:N.scrollTop}),O({x:C.clientX,y:C.clientY}),v({x:C.pageX,y:C.pageY}),g({x:C.offsetX,y:C.offsetY}),u(!0),D.onPress&&D.onPress(C);break;case r.SCROLL:if(C.type===r.SCROLL&&!e.pressed)break;var R=x||i.getScrollableParent(P),M=R instanceof Window?{x:R.scrollX,y:R.scrollY}:{x:R.scrollLeft,y:R.scrollTop};C.scrollX=M.x-e.initialScrollOffset.x,C.scrollY=M.y-e.initialScrollOffset.y,m({x:C.scrollX,y:C.scrollY});case r.POINTER_MOVE:if(C.type===r.POINTER_MOVE&&!C.originalEvent.isPrimary)break;case r.MOUSE_MOVE:case r.TOUCH_MOVE:if(C.type===r.TOUCH_MOVE&&1!==C.originalEvent.touches.length)break;case r.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==C.originalEvent.type&&P){var A=i.getDocument(P),j=x||i.getScrollableParent(A.elementFromPoint(C.clientX,C.clientY)),X=i.autoScrollVelocity(C.pageX,C.pageY,i.scrollableViewPort(j,i.getWindow(P)));p({x:T&&!1===T.horizontal?0:X.x,y:T&&!1===T.vertical?0:X.y}),s(0!==X.y||0!==X.x)}!e.drag&&D.onDragStart&&D.onDragStart(C),D.onDrag&&D.onDrag(C);var I=o.intersect(S||P,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(S||P)}))),Y=e.drops.find((function(e){return e.element===I}));Y&&I&&i.isPointerInsideContainer(C.clientX,C.clientY,x||i.getScrollableParent(I))&&I!==P?(e.drop&&e.drop.element)!==I?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(C),Y.onDragEnter&&Y.onDragEnter(C)):Y.onDragOver&&Y.onDragOver(C):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(C)}O({x:C.clientX,y:C.clientY}),v({x:C.pageX,y:C.pageY});break;case r.POINTER_UP:if(C.type===r.POINTER_UP&&!C.originalEvent.isPrimary)break;case r.MOUSE_UP:case r.TOUCH_END:if(C.type===r.TOUCH_END&&1!==C.originalEvent.touches.length)break;case r.END:u(!1),s(!1),D.onRelease&&D.onRelease(C),e.drop&&e.drop.onDrop&&e.drop.onDrop(C),D.onDragEnd&&D.onDragEnd(C);break;case r.POINTER_CANCEL:case r.CONTEXT_MENU:case r.TOUCH_CANCEL:case r.CANCEL:u(!1),s(!1),D.onDragEnd&&D.onDragEnd(C),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(C)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(4).__exportStar(n(5),t)},function(e,t,n){"use strict";n.r(t),n.d(t,"__extends",(function(){return o})),n.d(t,"__assign",(function(){return i})),n.d(t,"__rest",(function(){return l})),n.d(t,"__decorate",(function(){return a})),n.d(t,"__param",(function(){return c})),n.d(t,"__metadata",(function(){return u})),n.d(t,"__awaiter",(function(){return f})),n.d(t,"__generator",(function(){return s})),n.d(t,"__createBinding",(function(){return d})),n.d(t,"__exportStar",(function(){return p})),n.d(t,"__values",(function(){return y})),n.d(t,"__read",(function(){return g})),n.d(t,"__spread",(function(){return h})),n.d(t,"__spreadArrays",(function(){return v})),n.d(t,"__await",(function(){return _})),n.d(t,"__asyncGenerator",(function(){return O})),n.d(t,"__asyncDelegator",(function(){return b})),n.d(t,"__asyncValues",(function(){return m})),n.d(t,"__makeTemplateObject",(function(){return w})),n.d(t,"__importStar",(function(){return E})),n.d(t,"__importDefault",(function(){return D})),n.d(t,"__classPrivateFieldGet",(function(){return P})),n.d(t,"__classPrivateFieldSet",(function(){return S}));
/*! *****************************************************************************

@@ -3,0 +3,0 @@ Copyright (c) Microsoft Corporation.

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

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib")):"function"==typeof define&&define.amd?define(["tslib"],t):"object"==typeof exports?exports.KendoDraggableCommon=t(require("tslib")):e.KendoDraggableCommon=t(e.tslib)}(window,(function(e){return function(e){var t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=1)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var t=!1,o=[],r={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var n in r)if(r.hasOwnProperty(n)&&(o=e.match(r[n]))){(t={})[n]=!0,t[o[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.DOCUMENT_NODE||o[2],10);break}return t};t.getDocument=function(e){return e&&e.ownerDocument||window.document},t.getWindow=function(e){var o=t.getDocument(e);return o&&o.defaultView||window},t.scrollableRoot=function(e){var o=r(),n=t.getDocument(e);return o.edge||o.safari?n.body:n.documentElement},t.isScrollable=function(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=window.getComputedStyle(e,"overflow").overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},t.getScrollableParent=function(e){var o=t.scrollableRoot(e);if(!e||e===document.body||e===document.documentElement)return o;for(var r=e;r&&!t.isScrollable(r)&&r!==document.body;)r=r.parentNode;return r===document.body?o:r},t.autoScrollVelocity=function(e,t,o){var r={x:0,y:0};return e-o.left<50?r.x=-(50-(e-o.left)):o.right-e<50&&(r.x=50-(o.right-e)),t-o.top<50?r.y=-(50-(t-o.top)):o.bottom-t<50&&(r.y=50-(o.bottom-t)),r},t.scrollableViewPort=function(e,o){var r=t.scrollableRoot(e);if(e===r)return{top:r.scrollTop,left:r.scrollLeft,bottom:r.scrollTop+o.innerHeight,right:r.scrollLeft+o.innerWidth};var n=e.getBoundingClientRect();return{bottom:n.top+n.height,right:n.left+n.width,left:n.left,top:n.top}},t.isPointerInsideContainer=function(e,t,o){var r=o.getBoundingClientRect();return r.top<=t&&r.left<=e&&t<=r.bottom&&e<=r.right}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2);t.dispatchDragAndDrop=r.dispatchDragAndDrop;var n=o(0);t.scrollableRoot=n.scrollableRoot,t.getScrollableParent=n.getScrollableParent;var l=o(6);t.autoScroll=l.autoScroll},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n=o(3),l=o(0);!function(e){e.POINTER_DOWN="pointerdown",e.POINTER_MOVE="pointermove",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.MOUSE_DOWN="mousedown",e.MOUSE_MOVE="mousemove",e.MOUSE_UP="mouseup",e.CONTEXT_MENU="contextmenu",e.TOUCH_START="touchstart",e.TOUCH_MOVE="touchmove",e.TOUCH_END="touchend",e.TOUCH_CANCEL="touchcancel",e.SCROLL="scroll",e.START="KENDO_DRAG_AND_DROP_START",e.MOVE="KENDO_DRAG_AND_DROP_MOVE",e.END="KENDO_DRAG_AND_DROP_END",e.CANCEL="KENDO_DRAG_AND_DROP_CANCEL"}(r=t.DRAG_AND_DROP_DISPATCH_ACTION||(t.DRAG_AND_DROP_DISPATCH_ACTION={}));t.normalizeEvent=function(e,t){return function(e){return/^touch/.test(e.type)}(e)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,isTouch:!0,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:function(e){return/^(scroll)/.test(e.type)}(e)?{pageX:t.pageOffset.x,pageY:t.pageOffset.y,clientX:t.clientOffset.x,clientY:t.clientOffset.y,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}};var i=function(){};t.dispatchDragAndDrop=function(e,o,a){void 0===a&&(a={});var c=a.onIsPressedChange,s=void 0===c?i:c,f=a.onIsScrollingChange,u=void 0===f?i:f,d=a.onVelocityChange,p=void 0===d?i:d,g=a.onOffsetChange,O=void 0===g?i:g,y=a.onPageOffsetChange,v=void 0===y?i:y,h=a.onClientOffsetChange,E=void 0===h?i:h,_=a.onScrollOffsetChange,b=void 0===_?i:_,m=a.onInitialScrollOffsetChange,D=void 0===m?i:m,T=o.payload,P=T.element,C=T.hint,N=e.autoScrollDirection,S=e.scrollableParent,w=t.normalizeEvent(o.event,e);switch(w.type){case r.POINTER_DOWN:if(w.type===r.POINTER_DOWN&&(!w.originalEvent.isPrimary||0!==w.originalEvent.button))break;case r.MOUSE_DOWN:if(w.type===r.MOUSE_DOWN&&w.originalEvent.which&&w.originalEvent.which>1||e.ignoreMouse)break;case r.TOUCH_START:if(w.type===r.TOUCH_START&&1!==w.originalEvent.touches.length)break;case r.START:var x=S||l.getScrollableParent(o.payload.element);D(x instanceof Window?{x:x.scrollX,y:x.scrollY}:{x:x.scrollLeft,y:x.scrollTop}),E({x:w.clientX,y:w.clientY}),v({x:w.pageX,y:w.pageY}),O({x:w.offsetX,y:w.offsetY}),s(!0),T.onPress&&T.onPress(w);break;case r.SCROLL:if(w.type===r.SCROLL&&!e.pressed)break;var R=S||l.getScrollableParent(P),M=R instanceof Window?{x:R.scrollX,y:R.scrollY}:{x:R.scrollLeft,y:R.scrollTop};w.scrollX=M.x-e.initialScrollOffset.x,w.scrollY=M.y-e.initialScrollOffset.y,b({x:w.scrollX,y:w.scrollY});case r.POINTER_MOVE:if(w.type===r.POINTER_MOVE&&!w.originalEvent.isPrimary)break;case r.MOUSE_MOVE:case r.TOUCH_MOVE:if(w.type===r.TOUCH_MOVE&&1!==w.originalEvent.touches.length)break;case r.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==w.originalEvent.type&&P){var A=l.getDocument(P),X=S||l.getScrollableParent(A.elementFromPoint(w.clientX,w.clientY)),Y=l.autoScrollVelocity(w.pageX,w.pageY,l.scrollableViewPort(X,l.getWindow(P)));p({x:N&&!1===N.horizontal?0:Y.x,y:N&&!1===N.vertical?0:Y.y}),u(0!==Y.y||0!==Y.x)}!e.drag&&T.onDragStart&&T.onDragStart(w),T.onDrag&&T.onDrag(w);var L=n.intersect(C||P,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(C||P)}))),U=e.drops.find((function(e){return e.element===L}));U&&L&&l.isPointerInsideContainer(w.clientX,w.clientY,S||l.getScrollableParent(L))&&L!==P?(e.drop&&e.drop.element)!==L?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(w),U.onDragEnter&&U.onDragEnter(w)):U.onDragOver&&U.onDragOver(w):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(w)}E({x:w.clientX,y:w.clientY}),v({x:w.pageX,y:w.pageY});break;case r.POINTER_UP:if(w.type===r.POINTER_UP&&!w.originalEvent.isPrimary)break;case r.MOUSE_UP:case r.TOUCH_END:if(w.type===r.TOUCH_END&&1!==w.originalEvent.touches.length)break;case r.END:s(!1),T.onRelease&&T.onRelease(w),e.drop&&e.drop.onDrop&&e.drop.onDrop(w),T.onDragEnd&&T.onDragEnd(w);break;case r.POINTER_CANCEL:case r.CONTEXT_MENU:case r.TOUCH_CANCEL:case r.CANCEL:s(!1),T.onDragEnd&&T.onDragEnd(w),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(w)}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(4).__exportStar(o(5),t)},function(t,o){t.exports=e},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.intersect=function(e,t){var o=0,r=null;return t.forEach((function(t){if(t&&e){var n=function(e,t){var o=e.getBoundingClientRect(),r=t.getBoundingClientRect(),n=Math.max(r.top,o.top),l=Math.max(r.left,o.left),i=Math.min(r.left+r.width,o.left+o.width),a=Math.min(r.top+r.height,o.top+o.height),c=i-l,s=a-n;if(l<i&&n<a){var f=r.width*r.height,u=o.width*o.height,d=c*s;return Number((d/(f+u-d)).toFixed(4))}return 0}(e,t);n>o&&(o=n,r=t)}})),r}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(0);t.autoScroll=function(e,t){if(e){var o,n;e===r.scrollableRoot(e)?(o=document.body.scrollHeight>window.innerHeight,n=document.body.scrollWidth>window.innerWidth):(o=e.offsetHeight<=e.scrollHeight,n=e.offsetWidth<=e.scrollWidth);var l=e.scrollTop+t.y,i=o&&l>0&&l<e.scrollHeight,a=e.scrollLeft+t.x,c=n&&a>0&&a<e.scrollWidth;i?e.scrollTop+=t.y:o&&l<0&&(e.scrollTop=0),c?e.scrollLeft+=t.x:n&&a<0&&(e.scrollLeft=0)}}}])}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("tslib")):"function"==typeof define&&define.amd?define(["tslib"],t):"object"==typeof exports?exports.KendoDraggableCommon=t(require("tslib")):e.KendoDraggableCommon=t(e.tslib)}(window,(function(e){return function(e){var t={};function o(r){if(t[r])return t[r].exports;var n=t[r]={i:r,l:!1,exports:{}};return e[r].call(n.exports,n,n.exports,o),n.l=!0,n.exports}return o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=1)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var t=!1,o=[],r={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(var n in r)if(r.hasOwnProperty(n)&&(o=e.match(r[n]))){(t={})[n]=!0,t[o[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,t.version=parseInt(document.DOCUMENT_NODE||o[2],10);break}return t};t.getDocument=function(e){return e&&e.ownerDocument||window.document},t.getWindow=function(e){var o=t.getDocument(e);return o&&o.defaultView||window},t.scrollableRoot=function(e){var o=r(),n=t.getDocument(e);return o.edge||o.safari?n.body:n.documentElement},t.isScrollable=function(e){if(e&&e.className&&"string"==typeof e.className&&e.className.indexOf("k-auto-scrollable")>-1)return!0;var t=window.getComputedStyle(e,"overflow").overflow;return t.indexOf("auto")>-1||t.indexOf("scroll")>-1},t.getScrollableParent=function(e){var o=t.scrollableRoot(e);if(!e||e===document.body||e===document.documentElement)return o;for(var r=e;r&&!t.isScrollable(r)&&r!==document.body;)r=r.parentNode;return r===document.body?o:r},t.autoScrollVelocity=function(e,t,o){var r={x:0,y:0};return e-o.left<50?r.x=-(50-(e-o.left)):o.right-e<50&&(r.x=50-(o.right-e)),t-o.top<50?r.y=-(50-(t-o.top)):o.bottom-t<50&&(r.y=50-(o.bottom-t)),r},t.scrollableViewPort=function(e,o){var r=t.scrollableRoot(e);if(e===r)return{top:r.scrollTop,left:r.scrollLeft,bottom:r.scrollTop+o.innerHeight,right:r.scrollLeft+o.innerWidth};var n=e.getBoundingClientRect();return{bottom:n.top+n.height,right:n.left+n.width,left:n.left,top:n.top}},t.isPointerInsideContainer=function(e,t,o){var r=o.getBoundingClientRect();return r.top<=t&&r.left<=e&&t<=r.bottom&&e<=r.right}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(2);t.dispatchDragAndDrop=r.dispatchDragAndDrop;var n=o(0);t.scrollableRoot=n.scrollableRoot,t.getScrollableParent=n.getScrollableParent;var l=o(6);t.autoScroll=l.autoScroll},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n=o(3),l=o(0);!function(e){e.POINTER_DOWN="pointerdown",e.POINTER_MOVE="pointermove",e.POINTER_UP="pointerup",e.POINTER_CANCEL="pointercancel",e.MOUSE_DOWN="mousedown",e.MOUSE_MOVE="mousemove",e.MOUSE_UP="mouseup",e.CONTEXT_MENU="contextmenu",e.TOUCH_START="touchstart",e.TOUCH_MOVE="touchmove",e.TOUCH_END="touchend",e.TOUCH_CANCEL="touchcancel",e.SCROLL="scroll",e.START="KENDO_DRAG_AND_DROP_START",e.MOVE="KENDO_DRAG_AND_DROP_MOVE",e.END="KENDO_DRAG_AND_DROP_END",e.CANCEL="KENDO_DRAG_AND_DROP_CANCEL"}(r=t.DRAG_AND_DROP_DISPATCH_ACTION||(t.DRAG_AND_DROP_DISPATCH_ACTION={}));t.normalizeEvent=function(e,t){return function(e){return/^touch/.test(e.type)}(e)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,isTouch:!0,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:function(e){return/^(scroll)/.test(e.type)}(e)?{pageX:t.pageOffset.x,pageY:t.pageOffset.y,clientX:t.clientOffset.x,clientY:t.clientOffset.y,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}};var i=function(){};t.dispatchDragAndDrop=function(e,o,a){void 0===a&&(a={});var c=a.onIsPressedChange,s=void 0===c?i:c,f=a.onIsScrollingChange,u=void 0===f?i:f,d=a.onVelocityChange,p=void 0===d?i:d,g=a.onOffsetChange,O=void 0===g?i:g,y=a.onPageOffsetChange,v=void 0===y?i:y,h=a.onClientOffsetChange,E=void 0===h?i:h,_=a.onScrollOffsetChange,b=void 0===_?i:_,m=a.onInitialScrollOffsetChange,D=void 0===m?i:m,T=o.payload,P=T.element,C=T.hint,N=e.autoScrollDirection,S=e.scrollableParent,w=t.normalizeEvent(o.event,e);switch(w.type){case r.POINTER_DOWN:if(w.type===r.POINTER_DOWN&&(!w.originalEvent.isPrimary||0!==w.originalEvent.button))break;case r.MOUSE_DOWN:if(w.type===r.MOUSE_DOWN&&w.originalEvent.which&&w.originalEvent.which>1||e.ignoreMouse)break;case r.TOUCH_START:if(w.type===r.TOUCH_START&&1!==w.originalEvent.touches.length)break;case r.START:var x=S||l.getScrollableParent(o.payload.element);D(x instanceof Window?{x:x.scrollX,y:x.scrollY}:{x:x.scrollLeft,y:x.scrollTop}),E({x:w.clientX,y:w.clientY}),v({x:w.pageX,y:w.pageY}),O({x:w.offsetX,y:w.offsetY}),s(!0),T.onPress&&T.onPress(w);break;case r.SCROLL:if(w.type===r.SCROLL&&!e.pressed)break;var R=S||l.getScrollableParent(P),M=R instanceof Window?{x:R.scrollX,y:R.scrollY}:{x:R.scrollLeft,y:R.scrollTop};w.scrollX=M.x-e.initialScrollOffset.x,w.scrollY=M.y-e.initialScrollOffset.y,b({x:w.scrollX,y:w.scrollY});case r.POINTER_MOVE:if(w.type===r.POINTER_MOVE&&!w.originalEvent.isPrimary)break;case r.MOUSE_MOVE:case r.TOUCH_MOVE:if(w.type===r.TOUCH_MOVE&&1!==w.originalEvent.touches.length)break;case r.MOVE:if(e.pressed){if(e.autoScroll&&"scroll"!==w.originalEvent.type&&P){var A=l.getDocument(P),X=S||l.getScrollableParent(A.elementFromPoint(w.clientX,w.clientY)),Y=l.autoScrollVelocity(w.pageX,w.pageY,l.scrollableViewPort(X,l.getWindow(P)));p({x:N&&!1===N.horizontal?0:Y.x,y:N&&!1===N.vertical?0:Y.y}),u(0!==Y.y||0!==Y.x)}!e.drag&&T.onDragStart&&T.onDragStart(w),T.onDrag&&T.onDrag(w);var L=n.intersect(C||P,e.drops.map((function(e){return e&&e.element})).filter((function(e){return e!==(C||P)}))),U=e.drops.find((function(e){return e.element===L}));U&&L&&l.isPointerInsideContainer(w.clientX,w.clientY,S||l.getScrollableParent(L))&&L!==P?(e.drop&&e.drop.element)!==L?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(w),U.onDragEnter&&U.onDragEnter(w)):U.onDragOver&&U.onDragOver(w):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(w)}E({x:w.clientX,y:w.clientY}),v({x:w.pageX,y:w.pageY});break;case r.POINTER_UP:if(w.type===r.POINTER_UP&&!w.originalEvent.isPrimary)break;case r.MOUSE_UP:case r.TOUCH_END:if(w.type===r.TOUCH_END&&1!==w.originalEvent.touches.length)break;case r.END:s(!1),u(!1),T.onRelease&&T.onRelease(w),e.drop&&e.drop.onDrop&&e.drop.onDrop(w),T.onDragEnd&&T.onDragEnd(w);break;case r.POINTER_CANCEL:case r.CONTEXT_MENU:case r.TOUCH_CANCEL:case r.CANCEL:s(!1),u(!1),T.onDragEnd&&T.onDragEnd(w),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(w)}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(4).__exportStar(o(5),t)},function(t,o){t.exports=e},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.intersect=function(e,t){var o=0,r=null;return t.forEach((function(t){if(t&&e){var n=function(e,t){var o=e.getBoundingClientRect(),r=t.getBoundingClientRect(),n=Math.max(r.top,o.top),l=Math.max(r.left,o.left),i=Math.min(r.left+r.width,o.left+o.width),a=Math.min(r.top+r.height,o.top+o.height),c=i-l,s=a-n;if(l<i&&n<a){var f=r.width*r.height,u=o.width*o.height,d=c*s;return Number((d/(f+u-d)).toFixed(4))}return 0}(e,t);n>o&&(o=n,r=t)}})),r}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(0);t.autoScroll=function(e,t){if(e){var o,n;e===r.scrollableRoot(e)?(o=document.body.scrollHeight>window.innerHeight,n=document.body.scrollWidth>window.innerWidth):(o=e.offsetHeight<=e.scrollHeight,n=e.offsetWidth<=e.scrollWidth);var l=e.scrollTop+t.y,i=o&&l>0&&l<e.scrollHeight,a=e.scrollLeft+t.x,c=n&&a>0&&a<e.scrollWidth;i?e.scrollTop+=t.y:o&&l<0&&(e.scrollTop=0),c?e.scrollLeft+=t.x:n&&a<0&&(e.scrollLeft=0)}}}])}));

@@ -224,2 +224,3 @@ import { intersect } from "./algorithms";

onIsPressedChange(false);
onIsScrollingChange(false);
if (drag.onRelease) {

@@ -241,2 +242,3 @@ drag.onRelease(event);

onIsPressedChange(false);
onIsScrollingChange(false);
if (drag.onDragEnd) {

@@ -243,0 +245,0 @@ drag.onDragEnd(event);

@@ -223,2 +223,3 @@ import { intersect } from "./algorithms";

onIsPressedChange(false);
onIsScrollingChange(false);
if (drag.onRelease) {

@@ -240,2 +241,3 @@ drag.onRelease(event);

onIsPressedChange(false);
onIsScrollingChange(false);
if (drag.onDragEnd) {

@@ -242,0 +244,0 @@ drag.onDragEnd(event);

@@ -226,2 +226,3 @@ "use strict";

onIsPressedChange(false);
onIsScrollingChange(false);
if (drag.onRelease) {

@@ -243,2 +244,3 @@ drag.onRelease(event);

onIsPressedChange(false);
onIsScrollingChange(false);
if (drag.onDragEnd) {

@@ -245,0 +247,0 @@ drag.onDragEnd(event);

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

System.register("@progress/kendo-draggable-common",["tslib"],function(l){var i;return{setters:[function(e){i=e.__useDefault?e.default:e}],execute:function(){function r(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,n;o=[function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.getDocument=function(e){return e&&e.ownerDocument||window.document},r.getWindow=function(e){e=r.getDocument(e);return e&&e.defaultView||window},r.scrollableRoot=function(e){var t=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var t,o=!1,r=[],n={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(t in n)if(n.hasOwnProperty(t)&&(r=e.match(n[t]))){(o={})[t]=!0,o[r[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,o.version=parseInt(document.DOCUMENT_NODE||r[2],10);break}return o}(),e=r.getDocument(e);return t.edge||t.safari?e.body:e.documentElement},r.isScrollable=function(e){if(e&&e.className&&"string"==typeof e.className&&-1<e.className.indexOf("k-auto-scrollable"))return!0;e=window.getComputedStyle(e,"overflow").overflow;return-1<e.indexOf("auto")||-1<e.indexOf("scroll")},r.getScrollableParent=function(e){var t=r.scrollableRoot(e);if(!e||e===document.body||e===document.documentElement)return t;for(var o=e;o&&!r.isScrollable(o)&&o!==document.body;)o=o.parentNode;return o===document.body?t:o},r.autoScrollVelocity=function(e,t,o){var r={x:0,y:0};return e-o.left<50?r.x=-(50-(e-o.left)):o.right-e<50&&(r.x=50-(o.right-e)),t-o.top<50?r.y=-(50-(t-o.top)):o.bottom-t<50&&(r.y=50-(o.bottom-t)),r},r.scrollableViewPort=function(e,t){var o=r.scrollableRoot(e);if(e===o)return{top:o.scrollTop,left:o.scrollLeft,bottom:o.scrollTop+t.innerHeight,right:o.scrollLeft+t.innerWidth};e=e.getBoundingClientRect();return{bottom:e.top+e.height,right:e.left+e.width,left:e.left,top:e.top}},r.isPointerInsideContainer=function(e,t,o){o=o.getBoundingClientRect();return o.top<=t&&o.left<=e&&t<=o.bottom&&e<=o.right}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=o(0);t.autoScroll=function(e,t){var o,r,n,l,i,a;e&&(r=e===c.scrollableRoot(e)?(o=document.body.scrollHeight>window.innerHeight,document.body.scrollWidth>window.innerWidth):(o=e.offsetHeight<=e.scrollHeight,e.offsetWidth<=e.scrollWidth),n=e.scrollTop+t.y,l=o&&0<n&&n<e.scrollHeight,i=e.scrollLeft+t.x,a=r&&0<i&&i<e.scrollWidth,l?e.scrollTop+=t.y:o&&n<0&&(e.scrollTop=0),a?e.scrollLeft+=t.x:r&&i<0&&(e.scrollLeft=0))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.intersect=function(i,e){var o=0,r=null;return e.forEach(function(e){var t;e&&i&&(t=function(e){var t=i.getBoundingClientRect(),o=e.getBoundingClientRect(),r=Math.max(o.top,t.top),n=Math.max(o.left,t.left),l=Math.min(o.left+o.width,t.left+t.width),e=Math.min(o.top+o.height,t.top+t.height);if(n<l&&r<e){o=o.width*o.height,t=t.width*t.height,r=(l-n)*(e-r);return Number((r/(o+t-r)).toFixed(4))}return 0}(e),o<t&&(o=t,r=e))}),r}},function(e,t){e.exports=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(3).__exportStar(o(2),t)},function(e,D,t){"use strict";Object.defineProperty(D,"__esModule",{value:!0});var m,b=t(4),T=t(0);(t=m=D.DRAG_AND_DROP_DISPATCH_ACTION||(D.DRAG_AND_DROP_DISPATCH_ACTION={})).POINTER_DOWN="pointerdown",t.POINTER_MOVE="pointermove",t.POINTER_UP="pointerup",t.POINTER_CANCEL="pointercancel",t.MOUSE_DOWN="mousedown",t.MOUSE_MOVE="mousemove",t.MOUSE_UP="mouseup",t.CONTEXT_MENU="contextmenu",t.TOUCH_START="touchstart",t.TOUCH_MOVE="touchmove",t.TOUCH_END="touchend",t.TOUCH_CANCEL="touchcancel",t.SCROLL="scroll",t.START="KENDO_DRAG_AND_DROP_START",t.MOVE="KENDO_DRAG_AND_DROP_MOVE",t.END="KENDO_DRAG_AND_DROP_END",t.CANCEL="KENDO_DRAG_AND_DROP_CANCEL",D.normalizeEvent=function(e,t){return/^touch/.test(e.type)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,isTouch:!0,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:/^(scroll)/.test(e.type)?{pageX:t.pageOffset.x,pageY:t.pageOffset.y,clientX:t.clientOffset.x,clientY:t.clientOffset.y,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}};function P(){}D.dispatchDragAndDrop=function(e,t,o){var r,n,l=(o=void 0===o?{}:o).onIsPressedChange,i=void 0===l?P:l,l=o.onIsScrollingChange,a=void 0===l?P:l,l=o.onVelocityChange,c=void 0===l?P:l,l=o.onOffsetChange,s=void 0===l?P:l,l=o.onPageOffsetChange,f=void 0===l?P:l,l=o.onClientOffsetChange,u=void 0===l?P:l,l=o.onScrollOffsetChange,d=void 0===l?P:l,o=o.onInitialScrollOffsetChange,g=void 0===o?P:o,p=t.payload,O=p.element,y=p.hint,h=e.autoScrollDirection,E=e.scrollableParent,_=D.normalizeEvent(t.event,e);switch(_.type){case m.POINTER_DOWN:if(_.type===m.POINTER_DOWN&&(!_.originalEvent.isPrimary||0!==_.originalEvent.button))break;case m.MOUSE_DOWN:if(_.type===m.MOUSE_DOWN&&_.originalEvent.which&&1<_.originalEvent.which||e.ignoreMouse)break;case m.TOUCH_START:if(_.type===m.TOUCH_START&&1!==_.originalEvent.touches.length)break;case m.START:var v=E||T.getScrollableParent(t.payload.element);g(v instanceof Window?{x:v.scrollX,y:v.scrollY}:{x:v.scrollLeft,y:v.scrollTop}),u({x:_.clientX,y:_.clientY}),f({x:_.pageX,y:_.pageY}),s({x:_.offsetX,y:_.offsetY}),i(!0),p.onPress&&p.onPress(_);break;case m.SCROLL:if(_.type===m.SCROLL&&!e.pressed)break;v=E||T.getScrollableParent(O),v=v instanceof Window?{x:v.scrollX,y:v.scrollY}:{x:v.scrollLeft,y:v.scrollTop};_.scrollX=v.x-e.initialScrollOffset.x,_.scrollY=v.y-e.initialScrollOffset.y,d({x:_.scrollX,y:_.scrollY});case m.POINTER_MOVE:if(_.type===m.POINTER_MOVE&&!_.originalEvent.isPrimary)break;case m.MOUSE_MOVE:case m.TOUCH_MOVE:if(_.type===m.TOUCH_MOVE&&1!==_.originalEvent.touches.length)break;case m.MOVE:e.pressed&&(e.autoScroll&&"scroll"!==_.originalEvent.type&&O&&(n=T.getDocument(O),n=E||T.getScrollableParent(n.elementFromPoint(_.clientX,_.clientY)),n=T.autoScrollVelocity(_.pageX,_.pageY,T.scrollableViewPort(n,T.getWindow(O))),c({x:h&&!1===h.horizontal?0:n.x,y:h&&!1===h.vertical?0:n.y}),a(0!==n.y||0!==n.x)),!e.drag&&p.onDragStart&&p.onDragStart(_),p.onDrag&&p.onDrag(_),r=b.intersect(y||O,e.drops.map(function(e){return e&&e.element}).filter(function(e){return e!==(y||O)})),(n=e.drops.find(function(e){return e.element===r}))&&r&&T.isPointerInsideContainer(_.clientX,_.clientY,E||T.getScrollableParent(r))&&r!==O?(e.drop&&e.drop.element)!==r?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_),n.onDragEnter&&n.onDragEnter(_)):n.onDragOver&&n.onDragOver(_):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_)),u({x:_.clientX,y:_.clientY}),f({x:_.pageX,y:_.pageY});break;case m.POINTER_UP:if(_.type===m.POINTER_UP&&!_.originalEvent.isPrimary)break;case m.MOUSE_UP:case m.TOUCH_END:if(_.type===m.TOUCH_END&&1!==_.originalEvent.touches.length)break;case m.END:i(!1),p.onRelease&&p.onRelease(_),e.drop&&e.drop.onDrop&&e.drop.onDrop(_),p.onDragEnd&&p.onDragEnd(_);break;case m.POINTER_CANCEL:case m.CONTEXT_MENU:case m.TOUCH_CANCEL:case m.CANCEL:i(!1),p.onDragEnd&&p.onDragEnd(_),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_)}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(5);t.dispatchDragAndDrop=r.dispatchDragAndDrop;r=o(0);t.scrollableRoot=r.scrollableRoot,t.getScrollableParent=r.getScrollableParent;o=o(1);t.autoScroll=o.autoScroll,function(e){for(var t in e)l(t,e[t])}(t)}],n={},r.m=o,r.c=n,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}}});
System.register("@progress/kendo-draggable-common",["tslib"],function(l){var i;return{setters:[function(e){i=e.__useDefault?e.default:e}],execute:function(){function r(e){if(n[e])return n[e].exports;var t=n[e]={i:e,l:!1,exports:{}};return o[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}var o,n;o=[function(e,r,t){"use strict";Object.defineProperty(r,"__esModule",{value:!0});r.getDocument=function(e){return e&&e.ownerDocument||window.document},r.getWindow=function(e){e=r.getDocument(e);return e&&e.defaultView||window},r.scrollableRoot=function(e){var t=function(){var e=window&&window.navigator.userAgent;if(!e)return!1;var t,o=!1,r=[],n={edge:/(edge)[ \/]([\w.]+)/i,webkit:/(chrome|crios)[ \/]([\w.]+)/i,safari:/(webkit)[ \/]([\w.]+)/i,opera:/(opera)(?:.*version|)[ \/]([\w.]+)/i,msie:/(msie\s|trident.*? rv:)([\w.]+)/i,mozilla:/(mozilla)(?:.*? rv:([\w.]+)|)/i};for(t in n)if(n.hasOwnProperty(t)&&(r=e.match(n[t]))){(o={})[t]=!0,o[r[1].toLowerCase().split(" ")[0].split("/")[0]]=!0,o.version=parseInt(document.DOCUMENT_NODE||r[2],10);break}return o}(),e=r.getDocument(e);return t.edge||t.safari?e.body:e.documentElement},r.isScrollable=function(e){if(e&&e.className&&"string"==typeof e.className&&-1<e.className.indexOf("k-auto-scrollable"))return!0;e=window.getComputedStyle(e,"overflow").overflow;return-1<e.indexOf("auto")||-1<e.indexOf("scroll")},r.getScrollableParent=function(e){var t=r.scrollableRoot(e);if(!e||e===document.body||e===document.documentElement)return t;for(var o=e;o&&!r.isScrollable(o)&&o!==document.body;)o=o.parentNode;return o===document.body?t:o},r.autoScrollVelocity=function(e,t,o){var r={x:0,y:0};return e-o.left<50?r.x=-(50-(e-o.left)):o.right-e<50&&(r.x=50-(o.right-e)),t-o.top<50?r.y=-(50-(t-o.top)):o.bottom-t<50&&(r.y=50-(o.bottom-t)),r},r.scrollableViewPort=function(e,t){var o=r.scrollableRoot(e);if(e===o)return{top:o.scrollTop,left:o.scrollLeft,bottom:o.scrollTop+t.innerHeight,right:o.scrollLeft+t.innerWidth};e=e.getBoundingClientRect();return{bottom:e.top+e.height,right:e.left+e.width,left:e.left,top:e.top}},r.isPointerInsideContainer=function(e,t,o){o=o.getBoundingClientRect();return o.top<=t&&o.left<=e&&t<=o.bottom&&e<=o.right}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=o(0);t.autoScroll=function(e,t){var o,r,n,l,i,a;e&&(r=e===c.scrollableRoot(e)?(o=document.body.scrollHeight>window.innerHeight,document.body.scrollWidth>window.innerWidth):(o=e.offsetHeight<=e.scrollHeight,e.offsetWidth<=e.scrollWidth),n=e.scrollTop+t.y,l=o&&0<n&&n<e.scrollHeight,i=e.scrollLeft+t.x,a=r&&0<i&&i<e.scrollWidth,l?e.scrollTop+=t.y:o&&n<0&&(e.scrollTop=0),a?e.scrollLeft+=t.x:r&&i<0&&(e.scrollLeft=0))}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.intersect=function(i,e){var o=0,r=null;return e.forEach(function(e){var t;e&&i&&(t=function(e){var t=i.getBoundingClientRect(),o=e.getBoundingClientRect(),r=Math.max(o.top,t.top),n=Math.max(o.left,t.left),l=Math.min(o.left+o.width,t.left+t.width),e=Math.min(o.top+o.height,t.top+t.height);if(n<l&&r<e){o=o.width*o.height,t=t.width*t.height,r=(l-n)*(e-r);return Number((r/(o+t-r)).toFixed(4))}return 0}(e),o<t&&(o=t,r=e))}),r}},function(e,t){e.exports=i},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),o(3).__exportStar(o(2),t)},function(e,D,t){"use strict";Object.defineProperty(D,"__esModule",{value:!0});var m,b=t(4),T=t(0);(t=m=D.DRAG_AND_DROP_DISPATCH_ACTION||(D.DRAG_AND_DROP_DISPATCH_ACTION={})).POINTER_DOWN="pointerdown",t.POINTER_MOVE="pointermove",t.POINTER_UP="pointerup",t.POINTER_CANCEL="pointercancel",t.MOUSE_DOWN="mousedown",t.MOUSE_MOVE="mousemove",t.MOUSE_UP="mouseup",t.CONTEXT_MENU="contextmenu",t.TOUCH_START="touchstart",t.TOUCH_MOVE="touchmove",t.TOUCH_END="touchend",t.TOUCH_CANCEL="touchcancel",t.SCROLL="scroll",t.START="KENDO_DRAG_AND_DROP_START",t.MOVE="KENDO_DRAG_AND_DROP_MOVE",t.END="KENDO_DRAG_AND_DROP_END",t.CANCEL="KENDO_DRAG_AND_DROP_CANCEL",D.normalizeEvent=function(e,t){return/^touch/.test(e.type)?{pageX:e.changedTouches[0].pageX,pageY:e.changedTouches[0].pageY,clientX:e.changedTouches[0].clientX,clientY:e.changedTouches[0].clientY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,isTouch:!0,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:/^(scroll)/.test(e.type)?{pageX:t.pageOffset.x,pageY:t.pageOffset.y,clientX:t.clientOffset.x,clientY:t.clientOffset.y,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,offsetX:t.offset.x,offsetY:t.offset.y,type:e.type,originalEvent:e,altKey:!1,ctrlKey:!1,shiftKey:!1,metaKey:!1}:{pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,scrollX:t.scrollOffset.x,scrollY:t.scrollOffset.y,type:e.type,ctrlKey:e.ctrlKey,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,originalEvent:e}};function P(){}D.dispatchDragAndDrop=function(e,t,o){var r,n,l=(o=void 0===o?{}:o).onIsPressedChange,i=void 0===l?P:l,l=o.onIsScrollingChange,a=void 0===l?P:l,l=o.onVelocityChange,c=void 0===l?P:l,l=o.onOffsetChange,s=void 0===l?P:l,l=o.onPageOffsetChange,f=void 0===l?P:l,l=o.onClientOffsetChange,u=void 0===l?P:l,l=o.onScrollOffsetChange,d=void 0===l?P:l,o=o.onInitialScrollOffsetChange,g=void 0===o?P:o,p=t.payload,O=p.element,y=p.hint,h=e.autoScrollDirection,E=e.scrollableParent,_=D.normalizeEvent(t.event,e);switch(_.type){case m.POINTER_DOWN:if(_.type===m.POINTER_DOWN&&(!_.originalEvent.isPrimary||0!==_.originalEvent.button))break;case m.MOUSE_DOWN:if(_.type===m.MOUSE_DOWN&&_.originalEvent.which&&1<_.originalEvent.which||e.ignoreMouse)break;case m.TOUCH_START:if(_.type===m.TOUCH_START&&1!==_.originalEvent.touches.length)break;case m.START:var v=E||T.getScrollableParent(t.payload.element);g(v instanceof Window?{x:v.scrollX,y:v.scrollY}:{x:v.scrollLeft,y:v.scrollTop}),u({x:_.clientX,y:_.clientY}),f({x:_.pageX,y:_.pageY}),s({x:_.offsetX,y:_.offsetY}),i(!0),p.onPress&&p.onPress(_);break;case m.SCROLL:if(_.type===m.SCROLL&&!e.pressed)break;v=E||T.getScrollableParent(O),v=v instanceof Window?{x:v.scrollX,y:v.scrollY}:{x:v.scrollLeft,y:v.scrollTop};_.scrollX=v.x-e.initialScrollOffset.x,_.scrollY=v.y-e.initialScrollOffset.y,d({x:_.scrollX,y:_.scrollY});case m.POINTER_MOVE:if(_.type===m.POINTER_MOVE&&!_.originalEvent.isPrimary)break;case m.MOUSE_MOVE:case m.TOUCH_MOVE:if(_.type===m.TOUCH_MOVE&&1!==_.originalEvent.touches.length)break;case m.MOVE:e.pressed&&(e.autoScroll&&"scroll"!==_.originalEvent.type&&O&&(n=T.getDocument(O),n=E||T.getScrollableParent(n.elementFromPoint(_.clientX,_.clientY)),n=T.autoScrollVelocity(_.pageX,_.pageY,T.scrollableViewPort(n,T.getWindow(O))),c({x:h&&!1===h.horizontal?0:n.x,y:h&&!1===h.vertical?0:n.y}),a(0!==n.y||0!==n.x)),!e.drag&&p.onDragStart&&p.onDragStart(_),p.onDrag&&p.onDrag(_),r=b.intersect(y||O,e.drops.map(function(e){return e&&e.element}).filter(function(e){return e!==(y||O)})),(n=e.drops.find(function(e){return e.element===r}))&&r&&T.isPointerInsideContainer(_.clientX,_.clientY,E||T.getScrollableParent(r))&&r!==O?(e.drop&&e.drop.element)!==r?(e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_),n.onDragEnter&&n.onDragEnter(_)):n.onDragOver&&n.onDragOver(_):e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_)),u({x:_.clientX,y:_.clientY}),f({x:_.pageX,y:_.pageY});break;case m.POINTER_UP:if(_.type===m.POINTER_UP&&!_.originalEvent.isPrimary)break;case m.MOUSE_UP:case m.TOUCH_END:if(_.type===m.TOUCH_END&&1!==_.originalEvent.touches.length)break;case m.END:i(!1),a(!1),p.onRelease&&p.onRelease(_),e.drop&&e.drop.onDrop&&e.drop.onDrop(_),p.onDragEnd&&p.onDragEnd(_);break;case m.POINTER_CANCEL:case m.CONTEXT_MENU:case m.TOUCH_CANCEL:case m.CANCEL:i(!1),a(!1),p.onDragEnd&&p.onDragEnd(_),e.drop&&e.drop.onDragLeave&&e.drop.onDragLeave(_)}}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(5);t.dispatchDragAndDrop=r.dispatchDragAndDrop;r=o(0);t.scrollableRoot=r.scrollableRoot,t.getScrollableParent=r.getScrollableParent;o=o(1);t.autoScroll=o.autoScroll,function(e){for(var t in e)l(t,e[t])}(t)}],n={},r.m=o,r.c=n,r.d=function(e,t,o){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:o})},r.r=function(e){Object.defineProperty(e,"__esModule",{value:!0})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=6)}}});
{
"name": "@progress/kendo-draggable-common",
"description": "Kendo UI TypeScript package starter template",
"version": "0.2.0-dev.202111231443",
"version": "0.2.0-dev.202111240934",
"keywords": [

@@ -6,0 +6,0 @@ "Kendo UI"

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