@tamagui/react-native-web-lite 2.0.0-rc.26 → 2.0.0-rc.26-1773452370596

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 (621) hide show
  1. package/package.json +7 -7
  2. package/dist/cjs/AccessibilityInfo/index.js +0 -95
  3. package/dist/cjs/AccessibilityInfo/index.js.map +0 -6
  4. package/dist/cjs/ActivityIndicator/__tests__/index-test.js +0 -116
  5. package/dist/cjs/ActivityIndicator/__tests__/index-test.js.map +0 -6
  6. package/dist/cjs/ActivityIndicator/index.js +0 -109
  7. package/dist/cjs/ActivityIndicator/index.js.map +0 -6
  8. package/dist/cjs/Alert/index.js +0 -24
  9. package/dist/cjs/Alert/index.js.map +0 -6
  10. package/dist/cjs/AppRegistry/AppContainer.js +0 -41
  11. package/dist/cjs/AppRegistry/AppContainer.js.map +0 -6
  12. package/dist/cjs/AppRegistry/__tests__/index-test.js +0 -77
  13. package/dist/cjs/AppRegistry/__tests__/index-test.js.map +0 -6
  14. package/dist/cjs/AppRegistry/__tests__/index-test.node.js +0 -131
  15. package/dist/cjs/AppRegistry/__tests__/index-test.node.js.map +0 -6
  16. package/dist/cjs/AppRegistry/index.js +0 -90
  17. package/dist/cjs/AppRegistry/index.js.map +0 -6
  18. package/dist/cjs/AppRegistry/renderApplication.js +0 -43
  19. package/dist/cjs/AppRegistry/renderApplication.js.map +0 -6
  20. package/dist/cjs/AppState/__tests__/index-test.js +0 -33
  21. package/dist/cjs/AppState/__tests__/index-test.js.map +0 -6
  22. package/dist/cjs/AppState/index.js +0 -71
  23. package/dist/cjs/AppState/index.js.map +0 -6
  24. package/dist/cjs/Appearance/index.js +0 -40
  25. package/dist/cjs/Appearance/index.js.map +0 -6
  26. package/dist/cjs/BackHandler/index.js +0 -31
  27. package/dist/cjs/BackHandler/index.js.map +0 -6
  28. package/dist/cjs/Clipboard/index.js +0 -47
  29. package/dist/cjs/Clipboard/index.js.map +0 -6
  30. package/dist/cjs/DeviceEmitter.js +0 -22
  31. package/dist/cjs/DeviceEmitter.js.map +0 -6
  32. package/dist/cjs/DeviceInfo/index.js +0 -53
  33. package/dist/cjs/DeviceInfo/index.js.map +0 -6
  34. package/dist/cjs/Dimensions/__tests__/index-test.js +0 -51
  35. package/dist/cjs/Dimensions/__tests__/index-test.js.map +0 -6
  36. package/dist/cjs/Dimensions/index.js +0 -76
  37. package/dist/cjs/Dimensions/index.js.map +0 -6
  38. package/dist/cjs/FlatList.js +0 -194
  39. package/dist/cjs/FlatList.js.map +0 -6
  40. package/dist/cjs/I18nManager/index.js +0 -29
  41. package/dist/cjs/I18nManager/index.js.map +0 -6
  42. package/dist/cjs/Image/index.js +0 -254
  43. package/dist/cjs/Image/index.js.map +0 -6
  44. package/dist/cjs/Image/types.js +0 -14
  45. package/dist/cjs/Image/types.js.map +0 -6
  46. package/dist/cjs/ImageBackground/__tests__/index-test.js +0 -48
  47. package/dist/cjs/ImageBackground/__tests__/index-test.js.map +0 -6
  48. package/dist/cjs/ImageBackground/index.js +0 -55
  49. package/dist/cjs/ImageBackground/index.js.map +0 -6
  50. package/dist/cjs/InteractionManager/TaskQueue.js +0 -75
  51. package/dist/cjs/InteractionManager/TaskQueue.js.map +0 -6
  52. package/dist/cjs/InteractionManager/index.js +0 -94
  53. package/dist/cjs/InteractionManager/index.js.map +0 -6
  54. package/dist/cjs/Keyboard/index.js +0 -34
  55. package/dist/cjs/Keyboard/index.js.map +0 -6
  56. package/dist/cjs/KeyboardAvoidingView/index.js +0 -57
  57. package/dist/cjs/KeyboardAvoidingView/index.js.map +0 -6
  58. package/dist/cjs/Linking/__tests__/index-test.js +0 -38
  59. package/dist/cjs/Linking/__tests__/index-test.js.map +0 -6
  60. package/dist/cjs/Linking/index.js +0 -85
  61. package/dist/cjs/Linking/index.js.map +0 -6
  62. package/dist/cjs/LogBox/index.js +0 -32
  63. package/dist/cjs/LogBox/index.js.map +0 -6
  64. package/dist/cjs/Modal/ModalAnimation.js +0 -137
  65. package/dist/cjs/Modal/ModalAnimation.js.map +0 -6
  66. package/dist/cjs/Modal/ModalContent.js +0 -77
  67. package/dist/cjs/Modal/ModalContent.js.map +0 -6
  68. package/dist/cjs/Modal/ModalPortal.js +0 -42
  69. package/dist/cjs/Modal/ModalPortal.js.map +0 -6
  70. package/dist/cjs/Modal/index.js +0 -21
  71. package/dist/cjs/Modal/index.js.map +0 -6
  72. package/dist/cjs/NativeModules/index.js +0 -24
  73. package/dist/cjs/NativeModules/index.js.map +0 -6
  74. package/dist/cjs/PanResponder/index.js +0 -29
  75. package/dist/cjs/PanResponder/index.js.map +0 -6
  76. package/dist/cjs/PixelRatio/index.js +0 -52
  77. package/dist/cjs/PixelRatio/index.js.map +0 -6
  78. package/dist/cjs/Pressable/index.js +0 -141
  79. package/dist/cjs/Pressable/index.js.map +0 -6
  80. package/dist/cjs/RefreshControl/index.js +0 -41
  81. package/dist/cjs/RefreshControl/index.js.map +0 -6
  82. package/dist/cjs/SafeAreaView/index.js +0 -44
  83. package/dist/cjs/SafeAreaView/index.js.map +0 -6
  84. package/dist/cjs/ScrollView/ScrollViewBase.js +0 -126
  85. package/dist/cjs/ScrollView/ScrollViewBase.js.map +0 -6
  86. package/dist/cjs/ScrollView/index.js +0 -556
  87. package/dist/cjs/ScrollView/index.js.map +0 -6
  88. package/dist/cjs/SectionList.js +0 -30
  89. package/dist/cjs/SectionList.js.map +0 -6
  90. package/dist/cjs/Share/index.js +0 -55
  91. package/dist/cjs/Share/index.js.map +0 -6
  92. package/dist/cjs/StatusBar/index.js +0 -32
  93. package/dist/cjs/StatusBar/index.js.map +0 -6
  94. package/dist/cjs/Text/index.js +0 -153
  95. package/dist/cjs/Text/index.js.map +0 -6
  96. package/dist/cjs/Text/types.js +0 -14
  97. package/dist/cjs/Text/types.js.map +0 -6
  98. package/dist/cjs/TextInput/index.js +0 -269
  99. package/dist/cjs/TextInput/index.js.map +0 -6
  100. package/dist/cjs/TextInput/types.js +0 -14
  101. package/dist/cjs/TextInput/types.js.map +0 -6
  102. package/dist/cjs/TouchableNativeFeedback.js +0 -21
  103. package/dist/cjs/TouchableNativeFeedback.js.map +0 -6
  104. package/dist/cjs/TouchableOpacity.js +0 -122
  105. package/dist/cjs/TouchableOpacity.js.map +0 -6
  106. package/dist/cjs/TouchableWithoutFeedback.js +0 -89
  107. package/dist/cjs/TouchableWithoutFeedback.js.map +0 -6
  108. package/dist/cjs/UnimplementedView.js +0 -36
  109. package/dist/cjs/UnimplementedView.js.map +0 -6
  110. package/dist/cjs/Vibration/index.js +0 -30
  111. package/dist/cjs/Vibration/index.js.map +0 -6
  112. package/dist/cjs/View/index.js +0 -102
  113. package/dist/cjs/View/index.js.map +0 -6
  114. package/dist/cjs/View/types.js +0 -14
  115. package/dist/cjs/View/types.js.map +0 -6
  116. package/dist/cjs/VirtualizedList.js +0 -30
  117. package/dist/cjs/VirtualizedList.js.map +0 -6
  118. package/dist/cjs/codegenNativeCommand.js +0 -23
  119. package/dist/cjs/codegenNativeCommand.js.map +0 -6
  120. package/dist/cjs/codegenNativeComponent.js +0 -23
  121. package/dist/cjs/codegenNativeComponent.js.map +0 -6
  122. package/dist/cjs/createElement/__tests__/index-test.js +0 -536
  123. package/dist/cjs/createElement/__tests__/index-test.js.map +0 -6
  124. package/dist/cjs/createElement/index.js +0 -60
  125. package/dist/cjs/createElement/index.js.map +0 -6
  126. package/dist/cjs/createReactDOMStyle.js +0 -23
  127. package/dist/cjs/createReactDOMStyle.js.map +0 -6
  128. package/dist/cjs/modules/requestIdleCallback.js +0 -34
  129. package/dist/cjs/modules/requestIdleCallback.js.map +0 -6
  130. package/dist/cjs/preprocess.js +0 -25
  131. package/dist/cjs/preprocess.js.map +0 -6
  132. package/dist/cjs/render/index.js +0 -31
  133. package/dist/cjs/render/index.js.map +0 -6
  134. package/dist/cjs/styleTypes.js +0 -14
  135. package/dist/cjs/styleTypes.js.map +0 -6
  136. package/dist/cjs/types.js +0 -14
  137. package/dist/cjs/types.js.map +0 -6
  138. package/dist/cjs/useColorScheme/index.js +0 -39
  139. package/dist/cjs/useColorScheme/index.js.map +0 -6
  140. package/dist/cjs/useLocaleContext/index.js +0 -21
  141. package/dist/cjs/useLocaleContext/index.js.map +0 -6
  142. package/dist/cjs/useWindowDimensions/index.js +0 -40
  143. package/dist/cjs/useWindowDimensions/index.js.map +0 -6
  144. package/dist/cjs/vendor/react-native/Animated/Animated.js +0 -32
  145. package/dist/cjs/vendor/react-native/Animated/Animated.js.map +0 -6
  146. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js +0 -130
  147. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
  148. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js +0 -432
  149. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
  150. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js +0 -115
  151. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
  152. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -2
  153. package/dist/cjs/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
  154. package/dist/cjs/vendor/react-native/Animated/Easing.js +0 -182
  155. package/dist/cjs/vendor/react-native/Animated/Easing.js.map +0 -6
  156. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -322
  157. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
  158. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js +0 -90
  159. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
  160. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -85
  161. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
  162. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js +0 -71
  163. package/dist/cjs/vendor/react-native/Animated/SpringConfig.js.map +0 -6
  164. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js +0 -63
  165. package/dist/cjs/vendor/react-native/Animated/animations/Animation.js.map +0 -6
  166. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js +0 -59
  167. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
  168. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js +0 -155
  169. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
  170. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js +0 -80
  171. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
  172. package/dist/cjs/vendor/react-native/Animated/bezier.js +0 -77
  173. package/dist/cjs/vendor/react-native/Animated/bezier.js.map +0 -6
  174. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -32
  175. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
  176. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js +0 -24
  177. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
  178. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -32
  179. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
  180. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -32
  181. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
  182. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js +0 -24
  183. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
  184. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js +0 -24
  185. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
  186. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js +0 -37
  187. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
  188. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -52
  189. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
  190. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -172
  191. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
  192. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -57
  193. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
  194. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -54
  195. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
  196. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -167
  197. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
  198. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -52
  199. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
  200. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -52
  201. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
  202. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -134
  203. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
  204. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -107
  205. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
  206. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -95
  207. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
  208. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -52
  209. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
  210. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -69
  211. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
  212. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -94
  213. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
  214. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -181
  215. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
  216. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -82
  217. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
  218. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -66
  219. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
  220. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js +0 -75
  221. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
  222. package/dist/cjs/vendor/react-native/Batchinator/index.js +0 -51
  223. package/dist/cjs/vendor/react-native/Batchinator/index.js.map +0 -6
  224. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -60
  225. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
  226. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -24
  227. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
  228. package/dist/cjs/vendor/react-native/FeatureFlags.js +0 -28
  229. package/dist/cjs/vendor/react-native/FeatureFlags.js.map +0 -6
  230. package/dist/cjs/vendor/react-native/FillRateHelper/index.js +0 -125
  231. package/dist/cjs/vendor/react-native/FillRateHelper/index.js.map +0 -6
  232. package/dist/cjs/vendor/react-native/FlatList/index.js +0 -263
  233. package/dist/cjs/vendor/react-native/FlatList/index.js.map +0 -6
  234. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js +0 -57
  235. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
  236. package/dist/cjs/vendor/react-native/LayoutAnimation/index.js +0 -102
  237. package/dist/cjs/vendor/react-native/LayoutAnimation/index.js.map +0 -6
  238. package/dist/cjs/vendor/react-native/PanResponder/index.js +0 -147
  239. package/dist/cjs/vendor/react-native/PanResponder/index.js.map +0 -6
  240. package/dist/cjs/vendor/react-native/PooledClass/index.js +0 -39
  241. package/dist/cjs/vendor/react-native/PooledClass/index.js.map +0 -6
  242. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -29
  243. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
  244. package/dist/cjs/vendor/react-native/SectionList/index.js +0 -87
  245. package/dist/cjs/vendor/react-native/SectionList/index.js.map +0 -6
  246. package/dist/cjs/vendor/react-native/StaticContainer/index.js +0 -41
  247. package/dist/cjs/vendor/react-native/StaticContainer/index.js.map +0 -6
  248. package/dist/cjs/vendor/react-native/StaticRenderer/index.js +0 -40
  249. package/dist/cjs/vendor/react-native/StaticRenderer/index.js.map +0 -6
  250. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js +0 -119
  251. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
  252. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js +0 -27
  253. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
  254. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -33
  255. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
  256. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js +0 -128
  257. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
  258. package/dist/cjs/vendor/react-native/Utilities/Platform.js +0 -23
  259. package/dist/cjs/vendor/react-native/Utilities/Platform.js.map +0 -6
  260. package/dist/cjs/vendor/react-native/Utilities/clamp.js +0 -26
  261. package/dist/cjs/vendor/react-native/Utilities/clamp.js.map +0 -6
  262. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js +0 -29
  263. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
  264. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js +0 -33
  265. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
  266. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js +0 -32
  267. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
  268. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js +0 -153
  269. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
  270. package/dist/cjs/vendor/react-native/ViewabilityHelper.js +0 -145
  271. package/dist/cjs/vendor/react-native/ViewabilityHelper.js.map +0 -6
  272. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js +0 -86
  273. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
  274. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -78
  275. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
  276. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -61
  277. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
  278. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -76
  279. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
  280. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -160
  281. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
  282. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -65
  283. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
  284. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -59
  285. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
  286. package/dist/cjs/vendor/react-native/VirtualizedList/index.js +0 -238
  287. package/dist/cjs/vendor/react-native/VirtualizedList/index.js.map +0 -6
  288. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js +0 -119
  289. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
  290. package/dist/cjs/vendor/react-native/deepDiffer/index.js +0 -49
  291. package/dist/cjs/vendor/react-native/deepDiffer/index.js.map +0 -6
  292. package/dist/cjs/vendor/react-native/emitter/EventEmitter.js +0 -24
  293. package/dist/cjs/vendor/react-native/emitter/EventEmitter.js.map +0 -6
  294. package/dist/cjs/vendor/react-native/emitter/EventSubscription.js +0 -2
  295. package/dist/cjs/vendor/react-native/emitter/EventSubscription.js.map +0 -6
  296. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js +0 -48
  297. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
  298. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js +0 -128
  299. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
  300. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js +0 -38
  301. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
  302. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -77
  303. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
  304. package/dist/cjs/vendor/react-native/infoLog/index.js +0 -26
  305. package/dist/cjs/vendor/react-native/infoLog/index.js.map +0 -6
  306. package/dist/cjs/vendor/react-native/useRefEffect.js +0 -32
  307. package/dist/cjs/vendor/react-native/useRefEffect.js.map +0 -6
  308. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js +0 -87
  309. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
  310. package/dist/cjs/without-animated.js +0 -248
  311. package/dist/cjs/without-animated.js.map +0 -6
  312. package/dist/esm/AccessibilityInfo/index.js +0 -79
  313. package/dist/esm/AccessibilityInfo/index.js.map +0 -6
  314. package/dist/esm/ActivityIndicator/__tests__/index-test.js +0 -102
  315. package/dist/esm/ActivityIndicator/__tests__/index-test.js.map +0 -6
  316. package/dist/esm/ActivityIndicator/index.js +0 -88
  317. package/dist/esm/ActivityIndicator/index.js.map +0 -6
  318. package/dist/esm/Alert/index.js +0 -8
  319. package/dist/esm/Alert/index.js.map +0 -6
  320. package/dist/esm/AppRegistry/AppContainer.js +0 -20
  321. package/dist/esm/AppRegistry/AppContainer.js.map +0 -6
  322. package/dist/esm/AppRegistry/__tests__/index-test.js +0 -59
  323. package/dist/esm/AppRegistry/__tests__/index-test.js.map +0 -6
  324. package/dist/esm/AppRegistry/__tests__/index-test.node.js +0 -116
  325. package/dist/esm/AppRegistry/__tests__/index-test.node.js.map +0 -6
  326. package/dist/esm/AppRegistry/index.js +0 -76
  327. package/dist/esm/AppRegistry/index.js.map +0 -6
  328. package/dist/esm/AppRegistry/renderApplication.js +0 -31
  329. package/dist/esm/AppRegistry/renderApplication.js.map +0 -6
  330. package/dist/esm/AppState/__tests__/index-test.js +0 -14
  331. package/dist/esm/AppState/__tests__/index-test.js.map +0 -6
  332. package/dist/esm/AppState/index.js +0 -55
  333. package/dist/esm/AppState/index.js.map +0 -6
  334. package/dist/esm/Appearance/index.js +0 -24
  335. package/dist/esm/Appearance/index.js.map +0 -6
  336. package/dist/esm/BackHandler/index.js +0 -15
  337. package/dist/esm/BackHandler/index.js.map +0 -6
  338. package/dist/esm/Clipboard/index.js +0 -31
  339. package/dist/esm/Clipboard/index.js.map +0 -6
  340. package/dist/esm/DeviceEmitter.js +0 -6
  341. package/dist/esm/DeviceEmitter.js.map +0 -6
  342. package/dist/esm/DeviceInfo/index.js +0 -38
  343. package/dist/esm/DeviceInfo/index.js.map +0 -6
  344. package/dist/esm/Dimensions/__tests__/index-test.js +0 -32
  345. package/dist/esm/Dimensions/__tests__/index-test.js.map +0 -6
  346. package/dist/esm/Dimensions/index.js +0 -60
  347. package/dist/esm/Dimensions/index.js.map +0 -6
  348. package/dist/esm/FlatList.js +0 -177
  349. package/dist/esm/FlatList.js.map +0 -6
  350. package/dist/esm/I18nManager/index.js +0 -13
  351. package/dist/esm/I18nManager/index.js.map +0 -6
  352. package/dist/esm/Image/index.js +0 -240
  353. package/dist/esm/Image/index.js.map +0 -6
  354. package/dist/esm/Image/types.js +0 -1
  355. package/dist/esm/Image/types.js.map +0 -6
  356. package/dist/esm/ImageBackground/__tests__/index-test.js +0 -32
  357. package/dist/esm/ImageBackground/__tests__/index-test.js.map +0 -6
  358. package/dist/esm/ImageBackground/index.js +0 -43
  359. package/dist/esm/ImageBackground/index.js.map +0 -6
  360. package/dist/esm/InteractionManager/TaskQueue.js +0 -59
  361. package/dist/esm/InteractionManager/TaskQueue.js.map +0 -6
  362. package/dist/esm/InteractionManager/index.js +0 -73
  363. package/dist/esm/InteractionManager/index.js.map +0 -6
  364. package/dist/esm/Keyboard/index.js +0 -18
  365. package/dist/esm/Keyboard/index.js.map +0 -6
  366. package/dist/esm/KeyboardAvoidingView/index.js +0 -35
  367. package/dist/esm/KeyboardAvoidingView/index.js.map +0 -6
  368. package/dist/esm/Linking/__tests__/index-test.js +0 -19
  369. package/dist/esm/Linking/__tests__/index-test.js.map +0 -6
  370. package/dist/esm/Linking/index.js +0 -69
  371. package/dist/esm/Linking/index.js.map +0 -6
  372. package/dist/esm/LogBox/index.js +0 -16
  373. package/dist/esm/LogBox/index.js.map +0 -6
  374. package/dist/esm/Modal/ModalAnimation.js +0 -116
  375. package/dist/esm/Modal/ModalAnimation.js.map +0 -6
  376. package/dist/esm/Modal/ModalContent.js +0 -55
  377. package/dist/esm/Modal/ModalContent.js.map +0 -6
  378. package/dist/esm/Modal/ModalPortal.js +0 -20
  379. package/dist/esm/Modal/ModalPortal.js.map +0 -6
  380. package/dist/esm/Modal/index.js +0 -5
  381. package/dist/esm/Modal/index.js.map +0 -6
  382. package/dist/esm/NativeModules/index.js +0 -8
  383. package/dist/esm/NativeModules/index.js.map +0 -6
  384. package/dist/esm/PanResponder/index.js +0 -5
  385. package/dist/esm/PanResponder/index.js.map +0 -6
  386. package/dist/esm/PixelRatio/index.js +0 -36
  387. package/dist/esm/PixelRatio/index.js.map +0 -6
  388. package/dist/esm/Pressable/index.js +0 -122
  389. package/dist/esm/Pressable/index.js.map +0 -6
  390. package/dist/esm/RefreshControl/index.js +0 -26
  391. package/dist/esm/RefreshControl/index.js.map +0 -6
  392. package/dist/esm/SafeAreaView/index.js +0 -23
  393. package/dist/esm/SafeAreaView/index.js.map +0 -6
  394. package/dist/esm/ScrollView/ScrollViewBase.js +0 -105
  395. package/dist/esm/ScrollView/ScrollViewBase.js.map +0 -6
  396. package/dist/esm/ScrollView/index.js +0 -546
  397. package/dist/esm/ScrollView/index.js.map +0 -6
  398. package/dist/esm/SectionList.js +0 -7
  399. package/dist/esm/SectionList.js.map +0 -6
  400. package/dist/esm/Share/index.js +0 -39
  401. package/dist/esm/Share/index.js.map +0 -6
  402. package/dist/esm/StatusBar/index.js +0 -16
  403. package/dist/esm/StatusBar/index.js.map +0 -6
  404. package/dist/esm/Text/index.js +0 -142
  405. package/dist/esm/Text/index.js.map +0 -6
  406. package/dist/esm/Text/types.js +0 -1
  407. package/dist/esm/Text/types.js.map +0 -6
  408. package/dist/esm/TextInput/index.js +0 -258
  409. package/dist/esm/TextInput/index.js.map +0 -6
  410. package/dist/esm/TextInput/types.js +0 -1
  411. package/dist/esm/TextInput/types.js.map +0 -6
  412. package/dist/esm/TouchableNativeFeedback.js +0 -5
  413. package/dist/esm/TouchableNativeFeedback.js.map +0 -6
  414. package/dist/esm/TouchableOpacity.js +0 -105
  415. package/dist/esm/TouchableOpacity.js.map +0 -6
  416. package/dist/esm/TouchableWithoutFeedback.js +0 -67
  417. package/dist/esm/TouchableWithoutFeedback.js.map +0 -6
  418. package/dist/esm/UnimplementedView.js +0 -14
  419. package/dist/esm/UnimplementedView.js.map +0 -6
  420. package/dist/esm/Vibration/index.js +0 -14
  421. package/dist/esm/Vibration/index.js.map +0 -6
  422. package/dist/esm/View/index.js +0 -90
  423. package/dist/esm/View/index.js.map +0 -6
  424. package/dist/esm/View/types.js +0 -1
  425. package/dist/esm/View/types.js.map +0 -6
  426. package/dist/esm/VirtualizedList.js +0 -7
  427. package/dist/esm/VirtualizedList.js.map +0 -6
  428. package/dist/esm/codegenNativeCommand.js +0 -7
  429. package/dist/esm/codegenNativeCommand.js.map +0 -6
  430. package/dist/esm/codegenNativeComponent.js +0 -7
  431. package/dist/esm/codegenNativeComponent.js.map +0 -6
  432. package/dist/esm/createElement/__tests__/index-test.js +0 -519
  433. package/dist/esm/createElement/__tests__/index-test.js.map +0 -6
  434. package/dist/esm/createElement/index.js +0 -48
  435. package/dist/esm/createElement/index.js.map +0 -6
  436. package/dist/esm/createReactDOMStyle.js +0 -7
  437. package/dist/esm/createReactDOMStyle.js.map +0 -6
  438. package/dist/esm/modules/requestIdleCallback.js +0 -18
  439. package/dist/esm/modules/requestIdleCallback.js.map +0 -6
  440. package/dist/esm/preprocess.js +0 -15
  441. package/dist/esm/preprocess.js.map +0 -6
  442. package/dist/esm/render/index.js +0 -15
  443. package/dist/esm/render/index.js.map +0 -6
  444. package/dist/esm/styleTypes.js +0 -1
  445. package/dist/esm/styleTypes.js.map +0 -6
  446. package/dist/esm/types.js +0 -1
  447. package/dist/esm/types.js.map +0 -6
  448. package/dist/esm/useColorScheme/index.js +0 -16
  449. package/dist/esm/useColorScheme/index.js.map +0 -6
  450. package/dist/esm/useLocaleContext/index.js +0 -5
  451. package/dist/esm/useLocaleContext/index.js.map +0 -6
  452. package/dist/esm/useWindowDimensions/index.js +0 -17
  453. package/dist/esm/useWindowDimensions/index.js.map +0 -6
  454. package/dist/esm/vendor/react-native/Animated/Animated.js +0 -24
  455. package/dist/esm/vendor/react-native/Animated/Animated.js.map +0 -6
  456. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js +0 -116
  457. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.js.map +0 -6
  458. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js +0 -433
  459. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.js.map +0 -6
  460. package/dist/esm/vendor/react-native/Animated/AnimatedMock.js +0 -105
  461. package/dist/esm/vendor/react-native/Animated/AnimatedMock.js.map +0 -6
  462. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js +0 -1
  463. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.js.map +0 -6
  464. package/dist/esm/vendor/react-native/Animated/Easing.js +0 -165
  465. package/dist/esm/vendor/react-native/Animated/Easing.js.map +0 -6
  466. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js +0 -312
  467. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.js.map +0 -6
  468. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js +0 -66
  469. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.js.map +0 -6
  470. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js +0 -61
  471. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.js.map +0 -6
  472. package/dist/esm/vendor/react-native/Animated/SpringConfig.js +0 -55
  473. package/dist/esm/vendor/react-native/Animated/SpringConfig.js.map +0 -6
  474. package/dist/esm/vendor/react-native/Animated/animations/Animation.js +0 -46
  475. package/dist/esm/vendor/react-native/Animated/animations/Animation.js.map +0 -6
  476. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js +0 -43
  477. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.js.map +0 -6
  478. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js +0 -141
  479. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.js.map +0 -6
  480. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js +0 -66
  481. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.js.map +0 -6
  482. package/dist/esm/vendor/react-native/Animated/bezier.js +0 -60
  483. package/dist/esm/vendor/react-native/Animated/bezier.js.map +0 -6
  484. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js +0 -11
  485. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.js.map +0 -6
  486. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js +0 -10
  487. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.js.map +0 -6
  488. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js +0 -11
  489. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.js.map +0 -6
  490. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js +0 -11
  491. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.js.map +0 -6
  492. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js +0 -9
  493. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.js.map +0 -6
  494. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js +0 -9
  495. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.js.map +0 -6
  496. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js +0 -16
  497. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.js.map +0 -6
  498. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js +0 -37
  499. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.js.map +0 -6
  500. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js +0 -159
  501. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.js.map +0 -6
  502. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js +0 -42
  503. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.js.map +0 -6
  504. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js +0 -40
  505. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.js.map +0 -6
  506. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js +0 -152
  507. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.js.map +0 -6
  508. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js +0 -37
  509. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.js.map +0 -6
  510. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js +0 -37
  511. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.js.map +0 -6
  512. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js +0 -118
  513. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.js.map +0 -6
  514. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js +0 -95
  515. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.js.map +0 -6
  516. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js +0 -83
  517. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.js.map +0 -6
  518. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js +0 -37
  519. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.js.map +0 -6
  520. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js +0 -55
  521. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.js.map +0 -6
  522. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js +0 -79
  523. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.js.map +0 -6
  524. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js +0 -167
  525. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.js.map +0 -6
  526. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js +0 -68
  527. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.js.map +0 -6
  528. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js +0 -50
  529. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.js.map +0 -6
  530. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js +0 -63
  531. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.js.map +0 -6
  532. package/dist/esm/vendor/react-native/Batchinator/index.js +0 -34
  533. package/dist/esm/vendor/react-native/Batchinator/index.js.map +0 -6
  534. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js +0 -44
  535. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.js.map +0 -6
  536. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js +0 -8
  537. package/dist/esm/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.js.map +0 -6
  538. package/dist/esm/vendor/react-native/FeatureFlags.js +0 -12
  539. package/dist/esm/vendor/react-native/FeatureFlags.js.map +0 -6
  540. package/dist/esm/vendor/react-native/FillRateHelper/index.js +0 -109
  541. package/dist/esm/vendor/react-native/FillRateHelper/index.js.map +0 -6
  542. package/dist/esm/vendor/react-native/FlatList/index.js +0 -247
  543. package/dist/esm/vendor/react-native/FlatList/index.js.map +0 -6
  544. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js +0 -40
  545. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.js.map +0 -6
  546. package/dist/esm/vendor/react-native/LayoutAnimation/index.js +0 -86
  547. package/dist/esm/vendor/react-native/LayoutAnimation/index.js.map +0 -6
  548. package/dist/esm/vendor/react-native/PanResponder/index.js +0 -124
  549. package/dist/esm/vendor/react-native/PanResponder/index.js.map +0 -6
  550. package/dist/esm/vendor/react-native/PooledClass/index.js +0 -23
  551. package/dist/esm/vendor/react-native/PooledClass/index.js.map +0 -6
  552. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js +0 -13
  553. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.js.map +0 -6
  554. package/dist/esm/vendor/react-native/SectionList/index.js +0 -65
  555. package/dist/esm/vendor/react-native/SectionList/index.js.map +0 -6
  556. package/dist/esm/vendor/react-native/StaticContainer/index.js +0 -16
  557. package/dist/esm/vendor/react-native/StaticContainer/index.js.map +0 -6
  558. package/dist/esm/vendor/react-native/StaticRenderer/index.js +0 -15
  559. package/dist/esm/vendor/react-native/StaticRenderer/index.js.map +0 -6
  560. package/dist/esm/vendor/react-native/TouchHistoryMath/index.js +0 -103
  561. package/dist/esm/vendor/react-native/TouchHistoryMath/index.js.map +0 -6
  562. package/dist/esm/vendor/react-native/TurboModule/RCTExport.js +0 -10
  563. package/dist/esm/vendor/react-native/TurboModule/RCTExport.js.map +0 -6
  564. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js +0 -16
  565. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.js.map +0 -6
  566. package/dist/esm/vendor/react-native/Types/CoreEventTypes.js +0 -111
  567. package/dist/esm/vendor/react-native/Types/CoreEventTypes.js.map +0 -6
  568. package/dist/esm/vendor/react-native/Utilities/Platform.js +0 -7
  569. package/dist/esm/vendor/react-native/Utilities/Platform.js.map +0 -6
  570. package/dist/esm/vendor/react-native/Utilities/clamp.js +0 -9
  571. package/dist/esm/vendor/react-native/Utilities/clamp.js.map +0 -6
  572. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js +0 -12
  573. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.js.map +0 -6
  574. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js +0 -17
  575. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.js.map +0 -6
  576. package/dist/esm/vendor/react-native/Utilities/useRefEffect.js +0 -16
  577. package/dist/esm/vendor/react-native/Utilities/useRefEffect.js.map +0 -6
  578. package/dist/esm/vendor/react-native/ViewabilityHelper/index.js +0 -136
  579. package/dist/esm/vendor/react-native/ViewabilityHelper/index.js.map +0 -6
  580. package/dist/esm/vendor/react-native/ViewabilityHelper.js +0 -129
  581. package/dist/esm/vendor/react-native/ViewabilityHelper.js.map +0 -6
  582. package/dist/esm/vendor/react-native/VirtualizeUtils/index.js +0 -70
  583. package/dist/esm/vendor/react-native/VirtualizeUtils/index.js.map +0 -6
  584. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js +0 -62
  585. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.js.map +0 -6
  586. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js +0 -45
  587. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.js.map +0 -6
  588. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js +0 -53
  589. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.js.map +0 -6
  590. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js +0 -140
  591. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.js.map +0 -6
  592. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js +0 -44
  593. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.js.map +0 -6
  594. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js +0 -43
  595. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.js.map +0 -6
  596. package/dist/esm/vendor/react-native/VirtualizedList/index.js +0 -232
  597. package/dist/esm/vendor/react-native/VirtualizedList/index.js.map +0 -6
  598. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js +0 -97
  599. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.js.map +0 -6
  600. package/dist/esm/vendor/react-native/deepDiffer/index.js +0 -32
  601. package/dist/esm/vendor/react-native/deepDiffer/index.js.map +0 -6
  602. package/dist/esm/vendor/react-native/emitter/EventEmitter.js +0 -7
  603. package/dist/esm/vendor/react-native/emitter/EventEmitter.js.map +0 -6
  604. package/dist/esm/vendor/react-native/emitter/EventSubscription.js +0 -1
  605. package/dist/esm/vendor/react-native/emitter/EventSubscription.js.map +0 -6
  606. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js +0 -31
  607. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.js.map +0 -6
  608. package/dist/esm/vendor/react-native/emitter/_EventEmitter.js +0 -115
  609. package/dist/esm/vendor/react-native/emitter/_EventEmitter.js.map +0 -6
  610. package/dist/esm/vendor/react-native/emitter/_EventSubscription.js +0 -21
  611. package/dist/esm/vendor/react-native/emitter/_EventSubscription.js.map +0 -6
  612. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js +0 -60
  613. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.js.map +0 -6
  614. package/dist/esm/vendor/react-native/infoLog/index.js +0 -9
  615. package/dist/esm/vendor/react-native/infoLog/index.js.map +0 -6
  616. package/dist/esm/vendor/react-native/useRefEffect.js +0 -16
  617. package/dist/esm/vendor/react-native/useRefEffect.js.map +0 -6
  618. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js +0 -71
  619. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.js.map +0 -6
  620. package/dist/esm/without-animated.js +0 -302
  621. package/dist/esm/without-animated.js.map +0 -6
@@ -1,238 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var VirtualizedList_exports = {};
16
- __export(VirtualizedList_exports, {
17
- VirtualizedList: () => VirtualizedList,
18
- default: () => VirtualizedList_default
19
- });
20
- module.exports = __toCommonJS(VirtualizedList_exports);
21
- var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_ScrollView = require("../../../ScrollView"), import_RefreshControl = require("../../../RefreshControl"), import_Batchinator = require("../Batchinator"), import_ChildListCollection = require("./ChildListCollection"), import_FillRateHelper = require("../FillRateHelper"), import_StateSafePureComponent = require("./StateSafePureComponent"), import_ViewabilityHelper = require("../ViewabilityHelper"), import_VirtualizedListCellRenderer = require("./VirtualizedListCellRenderer"), import_VirtualizedListContext = require("./VirtualizedListContext"), import_jsx_runtime = require("react/jsx-runtime");
22
- const __DEV__ = process.env.NODE_ENV !== "production";
23
- function horizontalOrDefault(horizontal) {
24
- return horizontal ?? !1;
25
- }
26
- function scrollEventThrottleOrDefault(scrollEventThrottle) {
27
- return scrollEventThrottle ?? 50;
28
- }
29
- class VirtualizedList extends import_StateSafePureComponent.StateSafePureComponent {
30
- static contextType = import_VirtualizedListContext.VirtualizedListContext;
31
- constructor(props) {
32
- super(props), this._nestedChildLists = new import_ChildListCollection.ChildListCollection(), this._viewabilityTuples = [], this._scrollMetrics = {
33
- contentLength: 0,
34
- dOffset: 0,
35
- dt: 10,
36
- offset: 0,
37
- timestamp: 0,
38
- velocity: 0,
39
- visibleLength: 0
40
- }, this._highestMeasuredFrameIndex = 0, this._headerLength = 0, this._footerLength = 0, this._averageCellLength = 0, this._hasWarned = {}, this._fillRateHelper = new import_FillRateHelper.FillRateHelper(this._getFrameMetrics), this._updateCellsToRenderBatcher = new import_Batchinator.Batchinator(
41
- this._updateCellsToRender,
42
- this.props.updateCellsBatchingPeriod ?? 50
43
- ), this.props.viewabilityConfig && this.props.onViewableItemsChanged && this._viewabilityTuples.push({
44
- viewabilityHelper: new import_ViewabilityHelper.ViewabilityHelper(this.props.viewabilityConfig),
45
- onViewableItemsChanged: this.props.onViewableItemsChanged
46
- });
47
- }
48
- scrollToEnd(params) {
49
- const animated = params ? params.animated : !0, veryLast = this.props.getItemCount(this.props.data) - 1;
50
- if (veryLast < 0)
51
- return;
52
- const frame = this.__getFrameMetricsApprox(veryLast, this.props), offset = Math.max(
53
- 0,
54
- frame.offset + frame.length + this._footerLength - this._scrollMetrics.visibleLength
55
- );
56
- if (this._scrollRef != null) {
57
- if (this._scrollRef.scrollTo == null) {
58
- console.warn(
59
- "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."
60
- );
61
- return;
62
- }
63
- this._scrollRef.scrollTo(
64
- horizontalOrDefault(this.props.horizontal) ? { x: offset, animated } : { y: offset, animated }
65
- );
66
- }
67
- }
68
- scrollToIndex(params) {
69
- const { data, horizontal, getItemCount, getItemLayout, onScrollToIndexFailed } = this.props, { animated, index, viewOffset, viewPosition } = params;
70
- if ((0, import_react_native_web_internals.invariant)(
71
- index >= 0,
72
- `scrollToIndex out of range: requested index ${index} but minimum is 0`
73
- ), (0, import_react_native_web_internals.invariant)(
74
- getItemCount(data) >= 1,
75
- `scrollToIndex out of range: item length ${getItemCount(data)} but minimum is 1`
76
- ), (0, import_react_native_web_internals.invariant)(
77
- index < getItemCount(data),
78
- `scrollToIndex out of range: requested index ${index} is out of 0 to ${getItemCount(data) - 1}`
79
- ), !getItemLayout && index > this._highestMeasuredFrameIndex) {
80
- (0, import_react_native_web_internals.invariant)(
81
- !!onScrollToIndexFailed,
82
- "scrollToIndex should be used in conjunction with getItemLayout or onScrollToIndexFailed, otherwise there is no way to know the location of offscreen indices or handle failures."
83
- ), onScrollToIndexFailed({
84
- averageItemLength: this._averageCellLength,
85
- highestMeasuredFrameIndex: this._highestMeasuredFrameIndex,
86
- index
87
- });
88
- return;
89
- }
90
- const frame = this.__getFrameMetricsApprox(Math.floor(index), this.props), offset = Math.max(
91
- 0,
92
- this._getOffsetApprox(index, this.props) - (viewPosition || 0) * (this._scrollMetrics.visibleLength - frame.length)
93
- ) - (viewOffset || 0);
94
- this._scrollRef != null && this._scrollRef.scrollTo(
95
- horizontalOrDefault(horizontal) ? { x: offset, animated } : { y: offset, animated }
96
- );
97
- }
98
- scrollToItem(params) {
99
- const { data, getItem, getItemCount, horizontal, onScrollToIndexFailed } = this.props, { animated, item, viewPosition, viewOffset } = params, index = this.props.data.indexOf(item);
100
- if (index !== -1)
101
- this.scrollToIndex({
102
- animated,
103
- index,
104
- viewOffset,
105
- viewPosition
106
- });
107
- else {
108
- const itemCount = getItemCount(data);
109
- for (let i = 0; i < itemCount; i++)
110
- if (getItem(data, i) === item) {
111
- this.scrollToIndex({
112
- animated,
113
- index: i,
114
- viewOffset,
115
- viewPosition
116
- });
117
- break;
118
- }
119
- }
120
- }
121
- scrollToOffset(params) {
122
- const { animated, offset } = params;
123
- this._scrollRef != null && this._scrollRef.scrollTo(
124
- horizontalOrDefault(this.props.horizontal) ? { x: offset, animated } : { y: offset, animated }
125
- );
126
- }
127
- recordInteraction() {
128
- this._nestedChildLists.forEach((childList) => {
129
- childList.recordInteraction();
130
- }), this._viewabilityTuples.forEach((viewabilityTuple) => {
131
- viewabilityTuple.viewabilityHelper.recordInteraction();
132
- });
133
- }
134
- flashScrollIndicators() {
135
- this._scrollRef && this._scrollRef.flashScrollIndicators && this._scrollRef.flashScrollIndicators();
136
- }
137
- getScrollResponder() {
138
- if (this._scrollRef && this._scrollRef.getScrollResponder)
139
- return this._scrollRef.getScrollResponder();
140
- }
141
- getScrollableNode() {
142
- if (this._scrollRef && this._scrollRef.getScrollableNode)
143
- return this._scrollRef.getScrollableNode();
144
- }
145
- getScrollRef() {
146
- return this._scrollRef;
147
- }
148
- setNativeProps(props) {
149
- this._scrollRef && this._scrollRef.setNativeProps(props);
150
- }
151
- render() {
152
- const {
153
- ListEmptyComponent,
154
- ListFooterComponent,
155
- ListHeaderComponent,
156
- data,
157
- debug,
158
- disableVirtualization,
159
- getItem,
160
- getItemCount,
161
- getItemLayout,
162
- horizontal,
163
- keyExtractor,
164
- numColumns,
165
- onEndReached,
166
- onEndReachedThreshold,
167
- onLayout,
168
- onRefresh,
169
- onScroll,
170
- onScrollBeginDrag,
171
- onScrollEndDrag,
172
- onMomentumScrollBegin,
173
- onMomentumScrollEnd,
174
- onStartReached,
175
- onStartReachedThreshold,
176
- onViewableItemsChanged,
177
- refreshing,
178
- removeClippedSubviews,
179
- renderItem,
180
- viewabilityConfig,
181
- viewabilityConfigCallbackPairs,
182
- ...restProps
183
- } = this.props;
184
- return getItemCount(data) === 0 ? ListEmptyComponent ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ListEmptyComponent, {}) : null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
185
- import_ScrollView.ScrollView,
186
- {
187
- ...restProps,
188
- ref: this._captureRef,
189
- onContentSizeChange: this._onContentSizeChange,
190
- onLayout: this._onLayout,
191
- onScroll: this._onScroll,
192
- refreshControl: onRefresh && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_RefreshControl.RefreshControl, { refreshing, onRefresh }),
193
- scrollEventThrottle: scrollEventThrottleOrDefault(this.props.scrollEventThrottle),
194
- removeClippedSubviews,
195
- children: this._renderChildren()
196
- }
197
- );
198
- }
199
- _renderChildren() {
200
- const { data, getItem, getItemCount, renderItem } = this.props, items = [];
201
- for (let i = 0; i < getItemCount(data); i++) {
202
- const item = getItem(data, i);
203
- items.push(
204
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
205
- import_VirtualizedListCellRenderer.CellRenderer,
206
- {
207
- cellKey: String(i),
208
- index: i,
209
- item,
210
- renderItem
211
- },
212
- this.props.keyExtractor ? this.props.keyExtractor(item, i) : i
213
- )
214
- );
215
- }
216
- return items;
217
- }
218
- _captureRef = (ref) => {
219
- this._scrollRef = ref;
220
- };
221
- _onContentSizeChange = (width, height) => {
222
- };
223
- _onLayout = (event) => {
224
- };
225
- _onScroll = (event) => {
226
- };
227
- __getFrameMetricsApprox(index, props) {
228
- return {
229
- length: this._averageCellLength,
230
- offset: this._averageCellLength * index
231
- };
232
- }
233
- _getOffsetApprox(index, props) {
234
- return this.__getFrameMetricsApprox(index, props).offset;
235
- }
236
- }
237
- var VirtualizedList_default = VirtualizedList;
238
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../src/vendor/react-native/VirtualizedList/index.jsx"],
4
- "mappings": "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",
5
- "names": []
6
- }
@@ -1,119 +0,0 @@
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 VirtualizedSectionList_exports = {};
24
- __export(VirtualizedSectionList_exports, {
25
- VirtualizedSectionList: () => VirtualizedSectionList,
26
- default: () => VirtualizedSectionList_default
27
- });
28
- module.exports = __toCommonJS(VirtualizedSectionList_exports);
29
- var import_VirtualizedList = require("../VirtualizedList"), React = __toESM(require("react"), 1), import_jsx_runtime = require("react/jsx-runtime");
30
- const defaultProps = {
31
- data: [],
32
- key: null,
33
- renderItem: null,
34
- ItemSeparatorComponent: null,
35
- keyExtractor: null
36
- };
37
- class VirtualizedSectionList extends React.PureComponent {
38
- scrollToLocation(params) {
39
- let index = params.itemIndex;
40
- for (let i = 0; i < params.sectionIndex; i++)
41
- index += this.props.getItemCount(this.props.sections[i].data) + 2;
42
- let viewOffset = params.viewOffset || 0;
43
- if (this._listRef == null)
44
- return;
45
- if (params.itemIndex > 0 && this.props.stickySectionHeadersEnabled) {
46
- const frame = this._listRef.__getFrameMetricsApprox(
47
- index - params.itemIndex,
48
- this._listRef.props
49
- );
50
- viewOffset += frame.length;
51
- }
52
- const toIndexParams = {
53
- ...params,
54
- viewOffset,
55
- index
56
- };
57
- this._listRef.scrollToIndex(toIndexParams);
58
- }
59
- getListRef() {
60
- return this._listRef;
61
- }
62
- render() {
63
- const {
64
- ItemSeparatorComponent,
65
- SectionSeparatorComponent,
66
- renderItem: _renderItem,
67
- renderSectionFooter,
68
- renderSectionHeader,
69
- sections: _sections,
70
- stickySectionHeadersEnabled,
71
- ...passThroughProps
72
- } = this.props, listHeaderOffset = this.props.ListHeaderComponent ? 1 : 0, stickyHeaderIndices = this.props.stickySectionHeadersEnabled ? [] : void 0;
73
- let itemCount = 0;
74
- for (const section of this.props.sections)
75
- stickyHeaderIndices?.push(itemCount + listHeaderOffset), itemCount += 2, itemCount += this.props.getItemCount(section.data);
76
- const renderItem = this._renderItem(itemCount);
77
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
78
- import_VirtualizedList.VirtualizedList,
79
- {
80
- ...passThroughProps,
81
- keyExtractor: this._keyExtractor,
82
- stickyHeaderIndices,
83
- renderItem,
84
- data: this.props.sections,
85
- getItem: (sections, index) => this._getItem(this.props, sections, index),
86
- getItemCount: () => itemCount,
87
- onViewableItemsChanged: this.props.onViewableItemsChanged ? this._onViewableItemsChanged : void 0,
88
- ref: this._captureRef
89
- }
90
- );
91
- }
92
- _getItem(props, sections, index) {
93
- if (!sections)
94
- return null;
95
- let itemIdx = index - 1;
96
- for (let i = 0; i < sections.length; i++) {
97
- const section = sections[i], sectionData = section.data, itemCount = props.getItemCount(sectionData);
98
- if (itemIdx === -1 || itemIdx === itemCount)
99
- return section;
100
- if (itemIdx < itemCount)
101
- return props.getItem(sectionData, itemIdx);
102
- itemIdx -= itemCount + 2;
103
- }
104
- return null;
105
- }
106
- _keyExtractor = (item, index) => (this.props.keyExtractor || this._defaultKeyExtractor)(item, index);
107
- _defaultKeyExtractor = (item, index) => item.key != null ? item.key : String(index);
108
- _captureRef = (ref) => {
109
- this._listRef = ref;
110
- };
111
- _renderItem = (itemCount) => ({ item, index }) => index === 0 || index === itemCount - 1 ? null : (this.props.renderItem || this._defaultRenderItem)({ item, index, section: item });
112
- _defaultRenderItem = ({ item }) => null;
113
- _onViewableItemsChanged = (info) => {
114
- this.props.onViewableItemsChanged && this.props.onViewableItemsChanged(info);
115
- };
116
- }
117
- VirtualizedSectionList.defaultProps = defaultProps;
118
- var VirtualizedSectionList_default = VirtualizedSectionList;
119
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../src/vendor/react-native/VirtualizedSectionList/index.jsx"],
4
- "mappings": "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",
5
- "names": []
6
- }
@@ -1,49 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __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 __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var deepDiffer_exports = {};
17
- __export(deepDiffer_exports, {
18
- deepDiffer: () => deepDiffer,
19
- default: () => deepDiffer_default
20
- });
21
- module.exports = __toCommonJS(deepDiffer_exports);
22
- const deepDiffer = function(one, two, maxDepth = -1) {
23
- if (maxDepth === 0)
24
- return !0;
25
- if (one === two || typeof one == "function" && typeof two == "function")
26
- return !1;
27
- if (typeof one != "object" || one === null)
28
- return one !== two;
29
- if (typeof two != "object" || two === null || one.constructor !== two.constructor)
30
- return !0;
31
- if (Array.isArray(one)) {
32
- const len = one.length;
33
- if (two.length !== len)
34
- return !0;
35
- for (let ii = 0; ii < len; ii++)
36
- if (deepDiffer(one[ii], two[ii], maxDepth - 1))
37
- return !0;
38
- } else {
39
- for (const key in one)
40
- if (deepDiffer(one[key], two[key], maxDepth - 1))
41
- return !0;
42
- for (const twoKey in two)
43
- if (one[twoKey] === void 0 && two[twoKey] !== void 0)
44
- return !0;
45
- }
46
- return !1;
47
- };
48
- var deepDiffer_default = deepDiffer;
49
- //# sourceMappingURL=index.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../src/vendor/react-native/deepDiffer/index.js"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeA,MAAM,aAAa,SAAU,KAAK,KAAK,WAAW,IAAI;AACpD,MAAI,aAAa;AACf,WAAO;AAMT,MAJI,QAAQ,OAIR,OAAO,OAAQ,cAAc,OAAO,OAAQ;AAE9C,WAAO;AAET,MAAI,OAAO,OAAQ,YAAY,QAAQ;AAErC,WAAO,QAAQ;AAOjB,MALI,OAAO,OAAQ,YAAY,QAAQ,QAKnC,IAAI,gBAAgB,IAAI;AAC1B,WAAO;AAET,MAAI,MAAM,QAAQ,GAAG,GAAG;AAEtB,UAAM,MAAM,IAAI;AAChB,QAAI,IAAI,WAAW;AACjB,aAAO;AAET,aAAS,KAAK,GAAG,KAAK,KAAK;AACzB,UAAI,WAAW,IAAI,EAAE,GAAG,IAAI,EAAE,GAAG,WAAW,CAAC;AAC3C,eAAO;AAAA,EAGb,OAAO;AACL,eAAW,OAAO;AAChB,UAAI,WAAW,IAAI,GAAG,GAAG,IAAI,GAAG,GAAG,WAAW,CAAC;AAC7C,eAAO;AAGX,eAAW,UAAU;AAGnB,UAAI,IAAI,MAAM,MAAM,UAAa,IAAI,MAAM,MAAM;AAC/C,eAAO;AAAA,EAGb;AACA,SAAO;AACT;AAGA,IAAO,qBAAQ;",
5
- "names": []
6
- }
@@ -1,24 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __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 __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var EventEmitter_exports = {};
17
- __export(EventEmitter_exports, {
18
- EventEmitter: () => import_EventEmitter.EventEmitter,
19
- default: () => EventEmitter_default
20
- });
21
- module.exports = __toCommonJS(EventEmitter_exports);
22
- var import_EventEmitter = require("./_EventEmitter");
23
- var EventEmitter_default = import_EventEmitter.EventEmitter;
24
- //# sourceMappingURL=EventEmitter.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../src/vendor/react-native/emitter/EventEmitter.js"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,0BAA6B;AAE7B,IAAO,uBAAQ;",
5
- "names": []
6
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- //# sourceMappingURL=EventSubscription.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": [],
4
- "mappings": "",
5
- "names": []
6
- }
@@ -1,48 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __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 __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var EmitterSubscription_exports = {};
17
- __export(EmitterSubscription_exports, {
18
- EmitterSubscription: () => EmitterSubscription,
19
- default: () => EmitterSubscription_default
20
- });
21
- module.exports = __toCommonJS(EmitterSubscription_exports);
22
- var import_EventSubscription = require("./_EventSubscription");
23
- class EmitterSubscription extends import_EventSubscription._EventSubscription {
24
- /**
25
- * @param {EventEmitter} emitter - The event emitter that registered this
26
- * subscription
27
- * @param {EventSubscriptionVendor} subscriber - The subscriber that controls
28
- * this subscription
29
- * @param {function} listener - Function to invoke when the specified event is
30
- * emitted
31
- * @param {*} context - Optional context object to use when invoking the
32
- * listener
33
- */
34
- constructor(emitter, subscriber, listener, context) {
35
- super(subscriber), this.emitter = emitter, this.listener = listener, this.context = context;
36
- }
37
- /**
38
- * Removes this subscription from the emitter that registered it.
39
- * Note: we're overriding the `remove()` method of _EventSubscription here
40
- * but deliberately not calling `super.remove()` as the responsibility
41
- * for removing the subscription lies with the EventEmitter.
42
- */
43
- remove() {
44
- this.emitter.removeSubscription(this);
45
- }
46
- }
47
- var EmitterSubscription_default = EmitterSubscription;
48
- //# sourceMappingURL=_EmitterSubscription.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../src/vendor/react-native/emitter/_EmitterSubscription.js"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAWA,+BAAmC;AAKnC,MAAM,4BAA4B,4CAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWnD,YAAY,SAAS,YAAY,UAAU,SAAS;AAClD,UAAM,UAAU,GAChB,KAAK,UAAU,SACf,KAAK,WAAW,UAChB,KAAK,UAAU;AAAA,EACjB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAQA,SAAS;AACP,SAAK,QAAQ,mBAAmB,IAAI;AAAA,EACtC;AACF;AAGA,IAAO,8BAAQ;",
5
- "names": []
6
- }
@@ -1,128 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var EventEmitter_exports = {};
16
- __export(EventEmitter_exports, {
17
- EventEmitter: () => EventEmitter,
18
- default: () => EventEmitter_default
19
- });
20
- module.exports = __toCommonJS(EventEmitter_exports);
21
- var import_react_native_web_internals = require("@tamagui/react-native-web-internals"), import_EmitterSubscription = require("./_EmitterSubscription"), import_EventSubscriptionVendor = require("./_EventSubscriptionVendor"), sparseFilterPredicate = () => !0;
22
- class EventEmitter {
23
- /**
24
- * @constructor
25
- *
26
- * @param {EventSubscriptionVendor} subscriber - Optional subscriber instance
27
- * to use. If omitted, a new subscriber will be created for the emitter.
28
- */
29
- constructor(subscriber = new import_EventSubscriptionVendor.EventSubscriptionVendor()) {
30
- this._subscriber = subscriber;
31
- }
32
- /**
33
- * Adds a listener to be invoked when events of the specified type are
34
- * emitted. An optional calling context may be provided. The data arguments
35
- * emitted will be passed to the listener function.
36
- *
37
- * TODO: Annotate the listener arg's type. This is tricky because listeners
38
- * can be invoked with varargs.
39
- *
40
- * @param {string} eventType - Name of the event to listen to
41
- * @param {function} listener - Function to invoke when the specified event is
42
- * emitted
43
- * @param {*} context - Optional context object to use when invoking the
44
- * listener
45
- */
46
- addListener(eventType, listener, context) {
47
- return this._subscriber.addSubscription(
48
- eventType,
49
- new import_EmitterSubscription.EmitterSubscription(this, this._subscriber, listener, context)
50
- );
51
- }
52
- /**
53
- * Removes all of the registered listeners, including those registered as
54
- * listener maps.
55
- *
56
- * @param {?string} eventType - Optional name of the event whose registered
57
- * listeners to remove
58
- */
59
- removeAllListeners(eventType) {
60
- this._subscriber.removeAllSubscriptions(eventType);
61
- }
62
- /**
63
- * @deprecated Use `remove` on the EventSubscription from `addListener`.
64
- */
65
- removeSubscription(subscription) {
66
- (0, import_react_native_web_internals.invariant)(
67
- subscription.emitter === this,
68
- "Subscription does not belong to this emitter."
69
- ), this._subscriber.removeSubscription(subscription);
70
- }
71
- /**
72
- * Returns the number of listeners that are currently registered for the given
73
- * event.
74
- *
75
- * @param {string} eventType - Name of the event to query
76
- * @returns {number}
77
- */
78
- listenerCount(eventType) {
79
- var subscriptions = this._subscriber.getSubscriptionsForType(eventType);
80
- return subscriptions ? (
81
- // "callbackfn is called only for elements of the array which actually
82
- // exist; it is not called for missing elements of the array."
83
- // https://www.ecma-international.org/ecma-262/9.0/index.html#sec-array.prototype.filter
84
- subscriptions.filter(sparseFilterPredicate).length
85
- ) : 0;
86
- }
87
- /**
88
- * Emits an event of the given type with the given data. All handlers of that
89
- * particular type will be notified.
90
- *
91
- * @param {string} eventType - Name of the event to emit
92
- * @param {...*} Arbitrary arguments to be passed to each registered listener
93
- *
94
- * @example
95
- * emitter.addListener('someEvent', function(message) {
96
- * console.log(message);
97
- * });
98
- *
99
- * emitter.emit('someEvent', 'abc'); // logs 'abc'
100
- */
101
- emit(eventType) {
102
- var subscriptions = this._subscriber.getSubscriptionsForType(eventType);
103
- if (subscriptions) {
104
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++)
105
- args[_key - 1] = arguments[_key];
106
- for (var i = 0, l = subscriptions.length; i < l; i++) {
107
- var subscription = subscriptions[i];
108
- subscription && subscription.listener && subscription.listener.apply(subscription.context, args);
109
- }
110
- }
111
- }
112
- /**
113
- * @deprecated Use `remove` on the EventSubscription from `addListener`.
114
- */
115
- removeListener(eventType, listener) {
116
- console.error(
117
- "EventEmitter.removeListener('" + eventType + "', ...): Method has been deprecated. Please instead use `remove()` on the subscription returned by `EventEmitter.addListener`."
118
- );
119
- var subscriptions = this._subscriber.getSubscriptionsForType(eventType);
120
- if (subscriptions)
121
- for (var i = 0, l = subscriptions.length; i < l; i++) {
122
- var subscription = subscriptions[i];
123
- subscription && subscription.listener === listener && subscription.remove();
124
- }
125
- }
126
- }
127
- var EventEmitter_default = EventEmitter;
128
- //# sourceMappingURL=_EventEmitter.js.map