@hanzogui/react-native-web-lite 3.0.6 → 4.3.1

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 (401) hide show
  1. package/dist/cjs/AccessibilityInfo/index.cjs +77 -65
  2. package/dist/cjs/ActivityIndicator/__tests__/index-test.cjs +70 -49
  3. package/dist/cjs/ActivityIndicator/index.cjs +110 -108
  4. package/dist/cjs/Alert/index.cjs +12 -10
  5. package/dist/cjs/AppRegistry/AppContainer.cjs +50 -45
  6. package/dist/cjs/AppRegistry/__tests__/index-test.cjs +32 -18
  7. package/dist/cjs/AppRegistry/__tests__/index-test.node.cjs +47 -40
  8. package/dist/cjs/AppRegistry/index.cjs +38 -26
  9. package/dist/cjs/AppRegistry/renderApplication.cjs +44 -39
  10. package/dist/cjs/AppState/__tests__/index-test.cjs +13 -9
  11. package/dist/cjs/AppState/index.cjs +41 -25
  12. package/dist/cjs/Appearance/index.cjs +38 -27
  13. package/dist/cjs/BackHandler/index.cjs +12 -10
  14. package/dist/cjs/Clipboard/index.cjs +30 -17
  15. package/dist/cjs/DeviceEmitter.cjs +12 -10
  16. package/dist/cjs/DeviceInfo/index.cjs +21 -13
  17. package/dist/cjs/Dimensions/__tests__/index-test.cjs +29 -16
  18. package/dist/cjs/Dimensions/index.cjs +63 -33
  19. package/dist/cjs/FlatList.cjs +139 -95
  20. package/dist/cjs/I18nManager/index.cjs +19 -13
  21. package/dist/cjs/Image/index.cjs +209 -147
  22. package/dist/cjs/Image/types.cjs +7 -5
  23. package/dist/cjs/ImageBackground/__tests__/index-test.cjs +33 -29
  24. package/dist/cjs/ImageBackground/index.cjs +49 -47
  25. package/dist/cjs/InteractionManager/TaskQueue.cjs +49 -25
  26. package/dist/cjs/InteractionManager/index.cjs +115 -88
  27. package/dist/cjs/Keyboard/index.cjs +12 -10
  28. package/dist/cjs/KeyboardAvoidingView/index.cjs +30 -26
  29. package/dist/cjs/Libraries/Pressability/Pressability.cjs +12 -10
  30. package/dist/cjs/Libraries/Pressability/usePressability.cjs +12 -10
  31. package/dist/cjs/Linking/__tests__/index-test.cjs +31 -15
  32. package/dist/cjs/Linking/index.cjs +37 -23
  33. package/dist/cjs/LogBox/index.cjs +12 -10
  34. package/dist/cjs/Modal/ModalAnimation.cjs +141 -114
  35. package/dist/cjs/Modal/ModalContent.cjs +39 -29
  36. package/dist/cjs/Modal/ModalPortal.cjs +44 -33
  37. package/dist/cjs/Modal/index.cjs +12 -10
  38. package/dist/cjs/NativeModules/index.cjs +12 -10
  39. package/dist/cjs/PanResponder/index.cjs +24 -22
  40. package/dist/cjs/PixelRatio/index.cjs +12 -10
  41. package/dist/cjs/Pressable/index.cjs +128 -100
  42. package/dist/cjs/RefreshControl/index.cjs +14 -12
  43. package/dist/cjs/SafeAreaView/index.cjs +44 -37
  44. package/dist/cjs/ScrollView/ScrollViewBase.cjs +111 -84
  45. package/dist/cjs/ScrollView/index.cjs +255 -172
  46. package/dist/cjs/SectionList.cjs +26 -24
  47. package/dist/cjs/Share/index.cjs +25 -15
  48. package/dist/cjs/StatusBar/index.cjs +12 -10
  49. package/dist/cjs/Text/index.cjs +171 -144
  50. package/dist/cjs/Text/types.cjs +7 -5
  51. package/dist/cjs/TextInput/index.cjs +252 -141
  52. package/dist/cjs/TextInput/types.cjs +7 -5
  53. package/dist/cjs/TouchableNativeFeedback.cjs +12 -10
  54. package/dist/cjs/TouchableOpacity.cjs +91 -82
  55. package/dist/cjs/TouchableWithoutFeedback.cjs +73 -69
  56. package/dist/cjs/UnimplementedView.cjs +31 -26
  57. package/dist/cjs/Vibration/index.cjs +23 -19
  58. package/dist/cjs/View/index.cjs +106 -85
  59. package/dist/cjs/View/types.cjs +7 -5
  60. package/dist/cjs/VirtualizedList.cjs +26 -24
  61. package/dist/cjs/codegenNativeCommand.cjs +14 -11
  62. package/dist/cjs/codegenNativeComponent.cjs +14 -11
  63. package/dist/cjs/createElement/__tests__/index-test.cjs +162 -99
  64. package/dist/cjs/createElement/index.cjs +78 -68
  65. package/dist/cjs/createReactDOMStyle.cjs +12 -10
  66. package/dist/cjs/index.cjs +78 -76
  67. package/dist/cjs/modules/requestIdleCallback.cjs +28 -26
  68. package/dist/cjs/preprocess.cjs +12 -10
  69. package/dist/cjs/render/index.cjs +12 -10
  70. package/dist/cjs/styleTypes.cjs +7 -5
  71. package/dist/cjs/types.cjs +7 -5
  72. package/dist/cjs/useColorScheme/index.cjs +29 -26
  73. package/dist/cjs/useLocaleContext/index.cjs +12 -10
  74. package/dist/cjs/useWindowDimensions/index.cjs +35 -28
  75. package/dist/cjs/vendor/react-native/Animated/Animated.cjs +31 -29
  76. package/dist/cjs/vendor/react-native/Animated/AnimatedEvent.cjs +97 -45
  77. package/dist/cjs/vendor/react-native/Animated/AnimatedImplementation.cjs +545 -466
  78. package/dist/cjs/vendor/react-native/Animated/AnimatedMock.cjs +106 -99
  79. package/dist/cjs/vendor/react-native/Animated/Easing.cjs +27 -15
  80. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedHelper.cjs +303 -215
  81. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedModule.cjs +58 -56
  82. package/dist/cjs/vendor/react-native/Animated/NativeAnimatedTurboModule.cjs +55 -53
  83. package/dist/cjs/vendor/react-native/Animated/SpringConfig.cjs +22 -14
  84. package/dist/cjs/vendor/react-native/Animated/animations/Animation.cjs +22 -14
  85. package/dist/cjs/vendor/react-native/Animated/animations/DecayAnimation.cjs +45 -21
  86. package/dist/cjs/vendor/react-native/Animated/animations/SpringAnimation.cjs +116 -44
  87. package/dist/cjs/vendor/react-native/Animated/animations/TimingAnimation.cjs +77 -32
  88. package/dist/cjs/vendor/react-native/Animated/bezier.cjs +68 -27
  89. package/dist/cjs/vendor/react-native/Animated/components/AnimatedFlatList.cjs +33 -31
  90. package/dist/cjs/vendor/react-native/Animated/components/AnimatedImage.cjs +26 -13
  91. package/dist/cjs/vendor/react-native/Animated/components/AnimatedScrollView.cjs +33 -31
  92. package/dist/cjs/vendor/react-native/Animated/components/AnimatedSectionList.cjs +33 -31
  93. package/dist/cjs/vendor/react-native/Animated/components/AnimatedText.cjs +14 -12
  94. package/dist/cjs/vendor/react-native/Animated/components/AnimatedView.cjs +14 -12
  95. package/dist/cjs/vendor/react-native/Animated/createAnimatedComponent.cjs +40 -37
  96. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedAddition.cjs +26 -17
  97. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedColor.cjs +148 -65
  98. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDiffClamp.cjs +28 -18
  99. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedDivision.cjs +42 -22
  100. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedInterpolation.cjs +122 -47
  101. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedModulo.cjs +21 -15
  102. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedMultiplication.cjs +26 -17
  103. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedNode.cjs +70 -27
  104. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedProps.cjs +73 -32
  105. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedStyle.cjs +60 -28
  106. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedSubtraction.cjs +26 -17
  107. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTracking.cjs +36 -19
  108. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedTransform.cjs +57 -32
  109. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValue.cjs +108 -39
  110. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedValueXY.cjs +53 -30
  111. package/dist/cjs/vendor/react-native/Animated/nodes/AnimatedWithChildren.cjs +44 -18
  112. package/dist/cjs/vendor/react-native/Animated/useAnimatedProps.cjs +63 -43
  113. package/dist/cjs/vendor/react-native/Batchinator/index.cjs +27 -15
  114. package/dist/cjs/vendor/react-native/EventEmitter/NativeEventEmitter.cjs +28 -16
  115. package/dist/cjs/vendor/react-native/EventEmitter/RCTDeviceEventEmitter.cjs +12 -10
  116. package/dist/cjs/vendor/react-native/FeatureFlags.cjs +18 -16
  117. package/dist/cjs/vendor/react-native/FillRateHelper/index.cjs +92 -42
  118. package/dist/cjs/vendor/react-native/FlatList/index.cjs +166 -105
  119. package/dist/cjs/vendor/react-native/JSEventLoopWatchdog/index.cjs +39 -24
  120. package/dist/cjs/vendor/react-native/LayoutAnimation/index.cjs +75 -71
  121. package/dist/cjs/vendor/react-native/PanResponder/index.cjs +181 -118
  122. package/dist/cjs/vendor/react-native/PooledClass/index.cjs +44 -30
  123. package/dist/cjs/vendor/react-native/ReactNative/ReactNativeFeatureFlags.cjs +17 -15
  124. package/dist/cjs/vendor/react-native/SectionList/index.cjs +63 -39
  125. package/dist/cjs/vendor/react-native/StaticContainer/index.cjs +25 -23
  126. package/dist/cjs/vendor/react-native/StaticRenderer/index.cjs +24 -22
  127. package/dist/cjs/vendor/react-native/TouchHistoryMath/index.cjs +48 -29
  128. package/dist/cjs/vendor/react-native/TurboModule/RCTExport.cjs +17 -15
  129. package/dist/cjs/vendor/react-native/TurboModule/TurboModuleRegistry.cjs +14 -11
  130. package/dist/cjs/vendor/react-native/Types/CoreEventTypes.cjs +127 -125
  131. package/dist/cjs/vendor/react-native/Utilities/Platform.cjs +12 -10
  132. package/dist/cjs/vendor/react-native/Utilities/clamp.cjs +19 -11
  133. package/dist/cjs/vendor/react-native/Utilities/setAndForwardRef.cjs +19 -12
  134. package/dist/cjs/vendor/react-native/Utilities/useMergeRefs.cjs +21 -11
  135. package/dist/cjs/vendor/react-native/Utilities/useRefEffect.cjs +19 -11
  136. package/dist/cjs/vendor/react-native/ViewabilityHelper/index.cjs +92 -51
  137. package/dist/cjs/vendor/react-native/ViewabilityHelper.cjs +91 -50
  138. package/dist/cjs/vendor/react-native/VirtualizeUtils/index.cjs +96 -58
  139. package/dist/cjs/vendor/react-native/VirtualizedList/CellRenderMask.cjs +75 -44
  140. package/dist/cjs/vendor/react-native/VirtualizedList/ChildListCollection.cjs +36 -17
  141. package/dist/cjs/vendor/react-native/VirtualizedList/StateSafePureComponent.cjs +51 -41
  142. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.cjs +87 -78
  143. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListContext.cjs +36 -32
  144. package/dist/cjs/vendor/react-native/VirtualizedList/VirtualizedListProps.cjs +19 -17
  145. package/dist/cjs/vendor/react-native/VirtualizedList/index.cjs +147 -101
  146. package/dist/cjs/vendor/react-native/VirtualizedSectionList/index.cjs +93 -58
  147. package/dist/cjs/vendor/react-native/deepDiffer/index.cjs +49 -19
  148. package/dist/cjs/vendor/react-native/emitter/EventEmitter.cjs +12 -10
  149. package/dist/cjs/vendor/react-native/emitter/_EmitterSubscription.cjs +16 -11
  150. package/dist/cjs/vendor/react-native/emitter/_EventEmitter.cjs +31 -20
  151. package/dist/cjs/vendor/react-native/emitter/_EventSubscription.cjs +12 -10
  152. package/dist/cjs/vendor/react-native/emitter/_EventSubscriptionVendor.cjs +31 -17
  153. package/dist/cjs/vendor/react-native/infoLog/index.cjs +12 -10
  154. package/dist/cjs/vendor/react-native/useRefEffect.cjs +19 -11
  155. package/dist/cjs/vendor/react-native/vendor/emitter/EventEmitter.cjs +37 -22
  156. package/dist/cjs/without-animated.cjs +167 -150
  157. package/dist/esm/AccessibilityInfo/index.mjs +65 -55
  158. package/dist/esm/AccessibilityInfo/index.mjs.map +1 -1
  159. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs +55 -36
  160. package/dist/esm/ActivityIndicator/__tests__/index-test.mjs.map +1 -1
  161. package/dist/esm/ActivityIndicator/index.mjs +82 -82
  162. package/dist/esm/ActivityIndicator/index.mjs.map +1 -1
  163. package/dist/esm/AppRegistry/AppContainer.mjs +22 -19
  164. package/dist/esm/AppRegistry/AppContainer.mjs.map +1 -1
  165. package/dist/esm/AppRegistry/__tests__/index-test.mjs +21 -9
  166. package/dist/esm/AppRegistry/__tests__/index-test.mjs.map +1 -1
  167. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs +33 -28
  168. package/dist/esm/AppRegistry/__tests__/index-test.node.mjs.map +1 -1
  169. package/dist/esm/AppRegistry/index.mjs +23 -13
  170. package/dist/esm/AppRegistry/index.mjs.map +1 -1
  171. package/dist/esm/AppRegistry/renderApplication.mjs +27 -24
  172. package/dist/esm/AppRegistry/renderApplication.mjs.map +1 -1
  173. package/dist/esm/AppState/__tests__/index-test.mjs +4 -2
  174. package/dist/esm/AppState/__tests__/index-test.mjs.map +1 -1
  175. package/dist/esm/AppState/index.mjs +29 -15
  176. package/dist/esm/AppState/index.mjs.map +1 -1
  177. package/dist/esm/Appearance/index.mjs +26 -17
  178. package/dist/esm/Appearance/index.mjs.map +1 -1
  179. package/dist/esm/Clipboard/index.mjs +18 -7
  180. package/dist/esm/Clipboard/index.mjs.map +1 -1
  181. package/dist/esm/DeviceInfo/index.mjs +7 -1
  182. package/dist/esm/DeviceInfo/index.mjs.map +1 -1
  183. package/dist/esm/Dimensions/__tests__/index-test.mjs +20 -9
  184. package/dist/esm/Dimensions/__tests__/index-test.mjs.map +1 -1
  185. package/dist/esm/Dimensions/index.mjs +51 -23
  186. package/dist/esm/Dimensions/index.mjs.map +1 -1
  187. package/dist/esm/FlatList.mjs +107 -65
  188. package/dist/esm/FlatList.mjs.map +1 -1
  189. package/dist/esm/I18nManager/index.mjs +7 -3
  190. package/dist/esm/I18nManager/index.mjs.map +1 -1
  191. package/dist/esm/Image/index.mjs +178 -118
  192. package/dist/esm/Image/index.mjs.map +1 -1
  193. package/dist/esm/ImageBackground/__tests__/index-test.mjs +20 -18
  194. package/dist/esm/ImageBackground/__tests__/index-test.mjs.map +1 -1
  195. package/dist/esm/ImageBackground/index.mjs +32 -32
  196. package/dist/esm/ImageBackground/index.mjs.map +1 -1
  197. package/dist/esm/InteractionManager/TaskQueue.mjs +37 -15
  198. package/dist/esm/InteractionManager/TaskQueue.mjs.map +1 -1
  199. package/dist/esm/InteractionManager/index.mjs +87 -62
  200. package/dist/esm/InteractionManager/index.mjs.map +1 -1
  201. package/dist/esm/KeyboardAvoidingView/index.mjs +3 -1
  202. package/dist/esm/KeyboardAvoidingView/index.mjs.map +1 -1
  203. package/dist/esm/Linking/__tests__/index-test.mjs +22 -8
  204. package/dist/esm/Linking/__tests__/index-test.mjs.map +1 -1
  205. package/dist/esm/Linking/index.mjs +25 -13
  206. package/dist/esm/Linking/index.mjs.map +1 -1
  207. package/dist/esm/Modal/ModalAnimation.mjs +113 -88
  208. package/dist/esm/Modal/ModalAnimation.mjs.map +1 -1
  209. package/dist/esm/Modal/ModalContent.mjs +12 -4
  210. package/dist/esm/Modal/ModalContent.mjs.map +1 -1
  211. package/dist/esm/Modal/ModalPortal.mjs +17 -8
  212. package/dist/esm/Modal/ModalPortal.mjs.map +1 -1
  213. package/dist/esm/Pressable/index.mjs +97 -71
  214. package/dist/esm/Pressable/index.mjs.map +1 -1
  215. package/dist/esm/SafeAreaView/index.mjs +16 -11
  216. package/dist/esm/SafeAreaView/index.mjs.map +1 -1
  217. package/dist/esm/ScrollView/ScrollViewBase.mjs +83 -58
  218. package/dist/esm/ScrollView/ScrollViewBase.mjs.map +1 -1
  219. package/dist/esm/ScrollView/index.mjs +225 -144
  220. package/dist/esm/ScrollView/index.mjs.map +1 -1
  221. package/dist/esm/Share/index.mjs +13 -5
  222. package/dist/esm/Share/index.mjs.map +1 -1
  223. package/dist/esm/Text/index.mjs +143 -118
  224. package/dist/esm/Text/index.mjs.map +1 -1
  225. package/dist/esm/TextInput/index.mjs +224 -115
  226. package/dist/esm/TextInput/index.mjs.map +1 -1
  227. package/dist/esm/TouchableOpacity.mjs +62 -55
  228. package/dist/esm/TouchableOpacity.mjs.map +1 -1
  229. package/dist/esm/TouchableWithoutFeedback.mjs +46 -44
  230. package/dist/esm/TouchableWithoutFeedback.mjs.map +1 -1
  231. package/dist/esm/UnimplementedView.mjs +4 -1
  232. package/dist/esm/UnimplementedView.mjs.map +1 -1
  233. package/dist/esm/Vibration/index.mjs +11 -9
  234. package/dist/esm/Vibration/index.mjs.map +1 -1
  235. package/dist/esm/View/index.mjs +79 -60
  236. package/dist/esm/View/index.mjs.map +1 -1
  237. package/dist/esm/codegenNativeCommand.mjs +2 -1
  238. package/dist/esm/codegenNativeCommand.mjs.map +1 -1
  239. package/dist/esm/codegenNativeComponent.mjs +2 -1
  240. package/dist/esm/codegenNativeComponent.mjs.map +1 -1
  241. package/dist/esm/createElement/__tests__/index-test.mjs +150 -89
  242. package/dist/esm/createElement/__tests__/index-test.mjs.map +1 -1
  243. package/dist/esm/createElement/index.mjs +49 -41
  244. package/dist/esm/createElement/index.mjs.map +1 -1
  245. package/dist/esm/index.js +4 -4
  246. package/dist/esm/index.js.map +1 -1
  247. package/dist/esm/index.mjs +4 -4
  248. package/dist/esm/index.mjs.map +1 -1
  249. package/dist/esm/modules/requestIdleCallback.mjs +16 -16
  250. package/dist/esm/modules/requestIdleCallback.mjs.map +1 -1
  251. package/dist/esm/useColorScheme/index.mjs +3 -2
  252. package/dist/esm/useColorScheme/index.mjs.map +1 -1
  253. package/dist/esm/useWindowDimensions/index.mjs +9 -4
  254. package/dist/esm/useWindowDimensions/index.mjs.map +1 -1
  255. package/dist/esm/vendor/react-native/Animated/Animated.mjs +10 -10
  256. package/dist/esm/vendor/react-native/Animated/Animated.mjs.map +1 -1
  257. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs +81 -31
  258. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.mjs.map +1 -1
  259. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs +519 -442
  260. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.mjs.map +1 -1
  261. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs +86 -81
  262. package/dist/esm/vendor/react-native/Animated/AnimatedMock.mjs.map +1 -1
  263. package/dist/esm/vendor/react-native/Animated/Easing.mjs +15 -5
  264. package/dist/esm/vendor/react-native/Animated/Easing.mjs.map +1 -1
  265. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs +284 -198
  266. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.mjs.map +1 -1
  267. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs +34 -34
  268. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.mjs.map +1 -1
  269. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs +31 -31
  270. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.mjs.map +1 -1
  271. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs +10 -4
  272. package/dist/esm/vendor/react-native/Animated/SpringConfig.mjs.map +1 -1
  273. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs +10 -4
  274. package/dist/esm/vendor/react-native/Animated/animations/Animation.mjs.map +1 -1
  275. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs +31 -9
  276. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.mjs.map +1 -1
  277. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs +100 -30
  278. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.mjs.map +1 -1
  279. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs +62 -19
  280. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.mjs.map +1 -1
  281. package/dist/esm/vendor/react-native/Animated/bezier.mjs +56 -17
  282. package/dist/esm/vendor/react-native/Animated/bezier.mjs.map +1 -1
  283. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs +5 -5
  284. package/dist/esm/vendor/react-native/Animated/components/AnimatedFlatList.mjs.map +1 -1
  285. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs +1 -1
  286. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.mjs.map +1 -1
  287. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs +5 -5
  288. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.mjs.map +1 -1
  289. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs +5 -5
  290. package/dist/esm/vendor/react-native/Animated/components/AnimatedSectionList.mjs.map +1 -1
  291. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs +12 -11
  292. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.mjs.map +1 -1
  293. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs +11 -4
  294. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.mjs.map +1 -1
  295. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs +132 -51
  296. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.mjs.map +1 -1
  297. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs +14 -6
  298. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.mjs.map +1 -1
  299. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs +26 -8
  300. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.mjs.map +1 -1
  301. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs +107 -34
  302. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.mjs.map +1 -1
  303. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs +7 -3
  304. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.mjs.map +1 -1
  305. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs +11 -4
  306. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.mjs.map +1 -1
  307. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs +56 -15
  308. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.mjs.map +1 -1
  309. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs +56 -17
  310. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.mjs.map +1 -1
  311. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs +43 -13
  312. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.mjs.map +1 -1
  313. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs +11 -4
  314. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.mjs.map +1 -1
  315. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs +22 -7
  316. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.mjs.map +1 -1
  317. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs +42 -19
  318. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.mjs.map +1 -1
  319. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs +92 -25
  320. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.mjs.map +1 -1
  321. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs +38 -17
  322. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.mjs.map +1 -1
  323. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs +30 -6
  324. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.mjs.map +1 -1
  325. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs +45 -27
  326. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.mjs.map +1 -1
  327. package/dist/esm/vendor/react-native/Batchinator/index.mjs +15 -5
  328. package/dist/esm/vendor/react-native/Batchinator/index.mjs.map +1 -1
  329. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs +14 -4
  330. package/dist/esm/vendor/react-native/EventEmitter/NativeEventEmitter.mjs.map +1 -1
  331. package/dist/esm/vendor/react-native/FeatureFlags.mjs +6 -6
  332. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs +80 -32
  333. package/dist/esm/vendor/react-native/FillRateHelper/index.mjs.map +1 -1
  334. package/dist/esm/vendor/react-native/FlatList/index.mjs +133 -74
  335. package/dist/esm/vendor/react-native/FlatList/index.mjs.map +1 -1
  336. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs +27 -14
  337. package/dist/esm/vendor/react-native/JSEventLoopWatchdog/index.mjs.map +1 -1
  338. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs +61 -59
  339. package/dist/esm/vendor/react-native/LayoutAnimation/index.mjs.map +1 -1
  340. package/dist/esm/vendor/react-native/PanResponder/index.mjs +155 -94
  341. package/dist/esm/vendor/react-native/PanResponder/index.mjs.map +1 -1
  342. package/dist/esm/vendor/react-native/PooledClass/index.mjs +32 -20
  343. package/dist/esm/vendor/react-native/PooledClass/index.mjs.map +1 -1
  344. package/dist/esm/vendor/react-native/ReactNative/ReactNativeFeatureFlags.mjs +5 -5
  345. package/dist/esm/vendor/react-native/SectionList/index.mjs +36 -14
  346. package/dist/esm/vendor/react-native/SectionList/index.mjs.map +1 -1
  347. package/dist/esm/vendor/react-native/StaticContainer/index.mjs +1 -1
  348. package/dist/esm/vendor/react-native/StaticContainer/index.mjs.map +1 -1
  349. package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs +36 -19
  350. package/dist/esm/vendor/react-native/TouchHistoryMath/index.mjs.map +1 -1
  351. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs +5 -5
  352. package/dist/esm/vendor/react-native/TurboModule/RCTExport.mjs.map +1 -1
  353. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs +2 -1
  354. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.mjs.map +1 -1
  355. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs +115 -115
  356. package/dist/esm/vendor/react-native/Types/CoreEventTypes.mjs.map +1 -1
  357. package/dist/esm/vendor/react-native/Utilities/clamp.mjs +7 -1
  358. package/dist/esm/vendor/react-native/Utilities/clamp.mjs.map +1 -1
  359. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs +7 -2
  360. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.mjs.map +1 -1
  361. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs +9 -1
  362. package/dist/esm/vendor/react-native/Utilities/useMergeRefs.mjs.map +1 -1
  363. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs +7 -1
  364. package/dist/esm/vendor/react-native/Utilities/useRefEffect.mjs.map +1 -1
  365. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs +80 -41
  366. package/dist/esm/vendor/react-native/ViewabilityHelper/index.mjs.map +1 -1
  367. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs +79 -40
  368. package/dist/esm/vendor/react-native/ViewabilityHelper.mjs.map +1 -1
  369. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs +84 -48
  370. package/dist/esm/vendor/react-native/VirtualizeUtils/index.mjs.map +1 -1
  371. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs +63 -34
  372. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.mjs.map +1 -1
  373. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs +24 -7
  374. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.mjs.map +1 -1
  375. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs +25 -17
  376. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.mjs.map +1 -1
  377. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs +58 -51
  378. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.mjs.map +1 -1
  379. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs +9 -7
  380. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.mjs.map +1 -1
  381. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.mjs +7 -7
  382. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs +124 -80
  383. package/dist/esm/vendor/react-native/VirtualizedList/index.mjs.map +1 -1
  384. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs +66 -33
  385. package/dist/esm/vendor/react-native/VirtualizedSectionList/index.mjs.map +1 -1
  386. package/dist/esm/vendor/react-native/deepDiffer/index.mjs +37 -9
  387. package/dist/esm/vendor/react-native/deepDiffer/index.mjs.map +1 -1
  388. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs +4 -1
  389. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.mjs.map +1 -1
  390. package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs +16 -7
  391. package/dist/esm/vendor/react-native/emitter/_EventEmitter.mjs.map +1 -1
  392. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs +19 -7
  393. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.mjs.map +1 -1
  394. package/dist/esm/vendor/react-native/useRefEffect.mjs +7 -1
  395. package/dist/esm/vendor/react-native/useRefEffect.mjs.map +1 -1
  396. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs +25 -12
  397. package/dist/esm/vendor/react-native/vendor/emitter/EventEmitter.mjs.map +1 -1
  398. package/dist/esm/without-animated.mjs +86 -71
  399. package/dist/esm/without-animated.mjs.map +1 -1
  400. package/package.json +1 -1
  401. package/src/vendor/react-native/Animated/AnimatedImplementation.js +7 -7
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var NativeAnimatedHelper_exports = {};
22
24
  __export(NativeAnimatedHelper_exports, {
@@ -40,213 +42,267 @@ __export(NativeAnimatedHelper_exports, {
40
42
  validateTransform: () => validateTransform
41
43
  });
42
44
  module.exports = __toCommonJS(NativeAnimatedHelper_exports);
43
- var import_NativeAnimatedModule = require("./NativeAnimatedModule.cjs"),
44
- import_NativeAnimatedTurboModule = require("./NativeAnimatedTurboModule.cjs"),
45
- import_NativeEventEmitter = require("../EventEmitter/NativeEventEmitter.cjs"),
46
- import_Platform = require("../Utilities/Platform.cjs"),
47
- import_ReactNativeFeatureFlags = require("../ReactNative/ReactNativeFeatureFlags.cjs"),
48
- import_react_native_web_internals = require("@hanzogui/react-native-web-internals"),
49
- import_RCTDeviceEventEmitter = require("../EventEmitter/RCTDeviceEventEmitter.cjs");
50
- const NativeAnimatedModule = import_Platform.Platform.OS === "ios" && global.RN$Bridgeless === !0 ? import_NativeAnimatedTurboModule.NativeAnimatedTurboModule : import_NativeAnimatedModule.NativeAnimatedNonTurboModule;
51
- let __nativeAnimatedNodeTagCount = 1,
52
- __nativeAnimationIdCount = 1,
53
- nativeEventEmitter,
54
- waitingForQueuedOperations = /* @__PURE__ */new Set(),
55
- queueOperations = !1,
56
- queue = [],
57
- singleOpQueue = [];
58
- const useSingleOpBatching = !1;
59
- import_Platform.Platform.OS === "android" && NativeAnimatedModule?.queueAndExecuteBatchedOperations && import_ReactNativeFeatureFlags.ReactNativeFeatureFlags.animatedShouldUseSingleOp();
45
+ var import_NativeAnimatedModule = require("./NativeAnimatedModule.cjs");
46
+ var import_NativeAnimatedTurboModule = require("./NativeAnimatedTurboModule.cjs");
47
+ var import_NativeEventEmitter = require("../EventEmitter/NativeEventEmitter.cjs");
48
+ var import_Platform = require("../Utilities/Platform.cjs");
49
+ var import_ReactNativeFeatureFlags = require("../ReactNative/ReactNativeFeatureFlags.cjs");
50
+ var import_react_native_web_internals = require("@hanzogui/react-native-web-internals");
51
+ var import_RCTDeviceEventEmitter = require("../EventEmitter/RCTDeviceEventEmitter.cjs");
52
+ const NativeAnimatedModule = import_Platform.Platform.OS === "ios" && global.RN$Bridgeless === true ? import_NativeAnimatedTurboModule.NativeAnimatedTurboModule : import_NativeAnimatedModule.NativeAnimatedNonTurboModule;
53
+ let __nativeAnimatedNodeTagCount = 1;
54
+ let __nativeAnimationIdCount = 1;
55
+ let nativeEventEmitter;
56
+ let waitingForQueuedOperations = /* @__PURE__ */new Set();
57
+ let queueOperations = false;
58
+ let queue = [];
59
+ let singleOpQueue = [];
60
+ const useSingleOpBatching = false;
61
+ import_Platform.Platform.OS === "android" && !!NativeAnimatedModule?.queueAndExecuteBatchedOperations && import_ReactNativeFeatureFlags.ReactNativeFeatureFlags.animatedShouldUseSingleOp();
60
62
  let flushQueueTimeout = null;
61
- const eventListenerGetValueCallbacks = {},
62
- eventListenerAnimationFinishedCallbacks = {};
63
+ const eventListenerGetValueCallbacks = {};
64
+ const eventListenerAnimationFinishedCallbacks = {};
63
65
  const nativeOps = useSingleOpBatching ? function () {
64
- return ["createAnimatedNode",
65
- // 1
66
- "updateAnimatedNodeConfig",
67
- // 2
68
- "getValue",
69
- // 3
70
- "startListeningToAnimatedNodeValue",
71
- // 4
72
- "stopListeningToAnimatedNodeValue",
73
- // 5
74
- "connectAnimatedNodes",
75
- // 6
76
- "disconnectAnimatedNodes",
77
- // 7
78
- "startAnimatingNode",
79
- // 8
80
- "stopAnimation",
81
- // 9
82
- "setAnimatedNodeValue",
83
- // 10
84
- "setAnimatedNodeOffset",
85
- // 11
86
- "flattenAnimatedNodeOffset",
87
- // 12
88
- "extractAnimatedNodeOffset",
89
- // 13
90
- "connectAnimatedNodeToView",
91
- // 14
92
- "disconnectAnimatedNodeFromView",
93
- // 15
94
- "restoreDefaultValues",
95
- // 16
96
- "dropAnimatedNode",
97
- // 17
98
- "addAnimatedEventToView",
99
- // 18
100
- "removeAnimatedEventFromView",
101
- // 19
102
- "addListener",
103
- // 20
104
- "removeListener"
105
- // 21
106
- ].reduce((acc, functionName, i) => (acc[functionName] = i + 1, acc), {});
107
- }() : NativeAnimatedModule,
108
- API = {
109
- getValue: function (tag, saveValueCallback) {
110
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), useSingleOpBatching ? (saveValueCallback && (eventListenerGetValueCallbacks[tag] = saveValueCallback), API.queueOperation(nativeOps.getValue, tag)) : API.queueOperation(nativeOps.getValue, tag, saveValueCallback);
111
- },
112
- setWaitingForIdentifier: function (id) {
113
- waitingForQueuedOperations.add(id), queueOperations = !0, import_ReactNativeFeatureFlags.ReactNativeFeatureFlags.animatedShouldDebounceQueueFlush() && flushQueueTimeout && clearTimeout(flushQueueTimeout);
114
- },
115
- unsetWaitingForIdentifier: function (id) {
116
- waitingForQueuedOperations.delete(id), waitingForQueuedOperations.size === 0 && (queueOperations = !1, API.disableQueue());
117
- },
118
- disableQueue: function () {
119
- if ((0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), import_ReactNativeFeatureFlags.ReactNativeFeatureFlags.animatedShouldDebounceQueueFlush()) {
120
- const prevTimeout = flushQueueTimeout;
121
- clearImmediate(prevTimeout), flushQueueTimeout = setImmediate(API.flushQueue);
122
- } else API.flushQueue();
123
- },
124
- flushQueue: function () {},
125
- queueOperation: (fn, ...args) => {
126
- if (useSingleOpBatching) {
127
- singleOpQueue.push(fn, ...args);
128
- return;
66
+ const apis = ["createAnimatedNode",
67
+ // 1
68
+ "updateAnimatedNodeConfig",
69
+ // 2
70
+ "getValue",
71
+ // 3
72
+ "startListeningToAnimatedNodeValue",
73
+ // 4
74
+ "stopListeningToAnimatedNodeValue",
75
+ // 5
76
+ "connectAnimatedNodes",
77
+ // 6
78
+ "disconnectAnimatedNodes",
79
+ // 7
80
+ "startAnimatingNode",
81
+ // 8
82
+ "stopAnimation",
83
+ // 9
84
+ "setAnimatedNodeValue",
85
+ // 10
86
+ "setAnimatedNodeOffset",
87
+ // 11
88
+ "flattenAnimatedNodeOffset",
89
+ // 12
90
+ "extractAnimatedNodeOffset",
91
+ // 13
92
+ "connectAnimatedNodeToView",
93
+ // 14
94
+ "disconnectAnimatedNodeFromView",
95
+ // 15
96
+ "restoreDefaultValues",
97
+ // 16
98
+ "dropAnimatedNode",
99
+ // 17
100
+ "addAnimatedEventToView",
101
+ // 18
102
+ "removeAnimatedEventFromView",
103
+ // 19
104
+ "addListener",
105
+ // 20
106
+ "removeListener"
107
+ // 21
108
+ ];
109
+ return apis.reduce((acc, functionName, i) => {
110
+ acc[functionName] = i + 1;
111
+ return acc;
112
+ }, {});
113
+ }() : NativeAnimatedModule;
114
+ const API = {
115
+ getValue: function (tag, saveValueCallback) {
116
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
117
+ if (useSingleOpBatching) {
118
+ if (saveValueCallback) {
119
+ eventListenerGetValueCallbacks[tag] = saveValueCallback;
129
120
  }
130
- queueOperations || queue.length !== 0 ? queue.push(() => fn(...args)) : fn(...args);
131
- },
132
- createAnimatedNode: function (tag, config) {
133
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.createAnimatedNode, tag, config);
134
- },
135
- updateAnimatedNodeConfig: function (tag, config) {
136
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
137
- },
138
- startListeningToAnimatedNodeValue: function (tag) {
139
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.startListeningToAnimatedNodeValue, tag);
140
- },
141
- stopListeningToAnimatedNodeValue: function (tag) {
142
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.stopListeningToAnimatedNodeValue, tag);
143
- },
144
- connectAnimatedNodes: function (parentTag, childTag) {
145
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.connectAnimatedNodes, parentTag, childTag);
146
- },
147
- disconnectAnimatedNodes: function (parentTag, childTag) {
148
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.disconnectAnimatedNodes, parentTag, childTag);
149
- },
150
- startAnimatingNode: function (animationId, nodeTag, config, endCallback) {
151
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), useSingleOpBatching ? (endCallback && (eventListenerAnimationFinishedCallbacks[animationId] = endCallback), API.queueOperation(nativeOps.startAnimatingNode, animationId, nodeTag, config)) : API.queueOperation(nativeOps.startAnimatingNode, animationId, nodeTag, config, endCallback);
152
- },
153
- stopAnimation: function (animationId) {
154
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.stopAnimation, animationId);
155
- },
156
- setAnimatedNodeValue: function (nodeTag, value) {
157
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.setAnimatedNodeValue, nodeTag, value);
158
- },
159
- setAnimatedNodeOffset: function (nodeTag, offset) {
160
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.setAnimatedNodeOffset, nodeTag, offset);
161
- },
162
- flattenAnimatedNodeOffset: function (nodeTag) {
163
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.flattenAnimatedNodeOffset, nodeTag);
164
- },
165
- extractAnimatedNodeOffset: function (nodeTag) {
166
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.extractAnimatedNodeOffset, nodeTag);
167
- },
168
- connectAnimatedNodeToView: function (nodeTag, viewTag) {
169
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.connectAnimatedNodeToView, nodeTag, viewTag);
170
- },
171
- disconnectAnimatedNodeFromView: function (nodeTag, viewTag) {
172
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.disconnectAnimatedNodeFromView, nodeTag, viewTag);
173
- },
174
- restoreDefaultValues: function (nodeTag) {
175
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), nativeOps.restoreDefaultValues != null && API.queueOperation(nativeOps.restoreDefaultValues, nodeTag);
176
- },
177
- dropAnimatedNode: function (tag) {
178
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.dropAnimatedNode, tag);
179
- },
180
- addAnimatedEventToView: function (viewTag, eventName, eventMapping) {
181
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.addAnimatedEventToView, viewTag, eventName, eventMapping);
182
- },
183
- removeAnimatedEventFromView(viewTag, eventName, animatedNodeTag) {
184
- (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available"), API.queueOperation(nativeOps.removeAnimatedEventFromView, viewTag, eventName, animatedNodeTag);
121
+ API.queueOperation(nativeOps.getValue, tag);
122
+ } else {
123
+ API.queueOperation(nativeOps.getValue, tag, saveValueCallback);
185
124
  }
186
- };
187
- const SUPPORTED_COLOR_STYLES = {
188
- backgroundColor: !0,
189
- borderBottomColor: !0,
190
- borderColor: !0,
191
- borderEndColor: !0,
192
- borderLeftColor: !0,
193
- borderRightColor: !0,
194
- borderStartColor: !0,
195
- borderTopColor: !0,
196
- color: !0,
197
- tintColor: !0
198
125
  },
199
- SUPPORTED_STYLES = {
200
- ...SUPPORTED_COLOR_STYLES,
201
- borderBottomEndRadius: !0,
202
- borderBottomLeftRadius: !0,
203
- borderBottomRightRadius: !0,
204
- borderBottomStartRadius: !0,
205
- borderRadius: !0,
206
- borderTopEndRadius: !0,
207
- borderTopLeftRadius: !0,
208
- borderTopRightRadius: !0,
209
- borderTopStartRadius: !0,
210
- elevation: !0,
211
- opacity: !0,
212
- transform: !0,
213
- zIndex: !0,
214
- /* ios styles */
215
- shadowOpacity: !0,
216
- shadowRadius: !0,
217
- /* legacy android transform properties */
218
- scaleX: !0,
219
- scaleY: !0,
220
- translateX: !0,
221
- translateY: !0
126
+ setWaitingForIdentifier: function (id) {
127
+ waitingForQueuedOperations.add(id);
128
+ queueOperations = true;
129
+ if (import_ReactNativeFeatureFlags.ReactNativeFeatureFlags.animatedShouldDebounceQueueFlush() && flushQueueTimeout) {
130
+ clearTimeout(flushQueueTimeout);
131
+ }
132
+ },
133
+ unsetWaitingForIdentifier: function (id) {
134
+ waitingForQueuedOperations.delete(id);
135
+ if (waitingForQueuedOperations.size === 0) {
136
+ queueOperations = false;
137
+ API.disableQueue();
138
+ }
139
+ },
140
+ disableQueue: function () {
141
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
142
+ if (import_ReactNativeFeatureFlags.ReactNativeFeatureFlags.animatedShouldDebounceQueueFlush()) {
143
+ const prevTimeout = flushQueueTimeout;
144
+ clearImmediate(prevTimeout);
145
+ flushQueueTimeout = setImmediate(API.flushQueue);
146
+ } else {
147
+ API.flushQueue();
148
+ }
149
+ },
150
+ flushQueue: function () {},
151
+ queueOperation: (fn, ...args) => {
152
+ if (useSingleOpBatching) {
153
+ singleOpQueue.push(fn, ...args);
154
+ return;
155
+ }
156
+ if (queueOperations || queue.length !== 0) {
157
+ queue.push(() => fn(...args));
158
+ } else {
159
+ fn(...args);
160
+ }
161
+ },
162
+ createAnimatedNode: function (tag, config) {
163
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
164
+ API.queueOperation(nativeOps.createAnimatedNode, tag, config);
165
+ },
166
+ updateAnimatedNodeConfig: function (tag, config) {
167
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
168
+ },
169
+ startListeningToAnimatedNodeValue: function (tag) {
170
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
171
+ API.queueOperation(nativeOps.startListeningToAnimatedNodeValue, tag);
172
+ },
173
+ stopListeningToAnimatedNodeValue: function (tag) {
174
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
175
+ API.queueOperation(nativeOps.stopListeningToAnimatedNodeValue, tag);
176
+ },
177
+ connectAnimatedNodes: function (parentTag, childTag) {
178
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
179
+ API.queueOperation(nativeOps.connectAnimatedNodes, parentTag, childTag);
180
+ },
181
+ disconnectAnimatedNodes: function (parentTag, childTag) {
182
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
183
+ API.queueOperation(nativeOps.disconnectAnimatedNodes, parentTag, childTag);
184
+ },
185
+ startAnimatingNode: function (animationId, nodeTag, config, endCallback) {
186
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
187
+ if (useSingleOpBatching) {
188
+ if (endCallback) {
189
+ eventListenerAnimationFinishedCallbacks[animationId] = endCallback;
190
+ }
191
+ API.queueOperation(nativeOps.startAnimatingNode, animationId, nodeTag, config);
192
+ } else {
193
+ API.queueOperation(nativeOps.startAnimatingNode, animationId, nodeTag, config, endCallback);
194
+ }
195
+ },
196
+ stopAnimation: function (animationId) {
197
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
198
+ API.queueOperation(nativeOps.stopAnimation, animationId);
199
+ },
200
+ setAnimatedNodeValue: function (nodeTag, value) {
201
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
202
+ API.queueOperation(nativeOps.setAnimatedNodeValue, nodeTag, value);
222
203
  },
223
- SUPPORTED_TRANSFORMS = {
224
- translateX: !0,
225
- translateY: !0,
226
- scale: !0,
227
- scaleX: !0,
228
- scaleY: !0,
229
- rotate: !0,
230
- rotateX: !0,
231
- rotateY: !0,
232
- rotateZ: !0,
233
- perspective: !0
204
+ setAnimatedNodeOffset: function (nodeTag, offset) {
205
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
206
+ API.queueOperation(nativeOps.setAnimatedNodeOffset, nodeTag, offset);
234
207
  },
235
- SUPPORTED_INTERPOLATION_PARAMS = {
236
- inputRange: !0,
237
- outputRange: !0,
238
- extrapolate: !0,
239
- extrapolateRight: !0,
240
- extrapolateLeft: !0
241
- };
208
+ flattenAnimatedNodeOffset: function (nodeTag) {
209
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
210
+ API.queueOperation(nativeOps.flattenAnimatedNodeOffset, nodeTag);
211
+ },
212
+ extractAnimatedNodeOffset: function (nodeTag) {
213
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
214
+ API.queueOperation(nativeOps.extractAnimatedNodeOffset, nodeTag);
215
+ },
216
+ connectAnimatedNodeToView: function (nodeTag, viewTag) {
217
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
218
+ API.queueOperation(nativeOps.connectAnimatedNodeToView, nodeTag, viewTag);
219
+ },
220
+ disconnectAnimatedNodeFromView: function (nodeTag, viewTag) {
221
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
222
+ API.queueOperation(nativeOps.disconnectAnimatedNodeFromView, nodeTag, viewTag);
223
+ },
224
+ restoreDefaultValues: function (nodeTag) {
225
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
226
+ if (nativeOps.restoreDefaultValues != null) {
227
+ API.queueOperation(nativeOps.restoreDefaultValues, nodeTag);
228
+ }
229
+ },
230
+ dropAnimatedNode: function (tag) {
231
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
232
+ API.queueOperation(nativeOps.dropAnimatedNode, tag);
233
+ },
234
+ addAnimatedEventToView: function (viewTag, eventName, eventMapping) {
235
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
236
+ API.queueOperation(nativeOps.addAnimatedEventToView, viewTag, eventName, eventMapping);
237
+ },
238
+ removeAnimatedEventFromView(viewTag, eventName, animatedNodeTag) {
239
+ (0, import_react_native_web_internals.invariant)(nativeOps, "Native animated module is not available");
240
+ API.queueOperation(nativeOps.removeAnimatedEventFromView, viewTag, eventName, animatedNodeTag);
241
+ }
242
+ };
243
+ const SUPPORTED_COLOR_STYLES = {
244
+ backgroundColor: true,
245
+ borderBottomColor: true,
246
+ borderColor: true,
247
+ borderEndColor: true,
248
+ borderLeftColor: true,
249
+ borderRightColor: true,
250
+ borderStartColor: true,
251
+ borderTopColor: true,
252
+ color: true,
253
+ tintColor: true
254
+ };
255
+ const SUPPORTED_STYLES = {
256
+ ...SUPPORTED_COLOR_STYLES,
257
+ borderBottomEndRadius: true,
258
+ borderBottomLeftRadius: true,
259
+ borderBottomRightRadius: true,
260
+ borderBottomStartRadius: true,
261
+ borderRadius: true,
262
+ borderTopEndRadius: true,
263
+ borderTopLeftRadius: true,
264
+ borderTopRightRadius: true,
265
+ borderTopStartRadius: true,
266
+ elevation: true,
267
+ opacity: true,
268
+ transform: true,
269
+ zIndex: true,
270
+ /* ios styles */
271
+ shadowOpacity: true,
272
+ shadowRadius: true,
273
+ /* legacy android transform properties */
274
+ scaleX: true,
275
+ scaleY: true,
276
+ translateX: true,
277
+ translateY: true
278
+ };
279
+ const SUPPORTED_TRANSFORMS = {
280
+ translateX: true,
281
+ translateY: true,
282
+ scale: true,
283
+ scaleX: true,
284
+ scaleY: true,
285
+ rotate: true,
286
+ rotateX: true,
287
+ rotateY: true,
288
+ rotateZ: true,
289
+ perspective: true
290
+ };
291
+ const SUPPORTED_INTERPOLATION_PARAMS = {
292
+ inputRange: true,
293
+ outputRange: true,
294
+ extrapolate: true,
295
+ extrapolateRight: true,
296
+ extrapolateLeft: true
297
+ };
242
298
  function addWhitelistedStyleProp(prop) {
243
- SUPPORTED_STYLES[prop] = !0;
299
+ SUPPORTED_STYLES[prop] = true;
244
300
  }
245
301
  function addWhitelistedTransformProp(prop) {
246
- SUPPORTED_TRANSFORMS[prop] = !0;
302
+ SUPPORTED_TRANSFORMS[prop] = true;
247
303
  }
248
304
  function addWhitelistedInterpolationParam(param) {
249
- SUPPORTED_INTERPOLATION_PARAMS[param] = !0;
305
+ SUPPORTED_INTERPOLATION_PARAMS[param] = true;
250
306
  }
251
307
  function isSupportedColorStyleProp(prop) {
252
308
  return SUPPORTED_COLOR_STYLES.hasOwnProperty(prop);
@@ -262,14 +318,24 @@ function isSupportedInterpolationParam(param) {
262
318
  }
263
319
  function validateTransform(configs) {
264
320
  configs.forEach(config => {
265
- if (!isSupportedTransformProp(config.property)) throw new Error(`Property '${config.property}' is not supported by native animated module`);
321
+ if (!isSupportedTransformProp(config.property)) {
322
+ throw new Error(`Property '${config.property}' is not supported by native animated module`);
323
+ }
266
324
  });
267
325
  }
268
326
  function validateStyles(styles) {
269
- for (const key in styles) if (!isSupportedStyleProp(key)) throw new Error(`Style property '${key}' is not supported by native animated module`);
327
+ for (const key in styles) {
328
+ if (!isSupportedStyleProp(key)) {
329
+ throw new Error(`Style property '${key}' is not supported by native animated module`);
330
+ }
331
+ }
270
332
  }
271
333
  function validateInterpolation(config) {
272
- for (const key in config) if (!isSupportedInterpolationParam(key)) throw new Error(`Interpolation property '${key}' is not supported by native animated module`);
334
+ for (const key in config) {
335
+ if (!isSupportedInterpolationParam(key)) {
336
+ throw new Error(`Interpolation property '${key}' is not supported by native animated module`);
337
+ }
338
+ }
273
339
  }
274
340
  function generateNewNodeTag() {
275
341
  return __nativeAnimatedNodeTagCount++;
@@ -280,12 +346,31 @@ function generateNewAnimationId() {
280
346
  function assertNativeAnimatedModule() {
281
347
  (0, import_react_native_web_internals.invariant)(NativeAnimatedModule, "Native animated module is not available");
282
348
  }
283
- let _warnedMissingNativeAnimated = !1;
349
+ let _warnedMissingNativeAnimated = false;
284
350
  function shouldUseNativeDriver(config) {
285
- return config.useNativeDriver == null && console.warn("Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`"), config.useNativeDriver === !0 && !NativeAnimatedModule ? (_warnedMissingNativeAnimated || (console.warn("Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. Make sure to run `bundle exec pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md"), _warnedMissingNativeAnimated = !0), !1) : config.useNativeDriver || !1;
351
+ if (config.useNativeDriver == null) {
352
+ console.warn("Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`");
353
+ }
354
+ if (config.useNativeDriver === true && !NativeAnimatedModule) {
355
+ if (!_warnedMissingNativeAnimated) {
356
+ console.warn("Animated: `useNativeDriver` is not supported because the native animated module is missing. Falling back to JS-based animation. To resolve this, add `RCTAnimation` module to this app, or remove `useNativeDriver`. Make sure to run `bundle exec pod install` first. Read more about autolinking: https://github.com/react-native-community/cli/blob/master/docs/autolinking.md");
357
+ _warnedMissingNativeAnimated = true;
358
+ }
359
+ return false;
360
+ }
361
+ return config.useNativeDriver || false;
286
362
  }
287
363
  function transformDataType(value) {
288
- return typeof value != "string" ? value : /deg$/.test(value) ? (parseFloat(value) || 0) * Math.PI / 180 : value;
364
+ if (typeof value !== "string") {
365
+ return value;
366
+ }
367
+ if (/deg$/.test(value)) {
368
+ const degrees = parseFloat(value) || 0;
369
+ const radians = degrees * Math.PI / 180;
370
+ return radians;
371
+ } else {
372
+ return value;
373
+ }
289
374
  }
290
375
  const NativeAnimatedHelper = {
291
376
  API,
@@ -305,10 +390,13 @@ const NativeAnimatedHelper = {
305
390
  shouldUseNativeDriver,
306
391
  transformDataType,
307
392
  get nativeEventEmitter() {
308
- return nativeEventEmitter || (nativeEventEmitter = new import_NativeEventEmitter.NativeEventEmitter(
309
- // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior
310
- // If you want to use the native module on other platforms, please remove this condition and test its behavior
311
- import_Platform.Platform.OS !== "ios" ? null : NativeAnimatedModule)), nativeEventEmitter;
393
+ if (!nativeEventEmitter) {
394
+ nativeEventEmitter = new import_NativeEventEmitter.NativeEventEmitter(
395
+ // T88715063: NativeEventEmitter only used this parameter on iOS. Now it uses it on all platforms, so this code was modified automatically to preserve its behavior
396
+ // If you want to use the native module on other platforms, please remove this condition and test its behavior
397
+ import_Platform.Platform.OS !== "ios" ? null : NativeAnimatedModule);
398
+ }
399
+ return nativeEventEmitter;
312
400
  }
313
401
  };
314
402
  var NativeAnimatedHelper_default = NativeAnimatedHelper;