@any-touch/recognizer
Advanced tools
Comparing version 0.6.0-beta.2 to 0.6.0-beta.7
{ | ||
"name": "@any-touch/recognizer", | ||
"version": "0.6.0-beta.2", | ||
"version": "0.6.0-beta.7", | ||
"description": "any-touch的识别器的基类.", | ||
@@ -13,3 +13,3 @@ "main": "./dist/index.js", | ||
}, | ||
"gitHead": "1fbc166a952c787afd7716f08978e824eecaa123" | ||
"gitHead": "8d7b05667880d9e5ac91b7bc4e457624e35cb994" | ||
} |
@@ -0,0 +0,0 @@ # Recognizer |
import { Input, ComputeConstructor } from '@any-touch/shared/types'; | ||
import { | ||
STATUS_POSSIBLE, | ||
} from '@any-touch/shared/const'; | ||
} from '@any-touch/shared'; | ||
export default abstract class RecognizerBase { | ||
// 导出recognizeForPressMoveLike, | ||
// resetStatusForPressMoveLike | ||
export { default as recognizeForPressMoveLike } from './recognizeForPressMoveLike'; | ||
export { default as resetStatusForPressMoveLike } from './resetStatusForPressMoveLike'; | ||
export default abstract class{ | ||
// 给use方法用 | ||
@@ -8,0 +13,0 @@ static type = 'Recognizer'; |
@@ -5,3 +5,3 @@ import { CommonEmitFunction, Input } from '@any-touch/shared/types'; | ||
INPUT_CANCEL, INPUT_END, INPUT_MOVE | ||
} from '@any-touch/shared/const'; | ||
} from '@any-touch/shared'; | ||
@@ -15,3 +15,3 @@ import { | ||
STATUS_RECOGNIZED | ||
} from '@any-touch/shared/const' | ||
} from '@any-touch/shared' | ||
import resetStatus from './resetStatusForPressMoveLike'; | ||
@@ -18,0 +18,0 @@ |
@@ -7,3 +7,3 @@ import Recognizer from './index'; | ||
STATUS_FAILED, STATUS_RECOGNIZED | ||
} from '@any-touch/shared/const' | ||
} from '@any-touch/shared' | ||
export default function(recognizer: Recognizer) { | ||
@@ -10,0 +10,0 @@ // 重置status |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
19957
11
485
1