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

@interactjs/auto-start

Package Overview
Dependencies
Maintainers
2
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interactjs/auto-start - npm Package Compare versions

Comparing version 1.4.0-alpha.28 to 1.4.0-alpha.29

hold.spec.d.ts

12

base.js

@@ -33,3 +33,3 @@ import * as utils from '@interactjs/utils';

scope.autoStart.signals.fire('before-start', arg);
const target = interaction.target;
const target = interaction.interactable;
if (interaction.prepared.name && target) {

@@ -47,3 +47,3 @@ // check manualStart and interaction limit

interactions.signals.on('stop', ({ interaction }) => {
const target = interaction.target;
const target = interaction.interactable;
if (target && target.options.styleCursor) {

@@ -134,6 +134,6 @@ setCursor(interaction.element, '', scope);

action = action || {};
if (interaction.target && interaction.target.options.styleCursor) {
if (interaction.interactable && interaction.interactable.options.styleCursor) {
setCursor(interaction.element, '', scope);
}
interaction.target = target;
interaction.interactable = target;
interaction.element = element;

@@ -168,3 +168,3 @@ utils.copyAction(interaction.prepared, action);

}
if (interaction.target !== interactable) {
if (interaction.interactable !== interactable) {
continue;

@@ -206,2 +206,2 @@ }

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEtBQUssTUFBTSxtQkFBbUIsQ0FBQTtBQUMxQyxPQUFPLG1CQUFtQixNQUFNLHVCQUF1QixDQUFBO0FBMkN2RCxTQUFTLE9BQU8sQ0FBRSxLQUFZO0lBQzVCLE1BQU0sRUFDSixRQUFRLEVBQ1IsWUFBWSxFQUNaLFFBQVEsR0FDVCxHQUFHLEtBQUssQ0FBQTtJQUVULFFBQVEsQ0FBQyxHQUFHLENBQUMsbUJBQW1CLENBQUMsQ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WxlbWVudC5zdHlsZS5jdXJzb3IgPSAnJ1xuICB9XG5cbiAgZWxlbWVudC5vd25lckRvY3VtZW50LmRvY3VtZW50RWxlbWVudC5zdHlsZS5jdXJzb3IgPSBjdXJzb3JcbiAgZWxlbWVudC5zdHlsZS5jdXJzb3IgPSBjdXJzb3JcbiAgc2NvcGUuYXV0b1N0YXJ0LmN1cnNvckVsZW1lbnQgPSBjdXJzb3IgPyBlbGVtZW50IDogbnVsbFxufVxuXG5leHBvcnQgZGVmYXVsdCB7XG4gIGluc3RhbGwsXG4gIG1heEludGVyYWN0aW9ucyxcbiAgd2l0aGluSW50ZXJhY3Rpb25MaW1pdCxcbiAgdmFsaWRhdGVBY3Rpb24sXG59XG4iXX0=

@@ -13,3 +13,3 @@ import { ActionName } from '@interactjs/core/scope';

const absY = Math.abs(dy);
const targetOptions = interaction.target.options.drag;
const targetOptions = interaction.interactable.options.drag;
const startAxis = targetOptions.startAxis;

@@ -27,6 +27,6 @@ const currentAxis = (absX > absY ? 'x' : absX < absY ? 'y' : 'xy');

const getDraggable = function (interactable) {
if (interactable === interaction.target) {
if (interactable === interaction.interactable) {
return;
}
const options = interaction.target.options.drag;
const options = interaction.interactable.options.drag;
if (!options.manualStart &&

@@ -48,3 +48,3 @@ interactable.testIgnoreAllow(options, element, eventTarget)) {

interaction.prepared.name = ActionName.Drag;
interaction.target = interactable;
interaction.interactable = interactable;
interaction.element = element;

@@ -66,2 +66,2 @@ break;

export default { install };
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZ0F4aXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkcmFnQXhpcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sd0JBQXdCLENBQUE7QUFDbkQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLDRCQUE0QixDQUFBO0FBQ3ZELE9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PSBwYXJlbnROb2RlKGVsZW1lbnQpXG4gICAgICB9XG4gICAgfVxuICB9KVxuXG4gIGZ1bmN0aW9uIGNoZWNrU3RhcnRBeGlzIChzdGFydEF4aXMsIGludGVyYWN0YWJsZSkge1xuICAgIGlmICghaW50ZXJhY3RhYmxlKSB7IHJldHVybiBmYWxzZSB9XG5cbiAgICBjb25zdCB0aGlzQXhpcyA9IGludGVyYWN0YWJsZS5vcHRpb25zLmRyYWcuc3RhcnRBeGlzXG5cbiAgICByZXR1cm4gKHN0YXJ0QXhpcyA9PT0gJ3h5JyB8fCB0aGlzQXhpcyA9PT0gJ3h5JyB8fCB0aGlzQXhpcyA9PT0gc3RhcnRBeGlzKVxuICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IHsgaW5zdGFsbCB9XG4iXX0=

@@ -12,3 +12,3 @@ function install(scope) {

interaction.autoStartHoldTimer = setTimeout(() => {
interaction.start(interaction.prepared, interaction.target, interaction.element);
interaction.start(interaction.prepared, interaction.interactable, interaction.element);
}, hold);

@@ -35,3 +35,3 @@ }

}
const options = interaction.target.options;
const options = interaction.interactable.options;
return options[actionName].hold || options[actionName].delay;

@@ -43,2 +43,2 @@ }

};
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9sZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImhvbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZUEsU0FBUyxPQUFPLENBQUUsS0FBWTtJQUM1QixNQUFNLEVBQ0osU0FBUyxFQUNULFlBQVksRUFDWixRQUFRLEdBQ1QsR0FBRyxLQUFLLENBQUE7SUFFVCxRQUFRLENBQUMsU0FBUyxDQUFDLElBQUksR0FBRyxDQUFDLENBQUE7SUFDM0IsUUFBUSxDQUFDLFNBQVMsQ0FBQyxLQUFLLEdBQUcsQ0FBQyxDQUFBO0lBRTVCLFlBQVksQ0FBQyxPQUFPLENBQUMsRUFBRSxDQU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3RhcnRcbiAgYXV0b1N0YXJ0LnNpZ25hbHMub24oJ2JlZm9yZS1zdGFydCcsICh7IGludGVyYWN0aW9uIH0pID0+IHtcbiAgICBjb25zdCBob2xkID0gZ2V0SG9sZER1cmF0aW9uKGludGVyYWN0aW9uKVxuXG4gICAgaWYgKGhvbGQgPiAwKSB7XG4gICAgICBpbnRlcmFjdGlvbi5wcmVwYXJlZC5uYW1lID0gbnVsbFxuICAgIH1cbiAgfSlcbn1cblxuZnVuY3Rpb24gZ2V0SG9sZER1cmF0aW9uIChpbnRlcmFjdGlvbikge1xuICBjb25zdCBhY3Rpb25OYW1lID0gaW50ZXJhY3Rpb24ucHJlcGFyZWQgJiYgaW50ZXJhY3Rpb24ucHJlcGFyZWQubmFtZVxuXG4gIGlmICghYWN0aW9uTmFtZSkgeyByZXR1cm4gbnVsbCB9XG5cbiAgY29uc3Qgb3B0aW9ucyA9IGludGVyYWN0aW9uLmludGVyYWN0YWJsZS5vcHRpb25zXG5cbiAgcmV0dXJuIG9wdGlvbnNbYWN0aW9uTmFtZV0uaG9sZCB8fCBvcHRpb25zW2FjdGlvbk5hbWVdLmRlbGF5XG59XG5cbmV4cG9ydCBkZWZhdWx0IHtcbiAgaW5zdGFsbCxcbiAgZ2V0SG9sZER1cmF0aW9uLFxufVxuIl19
{
"name": "@interactjs/auto-start",
"version": "1.4.0-alpha.28+sha.e624c4d",
"version": "1.4.0-alpha.29+sha.7c21d3d",
"peerDependencies": {
"@interactjs/core": "1.4.0-alpha.28+sha.e624c4d",
"@interactjs/utils": "1.4.0-alpha.28+sha.e624c4d"
"@interactjs/core": "1.4.0-alpha.29+sha.7c21d3d",
"@interactjs/utils": "1.4.0-alpha.29+sha.7c21d3d"
},
"devDependencies": {
"@interactjs/_dev": "1.4.0-alpha.28+sha.e624c4d",
"@interactjs/core": "1.4.0-alpha.28+sha.e624c4d",
"@interactjs/utils": "1.4.0-alpha.28+sha.e624c4d"
"@interactjs/_dev": "1.4.0-alpha.29+sha.7c21d3d",
"@interactjs/core": "1.4.0-alpha.29+sha.7c21d3d",
"@interactjs/utils": "1.4.0-alpha.29+sha.7c21d3d"
},

@@ -13,0 +13,0 @@ "publishConfig": {

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