@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
@@ -25,42 +25,33 @@ __export(VirtualizedList_exports, {
25
25
  default: () => VirtualizedList_default
26
26
  });
27
27
  module.exports = __toCommonJS(VirtualizedList_exports);
28
- var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_ViewabilityHelper = __toESM(require("../ViewabilityHelper")), import_CellRenderMask = require("./CellRenderMask"), import_StateSafePureComponent = __toESM(require("./StateSafePureComponent")), import_VirtualizedListContext = require("./VirtualizedListContext"), import_ScrollViewBase = __toESM(require("../../../ScrollView/ScrollViewBase")), import_View = __toESM(require("../../../View")), import_VirtualizedListCellRenderer = __toESM(require("./VirtualizedListCellRenderer")), import_FillRateHelper = __toESM(require("../FillRateHelper")), import_ChildListCollection = __toESM(require("./ChildListCollection")), import_react = __toESM(require("react")), import_clamp = __toESM(require("../Utilities/clamp")), import_VirtualizeUtils = require("../VirtualizeUtils"), import_Batchinator = __toESM(require("../../../Batchinator")), import_RefreshControl = __toESM(require("../../../RefreshControl")), import_jsx_runtime = require("react/jsx-runtime");
29
- const __DEV__ = process.env.NODE_ENV !== "production", ON_EDGE_REACHED_EPSILON = 1e-3;
30
- let _usedIndexForKey = !1, _keylessItemComponentName = "";
28
+ var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_ScrollView = __toESM(require("../../../ScrollView")), import_RefreshControl = __toESM(require("../../../RefreshControl")), import_Batchinator = __toESM(require("../Batchinator")), import_ChildListCollection = __toESM(require("./ChildListCollection")), import_FillRateHelper = __toESM(require("../FillRateHelper")), import_StateSafePureComponent = __toESM(require("./StateSafePureComponent")), import_ViewabilityHelper = __toESM(require("../ViewabilityHelper")), import_VirtualizedListCellRenderer = __toESM(require("./VirtualizedListCellRenderer")), import_VirtualizedListContext = require("./VirtualizedListContext"), import_jsx_runtime = require("react/jsx-runtime");
29
+ const __DEV__ = process.env.NODE_ENV !== "production";
31
30
  function horizontalOrDefault(horizontal) {
32
31
  return horizontal ?? !1;
33
32
  }
34
- function initialNumToRenderOrDefault(initialNumToRender) {
35
- return initialNumToRender ?? 10;
36
- }
37
- function maxToRenderPerBatchOrDefault(maxToRenderPerBatch) {
38
- return maxToRenderPerBatch ?? 10;
39
- }
40
- function onStartReachedThresholdOrDefault(onStartReachedThreshold) {
41
- return onStartReachedThreshold ?? 2;
42
- }
43
- function onEndReachedThresholdOrDefault(onEndReachedThreshold) {
44
- return onEndReachedThreshold ?? 2;
45
- }
46
- function getScrollingThreshold(threshold, visibleLength) {
47
- return threshold * visibleLength / 2;
48
- }
49
33
  function scrollEventThrottleOrDefault(scrollEventThrottle) {
50
34
  return scrollEventThrottle ?? 50;
51
35
  }
52
- function windowSizeOrDefault(windowSize) {
53
- return windowSize ?? 21;
54
- }
55
- function findLastWhere(arr, predicate) {
56
- for (let i = arr.length - 1; i >= 0; i--)
57
- if (predicate(arr[i]))
58
- return arr[i];
59
- return null;
60
- }
61
36
  class VirtualizedList extends import_StateSafePureComponent.default {
62
37
  static contextType = import_VirtualizedListContext.VirtualizedListContext;
63
- // scrollToEnd may be janky without getItemLayout prop
38
+ constructor(props) {
39
+ super(props), this._nestedChildLists = new import_ChildListCollection.default(), this._viewabilityTuples = [], this._scrollMetrics = {
40
+ contentLength: 0,
41
+ dOffset: 0,
42
+ dt: 10,
43
+ offset: 0,
44
+ timestamp: 0,
45
+ velocity: 0,
46
+ visibleLength: 0
47
+ }, this._highestMeasuredFrameIndex = 0, this._headerLength = 0, this._footerLength = 0, this._averageCellLength = 0, this._hasWarned = {}, this._fillRateHelper = new import_FillRateHelper.default(this._getFrameMetrics), this._updateCellsToRenderBatcher = new import_Batchinator.default(
48
+ this._updateCellsToRender,
49
+ this.props.updateCellsBatchingPeriod ?? 50
50
+ ), this.props.viewabilityConfig && this.props.onViewableItemsChanged && this._viewabilityTuples.push({
51
+ viewabilityHelper: new import_ViewabilityHelper.default(this.props.viewabilityConfig),
52
+ onViewableItemsChanged: this.props.onViewableItemsChanged
53
+ });
54
+ }
64
55
  scrollToEnd(params) {
65
56
  const animated = params ? params.animated : !0, veryLast = this.props.getItemCount(this.props.data) - 1;
66
57
  if (veryLast < 0)
@@ -81,15 +72,22 @@ class VirtualizedList extends import_StateSafePureComponent.default {
81
72
  );
82
73
  }
83
74
  }
84
- // scrollToIndex may be janky without getItemLayout prop
85
75
  scrollToIndex(params) {
86
- const { data, horizontal, getItemCount, getItemLayout, onScrollToIndexFailed } = this.props, { animated, index, viewOffset, viewPosition } = params;
76
+ const {
77
+ data,
78
+ horizontal,
79
+ getItemCount,
80
+ getItemLayout,
81
+ onScrollToIndexFailed
82
+ } = this.props, { animated, index, viewOffset, viewPosition } = params;
87
83
  if ((0, import_react_native_web_internals.invariant)(
88
84
  index >= 0,
89
85
  `scrollToIndex out of range: requested index ${index} but minimum is 0`
90
86
  ), (0, import_react_native_web_internals.invariant)(
91
87
  getItemCount(data) >= 1,
92
- `scrollToIndex out of range: item length ${getItemCount(data)} but minimum is 1`
88
+ `scrollToIndex out of range: item length ${getItemCount(
89
+ data
90
+ )} but minimum is 1`
93
91
  ), (0, import_react_native_web_internals.invariant)(
94
92
  index < getItemCount(data),
95
93
  `scrollToIndex out of range: requested index ${index} is out of 0 to ${getItemCount(data) - 1}`
@@ -106,916 +104,150 @@ class VirtualizedList extends import_StateSafePureComponent.default {
106
104
  }
107
105
  const frame = this.__getFrameMetricsApprox(Math.floor(index), this.props), offset = Math.max(
108
106
  0,
109
- // @ts-ignore
110
107
  this._getOffsetApprox(index, this.props) - (viewPosition || 0) * (this._scrollMetrics.visibleLength - frame.length)
111
108
  ) - (viewOffset || 0);
112
- if (this._scrollRef != null) {
113
- if (this._scrollRef.scrollTo == null) {
114
- console.warn(
115
- "No scrollTo method provided. This may be because you have two nested VirtualizedLists with the same orientation, or because you are using a custom component that does not implement scrollTo."
116
- );
117
- return;
118
- }
119
- this._scrollRef.scrollTo(
120
- horizontal ? { x: offset, animated } : { y: offset, animated }
121
- );
122
- }
109
+ this._scrollRef != null && this._scrollRef.scrollTo(
110
+ horizontalOrDefault(horizontal) ? { x: offset, animated } : { y: offset, animated }
111
+ );
123
112
  }
124
- // scrollToItem may be janky without getItemLayout prop. Required linear scan through items -
125
- // use scrollToIndex instead if possible.
126
113
  scrollToItem(params) {
127
- const { item } = params, { data, getItem, getItemCount } = this.props, itemCount = getItemCount(data);
128
- for (let index = 0; index < itemCount; index++)
129
- if (getItem(data, index) === item) {
130
- this.scrollToIndex({ ...params, index });
131
- break;
132
- }
114
+ const { data, getItem, getItemCount, horizontal, onScrollToIndexFailed } = this.props, { animated, item, viewPosition, viewOffset } = params, index = this.props.data.indexOf(item);
115
+ if (index !== -1)
116
+ this.scrollToIndex({
117
+ animated,
118
+ index,
119
+ viewOffset,
120
+ viewPosition
121
+ });
122
+ else {
123
+ const itemCount = getItemCount(data);
124
+ for (let i = 0; i < itemCount; i++)
125
+ if (getItem(data, i) === item) {
126
+ this.scrollToIndex({
127
+ animated,
128
+ index: i,
129
+ viewOffset,
130
+ viewPosition
131
+ });
132
+ break;
133
+ }
134
+ }
133
135
  }
134
- /**
135
- * Scroll to a specific content pixel offset in the list.
136
- *
137
- * Param `offset` expects the offset to scroll to.
138
- * In case of `horizontal` is true, the offset is the x-value,
139
- * in any other case the offset is the y-value.
140
- *
141
- * Param `animated` (`true` by default) defines whether the list
142
- * should do an animation while scrolling.
143
- */
144
136
  scrollToOffset(params) {
145
137
  const { animated, offset } = params;
146
- if (this._scrollRef != null) {
147
- if (this._scrollRef.scrollTo == null) {
148
- console.warn(
149
- "No scrollTo method provided. This may be because you have two nested VirtualizedLists with the same orientation, or because you are using a custom component that does not implement scrollTo."
150
- );
151
- return;
152
- }
153
- this._scrollRef.scrollTo(
154
- horizontalOrDefault(this.props.horizontal) ? { x: offset, animated } : { y: offset, animated }
155
- );
156
- }
138
+ this._scrollRef != null && this._scrollRef.scrollTo(
139
+ horizontalOrDefault(this.props.horizontal) ? { x: offset, animated } : { y: offset, animated }
140
+ );
157
141
  }
158
142
  recordInteraction() {
159
143
  this._nestedChildLists.forEach((childList) => {
160
144
  childList.recordInteraction();
161
- }), this._viewabilityTuples.forEach((t) => {
162
- t.viewabilityHelper.recordInteraction();
163
- }), this._updateViewableItems(this.props, this.state.cellsAroundViewport);
145
+ }), this._viewabilityTuples.forEach((viewabilityTuple) => {
146
+ viewabilityTuple.viewabilityHelper.recordInteraction();
147
+ });
164
148
  }
165
149
  flashScrollIndicators() {
166
- this._scrollRef != null && this._scrollRef.flashScrollIndicators();
150
+ this._scrollRef && this._scrollRef.flashScrollIndicators && this._scrollRef.flashScrollIndicators();
167
151
  }
168
- /**
169
- * Provides a handle to the underlying scroll responder.
170
- * Note that `this._scrollRef` might not be a `ScrollView`, so we
171
- * need to check that it responds to `getScrollResponder` before calling it.
172
- */
173
152
  getScrollResponder() {
174
- return this._scrollRef && this._scrollRef.getScrollResponder ? this._scrollRef.getScrollResponder() : null;
153
+ if (this._scrollRef && this._scrollRef.getScrollResponder)
154
+ return this._scrollRef.getScrollResponder();
175
155
  }
176
156
  getScrollableNode() {
177
- return this._scrollRef && this._scrollRef.getScrollableNode ? this._scrollRef.getScrollableNode() : this._scrollRef;
178
- }
179
- getScrollRef() {
180
- return this._scrollRef && this._scrollRef.getScrollRef ? this._scrollRef.getScrollRef() : this._scrollRef;
181
- }
182
- _getCellKey() {
183
- return this.context?.cellKey || "rootList";
184
- }
185
- _getScrollMetrics = () => this._scrollMetrics;
186
- hasMore() {
187
- return this._hasMore;
188
- }
189
- _getOutermostParentListRef = () => this._isNestedWithSameOrientation() ? this.context.getOutermostParentListRef() : this;
190
- _registerAsNestedChild = (childList) => {
191
- this._nestedChildLists.add(childList.ref, childList.cellKey), this._hasInteracted && childList.ref.recordInteraction();
192
- };
193
- _unregisterAsNestedChild = (childList) => {
194
- this._nestedChildLists.remove(childList.ref);
195
- };
196
- invertedWheelEventHandler;
197
- constructor(props) {
198
- if (super(props), this._checkProps(props), this._fillRateHelper = new import_FillRateHelper.default(this._getFrameMetrics), this._updateCellsToRenderBatcher = new import_Batchinator.default(
199
- this._updateCellsToRender,
200
- this.props.updateCellsBatchingPeriod ?? 50
201
- ), this.props.viewabilityConfigCallbackPairs)
202
- this._viewabilityTuples = this.props.viewabilityConfigCallbackPairs.map((pair) => ({
203
- viewabilityHelper: new import_ViewabilityHelper.default(pair.viewabilityConfig),
204
- onViewableItemsChanged: pair.onViewableItemsChanged
205
- }));
206
- else {
207
- const { onViewableItemsChanged, viewabilityConfig } = this.props;
208
- onViewableItemsChanged && this._viewabilityTuples.push({
209
- viewabilityHelper: new import_ViewabilityHelper.default(viewabilityConfig),
210
- onViewableItemsChanged
211
- });
212
- }
213
- const initialRenderRegion = VirtualizedList._initialRenderRegion(props);
214
- this.state = {
215
- cellsAroundViewport: initialRenderRegion,
216
- renderMask: VirtualizedList._createRenderMask(props, initialRenderRegion)
217
- }, this.invertedWheelEventHandler = (ev) => {
218
- const scrollOffset = this.props.horizontal ? ev.target.scrollLeft : ev.target.scrollTop, scrollLength = this.props.horizontal ? ev.target.scrollWidth : ev.target.scrollHeight, clientLength = this.props.horizontal ? ev.target.clientWidth : ev.target.clientHeight, isEventTargetScrollable = scrollLength > clientLength, delta = this.props.horizontal ? ev.deltaX || ev.wheelDeltaX : ev.deltaY || ev.wheelDeltaY;
219
- let leftoverDelta = delta;
220
- isEventTargetScrollable && (leftoverDelta = delta < 0 ? Math.min(delta + scrollOffset, 0) : Math.max(delta - (scrollLength - clientLength - scrollOffset), 0));
221
- const targetDelta = delta - leftoverDelta;
222
- if (this.props.inverted && this._scrollRef && this._scrollRef.getScrollableNode) {
223
- const node = this._scrollRef.getScrollableNode();
224
- if (this.props.horizontal) {
225
- ev.target.scrollLeft += targetDelta;
226
- const nextScrollLeft = node.scrollLeft - leftoverDelta;
227
- node.scrollLeft = this.props.getItemLayout ? nextScrollLeft : Math.min(nextScrollLeft, this._totalCellLength);
228
- } else {
229
- ev.target.scrollTop += targetDelta;
230
- const nextScrollTop = node.scrollTop - leftoverDelta;
231
- node.scrollTop = this.props.getItemLayout ? nextScrollTop : Math.min(nextScrollTop, this._totalCellLength);
232
- }
233
- ev.preventDefault();
234
- }
235
- };
236
- }
237
- _checkProps(props) {
238
- const { onScroll, windowSize, getItemCount, data, initialScrollIndex } = props;
239
- (0, import_react_native_web_internals.invariant)(
240
- !(onScroll && onScroll.__isNative),
241
- "Components based on VirtualizedList must be wrapped with Animated.createAnimatedComponent to support native onScroll events with useNativeDriver"
242
- ), (0, import_react_native_web_internals.invariant)(
243
- windowSizeOrDefault(windowSize) > 0,
244
- "VirtualizedList: The windowSize prop must be present and set to a value greater than 0."
245
- ), (0, import_react_native_web_internals.invariant)(getItemCount, 'VirtualizedList: The "getItemCount" prop must be provided');
246
- const itemCount = getItemCount(data);
247
- if (initialScrollIndex != null && !this._hasTriggeredInitialScrollToIndex && (initialScrollIndex < 0 || itemCount > 0 && initialScrollIndex >= itemCount) && !this._hasWarned.initialScrollIndex && (console.warn(
248
- `initialScrollIndex "${initialScrollIndex}" is not valid (list has ${itemCount} items)`
249
- ), this._hasWarned.initialScrollIndex = !0), __DEV__ && !this._hasWarned.flexWrap) {
250
- const flatStyles = import_react_native_web_internals.StyleSheet.flatten(this.props.contentContainerStyle);
251
- flatStyles != null && flatStyles.flexWrap === "wrap" && (console.warn(
252
- "`flexWrap: `wrap`` is not supported with the `VirtualizedList` components.Consider using `numColumns` with `FlatList` instead."
253
- ), this._hasWarned.flexWrap = !0);
254
- }
255
- }
256
- static _createRenderMask(props, cellsAroundViewport, additionalRegions) {
257
- const itemCount = props.getItemCount(props.data);
258
- (0, import_react_native_web_internals.invariant)(
259
- cellsAroundViewport.first >= 0 && cellsAroundViewport.last >= cellsAroundViewport.first - 1 && cellsAroundViewport.last < itemCount,
260
- `Invalid cells around viewport "[${cellsAroundViewport.first}, ${cellsAroundViewport.last}]" was passed to VirtualizedList._createRenderMask`
261
- );
262
- const renderMask = new import_CellRenderMask.CellRenderMask(itemCount);
263
- if (itemCount > 0) {
264
- const allRegions = [cellsAroundViewport, ...additionalRegions ?? []];
265
- for (const region of allRegions)
266
- renderMask.addCells(region);
267
- if (props.initialScrollIndex == null || props.initialScrollIndex <= 0) {
268
- const initialRegion = VirtualizedList._initialRenderRegion(props);
269
- renderMask.addCells(initialRegion);
270
- }
271
- const stickyIndicesSet = new Set(props.stickyHeaderIndices);
272
- VirtualizedList._ensureClosestStickyHeader(
273
- props,
274
- stickyIndicesSet,
275
- renderMask,
276
- cellsAroundViewport.first
277
- );
278
- }
279
- return renderMask;
280
- }
281
- static _initialRenderRegion(props) {
282
- const itemCount = props.getItemCount(props.data), firstCellIndex = Math.max(
283
- 0,
284
- Math.min(itemCount - 1, Math.floor(props.initialScrollIndex ?? 0))
285
- ), lastCellIndex = Math.min(
286
- itemCount,
287
- firstCellIndex + initialNumToRenderOrDefault(props.initialNumToRender)
288
- ) - 1;
289
- return {
290
- first: firstCellIndex,
291
- last: lastCellIndex
292
- };
293
- }
294
- static _ensureClosestStickyHeader(props, stickyIndicesSet, renderMask, cellIdx) {
295
- const stickyOffset = props.ListHeaderComponent ? 1 : 0;
296
- for (let itemIdx = cellIdx - 1; itemIdx >= 0; itemIdx--)
297
- if (stickyIndicesSet.has(itemIdx + stickyOffset)) {
298
- renderMask.addCells({ first: itemIdx, last: itemIdx });
299
- break;
300
- }
301
- }
302
- _adjustCellsAroundViewport(props, cellsAroundViewport) {
303
- const { data, getItemCount } = props, onEndReachedThreshold = onEndReachedThresholdOrDefault(
304
- props.onEndReachedThreshold
305
- ), { contentLength, offset, visibleLength } = this._scrollMetrics, distanceFromEnd = contentLength - visibleLength - offset;
306
- if (visibleLength <= 0 || contentLength <= 0)
307
- return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
308
- let newCellsAroundViewport;
309
- if (props.disableVirtualization) {
310
- const renderAhead = distanceFromEnd < onEndReachedThreshold * visibleLength ? maxToRenderPerBatchOrDefault(props.maxToRenderPerBatch) : 0;
311
- newCellsAroundViewport = {
312
- first: 0,
313
- last: Math.min(cellsAroundViewport.last + renderAhead, getItemCount(data) - 1)
314
- };
315
- } else {
316
- if (props.initialScrollIndex && !this._scrollMetrics.offset && Math.abs(distanceFromEnd) >= Number.EPSILON)
317
- return cellsAroundViewport.last >= getItemCount(data) ? VirtualizedList._constrainToItemCount(cellsAroundViewport, props) : cellsAroundViewport;
318
- newCellsAroundViewport = computeWindowedRenderLimits(
319
- props,
320
- maxToRenderPerBatchOrDefault(props.maxToRenderPerBatch),
321
- windowSizeOrDefault(props.windowSize),
322
- cellsAroundViewport,
323
- this.__getFrameMetricsApprox,
324
- this._scrollMetrics
325
- ), (0, import_react_native_web_internals.invariant)(
326
- newCellsAroundViewport.last < getItemCount(data),
327
- "computeWindowedRenderLimits() should return range in-bounds"
328
- );
329
- }
330
- if (this._nestedChildLists.size() > 0) {
331
- const childIdx = this._findFirstChildWithMore(
332
- newCellsAroundViewport.first,
333
- newCellsAroundViewport.last
334
- );
335
- newCellsAroundViewport.last = childIdx ?? newCellsAroundViewport.last;
336
- }
337
- return newCellsAroundViewport;
338
- }
339
- _findFirstChildWithMore(first, last) {
340
- for (let ii = first; ii <= last; ii++) {
341
- const cellKeyForIndex = this._indicesToKeys.get(ii);
342
- if (cellKeyForIndex != null && this._nestedChildLists.anyInCell(
343
- cellKeyForIndex,
344
- (childList) => childList.hasMore()
345
- ))
346
- return ii;
347
- }
348
- return null;
349
- }
350
- componentDidMount() {
351
- this._isNestedWithSameOrientation() && this.context.registerAsNestedChild({
352
- ref: this,
353
- cellKey: this.context.cellKey
354
- }), this.setupWebWheelHandler();
355
- }
356
- componentWillUnmount() {
357
- this._isNestedWithSameOrientation() && this.context.unregisterAsNestedChild({ ref: this }), this._updateCellsToRenderBatcher.dispose({ abort: !0 }), this._viewabilityTuples.forEach((tuple) => {
358
- tuple.viewabilityHelper.dispose();
359
- }), this._fillRateHelper.deactivateAndFlush(), this.teardownWebWheelHandler();
360
- }
361
- setupWebWheelHandler() {
362
157
  if (this._scrollRef && this._scrollRef.getScrollableNode)
363
- this._scrollRef.getScrollableNode().addEventListener("wheel", this.invertedWheelEventHandler);
364
- else {
365
- setTimeout(() => this.setupWebWheelHandler(), 50);
366
- return;
367
- }
158
+ return this._scrollRef.getScrollableNode();
368
159
  }
369
- teardownWebWheelHandler() {
370
- this._scrollRef && this._scrollRef.getScrollableNode && this._scrollRef.getScrollableNode().removeEventListener("wheel", this.invertedWheelEventHandler);
160
+ getScrollRef() {
161
+ return this._scrollRef;
371
162
  }
372
- static getDerivedStateFromProps(newProps, prevState) {
373
- if (newProps.getItemCount(newProps.data) === prevState.renderMask.numCells())
374
- return prevState;
375
- const constrainedCells = VirtualizedList._constrainToItemCount(
376
- prevState.cellsAroundViewport,
377
- newProps
378
- );
379
- return {
380
- cellsAroundViewport: constrainedCells,
381
- renderMask: VirtualizedList._createRenderMask(newProps, constrainedCells)
382
- };
163
+ setNativeProps(props) {
164
+ this._scrollRef && this._scrollRef.setNativeProps(props);
383
165
  }
384
- _pushCells(cells, stickyHeaderIndices, stickyIndicesFromProps, first, last, inversionStyle) {
166
+ render() {
385
167
  const {
386
- CellRendererComponent,
387
- ItemSeparatorComponent,
168
+ ListEmptyComponent,
169
+ ListFooterComponent,
388
170
  ListHeaderComponent,
389
- ListItemComponent,
390
171
  data,
391
172
  debug,
173
+ disableVirtualization,
392
174
  getItem,
393
175
  getItemCount,
394
176
  getItemLayout,
395
177
  horizontal,
396
- renderItem
397
- } = this.props, stickyOffset = ListHeaderComponent ? 1 : 0, end = getItemCount(data) - 1;
398
- let prevCellKey;
399
- last = Math.min(end, last);
400
- for (let ii = first; ii <= last; ii++) {
401
- const item = getItem(data, ii), key = this._keyExtractor(item, ii, this.props);
402
- this._indicesToKeys.set(ii, key), stickyIndicesFromProps.has(ii + stickyOffset) && stickyHeaderIndices.push(cells.length);
403
- const shouldListenForLayout = getItemLayout == null || debug || this._fillRateHelper.enabled();
404
- cells.push(
178
+ keyExtractor,
179
+ numColumns,
180
+ onEndReached,
181
+ onEndReachedThreshold,
182
+ onLayout,
183
+ onRefresh,
184
+ onScroll,
185
+ onScrollBeginDrag,
186
+ onScrollEndDrag,
187
+ onMomentumScrollBegin,
188
+ onMomentumScrollEnd,
189
+ onStartReached,
190
+ onStartReachedThreshold,
191
+ onViewableItemsChanged,
192
+ refreshing,
193
+ removeClippedSubviews,
194
+ renderItem,
195
+ viewabilityConfig,
196
+ viewabilityConfigCallbackPairs,
197
+ ...restProps
198
+ } = this.props;
199
+ return getItemCount(data) === 0 ? ListEmptyComponent ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ListEmptyComponent, {}) : null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
200
+ import_ScrollView.default,
201
+ {
202
+ ...restProps,
203
+ ref: this._captureRef,
204
+ onContentSizeChange: this._onContentSizeChange,
205
+ onLayout: this._onLayout,
206
+ onScroll: this._onScroll,
207
+ refreshControl: onRefresh && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_RefreshControl.default, { refreshing, onRefresh }),
208
+ scrollEventThrottle: scrollEventThrottleOrDefault(this.props.scrollEventThrottle),
209
+ removeClippedSubviews,
210
+ children: this._renderChildren()
211
+ }
212
+ );
213
+ }
214
+ _renderChildren() {
215
+ const { data, getItem, getItemCount, renderItem } = this.props, items = [];
216
+ for (let i = 0; i < getItemCount(data); i++) {
217
+ const item = getItem(data, i);
218
+ items.push(
405
219
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
406
220
  import_VirtualizedListCellRenderer.default,
407
221
  {
408
- CellRendererComponent,
409
- ItemSeparatorComponent: ii < end ? ItemSeparatorComponent : void 0,
410
- ListItemComponent,
411
- cellKey: key,
412
- horizontal,
413
- index: ii,
414
- inversionStyle,
222
+ cellKey: String(i),
223
+ index: i,
415
224
  item,
416
- prevCellKey,
417
- onUpdateSeparators: this._onUpdateSeparators,
418
- onCellFocusCapture: (e) => this._onCellFocusCapture(key),
419
- onUnmount: this._onCellUnmount,
420
- ref: (ref) => {
421
- this._cellRefs[key] = ref;
422
- },
423
- renderItem,
424
- ...shouldListenForLayout && {
425
- onCellLayout: this._onCellLayout
426
- }
427
- },
428
- key
429
- )
430
- ), prevCellKey = key;
431
- }
432
- }
433
- static _constrainToItemCount(cells, props) {
434
- const itemCount = props.getItemCount(props.data), last = Math.min(itemCount - 1, cells.last), maxToRenderPerBatch = maxToRenderPerBatchOrDefault(props.maxToRenderPerBatch);
435
- return {
436
- first: (0, import_clamp.default)(0, itemCount - 1 - maxToRenderPerBatch, cells.first),
437
- last
438
- };
439
- }
440
- _onUpdateSeparators = (keys, newProps) => {
441
- keys.forEach((key) => {
442
- const ref = key != null && this._cellRefs[key];
443
- ref && ref.updateSeparatorProps(newProps);
444
- });
445
- };
446
- _isNestedWithSameOrientation() {
447
- const nestedContext = this.context;
448
- return !!(nestedContext && !!nestedContext.horizontal === horizontalOrDefault(this.props.horizontal));
449
- }
450
- _getSpacerKey = (isVertical) => isVertical ? "height" : "width";
451
- _keyExtractor(item, index, props) {
452
- if (props.keyExtractor != null)
453
- return props.keyExtractor(item, index);
454
- const key = (0, import_VirtualizeUtils.keyExtractor)(item, index);
455
- return key === String(index) && (_usedIndexForKey = !0, item.type && item.type.displayName && (_keylessItemComponentName = item.type.displayName)), key;
456
- }
457
- render() {
458
- this._checkProps(this.props);
459
- const { ListEmptyComponent, ListFooterComponent, ListHeaderComponent } = this.props, { data, horizontal } = this.props, inversionStyle = this.props.inverted ? horizontalOrDefault(this.props.horizontal) ? styles.horizontallyInverted : styles.verticallyInverted : null, cells = [], stickyIndicesFromProps = new Set(this.props.stickyHeaderIndices), stickyHeaderIndices = [];
460
- if (ListHeaderComponent) {
461
- stickyIndicesFromProps.has(0) && stickyHeaderIndices.push(0);
462
- const element = import_react.default.isValidElement(ListHeaderComponent) ? ListHeaderComponent : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ListHeaderComponent, {});
463
- cells.push(
464
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
465
- import_VirtualizedListContext.VirtualizedListCellContextProvider,
466
- {
467
- cellKey: this._getCellKey() + "-header",
468
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
469
- import_View.default,
470
- {
471
- onLayout: this._onLayoutHeader,
472
- style: [inversionStyle, this.props.ListHeaderComponentStyle],
473
- children: element
474
- }
475
- )
225
+ renderItem
476
226
  },
477
- "$header"
227
+ this.props.keyExtractor ? this.props.keyExtractor(item, i) : i
478
228
  )
479
229
  );
480
230
  }
481
- const itemCount = this.props.getItemCount(data);
482
- if (itemCount === 0 && ListEmptyComponent) {
483
- const element = import_react.default.isValidElement(
484
- ListEmptyComponent
485
- ) ? ListEmptyComponent : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ListEmptyComponent, {});
486
- cells.push(
487
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
488
- import_VirtualizedListContext.VirtualizedListCellContextProvider,
489
- {
490
- cellKey: this._getCellKey() + "-empty",
491
- children: import_react.default.cloneElement(element, {
492
- onLayout: (event) => {
493
- this._onLayoutEmpty(event), element.props.onLayout && element.props.onLayout(event);
494
- },
495
- style: [inversionStyle, element.props.style]
496
- })
497
- },
498
- "$empty"
499
- )
500
- );
501
- }
502
- if (itemCount > 0) {
503
- _usedIndexForKey = !1, _keylessItemComponentName = "";
504
- const spacerKey = this._getSpacerKey(!horizontal), renderRegions = this.state.renderMask.enumerateRegions(), lastSpacer = findLastWhere(renderRegions, (r) => r.isSpacer);
505
- for (const section of renderRegions)
506
- if (section.isSpacer) {
507
- if (this.props.disableVirtualization)
508
- continue;
509
- const last = section === lastSpacer && !this.props.getItemLayout ? (0, import_clamp.default)(section.first - 1, section.last, this._highestMeasuredFrameIndex) : section.last, firstMetrics = this.__getFrameMetricsApprox(section.first, this.props), lastMetrics = this.__getFrameMetricsApprox(last, this.props), spacerSize = lastMetrics.offset + lastMetrics.length - firstMetrics.offset;
510
- cells.push(
511
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_View.default, { style: { [spacerKey]: spacerSize } }, `$spacer-${section.first}`)
512
- );
513
- } else
514
- this._pushCells(
515
- cells,
516
- stickyHeaderIndices,
517
- stickyIndicesFromProps,
518
- section.first,
519
- section.last,
520
- inversionStyle
521
- );
522
- !this._hasWarned.keys && _usedIndexForKey && (console.warn(
523
- "VirtualizedList: missing keys for items, make sure to specify a key or id property on each item or provide a custom keyExtractor.",
524
- _keylessItemComponentName
525
- ), this._hasWarned.keys = !0);
526
- }
527
- if (ListFooterComponent) {
528
- const element = import_react.default.isValidElement(ListFooterComponent) ? ListFooterComponent : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ListFooterComponent, {});
529
- cells.push(
530
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
531
- import_VirtualizedListContext.VirtualizedListCellContextProvider,
532
- {
533
- cellKey: this._getFooterCellKey(),
534
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
535
- import_View.default,
536
- {
537
- onLayout: this._onLayoutFooter,
538
- style: [inversionStyle, this.props.ListFooterComponentStyle],
539
- children: element
540
- }
541
- )
542
- },
543
- "$footer"
544
- )
545
- );
546
- }
547
- const scrollProps = {
548
- ...this.props,
549
- onContentSizeChange: this._onContentSizeChange,
550
- onLayout: this._onLayout,
551
- onScroll: this._onScroll,
552
- onScrollBeginDrag: this._onScrollBeginDrag,
553
- onScrollEndDrag: this._onScrollEndDrag,
554
- onMomentumScrollBegin: this._onMomentumScrollBegin,
555
- onMomentumScrollEnd: this._onMomentumScrollEnd,
556
- scrollEventThrottle: scrollEventThrottleOrDefault(this.props.scrollEventThrottle),
557
- invertStickyHeaders: this.props.invertStickyHeaders !== void 0 ? this.props.invertStickyHeaders : this.props.inverted,
558
- stickyHeaderIndices,
559
- style: inversionStyle ? [inversionStyle, this.props.style] : this.props.style
560
- };
561
- return this._hasMore = this.state.cellsAroundViewport.last < itemCount - 1, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
562
- import_VirtualizedListContext.VirtualizedListContextProvider,
563
- {
564
- value: {
565
- cellKey: null,
566
- getScrollMetrics: this._getScrollMetrics,
567
- horizontal: horizontalOrDefault(this.props.horizontal),
568
- getOutermostParentListRef: this._getOutermostParentListRef,
569
- registerAsNestedChild: this._registerAsNestedChild,
570
- unregisterAsNestedChild: this._unregisterAsNestedChild
571
- },
572
- children: import_react.default.cloneElement(
573
- (this.props.renderScrollComponent || this._defaultRenderScrollComponent)(
574
- scrollProps
575
- ),
576
- {
577
- ref: this._captureScrollRef
578
- },
579
- cells
580
- )
581
- }
582
- );
231
+ return items;
583
232
  }
584
- componentDidUpdate(prevProps) {
585
- const { data, extraData } = this.props;
586
- (data !== prevProps.data || extraData !== prevProps.extraData) && this._viewabilityTuples.forEach((tuple) => {
587
- tuple.viewabilityHelper.resetViewableIndices();
588
- });
589
- const hiPriInProgress = this._hiPriInProgress;
590
- this._scheduleCellsToRenderUpdate(), hiPriInProgress && (this._hiPriInProgress = !1);
591
- }
592
- _averageCellLength = 0;
593
- _cellRefs = {};
594
- _fillRateHelper;
595
- _frames = {};
596
- _footerLength = 0;
597
- _hasTriggeredInitialScrollToIndex = !1;
598
- _hasInteracted = !1;
599
- _hasMore = !1;
600
- _hasWarned = {};
601
- _headerLength = 0;
602
- _hiPriInProgress = !1;
603
- _highestMeasuredFrameIndex = 0;
604
- _indicesToKeys = /* @__PURE__ */ new Map();
605
- _lastFocusedCellKey = null;
606
- _nestedChildLists = new import_ChildListCollection.default();
607
- _offsetFromParentVirtualizedList = 0;
608
- _prevParentOffset = 0;
609
- _scrollMetrics = {
610
- contentLength: 0,
611
- dOffset: 0,
612
- dt: 10,
613
- offset: 0,
614
- timestamp: 0,
615
- velocity: 0,
616
- visibleLength: 0,
617
- zoomScale: 1
618
- };
619
- _scrollRef = null;
620
- _sentStartForContentLength = 0;
621
- _sentEndForContentLength = 0;
622
- _totalCellLength = 0;
623
- _totalCellsMeasured = 0;
624
- _updateCellsToRenderBatcher;
625
- _viewabilityTuples = [];
626
- _captureScrollRef = (ref) => {
233
+ _captureRef = (ref) => {
627
234
  this._scrollRef = ref;
628
235
  };
629
- _computeBlankness() {
630
- this._fillRateHelper.computeBlankness(
631
- // @ts-ignore
632
- this.props,
633
- this.state.cellsAroundViewport,
634
- this._scrollMetrics
635
- );
636
- }
637
- _defaultRenderScrollComponent = (props) => {
638
- const onRefresh = props.onRefresh;
639
- return this._isNestedWithSameOrientation() ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_View.default, { ...props }) : onRefresh ? ((0, import_react_native_web_internals.invariant)(
640
- typeof props.refreshing == "boolean",
641
- "`refreshing` prop must be set as a boolean in order to use `onRefresh`, but got `" + JSON.stringify(props.refreshing ?? "undefined") + "`"
642
- ), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
643
- import_ScrollViewBase.default,
644
- {
645
- ...props,
646
- refreshControl: props.refreshControl == null ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
647
- import_RefreshControl.default,
648
- {
649
- refreshing: props.refreshing,
650
- onRefresh,
651
- progressViewOffset: props.progressViewOffset
652
- }
653
- ) : props.refreshControl
654
- }
655
- )) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ScrollViewBase.default, { ...props });
656
- };
657
- _onCellLayout = (e, cellKey, index) => {
658
- const layout = e.nativeEvent.layout, next = {
659
- offset: this._selectOffset(layout),
660
- length: this._selectLength(layout),
661
- index,
662
- inLayout: !0
663
- }, curr = this._frames[cellKey];
664
- !curr || next.offset !== curr.offset || next.length !== curr.length || index !== curr.index ? (this._totalCellLength += next.length - (curr ? curr.length : 0), this._totalCellsMeasured += curr ? 0 : 1, this._averageCellLength = this._totalCellLength / this._totalCellsMeasured, this._frames[cellKey] = next, this._highestMeasuredFrameIndex = Math.max(this._highestMeasuredFrameIndex, index), this._scheduleCellsToRenderUpdate()) : this._frames[cellKey].inLayout = !0, this._triggerRemeasureForChildListsInCell(cellKey), this._computeBlankness(), this._updateViewableItems(
665
- // @ts-ignore
666
- this.props,
667
- this.state.cellsAroundViewport
668
- );
669
- };
670
- _onCellFocusCapture(cellKey) {
671
- this._lastFocusedCellKey = cellKey, this._updateCellsToRender();
672
- }
673
- _onCellUnmount = (cellKey) => {
674
- delete this._cellRefs[cellKey];
675
- const curr = this._frames[cellKey];
676
- curr && (this._frames[cellKey] = { ...curr, inLayout: !1 });
677
- };
678
- _triggerRemeasureForChildListsInCell(cellKey) {
679
- this._nestedChildLists.forEachInCell(cellKey, (childList) => {
680
- childList.measureLayoutRelativeToContainingList();
681
- });
682
- }
683
- measureLayoutRelativeToContainingList() {
684
- try {
685
- if (!this._scrollRef)
686
- return;
687
- this._scrollRef.measureLayout(
688
- this.context.getOutermostParentListRef().getScrollRef(),
689
- (x, y, width, height) => {
690
- this._offsetFromParentVirtualizedList = this._selectOffset({ x, y }), this._scrollMetrics.contentLength = this._selectLength({
691
- width,
692
- height
693
- });
694
- const scrollMetrics = this._convertParentScrollMetrics(
695
- this.context.getScrollMetrics()
696
- );
697
- (this._scrollMetrics.visibleLength !== scrollMetrics.visibleLength || this._scrollMetrics.offset !== scrollMetrics.offset) && (this._scrollMetrics.visibleLength = scrollMetrics.visibleLength, this._scrollMetrics.offset = scrollMetrics.offset, this._nestedChildLists.forEach((childList) => {
698
- childList.measureLayoutRelativeToContainingList();
699
- }));
700
- },
701
- (error) => {
702
- console.warn(
703
- "VirtualizedList: Encountered an error while measuring a list's offset from its containing VirtualizedList."
704
- );
705
- }
706
- );
707
- } catch (error) {
708
- console.warn("measureLayoutRelativeToContainingList threw an error", error.stack);
709
- }
710
- }
711
- _onLayout = (e) => {
712
- this._isNestedWithSameOrientation() ? this.measureLayoutRelativeToContainingList() : this._scrollMetrics.visibleLength = this._selectLength(e.nativeEvent.layout), this.props.onLayout && this.props.onLayout(e), this._scheduleCellsToRenderUpdate(), this._maybeCallOnEdgeReached();
713
- };
714
- _onLayoutEmpty = (e) => {
715
- this.props.onLayout && this.props.onLayout(e);
716
- };
717
- _getFooterCellKey() {
718
- return this._getCellKey() + "-footer";
719
- }
720
- _onLayoutFooter = (e) => {
721
- this._triggerRemeasureForChildListsInCell(this._getFooterCellKey()), this._footerLength = this._selectLength(e.nativeEvent.layout);
722
- };
723
- _onLayoutHeader = (e) => {
724
- this._headerLength = this._selectLength(e.nativeEvent.layout);
725
- };
726
- _renderDebugOverlay() {
727
- const normalize = this._scrollMetrics.visibleLength / (this._scrollMetrics.contentLength || 1), framesInLayout = [], itemCount = this.props.getItemCount(this.props.data);
728
- for (let ii = 0; ii < itemCount; ii++) {
729
- const frame = this.__getFrameMetricsApprox(ii, this.props);
730
- frame.inLayout && framesInLayout.push(frame);
731
- }
732
- const windowTop = this.__getFrameMetricsApprox(
733
- this.state.cellsAroundViewport.first,
734
- this.props
735
- ).offset, frameLast = this.__getFrameMetricsApprox(
736
- this.state.cellsAroundViewport.last,
737
- this.props
738
- ), windowLen = frameLast.offset + frameLast.length - windowTop, visTop = this._scrollMetrics.offset, visLen = this._scrollMetrics.visibleLength;
739
- return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_View.default, { style: [styles.debugOverlayBase, styles.debugOverlay], children: [
740
- framesInLayout.map((f, ii) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
741
- import_View.default,
742
- {
743
- style: [
744
- styles.debugOverlayBase,
745
- styles.debugOverlayFrame,
746
- {
747
- top: f.offset * normalize,
748
- height: f.length * normalize
749
- }
750
- ]
751
- },
752
- "f" + ii
753
- )),
754
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
755
- import_View.default,
756
- {
757
- style: [
758
- styles.debugOverlayBase,
759
- styles.debugOverlayFrameLast,
760
- {
761
- top: windowTop * normalize,
762
- height: windowLen * normalize
763
- }
764
- ]
765
- }
766
- ),
767
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
768
- import_View.default,
769
- {
770
- style: [
771
- styles.debugOverlayBase,
772
- styles.debugOverlayFrameVis,
773
- {
774
- top: visTop * normalize,
775
- height: visLen * normalize
776
- }
777
- ]
778
- }
779
- )
780
- ] });
781
- }
782
- _selectLength(metrics) {
783
- return horizontalOrDefault(this.props.horizontal) ? metrics.width : metrics.height;
784
- }
785
- _selectOffset(metrics) {
786
- return horizontalOrDefault(this.props.horizontal) ? metrics.x : metrics.y;
787
- }
788
- _maybeCallOnEdgeReached() {
789
- const {
790
- data,
791
- getItemCount,
792
- onStartReached,
793
- onStartReachedThreshold,
794
- onEndReached,
795
- onEndReachedThreshold,
796
- initialScrollIndex
797
- } = this.props, { contentLength, visibleLength, offset } = this._scrollMetrics;
798
- let distanceFromStart = offset, distanceFromEnd = contentLength - visibleLength - offset;
799
- distanceFromStart < ON_EDGE_REACHED_EPSILON && (distanceFromStart = 0), distanceFromEnd < ON_EDGE_REACHED_EPSILON && (distanceFromEnd = 0);
800
- const DEFAULT_THRESHOLD_PX = 2, startThreshold = onStartReachedThreshold != null ? onStartReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX, endThreshold = onEndReachedThreshold != null ? onEndReachedThreshold * visibleLength : DEFAULT_THRESHOLD_PX, isWithinStartThreshold = distanceFromStart <= startThreshold, isWithinEndThreshold = distanceFromEnd <= endThreshold;
801
- onEndReached && this.state.cellsAroundViewport.last === getItemCount(data) - 1 && isWithinEndThreshold && this._scrollMetrics.contentLength !== this._sentEndForContentLength ? (this._sentEndForContentLength = this._scrollMetrics.contentLength, onEndReached({ distanceFromEnd })) : onStartReached != null && this.state.cellsAroundViewport.first === 0 && isWithinStartThreshold && this._scrollMetrics.contentLength !== this._sentStartForContentLength ? (!initialScrollIndex || this._scrollMetrics.timestamp !== 0) && (this._sentStartForContentLength = this._scrollMetrics.contentLength, onStartReached({ distanceFromStart })) : (this._sentStartForContentLength = isWithinStartThreshold ? this._sentStartForContentLength : 0, this._sentEndForContentLength = isWithinEndThreshold ? this._sentEndForContentLength : 0);
802
- }
803
236
  _onContentSizeChange = (width, height) => {
804
- width > 0 && height > 0 && this.props.initialScrollIndex != null && this.props.initialScrollIndex > 0 && !this._hasTriggeredInitialScrollToIndex && (this.props.contentOffset == null && (this.props.initialScrollIndex < this.props.getItemCount(this.props.data) ? this.scrollToIndex({
805
- animated: !1,
806
- index: nullthrows(this.props.initialScrollIndex)
807
- }) : this.scrollToEnd({ animated: !1 })), this._hasTriggeredInitialScrollToIndex = !0), this.props.onContentSizeChange && this.props.onContentSizeChange(width, height), this._scrollMetrics.contentLength = this._selectLength({ height, width }), this._scheduleCellsToRenderUpdate(), this._maybeCallOnEdgeReached();
808
237
  };
809
- _convertParentScrollMetrics = (metrics) => {
810
- const offset = metrics.offset - this._offsetFromParentVirtualizedList, visibleLength = metrics.visibleLength, dOffset = offset - this._scrollMetrics.offset, contentLength = this._scrollMetrics.contentLength;
811
- return {
812
- visibleLength,
813
- contentLength,
814
- offset,
815
- dOffset
816
- };
238
+ _onLayout = (event) => {
817
239
  };
818
- _onScroll = (e) => {
819
- this._nestedChildLists.forEach((childList) => {
820
- childList._onScroll(e);
821
- }), this.props.onScroll && this.props.onScroll(e);
822
- const timestamp = e.timeStamp;
823
- let visibleLength = this._selectLength(e.nativeEvent.layoutMeasurement), contentLength = this._selectLength(e.nativeEvent.contentSize), offset = this._selectOffset(e.nativeEvent.contentOffset), dOffset = offset - this._scrollMetrics.offset;
824
- if (this._isNestedWithSameOrientation()) {
825
- if (this._scrollMetrics.contentLength === 0)
826
- return;
827
- ({ visibleLength, contentLength, offset, dOffset } = this._convertParentScrollMetrics({
828
- visibleLength,
829
- offset
830
- }));
831
- }
832
- const dt = this._scrollMetrics.timestamp ? Math.max(1, timestamp - this._scrollMetrics.timestamp) : 1, velocity = dOffset / dt;
833
- dt > 500 && this._scrollMetrics.dt > 500 && contentLength > 5 * visibleLength && !this._hasWarned.perf && (infoLog(
834
- "VirtualizedList: You have a large list that is slow to update - make sure your renderItem function renders components that follow React performance best practices like PureComponent, shouldComponentUpdate, etc.",
835
- { dt, prevDt: this._scrollMetrics.dt, contentLength }
836
- ), this._hasWarned.perf = !0);
837
- const zoomScale = e.nativeEvent.zoomScale < 0 ? 1 : e.nativeEvent.zoomScale;
838
- this._scrollMetrics = {
839
- contentLength,
840
- dt,
841
- dOffset,
842
- offset,
843
- timestamp,
844
- velocity,
845
- visibleLength,
846
- zoomScale
847
- }, this._updateViewableItems(this.props, this.state.cellsAroundViewport), this.props && (this._maybeCallOnEdgeReached(), velocity !== 0 && this._fillRateHelper.activate(), this._computeBlankness(), this._scheduleCellsToRenderUpdate());
240
+ _onScroll = (event) => {
848
241
  };
849
- _scheduleCellsToRenderUpdate() {
850
- const { first, last } = this.state.cellsAroundViewport, { offset, visibleLength, velocity } = this._scrollMetrics, itemCount = this.props.getItemCount(this.props.data);
851
- let hiPri = !1;
852
- const onStartReachedThreshold = onStartReachedThresholdOrDefault(
853
- this.props.onStartReachedThreshold
854
- ), onEndReachedThreshold = onEndReachedThresholdOrDefault(
855
- this.props.onEndReachedThreshold
856
- );
857
- if (first > 0) {
858
- const distTop = offset - this.__getFrameMetricsApprox(first, this.props).offset;
859
- hiPri = distTop < 0 || velocity < -2 && distTop < getScrollingThreshold(onStartReachedThreshold, visibleLength);
860
- }
861
- if (!hiPri && last >= 0 && last < itemCount - 1) {
862
- const distBottom = this.__getFrameMetricsApprox(last, this.props).offset - (offset + visibleLength);
863
- hiPri = distBottom < 0 || velocity > 2 && distBottom < getScrollingThreshold(onEndReachedThreshold, visibleLength);
864
- }
865
- if (hiPri && (this._averageCellLength || this.props.getItemLayout) && !this._hiPriInProgress) {
866
- this._hiPriInProgress = !0, this._updateCellsToRenderBatcher.dispose({ abort: !0 }), this._updateCellsToRender();
867
- return;
868
- } else
869
- this._updateCellsToRenderBatcher.schedule();
870
- }
871
- _onScrollBeginDrag = (e) => {
872
- this._nestedChildLists.forEach((childList) => {
873
- childList._onScrollBeginDrag(e);
874
- }), this._viewabilityTuples.forEach((tuple) => {
875
- tuple.viewabilityHelper.recordInteraction();
876
- }), this._hasInteracted = !0, this.props.onScrollBeginDrag && this.props.onScrollBeginDrag(e);
877
- };
878
- _onScrollEndDrag = (e) => {
879
- this._nestedChildLists.forEach((childList) => {
880
- childList._onScrollEndDrag(e);
881
- });
882
- const { velocity } = e.nativeEvent;
883
- velocity && (this._scrollMetrics.velocity = this._selectOffset(velocity)), this._computeBlankness(), this.props.onScrollEndDrag && this.props.onScrollEndDrag(e);
884
- };
885
- _onMomentumScrollBegin = (e) => {
886
- this._nestedChildLists.forEach((childList) => {
887
- childList._onMomentumScrollBegin(e);
888
- }), this.props.onMomentumScrollBegin && this.props.onMomentumScrollBegin(e);
889
- };
890
- _onMomentumScrollEnd = (e) => {
891
- this._nestedChildLists.forEach((childList) => {
892
- childList._onMomentumScrollEnd(e);
893
- }), this._scrollMetrics.velocity = 0, this._computeBlankness(), this.props.onMomentumScrollEnd && this.props.onMomentumScrollEnd(e);
894
- };
895
- _updateCellsToRender = () => {
896
- this._updateViewableItems(this.props, this.state.cellsAroundViewport), this.setState((state, props) => {
897
- const cellsAroundViewport = this._adjustCellsAroundViewport(
898
- props,
899
- state.cellsAroundViewport
900
- ), renderMask = VirtualizedList._createRenderMask(
901
- props,
902
- cellsAroundViewport,
903
- this._getNonViewportRenderRegions(props)
904
- );
905
- return cellsAroundViewport.first === state.cellsAroundViewport.first && cellsAroundViewport.last === state.cellsAroundViewport.last && renderMask.equals(state.renderMask) ? null : { cellsAroundViewport, renderMask };
906
- });
907
- };
908
- _createViewToken = (index, isViewable, props) => {
909
- const { data, getItem } = props, item = getItem(data, index);
242
+ __getFrameMetricsApprox(index, props) {
910
243
  return {
911
- index,
912
- item,
913
- key: this._keyExtractor(item, index, props),
914
- isViewable
244
+ length: this._averageCellLength,
245
+ offset: this._averageCellLength * index
915
246
  };
916
- };
917
- _getOffsetApprox = (index, props) => {
918
- if (Number.isInteger(index))
919
- return this.__getFrameMetricsApprox(index, props).offset;
920
- {
921
- const frameMetrics = this.__getFrameMetricsApprox(Math.floor(index), props), remainder = index - Math.floor(index);
922
- return frameMetrics.offset + remainder * frameMetrics.length;
923
- }
924
- };
925
- __getFrameMetricsApprox = (index, props) => {
926
- const frame = this._getFrameMetrics(index, props);
927
- if (frame && frame.index === index)
928
- return frame;
929
- {
930
- const { data, getItemCount, getItemLayout } = props;
931
- return (0, import_react_native_web_internals.invariant)(
932
- index >= 0 && index < getItemCount(data),
933
- "Tried to get frame for out of range index " + index
934
- ), (0, import_react_native_web_internals.invariant)(
935
- !getItemLayout,
936
- "Should not have to estimate frames when a measurement metrics function is provided"
937
- ), {
938
- length: this._averageCellLength,
939
- offset: this._averageCellLength * index
940
- };
941
- }
942
- };
943
- _getFrameMetrics = (index, props) => {
944
- const { data, getItem, getItemCount, getItemLayout } = props;
945
- (0, import_react_native_web_internals.invariant)(
946
- index >= 0 && index < getItemCount(data),
947
- "Tried to get frame for out of range index " + index
948
- );
949
- const item = getItem(data, index), frame = this._frames[this._keyExtractor(item, index, props)];
950
- return (!frame || frame.index !== index) && getItemLayout ? getItemLayout(data, index) : frame;
951
- };
952
- _getNonViewportRenderRegions = (props) => {
953
- if (!(this._lastFocusedCellKey && this._cellRefs[this._lastFocusedCellKey]))
954
- return [];
955
- const focusedCellIndex = this._cellRefs[this._lastFocusedCellKey].props.index, itemCount = props.getItemCount(props.data);
956
- if (focusedCellIndex >= itemCount || this._keyExtractor(
957
- props.getItem(props.data, focusedCellIndex),
958
- focusedCellIndex,
959
- props
960
- ) !== this._lastFocusedCellKey)
961
- return [];
962
- let first = focusedCellIndex, heightOfCellsBeforeFocused = 0;
963
- for (let i = first - 1; i >= 0 && heightOfCellsBeforeFocused < this._scrollMetrics.visibleLength; i--)
964
- first--, heightOfCellsBeforeFocused += this.__getFrameMetricsApprox(i, props).length;
965
- let last = focusedCellIndex, heightOfCellsAfterFocused = 0;
966
- for (let i = last + 1; i < itemCount && heightOfCellsAfterFocused < this._scrollMetrics.visibleLength; i++)
967
- last++, heightOfCellsAfterFocused += this.__getFrameMetricsApprox(i, props).length;
968
- return [{ first, last }];
969
- };
970
- _updateViewableItems(props, cellsAroundViewport) {
971
- this._viewabilityTuples.forEach((tuple) => {
972
- tuple.viewabilityHelper.onUpdate(
973
- props,
974
- this._scrollMetrics.offset,
975
- this._scrollMetrics.visibleLength,
976
- this._getFrameMetrics,
977
- this._createViewToken,
978
- tuple.onViewableItemsChanged,
979
- cellsAroundViewport
980
- );
981
- });
982
247
  }
983
- }
984
- const styles = import_react_native_web_internals.StyleSheet.create({
985
- verticallyInverted: {
986
- transform: "scaleY(-1)"
987
- },
988
- horizontallyInverted: {
989
- transform: "scaleX(-1)"
990
- },
991
- debug: {
992
- flex: 1
993
- },
994
- debugOverlayBase: {
995
- position: "absolute",
996
- top: 0,
997
- right: 0
998
- },
999
- debugOverlay: {
1000
- bottom: 0,
1001
- width: 20,
1002
- borderColor: "blue",
1003
- borderWidth: 1
1004
- },
1005
- debugOverlayFrame: {
1006
- left: 0,
1007
- backgroundColor: "orange"
1008
- },
1009
- debugOverlayFrameLast: {
1010
- left: 0,
1011
- borderColor: "green",
1012
- borderWidth: 2
1013
- },
1014
- debugOverlayFrameVis: {
1015
- left: 0,
1016
- borderColor: "red",
1017
- borderWidth: 2
248
+ _getOffsetApprox(index, props) {
249
+ return this.__getFrameMetricsApprox(index, props).offset;
1018
250
  }
1019
- });
251
+ }
1020
252
  var VirtualizedList_default = VirtualizedList;
1021
253
  //# sourceMappingURL=index.js.map