@tamagui/react-native-web-lite 1.125.5 → 1.125.7

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 (273) hide show
  1. package/dist/esm/AccessibilityInfo/index.native.js +58 -62
  2. package/dist/esm/AccessibilityInfo/index.native.js.map +1 -6
  3. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js +85 -55
  4. package/dist/esm/ActivityIndicator/__tests__/index-test.native.js.map +1 -6
  5. package/dist/esm/ActivityIndicator/index.native.js +82 -90
  6. package/dist/esm/ActivityIndicator/index.native.js.map +1 -6
  7. package/dist/esm/Alert/index.native.js +14 -18
  8. package/dist/esm/Alert/index.native.js.map +1 -6
  9. package/dist/esm/AppRegistry/AppContainer.native.js +30 -26
  10. package/dist/esm/AppRegistry/AppContainer.native.js.map +1 -6
  11. package/dist/esm/AppRegistry/__tests__/index-test.native.js +13 -13
  12. package/dist/esm/AppRegistry/__tests__/index-test.native.js.map +1 -6
  13. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js +45 -34
  14. package/dist/esm/AppRegistry/__tests__/index-test.node.native.js.map +1 -6
  15. package/dist/esm/AppRegistry/index.native.js +50 -55
  16. package/dist/esm/AppRegistry/index.native.js.map +1 -6
  17. package/dist/esm/AppRegistry/renderApplication.native.js +33 -27
  18. package/dist/esm/AppRegistry/renderApplication.native.js.map +1 -6
  19. package/dist/esm/AppState/__tests__/index-test.native.js +9 -10
  20. package/dist/esm/AppState/__tests__/index-test.native.js.map +1 -6
  21. package/dist/esm/AppState/index.native.js +45 -51
  22. package/dist/esm/AppState/index.native.js.map +1 -6
  23. package/dist/esm/Appearance/index.native.js +27 -24
  24. package/dist/esm/Appearance/index.native.js.map +1 -6
  25. package/dist/esm/BackHandler/index.native.js +11 -13
  26. package/dist/esm/BackHandler/index.native.js.map +1 -6
  27. package/dist/esm/Batchinator/index.native.js +19 -23
  28. package/dist/esm/Batchinator/index.native.js.map +1 -6
  29. package/dist/esm/Clipboard/index.native.js +21 -26
  30. package/dist/esm/Clipboard/index.native.js.map +1 -6
  31. package/dist/esm/DeviceEmitter.native.js +3 -5
  32. package/dist/esm/DeviceEmitter.native.js.map +1 -6
  33. package/dist/esm/DeviceInfo/index.native.js +41 -33
  34. package/dist/esm/DeviceInfo/index.native.js.map +1 -6
  35. package/dist/esm/Dimensions/__tests__/index-test.native.js +9 -8
  36. package/dist/esm/Dimensions/__tests__/index-test.native.js.map +1 -6
  37. package/dist/esm/Dimensions/index.native.js +49 -53
  38. package/dist/esm/Dimensions/index.native.js.map +1 -6
  39. package/dist/esm/FlatList.native.js +137 -131
  40. package/dist/esm/FlatList.native.js.map +1 -6
  41. package/dist/esm/I18nManager/index.native.js +10 -13
  42. package/dist/esm/I18nManager/index.native.js.map +1 -6
  43. package/dist/esm/Image/index.native.js +174 -149
  44. package/dist/esm/Image/index.native.js.map +1 -6
  45. package/dist/esm/Image/types.native.js +2 -1
  46. package/dist/esm/Image/types.native.js.map +1 -6
  47. package/dist/esm/ImageBackground/__tests__/index-test.native.js +27 -19
  48. package/dist/esm/ImageBackground/__tests__/index-test.native.js.map +1 -6
  49. package/dist/esm/ImageBackground/index.native.js +35 -33
  50. package/dist/esm/ImageBackground/index.native.js.map +1 -6
  51. package/dist/esm/InteractionManager/TaskQueue.native.js +46 -51
  52. package/dist/esm/InteractionManager/TaskQueue.native.js.map +1 -6
  53. package/dist/esm/InteractionManager/index.native.js +66 -60
  54. package/dist/esm/InteractionManager/index.native.js.map +1 -6
  55. package/dist/esm/Keyboard/index.native.js +13 -17
  56. package/dist/esm/Keyboard/index.native.js.map +1 -6
  57. package/dist/esm/KeyboardAvoidingView/index.native.js +34 -44
  58. package/dist/esm/KeyboardAvoidingView/index.native.js.map +1 -6
  59. package/dist/esm/Linking/__tests__/index-test.native.js +9 -9
  60. package/dist/esm/Linking/__tests__/index-test.native.js.map +1 -6
  61. package/dist/esm/Linking/index.native.js +42 -49
  62. package/dist/esm/Linking/index.native.js.map +1 -6
  63. package/dist/esm/LogBox/index.native.js +7 -12
  64. package/dist/esm/LogBox/index.native.js.map +1 -6
  65. package/dist/esm/Modal/ModalAnimation.native.js +89 -112
  66. package/dist/esm/Modal/ModalAnimation.native.js.map +1 -6
  67. package/dist/esm/Modal/ModalContent.native.js +52 -54
  68. package/dist/esm/Modal/ModalContent.native.js.map +1 -6
  69. package/dist/esm/Modal/ModalFocusTrap.native.js +49 -52
  70. package/dist/esm/Modal/ModalFocusTrap.native.js.map +1 -6
  71. package/dist/esm/Modal/ModalPortal.native.js +9 -11
  72. package/dist/esm/Modal/ModalPortal.native.js.map +1 -6
  73. package/dist/esm/Modal/index.native.js +53 -45
  74. package/dist/esm/Modal/index.native.js.map +1 -6
  75. package/dist/esm/NativeModules/index.native.js +5 -6
  76. package/dist/esm/NativeModules/index.native.js.map +1 -6
  77. package/dist/esm/PanResponder/Alternative.js +157 -122
  78. package/dist/esm/PanResponder/Alternative.js.map +1 -6
  79. package/dist/esm/PanResponder/index.native.js +3 -5
  80. package/dist/esm/PanResponder/index.native.js.map +1 -6
  81. package/dist/esm/PixelRatio/index.native.js +48 -59
  82. package/dist/esm/PixelRatio/index.native.js.map +1 -6
  83. package/dist/esm/Pressable/index.native.js +70 -67
  84. package/dist/esm/Pressable/index.native.js.map +1 -6
  85. package/dist/esm/RefreshControl/index.native.js +4 -6
  86. package/dist/esm/RefreshControl/index.native.js.map +1 -6
  87. package/dist/esm/SafeAreaView/index.native.js +24 -21
  88. package/dist/esm/SafeAreaView/index.native.js.map +1 -6
  89. package/dist/esm/ScrollView/ScrollViewBase.native.js +61 -50
  90. package/dist/esm/ScrollView/ScrollViewBase.native.js.map +1 -6
  91. package/dist/esm/ScrollView/index.native.js +183 -211
  92. package/dist/esm/ScrollView/index.native.js.map +1 -6
  93. package/dist/esm/Share/index.native.js +29 -36
  94. package/dist/esm/Share/index.native.js.map +1 -6
  95. package/dist/esm/StatusBar/index.native.js +3 -6
  96. package/dist/esm/StatusBar/index.native.js.map +1 -6
  97. package/dist/esm/Text/index.native.js +128 -100
  98. package/dist/esm/Text/index.native.js.map +1 -6
  99. package/dist/esm/Text/types.native.js +2 -1
  100. package/dist/esm/Text/types.native.js.map +1 -6
  101. package/dist/esm/TextInput/__tests__/index-test.native.js +445 -259
  102. package/dist/esm/TextInput/__tests__/index-test.native.js.map +1 -6
  103. package/dist/esm/TextInput/index.native.js +210 -147
  104. package/dist/esm/TextInput/index.native.js.map +1 -6
  105. package/dist/esm/TextInput/types.native.js +2 -1
  106. package/dist/esm/TextInput/types.native.js.map +1 -6
  107. package/dist/esm/TouchableOpacity.native.js +63 -67
  108. package/dist/esm/TouchableOpacity.native.js.map +1 -6
  109. package/dist/esm/TouchableWithoutFeedback.native.js +49 -45
  110. package/dist/esm/TouchableWithoutFeedback.native.js.map +1 -6
  111. package/dist/esm/UnimplementedView.native.js +22 -30
  112. package/dist/esm/UnimplementedView.native.js.map +1 -6
  113. package/dist/esm/Vibration/index.native.js +14 -14
  114. package/dist/esm/Vibration/index.native.js.map +1 -6
  115. package/dist/esm/View/index.native.js +84 -55
  116. package/dist/esm/View/index.native.js.map +1 -6
  117. package/dist/esm/View/types.native.js +2 -1
  118. package/dist/esm/View/types.native.js.map +1 -6
  119. package/dist/esm/createElement/__tests__/index-test.native.js +398 -195
  120. package/dist/esm/createElement/__tests__/index-test.native.js.map +1 -6
  121. package/dist/esm/createElement/index.native.js +18 -16
  122. package/dist/esm/createElement/index.native.js.map +1 -6
  123. package/dist/esm/createReactDOMStyle.native.js +2 -4
  124. package/dist/esm/createReactDOMStyle.native.js.map +1 -6
  125. package/dist/esm/index.native.js +47 -123
  126. package/dist/esm/index.native.js.map +1 -6
  127. package/dist/esm/render/index.native.js +6 -15
  128. package/dist/esm/render/index.native.js.map +1 -6
  129. package/dist/esm/styleTypes.native.js +2 -1
  130. package/dist/esm/styleTypes.native.js.map +1 -6
  131. package/dist/esm/types.native.js +2 -1
  132. package/dist/esm/types.native.js.map +1 -6
  133. package/dist/esm/useColorScheme/index.native.js +7 -7
  134. package/dist/esm/useColorScheme/index.native.js.map +1 -6
  135. package/dist/esm/useLocaleContext/index.native.js +2 -4
  136. package/dist/esm/useLocaleContext/index.native.js.map +1 -6
  137. package/dist/esm/useWindowDimensions/index.native.js +9 -9
  138. package/dist/esm/useWindowDimensions/index.native.js.map +1 -6
  139. package/dist/esm/vendor/react-native/Animated/Animated.native.js +16 -17
  140. package/dist/esm/vendor/react-native/Animated/Animated.native.js.map +1 -6
  141. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js +72 -99
  142. package/dist/esm/vendor/react-native/Animated/AnimatedEvent.native.js.map +1 -6
  143. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js +465 -436
  144. package/dist/esm/vendor/react-native/Animated/AnimatedImplementation.native.js.map +1 -6
  145. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js +97 -91
  146. package/dist/esm/vendor/react-native/Animated/AnimatedMock.native.js.map +1 -6
  147. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js +2 -1
  148. package/dist/esm/vendor/react-native/Animated/AnimatedPlatformConfig.native.js.map +1 -6
  149. package/dist/esm/vendor/react-native/Animated/Easing.native.js +194 -231
  150. package/dist/esm/vendor/react-native/Animated/Easing.native.js.map +1 -6
  151. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js +206 -222
  152. package/dist/esm/vendor/react-native/Animated/NativeAnimatedHelper.native.js.map +1 -6
  153. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js +3 -5
  154. package/dist/esm/vendor/react-native/Animated/NativeAnimatedModule.native.js.map +1 -6
  155. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js +3 -5
  156. package/dist/esm/vendor/react-native/Animated/NativeAnimatedTurboModule.native.js.map +1 -6
  157. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js +5 -5
  158. package/dist/esm/vendor/react-native/Animated/SpringConfig.native.js.map +1 -6
  159. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js +25 -37
  160. package/dist/esm/vendor/react-native/Animated/animations/Animation.native.js.map +1 -6
  161. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js +42 -54
  162. package/dist/esm/vendor/react-native/Animated/animations/DecayAnimation.native.js.map +1 -6
  163. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js +72 -72
  164. package/dist/esm/vendor/react-native/Animated/animations/SpringAnimation.native.js.map +1 -6
  165. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js +45 -60
  166. package/dist/esm/vendor/react-native/Animated/animations/TimingAnimation.native.js.map +1 -6
  167. package/dist/esm/vendor/react-native/Animated/bezier.native.js +23 -20
  168. package/dist/esm/vendor/react-native/Animated/bezier.native.js.map +1 -6
  169. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js +4 -6
  170. package/dist/esm/vendor/react-native/Animated/components/AnimatedImage.native.js.map +1 -6
  171. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js +12 -13
  172. package/dist/esm/vendor/react-native/Animated/components/AnimatedScrollView.native.js.map +1 -6
  173. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js +4 -6
  174. package/dist/esm/vendor/react-native/Animated/components/AnimatedText.native.js.map +1 -6
  175. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js +4 -6
  176. package/dist/esm/vendor/react-native/Animated/components/AnimatedView.native.js.map +1 -6
  177. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js +17 -11
  178. package/dist/esm/vendor/react-native/Animated/createAnimatedComponent.native.js.map +1 -6
  179. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js +39 -55
  180. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedAddition.native.js.map +1 -6
  181. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js +180 -197
  182. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedColor.native.js.map +1 -6
  183. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js +39 -51
  184. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDiffClamp.native.js.map +1 -6
  185. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js +42 -57
  186. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedDivision.native.js.map +1 -6
  187. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js +99 -116
  188. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedInterpolation.native.js.map +1 -6
  189. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js +37 -50
  190. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedModulo.native.js.map +1 -6
  191. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js +39 -55
  192. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedMultiplication.native.js.map +1 -6
  193. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js +61 -89
  194. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedNode.native.js.map +1 -6
  195. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js +52 -70
  196. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedProps.native.js.map +1 -6
  197. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js +50 -68
  198. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedStyle.native.js.map +1 -6
  199. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js +39 -55
  200. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedSubtraction.native.js.map +1 -6
  201. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js +41 -53
  202. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTracking.native.js.map +1 -6
  203. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js +44 -57
  204. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedTransform.native.js.map +1 -6
  205. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js +70 -99
  206. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValue.native.js.map +1 -6
  207. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js +64 -82
  208. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedValueXY.native.js.map +1 -6
  209. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js +40 -53
  210. package/dist/esm/vendor/react-native/Animated/nodes/AnimatedWithChildren.native.js.map +1 -6
  211. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js +50 -58
  212. package/dist/esm/vendor/react-native/Animated/useAnimatedProps.native.js.map +1 -6
  213. package/dist/esm/vendor/react-native/FeatureFlags.native.js +8 -10
  214. package/dist/esm/vendor/react-native/FeatureFlags.native.js.map +1 -6
  215. package/dist/esm/vendor/react-native/FillRateHelper/index.native.js +58 -59
  216. package/dist/esm/vendor/react-native/FillRateHelper/index.native.js.map +1 -6
  217. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js +3 -5
  218. package/dist/esm/vendor/react-native/NativeEventEmitter/RCTDeviceEventEmitter.native.js.map +1 -6
  219. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js +46 -55
  220. package/dist/esm/vendor/react-native/NativeEventEmitter/index.native.js.map +1 -6
  221. package/dist/esm/vendor/react-native/PanResponder/index.native.js +224 -219
  222. package/dist/esm/vendor/react-native/PanResponder/index.native.js.map +1 -6
  223. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js +58 -81
  224. package/dist/esm/vendor/react-native/TouchHistoryMath/index.native.js.map +1 -6
  225. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js +2 -1
  226. package/dist/esm/vendor/react-native/TurboModule/RCTExport.native.js.map +1 -6
  227. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js +2 -5
  228. package/dist/esm/vendor/react-native/TurboModule/TurboModuleRegistry.native.js.map +1 -6
  229. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js +2 -1
  230. package/dist/esm/vendor/react-native/Types/CoreEventTypes.native.js.map +1 -6
  231. package/dist/esm/vendor/react-native/Utilities/clamp.native.js +2 -4
  232. package/dist/esm/vendor/react-native/Utilities/clamp.native.js.map +1 -6
  233. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js +5 -6
  234. package/dist/esm/vendor/react-native/Utilities/setAndForwardRef.native.js.map +1 -6
  235. package/dist/esm/vendor/react-native/ViewabilityHelper.native.js +127 -129
  236. package/dist/esm/vendor/react-native/ViewabilityHelper.native.js.map +1 -6
  237. package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js +51 -50
  238. package/dist/esm/vendor/react-native/VirtualizeUtils/index.native.js.map +1 -6
  239. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js +60 -73
  240. package/dist/esm/vendor/react-native/VirtualizedList/CellRenderMask.native.js.map +1 -6
  241. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js +96 -96
  242. package/dist/esm/vendor/react-native/VirtualizedList/ChildListCollection.native.js.map +1 -6
  243. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js +57 -64
  244. package/dist/esm/vendor/react-native/VirtualizedList/StateSafePureComponent.native.js.map +1 -6
  245. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js +105 -117
  246. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListCellRenderer.native.js.map +1 -6
  247. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js +35 -37
  248. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListContext.native.js.map +1 -6
  249. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js +2 -1
  250. package/dist/esm/vendor/react-native/VirtualizedList/VirtualizedListProps.native.js.map +1 -6
  251. package/dist/esm/vendor/react-native/VirtualizedList/index.native.js +817 -760
  252. package/dist/esm/vendor/react-native/VirtualizedList/index.native.js.map +1 -6
  253. package/dist/esm/vendor/react-native/deepDiffer/index.native.js +17 -29
  254. package/dist/esm/vendor/react-native/deepDiffer/index.native.js.map +1 -6
  255. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js +3 -5
  256. package/dist/esm/vendor/react-native/emitter/EventEmitter.native.js.map +1 -6
  257. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js +2 -1
  258. package/dist/esm/vendor/react-native/emitter/EventSubscription.native.js.map +1 -6
  259. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js +24 -33
  260. package/dist/esm/vendor/react-native/emitter/_EmitterSubscription.native.js.map +1 -6
  261. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js +41 -51
  262. package/dist/esm/vendor/react-native/emitter/_EventEmitter.native.js.map +1 -6
  263. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js +12 -16
  264. package/dist/esm/vendor/react-native/emitter/_EventSubscription.native.js.map +1 -6
  265. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js +21 -26
  266. package/dist/esm/vendor/react-native/emitter/_EventSubscriptionVendor.native.js.map +1 -6
  267. package/dist/esm/vendor/react-native/infoLog/index.native.js +3 -6
  268. package/dist/esm/vendor/react-native/infoLog/index.native.js.map +1 -6
  269. package/dist/esm/vendor/react-native/useRefEffect.native.js +4 -8
  270. package/dist/esm/vendor/react-native/useRefEffect.native.js.map +1 -6
  271. package/dist/esm/without-animated.native.js +51 -112
  272. package/dist/esm/without-animated.native.js.map +1 -6
  273. package/package.json +6 -6
@@ -1,18 +1,16 @@
1
1
  import { InteractionManager } from "@tamagui/react-native-web-internals";
2
- import NativeAnimatedHelper from "../NativeAnimatedHelper";
3
- import AnimatedInterpolation from "./AnimatedInterpolation";
4
- import AnimatedWithChildren from "./AnimatedWithChildren";
2
+ import NativeAnimatedHelper from "../NativeAnimatedHelper.native.js";
3
+ import AnimatedInterpolation from "./AnimatedInterpolation.native.js";
4
+ import AnimatedWithChildren from "./AnimatedWithChildren.native.js";
5
5
  function _assert_this_initialized(self) {
6
- if (self === void 0)
7
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
8
7
  return self;
9
8
  }
10
9
  function _call_super(_this, derived, args) {
11
10
  return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
12
11
  }
13
12
  function _class_call_check(instance, Constructor) {
14
- if (!(instance instanceof Constructor))
15
- throw new TypeError("Cannot call a class as a function");
13
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
16
14
  }
17
15
  function _defineProperties(target, props) {
18
16
  for (var i = 0; i < props.length; i++) {
@@ -24,7 +22,7 @@ function _create_class(Constructor, protoProps, staticProps) {
24
22
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
25
23
  }
26
24
  function _get(target, property, receiver) {
27
- return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function(target2, property2, receiver2) {
25
+ return typeof Reflect < "u" && Reflect.get ? _get = Reflect.get : _get = function (target2, property2, receiver2) {
28
26
  var base = _super_prop_base(target2, property2);
29
27
  if (base) {
30
28
  var desc = Object.getOwnPropertyDescriptor(base, property2);
@@ -33,13 +31,12 @@ function _get(target, property, receiver) {
33
31
  }, _get(target, property, receiver || target);
34
32
  }
35
33
  function _get_prototype_of(o) {
36
- return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
34
+ return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function (o2) {
37
35
  return o2.__proto__ || Object.getPrototypeOf(o2);
38
36
  }, _get_prototype_of(o);
39
37
  }
40
38
  function _inherits(subClass, superClass) {
41
- if (typeof superClass != "function" && superClass !== null)
42
- throw new TypeError("Super expression must either be null or a function");
39
+ if (typeof superClass != "function" && superClass !== null) throw new TypeError("Super expression must either be null or a function");
43
40
  subClass.prototype = Object.create(superClass && superClass.prototype, {
44
41
  constructor: {
45
42
  value: subClass,
@@ -52,68 +49,62 @@ function _possible_constructor_return(self, call) {
52
49
  return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
53
50
  }
54
51
  function _set_prototype_of(o, p) {
55
- return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
52
+ return _set_prototype_of = Object.setPrototypeOf || function (o2, p2) {
56
53
  return o2.__proto__ = p2, o2;
57
54
  }, _set_prototype_of(o, p);
58
55
  }
59
56
  function _super_prop_base(object, property) {
60
- for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null); )
61
- ;
57
+ for (; !Object.prototype.hasOwnProperty.call(object, property) && (object = _get_prototype_of(object), object !== null););
62
58
  return object;
63
59
  }
64
60
  function _type_of(obj) {
65
61
  "@swc/helpers - typeof";
62
+
66
63
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
67
64
  }
68
65
  function _is_native_reflect_construct() {
69
66
  try {
70
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
71
- }));
72
- } catch {
73
- }
74
- return (_is_native_reflect_construct = function() {
67
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
68
+ } catch {}
69
+ return (_is_native_reflect_construct = function () {
75
70
  return !!result;
76
71
  })();
77
72
  }
78
73
  var NativeAnimatedAPI = NativeAnimatedHelper.API;
79
74
  function _flush(rootNode) {
80
- var animatedStyles = /* @__PURE__ */ new Set();
75
+ var animatedStyles = /* @__PURE__ */new Set();
81
76
  function findAnimatedStyles(node) {
82
77
  typeof node.update == "function" ? animatedStyles.add(node) : node.__getChildren().forEach(findAnimatedStyles);
83
78
  }
84
- findAnimatedStyles(rootNode), animatedStyles.forEach(function(animatedStyle) {
79
+ findAnimatedStyles(rootNode), animatedStyles.forEach(function (animatedStyle) {
85
80
  return animatedStyle.update();
86
81
  });
87
82
  }
88
83
  function _executeAsAnimatedBatch(id, operation) {
89
84
  NativeAnimatedAPI.setWaitingForIdentifier(id), operation(), NativeAnimatedAPI.unsetWaitingForIdentifier(id);
90
85
  }
91
- var AnimatedValue = /* @__PURE__ */ function(AnimatedWithChildren2) {
92
- _inherits(AnimatedValue2, AnimatedWithChildren2);
93
- function AnimatedValue2(value, config) {
94
- _class_call_check(this, AnimatedValue2);
95
- var _this;
96
- if (_this = _call_super(this, AnimatedValue2), typeof value != "number")
97
- throw new Error("AnimatedValue: Attempting to set value to undefined");
98
- return _this._startingValue = _this._value = value, _this._offset = 0, _this._animation = null, config && config.useNativeDriver && _this.__makeNative(), _this;
99
- }
100
- return _create_class(AnimatedValue2, [
101
- {
86
+ var AnimatedValue = /* @__PURE__ */function (AnimatedWithChildren2) {
87
+ _inherits(AnimatedValue2, AnimatedWithChildren2);
88
+ function AnimatedValue2(value, config) {
89
+ _class_call_check(this, AnimatedValue2);
90
+ var _this;
91
+ if (_this = _call_super(this, AnimatedValue2), typeof value != "number") throw new Error("AnimatedValue: Attempting to set value to undefined");
92
+ return _this._startingValue = _this._value = value, _this._offset = 0, _this._animation = null, config && config.useNativeDriver && _this.__makeNative(), _this;
93
+ }
94
+ return _create_class(AnimatedValue2, [{
102
95
  key: "__detach",
103
- value: function() {
96
+ value: function () {
104
97
  var _this = this;
105
- this.__isNative && NativeAnimatedAPI.getValue(this.__getNativeTag(), function(value) {
98
+ this.__isNative && NativeAnimatedAPI.getValue(this.__getNativeTag(), function (value) {
106
99
  _this._value = value - _this._offset;
107
100
  }), this.stopAnimation(), _get(_get_prototype_of(AnimatedValue2.prototype), "__detach", this).call(this);
108
101
  }
109
- },
110
- {
102
+ }, {
111
103
  key: "__getValue",
112
- value: function() {
104
+ value: function () {
113
105
  return this._value + this._offset;
114
106
  }
115
- },
116
- {
107
+ }, {
117
108
  /**
118
109
  * Directly set the value. This will stop any animations running on the value
119
110
  * and update all the bound properties.
@@ -121,14 +112,13 @@ var AnimatedValue = /* @__PURE__ */ function(AnimatedWithChildren2) {
121
112
  * See https://reactnative.dev/docs/animatedvalue#setvalue
122
113
  */
123
114
  key: "setValue",
124
- value: function(value) {
115
+ value: function (value) {
125
116
  var _this = this;
126
- this._animation && (this._animation.stop(), this._animation = null), this._updateValue(value, !this.__isNative), this.__isNative && _executeAsAnimatedBatch(this.__getNativeTag().toString(), function() {
117
+ this._animation && (this._animation.stop(), this._animation = null), this._updateValue(value, !this.__isNative), this.__isNative && _executeAsAnimatedBatch(this.__getNativeTag().toString(), function () {
127
118
  return NativeAnimatedAPI.setAnimatedNodeValue(_this.__getNativeTag(), value);
128
119
  });
129
120
  }
130
- },
131
- {
121
+ }, {
132
122
  /**
133
123
  * Sets an offset that is applied on top of whatever value is set, whether via
134
124
  * `setValue`, an animation, or `Animated.event`. Useful for compensating
@@ -137,11 +127,10 @@ var AnimatedValue = /* @__PURE__ */ function(AnimatedWithChildren2) {
137
127
  * See https://reactnative.dev/docs/animatedvalue#setoffset
138
128
  */
139
129
  key: "setOffset",
140
- value: function(offset) {
130
+ value: function (offset) {
141
131
  this._offset = offset, this.__isNative && NativeAnimatedAPI.setAnimatedNodeOffset(this.__getNativeTag(), offset);
142
132
  }
143
- },
144
- {
133
+ }, {
145
134
  /**
146
135
  * Merges the offset value into the base value and resets the offset to zero.
147
136
  * The final output of the value is unchanged.
@@ -149,11 +138,10 @@ var AnimatedValue = /* @__PURE__ */ function(AnimatedWithChildren2) {
149
138
  * See https://reactnative.dev/docs/animatedvalue#flattenoffset
150
139
  */
151
140
  key: "flattenOffset",
152
- value: function() {
141
+ value: function () {
153
142
  this._value += this._offset, this._offset = 0, this.__isNative && NativeAnimatedAPI.flattenAnimatedNodeOffset(this.__getNativeTag());
154
143
  }
155
- },
156
- {
144
+ }, {
157
145
  /**
158
146
  * Sets the offset value to the base value, and resets the base value to zero.
159
147
  * The final output of the value is unchanged.
@@ -161,11 +149,10 @@ var AnimatedValue = /* @__PURE__ */ function(AnimatedWithChildren2) {
161
149
  * See https://reactnative.dev/docs/animatedvalue#extractoffset
162
150
  */
163
151
  key: "extractOffset",
164
- value: function() {
152
+ value: function () {
165
153
  this._offset += this._value, this._value = 0, this.__isNative && NativeAnimatedAPI.extractAnimatedNodeOffset(this.__getNativeTag());
166
154
  }
167
- },
168
- {
155
+ }, {
169
156
  /**
170
157
  * Stops any running animation or tracking. `callback` is invoked with the
171
158
  * final value after stopping the animation, which is useful for updating
@@ -174,39 +161,35 @@ var AnimatedValue = /* @__PURE__ */ function(AnimatedWithChildren2) {
174
161
  * See https://reactnative.dev/docs/animatedvalue#stopanimation
175
162
  */
176
163
  key: "stopAnimation",
177
- value: function(callback) {
164
+ value: function (callback) {
178
165
  this.stopTracking(), this._animation && this._animation.stop(), this._animation = null, callback && (this.__isNative ? NativeAnimatedAPI.getValue(this.__getNativeTag(), callback) : callback(this.__getValue()));
179
166
  }
180
- },
181
- {
167
+ }, {
182
168
  /**
183
169
  * Stops any animation and resets the value to its original.
184
170
  *
185
171
  * See https://reactnative.dev/docs/animatedvalue#resetanimation
186
172
  */
187
173
  key: "resetAnimation",
188
- value: function(callback) {
174
+ value: function (callback) {
189
175
  this.stopAnimation(callback), this._value = this._startingValue, this.__isNative && NativeAnimatedAPI.setAnimatedNodeValue(this.__getNativeTag(), this._startingValue);
190
176
  }
191
- },
192
- {
177
+ }, {
193
178
  key: "__onAnimatedValueUpdateReceived",
194
- value: function(value) {
179
+ value: function (value) {
195
180
  this._updateValue(value, !1);
196
181
  }
197
- },
198
- {
182
+ }, {
199
183
  /*flush*/
200
184
  /**
201
185
  * Interpolates the value before updating the property, e.g. mapping 0-1 to
202
186
  * 0-10.
203
187
  */
204
188
  key: "interpolate",
205
- value: function(config) {
189
+ value: function (config) {
206
190
  return new AnimatedInterpolation(this, config);
207
191
  }
208
- },
209
- {
192
+ }, {
210
193
  /**
211
194
  * Typically only used internally, but could be used by a custom Animation
212
195
  * class.
@@ -214,63 +197,51 @@ var AnimatedValue = /* @__PURE__ */ function(AnimatedWithChildren2) {
214
197
  * See https://reactnative.dev/docs/animatedvalue#animate
215
198
  */
216
199
  key: "animate",
217
- value: function(animation, callback) {
218
- var _this = this, handle = null;
200
+ value: function (animation, callback) {
201
+ var _this = this,
202
+ handle = null;
219
203
  animation.__isInteraction && (handle = InteractionManager.createInteractionHandle());
220
204
  var previousAnimation = this._animation;
221
- this._animation && this._animation.stop(), this._animation = animation, animation.start(
222
- this._value,
223
- function(value) {
224
- _this._updateValue(value, !0);
225
- },
226
- /* flush */
227
- function(result) {
228
- _this._animation = null, handle !== null && InteractionManager.clearInteractionHandle(handle), callback && callback(result);
229
- },
230
- previousAnimation,
231
- this
232
- );
205
+ this._animation && this._animation.stop(), this._animation = animation, animation.start(this._value, function (value) {
206
+ _this._updateValue(value, !0);
207
+ }, /* flush */
208
+ function (result) {
209
+ _this._animation = null, handle !== null && InteractionManager.clearInteractionHandle(handle), callback && callback(result);
210
+ }, previousAnimation, this);
233
211
  }
234
- },
235
- {
212
+ }, {
236
213
  /**
237
214
  * Typically only used internally.
238
215
  */
239
216
  key: "stopTracking",
240
- value: function() {
217
+ value: function () {
241
218
  this._tracking && this._tracking.__detach(), this._tracking = null;
242
219
  }
243
- },
244
- {
220
+ }, {
245
221
  /**
246
222
  * Typically only used internally.
247
223
  */
248
224
  key: "track",
249
- value: function(tracking) {
225
+ value: function (tracking) {
250
226
  this.stopTracking(), this._tracking = tracking, this._tracking && this._tracking.update();
251
227
  }
252
- },
253
- {
228
+ }, {
254
229
  key: "_updateValue",
255
- value: function(value, flush) {
256
- if (value === void 0)
257
- throw new Error("AnimatedValue: Attempting to set value to undefined");
230
+ value: function (value, flush) {
231
+ if (value === void 0) throw new Error("AnimatedValue: Attempting to set value to undefined");
258
232
  this._value = value, flush && _flush(this), _get(_get_prototype_of(AnimatedValue2.prototype), "__callListeners", this).call(this, this.__getValue());
259
233
  }
260
- },
261
- {
234
+ }, {
262
235
  key: "__getNativeConfig",
263
- value: function() {
236
+ value: function () {
264
237
  return {
265
238
  type: "value",
266
239
  value: this._value,
267
240
  offset: this._offset
268
241
  };
269
242
  }
270
- }
271
- ]), AnimatedValue2;
272
- }(AnimatedWithChildren), AnimatedValue_default = AnimatedValue;
273
- export {
274
- AnimatedValue_default as default
275
- };
276
- //# sourceMappingURL=AnimatedValue.js.map
243
+ }]), AnimatedValue2;
244
+ }(AnimatedWithChildren),
245
+ AnimatedValue_default = AnimatedValue;
246
+ export { AnimatedValue_default as default };
247
+ //# sourceMappingURL=AnimatedValue.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../../../../src/vendor/react-native/Animated/nodes/Users/n8/tamagui/code/packages/react-native-web-lite/src/vendor/react-native/Animated/nodes/AnimatedValue.js"],
4
- "mappings": "AAWA,SAASA,0BAA0B;AAEnC,OAAOC,0BAA0B;AACjC,OAAOC,2BAA2B;AAClC,OAAOC,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjC,IAAIC,oBAAoBH,qBAAqBI;AAwB7C,SAASC,OAAOC,UAAQ;AACtB,MAAIC,iBAAiB,oBAAIC,IAAAA;AAEzB,WAASC,mBAAmBC,MAAI;AAI9B,IAAI,OAAOA,KAAKC,UAAW,aACzBJ,eAAeK,IAAIF,IAAAA,IAEnBA,KAAKG,cAAa,EAAGC,QAAQL,kBAAAA;EAEjC;AAEAA,qBAAmBH,QAAAA,GAEnBC,eAAeO,QAAQ,SAACC,eAAAA;WAAkBA,cAAcJ,OAAM;;AAChE;AAOA,SAASK,wBAAwBC,IAAIC,WAAS;AAC5Cf,oBAAkBgB,wBAAwBF,EAAAA,GAC1CC,UAAAA,GACAf,kBAAkBiB,0BAA0BH,EAAAA;AAC9C;AAUA,IAAMI,gBAAN,yBAAAnB,uBAAA;YAAMmB,gBAAAA,qBAAAA;W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MACnB;;;;;;MAKAC,KAAAA;aAAAA,SAAMC,UAAQ;AACZ,aAAKf,aAAY,GACjB,KAAKa,YAAYE,UAEjB,KAAKF,aAAa,KAAKA,UAAUpD,OAAM;MACzC;;;MAEA4B,KAAAA;aAAAA,SAAajB,OAAO4C,OAAK;AACvB,YAAI5C,UAAU6C;AACZ,gBAAM,IAAI3C,MAAM,qDAAA;AAGlB,aAAKE,SAASJ,OAEV4C,SACF7D,OAAO,IAAI,GAGb,KAAA,kBAjOEgB,eAAAA,SAAAA,GAiOI+C,mBAAN,IAAK,EAAA,KAAA,MAAiB,KAAKhC,WAAU,CAAA;MACvC;;;MAEAiC,KAAAA;aAAAA,WAAAA;AACE,eAAO;UACLC,MAAM;UACNhD,OAAO,KAAKI;UACZiB,QAAQ,KAAKhB;QACf;MACF;;MA1OIN;EAAsBnB,oBAAAA,GA6O5B,wBAAemB;",
5
- "names": ["InteractionManager", "NativeAnimatedHelper", "AnimatedInterpolation", "AnimatedWithChildren", "NativeAnimatedAPI", "API", "_flush", "rootNode", "animatedStyles", "Set", "findAnimatedStyles", "node", "update", "add", "__getChildren", "forEach", "animatedStyle", "_executeAsAnimatedBatch", "id", "operation", "setWaitingForIdentifier", "unsetWaitingForIdentifier", "AnimatedValue", "value", "config", "Error", "_startingValue", "_value", "_offset", "_animation", "useNativeDriver", "__makeNative", "__detach", "__isNative", "getValue", "__getNativeTag", "stopAnimation", "__getValue", "setValue", "stop", "_updateValue", "toString", "setAnimatedNodeValue", "setOffset", "offset", "setAnimatedNodeOffset", "flattenOffset", "flattenAnimatedNodeOffset", "extractOffset", "extractAnimatedNodeOffset", "callback", "stopTracking", "resetAnimation", "__onAnimatedValueUpdateReceived", "interpolate", "animate", "animation", "handle", "__isInteraction", "createInteractionHandle", "previousAnimation", "start", "result", "clearInteractionHandle", "_tracking", "track", "tracking", "flush", "undefined", "__callListeners", "__getNativeConfig", "type"]
6
- }
1
+ {"version":3,"names":["InteractionManager","NativeAnimatedHelper","AnimatedInterpolation","AnimatedWithChildren","_assert_this_initialized","self","ReferenceError","_call_super","_this","derived","args","_get_prototype_of","_possible_constructor_return","_is_native_reflect_construct","Reflect","construct","constructor","apply","_class_call_check","instance","Constructor","TypeError","_defineProperties","target","props","i","length","descriptor","enumerable","configurable","writable","Object","defineProperty","key","_create_class","protoProps","staticProps","prototype","_get","property","receiver","get","target2","property2","receiver2","base","_super_prop_base","desc","getOwnPropertyDescriptor","call","value","o","setPrototypeOf","getPrototypeOf","o2","__proto__","_inherits","subClass","superClass","create","_set_prototype_of","_type_of","p","p2","object","hasOwnProperty","obj","Symbol","result","Boolean","valueOf","NativeAnimatedAPI","API","_flush","rootNode","animatedStyles","Set","findAnimatedStyles","node","update","add","__getChildren","forEach","animatedStyle","_executeAsAnimatedBatch","id","operation","setWaitingForIdentifier","unsetWaitingForIdentifier","AnimatedValue","AnimatedWithChildren2","AnimatedValue2","config","Error","_startingValue","_value","_offset","_animation","useNativeDriver","__makeNative","__isNative","getValue","__getNativeTag","stopAnimation","stop","_updateValue","toString","setAnimatedNodeValue","offset","setAnimatedNodeOffset","flattenAnimatedNodeOffset"],"sources":["../../../../../../src/vendor/react-native/Animated/nodes/AnimatedValue.js"],"sourcesContent":[null],"mappings":"AAWA,SAASA,kBAAA,QAA0B;AAEnC,OAAOC,oBAAA,MAA0B;AACjC,OAAOC,qBAAA,MAA2B;AAClC,OAAOC,oBAAA,MAA0B;AAEjC,SAAIC,wBAAoBA,CAAAC,IAAA;EAwBxB,IAAAA,IAAS,UAAO,GACd,MAAI,IAAAC,cAAiB,4DAAQ;EAE7B,OAAAD,IAAS;AAIP;AAGiD,SAEnDE,YAAAC,KAAA,EAAAC,OAAA,EAAAC,IAAA;EAEA,OAAAD,OAAA,GAAAE,iBAEA,CAAAF,OAAA,GAAeG,4BAA2B,CAAAJ,KAAA,EAAAK,4BAAsB,KAAAC,OAAA,CAAAC,SAAA,CAAAN,OAAA,EAAAC,IAAA,QAAAC,iBAAA,CAAAH,KAAA,EAA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AAU,GAAAY,MAAA,OAAAR,UAAA,IAAA7B,iBAAA,CAAAsC,qBAAA,MAAAP,cAAA,IAAAM,MAAA;MACd;IAIF,GAEA;MACE;AACE;AAGF;AAMuC;AACzC;AAGE;MACE3E,GAAA,iBAAM;MACNiB,KAAA,EAAO,SAAAA,CAAA,EAAK;QACZ,KAAA6C,MAAa,SAAAC,OAAA,OAAAA,OAAA,WAAAI,UAAA,IAAA7B,iBAAA,CAAAuC,yBAAA,MAAAR,cAAA;MACf;IACF,GACF;MAEO","ignoreList":[]}
@@ -1,17 +1,15 @@
1
1
  import { invariant } from "@tamagui/react-native-web-internals";
2
- import AnimatedValue from "./AnimatedValue";
3
- import AnimatedWithChildren from "./AnimatedWithChildren";
2
+ import AnimatedValue from "./AnimatedValue.native.js";
3
+ import AnimatedWithChildren from "./AnimatedWithChildren.native.js";
4
4
  function _assert_this_initialized(self) {
5
- if (self === void 0)
6
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
5
+ if (self === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
7
6
  return self;
8
7
  }
9
8
  function _call_super(_this, derived, args) {
10
9
  return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
11
10
  }
12
11
  function _class_call_check(instance, Constructor) {
13
- if (!(instance instanceof Constructor))
14
- throw new TypeError("Cannot call a class as a function");
12
+ if (!(instance instanceof Constructor)) throw new TypeError("Cannot call a class as a function");
15
13
  }
16
14
  function _defineProperties(target, props) {
17
15
  for (var i = 0; i < props.length; i++) {
@@ -23,13 +21,12 @@ function _create_class(Constructor, protoProps, staticProps) {
23
21
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
24
22
  }
25
23
  function _get_prototype_of(o) {
26
- return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function(o2) {
24
+ return _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function (o2) {
27
25
  return o2.__proto__ || Object.getPrototypeOf(o2);
28
26
  }, _get_prototype_of(o);
29
27
  }
30
28
  function _inherits(subClass, superClass) {
31
- if (typeof superClass != "function" && superClass !== null)
32
- throw new TypeError("Super expression must either be null or a function");
29
+ if (typeof superClass != "function" && superClass !== null) throw new TypeError("Super expression must either be null or a function");
33
30
  subClass.prototype = Object.create(superClass && superClass.prototype, {
34
31
  constructor: {
35
32
  value: subClass,
@@ -42,38 +39,37 @@ function _possible_constructor_return(self, call) {
42
39
  return call && (_type_of(call) === "object" || typeof call == "function") ? call : _assert_this_initialized(self);
43
40
  }
44
41
  function _set_prototype_of(o, p) {
45
- return _set_prototype_of = Object.setPrototypeOf || function(o2, p2) {
42
+ return _set_prototype_of = Object.setPrototypeOf || function (o2, p2) {
46
43
  return o2.__proto__ = p2, o2;
47
44
  }, _set_prototype_of(o, p);
48
45
  }
49
46
  function _type_of(obj) {
50
47
  "@swc/helpers - typeof";
48
+
51
49
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
52
50
  }
53
51
  function _is_native_reflect_construct() {
54
52
  try {
55
- var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
56
- }));
57
- } catch {
58
- }
59
- return (_is_native_reflect_construct = function() {
53
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
54
+ } catch {}
55
+ return (_is_native_reflect_construct = function () {
60
56
  return !!result;
61
57
  })();
62
58
  }
63
- var _uniqueId = 1, AnimatedValueXY = /* @__PURE__ */ function(AnimatedWithChildren2) {
64
- _inherits(AnimatedValueXY2, AnimatedWithChildren2);
65
- function AnimatedValueXY2(valueIn) {
66
- _class_call_check(this, AnimatedValueXY2);
67
- var _this;
68
- _this = _call_super(this, AnimatedValueXY2);
69
- var value = valueIn || {
70
- x: 0,
71
- y: 0
72
- };
73
- return typeof value.x == "number" && typeof value.y == "number" ? (_this.x = new AnimatedValue(value.x), _this.y = new AnimatedValue(value.y)) : (invariant(value.x instanceof AnimatedValue && value.y instanceof AnimatedValue, "AnimatedValueXY must be initialized with an object of numbers or AnimatedValues."), _this.x = value.x, _this.y = value.y), _this._listeners = {}, _this;
74
- }
75
- return _create_class(AnimatedValueXY2, [
76
- {
59
+ var _uniqueId = 1,
60
+ AnimatedValueXY = /* @__PURE__ */function (AnimatedWithChildren2) {
61
+ _inherits(AnimatedValueXY2, AnimatedWithChildren2);
62
+ function AnimatedValueXY2(valueIn) {
63
+ _class_call_check(this, AnimatedValueXY2);
64
+ var _this;
65
+ _this = _call_super(this, AnimatedValueXY2);
66
+ var value = valueIn || {
67
+ x: 0,
68
+ y: 0
69
+ };
70
+ return typeof value.x == "number" && typeof value.y == "number" ? (_this.x = new AnimatedValue(value.x), _this.y = new AnimatedValue(value.y)) : (invariant(value.x instanceof AnimatedValue && value.y instanceof AnimatedValue, "AnimatedValueXY must be initialized with an object of numbers or AnimatedValues."), _this.x = value.x, _this.y = value.y), _this._listeners = {}, _this;
71
+ }
72
+ return _create_class(AnimatedValueXY2, [{
77
73
  /**
78
74
  * Directly set the value. This will stop any animations running on the value
79
75
  * and update all the bound properties.
@@ -81,11 +77,10 @@ var _uniqueId = 1, AnimatedValueXY = /* @__PURE__ */ function(AnimatedWithChildr
81
77
  * See https://reactnative.dev/docs/animatedvaluexy.html#setvalue
82
78
  */
83
79
  key: "setValue",
84
- value: function(value) {
80
+ value: function (value) {
85
81
  this.x.setValue(value.x), this.y.setValue(value.y);
86
82
  }
87
- },
88
- {
83
+ }, {
89
84
  /**
90
85
  * Sets an offset that is applied on top of whatever value is set, whether
91
86
  * via `setValue`, an animation, or `Animated.event`. Useful for compensating
@@ -94,11 +89,10 @@ var _uniqueId = 1, AnimatedValueXY = /* @__PURE__ */ function(AnimatedWithChildr
94
89
  * See https://reactnative.dev/docs/animatedvaluexy.html#setoffset
95
90
  */
96
91
  key: "setOffset",
97
- value: function(offset) {
92
+ value: function (offset) {
98
93
  this.x.setOffset(offset.x), this.y.setOffset(offset.y);
99
94
  }
100
- },
101
- {
95
+ }, {
102
96
  /**
103
97
  * Merges the offset value into the base value and resets the offset to zero.
104
98
  * The final output of the value is unchanged.
@@ -106,11 +100,10 @@ var _uniqueId = 1, AnimatedValueXY = /* @__PURE__ */ function(AnimatedWithChildr
106
100
  * See https://reactnative.dev/docs/animatedvaluexy.html#flattenoffset
107
101
  */
108
102
  key: "flattenOffset",
109
- value: function() {
103
+ value: function () {
110
104
  this.x.flattenOffset(), this.y.flattenOffset();
111
105
  }
112
- },
113
- {
106
+ }, {
114
107
  /**
115
108
  * Sets the offset value to the base value, and resets the base value to
116
109
  * zero. The final output of the value is unchanged.
@@ -118,31 +111,28 @@ var _uniqueId = 1, AnimatedValueXY = /* @__PURE__ */ function(AnimatedWithChildr
118
111
  * See https://reactnative.dev/docs/animatedvaluexy.html#extractoffset
119
112
  */
120
113
  key: "extractOffset",
121
- value: function() {
114
+ value: function () {
122
115
  this.x.extractOffset(), this.y.extractOffset();
123
116
  }
124
- },
125
- {
117
+ }, {
126
118
  key: "__getValue",
127
- value: function() {
119
+ value: function () {
128
120
  return {
129
121
  x: this.x.__getValue(),
130
122
  y: this.y.__getValue()
131
123
  };
132
124
  }
133
- },
134
- {
125
+ }, {
135
126
  /**
136
127
  * Stops any animation and resets the value to its original.
137
128
  *
138
129
  * See https://reactnative.dev/docs/animatedvaluexy.html#resetanimation
139
130
  */
140
131
  key: "resetAnimation",
141
- value: function(callback) {
132
+ value: function (callback) {
142
133
  this.x.resetAnimation(), this.y.resetAnimation(), callback && callback(this.__getValue());
143
134
  }
144
- },
145
- {
135
+ }, {
146
136
  /**
147
137
  * Stops any running animation or tracking. `callback` is invoked with the
148
138
  * final value after stopping the animation, which is useful for updating
@@ -151,11 +141,10 @@ var _uniqueId = 1, AnimatedValueXY = /* @__PURE__ */ function(AnimatedWithChildr
151
141
  * See https://reactnative.dev/docs/animatedvaluexy.html#stopanimation
152
142
  */
153
143
  key: "stopAnimation",
154
- value: function(callback) {
144
+ value: function (callback) {
155
145
  this.x.stopAnimation(), this.y.stopAnimation(), callback && callback(this.__getValue());
156
146
  }
157
- },
158
- {
147
+ }, {
159
148
  /**
160
149
  * Adds an asynchronous listener to the value so you can observe updates from
161
150
  * animations. This is useful because there is no way to synchronously read
@@ -166,18 +155,19 @@ var _uniqueId = 1, AnimatedValueXY = /* @__PURE__ */ function(AnimatedWithChildr
166
155
  * See https://reactnative.dev/docs/animatedvaluexy.html#addlistener
167
156
  */
168
157
  key: "addListener",
169
- value: function(callback) {
170
- var _this = this, id = String(_uniqueId++), jointCallback = function(_ref) {
171
- var number = _ref.value;
172
- callback(_this.__getValue());
173
- };
158
+ value: function (callback) {
159
+ var _this = this,
160
+ id = String(_uniqueId++),
161
+ jointCallback = function (_ref) {
162
+ var number = _ref.value;
163
+ callback(_this.__getValue());
164
+ };
174
165
  return this._listeners[id] = {
175
166
  x: this.x.addListener(jointCallback),
176
167
  y: this.y.addListener(jointCallback)
177
168
  }, id;
178
169
  }
179
- },
180
- {
170
+ }, {
181
171
  /**
182
172
  * Unregister a listener. The `id` param shall match the identifier
183
173
  * previously returned by `addListener()`.
@@ -185,56 +175,48 @@ var _uniqueId = 1, AnimatedValueXY = /* @__PURE__ */ function(AnimatedWithChildr
185
175
  * See https://reactnative.dev/docs/animatedvaluexy.html#removelistener
186
176
  */
187
177
  key: "removeListener",
188
- value: function(id) {
178
+ value: function (id) {
189
179
  this.x.removeListener(this._listeners[id].x), this.y.removeListener(this._listeners[id].y), delete this._listeners[id];
190
180
  }
191
- },
192
- {
181
+ }, {
193
182
  /**
194
183
  * Remove all registered listeners.
195
184
  *
196
185
  * See https://reactnative.dev/docs/animatedvaluexy.html#removealllisteners
197
186
  */
198
187
  key: "removeAllListeners",
199
- value: function() {
188
+ value: function () {
200
189
  this.x.removeAllListeners(), this.y.removeAllListeners(), this._listeners = {};
201
190
  }
202
- },
203
- {
191
+ }, {
204
192
  /**
205
193
  * Converts `{x, y}` into `{left, top}` for use in style.
206
194
  *
207
195
  * See https://reactnative.dev/docs/animatedvaluexy.html#getlayout
208
196
  */
209
197
  key: "getLayout",
210
- value: function() {
198
+ value: function () {
211
199
  return {
212
200
  left: this.x,
213
201
  top: this.y
214
202
  };
215
203
  }
216
- },
217
- {
204
+ }, {
218
205
  /**
219
206
  * Converts `{x, y}` into a useable translation transform.
220
207
  *
221
208
  * See https://reactnative.dev/docs/animatedvaluexy.html#gettranslatetransform
222
209
  */
223
210
  key: "getTranslateTransform",
224
- value: function() {
225
- return [
226
- {
227
- translateX: this.x
228
- },
229
- {
230
- translateY: this.y
231
- }
232
- ];
211
+ value: function () {
212
+ return [{
213
+ translateX: this.x
214
+ }, {
215
+ translateY: this.y
216
+ }];
233
217
  }
234
- }
235
- ]), AnimatedValueXY2;
236
- }(AnimatedWithChildren), AnimatedValueXY_default = AnimatedValueXY;
237
- export {
238
- AnimatedValueXY_default as default
239
- };
240
- //# sourceMappingURL=AnimatedValueXY.js.map
218
+ }]), AnimatedValueXY2;
219
+ }(AnimatedWithChildren),
220
+ AnimatedValueXY_default = AnimatedValueXY;
221
+ export { AnimatedValueXY_default as default };
222
+ //# sourceMappingURL=AnimatedValueXY.native.js.map