@uiw/react-drag-event-interactive
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -59,3 +59,3 @@ "use strict"; | ||
if (hasTouched.current && !(0, _utils.isTouch)(event)) return false; | ||
if (!hasTouched.current) hasTouched.current = (0, _utils.isTouch)(event); | ||
hasTouched.current = (0, _utils.isTouch)(event); | ||
return true; | ||
@@ -112,2 +112,2 @@ }; | ||
exports.default = _default; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJmb3J3YXJkUmVmIiwicHJvcHMiLCJyZWYiLCJwcmVmaXhDbHMiLCJjbGFzc05hbWUiLCJvbk1vdmUiLCJvbkRvd24iLCJyZXNldCIsImNvbnRhaW5lciIsImhhc1RvdWNoZWQiLCJpc0RyYWdnaW5nIiwic2V0RHJhZ2dpbmciLCJvbk1vdmVDYWxsYmFjayIsIm9uS2V5Q2FsbGJhY2siLCJpc1ZhbGlkIiwiZXZlbnQiLCJjdXJyZW50IiwiaGFuZGxlTW92ZSIsImlzRG93biIsInRvdWNoZXMiLCJsZW5ndGgiLCJidXR0b25zIiwiaGFuZGxlTW92ZUVuZCIsInRvZ2dsZURvY3VtZW50RXZlbnRzIiwic3RhdGUiLCJ0b2dnbGVFdmVudCIsIndpbmRvdyIsImFkZEV2ZW50TGlzdGVuZXIiLCJyZW1vdmVFdmVudExpc3RlbmVyIiwiaGFuZGxlTW92ZVN0YXJ0IiwibmF0aXZlRXZlbnQiLCJmaWx0ZXIiLCJCb29sZWFuIiwiam9pbiIsInN0eWxlIiwidG91Y2hBY3Rpb24iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7O0FBQ0E7O0FBRUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTs7OzRCQVFlQSxlQ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1xuICAgIH0sXG4gICAgW29uS2V5Q2FsbGJhY2tdLFxuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLnJlc2V0fVxuICAgICAgY2xhc3NOYW1lPXtbcHJlZml4Q2xzLCBjbGFzc05hbWUgfHwgJyddLmZpbHRlcihCb29sZWFuKS5qb2luKCcgJyl9XG4gICAgICBzdHlsZT17e1xuICAgICAgICAuLi5yZXNldC5zdHlsZSxcbiAgICAgICAgdG91Y2hBY3Rpb246ICdub25lJyxcbiAgICAgIH19XG4gICAgICByZWY9e2NvbnRhaW5lcn1cbiAgICAgIHRhYkluZGV4PXswfVxuICAgICAgb25Nb3VzZURvd249e2hhbmRsZU1vdmVTdGFydH1cbiAgICAgIG9uVG91Y2hTdGFydD17aGFuZGxlTW92ZVN0YXJ0fVxuICAgIC8+XG4gICk7XG59KTtcbiJdfQ== | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJmb3J3YXJkUmVmIiwicHJvcHMiLCJyZWYiLCJwcmVmaXhDbHMiLCJjbGFzc05hbWUiLCJvbk1vdmUiLCJvbkRvd24iLCJyZXNldCIsImNvbnRhaW5lciIsImhhc1RvdWNoZWQiLCJpc0RyYWdnaW5nIiwic2V0RHJhZ2dpbmciLCJvbk1vdmVDYWxsYmFjayIsIm9uS2V5Q2FsbGJhY2siLCJpc1ZhbGlkIiwiZXZlbnQiLCJjdXJyZW50IiwiaGFuZGxlTW92ZSIsImlzRG93biIsInRvdWNoZXMiLCJsZW5ndGgiLCJidXR0b25zIiwiaGFuZGxlTW92ZUVuZCIsInRvZ2dsZURvY3VtZW50RXZlbnRzIiwic3RhdGUiLCJ0b2dnbGVFdmVudCIsIndpbmRvdyIsImFkZEV2ZW50TGlzdGVuZXIiLCJyZW1vdmVFdmVudExpc3RlbmVyIiwiaGFuZG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l2ZUV2ZW50KSkgcmV0dXJuO1xuICAgICAgb25LZXlDYWxsYmFjayAmJiBvbktleUNhbGxiYWNrKGdldFJlbGF0aXZlUG9zaXRpb24oY29udGFpbmVyLmN1cnJlbnQhLCBldmVudC5uYXRpdmVFdmVudCksIGV2ZW50Lm5hdGl2ZUV2ZW50KTtcbiAgICAgIHNldERyYWdnaW5nKHRydWUpO1xuICAgIH0sXG4gICAgW29uS2V5Q2FsbGJhY2tdLFxuICApO1xuXG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLnJlc2V0fVxuICAgICAgY2xhc3NOYW1lPXtbcHJlZml4Q2xzLCBjbGFzc05hbWUgfHwgJyddLmZpbHRlcihCb29sZWFuKS5qb2luKCcgJyl9XG4gICAgICBzdHlsZT17e1xuICAgICAgICAuLi5yZXNldC5zdHlsZSxcbiAgICAgICAgdG91Y2hBY3Rpb246ICdub25lJyxcbiAgICAgIH19XG4gICAgICByZWY9e2NvbnRhaW5lcn1cbiAgICAgIHRhYkluZGV4PXswfVxuICAgICAgb25Nb3VzZURvd249e2hhbmRsZU1vdmVTdGFydH1cbiAgICAgIG9uVG91Y2hTdGFydD17aGFuZGxlTW92ZVN0YXJ0fVxuICAgIC8+XG4gICk7XG59KTtcbiJdfQ== |
@@ -31,3 +31,3 @@ import _extends from "@babel/runtime/helpers/extends"; | ||
if (hasTouched.current && !isTouch(event)) return false; | ||
if (!hasTouched.current) hasTouched.current = isTouch(event); | ||
hasTouched.current = isTouch(event); | ||
return true; | ||
@@ -82,2 +82,2 @@ }; | ||
}); | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9pbmRleC50c3giXSwibmFtZXMiOlsiUmVhY3QiLCJ1c2VSZWYiLCJ1c2VTdGF0ZSIsInVzZUNhbGxiYWNrIiwidXNlRWZmZWN0IiwiaXNUb3VjaCIsInByZXZlbnREZWZhdWx0TW92ZSIsImdldF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UnLFxuICAgICAgfX1cbiAgICAgIHJlZj17Y29udGFpbmVyfVxuICAgICAgdGFiSW5kZXg9ezB9XG4gICAgICBvbk1vdXNlRG93bj17aGFuZGxlTW92ZVN0YXJ0fVxuICAgICAgb25Ub3VjaFN0YXJ0PXtoYW5kbGVNb3ZlU3RhcnR9XG4gICAgLz5cbiAgKTtcbn0pO1xuIl19 |
{ | ||
"name": "@uiw/react-drag-event-interactive", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"description": "react drag event interactive", | ||
@@ -5,0 +5,0 @@ "homepage": "https://uiwjs.github.io/react-color/#react-drag-event-interactive", |
Sorry, the diff of this file is not supported yet
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
49715