@tamagui/react-native-web-lite 1.113.0 → 1.113.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/esm/AccessibilityInfo/index.native.js +62 -58
  2. package/dist/esm/AccessibilityInfo/index.native.js.map +6 -1
  3. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js +55 -85
  4. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js.map +6 -1
  5. package/dist/esm/ActivityIndicator/index.native.js +90 -82
  6. package/dist/esm/ActivityIndicator/index.native.js.map +6 -1
  7. package/dist/esm/Alert/index.native.js +18 -14
  8. package/dist/esm/Alert/index.native.js.map +6 -1
  9. package/dist/esm/AppRegistry/AppContainer.native.js +26 -30
  10. package/dist/esm/AppRegistry/AppContainer.native.js.map +6 -1
  11. package/dist/esm/AppRegistry/__tests__/index-test.native.js +13 -13
  12. package/dist/esm/AppRegistry/__tests__/index-test.native.js.map +6 -1
  13. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js +34 -45
  14. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js.map +6 -1
  15. package/dist/esm/AppRegistry/index.native.js +55 -50
  16. package/dist/esm/AppRegistry/index.native.js.map +6 -1
  17. package/dist/esm/AppRegistry/renderApplication.native.js +27 -33
  18. package/dist/esm/AppRegistry/renderApplication.native.js.map +6 -1
  19. package/dist/esm/AppState/__tests__/index-test.native.js +10 -9
  20. package/dist/esm/AppState/__tests__/index-test.native.js.map +6 -1
  21. package/dist/esm/AppState/index.native.js +51 -45
  22. package/dist/esm/AppState/index.native.js.map +6 -1
  23. package/dist/esm/Appearance/index.native.js +24 -27
  24. package/dist/esm/Appearance/index.native.js.map +6 -1
  25. package/dist/esm/BackHandler/index.native.js +13 -11
  26. package/dist/esm/BackHandler/index.native.js.map +6 -1
  27. package/dist/esm/Clipboard/index.native.js +26 -21
  28. package/dist/esm/Clipboard/index.native.js.map +6 -1
  29. package/dist/esm/DeviceEmitter.native.js +5 -3
  30. package/dist/esm/DeviceEmitter.native.js.map +6 -1
  31. package/dist/esm/DeviceInfo/index.native.js +33 -41
  32. package/dist/esm/DeviceInfo/index.native.js.map +6 -1
  33. package/dist/esm/Dimensions/__tests__/index-test.native.js +8 -9
  34. package/dist/esm/Dimensions/__tests__/index-test.native.js.map +6 -1
  35. package/dist/esm/Dimensions/index.native.js +53 -49
  36. package/dist/esm/Dimensions/index.native.js.map +6 -1
  37. package/dist/esm/I18nManager/index.native.js +13 -10
  38. package/dist/esm/I18nManager/index.native.js.map +6 -1
  39. package/dist/esm/Image/index.native.js +149 -174
  40. package/dist/esm/Image/index.native.js.map +6 -1
  41. package/dist/esm/Image/types.native.js +1 -2
  42. package/dist/esm/Image/types.native.js.map +6 -1
  43. package/dist/esm/ImageBackground/__tests__/index-test.native.js +19 -27
  44. package/dist/esm/ImageBackground/__tests__/index-test.native.js.map +6 -1
  45. package/dist/esm/ImageBackground/index.native.js +33 -35
  46. package/dist/esm/ImageBackground/index.native.js.map +6 -1
  47. package/dist/esm/Keyboard/index.native.js +17 -13
  48. package/dist/esm/Keyboard/index.native.js.map +6 -1
  49. package/dist/esm/KeyboardAvoidingView/index.native.js +44 -34
  50. package/dist/esm/KeyboardAvoidingView/index.native.js.map +6 -1
  51. package/dist/esm/Linking/__tests__/index-test.native.js +9 -9
  52. package/dist/esm/Linking/__tests__/index-test.native.js.map +6 -1
  53. package/dist/esm/Linking/index.native.js +49 -42
  54. package/dist/esm/Linking/index.native.js.map +6 -1
  55. package/dist/esm/LogBox/index.native.js +12 -7
  56. package/dist/esm/LogBox/index.native.js.map +6 -1
  57. package/dist/esm/Modal/ModalAnimation.native.js +112 -89
  58. package/dist/esm/Modal/ModalAnimation.native.js.map +6 -1
  59. package/dist/esm/Modal/ModalContent.native.js +54 -52
  60. package/dist/esm/Modal/ModalContent.native.js.map +6 -1
  61. package/dist/esm/Modal/ModalFocusTrap.native.js +52 -49
  62. package/dist/esm/Modal/ModalFocusTrap.native.js.map +6 -1
  63. package/dist/esm/Modal/ModalPortal.native.js +11 -9
  64. package/dist/esm/Modal/ModalPortal.native.js.map +6 -1
  65. package/dist/esm/Modal/index.native.js +45 -53
  66. package/dist/esm/Modal/index.native.js.map +6 -1
  67. package/dist/esm/NativeModules/index.native.js +6 -5
  68. package/dist/esm/NativeModules/index.native.js.map +6 -1
  69. package/dist/esm/PanResponder/Alternative.js +122 -157
  70. package/dist/esm/PanResponder/Alternative.js.map +6 -1
  71. package/dist/esm/PanResponder/index.native.js +5 -3
  72. package/dist/esm/PanResponder/index.native.js.map +6 -1
  73. package/dist/esm/PixelRatio/index.native.js +59 -48
  74. package/dist/esm/PixelRatio/index.native.js.map +6 -1
  75. package/dist/esm/Pressable/index.native.js +67 -70
  76. package/dist/esm/Pressable/index.native.js.map +6 -1
  77. package/dist/esm/RefreshControl/index.native.js +6 -4
  78. package/dist/esm/RefreshControl/index.native.js.map +6 -1
  79. package/dist/esm/SafeAreaView/index.native.js +21 -24
  80. package/dist/esm/SafeAreaView/index.native.js.map +6 -1
  81. package/dist/esm/ScrollView/ScrollViewBase.native.js +50 -61
  82. package/dist/esm/ScrollView/ScrollViewBase.native.js.map +6 -1
  83. package/dist/esm/ScrollView/index.native.js +211 -183
  84. package/dist/esm/ScrollView/index.native.js.map +6 -1
  85. package/dist/esm/Share/index.native.js +36 -29
  86. package/dist/esm/Share/index.native.js.map +6 -1
  87. package/dist/esm/StatusBar/index.native.js +6 -3
  88. package/dist/esm/StatusBar/index.native.js.map +6 -1
  89. package/dist/esm/Text/index.native.js +100 -128
  90. package/dist/esm/Text/index.native.js.map +6 -1
  91. package/dist/esm/Text/types.native.js +1 -2
  92. package/dist/esm/Text/types.native.js.map +6 -1
  93. package/dist/esm/TextInput/__tests__/index-test.native.js +259 -445
  94. package/dist/esm/TextInput/__tests__/index-test.native.js.map +6 -1
  95. package/dist/esm/TextInput/index.native.js +157 -220
  96. package/dist/esm/TextInput/index.native.js.map +6 -1
  97. package/dist/esm/TextInput/types.native.js +1 -2
  98. package/dist/esm/TextInput/types.native.js.map +6 -1
  99. package/dist/esm/TouchableOpacity.native.js +67 -63
  100. package/dist/esm/TouchableOpacity.native.js.map +6 -1
  101. package/dist/esm/TouchableWithoutFeedback.native.js +45 -49
  102. package/dist/esm/TouchableWithoutFeedback.native.js.map +6 -1
  103. package/dist/esm/UnimplementedView.native.js +30 -22
  104. package/dist/esm/UnimplementedView.native.js.map +6 -1
  105. package/dist/esm/Vibration/index.native.js +14 -14
  106. package/dist/esm/Vibration/index.native.js.map +6 -1
  107. package/dist/esm/View/index.native.js +55 -84
  108. package/dist/esm/View/index.native.js.map +6 -1
  109. package/dist/esm/View/types.native.js +1 -2
  110. package/dist/esm/View/types.native.js.map +6 -1
  111. package/dist/esm/createElement/__tests__/index-test.native.js +195 -398
  112. package/dist/esm/createElement/__tests__/index-test.native.js.map +6 -1
  113. package/dist/esm/createElement/index.native.js +14 -16
  114. package/dist/esm/createElement/index.native.js.map +6 -1
  115. package/dist/esm/createReactDOMStyle.native.js +4 -2
  116. package/dist/esm/createReactDOMStyle.native.js.map +6 -1
  117. package/dist/esm/findNodeHandle.native.js +7 -4
  118. package/dist/esm/findNodeHandle.native.js.map +6 -1
  119. package/dist/esm/index.native.js +133 -55
  120. package/dist/esm/index.native.js.map +6 -1
  121. package/dist/esm/render/index.native.js +9 -4
  122. package/dist/esm/render/index.native.js.map +6 -1
  123. package/dist/esm/styleTypes.native.js +1 -2
  124. package/dist/esm/styleTypes.native.js.map +6 -1
  125. package/dist/esm/types.native.js +1 -2
  126. package/dist/esm/types.native.js.map +6 -1
  127. package/dist/esm/useColorScheme/index.native.js +7 -7
  128. package/dist/esm/useColorScheme/index.native.js.map +6 -1
  129. package/dist/esm/useLocaleContext/index.native.js +4 -2
  130. package/dist/esm/useLocaleContext/index.native.js.map +6 -1
  131. package/dist/esm/useWindowDimensions/index.native.js +9 -9
  132. package/dist/esm/useWindowDimensions/index.native.js.map +6 -1
  133. package/dist/esm/vendor/react-native/Animated/Animated.native.js +17 -16
  134. package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +6 -1
  135. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +99 -72
  136. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +6 -1
  137. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +436 -465
  138. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +6 -1
  139. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +91 -97
  140. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +6 -1
  141. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js +1 -2
  142. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js.map +6 -1
  143. package/dist/esm/vendor/react-native/Animated/Easing.native.js +231 -194
  144. package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +6 -1
  145. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +222 -206
  146. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +6 -1
  147. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +5 -3
  148. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +6 -1
  149. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +5 -3
  150. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +6 -1
  151. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js +5 -5
  152. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +6 -1
  153. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +37 -25
  154. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +6 -1
  155. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +54 -42
  156. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +6 -1
  157. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +72 -72
  158. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +6 -1
  159. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +60 -45
  160. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +6 -1
  161. package/dist/esm/vendor/react-native/Animated/bezier.native.js +20 -23
  162. package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +6 -1
  163. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +6 -4
  164. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js.map +6 -1
  165. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +13 -12
  166. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +6 -1
  167. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +6 -4
  168. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +6 -1
  169. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +6 -4
  170. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +6 -1
  171. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +11 -17
  172. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +6 -1
  173. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +55 -39
  174. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +6 -1
  175. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +197 -180
  176. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +6 -1
  177. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +51 -39
  178. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +6 -1
  179. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +57 -42
  180. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +6 -1
  181. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +116 -99
  182. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +6 -1
  183. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +50 -37
  184. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +6 -1
  185. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +55 -39
  186. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +6 -1
  187. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +89 -61
  188. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +6 -1
  189. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +70 -52
  190. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +6 -1
  191. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +68 -50
  192. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +6 -1
  193. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +55 -39
  194. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +6 -1
  195. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +53 -41
  196. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +6 -1
  197. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +57 -44
  198. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +6 -1
  199. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +99 -70
  200. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +6 -1
  201. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +82 -64
  202. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +6 -1
  203. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +53 -40
  204. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +6 -1
  205. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +58 -50
  206. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +6 -1
  207. package/dist/esm/vendor/react-native/FeatureFlags.native.js +10 -8
  208. package/dist/esm/vendor/react-native/FeatureFlags.native.js.map +6 -1
  209. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js +5 -3
  210. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +6 -1
  211. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js +55 -46
  212. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js.map +6 -1
  213. package/dist/esm/vendor/react-native/PanResponder/index.native.js +219 -224
  214. package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +6 -1
  215. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js +81 -58
  216. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +6 -1
  217. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +1 -2
  218. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +6 -1
  219. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +5 -2
  220. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +6 -1
  221. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +1 -2
  222. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +6 -1
  223. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +6 -5
  224. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +6 -1
  225. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js +5 -3
  226. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js.map +6 -1
  227. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js +1 -2
  228. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js.map +6 -1
  229. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js +33 -24
  230. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js.map +6 -1
  231. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js +51 -41
  232. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js.map +6 -1
  233. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js +16 -12
  234. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js.map +6 -1
  235. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js +26 -21
  236. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js.map +6 -1
  237. package/dist/esm/vendor/react-native/infoLog/index.native.js +6 -3
  238. package/dist/esm/vendor/react-native/infoLog/index.native.js.map +6 -1
  239. package/dist/esm/vendor/react-native/useRefEffect.native.js +8 -4
  240. package/dist/esm/vendor/react-native/useRefEffect.native.js.map +6 -1
  241. package/dist/esm/without-animated.native.js +115 -52
  242. package/dist/esm/without-animated.native.js.map +6 -1
  243. package/package.json +6 -6
@@ -1,226 +1,219 @@
1
1
  import { InteractionManager } from "@tamagui/react-native-web-internals";
2
2
  import TouchHistoryMath from "../TouchHistoryMath";
3
- var currentCentroidXOfTouchesChangedAfter = TouchHistoryMath.currentCentroidXOfTouchesChangedAfter,
4
- currentCentroidYOfTouchesChangedAfter = TouchHistoryMath.currentCentroidYOfTouchesChangedAfter,
5
- previousCentroidXOfTouchesChangedAfter = TouchHistoryMath.previousCentroidXOfTouchesChangedAfter,
6
- previousCentroidYOfTouchesChangedAfter = TouchHistoryMath.previousCentroidYOfTouchesChangedAfter,
7
- currentCentroidX = TouchHistoryMath.currentCentroidX,
8
- currentCentroidY = TouchHistoryMath.currentCentroidY,
9
- PanResponder = {
10
- /**
11
- *
12
- * A graphical explanation of the touch data flow:
13
- *
14
- * +----------------------------+ +--------------------------------+
15
- * | ResponderTouchHistoryStore | |TouchHistoryMath |
16
- * +----------------------------+ +----------+---------------------+
17
- * |Global store of touchHistory| |Allocation-less math util |
18
- * |including activeness, start | |on touch history (centroids |
19
- * |position, prev/cur position.| |and multitouch movement etc) |
20
- * | | | |
21
- * +----^-----------------------+ +----^---------------------------+
22
- * | |
23
- * | (records relevant history |
24
- * | of touches relevant for |
25
- * | implementing higher level |
26
- * | gestures) |
27
- * | |
28
- * +----+-----------------------+ +----|---------------------------+
29
- * | ResponderEventPlugin | | | Your App/Component |
30
- * +----------------------------+ +----|---------------------------+
31
- * |Negotiates which view gets | Low level | | High level |
32
- * |onResponderMove events. | events w/ | +-+-------+ events w/ |
33
- * |Also records history into | touchHistory| | Pan | multitouch + |
34
- * |ResponderTouchHistoryStore. +---------------->Responder+-----> accumulative|
35
- * +----------------------------+ attached to | | | distance and |
36
- * each event | +---------+ velocity. |
37
- * | |
38
- * | |
39
- * +--------------------------------+
40
- *
41
- *
42
- *
43
- * Gesture that calculates cumulative movement over time in a way that just
44
- * "does the right thing" for multiple touches. The "right thing" is very
45
- * nuanced. When moving two touches in opposite directions, the cumulative
46
- * distance is zero in each dimension. When two touches move in parallel five
47
- * pixels in the same direction, the cumulative distance is five, not ten. If
48
- * two touches start, one moves five in a direction, then stops and the other
49
- * touch moves fives in the same direction, the cumulative distance is ten.
50
- *
51
- * This logic requires a kind of processing of time "clusters" of touch events
52
- * so that two touch moves that essentially occur in parallel but move every
53
- * other frame respectively, are considered part of the same movement.
54
- *
55
- * Explanation of some of the non-obvious fields:
56
- *
57
- * - moveX/moveY: If no move event has been observed, then `(moveX, moveY)` is
58
- * invalid. If a move event has been observed, `(moveX, moveY)` is the
59
- * centroid of the most recently moved "cluster" of active touches.
60
- * (Currently all move have the same timeStamp, but later we should add some
61
- * threshold for what is considered to be "moving"). If a palm is
62
- * accidentally counted as a touch, but a finger is moving greatly, the palm
63
- * will move slightly, but we only want to count the single moving touch.
64
- * - x0/y0: Centroid location (non-cumulative) at the time of becoming
65
- * responder.
66
- * - dx/dy: Cumulative touch distance - not the same thing as sum of each touch
67
- * distance. Accounts for touch moves that are clustered together in time,
68
- * moving the same direction. Only valid when currently responder (otherwise,
69
- * it only represents the drag distance below the threshold).
70
- * - vx/vy: Velocity.
71
- */
72
- _initializeGestureState(gestureState) {
73
- gestureState.moveX = 0, gestureState.moveY = 0, gestureState.x0 = 0, gestureState.y0 = 0, gestureState.dx = 0, gestureState.dy = 0, gestureState.vx = 0, gestureState.vy = 0, gestureState.numberActiveTouches = 0, gestureState._accountsForMovesUpTo = 0;
74
- },
75
- /**
76
- * This is nuanced and is necessary. It is incorrect to continuously take all
77
- * active *and* recently moved touches, find the centroid, and track how that
78
- * result changes over time. Instead, we must take all recently moved
79
- * touches, and calculate how the centroid has changed just for those
80
- * recently moved touches, and append that change to an accumulator. This is
81
- * to (at least) handle the case where the user is moving three fingers, and
82
- * then one of the fingers stops but the other two continue.
83
- *
84
- * This is very different than taking all of the recently moved touches and
85
- * storing their centroid as `dx/dy`. For correctness, we must *accumulate
86
- * changes* in the centroid of recently moved touches.
87
- *
88
- * There is also some nuance with how we handle multiple moved touches in a
89
- * single event. With the way `ReactNativeEventEmitter` dispatches touches as
90
- * individual events, multiple touches generate two 'move' events, each of
91
- * them triggering `onResponderMove`. But with the way `PanResponder` works,
92
- * all of the gesture inference is performed on the first dispatch, since it
93
- * looks at all of the touches (even the ones for which there hasn't been a
94
- * native dispatch yet). Therefore, `PanResponder` does not call
95
- * `onResponderMove` passed the first dispatch. This diverges from the
96
- * typical responder callback pattern (without using `PanResponder`), but
97
- * avoids more dispatches than necessary.
98
- */
99
- _updateGestureStateOnMove(gestureState, touchHistory) {
100
- gestureState.numberActiveTouches = touchHistory.numberActiveTouches, gestureState.moveX = currentCentroidXOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo), gestureState.moveY = currentCentroidYOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo);
101
- var movedAfter = gestureState._accountsForMovesUpTo,
102
- prevX = previousCentroidXOfTouchesChangedAfter(touchHistory, movedAfter),
103
- x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter),
104
- prevY = previousCentroidYOfTouchesChangedAfter(touchHistory, movedAfter),
105
- y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter),
106
- nextDX = gestureState.dx + (x - prevX),
107
- nextDY = gestureState.dy + (y - prevY),
108
- dt = touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo;
109
- gestureState.vx = (nextDX - gestureState.dx) / dt, gestureState.vy = (nextDY - gestureState.dy) / dt, gestureState.dx = nextDX, gestureState.dy = nextDY, gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp;
110
- },
111
- /**
112
- * @param {object} config Enhanced versions of all of the responder callbacks
113
- * that provide not only the typical `ResponderSyntheticEvent`, but also the
114
- * `PanResponder` gesture state. Simply replace the word `Responder` with
115
- * `PanResponder` in each of the typical `onResponder*` callbacks. For
116
- * example, the `config` object would look like:
117
- *
118
- * - `onMoveShouldSetPanResponder: (e, gestureState) => {...}`
119
- * - `onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}`
120
- * - `onStartShouldSetPanResponder: (e, gestureState) => {...}`
121
- * - `onStartShouldSetPanResponderCapture: (e, gestureState) => {...}`
122
- * - `onPanResponderReject: (e, gestureState) => {...}`
123
- * - `onPanResponderGrant: (e, gestureState) => {...}`
124
- * - `onPanResponderStart: (e, gestureState) => {...}`
125
- * - `onPanResponderEnd: (e, gestureState) => {...}`
126
- * - `onPanResponderRelease: (e, gestureState) => {...}`
127
- * - `onPanResponderMove: (e, gestureState) => {...}`
128
- * - `onPanResponderTerminate: (e, gestureState) => {...}`
129
- * - `onPanResponderTerminationRequest: (e, gestureState) => {...}`
130
- * - `onShouldBlockNativeResponder: (e, gestureState) => {...}`
131
- *
132
- * In general, for events that have capture equivalents, we update the
133
- * gestureState once in the capture phase and can use it in the bubble phase
134
- * as well.
135
- *
136
- * Be careful with onStartShould* callbacks. They only reflect updated
137
- * `gestureState` for start/end events that bubble/capture to the Node.
138
- * Once the node is the responder, you can rely on every start/end event
139
- * being processed by the gesture and `gestureState` being updated
140
- * accordingly. (numberActiveTouches) may not be totally accurate unless you
141
- * are the responder.
142
- */
143
- create(config) {
144
- var interactionState = {
145
- handle: null,
146
- shouldCancelClick: !1,
147
- timeout: null
148
- },
149
- gestureState = {
150
- // Useful for debugging
151
- stateID: Math.random(),
152
- moveX: 0,
153
- moveY: 0,
154
- x0: 0,
155
- y0: 0,
156
- dx: 0,
157
- dy: 0,
158
- vx: 0,
159
- vy: 0,
160
- numberActiveTouches: 0,
161
- _accountsForMovesUpTo: 0
162
- },
163
- panHandlers = {
164
- onStartShouldSetResponder(event) {
165
- return config.onStartShouldSetPanResponder == null ? !1 : config.onStartShouldSetPanResponder(event, gestureState);
166
- },
167
- onMoveShouldSetResponder(event) {
168
- return config.onMoveShouldSetPanResponder == null ? !1 : config.onMoveShouldSetPanResponder(event, gestureState);
169
- },
170
- onStartShouldSetResponderCapture(event) {
171
- return event.nativeEvent.touches.length === 1 && PanResponder._initializeGestureState(gestureState), gestureState.numberActiveTouches = event.touchHistory.numberActiveTouches, config.onStartShouldSetPanResponderCapture != null ? config.onStartShouldSetPanResponderCapture(event, gestureState) : !1;
172
- },
173
- onMoveShouldSetResponderCapture(event) {
174
- var touchHistory = event.touchHistory;
175
- return gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp ? !1 : (PanResponder._updateGestureStateOnMove(gestureState, touchHistory), config.onMoveShouldSetPanResponderCapture ? config.onMoveShouldSetPanResponderCapture(event, gestureState) : !1);
176
- },
177
- onResponderGrant(event) {
178
- return interactionState.handle || (interactionState.handle = InteractionManager.createInteractionHandle()), interactionState.timeout && clearInteractionTimeout(interactionState), interactionState.shouldCancelClick = !0, gestureState.x0 = currentCentroidX(event.touchHistory), gestureState.y0 = currentCentroidY(event.touchHistory), gestureState.dx = 0, gestureState.dy = 0, config.onPanResponderGrant && config.onPanResponderGrant(event, gestureState), config.onShouldBlockNativeResponder == null ? !0 : config.onShouldBlockNativeResponder(event, gestureState);
179
- },
180
- onResponderReject(event) {
181
- clearInteractionHandle(interactionState,
182
- // @ts-ignore
183
- config.onPanResponderReject, event, gestureState);
184
- },
185
- onResponderRelease(event) {
186
- clearInteractionHandle(interactionState, config.onPanResponderRelease, event, gestureState), setInteractionTimeout(interactionState), PanResponder._initializeGestureState(gestureState);
187
- },
188
- onResponderStart(event) {
189
- var touchHistory = event.touchHistory;
190
- gestureState.numberActiveTouches = touchHistory.numberActiveTouches, config.onPanResponderStart && config.onPanResponderStart(event, gestureState);
191
- },
192
- onResponderMove(event) {
193
- var touchHistory = event.touchHistory;
194
- gestureState._accountsForMovesUpTo !== touchHistory.mostRecentTimeStamp && (PanResponder._updateGestureStateOnMove(gestureState, touchHistory), config.onPanResponderMove && config.onPanResponderMove(event, gestureState));
195
- },
196
- onResponderEnd(event) {
197
- var touchHistory = event.touchHistory;
198
- gestureState.numberActiveTouches = touchHistory.numberActiveTouches, clearInteractionHandle(interactionState, config.onPanResponderEnd, event, gestureState);
199
- },
200
- onResponderTerminate(event) {
201
- clearInteractionHandle(interactionState,
202
- // @ts-ignore
203
- config.onPanResponderTerminate, event, gestureState), setInteractionTimeout(interactionState), PanResponder._initializeGestureState(gestureState);
204
- },
205
- onResponderTerminationRequest(event) {
206
- return config.onPanResponderTerminationRequest == null ? !0 : config.onPanResponderTerminationRequest(event, gestureState);
207
- },
208
- // We do not want to trigger 'click' activated gestures or native behaviors
209
- // on any pan target that is under a mouse cursor when it is released.
210
- // Browsers will natively cancel 'click' events on a target if a non-mouse
211
- // active pointer moves.
212
- onClickCapture: function (event) {
213
- interactionState.shouldCancelClick === !0 && (event.stopPropagation(), event.preventDefault());
214
- }
215
- };
216
- return {
217
- panHandlers,
218
- getInteractionHandle() {
219
- return interactionState.handle;
220
- }
221
- };
222
- }
223
- };
3
+ var currentCentroidXOfTouchesChangedAfter = TouchHistoryMath.currentCentroidXOfTouchesChangedAfter, currentCentroidYOfTouchesChangedAfter = TouchHistoryMath.currentCentroidYOfTouchesChangedAfter, previousCentroidXOfTouchesChangedAfter = TouchHistoryMath.previousCentroidXOfTouchesChangedAfter, previousCentroidYOfTouchesChangedAfter = TouchHistoryMath.previousCentroidYOfTouchesChangedAfter, currentCentroidX = TouchHistoryMath.currentCentroidX, currentCentroidY = TouchHistoryMath.currentCentroidY, PanResponder = {
4
+ /**
5
+ *
6
+ * A graphical explanation of the touch data flow:
7
+ *
8
+ * +----------------------------+ +--------------------------------+
9
+ * | ResponderTouchHistoryStore | |TouchHistoryMath |
10
+ * +----------------------------+ +----------+---------------------+
11
+ * |Global store of touchHistory| |Allocation-less math util |
12
+ * |including activeness, start | |on touch history (centroids |
13
+ * |position, prev/cur position.| |and multitouch movement etc) |
14
+ * | | | |
15
+ * +----^-----------------------+ +----^---------------------------+
16
+ * | |
17
+ * | (records relevant history |
18
+ * | of touches relevant for |
19
+ * | implementing higher level |
20
+ * | gestures) |
21
+ * | |
22
+ * +----+-----------------------+ +----|---------------------------+
23
+ * | ResponderEventPlugin | | | Your App/Component |
24
+ * +----------------------------+ +----|---------------------------+
25
+ * |Negotiates which view gets | Low level | | High level |
26
+ * |onResponderMove events. | events w/ | +-+-------+ events w/ |
27
+ * |Also records history into | touchHistory| | Pan | multitouch + |
28
+ * |ResponderTouchHistoryStore. +---------------->Responder+-----> accumulative|
29
+ * +----------------------------+ attached to | | | distance and |
30
+ * each event | +---------+ velocity. |
31
+ * | |
32
+ * | |
33
+ * +--------------------------------+
34
+ *
35
+ *
36
+ *
37
+ * Gesture that calculates cumulative movement over time in a way that just
38
+ * "does the right thing" for multiple touches. The "right thing" is very
39
+ * nuanced. When moving two touches in opposite directions, the cumulative
40
+ * distance is zero in each dimension. When two touches move in parallel five
41
+ * pixels in the same direction, the cumulative distance is five, not ten. If
42
+ * two touches start, one moves five in a direction, then stops and the other
43
+ * touch moves fives in the same direction, the cumulative distance is ten.
44
+ *
45
+ * This logic requires a kind of processing of time "clusters" of touch events
46
+ * so that two touch moves that essentially occur in parallel but move every
47
+ * other frame respectively, are considered part of the same movement.
48
+ *
49
+ * Explanation of some of the non-obvious fields:
50
+ *
51
+ * - moveX/moveY: If no move event has been observed, then `(moveX, moveY)` is
52
+ * invalid. If a move event has been observed, `(moveX, moveY)` is the
53
+ * centroid of the most recently moved "cluster" of active touches.
54
+ * (Currently all move have the same timeStamp, but later we should add some
55
+ * threshold for what is considered to be "moving"). If a palm is
56
+ * accidentally counted as a touch, but a finger is moving greatly, the palm
57
+ * will move slightly, but we only want to count the single moving touch.
58
+ * - x0/y0: Centroid location (non-cumulative) at the time of becoming
59
+ * responder.
60
+ * - dx/dy: Cumulative touch distance - not the same thing as sum of each touch
61
+ * distance. Accounts for touch moves that are clustered together in time,
62
+ * moving the same direction. Only valid when currently responder (otherwise,
63
+ * it only represents the drag distance below the threshold).
64
+ * - vx/vy: Velocity.
65
+ */
66
+ _initializeGestureState(gestureState) {
67
+ gestureState.moveX = 0, gestureState.moveY = 0, gestureState.x0 = 0, gestureState.y0 = 0, gestureState.dx = 0, gestureState.dy = 0, gestureState.vx = 0, gestureState.vy = 0, gestureState.numberActiveTouches = 0, gestureState._accountsForMovesUpTo = 0;
68
+ },
69
+ /**
70
+ * This is nuanced and is necessary. It is incorrect to continuously take all
71
+ * active *and* recently moved touches, find the centroid, and track how that
72
+ * result changes over time. Instead, we must take all recently moved
73
+ * touches, and calculate how the centroid has changed just for those
74
+ * recently moved touches, and append that change to an accumulator. This is
75
+ * to (at least) handle the case where the user is moving three fingers, and
76
+ * then one of the fingers stops but the other two continue.
77
+ *
78
+ * This is very different than taking all of the recently moved touches and
79
+ * storing their centroid as `dx/dy`. For correctness, we must *accumulate
80
+ * changes* in the centroid of recently moved touches.
81
+ *
82
+ * There is also some nuance with how we handle multiple moved touches in a
83
+ * single event. With the way `ReactNativeEventEmitter` dispatches touches as
84
+ * individual events, multiple touches generate two 'move' events, each of
85
+ * them triggering `onResponderMove`. But with the way `PanResponder` works,
86
+ * all of the gesture inference is performed on the first dispatch, since it
87
+ * looks at all of the touches (even the ones for which there hasn't been a
88
+ * native dispatch yet). Therefore, `PanResponder` does not call
89
+ * `onResponderMove` passed the first dispatch. This diverges from the
90
+ * typical responder callback pattern (without using `PanResponder`), but
91
+ * avoids more dispatches than necessary.
92
+ */
93
+ _updateGestureStateOnMove(gestureState, touchHistory) {
94
+ gestureState.numberActiveTouches = touchHistory.numberActiveTouches, gestureState.moveX = currentCentroidXOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo), gestureState.moveY = currentCentroidYOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo);
95
+ var movedAfter = gestureState._accountsForMovesUpTo, prevX = previousCentroidXOfTouchesChangedAfter(touchHistory, movedAfter), x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter), prevY = previousCentroidYOfTouchesChangedAfter(touchHistory, movedAfter), y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter), nextDX = gestureState.dx + (x - prevX), nextDY = gestureState.dy + (y - prevY), dt = touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo;
96
+ gestureState.vx = (nextDX - gestureState.dx) / dt, gestureState.vy = (nextDY - gestureState.dy) / dt, gestureState.dx = nextDX, gestureState.dy = nextDY, gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp;
97
+ },
98
+ /**
99
+ * @param {object} config Enhanced versions of all of the responder callbacks
100
+ * that provide not only the typical `ResponderSyntheticEvent`, but also the
101
+ * `PanResponder` gesture state. Simply replace the word `Responder` with
102
+ * `PanResponder` in each of the typical `onResponder*` callbacks. For
103
+ * example, the `config` object would look like:
104
+ *
105
+ * - `onMoveShouldSetPanResponder: (e, gestureState) => {...}`
106
+ * - `onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}`
107
+ * - `onStartShouldSetPanResponder: (e, gestureState) => {...}`
108
+ * - `onStartShouldSetPanResponderCapture: (e, gestureState) => {...}`
109
+ * - `onPanResponderReject: (e, gestureState) => {...}`
110
+ * - `onPanResponderGrant: (e, gestureState) => {...}`
111
+ * - `onPanResponderStart: (e, gestureState) => {...}`
112
+ * - `onPanResponderEnd: (e, gestureState) => {...}`
113
+ * - `onPanResponderRelease: (e, gestureState) => {...}`
114
+ * - `onPanResponderMove: (e, gestureState) => {...}`
115
+ * - `onPanResponderTerminate: (e, gestureState) => {...}`
116
+ * - `onPanResponderTerminationRequest: (e, gestureState) => {...}`
117
+ * - `onShouldBlockNativeResponder: (e, gestureState) => {...}`
118
+ *
119
+ * In general, for events that have capture equivalents, we update the
120
+ * gestureState once in the capture phase and can use it in the bubble phase
121
+ * as well.
122
+ *
123
+ * Be careful with onStartShould* callbacks. They only reflect updated
124
+ * `gestureState` for start/end events that bubble/capture to the Node.
125
+ * Once the node is the responder, you can rely on every start/end event
126
+ * being processed by the gesture and `gestureState` being updated
127
+ * accordingly. (numberActiveTouches) may not be totally accurate unless you
128
+ * are the responder.
129
+ */
130
+ create(config) {
131
+ var interactionState = {
132
+ handle: null,
133
+ shouldCancelClick: !1,
134
+ timeout: null
135
+ }, gestureState = {
136
+ // Useful for debugging
137
+ stateID: Math.random(),
138
+ moveX: 0,
139
+ moveY: 0,
140
+ x0: 0,
141
+ y0: 0,
142
+ dx: 0,
143
+ dy: 0,
144
+ vx: 0,
145
+ vy: 0,
146
+ numberActiveTouches: 0,
147
+ _accountsForMovesUpTo: 0
148
+ }, panHandlers = {
149
+ onStartShouldSetResponder(event) {
150
+ return config.onStartShouldSetPanResponder == null ? !1 : config.onStartShouldSetPanResponder(event, gestureState);
151
+ },
152
+ onMoveShouldSetResponder(event) {
153
+ return config.onMoveShouldSetPanResponder == null ? !1 : config.onMoveShouldSetPanResponder(event, gestureState);
154
+ },
155
+ onStartShouldSetResponderCapture(event) {
156
+ return event.nativeEvent.touches.length === 1 && PanResponder._initializeGestureState(gestureState), gestureState.numberActiveTouches = event.touchHistory.numberActiveTouches, config.onStartShouldSetPanResponderCapture != null ? config.onStartShouldSetPanResponderCapture(event, gestureState) : !1;
157
+ },
158
+ onMoveShouldSetResponderCapture(event) {
159
+ var touchHistory = event.touchHistory;
160
+ return gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp ? !1 : (PanResponder._updateGestureStateOnMove(gestureState, touchHistory), config.onMoveShouldSetPanResponderCapture ? config.onMoveShouldSetPanResponderCapture(event, gestureState) : !1);
161
+ },
162
+ onResponderGrant(event) {
163
+ return interactionState.handle || (interactionState.handle = InteractionManager.createInteractionHandle()), interactionState.timeout && clearInteractionTimeout(interactionState), interactionState.shouldCancelClick = !0, gestureState.x0 = currentCentroidX(event.touchHistory), gestureState.y0 = currentCentroidY(event.touchHistory), gestureState.dx = 0, gestureState.dy = 0, config.onPanResponderGrant && config.onPanResponderGrant(event, gestureState), config.onShouldBlockNativeResponder == null ? !0 : config.onShouldBlockNativeResponder(event, gestureState);
164
+ },
165
+ onResponderReject(event) {
166
+ clearInteractionHandle(
167
+ interactionState,
168
+ // @ts-ignore
169
+ config.onPanResponderReject,
170
+ event,
171
+ gestureState
172
+ );
173
+ },
174
+ onResponderRelease(event) {
175
+ clearInteractionHandle(interactionState, config.onPanResponderRelease, event, gestureState), setInteractionTimeout(interactionState), PanResponder._initializeGestureState(gestureState);
176
+ },
177
+ onResponderStart(event) {
178
+ var touchHistory = event.touchHistory;
179
+ gestureState.numberActiveTouches = touchHistory.numberActiveTouches, config.onPanResponderStart && config.onPanResponderStart(event, gestureState);
180
+ },
181
+ onResponderMove(event) {
182
+ var touchHistory = event.touchHistory;
183
+ gestureState._accountsForMovesUpTo !== touchHistory.mostRecentTimeStamp && (PanResponder._updateGestureStateOnMove(gestureState, touchHistory), config.onPanResponderMove && config.onPanResponderMove(event, gestureState));
184
+ },
185
+ onResponderEnd(event) {
186
+ var touchHistory = event.touchHistory;
187
+ gestureState.numberActiveTouches = touchHistory.numberActiveTouches, clearInteractionHandle(interactionState, config.onPanResponderEnd, event, gestureState);
188
+ },
189
+ onResponderTerminate(event) {
190
+ clearInteractionHandle(
191
+ interactionState,
192
+ // @ts-ignore
193
+ config.onPanResponderTerminate,
194
+ event,
195
+ gestureState
196
+ ), setInteractionTimeout(interactionState), PanResponder._initializeGestureState(gestureState);
197
+ },
198
+ onResponderTerminationRequest(event) {
199
+ return config.onPanResponderTerminationRequest == null ? !0 : config.onPanResponderTerminationRequest(event, gestureState);
200
+ },
201
+ // We do not want to trigger 'click' activated gestures or native behaviors
202
+ // on any pan target that is under a mouse cursor when it is released.
203
+ // Browsers will natively cancel 'click' events on a target if a non-mouse
204
+ // active pointer moves.
205
+ onClickCapture: function(event) {
206
+ interactionState.shouldCancelClick === !0 && (event.stopPropagation(), event.preventDefault());
207
+ }
208
+ };
209
+ return {
210
+ panHandlers,
211
+ getInteractionHandle() {
212
+ return interactionState.handle;
213
+ }
214
+ };
215
+ }
216
+ };
224
217
  function clearInteractionHandle(interactionState, callback, event, gestureState) {
225
218
  interactionState.handle && (InteractionManager.clearInteractionHandle(interactionState.handle), interactionState.handle = null), callback && callback(event, gestureState);
226
219
  }
@@ -228,10 +221,12 @@ function clearInteractionTimeout(interactionState) {
228
221
  clearTimeout(interactionState.timeout);
229
222
  }
230
223
  function setInteractionTimeout(interactionState) {
231
- interactionState.timeout = setTimeout(function () {
224
+ interactionState.timeout = setTimeout(function() {
232
225
  interactionState.shouldCancelClick = !1;
233
226
  }, 250);
234
227
  }
235
228
  var PanResponder_default = PanResponder;
236
- export { PanResponder_default as default };
237
- //# sourceMappingURL=index.native.js.map
229
+ export {
230
+ PanResponder_default as default
231
+ };
232
+ //# sourceMappingURL=index.js.map
@@ -1 +1,6 @@
1
- {"version":3,"names":["InteractionManager","TouchHistoryMath","currentCentroidXOfTouchesChangedAfter","currentCentroidYOfTouchesChangedAfter","previousCentroidXOfTouchesChangedAfter","previousCentroidYOfTouchesChangedAfter","currentCentroidX","currentCentroidY","PanResponder","_initializeGestureState","gestureState","moveX","moveY","x0","y0","dx","dy","vx","vy","numberActiveTouches","_accountsForMovesUpTo","_updateGestureStateOnMove","touchHistory","movedAfter","prevX","x","prevY","y","nextDX","nextDY","dt","mostRecentTimeStamp","create","config","interactionState","handle","shouldCancelClick","timeout","stateID","Math","random","panHandlers","onStartShouldSetResponder","event","onStartShouldSetPanResponder","onMoveShouldSetResponder","onMoveShouldSetPanResponder","onStartShouldSetResponderCapture","nativeEvent","touches","length","onStartShouldSetPanResponderCapture","onMoveShouldSetResponderCapture","onMoveShouldSetPanResponderCapture","onResponderGrant","createInteractionHandle","clearInteractionTimeout","onPanResponderGrant","onShouldBlockNativeResponder","onResponderReject","clearInteractionHandle","onPanResponderReject","onResponderRelease","onPanResponderRelease","setInteractionTimeout","onResponderStart","onPanResponderStart","onResponderMove","onPanResponderMove","onResponderEnd","onPanResponderEnd","onResponderTerminate","onPanResponderTerminate","onResponderTerminationRequest","onPanResponderTerminationRequest","onClickCapture","stopPropagation","preventDefault","getInteractionHandle","callback","clearTimeout","setTimeout","PanResponder_default","default"],"sources":["../../../../../src/vendor/react-native/PanResponder/index.tsx"],"sourcesContent":[null],"mappings":"AASA,SAASA,kBAAA,QAA0B;AAEnC,OAAOC,gBAAA,MAAsB;AAI7B,IAAAC,qCAAM,GAAAD,gBACJ,CAAAC,qCAAiB;EAAAC,qCACb,GAAAF,gBACJ,CAAAE,qCAAiB;EAAAC,sCACb,GAAAH,gBACJ,CAAAG,sCAAiB;EAAAC,sCACb,GAAAJ,gBACJ,CAAAI,sCAAiB;EAAAC,gBACb,GAAAL,gBAAmB,CAAAK,gBAAiB;EAAAC,gBACpC,GAAAN,gBAAmB,CAAAM,gBAAiB;EAAAC,YA8LpC;IAAe;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA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AAa,CAAAC,uBAKxD,CAAAC,YAAa;UAEkC;UAEjD+D,6BAEwCA,CAAA9B,KAAA;YACtC,OAAAV,MAAM,CAAAyC,gCAAqB,gBAAAzC,MAAA,CAAAyC,gCAAA,CAAA/B,KAAA,EAAAjC,YAAA;UAC3B;UAEA;UACE;UACO;UACP;UACAiE,cACF,WAAAA,CAAAhC,KAAA;YACFT,gBAAA,CAAAE,iBAAA,YAAAO,KAAA,CAAAiC,eAAA,IAAAjC,KAAA,CAAAkC,cAAA;UAAA;QAGE;MAAA;QACEpC,WAAA;QAAAqC,oBAEOA,CAAA;UAAA,OACP5C,gBAAA,CAAAC,MAAA;QAAA;MACA;IAG+C;EACnD;AAGE,SAAAyB,sBAAcA,CAAA1B,gBAAA,EAAA6C,QAAA,EAAoCpC,KAAA,EAC9CjC,YACO;EAAoDwB,gBACjE,CAAAC,MAAA,KAAAnC,kBAAA,CAAA4D,sBAAA,CAAA1B,gBAAA,CAAAC,MAAA,GAAAD,gBAAA,CAAAC,MAAA,UAAA4C,QAAA,IAAAA,QAAA,CAAApC,KAAA,EAAAjC,YAAA;AAAA;AAAA,SAAA8C,wBAAAtB,gBAAA;EAAA8C,YAAA,CAAA9C,gBAAA,CAAAG,OAAA;AAAA;AAAA,SAMA2B,qBAAiBA,CAAA9B,gBAAqB;EACpCA,gBAAI,CAAAG,OAAA,GAAiB4C,UAAA,aAAsB;IAEpB/C,gBAEzB,CAAAE,iBAAA;EAAA,MACF;AAAA;AAKI,IAAA8C,oBAAO,GAAA1E,YAAiB;AAAA,SAC1B0E,oBACF,IAAAC,OAAA","ignoreList":[]}
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/vendor/react-native/PanResponder/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/PanResponder/index.tsx"],
4
+ "mappings": "AASA,SAASA,0BAA0B;AAEnC,OAAOC,sBAAsB;AAI7B,IAAMC,wCACJD,iBAAiBC,uCACbC,wCACJF,iBAAiBE,uCACbC,yC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pC;MACAqC,uBAAAA;AACE,eAAO5C,iBAAiBC;MAC1B;IACF;EACF;AACF;AAEA,SAASyB,uBACP1B,kBACA6C,UACApC,OACAjC,cAA0B;AAE1B,EAAIwB,iBAAiBC,WACnBnC,mBAAmB4D,uBAAuB1B,iBAAiBC,MAAM,GACjED,iBAAiBC,SAAS,OAExB4C,YACFA,SAASpC,OAAOjC,YAAAA;AAEpB;AAEA,SAAS8C,wBAAwBtB,kBAAkC;AACjE8C,eAAa9C,iBAAiBG,OAAO;AACvC;AAEA,SAAS2B,sBAAsB9B,kBAAkC;AAC/DA,mBAAiBG,UAAU4C,WAAW,WAAA;AACpC/C,qBAAiBE,oBAAoB;EACvC,GAAG,GAAA;AACL;AAEA,IAAA,uBAAe5B;",
5
+ "names": ["InteractionManager", "TouchHistoryMath", "currentCentroidXOfTouchesChangedAfter", "currentCentroidYOfTouchesChangedAfter", "previousCentroidXOfTouchesChangedAfter", "previousCentroidYOfTouchesChangedAfter", "currentCentroidX", "currentCentroidY", "PanResponder", "_initializeGestureState", "gestureState", "moveX", "moveY", "x0", "y0", "dx", "dy", "vx", "vy", "numberActiveTouches", "_accountsForMovesUpTo", "_updateGestureStateOnMove", "touchHistory", "movedAfter", "prevX", "x", "prevY", "y", "nextDX", "nextDY", "dt", "mostRecentTimeStamp", "create", "config", "interactionState", "handle", "shouldCancelClick", "timeout", "stateID", "Math", "random", "panHandlers", "onStartShouldSetResponder", "event", "onStartShouldSetPanResponder", "onMoveShouldSetResponder", "onMoveShouldSetPanResponder", "onStartShouldSetResponderCapture", "nativeEvent", "touches", "length", "onStartShouldSetPanResponderCapture", "onMoveShouldSetResponderCapture", "onMoveShouldSetPanResponderCapture", "onResponderGrant", "createInteractionHandle", "clearInteractionTimeout", "onPanResponderGrant", "onShouldBlockNativeResponder", "onResponderReject", "clearInteractionHandle", "onPanResponderReject", "onResponderRelease", "onPanResponderRelease", "setInteractionTimeout", "onResponderStart", "onPanResponderStart", "onResponderMove", "onPanResponderMove", "onResponderEnd", "onPanResponderEnd", "onResponderTerminate", "onPanResponderTerminate", "onResponderTerminationRequest", "onPanResponderTerminationRequest", "onClickCapture", "stopPropagation", "preventDefault", "getInteractionHandle", "callback", "clearTimeout", "setTimeout"]
6
+ }