@tamagui/react-native-web-lite 1.129.13 → 1.129.14

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 (984) hide show
  1. package/dist/cjs/InteractionManager/index.cjs +3 -2
  2. package/dist/cjs/InteractionManager/index.js +2 -2
  3. package/dist/cjs/InteractionManager/index.js.map +2 -2
  4. package/dist/cjs/InteractionManager/index.native.js +2 -2
  5. package/dist/cjs/InteractionManager/index.native.js.map +1 -1
  6. package/dist/cjs/ScrollView/index.cjs +172 -4
  7. package/dist/cjs/ScrollView/index.js +153 -5
  8. package/dist/cjs/ScrollView/index.js.map +2 -2
  9. package/dist/cjs/ScrollView/index.native.js +155 -7
  10. package/dist/cjs/ScrollView/index.native.js.map +2 -2
  11. package/dist/cjs/SectionList.cjs +38 -0
  12. package/dist/cjs/SectionList.js +29 -0
  13. package/dist/cjs/SectionList.js.map +6 -0
  14. package/dist/cjs/SectionList.native.js +30 -0
  15. package/dist/cjs/SectionList.native.js.map +6 -0
  16. package/dist/cjs/TextInput/index.cjs +18 -2
  17. package/dist/cjs/TextInput/index.js +20 -3
  18. package/dist/cjs/TextInput/index.js.map +1 -1
  19. package/dist/cjs/TextInput/index.native.js +19 -4
  20. package/dist/cjs/TextInput/index.native.js.map +2 -2
  21. package/dist/cjs/TouchableNativeFeedback.cjs +38 -0
  22. package/dist/cjs/TouchableNativeFeedback.js +29 -0
  23. package/dist/cjs/TouchableNativeFeedback.js.map +6 -0
  24. package/dist/cjs/TouchableNativeFeedback.native.js +30 -0
  25. package/dist/cjs/TouchableNativeFeedback.native.js.map +6 -0
  26. package/dist/cjs/VirtualizedList.cjs +38 -0
  27. package/dist/cjs/VirtualizedList.js +29 -0
  28. package/dist/cjs/VirtualizedList.js.map +6 -0
  29. package/dist/cjs/VirtualizedList.native.js +30 -0
  30. package/dist/cjs/VirtualizedList.native.js.map +6 -0
  31. package/dist/cjs/createElement/index.cjs +3 -3
  32. package/dist/cjs/createElement/index.js +3 -3
  33. package/dist/cjs/createElement/index.js.map +1 -1
  34. package/dist/cjs/createElement/index.native.js +3 -3
  35. package/dist/cjs/createElement/index.native.js.map +1 -1
  36. package/dist/cjs/index.cjs +6 -4
  37. package/dist/cjs/index.js +3 -3
  38. package/dist/cjs/index.js.map +1 -1
  39. package/dist/cjs/index.native.js +3 -3
  40. package/dist/cjs/index.native.js.map +1 -1
  41. package/dist/cjs/modules/requestIdleCallback.cjs +44 -0
  42. package/dist/cjs/modules/requestIdleCallback.js +35 -0
  43. package/dist/cjs/modules/requestIdleCallback.js.map +6 -0
  44. package/dist/cjs/modules/requestIdleCallback.native.js +39 -0
  45. package/dist/cjs/modules/requestIdleCallback.native.js.map +6 -0
  46. package/dist/cjs/vendor/react-native/Animated/Animated.cjs +15 -12
  47. package/dist/cjs/vendor/react-native/Animated/Animated.js +6 -2
  48. package/dist/cjs/vendor/react-native/Animated/Animated.js.map +2 -2
  49. package/dist/cjs/vendor/react-native/Animated/Animated.native.js +4 -2
  50. package/dist/cjs/vendor/react-native/Animated/Animated.native.js.map +2 -2
  51. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +26 -27
  52. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +24 -28
  53. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js.map +2 -2
  54. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js +23 -20
  55. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.native.js.map +2 -2
  56. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +236 -234
  57. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +59 -79
  58. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js.map +2 -2
  59. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.native.js +34 -29
  60. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.native.js.map +2 -2
  61. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +39 -40
  62. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +13 -18
  63. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js.map +1 -1
  64. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.native.js +6 -4
  65. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.native.js.map +2 -2
  66. package/dist/cjs/vendor/react-native/Animated/Easing.cjs +11 -12
  67. package/dist/cjs/vendor/react-native/Animated/Easing.js +11 -11
  68. package/dist/cjs/vendor/react-native/Animated/Easing.js.map +2 -2
  69. package/dist/cjs/vendor/react-native/Animated/Easing.native.js +11 -11
  70. package/dist/cjs/vendor/react-native/Animated/Easing.native.js.map +2 -2
  71. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +28 -36
  72. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +26 -33
  73. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js.map +2 -2
  74. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.native.js +48 -48
  75. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +2 -2
  76. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +40 -2
  77. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +61 -1
  78. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js.map +1 -1
  79. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.native.js +67 -1
  80. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +2 -2
  81. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +37 -2
  82. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +56 -1
  83. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +1 -1
  84. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +62 -1
  85. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +2 -2
  86. package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +5 -7
  87. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +5 -6
  88. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js.map +1 -1
  89. package/dist/cjs/vendor/react-native/Animated/SpringConfig.native.js.map +2 -2
  90. package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +10 -5
  91. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +16 -6
  92. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js.map +1 -1
  93. package/dist/cjs/vendor/react-native/Animated/animations/Animation.native.js +10 -2
  94. package/dist/cjs/vendor/react-native/Animated/animations/Animation.native.js.map +2 -2
  95. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +12 -5
  96. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +13 -10
  97. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js.map +1 -1
  98. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.native.js +17 -3
  99. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +2 -2
  100. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +53 -42
  101. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +55 -39
  102. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js.map +1 -1
  103. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.native.js +41 -13
  104. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +2 -2
  105. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +20 -9
  106. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +21 -16
  107. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js.map +1 -1
  108. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.native.js +22 -3
  109. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +2 -2
  110. package/dist/cjs/vendor/react-native/Animated/bezier.cjs +16 -18
  111. package/dist/cjs/vendor/react-native/Animated/bezier.js +22 -13
  112. package/dist/cjs/vendor/react-native/Animated/bezier.js.map +1 -1
  113. package/dist/cjs/vendor/react-native/Animated/bezier.native.js.map +1 -1
  114. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +46 -0
  115. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js +31 -0
  116. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js.map +6 -0
  117. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.native.js +36 -0
  118. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.native.js.map +6 -0
  119. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +1 -1
  120. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js.map +1 -1
  121. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.native.js +1 -1
  122. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.native.js.map +1 -1
  123. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +7 -6
  124. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +3 -10
  125. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js.map +2 -2
  126. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.native.js +2 -2
  127. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +3 -3
  128. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +46 -0
  129. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js +31 -0
  130. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js.map +6 -0
  131. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.native.js +36 -0
  132. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.native.js.map +6 -0
  133. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +1 -2
  134. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +1 -1
  135. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js.map +1 -1
  136. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.native.js +1 -1
  137. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.native.js.map +1 -1
  138. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +1 -2
  139. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +1 -1
  140. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js.map +1 -1
  141. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.native.js +1 -1
  142. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.native.js.map +1 -1
  143. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +17 -18
  144. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +14 -11
  145. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js.map +3 -3
  146. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.native.js +3 -3
  147. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.native.js.map +3 -3
  148. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +2 -0
  149. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +2 -0
  150. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +1 -1
  151. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +9 -1
  152. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +2 -2
  153. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +35 -49
  154. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +32 -51
  155. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js.map +2 -2
  156. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.native.js +23 -32
  157. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +2 -2
  158. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +6 -3
  159. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +6 -2
  160. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +1 -1
  161. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +10 -1
  162. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +1 -1
  163. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +5 -2
  164. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +5 -2
  165. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +1 -1
  166. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +9 -1
  167. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +2 -2
  168. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +26 -31
  169. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +24 -25
  170. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +3 -3
  171. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +13 -13
  172. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +2 -2
  173. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +2 -2
  174. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +2 -1
  175. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +1 -1
  176. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +10 -1
  177. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +1 -1
  178. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +2 -0
  179. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +2 -0
  180. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +1 -1
  181. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +9 -1
  182. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +2 -2
  183. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +14 -9
  184. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +14 -9
  185. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js.map +1 -1
  186. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.native.js +13 -6
  187. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +2 -2
  188. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +21 -23
  189. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +22 -20
  190. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js.map +1 -1
  191. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.native.js +2 -1
  192. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +1 -1
  193. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +25 -25
  194. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +23 -21
  195. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +1 -1
  196. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +12 -3
  197. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +2 -2
  198. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +2 -0
  199. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +2 -0
  200. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +1 -1
  201. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +9 -1
  202. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +2 -2
  203. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +14 -9
  204. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +12 -12
  205. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +1 -1
  206. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +14 -4
  207. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +2 -2
  208. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +20 -19
  209. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +18 -17
  210. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +1 -1
  211. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +10 -2
  212. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +1 -1
  213. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +12 -7
  214. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +10 -4
  215. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js.map +1 -1
  216. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.native.js +10 -2
  217. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +2 -2
  218. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +8 -76
  219. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +5 -83
  220. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +1 -1
  221. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +4 -70
  222. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +2 -2
  223. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +5 -11
  224. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +17 -11
  225. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +2 -2
  226. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +42 -9
  227. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +2 -2
  228. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +16 -25
  229. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +14 -22
  230. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js.map +2 -2
  231. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.native.js +24 -16
  232. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.native.js.map +2 -2
  233. package/dist/cjs/{Batchinator → vendor/react-native/Batchinator}/index.cjs +9 -18
  234. package/dist/cjs/{Batchinator → vendor/react-native/Batchinator}/index.js +6 -13
  235. package/dist/cjs/vendor/react-native/Batchinator/index.js.map +6 -0
  236. package/dist/cjs/{Batchinator → vendor/react-native/Batchinator}/index.native.js +5 -14
  237. package/dist/cjs/vendor/react-native/Batchinator/index.native.js.map +6 -0
  238. package/dist/cjs/vendor/react-native/{NativeEventEmitter/index.cjs → EventEmitter/NativeEventEmitter.cjs} +8 -15
  239. package/dist/cjs/vendor/react-native/{NativeEventEmitter/index.js → EventEmitter/NativeEventEmitter.js} +10 -17
  240. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +6 -0
  241. package/dist/cjs/vendor/react-native/{NativeEventEmitter/index.native.js → EventEmitter/NativeEventEmitter.native.js} +19 -11
  242. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.native.js.map +6 -0
  243. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +6 -0
  244. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js.map +6 -0
  245. package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +3 -3
  246. package/dist/cjs/vendor/react-native/FillRateHelper/index.js +3 -3
  247. package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +2 -2
  248. package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js +5 -4
  249. package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js.map +3 -3
  250. package/dist/cjs/vendor/react-native/FlatList/index.cjs +262 -0
  251. package/dist/cjs/vendor/react-native/FlatList/index.js +270 -0
  252. package/dist/cjs/vendor/react-native/FlatList/index.js.map +6 -0
  253. package/dist/cjs/vendor/react-native/FlatList/index.native.js +352 -0
  254. package/dist/cjs/vendor/react-native/FlatList/index.native.js.map +6 -0
  255. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +88 -0
  256. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js +64 -0
  257. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js.map +6 -0
  258. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.native.js +69 -0
  259. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.native.js.map +6 -0
  260. package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +121 -0
  261. package/dist/cjs/vendor/react-native/LayoutAnimation/index.js +108 -0
  262. package/dist/cjs/vendor/react-native/LayoutAnimation/index.js.map +6 -0
  263. package/dist/cjs/vendor/react-native/LayoutAnimation/index.native.js +112 -0
  264. package/dist/cjs/vendor/react-native/LayoutAnimation/index.native.js.map +6 -0
  265. package/dist/cjs/vendor/react-native/PanResponder/index.cjs +22 -209
  266. package/dist/cjs/vendor/react-native/PanResponder/index.js +16 -212
  267. package/dist/cjs/vendor/react-native/PanResponder/index.js.map +3 -3
  268. package/dist/cjs/vendor/react-native/PanResponder/index.native.js +29 -200
  269. package/dist/cjs/vendor/react-native/PanResponder/index.native.js.map +3 -3
  270. package/dist/cjs/vendor/react-native/PooledClass/index.cjs +47 -0
  271. package/dist/cjs/vendor/react-native/PooledClass/index.js +37 -0
  272. package/dist/cjs/vendor/react-native/PooledClass/index.js.map +6 -0
  273. package/dist/cjs/vendor/react-native/PooledClass/index.native.js +38 -0
  274. package/dist/cjs/vendor/react-native/PooledClass/index.native.js.map +6 -0
  275. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +33 -0
  276. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +28 -0
  277. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +6 -0
  278. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js +38 -0
  279. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js.map +6 -0
  280. package/dist/cjs/vendor/react-native/SectionList/index.cjs +102 -0
  281. package/dist/cjs/vendor/react-native/SectionList/index.js +85 -0
  282. package/dist/cjs/vendor/react-native/SectionList/index.js.map +6 -0
  283. package/dist/cjs/vendor/react-native/SectionList/index.native.js +190 -0
  284. package/dist/cjs/vendor/react-native/SectionList/index.native.js.map +6 -0
  285. package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +49 -0
  286. package/dist/cjs/vendor/react-native/StaticContainer/index.js +40 -0
  287. package/dist/cjs/vendor/react-native/StaticContainer/index.js.map +6 -0
  288. package/dist/cjs/vendor/react-native/StaticContainer/index.native.js +110 -0
  289. package/dist/cjs/vendor/react-native/StaticContainer/index.native.js.map +6 -0
  290. package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +48 -0
  291. package/dist/cjs/vendor/react-native/StaticRenderer/index.js +39 -0
  292. package/dist/cjs/vendor/react-native/StaticRenderer/index.js.map +6 -0
  293. package/dist/cjs/vendor/react-native/StaticRenderer/index.native.js +109 -0
  294. package/dist/cjs/vendor/react-native/StaticRenderer/index.native.js.map +6 -0
  295. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js.map +2 -2
  296. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.native.js.map +2 -2
  297. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +34 -1
  298. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +25 -0
  299. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js.map +2 -2
  300. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.native.js +32 -0
  301. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.native.js.map +3 -3
  302. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +3 -1
  303. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +6 -1
  304. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +2 -2
  305. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +3 -1
  306. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +2 -2
  307. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +158 -8
  308. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +123 -1
  309. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js.map +2 -2
  310. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.native.js +159 -1
  311. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.native.js.map +3 -3
  312. package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +27 -0
  313. package/dist/cjs/vendor/react-native/Utilities/Platform.js +21 -0
  314. package/dist/cjs/vendor/react-native/Utilities/Platform.js.map +6 -0
  315. package/dist/cjs/vendor/react-native/Utilities/Platform.native.js +22 -0
  316. package/dist/cjs/vendor/react-native/Utilities/Platform.native.js.map +6 -0
  317. package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +2 -0
  318. package/dist/cjs/vendor/react-native/Utilities/clamp.js +1 -0
  319. package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +2 -2
  320. package/dist/cjs/vendor/react-native/Utilities/clamp.native.js.map +2 -2
  321. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +5 -4
  322. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +5 -3
  323. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js.map +1 -1
  324. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.native.js +2 -2
  325. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.native.js.map +2 -2
  326. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +33 -0
  327. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js +31 -0
  328. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js.map +6 -0
  329. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.native.js +46 -0
  330. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.native.js.map +6 -0
  331. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +32 -0
  332. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js +30 -0
  333. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js.map +6 -0
  334. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.native.js +30 -0
  335. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.native.js.map +6 -0
  336. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +142 -0
  337. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js +152 -0
  338. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js.map +6 -0
  339. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.native.js +205 -0
  340. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.native.js.map +6 -0
  341. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +2 -2
  342. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.native.js.map +2 -2
  343. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +1 -3
  344. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +2 -8
  345. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +2 -2
  346. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js +1 -9
  347. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +3 -3
  348. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +2 -2
  349. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +2 -2
  350. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +3 -3
  351. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +3 -3
  352. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +3 -3
  353. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +3 -3
  354. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +2 -2
  355. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +16 -9
  356. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +16 -7
  357. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +3 -3
  358. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +19 -11
  359. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +2 -2
  360. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +4 -3
  361. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +6 -13
  362. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +2 -2
  363. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +2 -1
  364. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +3 -3
  365. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +56 -8
  366. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +46 -1
  367. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +2 -2
  368. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +49 -1
  369. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +3 -3
  370. package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +136 -865
  371. package/dist/cjs/vendor/react-native/VirtualizedList/index.js +126 -894
  372. package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +3 -3
  373. package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js +92 -853
  374. package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js.map +3 -3
  375. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +129 -0
  376. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js +118 -0
  377. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js.map +6 -0
  378. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.native.js +219 -0
  379. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.native.js.map +6 -0
  380. package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +5 -3
  381. package/dist/cjs/vendor/react-native/deepDiffer/index.js +4 -3
  382. package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +3 -3
  383. package/dist/cjs/vendor/react-native/deepDiffer/index.native.js +3 -3
  384. package/dist/cjs/vendor/react-native/deepDiffer/index.native.js.map +2 -2
  385. package/dist/cjs/vendor/react-native/infoLog/index.js.map +2 -2
  386. package/dist/cjs/vendor/react-native/infoLog/index.native.js.map +2 -2
  387. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +86 -0
  388. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js +85 -0
  389. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js.map +6 -0
  390. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.native.js +163 -0
  391. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.native.js.map +6 -0
  392. package/dist/cjs/without-animated.cjs +1 -1
  393. package/dist/cjs/without-animated.js +1 -1
  394. package/dist/cjs/without-animated.js.map +1 -1
  395. package/dist/cjs/without-animated.native.js +1 -1
  396. package/dist/cjs/without-animated.native.js.map +1 -1
  397. package/dist/esm/InteractionManager/index.js +1 -0
  398. package/dist/esm/InteractionManager/index.js.map +1 -1
  399. package/dist/esm/InteractionManager/index.mjs +1 -0
  400. package/dist/esm/InteractionManager/index.mjs.map +1 -1
  401. package/dist/esm/InteractionManager/index.native.js +1 -0
  402. package/dist/esm/InteractionManager/index.native.js.map +1 -1
  403. package/dist/esm/ScrollView/index.js +155 -4
  404. package/dist/esm/ScrollView/index.js.map +1 -1
  405. package/dist/esm/ScrollView/index.mjs +173 -5
  406. package/dist/esm/ScrollView/index.mjs.map +1 -1
  407. package/dist/esm/ScrollView/index.native.js +176 -7
  408. package/dist/esm/ScrollView/index.native.js.map +1 -1
  409. package/dist/esm/SectionList.js +6 -0
  410. package/dist/esm/SectionList.js.map +6 -0
  411. package/dist/esm/SectionList.mjs +4 -0
  412. package/dist/esm/SectionList.mjs.map +1 -0
  413. package/dist/esm/SectionList.native.js +4 -0
  414. package/dist/esm/SectionList.native.js.map +1 -0
  415. package/dist/esm/TextInput/index.js +20 -3
  416. package/dist/esm/TextInput/index.js.map +1 -1
  417. package/dist/esm/TextInput/index.mjs +18 -2
  418. package/dist/esm/TextInput/index.mjs.map +1 -1
  419. package/dist/esm/TextInput/index.native.js +18 -2
  420. package/dist/esm/TextInput/index.native.js.map +1 -1
  421. package/dist/esm/TouchableNativeFeedback.js +6 -0
  422. package/dist/esm/TouchableNativeFeedback.js.map +6 -0
  423. package/dist/esm/TouchableNativeFeedback.mjs +4 -0
  424. package/dist/esm/TouchableNativeFeedback.mjs.map +1 -0
  425. package/dist/esm/TouchableNativeFeedback.native.js +4 -0
  426. package/dist/esm/TouchableNativeFeedback.native.js.map +1 -0
  427. package/dist/esm/VirtualizedList.js +6 -0
  428. package/dist/esm/VirtualizedList.js.map +6 -0
  429. package/dist/esm/VirtualizedList.mjs +4 -0
  430. package/dist/esm/VirtualizedList.mjs.map +1 -0
  431. package/dist/esm/VirtualizedList.native.js +4 -0
  432. package/dist/esm/VirtualizedList.native.js.map +1 -0
  433. package/dist/esm/createElement/index.js +3 -3
  434. package/dist/esm/createElement/index.js.map +1 -1
  435. package/dist/esm/createElement/index.mjs +3 -3
  436. package/dist/esm/createElement/index.mjs.map +1 -1
  437. package/dist/esm/createElement/index.native.js +3 -3
  438. package/dist/esm/createElement/index.native.js.map +1 -1
  439. package/dist/esm/index.js +12 -12
  440. package/dist/esm/index.js.map +1 -1
  441. package/dist/esm/index.mjs +6 -4
  442. package/dist/esm/index.mjs.map +1 -1
  443. package/dist/esm/index.native.js +6 -4
  444. package/dist/esm/index.native.js.map +1 -1
  445. package/dist/esm/modules/requestIdleCallback.js +19 -0
  446. package/dist/esm/modules/requestIdleCallback.js.map +6 -0
  447. package/dist/esm/modules/requestIdleCallback.mjs +20 -0
  448. package/dist/esm/modules/requestIdleCallback.mjs.map +1 -0
  449. package/dist/esm/modules/requestIdleCallback.native.js +20 -0
  450. package/dist/esm/modules/requestIdleCallback.native.js.map +1 -0
  451. package/dist/esm/vendor/react-native/Animated/Animated.js +9 -5
  452. package/dist/esm/vendor/react-native/Animated/Animated.js.map +1 -1
  453. package/dist/esm/vendor/react-native/Animated/Animated.mjs +14 -11
  454. package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -1
  455. package/dist/esm/vendor/react-native/Animated/Animated.native.js +7 -4
  456. package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +1 -1
  457. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js +25 -30
  458. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js.map +2 -2
  459. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +25 -26
  460. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -1
  461. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +21 -14
  462. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +1 -1
  463. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js +65 -84
  464. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js.map +2 -2
  465. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +236 -234
  466. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -1
  467. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +49 -43
  468. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +1 -1
  469. package/dist/esm/vendor/react-native/Animated/AnimatedMock.js +14 -20
  470. package/dist/esm/vendor/react-native/Animated/AnimatedMock.js.map +1 -1
  471. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +38 -39
  472. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -1
  473. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +8 -7
  474. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +1 -1
  475. package/dist/esm/vendor/react-native/Animated/Easing.js +10 -11
  476. package/dist/esm/vendor/react-native/Animated/Easing.js.map +2 -2
  477. package/dist/esm/vendor/react-native/Animated/Easing.mjs +10 -11
  478. package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -1
  479. package/dist/esm/vendor/react-native/Animated/Easing.native.js +12 -11
  480. package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +1 -1
  481. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js +27 -34
  482. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js.map +1 -1
  483. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +24 -32
  484. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -1
  485. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +45 -44
  486. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +1 -1
  487. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js +60 -1
  488. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js.map +1 -1
  489. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +35 -2
  490. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -1
  491. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +35 -2
  492. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +1 -1
  493. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js +55 -1
  494. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +1 -1
  495. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +32 -2
  496. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -1
  497. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +32 -2
  498. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +1 -1
  499. package/dist/esm/vendor/react-native/Animated/SpringConfig.js +5 -5
  500. package/dist/esm/vendor/react-native/Animated/SpringConfig.js.map +1 -1
  501. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +5 -5
  502. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -1
  503. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +1 -1
  504. package/dist/esm/vendor/react-native/Animated/animations/Animation.js +15 -6
  505. package/dist/esm/vendor/react-native/Animated/animations/Animation.js.map +1 -1
  506. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +9 -4
  507. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -1
  508. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +10 -2
  509. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +1 -1
  510. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js +13 -10
  511. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js.map +1 -1
  512. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +11 -4
  513. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -1
  514. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +17 -3
  515. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +1 -1
  516. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js +56 -40
  517. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js.map +1 -1
  518. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +52 -41
  519. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -1
  520. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +46 -16
  521. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +1 -1
  522. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js +21 -16
  523. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js.map +1 -1
  524. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +20 -7
  525. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -1
  526. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +23 -3
  527. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +1 -1
  528. package/dist/esm/vendor/react-native/Animated/bezier.js +22 -13
  529. package/dist/esm/vendor/react-native/Animated/bezier.js.map +1 -1
  530. package/dist/esm/vendor/react-native/Animated/bezier.mjs +16 -18
  531. package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -1
  532. package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +1 -1
  533. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js +10 -0
  534. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js.map +6 -0
  535. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +12 -0
  536. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -0
  537. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.native.js +14 -0
  538. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.native.js.map +1 -0
  539. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js +1 -1
  540. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +1 -1
  541. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +1 -1
  542. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js +4 -11
  543. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js.map +2 -2
  544. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +8 -7
  545. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -1
  546. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +3 -2
  547. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +1 -1
  548. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js +10 -0
  549. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js.map +6 -0
  550. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +12 -0
  551. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +1 -0
  552. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.native.js +14 -0
  553. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.native.js.map +1 -0
  554. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js +1 -2
  555. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js.map +1 -1
  556. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs +1 -2
  557. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.mjs.map +1 -1
  558. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +1 -2
  559. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +1 -1
  560. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js +1 -2
  561. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js.map +1 -1
  562. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs +1 -2
  563. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.mjs.map +1 -1
  564. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +1 -2
  565. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +1 -1
  566. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js +16 -12
  567. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js.map +2 -2
  568. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +15 -16
  569. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -1
  570. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +11 -11
  571. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +1 -1
  572. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js +2 -0
  573. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +1 -1
  574. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +2 -0
  575. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -1
  576. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +9 -1
  577. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +1 -1
  578. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js +33 -52
  579. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js.map +1 -1
  580. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +34 -46
  581. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -1
  582. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +27 -32
  583. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +1 -1
  584. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +6 -1
  585. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +1 -1
  586. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +6 -1
  587. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -1
  588. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +11 -1
  589. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +1 -1
  590. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js +5 -2
  591. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +1 -1
  592. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +5 -2
  593. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -1
  594. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +9 -1
  595. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +1 -1
  596. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +25 -28
  597. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +2 -2
  598. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +26 -31
  599. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -1
  600. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +13 -12
  601. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +1 -1
  602. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js +2 -0
  603. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +1 -1
  604. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +2 -0
  605. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -1
  606. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +11 -1
  607. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +1 -1
  608. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +2 -0
  609. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +1 -1
  610. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +2 -0
  611. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -1
  612. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +9 -1
  613. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +1 -1
  614. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js +14 -10
  615. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js.map +1 -1
  616. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +13 -8
  617. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -1
  618. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +13 -5
  619. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +1 -1
  620. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js +23 -20
  621. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js.map +1 -1
  622. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +19 -19
  623. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -1
  624. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +4 -2
  625. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +1 -1
  626. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js +24 -22
  627. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +1 -1
  628. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +24 -22
  629. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -1
  630. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +14 -4
  631. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +1 -1
  632. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +2 -0
  633. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +1 -1
  634. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +2 -0
  635. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -1
  636. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +9 -1
  637. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +1 -1
  638. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js +13 -11
  639. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +1 -1
  640. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +13 -6
  641. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -1
  642. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +16 -4
  643. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +1 -1
  644. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js +18 -17
  645. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +1 -1
  646. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +18 -17
  647. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -1
  648. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +10 -2
  649. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +1 -1
  650. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js +11 -6
  651. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js.map +1 -1
  652. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +11 -6
  653. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -1
  654. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +11 -3
  655. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +1 -1
  656. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js +5 -83
  657. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +1 -1
  658. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +7 -73
  659. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -1
  660. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +7 -70
  661. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +1 -1
  662. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +16 -11
  663. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +1 -1
  664. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +4 -10
  665. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -1
  666. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +43 -8
  667. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +1 -1
  668. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js +15 -31
  669. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js.map +1 -1
  670. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +14 -23
  671. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -1
  672. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +25 -19
  673. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +1 -1
  674. package/dist/esm/{Batchinator → vendor/react-native/Batchinator}/index.js +2 -2
  675. package/dist/esm/vendor/react-native/Batchinator/index.js.map +6 -0
  676. package/dist/esm/{Batchinator → vendor/react-native/Batchinator}/index.mjs +2 -2
  677. package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -0
  678. package/dist/esm/{Batchinator → vendor/react-native/Batchinator}/index.native.js +2 -4
  679. package/dist/esm/vendor/react-native/Batchinator/index.native.js.map +1 -0
  680. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js +42 -0
  681. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +6 -0
  682. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +34 -0
  683. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -0
  684. package/dist/esm/vendor/react-native/{NativeEventEmitter/index.native.js → EventEmitter/NativeEventEmitter.native.js} +19 -12
  685. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.native.js.map +1 -0
  686. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +6 -0
  687. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.mjs.map +1 -0
  688. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.native.js.map +1 -0
  689. package/dist/esm/vendor/react-native/FillRateHelper/index.js +3 -3
  690. package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +2 -2
  691. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +3 -3
  692. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -1
  693. package/dist/esm/vendor/react-native/FillRateHelper/index.native.js +7 -7
  694. package/dist/esm/vendor/react-native/FillRateHelper/index.native.js.map +1 -1
  695. package/dist/esm/vendor/react-native/FlatList/index.js +254 -0
  696. package/dist/esm/vendor/react-native/FlatList/index.js.map +6 -0
  697. package/dist/esm/vendor/react-native/FlatList/index.mjs +228 -0
  698. package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -0
  699. package/dist/esm/vendor/react-native/FlatList/index.native.js +330 -0
  700. package/dist/esm/vendor/react-native/FlatList/index.native.js.map +1 -0
  701. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js +39 -0
  702. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js.map +6 -0
  703. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +52 -0
  704. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -0
  705. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.native.js +53 -0
  706. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.native.js.map +1 -0
  707. package/dist/esm/vendor/react-native/LayoutAnimation/index.js +84 -0
  708. package/dist/esm/vendor/react-native/LayoutAnimation/index.js.map +6 -0
  709. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +85 -0
  710. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -0
  711. package/dist/esm/vendor/react-native/LayoutAnimation/index.native.js +86 -0
  712. package/dist/esm/vendor/react-native/LayoutAnimation/index.native.js.map +1 -0
  713. package/dist/esm/vendor/react-native/PanResponder/index.js +14 -202
  714. package/dist/esm/vendor/react-native/PanResponder/index.js.map +2 -2
  715. package/dist/esm/vendor/react-native/PanResponder/index.mjs +18 -192
  716. package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -1
  717. package/dist/esm/vendor/react-native/PanResponder/index.native.js +33 -192
  718. package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +1 -1
  719. package/dist/esm/vendor/react-native/PooledClass/index.js +21 -0
  720. package/dist/esm/vendor/react-native/PooledClass/index.js.map +6 -0
  721. package/dist/esm/vendor/react-native/PooledClass/index.mjs +24 -0
  722. package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -0
  723. package/dist/esm/vendor/react-native/PooledClass/index.native.js +24 -0
  724. package/dist/esm/vendor/react-native/PooledClass/index.native.js.map +1 -0
  725. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +12 -0
  726. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +6 -0
  727. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +10 -0
  728. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs.map +1 -0
  729. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js +20 -0
  730. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.native.js.map +1 -0
  731. package/dist/esm/vendor/react-native/SectionList/index.js +63 -0
  732. package/dist/esm/vendor/react-native/SectionList/index.js.map +6 -0
  733. package/dist/esm/vendor/react-native/SectionList/index.mjs +68 -0
  734. package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -0
  735. package/dist/esm/vendor/react-native/SectionList/index.native.js +161 -0
  736. package/dist/esm/vendor/react-native/SectionList/index.native.js.map +1 -0
  737. package/dist/esm/vendor/react-native/StaticContainer/index.js +15 -0
  738. package/dist/esm/vendor/react-native/StaticContainer/index.js.map +6 -0
  739. package/dist/esm/vendor/react-native/StaticContainer/index.mjs +13 -0
  740. package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +1 -0
  741. package/dist/esm/vendor/react-native/StaticContainer/index.native.js +77 -0
  742. package/dist/esm/vendor/react-native/StaticContainer/index.native.js.map +1 -0
  743. package/dist/esm/vendor/react-native/StaticRenderer/index.js +14 -0
  744. package/dist/esm/vendor/react-native/StaticRenderer/index.js.map +6 -0
  745. package/dist/esm/vendor/react-native/StaticRenderer/index.mjs +12 -0
  746. package/dist/esm/vendor/react-native/StaticRenderer/index.mjs.map +1 -0
  747. package/dist/esm/vendor/react-native/StaticRenderer/index.native.js +76 -0
  748. package/dist/esm/vendor/react-native/StaticRenderer/index.native.js.map +1 -0
  749. package/dist/esm/vendor/react-native/TouchHistoryMath/index.js.map +2 -2
  750. package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -1
  751. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +1 -1
  752. package/dist/esm/vendor/react-native/TurboModule/RCTExport.js +9 -0
  753. package/dist/esm/vendor/react-native/TurboModule/RCTExport.js.map +2 -2
  754. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +7 -1
  755. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -1
  756. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +9 -1
  757. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +1 -1
  758. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js +6 -1
  759. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +1 -1
  760. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +3 -1
  761. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -1
  762. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +3 -1
  763. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +1 -1
  764. package/dist/esm/vendor/react-native/Types/CoreEventTypes.js +119 -0
  765. package/dist/esm/vendor/react-native/Types/CoreEventTypes.js.map +2 -2
  766. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +131 -1
  767. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -1
  768. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +135 -1
  769. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +1 -1
  770. package/dist/esm/vendor/react-native/Utilities/Platform.js +6 -0
  771. package/dist/esm/vendor/react-native/Utilities/Platform.js.map +6 -0
  772. package/dist/esm/vendor/react-native/Utilities/Platform.mjs +4 -0
  773. package/dist/esm/vendor/react-native/Utilities/Platform.mjs.map +1 -0
  774. package/dist/esm/vendor/react-native/Utilities/Platform.native.js +4 -0
  775. package/dist/esm/vendor/react-native/Utilities/Platform.native.js.map +1 -0
  776. package/dist/esm/vendor/react-native/Utilities/clamp.js.map +2 -2
  777. package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -1
  778. package/dist/esm/vendor/react-native/Utilities/clamp.native.js.map +1 -1
  779. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js +5 -3
  780. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js.map +1 -1
  781. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +5 -4
  782. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -1
  783. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +5 -3
  784. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +1 -1
  785. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js +15 -0
  786. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js.map +6 -0
  787. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +10 -0
  788. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -0
  789. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.native.js +25 -0
  790. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.native.js.map +1 -0
  791. package/dist/esm/vendor/react-native/Utilities/useRefEffect.js +14 -0
  792. package/dist/esm/vendor/react-native/Utilities/useRefEffect.js.map +6 -0
  793. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +9 -0
  794. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -0
  795. package/dist/esm/vendor/react-native/Utilities/useRefEffect.native.js +9 -0
  796. package/dist/esm/vendor/react-native/Utilities/useRefEffect.native.js.map +1 -0
  797. package/dist/esm/vendor/react-native/ViewabilityHelper/index.js +135 -0
  798. package/dist/esm/vendor/react-native/ViewabilityHelper/index.js.map +6 -0
  799. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +117 -0
  800. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -0
  801. package/dist/esm/vendor/react-native/ViewabilityHelper/index.native.js +185 -0
  802. package/dist/esm/vendor/react-native/ViewabilityHelper/index.native.js.map +1 -0
  803. package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +2 -2
  804. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -1
  805. package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js.map +1 -1
  806. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +2 -8
  807. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +2 -2
  808. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +1 -3
  809. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -1
  810. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js +1 -9
  811. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +1 -1
  812. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +2 -2
  813. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -1
  814. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +1 -1
  815. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +2 -2
  816. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +2 -2
  817. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +2 -2
  818. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -1
  819. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +2 -2
  820. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +1 -1
  821. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +16 -10
  822. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +2 -2
  823. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +14 -7
  824. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -1
  825. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +16 -9
  826. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +1 -1
  827. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +6 -12
  828. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +2 -2
  829. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +3 -2
  830. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -1
  831. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +3 -2
  832. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +1 -1
  833. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +42 -0
  834. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +2 -2
  835. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +39 -1
  836. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs.map +1 -1
  837. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +39 -1
  838. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +1 -1
  839. package/dist/esm/vendor/react-native/VirtualizedList/index.js +135 -910
  840. package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +2 -2
  841. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +138 -867
  842. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -1
  843. package/dist/esm/vendor/react-native/VirtualizedList/index.native.js +128 -912
  844. package/dist/esm/vendor/react-native/VirtualizedList/index.native.js.map +1 -1
  845. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js +96 -0
  846. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js.map +6 -0
  847. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +95 -0
  848. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -0
  849. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.native.js +204 -0
  850. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.native.js.map +1 -0
  851. package/dist/esm/vendor/react-native/deepDiffer/index.js +3 -3
  852. package/dist/esm/vendor/react-native/deepDiffer/index.js.map +3 -3
  853. package/dist/esm/vendor/react-native/deepDiffer/index.mjs +3 -3
  854. package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -1
  855. package/dist/esm/vendor/react-native/deepDiffer/index.native.js +3 -3
  856. package/dist/esm/vendor/react-native/deepDiffer/index.native.js.map +1 -1
  857. package/dist/esm/vendor/react-native/infoLog/index.js.map +2 -2
  858. package/dist/esm/vendor/react-native/infoLog/index.mjs.map +1 -1
  859. package/dist/esm/vendor/react-native/infoLog/index.native.js.map +1 -1
  860. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js +69 -0
  861. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js.map +6 -0
  862. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +61 -0
  863. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -0
  864. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.native.js +122 -0
  865. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.native.js.map +1 -0
  866. package/dist/esm/without-animated.js +1 -1
  867. package/dist/esm/without-animated.mjs +1 -1
  868. package/dist/esm/without-animated.native.js +1 -1
  869. package/package.json +6 -6
  870. package/src/InteractionManager/index.tsx +1 -0
  871. package/src/ScrollView/index.tsx +238 -1
  872. package/src/SectionList.tsx +9 -0
  873. package/src/TextInput/index.tsx +20 -1
  874. package/src/TextInput/types.tsx +2 -0
  875. package/src/TouchableNativeFeedback.tsx +9 -0
  876. package/src/VirtualizedList.tsx +9 -0
  877. package/src/createElement/index.tsx +4 -4
  878. package/src/index.tsx +7 -5
  879. package/src/modules/requestIdleCallback.ts +34 -0
  880. package/src/vendor/react-native/Animated/Animated.js +17 -13
  881. package/src/vendor/react-native/Animated/AnimatedEvent.js +40 -65
  882. package/src/vendor/react-native/Animated/AnimatedImplementation.js +151 -190
  883. package/src/vendor/react-native/Animated/AnimatedMock.js +30 -44
  884. package/src/vendor/react-native/Animated/AnimatedPlatformConfig.js +4 -2
  885. package/src/vendor/react-native/Animated/Easing.js +60 -65
  886. package/src/vendor/react-native/Animated/NativeAnimatedHelper.js +87 -123
  887. package/src/vendor/react-native/Animated/NativeAnimatedModule.js +59 -3
  888. package/src/vendor/react-native/Animated/NativeAnimatedTurboModule.js +55 -3
  889. package/src/vendor/react-native/Animated/SpringConfig.js +14 -9
  890. package/src/vendor/react-native/Animated/animations/Animation.js +44 -31
  891. package/src/vendor/react-native/Animated/animations/DecayAnimation.js +52 -54
  892. package/src/vendor/react-native/Animated/animations/SpringAnimation.js +84 -140
  893. package/src/vendor/react-native/Animated/animations/TimingAnimation.js +29 -57
  894. package/src/vendor/react-native/Animated/bezier.js +80 -71
  895. package/src/vendor/react-native/Animated/components/AnimatedFlatList.jsx +23 -0
  896. package/src/vendor/react-native/Animated/components/AnimatedImage.js +2 -2
  897. package/src/vendor/react-native/Animated/components/{AnimatedScrollView.js → AnimatedScrollView.jsx} +9 -15
  898. package/src/vendor/react-native/Animated/components/AnimatedSectionList.jsx +23 -0
  899. package/src/vendor/react-native/Animated/components/AnimatedText.js +1 -3
  900. package/src/vendor/react-native/Animated/components/AnimatedView.js +1 -3
  901. package/src/vendor/react-native/Animated/createAnimatedComponent.jsx +46 -0
  902. package/src/vendor/react-native/Animated/nodes/AnimatedAddition.js +28 -26
  903. package/src/vendor/react-native/Animated/nodes/AnimatedColor.js +56 -122
  904. package/src/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +10 -7
  905. package/src/vendor/react-native/Animated/nodes/AnimatedDivision.js +36 -41
  906. package/src/vendor/react-native/Animated/nodes/{AnimatedInterpolation.js → AnimatedInterpolation.jsx} +55 -70
  907. package/src/vendor/react-native/Animated/nodes/AnimatedModulo.js +4 -4
  908. package/src/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +28 -27
  909. package/src/vendor/react-native/Animated/nodes/AnimatedNode.js +23 -40
  910. package/src/vendor/react-native/Animated/nodes/AnimatedProps.js +25 -45
  911. package/src/vendor/react-native/Animated/nodes/AnimatedStyle.js +32 -46
  912. package/src/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +27 -26
  913. package/src/vendor/react-native/Animated/nodes/AnimatedTracking.js +16 -22
  914. package/src/vendor/react-native/Animated/nodes/AnimatedTransform.js +53 -62
  915. package/src/vendor/react-native/Animated/nodes/AnimatedValue.js +33 -59
  916. package/src/vendor/react-native/Animated/nodes/AnimatedValueXY.js +8 -101
  917. package/src/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +21 -25
  918. package/src/vendor/react-native/Animated/useAnimatedProps.js +45 -93
  919. package/src/{Batchinator/index.tsx → vendor/react-native/Batchinator/index.js} +10 -12
  920. package/src/vendor/react-native/{NativeEventEmitter/index.js → EventEmitter/NativeEventEmitter.js} +14 -34
  921. package/src/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.js +4 -2
  922. package/src/vendor/react-native/FillRateHelper/{index.tsx → index.js} +41 -47
  923. package/src/vendor/react-native/FlatList/index.jsx +529 -0
  924. package/src/vendor/react-native/JSEventLoopWatchdog/index.js +84 -0
  925. package/src/vendor/react-native/LayoutAnimation/index.js +121 -0
  926. package/src/vendor/react-native/PanResponder/index.js +131 -0
  927. package/src/vendor/react-native/PooledClass/index.js +61 -0
  928. package/src/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +19 -0
  929. package/src/vendor/react-native/SectionList/index.jsx +97 -0
  930. package/src/vendor/react-native/StaticContainer/index.js +45 -0
  931. package/src/vendor/react-native/StaticRenderer/index.js +26 -0
  932. package/src/vendor/react-native/TouchHistoryMath/{index.tsx → index.js} +53 -36
  933. package/src/vendor/react-native/TurboModule/RCTExport.js +13 -2
  934. package/src/vendor/react-native/TurboModule/TurboModuleRegistry.js +12 -2
  935. package/src/vendor/react-native/Types/CoreEventTypes.js +153 -0
  936. package/src/vendor/react-native/Utilities/Platform.js +2 -0
  937. package/src/vendor/react-native/Utilities/{clamp.ts → clamp.js} +8 -6
  938. package/src/vendor/react-native/Utilities/setAndForwardRef.js +18 -11
  939. package/src/vendor/react-native/Utilities/useMergeRefs.js +41 -0
  940. package/src/vendor/react-native/Utilities/useRefEffect.js +44 -0
  941. package/src/vendor/react-native/ViewabilityHelper/index.js +250 -0
  942. package/src/vendor/react-native/ViewabilityHelper.ts +1 -1
  943. package/src/vendor/react-native/VirtualizeUtils/{index.tsx → index.js} +40 -48
  944. package/src/vendor/react-native/VirtualizedList/{CellRenderMask.ts → CellRenderMask.js} +14 -26
  945. package/src/vendor/react-native/VirtualizedList/{ChildListCollection.tsx → ChildListCollection.js} +10 -11
  946. package/src/vendor/react-native/VirtualizedList/{StateSafePureComponent.tsx → StateSafePureComponent.js} +19 -19
  947. package/src/vendor/react-native/VirtualizedList/{VirtualizedListCellRenderer.tsx → VirtualizedListCellRenderer.jsx} +43 -70
  948. package/src/vendor/react-native/VirtualizedList/{VirtualizedListContext.tsx → VirtualizedListContext.jsx} +24 -44
  949. package/src/vendor/react-native/VirtualizedList/VirtualizedListProps.js +46 -0
  950. package/src/vendor/react-native/VirtualizedList/index.jsx +395 -0
  951. package/src/vendor/react-native/VirtualizedSectionList/index.jsx +148 -0
  952. package/src/vendor/react-native/deepDiffer/{index.tsx → index.js} +32 -16
  953. package/src/vendor/react-native/infoLog/{index.tsx → index.js} +7 -3
  954. package/src/vendor/react-native/useRefEffect.js +1 -1
  955. package/src/vendor/react-native/vendor/emitter/EventEmitter.js +118 -0
  956. package/src/without-animated.tsx +1 -1
  957. package/dist/cjs/Batchinator/index.js.map +0 -6
  958. package/dist/cjs/Batchinator/index.native.js.map +0 -6
  959. package/dist/cjs/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.js.map +0 -6
  960. package/dist/cjs/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +0 -6
  961. package/dist/cjs/vendor/react-native/NativeEventEmitter/index.js.map +0 -6
  962. package/dist/cjs/vendor/react-native/NativeEventEmitter/index.native.js.map +0 -6
  963. package/dist/esm/Batchinator/index.js.map +0 -6
  964. package/dist/esm/Batchinator/index.mjs.map +0 -1
  965. package/dist/esm/Batchinator/index.native.js.map +0 -1
  966. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.js.map +0 -6
  967. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.mjs.map +0 -1
  968. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +0 -1
  969. package/dist/esm/vendor/react-native/NativeEventEmitter/index.js +0 -50
  970. package/dist/esm/vendor/react-native/NativeEventEmitter/index.js.map +0 -6
  971. package/dist/esm/vendor/react-native/NativeEventEmitter/index.mjs +0 -41
  972. package/dist/esm/vendor/react-native/NativeEventEmitter/index.mjs.map +0 -1
  973. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js.map +0 -1
  974. package/src/vendor/react-native/Animated/createAnimatedComponent.js +0 -51
  975. package/src/vendor/react-native/PanResponder/index.tsx +0 -594
  976. package/src/vendor/react-native/Types/CoreEventTypes.tsx +0 -88
  977. package/src/vendor/react-native/VirtualizedList/VirtualizedListProps.ts +0 -130
  978. package/src/vendor/react-native/VirtualizedList/index.tsx +0 -1797
  979. /package/dist/cjs/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.cjs +0 -0
  980. /package/dist/cjs/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.js +0 -0
  981. /package/dist/cjs/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.native.js +0 -0
  982. /package/dist/esm/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.js +0 -0
  983. /package/dist/esm/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.mjs +0 -0
  984. /package/dist/esm/vendor/react-native/{NativeEventEmitter → EventEmitter}/RCTDeviceEventEmitter.native.js +0 -0
@@ -1,153 +1,26 @@
1
- import { InteractionManager } from "@tamagui/react-native-web-internals";
2
- import TouchHistoryMath from "../TouchHistoryMath";
3
- const currentCentroidXOfTouchesChangedAfter = TouchHistoryMath.currentCentroidXOfTouchesChangedAfter,
4
- currentCentroidYOfTouchesChangedAfter = TouchHistoryMath.currentCentroidYOfTouchesChangedAfter,
5
- previousCentroidXOfTouchesChangedAfter = TouchHistoryMath.previousCentroidXOfTouchesChangedAfter,
6
- previousCentroidYOfTouchesChangedAfter = TouchHistoryMath.previousCentroidYOfTouchesChangedAfter,
7
- currentCentroidX = TouchHistoryMath.currentCentroidX,
8
- currentCentroidY = TouchHistoryMath.currentCentroidY,
1
+ const currentCentroidXOfTouchesChangedAfter = () => 0,
2
+ currentCentroidYOfTouchesChangedAfter = () => 0,
3
+ previousCentroidXOfTouchesChangedAfter = () => 0,
4
+ previousCentroidYOfTouchesChangedAfter = () => 0,
9
5
  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
6
  _initializeGestureState(gestureState) {
73
7
  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
8
  },
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
9
  _updateGestureStateOnMove(gestureState, touchHistory) {
100
10
  gestureState.numberActiveTouches = touchHistory.numberActiveTouches, gestureState.moveX = currentCentroidXOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo), gestureState.moveY = currentCentroidYOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo);
101
11
  const movedAfter = gestureState._accountsForMovesUpTo,
102
12
  prevX = previousCentroidXOfTouchesChangedAfter(touchHistory, movedAfter),
103
- x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter),
104
13
  prevY = previousCentroidYOfTouchesChangedAfter(touchHistory, movedAfter),
105
- y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter),
106
- nextDX = gestureState.dx + (x - prevX),
107
- nextDY = gestureState.dy + (y - prevY),
14
+ nextDX = gestureState.dx + (gestureState.moveX - prevX),
15
+ nextDY = gestureState.dy + (gestureState.moveY - prevY),
108
16
  dt = touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo;
109
17
  gestureState.vx = (nextDX - gestureState.dx) / dt, gestureState.vy = (nextDY - gestureState.dy) / dt, gestureState.dx = nextDX, gestureState.dy = nextDY, gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp;
110
18
  },
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
19
  create(config) {
144
20
  const interactionState = {
145
- handle: null,
146
- shouldCancelClick: !1,
147
- timeout: null
21
+ handle: null
148
22
  },
149
23
  gestureState = {
150
- // Useful for debugging
151
24
  stateID: Math.random(),
152
25
  moveX: 0,
153
26
  moveY: 0,
@@ -162,57 +35,21 @@ const currentCentroidXOfTouchesChangedAfter = TouchHistoryMath.currentCentroidXO
162
35
  };
163
36
  return {
164
37
  panHandlers: {
165
- onStartShouldSetResponder(event) {
166
- return config.onStartShouldSetPanResponder == null ? !1 : config.onStartShouldSetPanResponder(event, gestureState);
38
+ onStartShouldSetResponder: evt => config.onStartShouldSetPanResponder ? config.onStartShouldSetPanResponder(evt, gestureState) : !1,
39
+ onMoveShouldSetResponder: evt => config.onMoveShouldSetPanResponder ? config.onMoveShouldSetPanResponder(evt, gestureState) : !1,
40
+ onResponderGrant: evt => {
41
+ this._initializeGestureState(gestureState), gestureState.x0 = evt.nativeEvent.pageX || 0, gestureState.y0 = evt.nativeEvent.pageY || 0, config.onPanResponderGrant && config.onPanResponderGrant(evt, gestureState);
167
42
  },
168
- onMoveShouldSetResponder(event) {
169
- return config.onMoveShouldSetPanResponder == null ? !1 : config.onMoveShouldSetPanResponder(event, gestureState);
43
+ onResponderMove: evt => {
44
+ evt.nativeEvent.touches && evt.nativeEvent.touches.length === 1 && this._updateGestureStateOnMove(gestureState, evt.nativeEvent), config.onPanResponderMove && config.onPanResponderMove(evt, gestureState);
170
45
  },
171
- onStartShouldSetResponderCapture(event) {
172
- return event.nativeEvent.touches.length === 1 && PanResponder._initializeGestureState(gestureState), gestureState.numberActiveTouches = event.touchHistory.numberActiveTouches, config.onStartShouldSetPanResponderCapture != null ? config.onStartShouldSetPanResponderCapture(event, gestureState) : !1;
46
+ onResponderRelease: evt => {
47
+ config.onPanResponderRelease && config.onPanResponderRelease(evt, gestureState), interactionState.handle && (interactionState.handle = null);
173
48
  },
174
- onMoveShouldSetResponderCapture(event) {
175
- const touchHistory = event.touchHistory;
176
- return gestureState._accountsForMovesUpTo === touchHistory.mostRecentTimeStamp ? !1 : (PanResponder._updateGestureStateOnMove(gestureState, touchHistory), config.onMoveShouldSetPanResponderCapture ? config.onMoveShouldSetPanResponderCapture(event, gestureState) : !1);
49
+ onResponderTerminate: evt => {
50
+ config.onPanResponderTerminate && config.onPanResponderTerminate(evt, gestureState), interactionState.handle && (interactionState.handle = null);
177
51
  },
178
- onResponderGrant(event) {
179
- 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);
180
- },
181
- onResponderReject(event) {
182
- clearInteractionHandle(interactionState,
183
- // @ts-ignore
184
- config.onPanResponderReject, event, gestureState);
185
- },
186
- onResponderRelease(event) {
187
- clearInteractionHandle(interactionState, config.onPanResponderRelease, event, gestureState), setInteractionTimeout(interactionState), PanResponder._initializeGestureState(gestureState);
188
- },
189
- onResponderStart(event) {
190
- const touchHistory = event.touchHistory;
191
- gestureState.numberActiveTouches = touchHistory.numberActiveTouches, config.onPanResponderStart && config.onPanResponderStart(event, gestureState);
192
- },
193
- onResponderMove(event) {
194
- const touchHistory = event.touchHistory;
195
- gestureState._accountsForMovesUpTo !== touchHistory.mostRecentTimeStamp && (PanResponder._updateGestureStateOnMove(gestureState, touchHistory), config.onPanResponderMove && config.onPanResponderMove(event, gestureState));
196
- },
197
- onResponderEnd(event) {
198
- const touchHistory = event.touchHistory;
199
- gestureState.numberActiveTouches = touchHistory.numberActiveTouches, clearInteractionHandle(interactionState, config.onPanResponderEnd, event, gestureState);
200
- },
201
- onResponderTerminate(event) {
202
- clearInteractionHandle(interactionState,
203
- // @ts-ignore
204
- config.onPanResponderTerminate, event, gestureState), setInteractionTimeout(interactionState), PanResponder._initializeGestureState(gestureState);
205
- },
206
- onResponderTerminationRequest(event) {
207
- return config.onPanResponderTerminationRequest == null ? !0 : config.onPanResponderTerminationRequest(event, gestureState);
208
- },
209
- // We do not want to trigger 'click' activated gestures or native behaviors
210
- // on any pan target that is under a mouse cursor when it is released.
211
- // Browsers will natively cancel 'click' events on a target if a non-mouse
212
- // active pointer moves.
213
- onClickCapture: event => {
214
- interactionState.shouldCancelClick === !0 && (event.stopPropagation(), event.preventDefault());
215
- }
52
+ onResponderTerminationRequest: evt => config.onPanResponderTerminationRequest ? config.onPanResponderTerminationRequest(evt, gestureState) : !0
216
53
  },
217
54
  getInteractionHandle() {
218
55
  return interactionState.handle;
@@ -220,17 +57,6 @@ const currentCentroidXOfTouchesChangedAfter = TouchHistoryMath.currentCentroidXO
220
57
  };
221
58
  }
222
59
  };
223
- function clearInteractionHandle(interactionState, callback, event, gestureState) {
224
- interactionState.handle && (InteractionManager.clearInteractionHandle(interactionState.handle), interactionState.handle = null), callback && callback(event, gestureState);
225
- }
226
- function clearInteractionTimeout(interactionState) {
227
- clearTimeout(interactionState.timeout);
228
- }
229
- function setInteractionTimeout(interactionState) {
230
- interactionState.timeout = setTimeout(() => {
231
- interactionState.shouldCancelClick = !1;
232
- }, 250);
233
- }
234
60
  var PanResponder_default = PanResponder;
235
61
  export { PanResponder_default as default };
236
62
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
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"],"sources":["../../../../../src/vendor/react-native/PanResponder/index.tsx"],"sourcesContent":[null],"mappings":"AASA,SAASA,kBAAA,QAA0B;AAEnC,OAAOC,gBAAA,MAAsB;AAI7B,MAAMC,qCAAA,GACJD,gBAAA,CAAiBC,qCAAA;EACbC,qCAAA,GACJF,gBAAA,CAAiBE,qCAAA;EACbC,sCAAA,GACJH,gBAAA,CAAiBG,sCAAA;EACbC,sCAAA,GACJJ,gBAAA,CAAiBI,sCAAA;EACbC,gBAAA,GAAmBL,gBAAA,CAAiBK,gBAAA;EACpCC,gBAAA,GAAmBN,gBAAA,CAAiBM,gBAAA;EA8LpCC,YAAA,GAAe;IAAA;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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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yB;YAC5CiB,sBAAA,CACE1B,gBAAA;YAAA;YAEAD,MAAA,CAAOuC,uBAAA,EACP7B,KAAA,EACAjC,YACF,GACAsD,qBAAA,CAAsB9B,gBAAgB,GACtC1B,YAAA,CAAaC,uBAAA,CAAwBC,YAAY;UACnD;UAEA+D,8BAA8B9B,KAAA,EAA4B;YACxD,OAAOV,MAAA,CAAOyC,gCAAA,IAAoC,OAC9C,KACAzC,MAAA,CAAOyC,gCAAA,CAAiC/B,KAAA,EAAOjC,YAAY;UACjE;UAAA;UAAA;UAAA;UAAA;UAMAiE,cAAA,EAAiBhC,KAAA,IAAqB;YAChCT,gBAAA,CAAiBE,iBAAA,KAAsB,OACzCO,KAAA,CAAMiC,eAAA,CAAgB,GACtBjC,KAAA,CAAMkC,cAAA,CAAe;UAEzB;QACF;QAIEC,qBAAA,EAAsC;UACpC,OAAO5C,gBAAA,CAAiBC,MAAA;QAC1B;MACF;IACF;EACF;AAEA,SAASyB,uBACP1B,gBAAA,EACA6C,QAAA,EACApC,KAAA,EACAjC,YAAA,EACA;EACIwB,gBAAA,CAAiBC,MAAA,KACnBnC,kBAAA,CAAmB4D,sBAAA,CAAuB1B,gBAAA,CAAiBC,MAAM,GACjED,gBAAA,CAAiBC,MAAA,GAAS,OAExB4C,QAAA,IACFA,QAAA,CAASpC,KAAA,EAAOjC,YAAY;AAEhC;AAEA,SAAS8C,wBAAwBtB,gBAAA,EAAoC;EACnE8C,YAAA,CAAa9C,gBAAA,CAAiBG,OAAO;AACvC;AAEA,SAAS2B,sBAAsB9B,gBAAA,EAAoC;EACjEA,gBAAA,CAAiBG,OAAA,GAAU4C,UAAA,CAAW,MAAM;IAC1C/C,gBAAA,CAAiBE,iBAAA,GAAoB;EACvC,GAAG,GAAG;AACR;AAEA,IAAO8C,oBAAA,GAAQ1E,YAAA","ignoreList":[]}
1
+ {"version":3,"names":["currentCentroidXOfTouchesChangedAfter","currentCentroidYOfTouchesChangedAfter","previousCentroidXOfTouchesChangedAfter","previousCentroidYOfTouchesChangedAfter","PanResponder","_initializeGestureState","gestureState","moveX","moveY","x0","y0","dx","dy","vx","vy","numberActiveTouches","_accountsForMovesUpTo","_updateGestureStateOnMove","touchHistory","movedAfter","prevX","prevY","nextDX","nextDY","dt","mostRecentTimeStamp","create","config","interactionState","handle","stateID","Math","random","panHandlers","onStartShouldSetResponder","evt","onStartShouldSetPanResponder","onMoveShouldSetResponder","onMoveShouldSetPanResponder","onResponderGrant","nativeEvent","pageX","pageY","onPanResponderGrant","onResponderMove","touches","length","onPanResponderMove","onResponderRelease","onPanResponderRelease","onResponderTerminate","onPanResponderTerminate","onResponderTerminationRequest","onPanResponderTerminationRequest","getInteractionHandle","PanResponder_default"],"sources":["../../../../../src/vendor/react-native/PanResponder/index.js"],"sourcesContent":[null],"mappings":"AAOA,MAAMA,qCAAA,GAAwCA,CAAA,KAAM;EAC9CC,qCAAA,GAAwCA,CAAA,KAAM;EAC9CC,sCAAA,GAAyCA,CAAA,KAAM;EAC/CC,sCAAA,GAAyCA,CAAA,KAAM;EAE/CC,YAAA,GAAe;IACnBC,wBAAwBC,YAAA,EAAc;MACpCA,YAAA,CAAaC,KAAA,GAAQ,GACrBD,YAAA,CAAaE,KAAA,GAAQ,GACrBF,YAAA,CAAaG,EAAA,GAAK,GAClBH,YAAA,CAAaI,EAAA,GAAK,GAClBJ,YAAA,CAAaK,EAAA,GAAK,GAClBL,YAAA,CAAaM,EAAA,GAAK,GAClBN,YAAA,CAAaO,EAAA,GAAK,GAClBP,YAAA,CAAaQ,EAAA,GAAK,GAClBR,YAAA,CAAaS,mBAAA,GAAsB,GACnCT,YAAA,CAAaU,qBAAA,GAAwB;IACvC;IAEAC,0BAA0BX,YAAA,EAAcY,YAAA,EAAc;MACpDZ,YAAA,CAAaS,mBAAA,GAAsBG,YAAA,CAAaH,mBAAA,EAChDT,YAAA,CAAaC,KAAA,GAAQP,qCAAA,CACnBkB,YAAA,EACAZ,YAAA,CAAaU,qBACf,GACAV,YAAA,CAA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AA,CAAiClB,GAAA,EAAK7B,YAAY,IACzD;QAER;QAIEgD,qBAAA,EAAuB;UACrB,OAAO1B,gBAAA,CAAiBC,MAAA;QAC1B;MACF;IACF;EACF;AAEA,IAAO0B,oBAAA,GAAQnD,YAAA","ignoreList":[]}
@@ -1,153 +1,35 @@
1
- import { InteractionManager } from "@tamagui/react-native-web-internals";
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,
1
+ var currentCentroidXOfTouchesChangedAfter = function () {
2
+ return 0;
3
+ },
4
+ currentCentroidYOfTouchesChangedAfter = function () {
5
+ return 0;
6
+ },
7
+ previousCentroidXOfTouchesChangedAfter = function () {
8
+ return 0;
9
+ },
10
+ previousCentroidYOfTouchesChangedAfter = function () {
11
+ return 0;
12
+ },
9
13
  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
14
  _initializeGestureState(gestureState) {
73
15
  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
16
  },
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
17
  _updateGestureStateOnMove(gestureState, touchHistory) {
100
18
  gestureState.numberActiveTouches = touchHistory.numberActiveTouches, gestureState.moveX = currentCentroidXOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo), gestureState.moveY = currentCentroidYOfTouchesChangedAfter(touchHistory, gestureState._accountsForMovesUpTo);
101
19
  var movedAfter = gestureState._accountsForMovesUpTo,
102
20
  prevX = previousCentroidXOfTouchesChangedAfter(touchHistory, movedAfter),
103
- x = currentCentroidXOfTouchesChangedAfter(touchHistory, movedAfter),
104
21
  prevY = previousCentroidYOfTouchesChangedAfter(touchHistory, movedAfter),
105
- y = currentCentroidYOfTouchesChangedAfter(touchHistory, movedAfter),
106
- nextDX = gestureState.dx + (x - prevX),
107
- nextDY = gestureState.dy + (y - prevY),
22
+ nextDX = gestureState.dx + (gestureState.moveX - prevX),
23
+ nextDY = gestureState.dy + (gestureState.moveY - prevY),
108
24
  dt = touchHistory.mostRecentTimeStamp - gestureState._accountsForMovesUpTo;
109
25
  gestureState.vx = (nextDX - gestureState.dx) / dt, gestureState.vy = (nextDY - gestureState.dy) / dt, gestureState.dx = nextDX, gestureState.dy = nextDY, gestureState._accountsForMovesUpTo = touchHistory.mostRecentTimeStamp;
110
26
  },
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
27
  create(config) {
144
- var interactionState = {
145
- handle: null,
146
- shouldCancelClick: !1,
147
- timeout: null
28
+ var _this = this,
29
+ interactionState = {
30
+ handle: null
148
31
  },
149
32
  gestureState = {
150
- // Useful for debugging
151
33
  stateID: Math.random(),
152
34
  moveX: 0,
153
35
  moveY: 0,
@@ -161,56 +43,26 @@ var currentCentroidXOfTouchesChangedAfter = TouchHistoryMath.currentCentroidXOfT
161
43
  _accountsForMovesUpTo: 0
162
44
  },
163
45
  panHandlers = {
164
- onStartShouldSetResponder(event) {
165
- return config.onStartShouldSetPanResponder == null ? !1 : config.onStartShouldSetPanResponder(event, gestureState);
46
+ onStartShouldSetResponder: function (evt) {
47
+ return config.onStartShouldSetPanResponder ? config.onStartShouldSetPanResponder(evt, gestureState) : !1;
166
48
  },
167
- onMoveShouldSetResponder(event) {
168
- return config.onMoveShouldSetPanResponder == null ? !1 : config.onMoveShouldSetPanResponder(event, gestureState);
49
+ onMoveShouldSetResponder: function (evt) {
50
+ return config.onMoveShouldSetPanResponder ? config.onMoveShouldSetPanResponder(evt, gestureState) : !1;
169
51
  },
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;
52
+ onResponderGrant: function (evt) {
53
+ _this._initializeGestureState(gestureState), gestureState.x0 = evt.nativeEvent.pageX || 0, gestureState.y0 = evt.nativeEvent.pageY || 0, config.onPanResponderGrant && config.onPanResponderGrant(evt, gestureState);
172
54
  },
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);
55
+ onResponderMove: function (evt) {
56
+ evt.nativeEvent.touches && evt.nativeEvent.touches.length === 1 && _this._updateGestureStateOnMove(gestureState, evt.nativeEvent), config.onPanResponderMove && config.onPanResponderMove(evt, gestureState);
176
57
  },
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);
58
+ onResponderRelease: function (evt) {
59
+ config.onPanResponderRelease && config.onPanResponderRelease(evt, gestureState), interactionState.handle && (interactionState.handle = null);
179
60
  },
180
- onResponderReject(event) {
181
- clearInteractionHandle(interactionState,
182
- // @ts-ignore
183
- config.onPanResponderReject, event, gestureState);
61
+ onResponderTerminate: function (evt) {
62
+ config.onPanResponderTerminate && config.onPanResponderTerminate(evt, gestureState), interactionState.handle && (interactionState.handle = null);
184
63
  },
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());
64
+ onResponderTerminationRequest: function (evt) {
65
+ return config.onPanResponderTerminationRequest ? config.onPanResponderTerminationRequest(evt, gestureState) : !0;
214
66
  }
215
67
  };
216
68
  return {
@@ -220,18 +72,7 @@ var currentCentroidXOfTouchesChangedAfter = TouchHistoryMath.currentCentroidXOfT
220
72
  }
221
73
  };
222
74
  }
223
- };
224
- function clearInteractionHandle(interactionState, callback, event, gestureState) {
225
- interactionState.handle && (InteractionManager.clearInteractionHandle(interactionState.handle), interactionState.handle = null), callback && callback(event, gestureState);
226
- }
227
- function clearInteractionTimeout(interactionState) {
228
- clearTimeout(interactionState.timeout);
229
- }
230
- function setInteractionTimeout(interactionState) {
231
- interactionState.timeout = setTimeout(function () {
232
- interactionState.shouldCancelClick = !1;
233
- }, 250);
234
- }
235
- var PanResponder_default = PanResponder;
75
+ },
76
+ PanResponder_default = PanResponder;
236
77
  export { PanResponder_default as default };
237
78
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AA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CAAA,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
+ {"version":3,"names":["currentCentroidXOfTouchesChangedAfter","currentCentroidYOfTouchesChangedAfter","previousCentroidXOfTouchesChangedAfter","previousCentroidYOfTouchesChangedAfter","PanResponder","_initializeGestureState","gestureState","moveX","moveY","x0","y0","dx","dy","vx","vy","numberActiveTouches","_accountsForMovesUpTo","_updateGestureStateOnMove","touchHistory","movedAfter","prevX","prevY","nextDX","nextDY","dt","mostRecentTimeStamp","create","config","_this","interactionState","handle","stateID","Math","random","panHandlers","onStartShouldSetResponder","evt","onStartShouldSetPanResponder","onMoveShouldSetResponder","onMoveShouldSetPanResponder","onResponderGrant","nativeEvent","pageX","pageY","onPanResponderGrant","onResponderMove","touches","length","onPanResponderMove","onResponderRelease","onPanResponderRelease","onResponderTerminate","onPanResponderTerminate","onResponderTerminationRequest","onPanResponderTerminationRequest"],"sources":["../../../../../src/vendor/react-native/PanResponder/index.js"],"sourcesContent":[null],"mappings":"AAOA,IAAAA,qCAAM,YAAAA,CAAA,EACA;IAKJ;EACE;EAAAC,qCACA,GAAa,SAAAA,CAAA,EACb;IAQF;EAAA;EAEAC,sCAA0B,GAAc,SAAAA,CAAA;IACtC;EACqB;EAAAC,sCACnB,YAAAA,CAAA;IAAA,OACA;EAAa;EAAAC,YAEf;IAAqBC,uBACnBA,CAAAC,YAAA;MAAAA,YACA,CAAAC,KAAa,MAAAD,YAAA,CAAAE,KAAA,MAAAF,YAAA,CAAAG,EAAA,MAAAH,YAAA,CAAAI,EAAA,MAAAJ,YAAA,CAAAK,EAAA,MAAAL,YAAA,CAAAM,EAAA,MAAAN,YAAA,CAAAO,EAAA,MAAAP,YAAA,CAAAQ,EAAA,MAAAR,YAAA,CAAAS,mBAAA,MAAAT,YAAA,CAAAU,qBAAA;IAAA;IAEfC,yBAAmBA,CAAAX,YAAa,EAAAY,YAAA;MAQhCZ,YAAA,CAAaS,mBAAe,GAAAG,YAAmB,CAAAH,mBAClC,EAAAT,YAAe,CAAAC,KAAA,GAAAP,qCAEV,CAClBkB,YAAA,EAAaZ,YACb,CAAAU,qBAAa,GAAAV,YAAwB,CAAAE,KAAA,GAAAP,qCAAa,CAAAiB,YAAA,EAAAZ,YAAA,CAAAU,qBAAA;MACpD,IAAAG,UAAA,GAAAb,YAAA,CAAAU,qBAAA;QAAAI,KAAA,GAAAlB,sCAAA,CAAAgB,YAAA,EAAAC,UAAA;QAAAE,KAAA,GAAAlB,sCAAA,CAAAe,YAAA,EAAAC,UAAA;QAAAG,MAAA,GAAAhB,YAAA,CAAAK,EAAA,IAAAL,YAAA,CAAAC,KAAA,GAAAa,KAAA;QAAAG,MAAA,G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AAAE,KAAA,OAAAhB,MAAA,CAAAiB,mBAAA,IAAAjB,MAAA,CAAAiB,mBAAA,CAAAR,GAAA,EAAA9B,YAAA;UAAA;UAEEuC,eAAW,WAAAA,CAAAT,GAAA;YAMbA,GAAA,CAAAK,WAAA,CAAAK,OAAA,IAAAV,GAAA,CAAAK,WAAA,CAAAK,OAAA,CAAAC,MAAA,UAAAnB,KAAA,CAAAX,yBAAA,CAAAX,YAAA,EAAA8B,GAAA,CAAAK,WAAA,GAAAd,MAAA,CAAAqB,kBAAA,IAAArB,MAAA,CAAAqB,kBAAA,CAAAZ,GAAA,EAAA9B,YAAA;UAAA;UAEE2C,kBAAW,WAAAA,CAAAb,GAAA;YAMbT,MAAA,CAAAuB,qBAAA,IAAAvB,MAAA,CAAAuB,qBAAA,CAAAd,GAAA,EAAA9B,YAAA,GAAAuB,gBAAA,CAAAC,MAAA,KAAAD,gBAAA,CAAAC,MAAA;UAAA;UAMFqB,oBAAA,WAAAA,CAAAf,GAAA;YAIET,MAAA,CAAAyB,uBAAuB,IAAAzB,MAAA,CAAAyB,uBAAA,CAAAhB,GAAA,EAAA9B,YAAA,GAAAuB,gBAAA,CAAAC,MAAA,KAAAD,gBAAA,CAAAC,MAAA;UACrB;UACFuB,6BAAA,WAAAA,CAAAjB,GAAA;YACF,OAAAT,MAAA,CAAA2B,gCAAA,GAAA3B,MAAA,CAAA2B,gCAAA,CAAAlB,GAAA,EAAA9B,YAAA;UACF;QACF;MAEO","ignoreList":[]}
@@ -0,0 +1,21 @@
1
+ var twoArgumentPooler = function(a1, a2) {
2
+ var Klass = this;
3
+ if (Klass.instancePool.length) {
4
+ var instance = Klass.instancePool.pop();
5
+ return Klass.call(instance, a1, a2), instance;
6
+ } else
7
+ return new Klass(a1, a2);
8
+ }, standardReleaser = function(instance) {
9
+ var Klass = this;
10
+ instance.destructor(), Klass.instancePool.length < Klass.poolSize && Klass.instancePool.push(instance);
11
+ }, DEFAULT_POOL_SIZE = 10, DEFAULT_POOLER = twoArgumentPooler, addPoolingTo = function(CopyConstructor, pooler) {
12
+ var NewKlass = CopyConstructor;
13
+ return NewKlass.instancePool = [], NewKlass.getPooled = pooler || DEFAULT_POOLER, NewKlass.poolSize || (NewKlass.poolSize = DEFAULT_POOL_SIZE), NewKlass.release = standardReleaser, NewKlass;
14
+ }, PooledClass = {
15
+ addPoolingTo,
16
+ twoArgumentPooler
17
+ }, PooledClass_default = PooledClass;
18
+ export {
19
+ PooledClass_default as default
20
+ };
21
+ //# sourceMappingURL=index.js.map