@tamagui/react-native-web-lite 1.116.1 → 1.116.3

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 (442) hide show
  1. package/dist/cjs/AccessibilityInfo/index.js +96 -0
  2. package/dist/cjs/ActivityIndicator/__tests__/index-test.js +116 -0
  3. package/dist/cjs/ActivityIndicator/index.js +108 -0
  4. package/dist/cjs/Alert/index.js +25 -0
  5. package/dist/cjs/AppRegistry/AppContainer.js +41 -0
  6. package/dist/cjs/AppRegistry/__tests__/index-test.js +77 -0
  7. package/dist/cjs/AppRegistry/__tests__/index-test.node.js +131 -0
  8. package/dist/cjs/AppRegistry/index.js +98 -0
  9. package/dist/cjs/AppRegistry/renderApplication.js +51 -0
  10. package/dist/cjs/AppState/__tests__/index-test.js +33 -0
  11. package/dist/cjs/AppState/index.js +71 -0
  12. package/dist/cjs/Appearance/index.js +41 -0
  13. package/dist/cjs/BackHandler/index.js +32 -0
  14. package/dist/cjs/Batchinator/index.cjs +68 -0
  15. package/dist/cjs/Batchinator/index.js +57 -0
  16. package/dist/cjs/Batchinator/index.js.map +6 -0
  17. package/dist/cjs/Batchinator/index.native.js +92 -0
  18. package/dist/cjs/Batchinator/index.native.js.map +6 -0
  19. package/dist/cjs/Clipboard/index.js +47 -0
  20. package/dist/cjs/DeviceEmitter.js +29 -0
  21. package/dist/cjs/DeviceInfo/index.js +62 -0
  22. package/dist/cjs/Dimensions/__tests__/index-test.js +51 -0
  23. package/dist/cjs/Dimensions/index.js +74 -0
  24. package/dist/cjs/FlatList.cjs +196 -0
  25. package/dist/cjs/FlatList.js +193 -0
  26. package/dist/cjs/FlatList.js.map +6 -0
  27. package/dist/cjs/FlatList.native.js +256 -0
  28. package/dist/cjs/FlatList.native.js.map +6 -0
  29. package/dist/cjs/I18nManager/index.js +30 -0
  30. package/dist/cjs/Image/index.js +253 -0
  31. package/dist/cjs/Image/types.js +14 -0
  32. package/dist/cjs/ImageBackground/__tests__/index-test.js +48 -0
  33. package/dist/cjs/ImageBackground/index.js +62 -0
  34. package/dist/cjs/InteractionManager/TaskQueue.cjs +88 -0
  35. package/dist/cjs/InteractionManager/TaskQueue.js +76 -0
  36. package/dist/cjs/InteractionManager/TaskQueue.js.map +6 -0
  37. package/dist/cjs/InteractionManager/TaskQueue.native.js +134 -0
  38. package/dist/cjs/InteractionManager/TaskQueue.native.js.map +6 -0
  39. package/dist/cjs/InteractionManager/index.cjs +114 -0
  40. package/dist/cjs/InteractionManager/index.js +95 -0
  41. package/dist/cjs/InteractionManager/index.js.map +6 -0
  42. package/dist/cjs/InteractionManager/index.native.js +99 -0
  43. package/dist/cjs/InteractionManager/index.native.js.map +6 -0
  44. package/dist/cjs/Keyboard/index.js +35 -0
  45. package/dist/cjs/KeyboardAvoidingView/index.js +56 -0
  46. package/dist/cjs/Linking/__tests__/index-test.js +38 -0
  47. package/dist/cjs/Linking/index.js +86 -0
  48. package/dist/cjs/LogBox/index.js +31 -0
  49. package/dist/cjs/Modal/ModalAnimation.js +137 -0
  50. package/dist/cjs/Modal/ModalContent.js +75 -0
  51. package/dist/cjs/Modal/ModalFocusTrap.js +105 -0
  52. package/dist/cjs/Modal/ModalPortal.js +43 -0
  53. package/dist/cjs/Modal/index.js +92 -0
  54. package/dist/cjs/NativeModules/index.js +25 -0
  55. package/dist/cjs/PanResponder/index.js +29 -0
  56. package/dist/cjs/PixelRatio/index.js +60 -0
  57. package/dist/cjs/Pressable/index.js +140 -0
  58. package/dist/cjs/RefreshControl/index.js +48 -0
  59. package/dist/cjs/SafeAreaView/index.js +43 -0
  60. package/dist/cjs/ScrollView/ScrollViewBase.js +124 -0
  61. package/dist/cjs/ScrollView/index.js +374 -0
  62. package/dist/cjs/Share/index.js +56 -0
  63. package/dist/cjs/StatusBar/index.js +31 -0
  64. package/dist/cjs/Text/index.js +152 -0
  65. package/dist/cjs/Text/types.js +14 -0
  66. package/dist/cjs/TextInput/__tests__/index-test.js +422 -0
  67. package/dist/cjs/TextInput/index.js +260 -0
  68. package/dist/cjs/TextInput/types.js +14 -0
  69. package/dist/cjs/TouchableOpacity.js +123 -0
  70. package/dist/cjs/TouchableWithoutFeedback.js +90 -0
  71. package/dist/cjs/UnimplementedView.js +36 -0
  72. package/dist/cjs/Vibration/index.js +31 -0
  73. package/dist/cjs/View/index.js +101 -0
  74. package/dist/cjs/View/types.js +14 -0
  75. package/dist/cjs/createElement/__tests__/index-test.js +536 -0
  76. package/dist/cjs/createElement/index.js +37 -0
  77. package/dist/cjs/createReactDOMStyle.js +21 -0
  78. package/dist/cjs/findNodeHandle.js +29 -0
  79. package/dist/cjs/index.cjs +7 -7
  80. package/dist/cjs/index.js +110 -0
  81. package/dist/cjs/{index.cjs.map → index.js.map} +1 -1
  82. package/dist/cjs/index.native.js +6 -6
  83. package/dist/cjs/index.native.js.map +1 -1
  84. package/dist/cjs/render/index.js +45 -0
  85. package/dist/cjs/styleTypes.js +14 -0
  86. package/dist/cjs/types.js +14 -0
  87. package/dist/cjs/useColorScheme/index.js +39 -0
  88. package/dist/cjs/useLocaleContext/index.js +21 -0
  89. package/dist/cjs/useWindowDimensions/index.js +41 -0
  90. package/dist/cjs/vendor/react-native/Animated/Animated.js +35 -0
  91. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +143 -0
  92. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +458 -0
  93. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +126 -0
  94. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +2 -0
  95. package/dist/cjs/vendor/react-native/Animated/Easing.js +189 -0
  96. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +335 -0
  97. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +29 -0
  98. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +29 -0
  99. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +70 -0
  100. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +64 -0
  101. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +63 -0
  102. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +146 -0
  103. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +82 -0
  104. package/dist/cjs/vendor/react-native/Animated/bezier.js +72 -0
  105. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +29 -0
  106. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +38 -0
  107. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +29 -0
  108. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +29 -0
  109. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +42 -0
  110. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +57 -0
  111. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +197 -0
  112. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +60 -0
  113. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +58 -0
  114. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +175 -0
  115. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +58 -0
  116. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +57 -0
  117. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +136 -0
  118. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +112 -0
  119. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +100 -0
  120. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +57 -0
  121. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +76 -0
  122. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +100 -0
  123. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +182 -0
  124. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +167 -0
  125. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +67 -0
  126. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +89 -0
  127. package/dist/cjs/vendor/react-native/FeatureFlags.js +28 -0
  128. package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +138 -0
  129. package/dist/cjs/vendor/react-native/FillRateHelper/index.js +124 -0
  130. package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +6 -0
  131. package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js +158 -0
  132. package/dist/cjs/vendor/react-native/FillRateHelper/index.native.js.map +6 -0
  133. package/dist/cjs/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.js +29 -0
  134. package/dist/cjs/vendor/react-native/NativeEventEmitter/index.js +73 -0
  135. package/dist/cjs/vendor/react-native/PanResponder/index.js +272 -0
  136. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +118 -0
  137. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +2 -0
  138. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +28 -0
  139. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +15 -0
  140. package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +29 -0
  141. package/dist/cjs/vendor/react-native/Utilities/clamp.js +24 -0
  142. package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +6 -0
  143. package/dist/cjs/vendor/react-native/Utilities/clamp.native.js +25 -0
  144. package/dist/cjs/vendor/react-native/Utilities/clamp.native.js.map +6 -0
  145. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +29 -0
  146. package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +133 -0
  147. package/dist/cjs/vendor/react-native/ViewabilityHelper.js +144 -0
  148. package/dist/cjs/vendor/react-native/ViewabilityHelper.js.map +6 -0
  149. package/dist/cjs/vendor/react-native/ViewabilityHelper.native.js +199 -0
  150. package/dist/cjs/vendor/react-native/ViewabilityHelper.native.js.map +6 -0
  151. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +106 -0
  152. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js +86 -0
  153. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +6 -0
  154. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.native.js +95 -0
  155. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.native.js.map +6 -0
  156. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +81 -0
  157. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +84 -0
  158. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +6 -0
  159. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js +125 -0
  160. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +6 -0
  161. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +56 -0
  162. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js +59 -0
  163. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +6 -0
  164. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.native.js +153 -0
  165. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +6 -0
  166. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +80 -0
  167. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +74 -0
  168. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +6 -0
  169. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +163 -0
  170. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +6 -0
  171. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +164 -0
  172. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +149 -0
  173. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +6 -0
  174. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +245 -0
  175. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +6 -0
  176. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +84 -0
  177. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +72 -0
  178. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +6 -0
  179. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +85 -0
  180. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +6 -0
  181. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +16 -0
  182. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +14 -0
  183. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +6 -0
  184. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +15 -0
  185. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +6 -0
  186. package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +1003 -0
  187. package/dist/cjs/vendor/react-native/VirtualizedList/index.js +1021 -0
  188. package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +6 -0
  189. package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js +1075 -0
  190. package/dist/cjs/vendor/react-native/VirtualizedList/index.native.js.map +6 -0
  191. package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +41 -0
  192. package/dist/cjs/vendor/react-native/deepDiffer/index.js +47 -0
  193. package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +6 -0
  194. package/dist/cjs/vendor/react-native/deepDiffer/index.native.js +48 -0
  195. package/dist/cjs/vendor/react-native/deepDiffer/index.native.js.map +6 -0
  196. package/dist/cjs/vendor/react-native/emitter/EventEmitter.js +30 -0
  197. package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +2 -0
  198. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js +55 -0
  199. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js +135 -0
  200. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js +37 -0
  201. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js +76 -0
  202. package/dist/cjs/vendor/react-native/infoLog/index.js +25 -0
  203. package/dist/cjs/vendor/react-native/useRefEffect.js +30 -0
  204. package/dist/cjs/without-animated.js +95 -0
  205. package/dist/esm/Batchinator/index.js +33 -0
  206. package/dist/esm/Batchinator/index.js.map +6 -0
  207. package/dist/esm/Batchinator/index.mjs +34 -0
  208. package/dist/esm/Batchinator/index.mjs.map +1 -0
  209. package/dist/esm/Batchinator/index.native.js +67 -0
  210. package/dist/esm/Batchinator/index.native.js.map +6 -0
  211. package/dist/esm/FlatList.js +176 -0
  212. package/dist/esm/FlatList.js.map +6 -0
  213. package/dist/esm/FlatList.mjs +162 -0
  214. package/dist/esm/FlatList.mjs.map +1 -0
  215. package/dist/esm/FlatList.native.js +238 -0
  216. package/dist/esm/FlatList.native.js.map +6 -0
  217. package/dist/esm/InteractionManager/TaskQueue.js +60 -0
  218. package/dist/esm/InteractionManager/TaskQueue.js.map +6 -0
  219. package/dist/esm/InteractionManager/TaskQueue.mjs +65 -0
  220. package/dist/esm/InteractionManager/TaskQueue.mjs.map +1 -0
  221. package/dist/esm/InteractionManager/TaskQueue.native.js +117 -0
  222. package/dist/esm/InteractionManager/TaskQueue.native.js.map +6 -0
  223. package/dist/esm/InteractionManager/index.js +73 -0
  224. package/dist/esm/InteractionManager/index.js.map +6 -0
  225. package/dist/esm/InteractionManager/index.mjs +80 -0
  226. package/dist/esm/InteractionManager/index.mjs.map +1 -0
  227. package/dist/esm/InteractionManager/index.native.js +77 -0
  228. package/dist/esm/InteractionManager/index.native.js.map +6 -0
  229. package/dist/esm/index.js +2 -2
  230. package/dist/esm/index.mjs +2 -2
  231. package/dist/esm/index.native.js +2 -2
  232. package/dist/esm/vendor/react-native/FillRateHelper/index.js +108 -0
  233. package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +6 -0
  234. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +115 -0
  235. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -0
  236. package/dist/esm/vendor/react-native/FillRateHelper/index.native.js +141 -0
  237. package/dist/esm/vendor/react-native/FillRateHelper/index.native.js.map +6 -0
  238. package/dist/esm/vendor/react-native/Utilities/clamp.js +8 -0
  239. package/dist/esm/vendor/react-native/Utilities/clamp.js.map +6 -0
  240. package/dist/esm/vendor/react-native/Utilities/clamp.mjs +6 -0
  241. package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -0
  242. package/dist/esm/vendor/react-native/Utilities/clamp.native.js +8 -0
  243. package/dist/esm/vendor/react-native/Utilities/clamp.native.js.map +6 -0
  244. package/dist/esm/vendor/react-native/ViewabilityHelper.js +128 -0
  245. package/dist/esm/vendor/react-native/ViewabilityHelper.js.map +6 -0
  246. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +110 -0
  247. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +1 -0
  248. package/dist/esm/vendor/react-native/ViewabilityHelper.native.js +182 -0
  249. package/dist/esm/vendor/react-native/ViewabilityHelper.native.js.map +6 -0
  250. package/dist/esm/vendor/react-native/VirtualizeUtils/index.js +70 -0
  251. package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +6 -0
  252. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +80 -0
  253. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -0
  254. package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js +71 -0
  255. package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js.map +6 -0
  256. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +68 -0
  257. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +6 -0
  258. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +58 -0
  259. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -0
  260. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js +104 -0
  261. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +6 -0
  262. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js +43 -0
  263. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +6 -0
  264. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +33 -0
  265. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -0
  266. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js +136 -0
  267. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +6 -0
  268. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +51 -0
  269. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +6 -0
  270. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +46 -0
  271. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -0
  272. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +139 -0
  273. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +6 -0
  274. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +132 -0
  275. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +6 -0
  276. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +130 -0
  277. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -0
  278. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +224 -0
  279. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +6 -0
  280. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +50 -0
  281. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +6 -0
  282. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +47 -0
  283. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -0
  284. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +56 -0
  285. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +6 -0
  286. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +1 -0
  287. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +6 -0
  288. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +2 -0
  289. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs.map +1 -0
  290. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +1 -0
  291. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +6 -0
  292. package/dist/esm/vendor/react-native/VirtualizedList/index.js +1016 -0
  293. package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +6 -0
  294. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +969 -0
  295. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -0
  296. package/dist/esm/vendor/react-native/VirtualizedList/index.native.js +1065 -0
  297. package/dist/esm/vendor/react-native/VirtualizedList/index.native.js.map +6 -0
  298. package/dist/esm/vendor/react-native/deepDiffer/index.js +31 -0
  299. package/dist/esm/vendor/react-native/deepDiffer/index.js.map +6 -0
  300. package/dist/esm/vendor/react-native/deepDiffer/index.mjs +18 -0
  301. package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -0
  302. package/dist/esm/vendor/react-native/deepDiffer/index.native.js +31 -0
  303. package/dist/esm/vendor/react-native/deepDiffer/index.native.js.map +6 -0
  304. package/package.json +6 -6
  305. package/src/Batchinator/index.tsx +78 -0
  306. package/src/FlatList.tsx +330 -0
  307. package/src/InteractionManager/TaskQueue.tsx +114 -0
  308. package/src/InteractionManager/index.tsx +139 -0
  309. package/src/index.tsx +2 -2
  310. package/src/vendor/react-native/FillRateHelper/index.tsx +218 -0
  311. package/src/vendor/react-native/Utilities/clamp.ts +21 -0
  312. package/src/vendor/react-native/ViewabilityHelper.ts +291 -0
  313. package/src/vendor/react-native/VirtualizeUtils/index.tsx +212 -0
  314. package/src/vendor/react-native/VirtualizedList/CellRenderMask.ts +147 -0
  315. package/src/vendor/react-native/VirtualizedList/ChildListCollection.tsx +73 -0
  316. package/src/vendor/react-native/VirtualizedList/StateSafePureComponent.tsx +79 -0
  317. package/src/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.tsx +210 -0
  318. package/src/vendor/react-native/VirtualizedList/VirtualizedListContext.tsx +116 -0
  319. package/src/vendor/react-native/VirtualizedList/VirtualizedListProps.ts +130 -0
  320. package/src/vendor/react-native/VirtualizedList/index.tsx +1797 -0
  321. package/src/vendor/react-native/deepDiffer/index.tsx +56 -0
  322. package/dist/cjs/PanResponder/Alternative.cjs +0 -198
  323. package/dist/cjs/PanResponder/Alternative.cjs.map +0 -6
  324. /package/dist/cjs/AccessibilityInfo/{index.cjs.map → index.js.map} +0 -0
  325. /package/dist/cjs/ActivityIndicator/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  326. /package/dist/cjs/ActivityIndicator/{index.cjs.map → index.js.map} +0 -0
  327. /package/dist/cjs/Alert/{index.cjs.map → index.js.map} +0 -0
  328. /package/dist/cjs/AppRegistry/{AppContainer.cjs.map → AppContainer.js.map} +0 -0
  329. /package/dist/cjs/AppRegistry/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  330. /package/dist/cjs/AppRegistry/__tests__/{index-test.node.cjs.map → index-test.node.js.map} +0 -0
  331. /package/dist/cjs/AppRegistry/{index.cjs.map → index.js.map} +0 -0
  332. /package/dist/cjs/AppRegistry/{renderApplication.cjs.map → renderApplication.js.map} +0 -0
  333. /package/dist/cjs/AppState/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  334. /package/dist/cjs/AppState/{index.cjs.map → index.js.map} +0 -0
  335. /package/dist/cjs/Appearance/{index.cjs.map → index.js.map} +0 -0
  336. /package/dist/cjs/BackHandler/{index.cjs.map → index.js.map} +0 -0
  337. /package/dist/cjs/Clipboard/{index.cjs.map → index.js.map} +0 -0
  338. /package/dist/cjs/{DeviceEmitter.cjs.map → DeviceEmitter.js.map} +0 -0
  339. /package/dist/cjs/DeviceInfo/{index.cjs.map → index.js.map} +0 -0
  340. /package/dist/cjs/Dimensions/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  341. /package/dist/cjs/Dimensions/{index.cjs.map → index.js.map} +0 -0
  342. /package/dist/cjs/I18nManager/{index.cjs.map → index.js.map} +0 -0
  343. /package/dist/cjs/Image/{index.cjs.map → index.js.map} +0 -0
  344. /package/dist/cjs/Image/{types.cjs.map → types.js.map} +0 -0
  345. /package/dist/cjs/ImageBackground/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  346. /package/dist/cjs/ImageBackground/{index.cjs.map → index.js.map} +0 -0
  347. /package/dist/cjs/Keyboard/{index.cjs.map → index.js.map} +0 -0
  348. /package/dist/cjs/KeyboardAvoidingView/{index.cjs.map → index.js.map} +0 -0
  349. /package/dist/cjs/Linking/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  350. /package/dist/cjs/Linking/{index.cjs.map → index.js.map} +0 -0
  351. /package/dist/cjs/LogBox/{index.cjs.map → index.js.map} +0 -0
  352. /package/dist/cjs/Modal/{ModalAnimation.cjs.map → ModalAnimation.js.map} +0 -0
  353. /package/dist/cjs/Modal/{ModalContent.cjs.map → ModalContent.js.map} +0 -0
  354. /package/dist/cjs/Modal/{ModalFocusTrap.cjs.map → ModalFocusTrap.js.map} +0 -0
  355. /package/dist/cjs/Modal/{ModalPortal.cjs.map → ModalPortal.js.map} +0 -0
  356. /package/dist/cjs/Modal/{index.cjs.map → index.js.map} +0 -0
  357. /package/dist/cjs/NativeModules/{index.cjs.map → index.js.map} +0 -0
  358. /package/dist/cjs/PanResponder/{index.cjs.map → index.js.map} +0 -0
  359. /package/dist/cjs/PixelRatio/{index.cjs.map → index.js.map} +0 -0
  360. /package/dist/cjs/Pressable/{index.cjs.map → index.js.map} +0 -0
  361. /package/dist/cjs/RefreshControl/{index.cjs.map → index.js.map} +0 -0
  362. /package/dist/cjs/SafeAreaView/{index.cjs.map → index.js.map} +0 -0
  363. /package/dist/cjs/ScrollView/{ScrollViewBase.cjs.map → ScrollViewBase.js.map} +0 -0
  364. /package/dist/cjs/ScrollView/{index.cjs.map → index.js.map} +0 -0
  365. /package/dist/cjs/Share/{index.cjs.map → index.js.map} +0 -0
  366. /package/dist/cjs/StatusBar/{index.cjs.map → index.js.map} +0 -0
  367. /package/dist/cjs/Text/{index.cjs.map → index.js.map} +0 -0
  368. /package/dist/cjs/Text/{types.cjs.map → types.js.map} +0 -0
  369. /package/dist/cjs/TextInput/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  370. /package/dist/cjs/TextInput/{index.cjs.map → index.js.map} +0 -0
  371. /package/dist/cjs/TextInput/{types.cjs.map → types.js.map} +0 -0
  372. /package/dist/cjs/{TouchableOpacity.cjs.map → TouchableOpacity.js.map} +0 -0
  373. /package/dist/cjs/{TouchableWithoutFeedback.cjs.map → TouchableWithoutFeedback.js.map} +0 -0
  374. /package/dist/cjs/{UnimplementedView.cjs.map → UnimplementedView.js.map} +0 -0
  375. /package/dist/cjs/Vibration/{index.cjs.map → index.js.map} +0 -0
  376. /package/dist/cjs/View/{index.cjs.map → index.js.map} +0 -0
  377. /package/dist/cjs/View/{types.cjs.map → types.js.map} +0 -0
  378. /package/dist/cjs/createElement/__tests__/{index-test.cjs.map → index-test.js.map} +0 -0
  379. /package/dist/cjs/createElement/{index.cjs.map → index.js.map} +0 -0
  380. /package/dist/cjs/{createReactDOMStyle.cjs.map → createReactDOMStyle.js.map} +0 -0
  381. /package/dist/cjs/{findNodeHandle.cjs.map → findNodeHandle.js.map} +0 -0
  382. /package/dist/cjs/render/{index.cjs.map → index.js.map} +0 -0
  383. /package/dist/cjs/{styleTypes.cjs.map → styleTypes.js.map} +0 -0
  384. /package/dist/cjs/{types.cjs.map → types.js.map} +0 -0
  385. /package/dist/cjs/useColorScheme/{index.cjs.map → index.js.map} +0 -0
  386. /package/dist/cjs/useLocaleContext/{index.cjs.map → index.js.map} +0 -0
  387. /package/dist/cjs/useWindowDimensions/{index.cjs.map → index.js.map} +0 -0
  388. /package/dist/cjs/vendor/react-native/Animated/{Animated.cjs.map → Animated.js.map} +0 -0
  389. /package/dist/cjs/vendor/react-native/Animated/{AnimatedEvent.cjs.map → AnimatedEvent.js.map} +0 -0
  390. /package/dist/cjs/vendor/react-native/Animated/{AnimatedImplementation.cjs.map → AnimatedImplementation.js.map} +0 -0
  391. /package/dist/cjs/vendor/react-native/Animated/{AnimatedMock.cjs.map → AnimatedMock.js.map} +0 -0
  392. /package/dist/cjs/vendor/react-native/Animated/{AnimatedPlatformConfig.cjs.map → AnimatedPlatformConfig.js.map} +0 -0
  393. /package/dist/cjs/vendor/react-native/Animated/{Easing.cjs.map → Easing.js.map} +0 -0
  394. /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedHelper.cjs.map → NativeAnimatedHelper.js.map} +0 -0
  395. /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedModule.cjs.map → NativeAnimatedModule.js.map} +0 -0
  396. /package/dist/cjs/vendor/react-native/Animated/{NativeAnimatedTurboModule.cjs.map → NativeAnimatedTurboModule.js.map} +0 -0
  397. /package/dist/cjs/vendor/react-native/Animated/{SpringConfig.cjs.map → SpringConfig.js.map} +0 -0
  398. /package/dist/cjs/vendor/react-native/Animated/animations/{Animation.cjs.map → Animation.js.map} +0 -0
  399. /package/dist/cjs/vendor/react-native/Animated/animations/{DecayAnimation.cjs.map → DecayAnimation.js.map} +0 -0
  400. /package/dist/cjs/vendor/react-native/Animated/animations/{SpringAnimation.cjs.map → SpringAnimation.js.map} +0 -0
  401. /package/dist/cjs/vendor/react-native/Animated/animations/{TimingAnimation.cjs.map → TimingAnimation.js.map} +0 -0
  402. /package/dist/cjs/vendor/react-native/Animated/{bezier.cjs.map → bezier.js.map} +0 -0
  403. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedImage.cjs.map → AnimatedImage.js.map} +0 -0
  404. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedScrollView.cjs.map → AnimatedScrollView.js.map} +0 -0
  405. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedText.cjs.map → AnimatedText.js.map} +0 -0
  406. /package/dist/cjs/vendor/react-native/Animated/components/{AnimatedView.cjs.map → AnimatedView.js.map} +0 -0
  407. /package/dist/cjs/vendor/react-native/Animated/{createAnimatedComponent.cjs.map → createAnimatedComponent.js.map} +0 -0
  408. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedAddition.cjs.map → AnimatedAddition.js.map} +0 -0
  409. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedColor.cjs.map → AnimatedColor.js.map} +0 -0
  410. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDiffClamp.cjs.map → AnimatedDiffClamp.js.map} +0 -0
  411. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedDivision.cjs.map → AnimatedDivision.js.map} +0 -0
  412. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedInterpolation.cjs.map → AnimatedInterpolation.js.map} +0 -0
  413. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedModulo.cjs.map → AnimatedModulo.js.map} +0 -0
  414. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedMultiplication.cjs.map → AnimatedMultiplication.js.map} +0 -0
  415. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedNode.cjs.map → AnimatedNode.js.map} +0 -0
  416. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedProps.cjs.map → AnimatedProps.js.map} +0 -0
  417. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedStyle.cjs.map → AnimatedStyle.js.map} +0 -0
  418. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedSubtraction.cjs.map → AnimatedSubtraction.js.map} +0 -0
  419. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTracking.cjs.map → AnimatedTracking.js.map} +0 -0
  420. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedTransform.cjs.map → AnimatedTransform.js.map} +0 -0
  421. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValue.cjs.map → AnimatedValue.js.map} +0 -0
  422. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedValueXY.cjs.map → AnimatedValueXY.js.map} +0 -0
  423. /package/dist/cjs/vendor/react-native/Animated/nodes/{AnimatedWithChildren.cjs.map → AnimatedWithChildren.js.map} +0 -0
  424. /package/dist/cjs/vendor/react-native/Animated/{useAnimatedProps.cjs.map → useAnimatedProps.js.map} +0 -0
  425. /package/dist/cjs/vendor/react-native/{FeatureFlags.cjs.map → FeatureFlags.js.map} +0 -0
  426. /package/dist/cjs/vendor/react-native/NativeEventEmitter/{RCTDeviceEventEmitter.cjs.map → RCTDeviceEventEmitter.js.map} +0 -0
  427. /package/dist/cjs/vendor/react-native/NativeEventEmitter/{index.cjs.map → index.js.map} +0 -0
  428. /package/dist/cjs/vendor/react-native/PanResponder/{index.cjs.map → index.js.map} +0 -0
  429. /package/dist/cjs/vendor/react-native/TouchHistoryMath/{index.cjs.map → index.js.map} +0 -0
  430. /package/dist/cjs/vendor/react-native/TurboModule/{RCTExport.cjs.map → RCTExport.js.map} +0 -0
  431. /package/dist/cjs/vendor/react-native/TurboModule/{TurboModuleRegistry.cjs.map → TurboModuleRegistry.js.map} +0 -0
  432. /package/dist/cjs/vendor/react-native/Types/{CoreEventTypes.cjs.map → CoreEventTypes.js.map} +0 -0
  433. /package/dist/cjs/vendor/react-native/Utilities/{setAndForwardRef.cjs.map → setAndForwardRef.js.map} +0 -0
  434. /package/dist/cjs/vendor/react-native/emitter/{EventEmitter.cjs.map → EventEmitter.js.map} +0 -0
  435. /package/dist/cjs/vendor/react-native/emitter/{EventSubscription.cjs.map → EventSubscription.js.map} +0 -0
  436. /package/dist/cjs/vendor/react-native/emitter/{_EmitterSubscription.cjs.map → _EmitterSubscription.js.map} +0 -0
  437. /package/dist/cjs/vendor/react-native/emitter/{_EventEmitter.cjs.map → _EventEmitter.js.map} +0 -0
  438. /package/dist/cjs/vendor/react-native/emitter/{_EventSubscription.cjs.map → _EventSubscription.js.map} +0 -0
  439. /package/dist/cjs/vendor/react-native/emitter/{_EventSubscriptionVendor.cjs.map → _EventSubscriptionVendor.js.map} +0 -0
  440. /package/dist/cjs/vendor/react-native/infoLog/{index.cjs.map → index.js.map} +0 -0
  441. /package/dist/cjs/vendor/react-native/{useRefEffect.cjs.map → useRefEffect.js.map} +0 -0
  442. /package/dist/cjs/{without-animated.cjs.map → without-animated.js.map} +0 -0
@@ -0,0 +1,149 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: !0 });
9
+ }, __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from == "object" || typeof from == "function")
11
+ for (let key of __getOwnPropNames(from))
12
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
+ return to;
14
+ };
15
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
+ // If the importer is in node compatibility mode or this is not an ESM
17
+ // file that has been converted to a CommonJS file using a Babel-
18
+ // compatible transform (i.e. "__esModule" has not been set), then set
19
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
+ mod
22
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
23
+ var VirtualizedListCellRenderer_exports = {};
24
+ __export(VirtualizedListCellRenderer_exports, {
25
+ default: () => CellRenderer
26
+ });
27
+ module.exports = __toCommonJS(VirtualizedListCellRenderer_exports);
28
+ var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_react = __toESM(require("react")), import_VirtualizedListContext = require("./VirtualizedListContext"), import_View = __toESM(require("../../../View")), import_jsx_runtime = require("react/jsx-runtime");
29
+ class CellRenderer extends import_react.default.Component {
30
+ state = {
31
+ separatorProps: {
32
+ highlighted: !1,
33
+ leadingItem: this.props.item
34
+ }
35
+ };
36
+ static getDerivedStateFromProps(props, prevState) {
37
+ return {
38
+ separatorProps: {
39
+ ...prevState.separatorProps,
40
+ leadingItem: props.item
41
+ }
42
+ };
43
+ }
44
+ _separators = {
45
+ highlight: () => {
46
+ const { cellKey, prevCellKey } = this.props;
47
+ this.props.onUpdateSeparators([cellKey, prevCellKey || null], {
48
+ highlighted: !0
49
+ });
50
+ },
51
+ unhighlight: () => {
52
+ const { cellKey, prevCellKey } = this.props;
53
+ this.props.onUpdateSeparators([cellKey, prevCellKey || null], {
54
+ highlighted: !1
55
+ });
56
+ },
57
+ updateProps: (select, newProps) => {
58
+ const { cellKey, prevCellKey } = this.props;
59
+ this.props.onUpdateSeparators(
60
+ [select === "leading" ? prevCellKey || null : cellKey],
61
+ newProps
62
+ );
63
+ }
64
+ };
65
+ updateSeparatorProps(newProps) {
66
+ this.setState((state) => ({
67
+ separatorProps: { ...state.separatorProps, ...newProps }
68
+ }));
69
+ }
70
+ componentWillUnmount() {
71
+ this.props.onUnmount(this.props.cellKey);
72
+ }
73
+ _onLayout = (nativeEvent) => {
74
+ this.props.onCellLayout && this.props.onCellLayout(nativeEvent, this.props.cellKey, this.props.index);
75
+ };
76
+ _renderElement(renderItem, ListItemComponent, item, index) {
77
+ if (renderItem && ListItemComponent && console.warn(
78
+ "VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take precedence over renderItem."
79
+ ), ListItemComponent)
80
+ return import_react.default.createElement(ListItemComponent, {
81
+ item,
82
+ index,
83
+ separators: this._separators
84
+ });
85
+ if (renderItem)
86
+ return renderItem({
87
+ item,
88
+ index,
89
+ separators: this._separators
90
+ });
91
+ (0, import_react_native_web_internals.invariant)(
92
+ !1,
93
+ "VirtualizedList: Either ListItemComponent or renderItem props are required but none were found."
94
+ );
95
+ }
96
+ render() {
97
+ const {
98
+ CellRendererComponent,
99
+ ItemSeparatorComponent,
100
+ ListItemComponent,
101
+ cellKey,
102
+ horizontal,
103
+ item,
104
+ index,
105
+ inversionStyle,
106
+ onCellFocusCapture,
107
+ onCellLayout,
108
+ renderItem
109
+ } = this.props, element = this._renderElement(renderItem, ListItemComponent, item, index), itemSeparator = import_react.default.isValidElement(ItemSeparatorComponent) ? ItemSeparatorComponent : ItemSeparatorComponent && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ItemSeparatorComponent, { ...this.state.separatorProps }), cellStyle = inversionStyle ? horizontal ? [styles.rowReverse, inversionStyle] : [styles.columnReverse, inversionStyle] : horizontal ? [styles.row, inversionStyle] : inversionStyle, result = CellRendererComponent ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
110
+ CellRendererComponent,
111
+ {
112
+ cellKey,
113
+ index,
114
+ item,
115
+ style: cellStyle,
116
+ onFocusCapture: onCellFocusCapture,
117
+ ...onCellLayout && { onLayout: this._onLayout },
118
+ children: [
119
+ element,
120
+ itemSeparator
121
+ ]
122
+ }
123
+ ) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
124
+ import_View.default,
125
+ {
126
+ style: cellStyle,
127
+ onFocusCapture: onCellFocusCapture,
128
+ ...onCellLayout && { onLayout: this._onLayout },
129
+ children: [
130
+ element,
131
+ itemSeparator
132
+ ]
133
+ }
134
+ );
135
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_VirtualizedListContext.VirtualizedListCellContextProvider, { cellKey: this.props.cellKey, children: result });
136
+ }
137
+ }
138
+ const styles = import_react_native_web_internals.StyleSheet.create({
139
+ row: {
140
+ flexDirection: "row"
141
+ },
142
+ rowReverse: {
143
+ flexDirection: "row-reverse"
144
+ },
145
+ columnReverse: {
146
+ flexDirection: "column-reverse"
147
+ }
148
+ });
149
+ //# sourceMappingURL=VirtualizedListCellRenderer.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.tsx"],
4
+ "mappings": "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",
5
+ "names": ["React", "View"]
6
+ }
@@ -0,0 +1,245 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: !0 });
10
+ }, __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from == "object" || typeof from == "function")
12
+ for (let key of __getOwnPropNames(from))
13
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ return to;
15
+ };
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
24
+ var VirtualizedListCellRenderer_exports = {};
25
+ __export(VirtualizedListCellRenderer_exports, {
26
+ default: () => CellRenderer
27
+ });
28
+ module.exports = __toCommonJS(VirtualizedListCellRenderer_exports);
29
+ var import_jsx_runtime = require("react/jsx-runtime"), import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_react = __toESM(require("react")), import_VirtualizedListContext = require("./VirtualizedListContext"), import_View = __toESM(require("../../../View"));
30
+ function _assert_this_initialized(self) {
31
+ if (self === void 0)
32
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
33
+ return self;
34
+ }
35
+ function _call_super(_this, derived, args) {
36
+ return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
37
+ }
38
+ function _class_call_check(instance, Constructor) {
39
+ if (!(instance instanceof Constructor))
40
+ throw new TypeError("Cannot call a class as a function");
41
+ }
42
+ function _defineProperties(target, props) {
43
+ for (var i = 0; i < props.length; i++) {
44
+ var descriptor = props[i];
45
+ descriptor.enumerable = descriptor.enumerable || !1, descriptor.configurable = !0, "value" in descriptor && (descriptor.writable = !0), Object.defineProperty(target, descriptor.key, descriptor);
46
+ }
47
+ }
48
+ function _create_class(Constructor, protoProps, staticProps) {
49
+ return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
50
+ }
51
+ function _define_property(obj, key, value) {
52
+ return key in obj ? Object.defineProperty(obj, key, {
53
+ value,
54
+ enumerable: !0,
55
+ configurable: !0,
56
+ writable: !0
57
+ }) : obj[key] = value, obj;
58
+ }
59
+ function _get_prototype_of(o) {
60
+ return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
61
+ return o2.__proto__ || Object.getPrototypeOf(o2);
62
+ }, _get_prototype_of(o);
63
+ }
64
+ function _inherits(subClass, superClass) {
65
+ if (typeof superClass != "function" && superClass !== null)
66
+ throw new TypeError("Super expression must either be null or a function");
67
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
68
+ constructor: {
69
+ value: subClass,
70
+ writable: !0,
71
+ configurable: !0
72
+ }
73
+ }), superClass && _set_prototype_of(subClass, superClass);
74
+ }
75
+ function _possible_constructor_return(self, call) {
76
+ return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
77
+ }
78
+ function _set_prototype_of(o, p) {
79
+ return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
80
+ return o2.__proto__ = p2, o2;
81
+ }, _set_prototype_of(o, p);
82
+ }
83
+ function _type_of(obj) {
84
+ "@swc/helpers - typeof";
85
+ return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
86
+ }
87
+ function _is_native_reflect_construct() {
88
+ try {
89
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
90
+ }));
91
+ } catch {
92
+ }
93
+ return (_is_native_reflect_construct = function() {
94
+ return !!result;
95
+ })();
96
+ }
97
+ var CellRenderer = /* @__PURE__ */ function(_React_Component) {
98
+ "use strict";
99
+ _inherits(CellRenderer2, _React_Component);
100
+ function CellRenderer2() {
101
+ _class_call_check(this, CellRenderer2);
102
+ var _this;
103
+ return _this = _call_super(this, CellRenderer2, arguments), _define_property(_this, "state", {
104
+ separatorProps: {
105
+ highlighted: !1,
106
+ leadingItem: _this.props.item
107
+ }
108
+ }), _define_property(_this, "_separators", {
109
+ highlight: function() {
110
+ var { cellKey, prevCellKey } = _this.props;
111
+ _this.props.onUpdateSeparators([
112
+ cellKey,
113
+ prevCellKey || null
114
+ ], {
115
+ highlighted: !0
116
+ });
117
+ },
118
+ unhighlight: function() {
119
+ var { cellKey, prevCellKey } = _this.props;
120
+ _this.props.onUpdateSeparators([
121
+ cellKey,
122
+ prevCellKey || null
123
+ ], {
124
+ highlighted: !1
125
+ });
126
+ },
127
+ updateProps: function(select, newProps) {
128
+ var { cellKey, prevCellKey } = _this.props;
129
+ _this.props.onUpdateSeparators([
130
+ select === "leading" ? prevCellKey || null : cellKey
131
+ ], newProps);
132
+ }
133
+ }), _define_property(_this, "_onLayout", function(nativeEvent) {
134
+ _this.props.onCellLayout && _this.props.onCellLayout(nativeEvent, _this.props.cellKey, _this.props.index);
135
+ }), _this;
136
+ }
137
+ return _create_class(CellRenderer2, [
138
+ {
139
+ key: "updateSeparatorProps",
140
+ value: function(newProps) {
141
+ this.setState(function(state) {
142
+ return {
143
+ separatorProps: {
144
+ ...state.separatorProps,
145
+ ...newProps
146
+ }
147
+ };
148
+ });
149
+ }
150
+ },
151
+ {
152
+ key: "componentWillUnmount",
153
+ value: function() {
154
+ this.props.onUnmount(this.props.cellKey);
155
+ }
156
+ },
157
+ {
158
+ key: "_renderElement",
159
+ value: function(renderItem, ListItemComponent, item, index) {
160
+ if (renderItem && ListItemComponent && console.warn("VirtualizedList: Both ListItemComponent and renderItem props are present. ListItemComponent will take precedence over renderItem."), ListItemComponent)
161
+ return /* @__PURE__ */ import_react.default.createElement(ListItemComponent, {
162
+ item,
163
+ index,
164
+ separators: this._separators
165
+ });
166
+ if (renderItem)
167
+ return renderItem({
168
+ item,
169
+ index,
170
+ separators: this._separators
171
+ });
172
+ (0, import_react_native_web_internals.invariant)(!1, "VirtualizedList: Either ListItemComponent or renderItem props are required but none were found.");
173
+ }
174
+ },
175
+ {
176
+ key: "render",
177
+ value: function() {
178
+ var { CellRendererComponent, ItemSeparatorComponent, ListItemComponent, cellKey, horizontal, item, index, inversionStyle, onCellFocusCapture, onCellLayout, renderItem } = this.props, element = this._renderElement(renderItem, ListItemComponent, item, index), itemSeparator = /* @__PURE__ */ import_react.default.isValidElement(ItemSeparatorComponent) ? ItemSeparatorComponent : ItemSeparatorComponent && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ItemSeparatorComponent, {
179
+ ...this.state.separatorProps
180
+ }), cellStyle = inversionStyle ? horizontal ? [
181
+ styles.rowReverse,
182
+ inversionStyle
183
+ ] : [
184
+ styles.columnReverse,
185
+ inversionStyle
186
+ ] : horizontal ? [
187
+ styles.row,
188
+ inversionStyle
189
+ ] : inversionStyle, result = CellRendererComponent ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CellRendererComponent, {
190
+ cellKey,
191
+ index,
192
+ item,
193
+ style: cellStyle,
194
+ onFocusCapture: onCellFocusCapture,
195
+ ...onCellLayout && {
196
+ onLayout: this._onLayout
197
+ },
198
+ children: [
199
+ element,
200
+ itemSeparator
201
+ ]
202
+ }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_View.default, {
203
+ style: cellStyle,
204
+ // @ts-ignore
205
+ onFocusCapture: onCellFocusCapture,
206
+ ...onCellLayout && {
207
+ onLayout: this._onLayout
208
+ },
209
+ children: [
210
+ element,
211
+ itemSeparator
212
+ ]
213
+ });
214
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_VirtualizedListContext.VirtualizedListCellContextProvider, {
215
+ cellKey: this.props.cellKey,
216
+ children: result
217
+ });
218
+ }
219
+ }
220
+ ], [
221
+ {
222
+ key: "getDerivedStateFromProps",
223
+ value: function(props, prevState) {
224
+ return {
225
+ separatorProps: {
226
+ ...prevState.separatorProps,
227
+ leadingItem: props.item
228
+ }
229
+ };
230
+ }
231
+ }
232
+ ]), CellRenderer2;
233
+ }(import_react.default.Component);
234
+ var styles = import_react_native_web_internals.StyleSheet.create({
235
+ row: {
236
+ flexDirection: "row"
237
+ },
238
+ rowReverse: {
239
+ flexDirection: "row-reverse"
240
+ },
241
+ columnReverse: {
242
+ flexDirection: "column-reverse"
243
+ }
244
+ });
245
+ //# sourceMappingURL=VirtualizedListCellRenderer.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/vendor/react-native/VirtualizedList/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.tsx"],
4
+ "mappings": "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",
5
+ "names": ["CellRenderer", "state", "separatorProps", "highlighted", "leadingItem", "props", "item", "_separators", "highlight", "cellKey", "prevCellKey", "onUpdateSeparators", "unhighlight", "updateProps", "select", "newProps", "_onLayout", "nativeEvent", "onCellLayout", "index", "updateSeparatorProps", "setState", "componentWillUnmount", "onUnmount", "_renderElement", "renderItem", "ListItemComponent", "console", "warn", "React", "createElement", "separators", "invariant", "render", "CellRendererComponent", "ItemSeparatorComponent", "horizontal", "inversionStyle", "onCellFocusCapture", "element", "itemSeparator", "isValidElement", "_jsx", "cellStyle", "styles", "rowReverse", "columnReverse", "row", "result", "_jsxs", "style", "onFocusCapture", "onLayout", "View", "VirtualizedListCellContextProvider", "getDerivedStateFromProps", "prevState", "Component", "styles", "StyleSheet", "create", "row", "flexDirection", "rowReverse", "columnReverse"]
6
+ }
@@ -0,0 +1,84 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf,
6
+ __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
+ value: mod,
27
+ enumerable: !0
28
+ }) : target, mod)),
29
+ __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
30
+ value: !0
31
+ }), mod);
32
+ var VirtualizedListContext_exports = {};
33
+ __export(VirtualizedListContext_exports, {
34
+ VirtualizedListCellContextProvider: () => VirtualizedListCellContextProvider,
35
+ VirtualizedListContext: () => VirtualizedListContext,
36
+ VirtualizedListContextProvider: () => VirtualizedListContextProvider,
37
+ VirtualizedListContextResetter: () => VirtualizedListContextResetter
38
+ });
39
+ module.exports = __toCommonJS(VirtualizedListContext_exports);
40
+ var React = __toESM(require("react")),
41
+ import_react = require("react"),
42
+ import_jsx_runtime = require("react/jsx-runtime");
43
+ const __DEV__ = process.env.NODE_ENV !== "production",
44
+ VirtualizedListContext = React.createContext(null);
45
+ __DEV__ && (VirtualizedListContext.displayName = "VirtualizedListContext");
46
+ function VirtualizedListContextResetter({
47
+ children
48
+ }) {
49
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(VirtualizedListContext.Provider, {
50
+ value: null,
51
+ children
52
+ });
53
+ }
54
+ function VirtualizedListContextProvider({
55
+ children,
56
+ value
57
+ }) {
58
+ const context = (0, import_react.useMemo)(() => ({
59
+ cellKey: null,
60
+ getScrollMetrics: value.getScrollMetrics,
61
+ horizontal: value.horizontal,
62
+ getOutermostParentListRef: value.getOutermostParentListRef,
63
+ registerAsNestedChild: value.registerAsNestedChild,
64
+ unregisterAsNestedChild: value.unregisterAsNestedChild
65
+ }), [value.getScrollMetrics, value.horizontal, value.getOutermostParentListRef, value.registerAsNestedChild, value.unregisterAsNestedChild]);
66
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(VirtualizedListContext.Provider, {
67
+ value: context,
68
+ children
69
+ });
70
+ }
71
+ function VirtualizedListCellContextProvider({
72
+ cellKey,
73
+ children
74
+ }) {
75
+ const currContext = (0, import_react.useContext)(VirtualizedListContext),
76
+ context = (0, import_react.useMemo)(() => currContext == null ? null : {
77
+ ...currContext,
78
+ cellKey
79
+ }, [currContext, cellKey]);
80
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(VirtualizedListContext.Provider, {
81
+ value: context,
82
+ children
83
+ });
84
+ }
@@ -0,0 +1,72 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: !0 });
9
+ }, __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from == "object" || typeof from == "function")
11
+ for (let key of __getOwnPropNames(from))
12
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
+ return to;
14
+ };
15
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
16
+ // If the importer is in node compatibility mode or this is not an ESM
17
+ // file that has been converted to a CommonJS file using a Babel-
18
+ // compatible transform (i.e. "__esModule" has not been set), then set
19
+ // "default" to the CommonJS "module.exports" for node compatibility.
20
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
21
+ mod
22
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
23
+ var VirtualizedListContext_exports = {};
24
+ __export(VirtualizedListContext_exports, {
25
+ VirtualizedListCellContextProvider: () => VirtualizedListCellContextProvider,
26
+ VirtualizedListContext: () => VirtualizedListContext,
27
+ VirtualizedListContextProvider: () => VirtualizedListContextProvider,
28
+ VirtualizedListContextResetter: () => VirtualizedListContextResetter
29
+ });
30
+ module.exports = __toCommonJS(VirtualizedListContext_exports);
31
+ var React = __toESM(require("react")), import_react = require("react"), import_jsx_runtime = require("react/jsx-runtime");
32
+ const __DEV__ = process.env.NODE_ENV !== "production", VirtualizedListContext = React.createContext(null);
33
+ __DEV__ && (VirtualizedListContext.displayName = "VirtualizedListContext");
34
+ function VirtualizedListContextResetter({
35
+ children
36
+ }) {
37
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(VirtualizedListContext.Provider, { value: null, children });
38
+ }
39
+ function VirtualizedListContextProvider({
40
+ children,
41
+ value
42
+ }) {
43
+ const context = (0, import_react.useMemo)(
44
+ () => ({
45
+ cellKey: null,
46
+ getScrollMetrics: value.getScrollMetrics,
47
+ horizontal: value.horizontal,
48
+ getOutermostParentListRef: value.getOutermostParentListRef,
49
+ registerAsNestedChild: value.registerAsNestedChild,
50
+ unregisterAsNestedChild: value.unregisterAsNestedChild
51
+ }),
52
+ [
53
+ value.getScrollMetrics,
54
+ value.horizontal,
55
+ value.getOutermostParentListRef,
56
+ value.registerAsNestedChild,
57
+ value.unregisterAsNestedChild
58
+ ]
59
+ );
60
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(VirtualizedListContext.Provider, { value: context, children });
61
+ }
62
+ function VirtualizedListCellContextProvider({
63
+ cellKey,
64
+ children
65
+ }) {
66
+ const currContext = (0, import_react.useContext)(VirtualizedListContext), context = (0, import_react.useMemo)(
67
+ () => currContext == null ? null : { ...currContext, cellKey },
68
+ [currContext, cellKey]
69
+ );
70
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(VirtualizedListContext.Provider, { value: context, children });
71
+ }
72
+ //# sourceMappingURL=VirtualizedListContext.js.map
@@ -0,0 +1,6 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/vendor/react-native/VirtualizedList/VirtualizedListContext.tsx"],
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AASA,YAAuB,2BACvB,eAAoC,kBA2ChC;AAzCJ,MAAM,UAAU,QAAQ,IAAI,aAAa,cA2B5B,yBAAyB,MAAM,cAA8B,IAAI;AAC1E,YACF,uBAAuB,cAAc;AAMhC,SAAS,+BAA+B;AAAA,EAC7C;AACF,GAEoB;AAClB,SACE,4CAAC,uBAAuB,UAAvB,EAAgC,OAAO,MACrC,UACH;AAEJ;AAKO,SAAS,+BAA+B;AAAA,EAC7C;AAAA,EACA;AACF,GAGoB;AAElB,QAAM,cAAU;AAAA,IACd,OAAO;AAAA,MACL,SAAS;AAAA,MACT,kBAAkB,MAAM;AAAA,MACxB,YAAY,MAAM;AAAA,MAClB,2BAA2B,MAAM;AAAA,MACjC,uBAAuB,MAAM;AAAA,MAC7B,yBAAyB,MAAM;AAAA,IACjC;AAAA,IACA;AAAA,MACE,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,MACN,MAAM;AAAA,IACR;AAAA,EACF;AACA,SACE,4CAAC,uBAAuB,UAAvB,EAAgC,OAAO,SACrC,UACH;AAEJ;AAKO,SAAS,mCAAmC;AAAA,EACjD;AAAA,EACA;AACF,GAGoB;AAElB,QAAM,kBAAc,yBAAW,sBAAsB,GAC/C,cAAU;AAAA,IACd,MAAO,eAAe,OAAO,OAAO,EAAE,GAAG,aAAa,QAAQ;AAAA,IAC9D,CAAC,aAAa,OAAO;AAAA,EACvB;AACA,SACE,4CAAC,uBAAuB,UAAvB,EAAgC,OAAO,SACrC,UACH;AAEJ;",
5
+ "names": []
6
+ }
@@ -0,0 +1,85 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: !0 });
10
+ }, __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from == "object" || typeof from == "function")
12
+ for (let key of __getOwnPropNames(from))
13
+ !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ return to;
15
+ };
16
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
17
+ // If the importer is in node compatibility mode or this is not an ESM
18
+ // file that has been converted to a CommonJS file using a Babel-
19
+ // compatible transform (i.e. "__esModule" has not been set), then set
20
+ // "default" to the CommonJS "module.exports" for node compatibility.
21
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: !0 }) : target,
22
+ mod
23
+ )), __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
24
+ var VirtualizedListContext_exports = {};
25
+ __export(VirtualizedListContext_exports, {
26
+ VirtualizedListCellContextProvider: () => VirtualizedListCellContextProvider,
27
+ VirtualizedListContext: () => VirtualizedListContext,
28
+ VirtualizedListContextProvider: () => VirtualizedListContextProvider,
29
+ VirtualizedListContextResetter: () => VirtualizedListContextResetter
30
+ });
31
+ module.exports = __toCommonJS(VirtualizedListContext_exports);
32
+ var import_jsx_runtime = require("react/jsx-runtime"), React = __toESM(require("react")), import_react = require("react"), __DEV__ = process.env.NODE_ENV !== "production", VirtualizedListContext = /* @__PURE__ */ React.createContext(null);
33
+ __DEV__ && (VirtualizedListContext.displayName = "VirtualizedListContext");
34
+ function VirtualizedListContextResetter(param) {
35
+ var { children } = param;
36
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(VirtualizedListContext.Provider, {
37
+ value: null,
38
+ children
39
+ });
40
+ }
41
+ function VirtualizedListContextProvider(param) {
42
+ var { children, value } = param, context = (0, import_react.useMemo)(function() {
43
+ return {
44
+ cellKey: null,
45
+ getScrollMetrics: value.getScrollMetrics,
46
+ horizontal: value.horizontal,
47
+ getOutermostParentListRef: value.getOutermostParentListRef,
48
+ registerAsNestedChild: value.registerAsNestedChild,
49
+ unregisterAsNestedChild: value.unregisterAsNestedChild
50
+ };
51
+ }, [
52
+ value.getScrollMetrics,
53
+ value.horizontal,
54
+ value.getOutermostParentListRef,
55
+ value.registerAsNestedChild,
56
+ value.unregisterAsNestedChild
57
+ ]);
58
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(VirtualizedListContext.Provider, {
59
+ value: context,
60
+ children
61
+ });
62
+ }
63
+ function VirtualizedListCellContextProvider(param) {
64
+ var { cellKey, children } = param, currContext = (0, import_react.useContext)(VirtualizedListContext), context = (0, import_react.useMemo)(function() {
65
+ return currContext == null ? null : {
66
+ ...currContext,
67
+ cellKey
68
+ };
69
+ }, [
70
+ currContext,
71
+ cellKey
72
+ ]);
73
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(VirtualizedListContext.Provider, {
74
+ value: context,
75
+ children
76
+ });
77
+ }
78
+ // Annotate the CommonJS export names for ESM import in node:
79
+ 0 && (module.exports = {
80
+ VirtualizedListCellContextProvider,
81
+ VirtualizedListContext,
82
+ VirtualizedListContextProvider,
83
+ VirtualizedListContextResetter
84
+ });
85
+ //# sourceMappingURL=VirtualizedListContext.js.map