@interactjs/auto-start
Advanced tools
Comparing version 1.4.0-alpha.24 to 1.4.0-alpha.25
@@ -202,2 +202,2 @@ import * as utils from '@interactjs/utils'; | ||
}; | ||
//# sourceMappingURL=base.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImJhc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxLQUFLLEtBQUssTUFBTSxtQkFBbUIsQ0FBQTtBQUMxQyxPQUFPLG1CQUFtQixNQUFNLHVCQUF1QixDQUFBO0FBc0N2RCxTQUFTLE9BQU8sQ0FBRSxLQUFZO0lBQzVCLE1BQU0sRUFDSixRQUFRLEVBQ1IsWUFBWSxFQUNaLFFBQVEsR0FDVCxHQUFHLEtBQUssQ0FBQTtJQUVULFFBQVEsQ0FBQyxHQUFHLENBQUMsbUJBQW1CLENBQUMsQ0FBQTtJQUVqQyxnQ0FBZ0M7SUFDaEMsWUFBWSxDQUFDLE9BQU8sQ0FBQyxFQUFFLENBQUMsTUFBTSxFQUFFLENBQUMsRUFBRSxXQUFXLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBRSxXQUFXLEVBQUUsRUFBRSxFQUFFO1FBQy9FLElBQUksV0FBVyxDQUFDLFdBQVcsRUFBRSxFQUFFO1lBQUUsT0FBTTtTQUFFO1FBRXpDLE1BQU0sVUFBVSxHQUFHLGFBQWEsQ0FBQyxXQUFXLEVBQUUsT0FBTyxFQUFFLEtBQUssRUFBRSxXQUFXLEVBQUUsS0FBSyxDQUFDLENBQUE7UUFDakYsT0FBTyxDQUFDLFdBQVcsRUFBRSxVQUFVLEVBQUUsS0FBSyxDQUFDLENBQUE7SUFDekMsQ0FBQyxDQUFDLENBQUE7SUFFRixnQ0FBZ0M7SUFDaEMsWUFBWSxDQUFDLE9BQU8sQ0FBQyxFQUFFLENBQUMsTUFBTSxFQU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JFbGVtZW50KSB7XG4gICAgc2NvcGUuYXV0b1N0YXJ0LmN1cnNvckVsZW1lbnQuc3R5bGUuY3Vyc29yID0gJydcbiAgfVxuXG4gIGVsZW1lbnQub3duZXJEb2N1bWVudC5kb2N1bWVudEVsZW1lbnQuc3R5bGUuY3Vyc29yID0gY3Vyc29yXG4gIGVsZW1lbnQuc3R5bGUuY3Vyc29yID0gY3Vyc29yXG4gIHNjb3BlLmF1dG9TdGFydC5jdXJzb3JFbGVtZW50ID0gY3Vyc29yID8gZWxlbWVudCA6IG51bGxcbn1cblxuZXhwb3J0IGRlZmF1bHQge1xuICBpbnN0YWxsLFxuICBtYXhJbnRlcmFjdGlvbnMsXG4gIHdpdGhpbkludGVyYWN0aW9uTGltaXQsXG4gIHZhbGlkYXRlQWN0aW9uLFxufVxuIl19 |
@@ -62,2 +62,2 @@ import { parentNode } from '@interactjs/utils/domUtils'; | ||
export default { install }; | ||
//# sourceMappingURL=dragAxis.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZ0F4aXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJkcmFnQXhpcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sNEJBQTRCLENBQUE7QUFDdkQsT0FBTyxLQUFLLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQTtBQUMxQyxPQUFPLFNBQVMsTUFBTSxRQUFRLENBQUE7QUFJOUIsU0FBUyxPQUFPLENBQUUsS0FBWTtJQUM1QixLQUFLLENBQUMsU0FBUyxDQUFDLE9BQU8sQ0FBQyxFQUFFLENBQUMsY0FBYyxFQUFHLENBQUMsRUFBRSxXQUFXLEVBQUUsV0FBVyxFQUFFLEVBQUUsRUFBRSxFQUFFLEVBQUUsRUFBRSxFQUFFO1FBQ25GLElBQUksV0FBVyxDQUFDLFFBQVEsQ0FBQyxJQ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yYWdnYWJsZSlcblxuICAgICAgICBpZiAoaW50ZXJhY3RhYmxlKSB7XG4gICAgICAgICAgaW50ZXJhY3Rpb24ucHJlcGFyZWQubmFtZSA9ICdkcmFnJ1xuICAgICAgICAgIGludGVyYWN0aW9uLnRhcmdldCA9IGludGVyYWN0YWJsZVxuICAgICAgICAgIGludGVyYWN0aW9uLmVsZW1lbnQgPSBlbGVtZW50XG4gICAgICAgICAgYnJlYWtcbiAgICAgICAgfVxuXG4gICAgICAgIGVsZW1lbnQgPSBwYXJlbnROb2RlKGVsZW1lbnQpXG4gICAgICB9XG4gICAgfVxuICB9KVxuXG4gIGZ1bmN0aW9uIGNoZWNrU3RhcnRBeGlzIChzdGFydEF4aXMsIGludGVyYWN0YWJsZSkge1xuICAgIGlmICghaW50ZXJhY3RhYmxlKSB7IHJldHVybiBmYWxzZSB9XG5cbiAgICBjb25zdCB0aGlzQXhpcyA9IGludGVyYWN0YWJsZS5vcHRpb25zLmRyYWcuc3RhcnRBeGlzXG5cbiAgICByZXR1cm4gKHN0YXJ0QXhpcyA9PT0gJ3h5JyB8fCB0aGlzQXhpcyA9PT0gJ3h5JyB8fCB0aGlzQXhpcyA9PT0gc3RhcnRBeGlzKVxuICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IHsgaW5zdGFsbCB9XG4iXX0= |
declare type Scope = import('@interactjs/core/scope').Scope; | ||
declare module '@interactjs/core/defaultOptions' { | ||
interface PerActionDefaults { | ||
hold?: number; | ||
delay?: number; | ||
} | ||
} | ||
declare function install(scope: Scope): void; | ||
@@ -3,0 +9,0 @@ declare function getHoldDuration(interaction: any): any; |
@@ -41,2 +41,2 @@ function install(scope) { | ||
}; | ||
//# sourceMappingURL=hold.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaG9sZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImhvbGQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI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dGFydEhvbGRUaW1lcilcbiAgICB9XG4gIH0pXG5cbiAgLy8gcHJldmVudCByZWd1bGFyIGRvd24tPm1vdmUgYXV0b1N0YXJ0XG4gIGF1dG9TdGFydC5zaWduYWxzLm9uKCdiZWZvcmUtc3RhcnQnLCAoeyBpbnRlcmFjdGlvbiB9KSA9PiB7XG4gICAgY29uc3QgaG9sZCA9IGdldEhvbGREdXJhdGlvbihpbnRlcmFjdGlvbilcblxuICAgIGlmIChob2xkID4gMCkge1xuICAgICAgaW50ZXJhY3Rpb24ucHJlcGFyZWQubmFtZSA9IG51bGxcbiAgICB9XG4gIH0pXG59XG5cbmZ1bmN0aW9uIGdldEhvbGREdXJhdGlvbiAoaW50ZXJhY3Rpb24pIHtcbiAgY29uc3QgYWN0aW9uTmFtZSA9IGludGVyYWN0aW9uLnByZXBhcmVkICYmIGludGVyYWN0aW9uLnByZXBhcmVkLm5hbWVcblxuICBpZiAoIWFjdGlvbk5hbWUpIHsgcmV0dXJuIG51bGwgfVxuXG4gIGNvbnN0IG9wdGlvbnMgPSBpbnRlcmFjdGlvbi50YXJnZXQub3B0aW9uc1xuXG4gIHJldHVybiBvcHRpb25zW2FjdGlvbk5hbWVdLmhvbGQgfHwgb3B0aW9uc1thY3Rpb25OYW1lXS5kZWxheVxufVxuXG5leHBvcnQgZGVmYXVsdCB7XG4gIGluc3RhbGwsXG4gIGdldEhvbGREdXJhdGlvbixcbn1cbiJdfQ== |
@@ -10,2 +10,2 @@ import autoStart from './base'; | ||
export { autoStart, hold, dragAxis, install, }; | ||
//# sourceMappingURL=index.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLFNBQVMsTUFBTSxRQUFRLENBQUE7QUFDOUIsT0FBTyxRQUFRLE1BQU0sWUFBWSxDQUFBO0FBQ2pDLE9BQU8sSUFBSSxNQUFNLFFBQVEsQ0FBQTtBQUV6QixTQUFTLE9BQU8sQ0FBRSxLQUFLO0lBQ3JCLFNBQVMsQ0FBQyxPQUFPLENBQUMsS0FBSyxDQUFDLENBQUE7SUFDeEIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxLQUFLLENBQUMsQ0FBQTtJQUNuQixRQUFRLENBQUMsT0FBTyxDQUFDLEtBQUssQ0FBQyxDQUFBO0FBQ3pCLENBQUM7QUFFRCxPQUFPLEVBQ0wsU0FBUyxFQUNULElBQUksRUFDSixRQUFRLEVBQ1IsT0FBTyxHQUNSLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgYXV0b1N0YXJ0IGZyb20gJy4vYmFzZSdcbmltcG9ydCBkcmFnQXhpcyBmcm9tICcuL2RyYWdBeGlzJ1xuaW1wb3J0IGhvbGQgZnJvbSAnLi9ob2xkJ1xuXG5mdW5jdGlvbiBpbnN0YWxsIChzY29wZSkge1xuICBhdXRvU3RhcnQuaW5zdGFsbChzY29wZSlcbiAgaG9sZC5pbnN0YWxsKHNjb3BlKVxuICBkcmFnQXhpcy5pbnN0YWxsKHNjb3BlKVxufVxuXG5leHBvcnQge1xuICBhdXRvU3RhcnQsXG4gIGhvbGQsXG4gIGRyYWdBeGlzLFxuICBpbnN0YWxsLFxufVxuIl19 |
@@ -197,2 +197,2 @@ import { warnOnce } from '@interactjs/utils'; | ||
export default { install }; | ||
//# sourceMappingURL=InteractableMethods.js.map | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSW50ZXJhY3RhYmxlTWV0aG9kcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkludGVyYWN0YWJsZU1ldGhvZHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLG1CQUFtQixDQUFBO0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ZW1lbnQpIHtcbiAgaWYgKCFpZ25vcmVGcm9tIHx8ICFpcy5lbGVtZW50KGVsZW1lbnQpKSB7IHJldHVybiBmYWxzZSB9XG5cbiAgaWYgKGlzLnN0cmluZyhpZ25vcmVGcm9tKSkge1xuICAgIHJldHVybiBkb21VdGlscy5tYXRjaGVzVXBUbyhlbGVtZW50LCBpZ25vcmVGcm9tLCBpbnRlcmFjdGFibGVFbGVtZW50KVxuICB9XG4gIGVsc2UgaWYgKGlzLmVsZW1lbnQoaWdub3JlRnJvbSkpIHtcbiAgICByZXR1cm4gZG9tVXRpbHMubm9kZUNvbnRhaW5zKGlnbm9yZUZyb20sIGVsZW1lbnQpXG4gIH1cblxuICByZXR1cm4gZmFsc2Vcbn1cblxuZXhwb3J0IGRlZmF1bHQgeyBpbnN0YWxsIH1cbiJdfQ== |
{ | ||
"name": "@interactjs/auto-start", | ||
"version": "1.4.0-alpha.24+sha.1196d35", | ||
"version": "1.4.0-alpha.25+sha.c3a67ce", | ||
"peerDependencies": { | ||
"@interactjs/core": "1.4.0-alpha.24+sha.1196d35", | ||
"@interactjs/utils": "1.4.0-alpha.24+sha.1196d35" | ||
"@interactjs/core": "1.4.0-alpha.25+sha.c3a67ce", | ||
"@interactjs/utils": "1.4.0-alpha.25+sha.c3a67ce" | ||
}, | ||
"devDependencies": { | ||
"@interactjs/_dev": "1.4.0-alpha.24+sha.1196d35", | ||
"@interactjs/core": "1.4.0-alpha.24+sha.1196d35", | ||
"@interactjs/utils": "1.4.0-alpha.24+sha.1196d35" | ||
"@interactjs/_dev": "1.4.0-alpha.25+sha.c3a67ce", | ||
"@interactjs/core": "1.4.0-alpha.25+sha.c3a67ce", | ||
"@interactjs/utils": "1.4.0-alpha.25+sha.c3a67ce" | ||
}, | ||
@@ -13,0 +13,0 @@ "publishConfig": { |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
73983
610
12